/* =========================================================
   Subjex — the landing page's styles (index.html)
   Emerald is the primary; violet, marigold and sky are accents
   that match the portal. Moved out of index.html so neither file
   passes 800 lines; the CSP allows 'self' styles.
   Type: Bricolage Grotesque (display) · Figtree (text)
         · IBM Plex Mono (small labels and figures)
   ========================================================= */

:root {
  --ink:        #10221e;
  --ink-2:      #4e6660;
  --card:       #ffffff;
  --wash:       #f2f7f4;
  --line:       #dbe7e1;

  --emerald:    #0e7c63;
  --emerald-2:  #17a884;
  --emerald-a:  #e6f4ef;
  --on-emerald: #ffffff;

  --violet:     #6b4fd8;
  --violet-a:   #efeaff;

  --marigold:   #c97d19;
  --marigold-a: #fdf1de;

  --sky:        #2f8fd0;
  --sky-a:      #e6f2fb;

  --measure: 62ch;
  --gutter: clamp(20px, 5vw, 56px);
  --shell: 1180px;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 30px;

  --s-1: 0.8125rem;
  --s0:  1.0625rem;
  --s1:  1.1875rem;
  --s2:  clamp(1.5rem, 2.6vw, 2rem);
  --s3:  clamp(2rem, 4.2vw, 3.1rem);
  --s4:  clamp(2.6rem, 6.4vw, 4.6rem);

  --shadow: 0 18px 40px rgba(16, 34, 30, .07);
  --shadow-lg: 0 30px 70px rgba(16, 34, 30, .12);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink:        #eaf0ed;
    --ink-2:      #93a7a1;
    --card:       #16211e;
    --wash:       #0d1615;
    --line:       #26332f;
    --emerald:    #45c9a5;
    --emerald-2:  #6fdcbd;
    --emerald-a:  #16302a;
    --on-emerald: #06211b;
    --violet:     #a794f7;
    --violet-a:   #261f42;
    --marigold:   #efb45f;
    --marigold-a: #33281a;
    --sky:        #74bdec;
    --sky-a:      #182a36;
    --shadow: 0 18px 40px rgba(0, 0, 0, .34);
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, .46);
  }
}
:root[data-theme="dark"] {
  --ink:        #eaf0ed;
  --ink-2:      #93a7a1;
  --card:       #16211e;
  --wash:       #0d1615;
  --line:       #26332f;
  --emerald:    #45c9a5;
  --emerald-2:  #6fdcbd;
  --emerald-a:  #16302a;
  --on-emerald: #06211b;
  --violet:     #a794f7;
  --violet-a:   #261f42;
  --marigold:   #efb45f;
  --marigold-a: #33281a;
  --sky:        #74bdec;
  --sky-a:      #182a36;
  --shadow: 0 18px 40px rgba(0, 0, 0, .34);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, .46);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: "Figtree", "Segoe UI", system-ui, sans-serif;
  font-size: var(--s0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Bricolage Grotesque", "Figtree", sans-serif;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.08;
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--emerald); outline-offset: 3px; border-radius: 6px; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; background: var(--ink); color: var(--wash); padding: 12px 18px; z-index: 100; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; top: 0; }

/* ---------- reusable type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 500; color: var(--emerald);
  background: var(--emerald-a); border-radius: 999px; padding: 6px 13px;
}
.lede { font-size: var(--s1); line-height: 1.6; color: var(--ink-2); max-width: 52ch; }

/* A marigold highlight behind a word in a heading. */
.mark {
  background: linear-gradient(180deg, transparent 58%, var(--marigold-a) 58%);
  padding-inline: .08em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font: inherit; font-weight: 600; font-size: var(--s-1);
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.btn-primary { background: var(--emerald); color: var(--on-emerald); box-shadow: 0 12px 26px rgba(14,124,99,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(14,124,99,.36); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--emerald); }
.btn .arw { transition: transform .22s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--wash) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 76px; }

.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 800;
  font-size: 1.25rem; letter-spacing: -.03em; text-decoration: none; white-space: nowrap;
}
.wordmark .logo { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--emerald); padding: 6px; }
.wordmark .logo svg { width: 100%; height: 100%; fill: var(--on-emerald); display: block; }

