/* Nick's Student Hub — landing page styles
   Design system: docs/design-system.md. Tokens first; components below. No framework. */

:root {
  /* Color — NEH master palette (content-engine/src/neh/brand.ts) adapted for a premium dark page */
  --bg: #07090B;
  --bg-2: #0B0F13;
  --surface: #10151A;
  --surface-2: #151C23;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F4F3F1;
  --text-2: #C9CED4;
  --muted: #9AA3AD;
  --blue: #0991F0;
  --blue-hi: #4DB0FF;
  --blue-deep: #0960E8;
  --btn: #0A6FCB; /* button fill: white text 5.1:1 (brand #0991F0 is only 3.4:1) */
  --btn-hover: #0963BA;
  --blue-soft: rgba(9, 145, 240, .12);
  --blue-line: rgba(9, 145, 240, .45);
  --red: #F61D1F;
  --ok: #34D399;

  /* Type */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --fs-h1: clamp(2.5rem, 1.6rem + 4.2vw, 4.75rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 2.2vw, 3.1rem);
  --fs-h3: 1.125rem;
  --fs-lead: clamp(1.06rem, 1rem + .35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: .875rem;

  /* Space + shape */
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 9vw, 128px);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1160px;
  --max-narrow: 800px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 60px -24px rgba(0, 0, 0, .8);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: var(--fs-body);
  line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
em { font-style: normal; }
strong, b { font-weight: 600; color: var(--text); }
code { font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.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 { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: var(--max-narrow); }
.small { font-size: var(--fs-small); color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h);
  padding: 0 22px; border: 1px solid transparent; border-radius: 999px; background: var(--btn); color: #fff;
  font: 600 1rem/1 var(--font); letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 10px 30px -10px rgba(9, 145, 240, .7);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.btn:hover { background: var(--btn-hover); transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 16px 38px -12px rgba(9, 145, 240, .85); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn--sm { --h: 40px; padding: 0 16px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); box-shadow: none; }
.btn--ghost:hover { background: rgba(255, 255, 255, .05); box-shadow: none; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }
.linkish { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color .25s, border-color .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(7, 9, 11, .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; letter-spacing: -.01em; font-size: 1.0625rem; white-space: nowrap; }
.logo b { font-weight: 700; }
.logo__mark { width: 30px; height: 30px; flex: none; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--text-2); text-decoration: none; font-size: .9375rem; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__toggle { display: none; margin-left: 4px; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; color: var(--text); border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; }

@media (max-width: 899px) {
  .nav__inner { gap: 10px; }
  .nav__links { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: rgba(7, 9, 11, .97); border-bottom: 1px solid var(--line); }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .nav__toggle { display: inline-flex; }
  .nav__cta { margin-left: auto; }
}
@media (max-width: 479px) { .nav__cta { display: none; } .nav__toggle { margin-left: auto; } .logo { font-size: 1rem; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 var(--section); text-align: center; overflow: hidden; isolation: isolate; margin-top: -68px; padding-top: calc(68px + clamp(40px, 7vw, 88px)); }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 900px; z-index: -1; background: radial-gradient(60% 55% at 50% 0%, rgba(9, 145, 240, .28), transparent 70%), radial-gradient(40% 40% at 85% 20%, rgba(9, 96, 232, .14), transparent 70%); }
.hero__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 50% 18%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 18%, #000 20%, transparent 75%); }
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03); color: var(--text-2); font-size: .875rem; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(9, 145, 240, .18); }
.hero__title { font-size: var(--fs-h1); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; max-width: 15ch; text-wrap: balance; }
.hero__title span, .hero__title em { display: block; }
.hero__title em, .section__head h2 em, .apply__intro h2 em, .founder h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--blue-hi); }
.hero__title em { margin-top: .08em; font-size: 1.04em; line-height: 1.02; }
.hero__lead { max-width: 640px; margin: 28px auto 0; color: var(--text-2); font-size: var(--fs-lead); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.hero__micro { margin: 16px 0 0; color: var(--muted); font-size: var(--fs-small); }
.byline { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 6px 16px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); text-decoration: none; text-align: left; transition: border-color .2s; }
.byline:hover { border-color: var(--line-2); }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.byline span { font-size: .8125rem; color: var(--muted); line-height: 1.35; }
.byline b { display: block; color: var(--text); font-size: .875rem; }
.facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 40px 0 0; padding: 0; }
.facts li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .025); color: var(--text-2); font-size: .875rem; }
.facts b { color: var(--text); font-weight: 700; margin-right: 2px; }
.hero__media { width: 100%; max-width: 980px; margin-top: clamp(48px, 6vw, 72px); }

