/* Techix Academy site styles: FDE Coach's design system (TechixAcademy-FDE/frontend/static/styles.css). */
@font-face {
  font-family: "Bellina Condensed";
  src: url("/fonts/bellina-condensed.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Bellina Condensed";
  src: url("/fonts/bellina-slant-condensed.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

/* ── Tokens (from FDE Coach) ─────────────────────────────────────────── */
:root {
  --orange: #E65416; --beige: #D8D6C9; --grey: #52555A; --off-white: #F5F5F5; --charcoal: #303236;
  --brand-rgb: 230 84 22;
  --brand: var(--orange);
  --brand-ink: #C24510;           /* orange for text and white-on-orange fills (5.1:1) */
  --brand-2: #EE7A45;
  --brand-grad: linear-gradient(135deg, #C24510 0%, #E65416 100%);
  --brand-soft: radial-gradient(circle at 30% 70%, #E65416 0%, rgb(230 84 22 / .55) 35%, #D8D6C9 85%);
  --font-display: "Bellina Condensed", "Inter", Georgia, serif;

  --select: #15803d; --waitlist: #8A6A00; --reject: #b91c1c;

  --bg: var(--off-white); --bg2: #FFFFFF; --card: #FFFFFF; --card2: #EDECE6;
  --border: #E3E1D8; --border2: var(--beige); --border-input: #8A8C88;
  --text: var(--charcoal); --text2: var(--grey); --text3: #63666B;
  --shadow-sm: rgb(48 50 54 / .06); --shadow-md: rgb(48 50 54 / .10); --shadow-lg: rgb(48 50 54 / .18);

  --r-xs: 6px; --r-sm: 9px; --r-md: 14px; --r-lg: 18px; --r-xl: 22px; --r-full: 999px;
  --page-w: 1080px;
}
html[data-theme="dark"] {
  --brand-ink: #F07A45;
  --brand-grad: linear-gradient(135deg, #E65416 0%, #F07A45 100%);
  --select: #4ADE80; --waitlist: #E0B341; --reject: #F87171;
  --bg: #232427; --bg2: #2A2C30; --card: var(--charcoal); --card2: #3A3C41;
  --border: #3F4146; --border2: var(--grey); --border-input: #74777C;
  --text: var(--off-white); --text2: var(--beige); --text3: #A9AAA3;
  --shadow-sm: rgb(0 0 0 / .20); --shadow-md: rgb(0 0 0 / .35); --shadow-lg: rgb(0 0 0 / .55);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px; line-height: 1.5;
  background: var(--bg); color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
  transition: background .2s, color .2s;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.ic { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-18 { width: 18px; height: 18px; }
.ic-20 { width: 20px; height: 20px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 200; padding: 8px 14px; border-radius: var(--r-sm); background: var(--brand-ink); color: #fff; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* Display face: headlines, prices and big numbers only */
.display { font-family: var(--font-display); font-style: italic; font-weight: 400; font-synthesis: none; letter-spacing: 0; }

/* ── Nav (FDE) ───────────────────────────────────────────────────────── */
nav.site-nav {
  display: flex; align-items: center; gap: 8px;
  min-height: 64px; padding: 10px 24px;
  border-bottom: 1px solid var(--border); background: var(--bg2);
  position: sticky; top: 0; z-index: 50;
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: 16px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 28px; height: 28px; object-fit: contain; }
.brand-name { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 12px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; color: var(--text2); text-decoration: none; white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--card2); color: var(--text); }
.nav-link[aria-current="page"] { color: var(--text); font-weight: 600; background: var(--card2); }
.nav-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.theme-toggle {
  width: 36px; height: 36px; border-radius: 9px;
  border: 1px solid var(--border); background: var(--card2); color: var(--text2);
  display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
  transition: background .15s, border-color .15s, color .15s;
}
.theme-toggle:hover { background: var(--card); border-color: var(--border2); color: var(--text); }
.theme-toggle .moon { display: block; } .theme-toggle .sun { display: none; }
html[data-theme="dark"] .theme-toggle .moon { display: none; }
html[data-theme="dark"] .theme-toggle .sun { display: block; }
@media (max-width: 760px) {
  nav.site-nav { flex-wrap: wrap; row-gap: 8px; padding: 10px 16px 8px; }
  .brand { margin-right: 0; }
  .nav-links { order: 3; flex: 1 0 100%; margin-left: -12px; overflow-x: auto; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-cta-long { display: none; }
}
@media (min-width: 761px) { .nav-cta-short { display: none; } }

/* ── Buttons (FDE / shadcn) ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: var(--r-sm); border: 1px solid transparent;
  font: inherit; font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap;
  text-decoration: none; cursor: pointer; user-select: none;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .08s;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgb(var(--brand-rgb) / .35); }
.btn-primary { background: #C24510; color: #fff; box-shadow: 0 1px 2px rgb(var(--brand-rgb) / .25); }
.btn-primary:hover { background: color-mix(in srgb, #C24510 88%, black); }
.btn-outline { background: var(--card); border-color: var(--border-input); color: var(--text); box-shadow: 0 1px 2px var(--shadow-sm); }
.btn-outline:hover { background: var(--card2); }
.btn-plain { background: transparent; color: var(--text2); }
.btn-plain:hover { background: var(--card2); color: var(--text); }
.btn-lg { height: 44px; padding: 0 24px; font-size: 15px; }
.btn-md { height: 36px; padding: 0 14px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px;
  border-radius: var(--r-xs); border: 1px solid transparent;
  font-size: 12px; font-weight: 500; line-height: 1.5; white-space: nowrap;
}
.badge-brand { background: rgb(var(--brand-rgb) / .12); color: var(--brand-ink); border-radius: var(--r-full); font-weight: 600; }
.badge-select   { background: color-mix(in srgb, var(--select) 12%, transparent);   color: var(--select);   border-color: color-mix(in srgb, var(--select) 25%, transparent); }
.badge-waitlist { background: color-mix(in srgb, var(--waitlist) 12%, transparent); color: var(--waitlist); border-color: color-mix(in srgb, var(--waitlist) 25%, transparent); }
.badge-muted { background: var(--card2); color: var(--text2); border-color: var(--border); }
.pill { display: inline-flex; align-items: center; border-radius: var(--r-xs); padding: 2px 8px; font-size: 13px; font-weight: 500; }
.pill.green { background: color-mix(in srgb, var(--select) 12%, transparent); color: var(--select); }
.pill.red { background: color-mix(in srgb, var(--reject) 12%, transparent); color: var(--reject); }

/* ── Layout ──────────────────────────────────────────────────────────── */
.lp-section { max-width: var(--page-w); margin: 0 auto; width: 100%; padding: 72px 24px 8px; }
.lp-title { font-family: var(--font-display); font-style: italic; font-weight: 400; font-synthesis: none; letter-spacing: 0; font-size: clamp(34px, 4vw, 46px); line-height: 1.05; margin-bottom: 12px; }
.lp-sub { font-size: 15px; color: var(--text3); margin-bottom: 28px; max-width: 620px; }
.lp-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.lp-title-row .lp-title { margin-bottom: 0; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: 0 1px 2px var(--shadow-sm); }

/* ── Hero (FDE) ──────────────────────────────────────────────────────── */
.hero { position: relative; text-align: center; padding: 64px 24px 32px; isolation: isolate; }
main { overflow-x: clip; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .18; pointer-events: none; }
.hero::before { width: 420px; height: 420px; background: var(--brand); top: -180px; left: 50%; transform: translateX(-70%); }
.hero::after { width: 360px; height: 360px; background: var(--brand-2); top: -140px; left: 50%; transform: translateX(10%); }
html[data-theme="dark"] .hero::before, html[data-theme="dark"] .hero::after { opacity: .14; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; padding: 4px 12px;
  border-radius: var(--r-full); border: 1px solid var(--border); background: var(--card);
  font-size: 13px; font-weight: 500; color: var(--text2); box-shadow: 0 1px 2px var(--shadow-sm);
}
.hero-kicker .ic { width: 14px; height: 14px; color: var(--brand); }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.hero h1 .accent { color: var(--brand-ink); font-family: var(--font-display); font-style: italic; font-weight: 400; font-synthesis: none; letter-spacing: 0; font-size: 1.22em; line-height: .95; }
.hero-lead { margin: 18px auto 0; font-size: 17px; color: var(--text3); max-width: 600px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--text3); }

/* Live-session demo card (FDE setup-card) */
.demo-wrap { max-width: 680px; margin: 0 auto; padding: 8px 24px 0; }
.demo-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 24px;
  box-shadow: 0 1px 2px var(--shadow-sm), 0 12px 32px -16px var(--shadow-md);
}
.seg { display: flex; gap: 4px; padding: 4px; background: var(--card2); border-radius: var(--r-md); margin-bottom: 20px; }
.seg button {
  flex: 1; height: 34px; border: 0; border-radius: var(--r-sm); background: transparent;
  font: inherit; font-size: 14px; font-weight: 500; color: var(--text2); cursor: pointer; transition: background .15s, color .15s, box-shadow .15s;
}
.seg button:hover { color: var(--text); }
.seg button[aria-selected="true"] { background: var(--card); color: var(--text); font-weight: 600; box-shadow: 0 1px 3px var(--shadow-md); }
.demo-fade { transition: opacity .3s ease; }
.demo-fade.is-out { opacity: 0; }
.demo-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.icon-tile {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  background: rgb(var(--brand-rgb) / .1); color: var(--brand-ink);
}
.demo-title { min-width: 0; flex: 1; }
.demo-title strong { display: block; font-size: 15px; font-weight: 600; }
.demo-title span { display: block; font-size: 13px; color: var(--text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text2); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--reject); box-shadow: 0 0 0 3px color-mix(in srgb, var(--reject) 22%, transparent); animation: pulse 1.4s ease-in-out infinite; }
.demo-q { background: var(--card2); border-radius: var(--r-md); padding: 16px 18px; min-height: 118px; }
.demo-q small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text3); margin-bottom: 6px; }
.demo-q p { font-size: 16px; line-height: 1.5; color: var(--text); }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--brand); animation: blink 1s steps(1) infinite; }
.demo-mic { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 12px 14px; border: 1px dashed var(--border2); border-radius: var(--r-md); }
.demo-mic > span:last-child { font-size: 13px; color: var(--text3); margin-left: auto; }
.voice-bars { display: flex; align-items: flex-end; gap: 3px; height: 24px; }
.voice-bars i { width: 4px; height: 100%; border-radius: 2px; background: var(--brand); transform-origin: bottom; transform: scaleY(.2); animation: barAnim .7s ease-in-out infinite; }
.voice-bars i:nth-child(2) { animation-delay: .1s; } .voice-bars i:nth-child(3) { animation-delay: .2s; }
.voice-bars i:nth-child(4) { animation-delay: .3s; } .voice-bars i:nth-child(5) { animation-delay: .4s; }
.voice-bars i:nth-child(6) { animation-delay: .15s; } .voice-bars i:nth-child(7) { animation-delay: .25s; }
.voice-bars i:nth-child(8) { animation-delay: .05s; }
.demo-scores { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 10px; margin-top: 16px; }
.demo-score { border: 1px solid var(--border); border-radius: var(--r-md); padding: 10px 12px; }
.demo-score b { display: block; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.demo-score small { font-size: 12px; color: var(--text3); }
.demo-verdict { display: flex; flex-direction: column; justify-content: center; }
.demo-verdict b { font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.tone-select { background: color-mix(in srgb, var(--select) 8%, var(--card)); border-color: color-mix(in srgb, var(--select) 25%, transparent); color: var(--select); }
.tone-waitlist { background: color-mix(in srgb, var(--waitlist) 8%, var(--card)); border-color: color-mix(in srgb, var(--waitlist) 25%, transparent); color: var(--waitlist); }
.tone-select small, .tone-waitlist small { color: inherit; opacity: .85; }
.demo-foot { margin-top: 12px; font-size: 12px; color: var(--text3); text-align: center; }

/* ── Sample-line strip ───────────────────────────────────────────────── */
.strip { padding: 56px 0 0; }
.strip-title { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text3); margin-bottom: 16px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 10px; }
.marquee ul { display: flex; gap: 10px; width: max-content; list-style: none; animation: marquee 70s linear infinite; }
.marquee.rev ul { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover ul { animation-play-state: paused; }
.marquee li {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px;
  border-radius: var(--r-full); background: var(--card); border: 1px solid var(--border);
  font-size: 13.5px; font-weight: 500; color: var(--text2); box-shadow: 0 2px 8px var(--shadow-sm); white-space: nowrap;
}
.tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: var(--r-full); }
.tag-fde { background: rgb(var(--brand-rgb) / .12); color: var(--brand-ink); }
.tag-dso { background: var(--card2); color: var(--text); border: 1px solid var(--border2); }
.tag-sales { background: color-mix(in srgb, var(--waitlist) 12%, transparent); color: var(--waitlist); }

/* ── Coach cards ─────────────────────────────────────────────────────── */
.coach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.coach {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: 0 1px 2px var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.coach:hover { transform: translateY(-3px); border-color: var(--border2); box-shadow: 0 1px 2px var(--shadow-sm), 0 18px 36px -18px var(--shadow-lg); }
.coach.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 12px 32px -16px rgb(var(--brand-rgb) / .45); }
.coach-cover { position: relative; height: 112px; background: var(--brand-soft); }
.coach-cover.dso { background: radial-gradient(circle at 75% 30%, #303236 0%, rgb(48 50 54 / .6) 38%, #D8D6C9 90%); }
.coach-cover.sales { background: radial-gradient(circle at 60% 110%, #EE7A45 0%, rgb(238 122 69 / .5) 38%, #D8D6C9 88%); }
.coach-cover .badge { position: absolute; top: 14px; right: 14px; background: rgb(255 255 255 / .9); color: #303236; border-radius: var(--r-full); font-weight: 600; }
.coach-mark {
  position: absolute; left: 22px; bottom: -26px;
  width: 56px; height: 56px; border-radius: 16px; background: #fff; color: #C24510;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px var(--card), 0 10px 28px rgb(var(--brand-rgb) / .2);
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.coach:hover .coach-mark { transform: rotate(-6deg) scale(1.06); }
.coach-body { display: flex; flex-direction: column; gap: 14px; padding: 42px 22px 22px; flex: 1; }
.coach-body h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.coach-for { font-size: 14px; color: var(--text3); margin-top: -10px; }
.coach-stat { display: flex; align-items: baseline; gap: 6px; }
.coach-stat .display { font-size: 42px; line-height: 1; color: var(--text); }
.coach-stat span:last-child { font-size: 14px; color: var(--text3); }
.coach-quote { background: var(--card2); border-radius: var(--r-md); padding: 12px 14px; }
.coach-quote small { display: block; font-size: 12px; font-weight: 600; color: var(--brand-ink); margin-bottom: 2px; }
.coach-quote p { font-size: 14px; color: var(--text); line-height: 1.45; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.checks li { display: flex; gap: 8px; font-size: 14px; line-height: 1.45; color: var(--text2); }
.checks .ic { margin-top: 2px; color: var(--brand-ink); }
.text-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; color: var(--text2); text-decoration: none; }
.text-link:hover { color: var(--brand-ink); }
.lp-fine { font-size: 13px; color: var(--text3); margin-top: 18px; line-height: 1.6; }
@media (max-width: 920px) { .coach-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ── Quiz (FDE setup-card + role-card) ───────────────────────────────── */
.quiz { max-width: 860px; margin: 0 auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px; box-shadow: 0 1px 2px var(--shadow-sm), 0 12px 32px -16px var(--shadow-md); }
.quiz-steps { display: flex; gap: 6px; margin-bottom: 22px; }
.quiz-steps i { flex: 1; height: 4px; border-radius: 99px; background: var(--card2); transition: background .2s; }
.quiz-steps i.on { background: var(--brand); }
.quiz-q { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.quiz-hint { font-size: 14px; color: var(--text3); margin: 4px 0 20px; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choices.levels { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choice {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left;
  padding: 16px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--card);
  font: inherit; color: var(--text); cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s, transform .15s;
}
.choice:hover { border-color: var(--border2); transform: translateY(-1px); }
.choice[aria-pressed="true"] { border-color: var(--brand); background: rgb(var(--brand-rgb) / .06); box-shadow: 0 0 0 1px var(--brand), 0 8px 28px rgb(var(--brand-rgb) / .15); }
.choice .icon-tile { margin-bottom: 8px; }
.choice strong { font-size: 15px; font-weight: 600; }
.choice span { font-size: 13px; color: var(--text3); }
.quiz-back { margin-top: 16px; }
.result-head { display: flex; align-items: center; gap: 14px; }
.result-head .icon-tile { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-grad); color: #fff; }
.result-head .display { font-size: 40px; line-height: 1; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.result-grid div { border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 14px; }
.result-grid dt { font-size: 12px; color: var(--text3); }
.result-grid dd { font-size: 15px; font-weight: 600; margin-top: 2px; }
.result-tip { margin-top: 16px; font-size: 14px; color: var(--text2); }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
@media (max-width: 700px) { .choices { grid-template-columns: 1fr; } .result-grid { grid-template-columns: 1fr; } .quiz { padding: 20px; } }

/* ── How it works (FDE how-steps) ────────────────────────────────────── */
.how-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.how-steps li { position: relative; padding: 20px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--card); box-shadow: 0 1px 2px var(--shadow-sm); counter-increment: step; }
.how-steps li::before { content: counter(step); position: absolute; top: 18px; right: 20px; font-size: 13px; font-weight: 600; color: var(--text3); }
.how-steps .icon-tile { width: 36px; height: 36px; margin-bottom: 12px; }
.how-steps h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.how-steps p { font-size: 14px; color: var(--text3); line-height: 1.55; }
@media (max-width: 900px) { .how-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .how-steps { grid-template-columns: 1fr; } }

/* ── Sample report (FDE sample-report) ───────────────────────────────── */
.sample-tabs.seg { display: inline-flex; margin-bottom: 16px; max-width: 100%; }
.sample-tabs.seg button { padding: 0 18px; }
.sample-report { border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--card); box-shadow: 0 1px 2px var(--shadow-sm), 0 20px 40px -24px var(--shadow-md); overflow: hidden; --tone: var(--waitlist); }
.sample-report.select { --tone: var(--select); }
.sr-banner { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--tone) 7%, var(--card)); transition: background .3s; }
.sr-icon { color: var(--tone); flex-shrink: 0; }
.sr-text { flex: 1; min-width: 0; }
.sr-verdict { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--tone); }
.sr-title { font-size: 18px; font-weight: 600; margin: 2px 0 6px; letter-spacing: -0.01em; }
.sr-reason { font-size: 14px; color: var(--text3); line-height: 1.5; }
.sr-overall { text-align: center; padding: 10px 16px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--border); }
.sr-overall span { display: block; font-size: 30px; font-weight: 700; color: var(--tone); letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sr-overall small { font-size: 12px; color: var(--text3); }
.sr-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 20px; padding: 22px; align-items: center; }
.sr-score { display: flex; gap: 12px; align-items: center; }
.sr-score strong { font-size: 14px; font-weight: 600; }
.sr-score p { font-size: 13px; color: var(--text3); line-height: 1.4; }
.sr-ring { --v: 0; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--tone) calc(var(--v) * 1%), var(--card2) 0); }
.sr-ring span { width: 44px; height: 44px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sr-pills { display: flex; flex-direction: column; gap: 10px; }
.sr-pills > div { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sr-label { font-size: 13px; color: var(--text3); min-width: 72px; }
@media (max-width: 760px) { .sr-grid { grid-template-columns: 1fr; } .sr-banner { flex-wrap: wrap; } .sr-overall { width: 100%; } }

/* ── Compare table ───────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--card2); font-weight: 600; color: var(--text); }
tbody th { font-weight: 500; color: var(--text3); width: 22%; }
tbody td { color: var(--text2); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td, tbody tr:hover th { background: color-mix(in srgb, var(--card2) 50%, transparent); }
.free { color: var(--brand-ink); font-weight: 600; }

/* ── FAQ (FDE) ───────────────────────────────────────────────────────── */
.faq { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--card); overflow: hidden; }
.faq details + details { border-top: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; font-size: 15px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--text3); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq summary:hover { background: var(--card2); }
.faq details p { padding: 0 20px 18px; font-size: 14px; color: var(--text2); line-height: 1.6; max-width: 720px; }
.faq a { color: var(--brand-ink); }

/* ── Closing CTA ─────────────────────────────────────────────────────── */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff; border-radius: var(--r-xl); padding: 56px 24px; background: linear-gradient(135deg, #C24510 0%, #E65416 100%); box-shadow: 0 24px 48px -24px rgb(var(--brand-rgb) / .6); }
.cta::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: #D8D6C9; opacity: .35; filter: blur(60px); }
.cta h2 { font-family: var(--font-display); font-style: italic; font-weight: 400; font-synthesis: none; font-size: clamp(40px, 5.4vw, 64px); line-height: 1; }
.cta p { margin: 14px auto 0; max-width: 520px; font-size: 16px; color: rgb(255 255 255 / .88); }
.cta .hero-actions { margin-top: 26px; }
.cta .btn-light { background: #fff; color: #C24510; font-weight: 600; }
.cta .btn-light:hover { background: #FFF4EE; }
.cta .btn-ghost-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / .6); }
.cta .btn-ghost-light:hover { background: rgb(255 255 255 / .12); }
.cta .voice-bars { justify-content: center; height: 28px; margin: 0 auto 18px; }
.cta .voice-bars i { background: rgb(255 255 255 / .75); }

/* ── Footer (FDE) ────────────────────────────────────────────────────── */
.site-footer { margin-top: 72px; border-top: 1px solid var(--border); padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--text3); }
.site-footer a { color: var(--text2); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ── Motion ──────────────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes barAnim { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(calc(-50% - 5px)); } }
.anim-up { animation: fadeUp .35s ease both; }
.reveal-on .reveal { opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; }
.reveal-on .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 540px) {
  .lp-section { padding: 56px 16px 8px; }
  .hero { padding: 44px 16px 24px; }
  .demo-wrap { padding: 8px 16px 0; }
  .demo-card { padding: 16px; }
  .demo-scores { grid-template-columns: 1fr 1fr; }
  .demo-verdict { grid-column: 1 / -1; }
  .demo-q p { font-size: 15px; }
  .hero-actions .btn { width: 100%; }
  .cta { padding: 44px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee { overflow-x: auto; }
  .voice-bars i { transform: scaleY(.6); }
  .reveal-on .reveal { opacity: 1; transform: none; }
}

/* ════════════════════════════════════════════════════════════════════════
   Site-wide additions (forms, modals, content layouts, legal pages)
   ════════════════════════════════════════════════════════════════════════ */
main { overflow-x: clip; }
.link { color: var(--brand-ink); font-weight: 500; text-decoration: none; }
.link:hover { text-decoration: underline; }
.center { text-align: center; }
.center .lp-sub { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }

/* Nav: secondary CTA only where there is room */
@media (max-width: 1000px) { .nav-secondary { display: none; } }

/* ── Forms (FDE) ── */
.form-stack { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.label { font-size: 14px; font-weight: 500; color: var(--text); }
.label .opt { font-weight: 400; color: var(--text3); }
.input-field {
  width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--border-input); border-radius: var(--r-sm);
  background: var(--card); color: var(--text); font: inherit; font-size: 15px;
  box-shadow: 0 1px 2px var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s;
}
.input-field::placeholder { color: var(--text3); opacity: .8; }
.input-field:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgb(var(--brand-rgb) / .2); }
textarea.input-field { resize: vertical; min-height: 110px; }
.otp-input { text-align: center; font-size: 24px; letter-spacing: .5em; font-variant-numeric: tabular-nums; }
.field-hint { font-size: 12.5px; color: var(--text3); }
.form-error { font-size: 13.5px; font-weight: 500; color: var(--reject); }
.form-feedback { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-md); font-size: 14px; font-weight: 500; text-align: center; border: 1px solid transparent; }
.form-feedback.ok { background: color-mix(in srgb, var(--select) 10%, var(--card)); color: var(--select); border-color: color-mix(in srgb, var(--select) 25%, transparent); }
.form-feedback.err { background: color-mix(in srgb, var(--reject) 10%, var(--card)); color: var(--reject); border-color: color-mix(in srgb, var(--reject) 25%, transparent); }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
[hidden] { display: none !important; }

/* ── Modal (FDE) ── */
.modal-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgb(0 0 0 / .5); animation: fadeIn .15s ease both; }
.modal {
  position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px;
  box-shadow: 0 24px 60px -20px var(--shadow-lg); animation: fadeUp .2s ease both;
}
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.modal-header h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.modal-close { width: 36px; height: 36px; flex-shrink: 0; margin: -6px -8px 0 0; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text3); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.modal-close:hover { background: var(--card2); color: var(--text); }
.modal-close:focus-visible { outline: none; box-shadow: 0 0 0 3px rgb(var(--brand-rgb) / .35); }
.modal-sub { font-size: 14px; color: var(--text3); margin-bottom: 20px; }
.modal-links { display: flex; justify-content: space-between; gap: 10px; }
.modal-success { text-align: center; padding: 12px 0 4px; }
.modal-success .icon-tile { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 14px; background: color-mix(in srgb, var(--select) 12%, transparent); color: var(--select); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Content layouts ── */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.split > .prose-block p + p { margin-top: 14px; }
.prose-block p { font-size: 16px; color: var(--text2); line-height: 1.7; }
.prose-block .lead { font-size: 19px; color: var(--text); line-height: 1.5; font-weight: 500; }
.media-card { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border); background: var(--card2); box-shadow: 0 1px 2px var(--shadow-sm), 0 20px 40px -24px var(--shadow-md); }
.media-card img { width: 100%; height: auto; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.feature-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: 0 1px 2px var(--shadow-sm); transition: border-color .2s, transform .2s; }
.feature-card:hover { border-color: var(--border2); }
.feature-card h3 { font-size: 15px; font-weight: 600; margin-top: 4px; }
.feature-card p { font-size: 14px; color: var(--text3); line-height: 1.55; }
a.feature-card { text-decoration: none; color: inherit; }
a.feature-card:hover { transform: translateY(-2px); }
.feature-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--brand-ink); }

/* Level / plan-style cards */
.level-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: 0 1px 2px var(--shadow-sm); scroll-margin-top: 96px; }
.level-card.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 12px 32px -16px rgb(var(--brand-rgb) / .45); }
.level-card .plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.level-card h3 { font-size: 16px; font-weight: 600; }
.level-card .weeks { display: flex; align-items: baseline; gap: 6px; }
.level-card .weeks .display { font-size: 42px; line-height: 1; }
.level-card .weeks span:last-child { font-size: 14px; color: var(--text3); }
.level-card p { font-size: 14px; color: var(--text2); line-height: 1.55; flex: 1; }
.level-card:target { border-color: var(--brand); box-shadow: 0 0 0 3px rgb(var(--brand-rgb) / .25); }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--card2); font-size: 12px; font-weight: 600; color: var(--text2); }

