:root {
  --bg: #07120f;
  --bg-2: #0d1d18;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f4fbf7;
  --muted: #a8b9b0;
  --line: rgba(255, 255, 255, 0.14);
  --green: #33d17a;
  --green-2: #10b981;
  --amber: #f5c451;
  --dark: #08110e;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(51, 209, 122, 0.18), transparent 34rem),
    radial-gradient(circle at 90% 10%, rgba(245, 196, 81, 0.09), transparent 28rem),
    linear-gradient(180deg, #07120f 0%, #091612 45%, #050907 100%);
  color: var(--text);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(7, 18, 15, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.03em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green), #b6f4cf);
  color: #04100b;
  box-shadow: 0 10px 36px rgba(51, 209, 122, 0.24);
}
.brand-text { font-size: 18px; }

.nav { display: flex; gap: 24px; color: var(--muted); font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--text); }
.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  color: var(--green);
}

.section-pad { padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 72px); }
.hero { padding-top: clamp(72px, 10vw, 132px); }
.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

eyebrow, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 900;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(51, 209, 122, 0.12);
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.085em;
  max-width: 880px;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}
h3 { letter-spacing: -0.035em; }
p { color: var(--muted); line-height: 1.7; }
.hero-subtitle {
  max-width: 710px;
  color: #d7e8df;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: linear-gradient(135deg, var(--green), #c9ffdd);
  color: #04100b;
  box-shadow: 0 18px 45px rgba(51, 209, 122, 0.24);
}
.button-secondary { border-color: var(--line); background: rgba(255,255,255,0.05); color: var(--text); }

.trust-strip { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-strip span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.command-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.055));
  box-shadow: var(--shadow);
}
.card-header, .card-footer { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 800; }
.card-header small { margin-left: auto; color: var(--green); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(51,209,122,.13); }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.metric-row div { padding: 18px; background: rgba(0,0,0,.18); border: 1px solid var(--line); border-radius: 20px; }
.metric-row strong { display: block; font-size: 42px; letter-spacing: -0.07em; }
.metric-row span { color: var(--muted); font-size: 13px; font-weight: 700; }
.brief-list { display: grid; gap: 12px; }
.brief-list p { padding: 16px; margin: 0; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.045); }
.brief-list b { color: var(--text); }
.card-footer { margin-top: 18px; }

.section-heading { max-width: 920px; margin: 0 auto 42px; text-align: center; }
.section-heading.narrow { max-width: 780px; }
.problem-grid, .workflow-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.problem-item, .workflow-grid article, .timeline article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}
.problem-item span, .timeline span { color: var(--green); font-weight: 900; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.problem-item h3, .workflow-grid h3 { font-size: 22px; }

.system { background: rgba(255,255,255,0.025); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.timeline {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.audit-panel {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(51,209,122,0.14), rgba(255,255,255,0.065));
  box-shadow: var(--shadow);
}
.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.check-list li { color: #dceee5; font-weight: 700; }
.check-list li::before { content: "✓"; color: var(--green); margin-right: 10px; }
.lead-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(0,0,0,.22);
  border: 1px solid var(--line);
}
label { display: grid; gap: 7px; font-size: 13px; color: var(--muted); font-weight: 800; }
input, select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.95);
  color: #08110e;
  font: inherit;
}
.form-button { width: 100%; border: 0; cursor: pointer; margin-top: 4px; }
.form-note { font-size: 12px; line-height: 1.5; margin: 0; }

.workflow-grid { grid-template-columns: repeat(3, 1fr); }
.final-cta { text-align: center; max-width: 880px; margin: 0 auto; }
.final-cta p { font-size: 19px; }
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer p { margin: 6px 0 0; }
.site-footer a { color: var(--green); font-weight: 800; }

/* ---- Fifth leak: full-row card ---- */
.problem-item--wide { grid-column: 1 / -1; }
.problem-item--wide p { max-width: 780px; }

/* ---- Leak dollar framing ---- */
.leak-footnote {
  margin: 28px auto 0;
  max-width: 720px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.leak-dollar {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
}

/* ---- Proof Engine ---- */
.proof-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.proof-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
}
.proof-tag {
  color: var(--green);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.proof-card h3 { font-size: 26px; margin-bottom: 8px; }
.proof-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}
.proof-metrics div {
  padding: 16px 12px;
  background: rgba(0,0,0,.18);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.proof-metrics strong { display: block; font-size: 34px; letter-spacing: -0.06em; }
.proof-metrics span { color: var(--muted); font-size: 12px; font-weight: 700; }
.proof-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
}

.founder-band {
  max-width: 1180px;
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(51,209,122,0.10), rgba(255,255,255,0.05));
}
.founder-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green), #b6f4cf);
  color: #04100b;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.05em;
}
.founder-copy h3 { margin-bottom: 8px; font-size: 24px; }
.founder-copy p { margin-bottom: 14px; }
.founder-links { display: flex; gap: 16px; }
.founder-links a { color: var(--green); font-weight: 800; font-size: 14px; }

/* ---- Cadence strip ---- */
.cadence-strip {
  max-width: 1120px;
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0,0,0,.2);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.cadence-strip b { color: var(--green); margin-right: 6px; }
.cadence-dot { color: var(--green); }
.system-more { text-align: center; margin: 26px 0 0; }
.system-more a { color: var(--green); font-weight: 800; }

