/* ---------- Tokens ---------- */
:root {
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Space Grotesk", var(--font-body);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

:root[data-theme="dark"] {
  --bg: #060a13;
  --bg-alt: #0a1020;
  --surface: #0f172a;
  --surface-2: #131d35;
  --border: rgba(148, 163, 184, .14);
  --border-strong: rgba(148, 163, 184, .28);
  --text: #e8eef8;
  --muted: #94a3b8;
  --faint: #64748b;
  --cyan: #4fd8f2;
  --cyan-ink: #04121a;
  --amber: #f6b445;
  --violet: #a78bfa;
  --cell-low: #0f1b33;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .65);
  --glow-a: rgba(79, 216, 242, .16);
  --glow-b: rgba(246, 180, 69, .10);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f6f8fc;
  --bg-alt: #eef2f9;
  --surface: #ffffff;
  --surface-2: #f3f6fb;
  --border: rgba(15, 23, 42, .10);
  --border-strong: rgba(15, 23, 42, .20);
  --text: #0b1220;
  --muted: #475569;
  --faint: #64748b;
  --cyan: #0b8fb3;
  --cyan-ink: #ffffff;
  --amber: #b86e00;
  --violet: #6d4fd8;
  --cell-low: #e6edf7;
  --shadow: 0 20px 50px -24px rgba(15, 23, 42, .25);
  --glow-a: rgba(11, 143, 179, .12);
  --glow-b: rgba(184, 110, 0, .08);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -.02em; line-height: 1.12; margin: 0; }
p { margin: 0 0 1em; }
code { font-family: var(--font-mono); font-size: .88em; padding: .1em .35em; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .82em 1.35em; border-radius: 999px;
  font: 600 15px/1 var(--font-body); white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--primary { background: var(--cyan); color: var(--cyan-ink); box-shadow: 0 8px 28px -10px var(--cyan); }
.btn--primary:hover { box-shadow: 0 12px 34px -10px var(--cyan); }
.btn--ghost { color: var(--text); border-color: var(--border-strong); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.btn--ghost:hover { border-color: var(--cyan); }
.btn--sm { padding: .6em 1.05em; font-size: 14px; }

.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--border); background: transparent; color: var(--text); cursor: pointer;
}
.icon-btn:hover { border-color: var(--border-strong); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
:root[data-theme="dark"] .icon-moon, :root[data-theme="light"] .icon-sun { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 700 17px var(--font-head); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand__mark svg { width: 26px; height: 26px; fill: var(--cyan); }
.brand__mark .dim { fill: color-mix(in srgb, var(--cyan) 30%, transparent); }
.brand__mark .hot { fill: var(--amber); }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav__links a:hover { color: var(--text); text-decoration: none; }
.nav__actions { display: flex; align-items: center; gap: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 112px); overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; mask-image: radial-gradient(ellipse 80% 75% at 70% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 75% at 70% 40%, #000 30%, transparent 75%); }
.hero__glow { position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%; background: radial-gradient(closest-side, var(--glow-a), transparent), radial-gradient(closest-side at 30% 70%, var(--glow-b), transparent); pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--muted); padding: 6px 14px 6px 10px; border: 1px solid var(--border); border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); margin-bottom: 26px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 22%, transparent); }
.hero h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 700; margin-bottom: 24px; }
.grad { background: linear-gradient(100deg, var(--cyan) 10%, var(--amber) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 40ch; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__ctas--center { justify-content: center; }
.hero__facts { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 14px 36px; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font: 600 17px var(--font-head); }
.hero__facts span { font-size: 14px; color: var(--faint); }

.hero__card {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow); backdrop-filter: blur(10px);
}
.profile { display: flex; align-items: center; gap: 16px; }
.profile__photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-strong); }
.profile__name { font: 600 18px var(--font-head); margin: 0; }
.profile__role { font-size: 14px; color: var(--muted); margin: 2px 0 0; }
.mini-matrix { margin: 22px 0; padding: 16px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--border); }
.mini-matrix__label { font: 500 12.5px var(--font-mono); color: var(--faint); margin-bottom: 12px; }
.mini-matrix__grid { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 6px; align-items: center; }
.mm-head { font: 500 12px var(--font-mono); color: var(--muted); text-align: center; }
.mm-row { font: 500 12px var(--font-mono); color: var(--muted); text-align: right; padding-right: 6px; }
.mm-cell { aspect-ratio: 1.6; border-radius: 8px; display: grid; place-items: center; font: 600 13px var(--font-mono); transition: background .6s var(--ease), color .6s; }
.profile__links { display: flex; gap: 10px; }
.profile__links a { flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; border: 1px solid var(--border); color: var(--text); font-weight: 500; font-size: 14px; }
.profile__links a:hover { border-color: var(--cyan); text-decoration: none; }
.profile__links svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section__head { max-width: 760px; margin-bottom: 48px; }
.kicker { font: 600 13px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.section h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
.section__lead { color: var(--muted); font-size: 18px; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.pillar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform .3s var(--ease), border-color .3s; }
.pillar:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.pillar h3 { font-size: 20px; margin: 18px 0 10px; }
.pillar p { color: var(--muted); margin: 0; font-size: 15.5px; }
.pillar__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; }
.pillar__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillar__icon--cyan { color: var(--cyan); background: color-mix(in srgb, var(--cyan) 14%, transparent); }
.pillar__icon--amber { color: var(--amber); background: color-mix(in srgb, var(--amber) 14%, transparent); }
.pillar__icon--violet { color: var(--violet); background: color-mix(in srgb, var(--violet) 14%, transparent); }