.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { font-size: var(--s-1); font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color .2s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; }
@media (max-width: 940px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }
@media (max-width: 560px) { .nav-cta .btn-ghost { display: none; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 76px) clamp(48px, 7vw, 88px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { font-size: var(--s4); margin: 20px 0 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--s-1); font-weight: 600;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 15px;
}
.chip svg { width: 16px; height: 16px; flex: none; fill: none; stroke-width: 2.4; }
.chip.c-em { color: var(--emerald); } .chip.c-em svg { stroke: var(--emerald); }
.chip.c-vi { color: var(--violet); }  .chip.c-vi svg { stroke: var(--violet); }
.chip.c-ma { color: var(--marigold); } .chip.c-ma svg { stroke: var(--marigold); }

.hero-art svg { width: 100%; height: auto; display: block; }

/* ---------- stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 22px 20px; }
.stat b {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -.03em;
}
.stat span { display: block; margin-top: 8px; font-size: var(--s-1); color: var(--ink-2); font-weight: 500; }
.stat:nth-child(1) b { color: var(--emerald); }
.stat:nth-child(2) b { color: var(--violet); }
.stat:nth-child(3) b { color: var(--marigold); }
.stat:nth-child(4) b { color: var(--sky); }

/* ---------- section scaffolding ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { max-width: 40ch; margin-bottom: clamp(30px, 4vw, 48px); }
.section-head h2 { font-size: var(--s3); margin: 16px 0 12px; }
.section-head p { color: var(--ink-2); max-width: var(--measure); }

/* ---------- subjects ---------- */
.subjects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 860px) { .subjects { grid-template-columns: 1fr; } }

.subject {
  --accent: var(--emerald); --accent-soft: var(--emerald-a);
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 38px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.subject:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.subject.is-combined { --accent: var(--violet); --accent-soft: var(--violet-a); }

.subject-icon { width: 58px; height: 58px; border-radius: 18px; padding: 13px; background: var(--accent); margin-bottom: 20px; }
.subject-icon svg { width: 100%; height: 100%; fill: var(--on-emerald); display: block; }
.subject h3 { font-size: var(--s2); margin-bottom: 10px; }
.subject .code {
  display: inline-block; font-family: "IBM Plex Mono", monospace;
  font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  color: var(--accent); background: var(--accent-soft);
  border-radius: 999px; padding: 5px 12px; margin-bottom: 16px;
}
.subject > p { color: var(--ink-2); font-size: var(--s-1); margin-bottom: 20px; }
.topics { display: grid; gap: 1px; background: var(--line); border-radius: var(--r-sm); overflow: hidden; }
.topics li { background: var(--card); padding: 11px 15px; font-size: var(--s-1); display: flex; gap: 11px; align-items: baseline; }
.topics li i { color: var(--accent); font-style: normal; font-family: "IBM Plex Mono", monospace; font-size: .625rem; }
.subject .papers { margin-top: 18px; font-size: var(--s-1); color: var(--ink-2); }
.subject .papers b { color: var(--ink); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 940px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 22px; }
.step .n {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px;
  background: var(--emerald-a); color: var(--emerald);
  font-family: "IBM Plex Mono", monospace; font-size: .75rem; font-weight: 500; margin-bottom: 16px;
}
.step h3 { font-size: var(--s1); margin-bottom: 8px; }
.step p { font-size: var(--s-1); color: var(--ink-2); }

/* ---------- included ---------- */
.included { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 940px) { .included { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .included { grid-template-columns: 1fr; } }
.feature { display: flex; gap: 16px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); }
.feature .fi { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; }
.feature .fi svg { width: 20px; height: 20px; fill: none; stroke-width: 2; }
.feature h3 { font-size: var(--s0); margin-bottom: 5px; }
.feature p { font-size: var(--s-1); color: var(--ink-2); }
.fi-em { background: var(--emerald-a); } .fi-em svg { stroke: var(--emerald); }
.fi-vi { background: var(--violet-a); }  .fi-vi svg { stroke: var(--violet); }
.fi-ma { background: var(--marigold-a); } .fi-ma svg { stroke: var(--marigold); }
.fi-sk { background: var(--sky-a); }     .fi-sk svg { stroke: var(--sky); }

/* ---------- parents band ---------- */
.parents {
  background: var(--marigold-a);
  border: 1px solid color-mix(in srgb, var(--marigold) 26%, transparent);
  border-radius: var(--r-lg);
  padding: clamp(30px, 4.5vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
@media (max-width: 860px) { .parents { grid-template-columns: 1fr; } }
.parents h2 { font-size: var(--s3); margin: 14px 0 14px; }
.parents .eyebrow { color: var(--marigold); background: color-mix(in srgb, var(--marigold) 16%, transparent); }
.parents .lede { color: var(--ink); }
.parent-list { display: grid; gap: 12px; margin-top: 22px; }
.parent-list li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--s-1); }
.parent-list svg { width: 20px; height: 20px; flex: none; stroke: var(--marigold); fill: none; stroke-width: 2.4; margin-top: 2px; }

/* A miniature of the real parent report, so the promise is visible. */
.mini-report { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; box-shadow: var(--shadow); }
.mr-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mr-top b { font-family: "Bricolage Grotesque", sans-serif; font-size: var(--s0); }
.mr-top span { font-family: "IBM Plex Mono", monospace; font-size: .625rem; color: var(--ink-2); letter-spacing: .08em; }
.mr-figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.mr-fig { text-align: center; }
.mr-fig b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.mr-fig span { font-size: .625rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .09em; font-weight: 600; }
.mr-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: var(--s-1); }
.mr-row b { font-variant-numeric: tabular-nums; }
.mr-row .g { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 8px; background: var(--emerald-a); color: var(--emerald); font-weight: 700; font-size: .8125rem; }
.mr-row .g.v { background: var(--violet-a); color: var(--violet); }