/* VSL */
.vsl { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--blue-line); box-shadow: 0 0 0 6px rgba(9, 145, 240, .06), 0 40px 100px -30px rgba(9, 145, 240, .45); }
.vsl iframe, .vsl video, .vsl__facade img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.vsl__facade { position: absolute; inset: 0; padding: 0; border: 0; background: #000; cursor: pointer; }
.vsl__facade img { opacity: .78; transition: opacity .3s, transform .6s var(--ease); }
.vsl__facade:hover img { opacity: .9; transform: scale(1.015); }
.vsl__play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--bg); box-shadow: 0 0 0 10px rgba(255, 255, 255, .15); transition: transform .25s var(--ease); }
.vsl__play svg { margin-left: 4px; }
.vsl__facade:hover .vsl__play { transform: scale(1.06); }
.vsl__chip { position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff; font-size: .8125rem; font-weight: 600; }
.vsl--placeholder { display: grid; place-items: center; padding: 24px; border-style: dashed; color: var(--muted); font-size: var(--fs-small); text-align: center; margin-bottom: 24px; }

/* Plan card (illustrative) */
.plan-card { text-align: left; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); box-shadow: 0 0 0 6px rgba(255, 255, 255, .02), 0 40px 100px -30px rgba(9, 145, 240, .4); overflow: hidden; }
.plan-card__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.plan-card__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.plan-card__bar p { margin: 0 0 0 10px; font-size: .875rem; font-weight: 600; }
.plan-card__bar small, .portal__top small { margin-left: auto; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: .75rem; }
.plan-card__body { padding: clamp(18px, 3vw, 32px); display: grid; gap: 24px; }
.plan-card__route { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; position: relative; }
.pr { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: var(--muted); font-size: .8125rem; line-height: 1.25; }
.pr b { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: rgba(255, 255, 255, .05); color: var(--text-2); font-size: .9375rem; }
.pr.done b { background: var(--blue-soft); color: var(--blue-hi); }
.pr.now { border-color: var(--blue-line); background: var(--blue-soft); color: var(--text); }
.pr.now b { background: var(--btn); color: #fff; }
.plan-card__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pc-box { padding: 18px; border-radius: var(--radius-sm); background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.pc-box small, .portal small { display: block; color: var(--muted); font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.pc-box > p { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; margin-bottom: 12px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-hi); font-size: .78rem; }
.pc-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .9rem; color: var(--text-2); }
.pc-box li { display: flex; gap: 8px; align-items: center; }
.pc-box li svg { flex: none; color: var(--muted); }
.pc-box li.ok svg { color: var(--ok); }
@media (max-width: 719px) {
  .plan-card__route { grid-template-columns: 1fr 1fr; }
  .plan-card__cols { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section__head--left { text-align: left; margin-left: 0; }
.section__head h2 { font-size: var(--fs-h2); letter-spacing: -.03em; text-wrap: balance; }
.section__head h2 em { display: inline; }
.section__head > p:not(.kicker) { margin-top: 20px; color: var(--text-2); font-size: var(--fs-lead); line-height: 1.6; }
.section__head > p.small { font-size: var(--fs-small); color: var(--muted); }
.kicker { margin: 0 0 16px; color: var(--blue-hi); font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.section__cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 56px); }
.note { max-width: 680px; margin: 32px auto 0; text-align: center; color: var(--muted); font-size: var(--fs-small); }

/* Pains */
.pains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.pains li { grid-column: span 2; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pains li:nth-child(4) { grid-column: 2 / span 2; }
.pains h3 { font-size: var(--fs-h3); margin: 20px 0 8px; }
.pains p { color: var(--muted); font-size: .9375rem; }
.ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--text-2); }
@media (max-width: 899px) { .pains { grid-template-columns: 1fr 1fr; } .pains li, .pains li:nth-child(4) { grid-column: auto; } .pains li:last-child { grid-column: 1 / -1; } }
@media (max-width: 559px) { .pains { grid-template-columns: 1fr; } .pains li { padding: 22px; } }

/* Compare */
.compare { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); -webkit-overflow-scrolling: touch; }
.compare table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .9375rem; }
.compare th, .compare td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: 1rem; font-weight: 600; color: var(--text); }
.compare thead small { display: block; margin-top: 4px; font-size: .78rem; font-weight: 400; color: var(--muted); }
.compare tbody th { color: var(--text-2); font-weight: 600; width: 16%; }
.compare td { color: var(--muted); }
.compare .us { background: var(--blue-soft); color: var(--text); }
.compare thead .us { color: var(--blue-hi); border-top: 2px solid var(--blue); }
.compare thead .us small { color: var(--text-2); }