/* Syllabus */
.syllabus { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 32px); }
.syllabus__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--muted); font: 500 14px var(--font-body); cursor: pointer; transition: all .2s; }
.tab:hover { color: var(--text); border-color: var(--border-strong); }
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.tab small { opacity: .65; margin-left: 4px; font-family: var(--font-mono); }
.syllabus__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.lesson { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); animation: fadeUp .35s var(--ease) both; }
.lesson__num { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font: 600 14px var(--font-mono); color: var(--cyan); background: color-mix(in srgb, var(--cyan) 12%, transparent); }
.lesson__title { font-weight: 500; font-size: 15.5px; line-height: 1.35; }
.lesson__tag { margin-left: auto; flex: none; font: 500 11.5px var(--font-mono); color: var(--amber); border: 1px solid color-mix(in srgb, var(--amber) 40%, transparent); padding: 3px 8px; border-radius: 999px; }
.lesson__tag:hover { text-decoration: none; background: color-mix(in srgb, var(--amber) 14%, transparent); }

.course-cta { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: linear-gradient(110deg, color-mix(in srgb, var(--cyan) 12%, var(--surface)), color-mix(in srgb, var(--amber) 10%, var(--surface))); }
.course-cta__title { font: 600 20px var(--font-head); margin: 0 0 4px; }
.course-cta__sub { color: var(--muted); margin: 0; }

/* Demo */
.demo { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow); }
.demo__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.segmented { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.segmented button { border: 0; background: transparent; color: var(--muted); padding: 8px 14px; border-radius: 999px; font: 500 13.5px var(--font-mono); cursor: pointer; }
.segmented button[aria-checked="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.demo__hint { margin: 0; color: var(--faint); font-size: 14px; }
.demo__words { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.word { font: 600 clamp(20px, 3vw, 28px) var(--font-head); padding: 10px 26px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); color: var(--muted); cursor: pointer; transition: all .2s var(--ease); }
.word:hover { color: var(--text); border-color: var(--border-strong); }
.word[aria-checked="true"] { color: var(--cyan-ink); background: var(--cyan); border-color: var(--cyan); box-shadow: 0 10px 30px -12px var(--cyan); }
.demo__grid { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; gap: 16px; }
.panel { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; min-width: 0; }
.panel__title { font-weight: 600; margin-bottom: 16px; }
.panel__note { font-size: 13px; color: var(--faint); margin: 14px 0 0; }
.hl { color: var(--cyan); }
.bar { display: grid; grid-template-columns: 52px 1fr 52px; gap: 10px; align-items: center; margin-bottom: 12px; font-size: 14px; }
.bar__label { font-family: var(--font-mono); color: var(--muted); }
.bar__track { height: 12px; border-radius: 999px; background: var(--cell-low); overflow: hidden; }
.bar__fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--amber)); transition: width .6s var(--ease); }
.bar__val { font: 600 14px var(--font-mono); text-align: right; }
.matrix { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 5px; align-items: center; }
.matrix .mm-cell { aspect-ratio: auto; height: 44px; cursor: pointer; }
.matrix .mm-cell.is-row { outline: 2px solid var(--cyan); outline-offset: 1px; }
.vecs { display: grid; gap: 14px; }
.vec__label { font-size: 13px; color: var(--faint); margin-bottom: 6px; }
.vec__cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.vec__cells--3 { grid-template-columns: repeat(3, 1fr); }
.vcell { padding: 8px 4px; border-radius: 8px; text-align: center; font: 600 13.5px var(--font-mono); background: var(--surface-2); border: 1px solid var(--border); transition: background .5s; }

