/* Clear Credit Coach — marketing site
   Design tokens mirror the app's src/theme/index.ts ("modern fintech"). */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #4F46E5;
  --primary-dark: #312E81;
  --primary-deep: #1E1B4B;
  --electric: #2563EB;
  --primary-soft: #EEF0FF;
  --primary-tint: #C7D2FE;
  --accent: #047857;
  --mint: #34D399;
  --neon: #6EE7B7;
  --accent-soft: #DDF8EC;
  --on-mint: #03251B;
  --bg: #F4F5FA;
  --surface: #FFFFFF;
  --surface-alt: #F8F9FD;
  --text: #0B1023;
  --muted: #5B6478;
  --faint: #8A93A6;
  --border: #E7E9F2;
  --on-dark-muted: rgba(255,255,255,.78);
  --on-dark-faint: rgba(255,255,255,.16);
  --warning: #A15C07;
  --warning-soft: #FEF3DC;

  --grad-hero: linear-gradient(135deg, #1E1B4B 0%, #3B2FB8 52%, #2563EB 100%);
  --grad-primary: linear-gradient(135deg, #5B4CF0, #2563EB);
  --grad-mint: linear-gradient(135deg, #5EEAD4, #34D399);
  --grad-dark: linear-gradient(135deg, #0B1023, #1E1B4B);
  --grad-soft: linear-gradient(135deg, #EEF0FF, #E6F0FF);

  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --sh-card: 0 1px 2px rgba(16,24,64,.04), 0 8px 24px rgba(16,24,64,.06);
  --sh-raised: 0 2px 6px rgba(30,27,75,.10), 0 18px 40px rgba(37,40,160,.22);
  --sh-button: 0 6px 16px rgba(79,70,229,.28);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1160px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text);
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { text-wrap: balance; margin: 0 0 .5em; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.nw { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: var(--r-pill); box-shadow: var(--sh-raised); font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--white { background: var(--surface); }
.section-head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.075rem; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary);
}
.eyebrow--light { color: var(--neon); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: var(--r-pill); border: 0;
  font: 700 1rem/1 var(--font); letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad-primary); color: #fff; box-shadow: var(--sh-button); }
.btn--primary:hover { color: #fff; box-shadow: 0 10px 24px rgba(79,70,229,.36); }
.btn--mint { background: var(--grad-mint); color: var(--on-mint); box-shadow: 0 6px 18px rgba(52,211,153,.35); }
.btn--mint:hover { color: var(--on-mint); }
.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn--ghost-light:hover { color: #fff; background: rgba(255,255,255,.16); }
.btn--outline { background: var(--surface); color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary-tint); }
.btn--outline:hover { color: var(--primary-dark); box-shadow: inset 0 0 0 1.5px var(--primary); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .925rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(231,233,242,.8);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.075rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { padding: 8px 12px; border-radius: var(--r-pill); color: var(--muted); font-weight: 600; font-size: .95rem; text-decoration: none; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--text); background: var(--primary-soft); }
.nav .btn { margin-left: 8px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--primary-soft); color: var(--primary-deep); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h); flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 20px 20px; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: 0 18px 30px rgba(16,24,64,.08);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px 14px; font-size: 1rem; }
  .nav .btn { margin: 8px 0 0; }
  .no-js .nav { position: static; display: flex; flex-direction: row; flex-wrap: wrap; box-shadow: none; border: 0; padding: 0; background: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--grad-hero); color: #fff; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(110,231,183,.22), transparent 65%); }
.hero::after { width: 640px; height: 640px; left: -260px; bottom: -360px; background: radial-gradient(circle, rgba(37,99,235,.55), transparent 65%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 112px); }
.hero h1 { color: #fff; }
.hero h1 .hl { background: linear-gradient(90deg, #6EE7B7, #5EEAD4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--on-dark-muted); max-width: 560px; margin-bottom: 28px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); color: #fff; font-size: .85rem; font-weight: 600; margin-bottom: 22px;
}
.pill .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--grad-mint); display: grid; place-items: center; color: var(--on-mint); }
.pill .dot svg { width: 13px; height: 13px; }
.hero-note { margin-top: 22px; font-size: .9rem; color: var(--on-dark-muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.store-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 14px;
  background: #0B1023; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); min-width: 172px;
}
.store-badge svg { width: 24px; height: 24px; flex: none; }
.store-badge small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--neon); line-height: 1.2; }
.store-badge strong { display: block; font-size: 1.02rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }

/* Phone mockup */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; max-width: 100%; aspect-ratio: 300 / 610; border-radius: 46px; padding: 12px;
  background: #0B1023; box-shadow: 0 40px 80px rgba(8,6,40,.5), inset 0 0 0 2px rgba(255,255,255,.12);
}
.phone-screen { color: var(--text); height: 100%; border-radius: 36px; overflow: hidden; background: var(--bg); padding: 40px 14px 14px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.phone-screen::before { content: ""; position: absolute; top: 10px; left: 50%; width: 92px; height: 24px; transform: translateX(-50%); background: #0B1023; border-radius: 20px; }
.m-greet { font-size: .72rem; color: var(--muted); font-weight: 600; padding: 0 4px; }
.m-greet b { display: block; font-size: 1.05rem; color: var(--text); font-weight: 800; letter-spacing: -0.02em; }
.m-score { border-radius: 22px; padding: 14px 14px 8px; background: var(--grad-hero); color: #fff; box-shadow: var(--sh-raised); }
.m-score-top { display: flex; justify-content: space-between; align-items: center; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }
.m-chip { background: rgba(255,255,255,.14); padding: 3px 8px; border-radius: var(--r-pill); letter-spacing: .04em; color: #fff; }
.m-score-num { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin-top: 4px; }
.m-score-delta { display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 700; color: var(--on-mint); background: var(--mint); padding: 2px 8px; border-radius: var(--r-pill); }
.m-chart { margin-top: 4px; height: 70px; width: 100%; }
.m-card { background: var(--surface); border-radius: 18px; padding: 12px; box-shadow: var(--sh-card); display: flex; gap: 10px; align-items: center; }
.m-icon { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--primary-soft); color: var(--primary); }
.m-icon--mint { background: var(--accent-soft); color: var(--accent); }
.m-icon svg { width: 18px; height: 18px; }
.m-label { font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.m-title { font-size: .8rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.m-progress { height: 6px; border-radius: 6px; background: var(--border); margin-top: 6px; overflow: hidden; }
.m-progress span { display: block; height: 100%; width: 40%; background: var(--grad-mint); border-radius: 6px; }
.m-btn { margin-top: auto; text-align: center; font-size: .78rem; font-weight: 700; color: #fff; background: var(--grad-primary); border-radius: var(--r-pill); padding: 11px; box-shadow: var(--sh-button); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 18px;
  background: rgba(255,255,255,.96); color: var(--text); box-shadow: var(--sh-raised); font-size: .8rem; font-weight: 700; line-height: 1.25;
}
.float-card small { display: block; font-size: .68rem; color: var(--muted); font-weight: 600; }
.float-card--a { left: -36px; top: 72%; }
.float-card--b { right: -36px; top: 7%; }
.sample-tag { position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); font-size: .72rem; color: var(--on-dark-muted); white-space: nowrap; }

/* Cards & grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-card); border: 1px solid rgba(231,233,242,.7); }
.card p { color: var(--muted); margin-bottom: 0; }
.card ul { color: var(--muted); margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.card ul li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.5; }
.card ul li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent); }
.icon-tile { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: var(--primary-soft); color: var(--primary); }
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile--mint { background: var(--accent-soft); color: var(--accent); }
.icon-tile--grad { background: var(--grad-primary); color: #fff; box-shadow: var(--sh-button); }
.audience-card { position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.audience-card:hover { transform: translateY(-3px); box-shadow: var(--sh-raised); }
.audience-card .tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }

.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature .icon-tile { margin: 0; flex: none; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; }
.badge-premium { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 2px 8px; border-radius: var(--r-pill); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; background: var(--primary-soft); color: var(--primary); }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 960px; margin: 0 auto; align-items: stretch; }
.plan { border-radius: var(--r-xl); padding: 34px; background: var(--surface); box-shadow: var(--sh-card); border: 1px solid var(--border); display: flex; flex-direction: column; }
.plan h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.plan .plan-price { font-size: 1rem; font-weight: 700; color: var(--muted); margin-bottom: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.plan li svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--accent); }
.plan li.is-off { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(91,100,120,.45); }
.plan li.is-off svg { color: var(--faint); }
.plan .btn { margin-top: auto; }
.plan--premium { background: var(--grad-hero); color: #fff; border: 0; box-shadow: var(--sh-raised); position: relative; overflow: hidden; }
.plan--premium::after { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(110,231,183,.25), transparent 65%); pointer-events: none; }
.plan--premium .plan-price { color: var(--on-dark-muted); }
.plan--premium li svg { color: var(--mint); }
.ribbon { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--r-pill); background: var(--grad-mint); color: var(--on-mint); font-size: .75rem; font-weight: 800; letter-spacing: .04em; margin-bottom: 16px; }
.soon { display: inline-block; padding: 3px 10px; border-radius: var(--r-pill); background: var(--warning-soft); color: var(--warning); font-size: .78rem; font-weight: 800; }
.plan--premium .soon { background: rgba(255,255,255,.14); color: #fff; }
.plans-note { max-width: 760px; margin: 24px auto 0; text-align: center; font-size: .88rem; color: var(--muted); }

/* Compare table */
.compare-wrap { max-width: 960px; margin: 40px auto 0; overflow-x: auto; border-radius: var(--r-lg); box-shadow: var(--sh-card); background: var(--surface); border: 1px solid var(--border); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
.compare caption { text-align: left; padding: 18px 22px 0; font-weight: 800; font-size: 1.05rem; }
.compare th, .compare td { padding: 14px 22px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare thead th { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare tbody th { font-weight: 700; }
.compare td { color: var(--muted); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .col-premium { background: rgba(238,240,255,.55); color: var(--text); }

/* Education-only band */
.edu-band { border-radius: var(--r-xl); background: var(--grad-dark); color: #fff; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; position: relative; overflow: hidden; box-shadow: var(--sh-raised); }
.edu-band::after { content: ""; position: absolute; width: 480px; height: 480px; right: -180px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(79,70,229,.6), transparent 65%); pointer-events: none; }
.edu-band > * { position: relative; z-index: 1; }
.edu-band h2 { color: #fff; }
.edu-band p { color: var(--on-dark-muted); }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.check-list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--mint); }
.check-list--dark svg { color: var(--accent); }
.promise { background: rgba(255,255,255,.06); border-radius: var(--r-lg); padding: 26px; box-shadow: inset 0 0 0 1px var(--on-dark-faint); }
.promise h3 { color: #fff; font-size: 1.05rem; }
.promise ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.promise li { display: flex; gap: 12px; color: var(--on-dark-muted); font-size: .95rem; line-height: 1.5; }
.promise li strong { color: #fff; display: block; font-weight: 700; }
.promise li svg { width: 22px; height: 22px; flex: none; color: var(--mint); margin-top: 1px; }

/* Waitlist */
.download { background: var(--grad-hero); color: #fff; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px); text-align: center; position: relative; overflow: hidden; box-shadow: var(--sh-raised); }
.download::before { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(110,231,183,.2), transparent 65%); pointer-events: none; }
.download > * { position: relative; }
.download h2 { color: #fff; }
.download p { color: var(--on-dark-muted); max-width: 600px; margin-inline: auto; }
.download .store-badges { justify-content: center; margin: 26px 0 30px; }
.waitlist { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; padding: 6px; border-radius: var(--r-pill); background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.waitlist input {
  flex: 1; min-width: 0; height: 50px; border: 0; border-radius: var(--r-pill); padding: 0 20px; font: 500 1rem var(--font); color: var(--text); background: #fff;
}
.waitlist input::placeholder { color: var(--faint); }
.waitlist input:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.form-note { font-size: .82rem !important; margin-top: 14px; }
.form-status { min-height: 1.5em; margin-top: 10px; font-weight: 600; color: var(--neon) !important; }
.form-status.is-error { color: #FECACA !important; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-card); border: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: 16px; align-items: center; border-radius: var(--r-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F46E5' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Page hero (sub pages) */
.page-hero { background: var(--grad-hero); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(110,231,183,.2), transparent 65%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; padding: clamp(56px, 7vw, 96px) 0; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .lead { color: var(--on-dark-muted); max-width: 680px; margin-bottom: 28px; }
.page-hero--split .container { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.hero-aside { background: rgba(255,255,255,.08); border-radius: var(--r-xl); padding: 28px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 30px 60px rgba(8,6,40,.25); backdrop-filter: blur(6px); }
.hero-aside h2 { color: #fff; font-size: 1.1rem; letter-spacing: -0.01em; margin-bottom: 16px; }
.hero-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hero-aside li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-dark-muted); font-size: .95rem; line-height: 1.45; }
.hero-aside li strong { display: block; color: #fff; font-weight: 700; }
.hero-aside li .m-icon { background: rgba(110,231,183,.16); color: var(--neon); }
@media (max-width: 960px) { .page-hero--split .container { grid-template-columns: 1fr; gap: 32px; } }
.page-hero--compact .container { padding: clamp(44px, 6vw, 72px) 0; }
.page-hero--compact h1 { font-size: clamp(2rem, 4.4vw, 3rem); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.step { counter-increment: step; position: relative; }
.step::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad-primary); color: #fff; font-weight: 800; margin-bottom: 16px; box-shadow: var(--sh-button); }

.rights { background: var(--surface); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); box-shadow: var(--sh-card); border: 1px solid var(--border); }
.rights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 36px; margin-top: 24px; }
.right-item { display: flex; gap: 14px; }
.right-item .icon-tile { width: 44px; height: 44px; border-radius: 14px; margin: 0; flex: none; }
.right-item .icon-tile svg { width: 22px; height: 22px; }
.right-item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.right-item p { color: var(--muted); font-size: .95rem; margin: 0; }
.callout { border-radius: var(--r-lg); padding: 20px 22px; background: var(--primary-soft); color: var(--primary-deep); font-size: .95rem; display: flex; gap: 12px; align-items: flex-start; }
.callout svg { width: 22px; height: 22px; flex: none; color: var(--primary); margin-top: 1px; }
.callout p { margin: 0; }

/* Legal pages */
.draft-banner { background: var(--warning-soft); color: #6B3D05; border-bottom: 1px solid #F5D9A8; }
.draft-banner .container { padding: 14px 0; display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: .95rem; }
.draft-banner svg { width: 22px; height: 22px; flex: none; color: var(--warning); }
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-card); border: 1px solid var(--border); font-size: .9rem; }
.toc summary { list-style: none; cursor: pointer; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary strong { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0; }
.toc[open] summary strong { margin-bottom: 10px; }
@media (max-width: 860px) { .toc summary strong::after { content: "+"; font-size: 1.1rem; color: var(--primary); } .toc[open] summary strong::after { content: "\2212"; } }
.toc strong { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--primary); text-decoration: underline; }
.prose { background: var(--surface); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 52px); box-shadow: var(--sh-card); border: 1px solid var(--border); max-width: 820px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; padding-top: .2em; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin-top: 1.5em; }
.prose p, .prose li { color: #303850; }
.prose li { margin-bottom: .4em; }
.prose .meta { color: var(--muted); font-size: .92rem; }
.prose .todo { background: var(--warning-soft); color: #6B3D05; padding: 1px 6px; border-radius: 6px; font-weight: 700; font-size: .9em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .93rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { background: var(--surface-alt); font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* Footer */
.site-footer { background: #0B1023; color: var(--on-dark-muted); padding: 64px 0 36px; font-size: .93rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--on-dark-faint); }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer h2 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.disclaimer { padding: 28px 0 22px; font-size: .84rem; line-height: 1.65; color: rgba(255,255,255,.66); border-bottom: 1px solid var(--on-dark-faint); }
.disclaimer strong { color: #fff; }
.disclaimer p { margin-bottom: .7em; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.6); }

/* Responsive */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr 340px; gap: 32px; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .phone-wrap { margin-top: 12px; margin-bottom: 30px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .edu-band { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .grid-2, .grid-3, .grid-4, .plans, .rights-grid { grid-template-columns: 1fr; }
  .card, .plan { padding: 24px; }
  .btn-row .btn { flex: 1 1 100%; }
  .waitlist { flex-direction: column; border-radius: 24px; padding: 8px; }
  .waitlist .btn { width: 100%; }
  .store-badge { flex: 1 1 100%; justify-content: center; }
  .float-card { display: none; }
  .waitlist input { flex: none; width: 100%; }
  .feature .icon-tile { width: 44px; height: 44px; border-radius: 14px; }
  .feature .icon-tile svg { width: 22px; height: 22px; }
  .phone { width: 270px; }
  .feature { gap: 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 12px 14px; }
}

/* Phone mockup: utilization calculator widget (education-only preview, no score-change claims) */
.m-util { margin: 10px 0 6px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.1); }
.m-util-top { display: flex; justify-content: space-between; align-items: baseline; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); }
.m-util-top b { font-size: 1rem; color: #fff; letter-spacing: -0.02em; }
.m-util-bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.18); margin: 8px 0 6px; overflow: hidden; }
.m-util-bar span { display: block; height: 100%; background: var(--grad-mint); border-radius: 8px; }
.m-util small { display: block; font-size: .64rem; color: var(--on-dark-muted); font-weight: 600; }

/* v3: DIY positioning */
.hero h1.h1--long { font-size: clamp(2.1rem, 4.3vw, 3.25rem); }
ol.steps { list-style: none; padding: 0; margin: 0; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.step h3 { font-size: 1.05rem; }
.step p { font-size: .93rem; margin: 0; }
.callout--center { max-width: 860px; margin: 32px auto 0; }
.plan li.is-featured { background: rgba(255,255,255,.1); border-radius: 14px; padding: 12px; box-shadow: inset 0 0 0 1px rgba(110,231,183,.45); }
.plan li.is-featured strong { color: #fff; }
@media (max-width: 1100px) { .steps--5 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }

/* v4: DIY guide (Gumroad) */
.guide { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; background: var(--surface); border-radius: var(--r-xl); padding: clamp(20px, 3.5vw, 44px); box-shadow: var(--sh-card); border: 1px solid var(--border); }
.guide-media img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--sh-raised); }
.guide-body h2 { margin-bottom: .35em; }
.guide-lead { color: var(--muted); margin-bottom: 20px; }
.guide .check-list { margin-bottom: 24px; }
.guide .check-list strong { color: var(--text); }
.guide-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.guide-price strong { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.guide-price span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.guide-secure { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: .85rem; color: var(--muted); font-weight: 600; }
.guide-secure svg { color: var(--accent); flex: none; }
.guide-disclaimer { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--border); font-size: .8rem; line-height: 1.55; color: var(--muted); }
@media (max-width: 960px) { .guide { grid-template-columns: 1fr; } }
.hero-note { flex-wrap: nowrap; align-items: flex-start; } .hero-note svg { flex: none; margin-top: 2px; }

/* v5: free checklist signup (MailerLite embed) */
.checklist { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; border-radius: var(--r-xl); background: var(--grad-hero); color: #fff; padding: clamp(24px, 4.5vw, 56px); box-shadow: var(--sh-raised); position: relative; overflow: hidden; }
.checklist > * { position: relative; z-index: 1; }
.checklist h2 { color: #fff; }
.checklist-copy p { color: var(--on-dark-muted); }
.checklist .check-list { margin-bottom: 24px; }
.checklist-img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: 0 18px 40px rgba(10,8,60,.35); }
.checklist-form { background: var(--surface); color: var(--text); border-radius: var(--r-lg); padding: clamp(18px, 2.5vw, 28px); box-shadow: var(--sh-card); }
/* Blend MailerLite's embedded form into the card (its own styles use ID selectors, hence !important) */
.checklist-form .ml-form-embedWrapper { background-color: transparent !important; max-width: none !important; }
.checklist-form .ml-form-embedBody, .checklist-form .ml-form-successBody { padding: 0 !important; }
.checklist-form .ml-form-embedContainer h4, .checklist-form .ml-form-embedContainer p,
.checklist-form .ml-form-embedContainer input, .checklist-form .ml-form-embedContainer button { font-family: inherit !important; }
.checklist-form .ml-form-embedContainer h4 { font-weight: 800 !important; letter-spacing: -0.02em !important; }
.checklist-form .ml-form-embedContainer button[type="submit"] { border-radius: 999px !important; font-weight: 700 !important; }
.checklist-form .ml-form-embedContainer input { border-radius: 12px !important; }
.checklist-form .ml-embedded { min-height: 120px; }
.checklist-form .form-note { margin: 12px 0 0; font-size: .8rem; line-height: 1.5; color: var(--muted); }
.checklist-form .form-note a { color: var(--primary); }
@media (max-width: 960px) { .checklist { grid-template-columns: 1fr; } }
/* Keep the header nav on one line between the mobile breakpoint and wide desktop */
.nav a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1100px) {
  .nav a:not(.btn) { padding: 8px 8px; font-size: .9rem; }
  .nav a[href$="#app"] { display: none; }
}
@media (min-width: 861px) and (max-width: 960px) {
  .nav a[href$="#plans"] { display: none; }
}