/* ---------- results ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 940px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.quote .grade {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.4rem;
  background: var(--emerald-a); color: var(--emerald);
}
.quote:nth-child(2) .grade { background: var(--violet-a); color: var(--violet); }
.quote:nth-child(3) .grade { background: var(--marigold-a); color: var(--marigold); }
.quote blockquote { margin: 0; font-size: var(--s-1); line-height: 1.6; text-wrap: pretty; }
.quote figcaption { margin-top: auto; font-size: var(--s-1); color: var(--ink-2); font-weight: 600; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 780px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.faq summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: var(--s0);
  display: flex; justify-content: space-between; gap: 16px; align-items: center; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: "IBM Plex Mono", monospace; color: var(--emerald); font-size: 1.3rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { padding: 0 22px 20px; color: var(--ink-2); font-size: var(--s-1); max-width: var(--measure); }

/* ---------- closing cta ---------- */
.cta {
  background: var(--ink); color: var(--wash);
  border-radius: var(--r-lg); padding: clamp(40px, 6vw, 76px);
  text-align: center; position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14;
  background-image: radial-gradient(var(--emerald-2) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: var(--s3); margin-bottom: 14px; }
.cta p { color: color-mix(in srgb, var(--wash) 72%, transparent); max-width: 46ch; margin: 0 auto; }
.cta .hero-actions { justify-content: center; margin-top: 28px; }
.cta .btn-ghost { background: transparent; color: var(--wash); border-color: color-mix(in srgb, var(--wash) 34%, transparent); }
.cta .btn-ghost:hover { border-color: var(--wash); }

/* ---------- footer ---------- */
.foot { padding-block: clamp(48px, 6vw, 76px) 36px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot h4 { font-family: "IBM Plex Mono", monospace; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; margin-bottom: 14px; }
.foot ul { display: grid; gap: 10px; }
.foot a { font-size: var(--s-1); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.foot a:hover { border-bottom-color: var(--emerald); }
.foot .note { color: var(--ink-2); font-size: var(--s-1); max-width: 34ch; margin-top: 14px; }
.colophon {
  margin-top: clamp(36px, 5vw, 60px); padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  font-family: "IBM Plex Mono", monospace; font-size: .6875rem; color: var(--ink-2);
}

/* ---------- motion ----------
   The hero fades up on load. Everything below moves on transform only —
   never opacity — so the whole page is readable at rest, before any
   scrolling and in any screenshot. */
.rise { opacity: 0; transform: translateY(16px); animation: rise .75s var(--ease) forwards; }
.rise:nth-child(2) { animation-delay: .07s; }
.rise:nth-child(3) { animation-delay: .14s; }
.rise:nth-child(4) { animation-delay: .21s; }
.rise:nth-child(5) { animation-delay: .28s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.slide { transform: translateY(18px); transition: transform .7s var(--ease); }
.slide.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; animation: none; }
  .slide, .slide.is-in { transform: none; transition: none; }
  .btn:hover, .btn:hover .arw, .subject:hover { transform: none; }
}

/* ---------- the three doors ----------
   Join us / Student / Parent. The platform has exactly three kinds of
   visitor, so the band has exactly three cards and each carries its own
   accent all the way through the page. */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }

.door {
  --accent: var(--emerald); --accent-soft: var(--emerald-a);
  display: flex; flex-direction: column; gap: 12px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px);
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.door:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.door.d-student { --accent: var(--violet); --accent-soft: var(--violet-a); }
.door.d-parent  { --accent: var(--marigold); --accent-soft: var(--marigold-a); }

/* The lead door is filled, the other two are outlined: joining is the
   page's job, signing in is a convenience. */
.door.d-join { background: var(--accent); border-color: var(--accent); color: var(--on-emerald); }
.door.d-join:hover { box-shadow: 0 26px 56px rgba(14,124,99,.34); }
.door.d-join .di { background: color-mix(in srgb, var(--on-emerald) 20%, transparent); }
.door.d-join .di svg { stroke: var(--on-emerald); }
.door.d-join p, .door.d-join .go { color: color-mix(in srgb, var(--on-emerald) 78%, transparent); }

.door .di { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); }
.door .di svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; }
.door h3 { font-size: var(--s2); }
.door p { font-size: var(--s-1); color: var(--ink-2); }
.door .go {
  margin-top: auto; padding-top: 6px;
  font-family: "IBM Plex Mono", monospace; font-size: .6875rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 7px;
}
.door:hover .go .arw { transform: translateX(4px); }
.door .go .arw { transition: transform .22s var(--ease); }