/* Callout row (setup-card look) */
.callout { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: 0 1px 2px var(--shadow-sm), 0 12px 32px -16px var(--shadow-md); }
.callout h2, .callout h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.callout p { font-size: 14px; color: var(--text3); margin-top: 4px; max-width: 560px; }
@media (max-width: 700px) { .callout { flex-direction: column; align-items: stretch; padding: 20px; } }

/* Course detail */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text3); margin-bottom: 18px; }
.breadcrumb a { color: var(--text2); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-ink); }
.breadcrumb [aria-current] { color: var(--text); font-weight: 500; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.fact { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-full); background: var(--card); border: 1px solid var(--border); font-size: 13px; font-weight: 500; color: var(--text2); }
.fact .ic { color: var(--brand); }
.page-head { max-width: var(--page-w); margin: 0 auto; padding: 48px 24px 8px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.page-head h1 .accent { color: var(--brand-ink); font-family: var(--font-display); font-style: italic; font-weight: 400; font-synthesis: none; letter-spacing: 0; font-size: 1.2em; line-height: .95; }
.page-head .hero-lead { margin: 16px 0 0; }
@media (max-width: 860px) { .page-head { grid-template-columns: 1fr; gap: 24px; } }
.with-aside { max-width: var(--page-w); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.with-aside .lp-section { padding-left: 0; padding-right: 0; }
.aside { position: sticky; top: 88px; margin-top: 72px; }
.aside .card { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.perks { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--border); }
.perks li { display: flex; gap: 12px; align-items: flex-start; }
.perks strong { display: block; font-size: 14px; font-weight: 600; }
.perks span { font-size: 13px; color: var(--text3); }
.perks .icon-tile { width: 34px; height: 34px; }
@media (max-width: 900px) { .with-aside { grid-template-columns: 1fr; gap: 0; } .aside { position: static; margin-top: 40px; } }

/* Contact */
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list strong { display: block; font-size: 14px; font-weight: 600; }
.contact-list a, .contact-list span { font-size: 15px; color: var(--text2); text-decoration: none; }
.contact-list a:hover { color: var(--brand-ink); }
.card-pad { padding: 28px; }
@media (max-width: 540px) { .card-pad { padding: 20px; } }

/* Legal + 404 */
.prose { max-width: 760px; margin: 0 auto; padding: 48px 24px 0; }
.prose h1 { font-family: var(--font-display); font-style: italic; font-weight: 400; font-synthesis: none; font-size: clamp(38px, 5vw, 52px); line-height: 1.05; margin-bottom: 8px; }
.prose h2 { font-size: 18px; font-weight: 600; margin: 32px 0 8px; letter-spacing: -0.01em; }
.prose p, .prose li { font-size: 15px; color: var(--text2); line-height: 1.7; }
.prose p + p { margin-top: 10px; }
.prose ul { margin: 8px 0 0 20px; display: flex; flex-direction: column; gap: 6px; }
.prose a { color: var(--brand-ink); }
.prose strong { color: var(--text); }
.draft { margin-top: 16px; padding: 12px 16px; border-radius: var(--r-md); background: color-mix(in srgb, var(--waitlist) 10%, var(--card)); border: 1px solid color-mix(in srgb, var(--waitlist) 30%, transparent); color: var(--text) !important; }
.todo { background: color-mix(in srgb, var(--waitlist) 16%, transparent); color: var(--text); padding: 0 4px; border-radius: 4px; }
.notfound { min-height: calc(100vh - 160px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 24px; }
.notfound h1 { font-family: var(--font-display); font-style: italic; font-weight: 400; font-synthesis: none; font-size: clamp(56px, 10vw, 96px); line-height: 1; color: var(--brand-ink); }
.notfound p { margin-top: 12px; font-size: 16px; color: var(--text3); }

/* ════ UX refinements (review against Fitts, Jakob, proximity, Doherty) ════ */
.prose-block p + p { margin-top: 14px; }
.split-contact { grid-template-columns: 1.15fr .85fr; align-items: start; }
@media (max-width: 860px) { .split-contact { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .with-aside .aside { order: -1; margin-top: 28px; } }
@media (max-width: 760px) {
  .nav-link { padding: 8px 10px; }
  .nav-links { margin-left: -10px; }
}
/* Fitts: 44px touch targets on phones, as FDE Coach does */
@media (max-width: 540px) {
  .btn-md { height: 44px; }
  .nav-link { display: inline-flex; align-items: center; min-height: 44px; }
  .theme-toggle { width: 44px; height: 44px; }
  .seg button { height: 40px; }
  .footer-links { gap: 0 18px; }
  .footer-links a { display: inline-block; padding: 10px 0; }
  .site-footer { padding-top: 12px; }
}
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text3); margin: 4px 0 4px; }

/* Consent note under lead forms */
.form-note { font-size: 12.5px; color: var(--text3); text-align: center; line-height: 1.5; }
.form-note a { color: var(--text2); }

/* Legal pages (final text from main): tabs, summary and contents cards, tables */
.prose .tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; margin-bottom: 24px; background: var(--card2); border-radius: var(--r-md); width: fit-content; max-width: 100%; }
.prose .tabs a { padding: 8px 14px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; color: var(--text2); text-decoration: none; }
.prose .tabs a:hover { color: var(--text); }
.prose .tabs a.on { background: var(--card); color: var(--text); font-weight: 600; box-shadow: 0 1px 3px var(--shadow-md); }
.prose .meta { font-size: 14px; color: var(--text3); margin-top: 4px; }
.prose .lead { font-size: 17px; color: var(--text); margin-top: 16px; }
.prose .card { padding: 18px 22px; margin-top: 16px; }
.prose .card > strong { display: block; font-size: 15px; margin-bottom: 4px; }
.prose .summary { border-left: 3px solid var(--brand); }
.prose .toc { columns: 2; column-gap: 28px; list-style: none; margin: 8px 0 0; display: block; }
.prose .toc li { margin: 0 0 6px; break-inside: avoid; }
.prose .toc a { color: var(--text2); text-decoration: none; font-size: 14px; }
.prose .toc a:hover { color: var(--brand-ink); }
.prose h2 { scroll-margin-top: 88px; }
.prose .wrap { overflow-x: auto; margin-top: 10px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--card); }
.prose .wrap table { min-width: 560px; font-size: 14px; }
.prose .wrap th, .prose .wrap td { padding: 10px 12px; }
.prose .wrap th { background: var(--card2); color: var(--text); font-weight: 600; }
.prose .wrap td { color: var(--text2); }
@media (max-width: 600px) { .prose .toc { columns: 1; } }