/* Repos */
.repos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.repo { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; color: inherit; }
.repo:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--cyan) 50%, var(--border)); box-shadow: var(--shadow); text-decoration: none; }
.repo__top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.repo__top svg { width: 20px; height: 20px; fill: var(--muted); flex: none; }
.repo__name { font: 600 18px var(--font-head); color: var(--text); word-break: break-word; }
.repo__session { margin-left: auto; flex: none; font: 500 12px var(--font-mono); color: var(--amber); }
.repo__desc { color: var(--muted); font-size: 15.5px; flex: 1; }
.repo__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 13.5px; color: var(--faint); margin-top: 6px; }
.repo__meta span { display: inline-flex; align-items: center; gap: 6px; }
.repo__meta svg { width: 15px; height: 15px; fill: currentColor; }
.lang-dot { width: 10px; height: 10px; border-radius: 50%; background: #3572a5; }
.lang-dot--nb { background: #da5b0b; }
.repo__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.repo__tags span { font: 500 12px var(--font-mono); padding: 3px 9px; border-radius: 999px; color: var(--cyan); background: color-mix(in srgb, var(--cyan) 10%, transparent); }

/* About */
.about { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(32px, 6vw, 80px); }
.about__text p { color: var(--muted); font-size: 17px; }
.about__text h2 { margin-bottom: 22px; }
.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); }
.person { display: flex; gap: 16px; padding: 22px; margin-bottom: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.person h3 { font-size: 17.5px; }
.person__role { color: var(--cyan); font-size: 14px; font-weight: 500; margin: 2px 0 8px; }
.person p:not(.person__role) { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.person__links { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; font-weight: 500; }

/* Final CTA + footer */
.final { position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 100%, var(--glow-a), transparent 70%); pointer-events: none; }
.final__inner { position: relative; text-align: center; max-width: 760px; }
.final h2 { font-size: clamp(32px, 5vw, 56px); }
.final p { color: var(--muted); font-size: 18px; margin-bottom: 32px; }
.footer { border-top: 1px solid var(--border); padding: 28px 0; font-size: 14px; color: var(--faint); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: 20px; }
.footer a { color: var(--muted); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner, .about { grid-template-columns: 1fr; }
  .hero__card { max-width: 520px; }
  .pillars { grid-template-columns: 1fr; }
  .demo__grid { grid-template-columns: 1fr 1fr; }
  .demo__grid .panel:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .syllabus__list, .repos, .demo__grid { grid-template-columns: 1fr; }
  .course-cta { flex-direction: column; align-items: flex-start; padding: 24px; }
  .lead { max-width: none; }
  .word { padding: 8px 18px; }
}
@media (max-width: 420px) {
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .lesson__tag { display: none; }
}

/* ---------- Fixes ---------- */
[hidden] { display: none !important; }
.hero__inner > *, .demo__grid > *, .about > * { min-width: 0; }
.bar__track, .bar__fill { display: block; }
.about__text .kicker { color: var(--cyan); }
.hero h1 { font-size: clamp(40px, 5.6vw, 70px); }
.hero h1 .grad { white-space: nowrap; }
.eyebrow { flex-wrap: wrap; max-width: 100%; }
.hero__canvas {
  opacity: .5;
  mask-image: radial-gradient(ellipse 55% 80% at 88% 45%, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 55% 80% at 88% 45%, #000 25%, transparent 72%);
}
@media (max-width: 760px) {
  .hero__canvas { opacity: .22; }
  .eyebrow { font-size: 13px; }
  .hero__facts { gap: 14px 24px; }
  .btn { white-space: normal; }
  .profile__role { font-size: 13px; }
}
.eyebrow { flex-wrap: nowrap; align-items: flex-start; }
.eyebrow .dot { flex: none; margin-top: 6px; }
@media (max-width: 760px) {
  .segmented { display: flex; width: 100%; }
  .segmented button { flex: 1; white-space: nowrap; font-size: 12px; padding: 8px 6px; }
}

h1, h2, h3 { text-wrap: balance; }
.lead, .section__lead, .about__text p { text-wrap: pretty; }

/* ---------- Multi-course + coupon ---------- */
.hero__coupon { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.hero__coupon a { font-weight: 600; }
.course-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.course-card { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .3s var(--ease), border-color .3s; }
.course-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.course-card__img { aspect-ratio: 1200 / 630; object-fit: cover; width: 100%; border-bottom: 1px solid var(--border); }
.course-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.course-card__body h3 { font-size: 20px; }
.course-card__tagline { color: var(--muted); margin: 0; font-size: 15px; flex: 1; }
.course-card__status { margin: 0; font: 600 12px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); }
.course-card__status--soon { color: var(--amber); }
.course-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* Coupon page */
.coupon { min-height: calc(100vh - 68px - 86px); padding: clamp(48px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.coupon::before { content: ""; position: absolute; inset: -30% -20% auto auto; width: 70%; height: 100%; background: radial-gradient(closest-side, var(--glow-a), transparent); pointer-events: none; }
.coupon__inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.coupon h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 18px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.steps li::before { content: counter(step); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 14px var(--font-mono); color: var(--cyan); background: color-mix(in srgb, var(--cyan) 14%, transparent); }
.steps strong { color: var(--text); }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 14px; }
.field select, .field input, .field textarea {
  width: 100%; font: 400 15px/1.55 var(--font-body); color: var(--text);
  background: var(--bg-alt); border: 1px solid var(--border-strong); border-radius: 12px; padding: 12px 14px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select:focus, .field input:focus, .field textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: transparent; }
.field__hint { font-size: 13px; color: var(--faint); }
.form-card__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.toast { font-size: 14px; color: var(--cyan); font-weight: 500; }
.coupon__alt { margin-top: 18px; font-size: 14px; color: var(--faint); }
@media (max-width: 860px) { .coupon__inner { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .course-grid { grid-template-columns: 1fr; } .form-card__actions .btn { width: 100%; justify-content: center; } }

/* ---------- LatentQuest brand site ---------- */
.hero__card-kicker { margin: 0 0 6px; font: 600 12px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.hero__card-title { margin: 0; font: 600 19px/1.3 var(--font-head); }
.hero__card .mini-matrix { margin: 18px 0; }
.taught-by { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.taught-by p { margin: 0; font-size: 14px; color: var(--muted); }
.taught-by strong { color: var(--text); font-weight: 600; }
.taught-by__faces { display: flex; flex: none; }
.taught-by__faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--surface); }
.taught-by__faces img + img { margin-left: -10px; }
.instructors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.instructor { display: flex; gap: 22px; align-items: flex-start; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.instructor__photo { width: 120px; height: 120px; flex: none; border-radius: 20px; object-fit: cover; border: 1px solid var(--border-strong); }
.instructor h3 { font-size: 21px; }
.instructor__bio { color: var(--muted); font-size: 15.5px; margin: 0 0 14px; }
@media (max-width: 860px) {
  .instructors { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .instructor { flex-direction: column; }
  .instructor__photo { width: 96px; height: 96px; }
}