/* Method */
.pre-step { display: flex; gap: 20px; align-items: flex-start; max-width: 860px; margin: 0 auto 16px; padding: 22px 24px; border-radius: var(--radius); border: 1px dashed var(--line-2); }
.pre-step__n { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); color: var(--muted); font-weight: 700; }
.pre-step h3 { font-size: var(--fs-h3); margin-bottom: 6px; }
.pre-step p { color: var(--muted); font-size: .9375rem; }
.ruta { letter-spacing: .06em; color: var(--blue-hi); }
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; display: grid; gap: 16px; counter-reset: s; }
.steps li { display: flex; gap: 24px; align-items: flex-start; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; }
.steps__l { flex: none; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(160deg, var(--blue), var(--blue-deep)); color: #fff; font-size: 1.75rem; font-weight: 700; box-shadow: 0 12px 30px -10px rgba(9, 145, 240, .8); }
.steps h3 { font-size: 1.25rem; }
.steps .when { margin: 4px 0 10px; color: var(--blue-hi); font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.steps p:not(.when) { color: var(--text-2); }
@media (max-width: 559px) { .steps li { flex-direction: column; gap: 16px; padding: 22px; } .steps__l { width: 52px; height: 52px; font-size: 1.4rem; } .pre-step { flex-direction: column; gap: 12px; } }

/* Included */
.included { display: grid; gap: 16px; }
.lead-card { display: flex; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: radial-gradient(120% 140% at 0% 0%, rgba(9, 145, 240, .22), transparent 55%), var(--surface); border: 1px solid var(--blue-line); }
.lead-card__n { margin: 0; font-size: clamp(5rem, 3rem + 8vw, 9rem); font-weight: 700; line-height: .85; letter-spacing: -.06em; background: linear-gradient(180deg, #fff, var(--blue-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead-card h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin-bottom: 12px; }
.lead-card p { color: var(--text-2); }
.lead-card .small { margin-top: 12px; color: var(--muted); }
.feat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat li { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.feat li > svg { color: var(--blue-hi); margin-bottom: 18px; }
.feat h3 { font-size: 1rem; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: .9rem; line-height: 1.55; }
@media (max-width: 999px) { .feat { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .lead-card { flex-direction: column; align-items: flex-start; } .feat { grid-template-columns: 1fr; } .feat li { display: flex; gap: 16px; padding: 20px; } .feat li > svg { margin: 2px 0 0; flex: none; } }

/* Paths */
.paths { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.paths li { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent); transition: border-color .25s, transform .25s var(--ease); }
.paths li:hover { border-color: var(--blue-line); transform: translateY(-2px); }
.paths svg { color: var(--blue-hi); }
.paths h3 { font-size: var(--fs-h3); margin: 18px 0 8px; }
.paths p { color: var(--muted); font-size: .9375rem; }
@media (max-width: 899px) { .paths { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .paths { grid-template-columns: 1fr; } .paths li { padding: 22px; } }

/* Experience */
.exp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 28px; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue), rgba(9, 145, 240, .1)); }
.timeline li { position: relative; padding-left: 44px; }
.timeline li::before { content: ''; position: absolute; left: 4px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--blue); }
.timeline b { display: block; font-size: 1.0625rem; margin-bottom: 4px; }
.timeline span { color: var(--muted); font-size: .9375rem; }
.portal { padding: 20px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: grid; gap: 14px; }
.portal__top { display: flex; align-items: center; }
.portal__brand { font-weight: 600; }
.portal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.portal__stat, .portal__next, .portal__task, .portal__review { padding: 16px; border-radius: var(--radius-sm); background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.portal__stat b { font-size: 1.5rem; letter-spacing: -.02em; }
.portal__stat b span { font-size: .9rem; color: var(--muted); font-weight: 500; }
.portal__stat i { display: block; height: 6px; margin-top: 12px; border-radius: 6px; background: rgba(255, 255, 255, .07); position: relative; overflow: hidden; }
.portal__stat i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: var(--blue); }
.portal__next { display: flex; gap: 12px; align-items: center; }
.portal__next svg { color: var(--blue-hi); flex: none; }
.portal__next small { margin-bottom: 2px; }
.portal__next p, .portal__task p { margin: 0; font-weight: 500; font-size: .9375rem; }
.portal__task span { display: block; margin-top: 8px; color: var(--blue-hi); font-size: .8125rem; }
.portal__review { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.portal__review small { width: 100%; margin: 0; }
.portal__review p { margin: 0 0 0 auto; color: var(--muted); font-size: .8125rem; }
.wave { display: flex; gap: 4px; align-items: center; height: 28px; }
.wave span { width: 4px; border-radius: 4px; background: var(--blue); opacity: .85; height: 30%; }
.wave span:nth-child(3n) { height: 80%; } .wave span:nth-child(4n+1) { height: 55%; } .wave span:nth-child(5n+2) { height: 100%; }
@media (max-width: 899px) { .exp { grid-template-columns: 1fr; } }

/* Founder */
.founder { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.founder__photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); }
.founder__photo img { width: 100%; aspect-ratio: 560 / 650; object-fit: cover; }
.founder__photo figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(7, 9, 11, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .8125rem; color: var(--text-2); border: 1px solid var(--line); }
.founder h2 { font-size: var(--fs-h2); }
.founder h2 em { display: block; margin-top: .1em; }
.founder__text p:not(.kicker) { color: var(--text-2); }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.ticks svg { flex: none; margin-top: 3px; color: var(--blue-hi); }
@media (max-width: 899px) { .founder { grid-template-columns: 1fr; } .founder__photo { max-width: 420px; } }

/* Testimonials */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { margin: 0; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.testi__media { position: relative; aspect-ratio: 3 / 4; background: #000; }
.testi__media video, .testi__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.testi__play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .55)); cursor: pointer; color: var(--bg); }
.testi__play span { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 0 0 8px rgba(255, 255, 255, .15); transition: transform .25s var(--ease); }
.testi__play span svg { margin-left: 3px; }
.testi__play:hover span { transform: scale(1.07); }
.testi blockquote { margin: 0; padding: 22px 22px 8px; color: var(--text-2); font-size: .9375rem; line-height: 1.6; }
.testi figcaption { padding: 0 22px 22px; margin-top: auto; font-size: .875rem; color: var(--muted); }
.testi figcaption b { display: block; color: var(--text); font-size: .9375rem; }
@media (max-width: 899px) { .testis { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) {
  .testis { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .testis::-webkit-scrollbar { display: none; }
  .testi { flex: 0 0 82%; scroll-snap-align: start; }
  .testi__media { aspect-ratio: 4 / 5; }
}

/* Guarantee */
.guarantee { display: flex; gap: clamp(24px, 5vw, 56px); align-items: center; max-width: 960px; margin: 0 auto; padding: clamp(28px, 5vw, 56px); border-radius: calc(var(--radius) + 6px); background: radial-gradient(120% 140% at 100% 0%, rgba(52, 211, 153, .12), transparent 55%), var(--surface); border: 1px solid rgba(52, 211, 153, .3); }
.guarantee__seal { flex: none; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 2px; border: 1px solid rgba(52, 211, 153, .45); background: rgba(52, 211, 153, .07); color: var(--ok); text-align: center; }
.guarantee__seal svg { margin: 0 auto 4px; }
.guarantee__seal b { font-size: 2.25rem; line-height: 1; color: var(--text); }
.guarantee__seal span { font-size: .8125rem; color: var(--text-2); }
.guarantee .kicker { color: var(--ok); }
.guarantee h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); margin-bottom: 16px; letter-spacing: -.025em; }
.guarantee p { color: var(--text-2); }
.guarantee .small { margin-top: 12px; }
@media (max-width: 679px) { .guarantee { flex-direction: column; align-items: flex-start; } .guarantee__seal { width: 112px; height: 112px; } .guarantee__seal b { font-size: 1.75rem; } }

/* Price */
.price { display: grid; grid-template-columns: 1fr 1fr; max-width: 980px; margin: 0 auto; border-radius: calc(var(--radius) + 6px); border: 1px solid var(--blue-line); background: var(--surface); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(9, 145, 240, .5); }
.price__main { padding: clamp(28px, 4vw, 48px); background: radial-gradient(120% 120% at 0% 0%, rgba(9, 145, 240, .18), transparent 60%); border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.price__name { margin: 0; font-size: 1.25rem; font-weight: 600; }
.price__term { margin: 4px 0 24px; color: var(--muted); }
.price__value { margin-bottom: 8px; }
.price__amount { margin: 0; font-size: clamp(2.75rem, 2rem + 3vw, 4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price__amount small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.price__per { margin: 10px 0 0; color: var(--text-2); font-size: .9375rem; }
.price__hidden { padding: 16px; border-radius: var(--radius-sm); background: rgba(0, 0, 0, .25); border: 1px solid var(--line); color: var(--text-2); font-size: .9375rem; }
.price__note { color: var(--muted); font-size: var(--fs-small); margin: 8px 0 28px; }
.price__main .btn { margin-top: auto; }
.price__micro { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: .8125rem; }
.price__list { list-style: none; margin: 0; padding: clamp(28px, 4vw, 48px); display: grid; gap: 14px; align-content: center; }
.price__list li { display: flex; gap: 12px; color: var(--text-2); font-size: .9375rem; }
.price__list svg { flex: none; margin-top: 3px; color: var(--blue-hi); }
@media (max-width: 799px) { .price { grid-template-columns: 1fr; } .price__main { border-right: 0; border-bottom: 1px solid var(--line); } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-weight: 600; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); background-image: linear-gradient(var(--text), var(--text)), linear-gradient(var(--text), var(--text)); background-repeat: no-repeat; background-position: center; background-size: 12px 2px, 2px 12px; transition: transform .3s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--blue-soft); }
.faq summary:hover { color: var(--blue-hi); }
.faq details > div { overflow: hidden; }
.faq details p { padding: 0 48px 22px 0; color: var(--text-2); }

/* Apply */
.section--apply { background: radial-gradient(60% 50% at 50% 0%, rgba(9, 145, 240, .16), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.apply { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.apply__intro h2 { font-size: var(--fs-h2); letter-spacing: -.03em; }
.apply__intro > p:not(.kicker) { margin-top: 20px; color: var(--text-2); font-size: var(--fs-lead); }
.apply__card { padding: clamp(22px, 4vw, 40px); border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); scroll-margin-top: 90px; }
.progress { display: flex; gap: 8px; margin-bottom: 14px; }
.progress span { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); transition: background-color .3s; }
.progress span.on { background: var(--blue); }
.step-label { margin: 0 0 24px; color: var(--muted); font-size: var(--fs-small); }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.f { margin-bottom: 20px; }
.f label:not(.opt):not(.check), .q { display: block; margin: 0 0 8px; font-weight: 600; font-size: .9375rem; }
.f label small, .q small { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text); font: 400 1rem/1.4 var(--font); transition: border-color .2s, box-shadow .2s; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
select option { background: var(--surface); color: var(--text); }
textarea { resize: vertical; min-height: 76px; }
input::placeholder, textarea::placeholder { color: #6B747E; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(9, 145, 240, .2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.opts { display: grid; gap: 10px; }
.opts--2 { grid-template-columns: 1fr 1fr; }
.opts--3 { grid-template-columns: repeat(3, 1fr); }
.opt { display: flex; gap: 12px; align-items: center; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--bg-2); cursor: pointer; font-size: .9375rem; line-height: 1.35; color: var(--text-2); transition: border-color .2s, background-color .2s; }
.opt:hover { border-color: rgba(255, 255, 255, .28); }
.opt input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.opt:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); color: var(--text); }
.opt:has(input:focus-visible) { outline: 2px solid var(--blue-hi); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; color: var(--text-2); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); }
.check a { color: var(--blue-hi); }
.err { display: none; margin: 8px 0 0; color: #FF8E8F; font-size: .8125rem; }
.f.is-bad .err { display: block; }
.f.is-bad input:not([type=radio]):not([type=checkbox]), .f.is-bad select { border-color: var(--red); }
.f.is-bad .opt { border-color: rgba(246, 29, 31, .6); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.form-error { margin: 16px 0 0; color: #FF8E8F; font-size: var(--fs-small); }
.result h3 { font-size: 1.5rem; margin-bottom: 10px; }
.result > p { color: var(--text-2); }
.result:focus { outline: none; }
.cal { margin-top: 20px; min-height: 120px; border-radius: var(--radius-sm); overflow: hidden; }
.cal__loading { color: var(--muted); font-size: var(--fs-small); }
.cal-fallback { margin-top: 16px; display: grid; gap: 16px; justify-items: start; color: var(--text-2); }
@media (max-width: 899px) { .apply { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .two, .opts--2 { grid-template-columns: 1fr; } .opts--3 { grid-template-columns: 1fr; } .row .btn { flex: 1; } .row > span { display: none; } }

/* Sticky CTA (mobile) */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(7, 9, 11, 0), rgba(7, 9, 11, .92) 35%); transform: translateY(110%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; pointer-events: none; }
.sticky-cta.is-on { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; pointer-events: auto; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* Consent */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; padding: 18px; border-radius: var(--radius); background: rgba(16, 21, 26, .97); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: grid; gap: 14px; font-size: .875rem; color: var(--text-2); }
.consent[hidden] { display: none; }
.consent p { margin: 0; }
.consent a { color: var(--blue-hi); }
.consent div { display: flex; gap: 10px; justify-content: flex-end; }

/* Footer */
.footer { padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.footer__tag { margin: 12px 0 0; color: var(--muted); font-size: var(--fs-small); }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: flex-end; font-size: var(--fs-small); color: var(--text-2); }
.footer__links a { text-decoration: none; }
.footer__links a:hover, .footer__links .linkish:hover { color: var(--text); }
.footer__links .linkish { text-decoration: none; }
.footer__copy { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
@media (max-width: 899px) { .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
@media (max-width: 679px) { .footer__inner { grid-template-columns: 1fr; } .footer__links { justify-content: flex-start; } }

/* ---------- Compact phone layout ---------- */
@media (max-width: 559px) {
  .eyebrow { font-size: .8125rem; padding: 7px 14px; }
  .hide-sm { display: none; }
  .hero__actions { width: 100%; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 8px; }
  .facts li { border-radius: 12px; padding: 10px 12px; text-align: left; line-height: 1.3; }
  .facts b { display: block; font-size: 1.25rem; }
  .pains li, .paths li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 20px; }
  .pains li .ico, .paths li > svg { grid-row: span 2; }
  .pains h3, .paths h3 { margin: 0; align-self: end; }
  .paths li > svg { margin-top: 2px; }
  .section__head { margin-bottom: 32px; }
}

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
