
:root {
  color-scheme: dark;
  --bg: #02071a;
  --bg-raised: #0a1024;
  --card: #0d1329;
  --card-2: #111a36;
  --line: #1d2542;
  --line-strong: #2b355c;
  --text: #fcf3e2;
  --text-body: #c9cdda;
  --muted: #8f96b0;
  --brand: #434bf6;
  --brand-strong: #3038d6;
  --accent: #6366f1;
  --accent-soft: #a5b4fc;
  --error: #f87171;
  --ok: #34d399;
  --rose: #e11d48;
  --orange: #ea580c;
  --amber: #d97706;
  --emerald: #059669;
  --teal: #0d9488;
  --sky: #0284c7;
  --blue: #2563eb;
  --violet: #7c3aed;
  --pink: #db2777;
  --coach: var(--accent);
  --radius: 18px;
  --radius-sm: 10px;
  --container: 72rem;
  --font: ui-sans-serif, system-ui, -apple-system, "SF Pro Text", "Segoe UI", Inter, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.55;
  font-size: 1.02rem;
}
img { max-width: 100%; }
a { color: var(--accent-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 4px;
}
h1, h2, h3, h4 { color: var(--text); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 0.6rem; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 750; letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }
strong { color: var(--text); font-weight: 650; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; background: var(--card-2); padding: 0.1em 0.4em; border-radius: 6px; }
mark { background: #fbbf24; color: #1c1917; padding: 0 0.25em; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
.visually-hidden { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 46rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-body); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coach);
  margin: 0 0 0.9rem;
}
.center { text-align: center; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.section--raised { background: var(--bg-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__intro { max-width: 44rem; margin: 0 auto 2.5rem; text-align: center; }
.section__intro p { color: var(--text-body); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 650;
  font-size: 0.98rem;
  padding: 0.8rem 1.25rem;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-strong); color: #fff; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--text); color: #fff; }
.btn--coach { background: var(--coach); color: #fff; }
.btn--lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 7, 26, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.logo { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -0.01em; font-size: 1.1rem; }
.logo img { width: 2.1rem; height: 2.1rem; border-radius: 0.6rem; }
.nav__links { display: none; gap: 1.4rem; margin-left: auto; }
.nav__links a { color: var(--text-body); text-decoration: none; font-weight: 550; font-size: 0.96rem; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: #fff; }
.nav__cta { display: none; }
.nav__menu { margin-left: auto; position: relative; }
.nav__menu summary { list-style: none; cursor: pointer; color: var(--text); font-weight: 600; padding: 0.5rem 0.75rem; border: 1px solid var(--line-strong); border-radius: 10px; }
.nav__menu summary::-webkit-details-marker { display: none; }
.nav__menu[open] summary { border-color: var(--text); }
.nav__menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 15rem;
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.nav__menu nav a { color: var(--text); text-decoration: none; padding: 0.6rem 0.75rem; border-radius: 8px; font-weight: 550; }
.nav__menu nav a:hover { background: var(--card-2); }
.nav__menu nav .btn { margin-top: 0.5rem; }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__menu { display: none; }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 120%;
  background:
    radial-gradient(38rem 26rem at 15% 10%, rgba(67, 75, 246, 0.28), transparent 60%),
    radial-gradient(28rem 20rem at 85% 25%, rgba(124, 58, 237, 0.22), transparent 60%),
    radial-gradient(22rem 16rem at 70% 90%, rgba(225, 29, 72, 0.16), transparent 60%),
    radial-gradient(20rem 14rem at 30% 95%, rgba(5, 150, 105, 0.14), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero__copy .lead { margin: 1.25rem 0 1.75rem; max-width: 34rem; }
.hero__note { margin-top: 1.25rem; color: var(--muted); font-size: 0.92rem; max-width: 34rem; }
.hero__media { display: flex; justify-content: center; }
.hero--coach::before { background: radial-gradient(40rem 28rem at 30% 20%, color-mix(in srgb, var(--coach) 32%, transparent), transparent 62%); }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero__media { justify-content: flex-end; }
}

/* Phone frame */
.phone {
  position: relative;
  margin: 0;
  width: min(100%, 300px);
  padding: 11px;
  border-radius: 46px;
  background: #0b1220;
  box-shadow:
    inset 0 0 0 2px #26304d,
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 36px; background: #fff; }
.phone::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 27%;
  height: 24px;
  border-radius: 999px;
  background: #0b1220;
}
.phone--sm { width: min(100%, 250px); }
.phone-pair { display: flex; gap: 1rem; justify-content: center; align-items: flex-start; width: 100%; max-width: 540px; }
.phone-pair .phone { flex: 0 1 250px; width: auto; min-width: 0; }
.phone-pair .phone:last-child { margin-top: 3rem; }

/* Discipline chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--coach) 45%, transparent);
  background: color-mix(in srgb, var(--coach) 16%, transparent);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.chip::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 999px; background: var(--coach); }
a.chip:hover { border-color: var(--coach); color: #fff; }
.dots { display: inline-flex; gap: 0.35rem; }
.dots span { width: 0.6rem; height: 0.6rem; border-radius: 999px; background: var(--coach); display: inline-block; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; align-items: start; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: var(--coach);
}
.steps h3 { margin: 0.25rem 0 0.3rem; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--text-body); }
.steps--row { grid-template-columns: 1fr; }
@media (min-width: 860px) {
  .steps--row { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .steps--row li { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* Feature rows */
.feature { display: grid; gap: 2.25rem; align-items: center; padding: clamp(2rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature__media { display: flex; justify-content: center; }
.feature__copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.feature__copy .sub { color: var(--coach); font-weight: 650; margin: 0 0 1rem; }
.feature__copy ul { padding-left: 1.1rem; color: var(--text-body); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .feature--flip .feature__media { order: -1; }
}

/* Cards */
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.45rem;
}
.card h3 { margin-bottom: 0.45rem; }
.card p { color: var(--text-body); margin-bottom: 0.6rem; }
.card p:last-child { margin-bottom: 0; }
.card--link { text-decoration: none; color: inherit; display: block; transition: transform 120ms ease, border-color 120ms ease; }
.card--link:hover { transform: translateY(-2px); border-color: var(--coach); color: inherit; }
.card--coach { border-top: 4px solid var(--coach); }
.card__meta { color: var(--muted); font-size: 0.88rem; }
.card__icon {
  width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--coach) 22%, transparent); color: var(--coach); margin-bottom: 0.9rem; font-weight: 800;
}
.card__icon svg { width: 1.3rem; height: 1.3rem; }

/* Prompts (things to say to Coach) */
.prompts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.prompts li {
  position: relative;
  padding: 0.75rem 1rem 0.75rem 1.1rem;
  border-radius: 16px 16px 16px 4px;
  background: color-mix(in srgb, var(--coach) 16%, var(--card));
  border: 1px solid color-mix(in srgb, var(--coach) 35%, transparent);
  color: var(--text);
  font-weight: 550;
  max-width: 34rem;
}
.prompts li::before { content: "“"; color: var(--coach); margin-right: 0.15rem; }
.prompts li::after { content: "”"; color: var(--coach); margin-left: 0.15rem; }

/* Compare */
.compare { display: grid; gap: 1rem; }
.compare .card ul { margin: 0; padding-left: 1.1rem; }
.compare .card--yes { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); background: color-mix(in srgb, var(--brand) 10%, var(--card)); }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; } }

/* Two-column text */
.cols { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .cols { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.cols--3 { gap: 1.25rem; }
@media (min-width: 900px) { .cols--3 { grid-template-columns: repeat(3, 1fr); } }

/* Callout */
.callout {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--card);
}
.callout p { margin: 0; }
.callout--brand { border-color: color-mix(in srgb, var(--brand) 60%, var(--line)); background: color-mix(in srgb, var(--brand) 12%, var(--card)); }

/* Pricing plans */
.plan-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
.plan-card { display: flex; flex-direction: column; }
.plan-card--featured { border-color: color-mix(in srgb, var(--coach) 55%, var(--line)); }
.plan-price { color: var(--text); font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; margin: 0.5rem 0 0; }
.plan-per { color: var(--muted); font-size: 1rem; font-weight: 550; }
.plan-alt { color: var(--muted); font-size: 0.92rem; margin: 0 0 1rem; }
.plan-features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.55rem; }
.plan-features li { padding-left: 1.5rem; position: relative; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--coach); font-weight: 800; }
.plan-card .btn-row { margin-top: auto; }
.plan-badges { margin-top: 0; }