/* ---------- the way in (hero) ---------- */
.catch {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px; box-shadow: var(--shadow);
  margin-top: 26px; max-width: 480px;
}
.catch-row { display: flex; gap: 10px; }
@media (max-width: 520px) { .catch-row { flex-direction: column; } }
.catch-row .btn { flex: none; }
.catch .hint { margin-top: 10px; font-size: .75rem; color: var(--ink-2); }


/* ---------- join section ---------- */
.join {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4.5vw, 60px); align-items: start;
}
@media (max-width: 900px) { .join { grid-template-columns: 1fr; } }
.join-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 38px); box-shadow: var(--shadow);
}
.account-choices { display: grid; gap: 12px; }
.account-choices .btn { width: 100%; justify-content: center; }
.hint-link { color: var(--emerald); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- who it's for ---------- */
.fits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .fits { grid-template-columns: 1fr; } }
.fit {
  --accent: var(--emerald);
  background: var(--card); border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-sm) var(--r-md) var(--r-md) var(--r-sm); padding: 26px 24px;
}
.fit.f-vi { --accent: var(--violet); }
.fit.f-sk { --accent: var(--sky); }
.fit .who {
  font-family: "IBM Plex Mono", monospace; font-size: .6875rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 500;
}
.fit h3 { font-size: var(--s1); margin: 10px 0 8px; }
.fit p { font-size: var(--s-1); color: var(--ink-2); }

/* ---------- hero product drawing ----------
   A portal reduced to its parts: the sidebar, a register, a grade column.
   It is the product, which is what the hero is actually selling. */
.art { position: relative; }
.art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 26px 50px rgba(16,34,30,.13)); }