/* ---- Offer ---- */
.offer { background: rgba(255,255,255,0.025); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.offer-panel {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}
.value-stack {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--panel);
}
.value-stack td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
}
.value-stack td:last-child { text-align: right; color: var(--muted); font-weight: 800; white-space: nowrap; }
.value-stack .stack-total td {
  border-bottom: 0;
  background: rgba(51,209,122,0.14);
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}
.value-stack .stack-total td:last-child { color: var(--green); }
.offer-blocks { display: grid; gap: 14px; }
.guarantee-block, .continuity-block, .scarcity-block {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}
.guarantee-block { border-color: rgba(51,209,122,0.5); background: rgba(51,209,122,0.08); }
.guarantee-block p:last-child { color: var(--text); font-weight: 700; }
.scarcity-block p:last-child { color: var(--amber); font-weight: 800; }
.block-label {
  color: var(--green);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.offer-cta {
  text-align: center;
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

/* ---- Who it's for ---- */
.who-grid {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.who-grid article {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}
.who-grid h3 { font-size: 24px; }
.who-grid p { font-size: 17px; margin: 0; }

.footer-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--green); font-weight: 800; }
.footer-links span { font-size: 14px; }

/* ---- Leak Score assessment (/audit) ---- */
.audit-app { max-width: 860px; margin: 0 auto; min-height: 60vh; }
.quiz-screen { animation: quiz-in .25s ease; }
@keyframes quiz-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.quiz-sections-preview {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 34px;
}
.quiz-sections-preview span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.quiz-start { text-align: center; }

.quiz-progress { margin-bottom: 34px; }
.quiz-progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  overflow: hidden;
}
.quiz-progress-bar div {
  height: 100%;
  background: linear-gradient(90deg, var(--green), #b6f4cf);
  border-radius: 999px;
  transition: width .3s ease;
}
.quiz-progress p { margin: 10px 0 0; font-size: 13px; font-weight: 800; color: var(--muted); }

.quiz-question { font-size: clamp(28px, 4vw, 42px); margin-bottom: 30px; }
.quiz-options { display: grid; gap: 12px; }
.quiz-option {
  text-align: left;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.quiz-option:hover { border-color: var(--green); background: rgba(51,209,122,0.08); transform: translateY(-1px); }
.quiz-option.selected { border-color: var(--green); background: rgba(51,209,122,0.14); }
.quiz-back {
  margin-top: 26px;
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.quiz-back:hover { color: var(--text); }

#screen-results h2 { font-size: clamp(64px, 10vw, 110px); margin-bottom: 6px; }
.score-denom { color: var(--muted); font-size: 0.45em; font-weight: 800; }
.grade-band {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--text);
  margin-bottom: 14px;
}
.band-leaking-hard { border-color: #f0625d; color: #f0625d; background: rgba(240,98,93,0.1); }
.band-leaking { border-color: var(--amber); color: var(--amber); background: rgba(245,196,81,0.1); }
.band-tight-ish { border-color: #7dd3fc; color: #7dd3fc; background: rgba(125,211,252,0.1); }
.band-operator-grade { border-color: var(--green); color: var(--green); background: rgba(51,209,122,0.12); }

.score-breakdown { display: grid; gap: 16px; margin: 38px 0; }
.breakdown-row { display: grid; gap: 8px; }
.breakdown-label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 800; color: var(--text); }
.breakdown-label span:last-child { color: var(--muted); }
.breakdown-bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  overflow: hidden;
}
.breakdown-bar div {
  height: 100%;
  background: linear-gradient(90deg, var(--green), #b6f4cf);
  border-radius: 999px;
  transition: width .5s ease;
}

.top-leak-callout {
  padding: 26px;
  border: 1px solid rgba(245,196,81,0.45);
  border-radius: 22px;
  background: rgba(245,196,81,0.07);
  margin-bottom: 38px;
}
.top-leak-callout h3 { margin-bottom: 8px; }
.top-leak-callout strong { color: var(--amber); }

.email-gate {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(51,209,122,0.12), rgba(255,255,255,0.06));
}
.email-gate h3 { font-size: 24px; margin-bottom: 8px; }
.email-gate .lead-form { margin-top: 20px; }

.full-report {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(51,209,122,0.4);
  border-radius: 26px;
  background: rgba(51,209,122,0.06);
}
.full-report h3 { font-size: 24px; }
.report-block {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0,0,0,.18);
  margin-bottom: 12px;
}
.report-block h4 { margin: 0 0 6px; }
.report-block p { margin: 0; }
.report-cta { margin-top: 24px; text-align: center; }
.report-cta .button { margin-top: 8px; }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero-grid, .audit-panel, .offer-panel, .proof-grid { grid-template-columns: 1fr; }
  .problem-grid, .timeline, .workflow-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .site-header { padding: 14px 18px; }
  .nav-cta { display: none; }
  .section-pad { padding-left: 18px; padding-right: 18px; }
  .problem-grid, .timeline, .workflow-grid, .metric-row, .who-grid, .proof-metrics { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .founder-band { grid-template-columns: 1fr; text-align: center; }
  .founder-photo { margin: 0 auto; }
  .founder-links { justify-content: center; }
  .cadence-strip { border-radius: 24px; flex-direction: column; }
  .cadence-dot { display: none; }
  .value-stack td { padding: 14px 16px; font-size: 14px; }
}