/* CTA band */
.cta-band {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(30rem 16rem at 20% 0%, rgba(67, 75, 246, 0.35), transparent 60%),
    radial-gradient(24rem 14rem at 90% 100%, color-mix(in srgb, var(--coach) 30%, transparent), transparent 60%),
    var(--card);
}
.cta-band h2 { margin-bottom: 0.75rem; }
.cta-band p { max-width: 34rem; margin: 0 auto 1.5rem; }
.cta-band .btn-row { justify-content: center; }

/* Fast facts (answer-first summary for LLM citations and skimmers) */
.facts { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem 1.2rem; margin: 2.25rem auto 0; }
.facts .eyebrow { margin-bottom: 0.6rem; }
.facts__definition { color: var(--text); font-size: 1.08rem; }
.facts ul { margin-bottom: 0; }
.facts li::marker { color: var(--coach); }

/* FAQ */
.faq { display: grid; gap: 0.6rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); padding: 0 1.1rem; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 0; font-weight: 650; color: var(--text); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .faq__body { padding: 0 0 1.1rem; color: var(--text-body); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* Vocabulary table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); -webkit-overflow-scrolling: touch; }
.table-hint { display: none; color: var(--muted); font-size: 0.85rem; margin: 0.6rem 0 0; text-align: center; }
@media (max-width: 44rem) { .table-hint { display: block; } }
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 40rem; }
th, td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--text); font-weight: 650; background: var(--card); }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--muted); }
th[style], td[style] { color: var(--text); }
th .dot { display: inline-block; width: 0.55rem; height: 0.55rem; border-radius: 999px; background: var(--coach); margin-right: 0.45rem; }

/* Forms */
form.stack { display: grid; gap: 1rem; }
label, legend { display: grid; gap: 0.35rem; font-size: 0.94rem; color: var(--text); font-weight: 550; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
input, textarea {
  font: inherit;
  color: var(--text);
  background: #070c1f;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  width: 100%;
}
input:focus, textarea:focus { border-color: var(--accent-soft); }
textarea { resize: vertical; }
.chip-check {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.42rem 0.8rem; border-radius: 999px; cursor: pointer; font-weight: 550; font-size: 0.92rem;
  border: 1px solid color-mix(in srgb, var(--coach) 45%, transparent);
  background: color-mix(in srgb, var(--coach) 14%, transparent);
}
.chip-check input { width: auto; accent-color: var(--coach); margin: 0; }
.chip-check:has(input:checked) { background: var(--coach); color: #fff; border-color: var(--coach); }
.error { color: var(--error); margin: 0 0 0.5rem; font-weight: 550; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-card { background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.form-card .lead { margin-bottom: 1rem; }
.success { display: grid; gap: 0.75rem; }
.success h2::before { content: "✓ "; color: var(--ok); }

/* Prose (legal, long-form) */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.45rem; margin-top: 2.25rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.prose ul { color: var(--text-body); }
.prose .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.notice { border-left: 3px solid #fbbf24; padding: 0.6rem 1rem; background: rgba(251, 191, 36, 0.08); border-radius: 0 10px 10px 0; color: var(--text-body); }

/* Page header */
.page-head { padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-head .lead { max-width: 40rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; margin-top: clamp(2rem, 6vw, 4rem); background: var(--bg-raised); }
.footer__grid { display: grid; gap: 2rem; }
.footer__brand p { color: var(--muted); font-size: 0.92rem; max-width: 22rem; }
.footer__col h4 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer__col a { color: var(--text-body); text-decoration: none; font-size: 0.95rem; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card--link { transition: none; }
}
