/* ═════════════════════════════════════════════════════════════════════════════
   placedelite.com — one stylesheet, no build step.

   THE THEME IS THE APP'S THEME. Every token below is taken from the platform's
   own MUI theme (frontend/src/contexts/ThemeContext.jsx) so the marketing site
   and the logged-in product read as one system:

     indigo #6366f1 · purple #a855f7 · light ground #f6f8fb · surface #ffffff
     dark ground #0e1218 · surface #161b24 · 12px radius
     Plus Jakarta Sans for headings, Inter for body

   ONE DELIBERATE DEVIATION. The app uses #6366f1 for buttons with white text,
   which measures 4.47:1 — just under the 4.5 WCAG AA needs for small text, and
   4.20:1 as link text on the light ground. So buttons and links here use
   #4f46e5 (indigo-600, 6.29:1) and #6366f1 is kept for tints, gradients and the
   logo. Same brand, legible. Gated by tests/a11y-test.js.

   Fonts are self-hosted from /fonts (see public/fonts/LICENSE.md) rather than
   fetched from Google, so the CSP stays fontSrc 'self', there is no
   render-blocking third-party round trip, and no visitor IP goes to Google just
   to load a typeface. Two variable files, 76 KB, covering every weight.
   ═════════════════════════════════════════════════════════════════════════════ */

/* ── fonts ────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Inter var";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta var";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/fonts/jakarta-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* ── brand, from the app's theme ── */
  --brand: #6366f1;        /* the app's primary. Tints, gradients, the logo — NOT text */
  --brand-2: #a855f7;      /* the app's secondary */
  --seal: #4f46e5;         /* buttons and links: the accessible member of the family */
  --seal-strong: #4338ca;  /* hover, and text on a tint */
  --seal-soft: #eef0fe;

  --paper: #f6f8fb;        /* app light bg */
  --paper-2: #eef1f7;      /* alternate band */
  --ink: #0f172a;          /* app textPrimary */
  --ink-2: #171e35;        /* deepest surface, for the dark bands */

  --stamp: #0d9488;        /* cleared / pass */
  --stamp-ink: #0f6b5e;    /* the teal for WORDS */
  --marigold: #f59e0b;     /* a BAR colour — 2.02:1 as text, never use it for words */
  --marigold-ink: #8a5a06; /* the amber for WORDS */
  --flag: #b3253f;         /* missed / at risk */

  /* ── per-course accents. Identity marks only, never load-bearing. ── */
  --c-azure: #4f46e5;
  --c-amber: #a2540b;
  --c-violet: #7c3aed;
  --c-mint: #0f766e;
  --cover-ink: #ffffff;    /* text on an accent block; flips in dark mode */
  /* The gradient-filled phrase in a heading. Its own tokens because the light-theme stops measure
     2.99:1 on the dark ground — under the 3.0 that large text needs — so they must flip. */
  --hl-a: #4f46e5;
  --hl-b: #9333ea;

  /* ── resolved surfaces & type ── */
  --bg: var(--paper);
  --bg-2: var(--paper-2);
  --card: #ffffff;
  --fg: var(--ink);
  --fg-2: #454e68;
  --fg-3: #5b647d;
  --rule: #e2e6ef;
  --rule-2: #cdd4e1;
  --hover: #f1f3f9;
  --seal-fg: var(--seal);
  --seal-bg: var(--seal-soft);

  /* on a dark band */
  --on-ink: #eef0f8;
  --on-ink-2: #a9b1cd;
  --on-ink-rule: #2b3350;

  /* the app's own shadow ramp */
  --shadow-1: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-2: 0 4px 20px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-3: 0 14px 44px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.05);

  /* ── code tokens ── */
  --t-kw: #8b21a3;
  --t-str: #0a6b4a;
  --t-com: #5f688a;
  --t-num: #a8480a;
  --t-fn: #2447bd;
  --t-ty: #1a6a88;
  --code-bg: #f7f8fc;

  --head: "Jakarta var", "Plus Jakarta Sans", "Inter var", -apple-system,
    BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, sans-serif;
  --sans: "Inter var", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
    system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", Charter, Palatino, Georgia, serif; /* pull-quotes only */
  --mono: ui-monospace, "SF Mono", SFMono-Regular, "Cascadia Mono", "Roboto Mono", Menlo,
    Consolas, monospace;

  --measure: 1180px;
  --prose: 70ch;
  --pad: clamp(18px, 4vw, 34px);
  --r-sm: 8px;
  --r: 12px;               /* the app's shape.borderRadius */
  --r-lg: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1218;         /* app dark bg */
    --bg-2: #141a23;
    --card: #161b24;       /* app surface */
    --fg: #e8eaf0;         /* app dark textPrimary */
    --fg-2: #b8bfd0;
    --fg-3: #8f97ab;
    --rule: #242b37;
    --rule-2: #333c4c;
    --hover: #1c222d;      /* app surface2 */
    --seal-fg: #a5b0ff;
    --seal-bg: #1d2144;
    /* NOT #6366f1 here: white on it is 4.47:1, just under AA, and every solid button and the skip
       link use it as a background. #4f46e5 gives 6.29:1 and still reads as the brand indigo. */
    --seal: #4f46e5;
    --seal-strong: #5d55ea;
    --hl-a: #a5b4fc;
    --hl-b: #d8b4fe;
    --brand: #818cf8;
    --brand-2: #c084fc;
    --marigold: #fbbf24;
    --marigold-ink: #fbbf24;
    --stamp: #2dd4bf;
    --stamp-ink: #2dd4bf;
    --flag: #f87f8f;
    --ink: #080b12;
    --ink-2: #10151f;
    --on-ink: #e8eaf0;
    --on-ink-2: #9aa3bc;
    --on-ink-rule: #1e2534;
    --cover-ink: #0b0f18;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-2: 0 6px 24px rgba(0, 0, 0, 0.45);
    --shadow-3: 0 18px 50px rgba(0, 0, 0, 0.55);
    --t-kw: #e196ee;
    --t-str: #6bd6a8;
    --t-com: #7b85a6;
    --t-num: #f0a86a;
    --t-fn: #93b2ff;
    --t-ty: #6fd0e8;
    --code-bg: #11161f;
    --c-azure: #8fa4ff;
    --c-amber: #f0b366;
    --c-violet: #bd9bff;
    --c-mint: #4fc9a0;
  }
}

/* ── reset ────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--head);
  letter-spacing: -0.025em;
  line-height: 1.16;
}
h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.032em;
}
h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.024em;
}
h3 {
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.32;
}
h4 {
  font-size: 0.98rem;
  font-weight: 700;
}
/* Semantically an h2 — so a screen reader gets an unbroken heading order — but read at card scale. */
.card-title {
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.32;
}
p {
  margin: 0;
}
a {
  color: var(--seal-fg);
  text-underline-offset: 2px;
}
img,
svg {
  max-width: 100%;
}
img {
  height: auto;
  display: block;
}
::selection {
  background: color-mix(in srgb, var(--brand) 26%, transparent);
}
:focus-visible {
  outline: 2px solid var(--seal-fg);
  outline-offset: 3px;
  border-radius: 4px;
}
code,
.num,
.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ── layout primitives ────────────────────────────────────────────────────── */
.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding-inline: var(--pad);
}
.wrap-narrow {
  max-width: 840px;
}
.stack {
  display: flex;
  flex-direction: column;
}
.band {
  padding-block: clamp(44px, 6vw, 84px);
  position: relative;
}
.band-tight {
  padding-block: clamp(28px, 4vw, 50px);
}
.band-t {
  border-top: 1px solid var(--rule);
}
.band-alt {
  background: var(--bg-2);
}
/* A dark band, for rhythm and to give the one saffron-free inverse moment a ground. */
.band-ink {
  background: var(--ink-2);
  color: var(--on-ink);
  border-top: 1px solid var(--on-ink-rule);
  border-bottom: 1px solid var(--on-ink-rule);
}
.center {
  text-align: center;
}
.g-xs { gap: 7px; }
.g-sm { gap: 12px; }
.g-md { gap: 18px; }
.g-lg { gap: 26px; }
.g-xl { gap: clamp(26px, 4vw, 44px); }

.lede {
  font-size: clamp(1.02rem, 1.4vw, 1.17rem);
  color: var(--fg-2);
  max-width: 62ch;
  line-height: 1.6;
}
.small {
  font-size: 0.9rem;
  color: var(--fg-3);
}
.tiny {
  font-size: 0.79rem;
  color: var(--fg-3);
}
.muted {
  color: var(--fg-2);
}
.crumb {
  color: var(--fg-3);
}
.measure {
  max-width: 58ch;
}
.nowrap {
  white-space: nowrap;
}

/* The eyebrow. Deliberately quieter than before: a small indigo label, not a tracked-out
   monospace rule on every band. The old treatment is what made the page read as a stack of
   subheadings. */
.eyebrow {
  font-family: var(--head);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--seal-fg);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.55em;
}
.eyebrow.bare::after,
.eyebrow::after {
  content: none;
}
.eyebrow b {
  color: var(--stamp-ink);
  font-weight: 700;
}

/* A labelled divider, used only where a section genuinely steps up. */
.cut {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fg-3);
}
.cut::before,
.cut::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--rule);
}

/* ── skip link ────────────────────────────────────────────────────────────── */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--seal);
  color: #fff;
  padding: 11px 18px;
  border-radius: 0 var(--r) 0 0;
  font-weight: 600;
}
.skip:focus {
  left: 0;
}

/* ── header ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--card) 90%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-in {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 11px var(--pad);
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.14rem;
  letter-spacing: -0.032em;
  flex: none;
}
.logo svg {
  width: 32px;
  height: 32px;
  display: block;
  flex: none;
  border-radius: 9px;
}
/* Nav links: 0.97rem at weight 500, and 40px tall. The previous 0.9rem/400 is what made the
   navigation hard to read. */
.nav-links {
  display: flex;
  gap: 2px;
  margin-left: 6px;
  font-size: 0.97rem;
}
.nav-links a {
  color: var(--fg-2);
  text-decoration: none;
  font-weight: 500;
  padding: 9px 13px;
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--fg);
  background: var(--hover);
}
.nav-links a[aria-current="page"] {
  color: var(--seal-fg);
  background: var(--seal-bg);
  font-weight: 600;
}
.nav-cta {
  margin-left: auto;
  display: flex;
  gap: 9px;
  flex: none;
  align-items: center;
}
@media (max-width: 1020px) {
  .nav-links {
    display: none;
  }
  .nav-cta .btn-ghost {
    display: none;
  }
}
/* A scrolling strip rather than a hamburger: six destinations, no JavaScript needed, and every
   link stays one tap away instead of two. */
.nav-strip {
  display: none;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-2);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nav-strip::-webkit-scrollbar {
  display: none;
}
.nav-strip ul {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 9px var(--pad);
  list-style: none;
}
.nav-strip a {
  display: block;
  white-space: nowrap;
  font-family: var(--head);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--fg-2);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--rule-2);
  background: var(--card);
}
.nav-strip a[aria-current="page"] {
  color: #fff;
  background: var(--seal);
  border-color: var(--seal);
}
@media (max-width: 1020px) {
  .nav-strip {
    display: block;
  }
}

/* ── buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--head);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 11px 20px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease,
    box-shadow 0.18s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.btn-solid {
  background: var(--seal);
  color: #fff;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--seal) 28%, transparent);
}
.btn-solid:hover {
  background: var(--seal-strong);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--seal) 34%, transparent);
}
/* Kept for the inverse bands, where a solid indigo button disappears into the ground. */
.btn-gold {
  background: #fff;
  /* A literal, not a token: this button's ground is always white, so a token that lightens in
     dark mode would drop the text to 2.98:1 on it. */
  color: #4338ca;
  box-shadow: var(--shadow-2);
}
.btn-gold:hover {
  background: #f4f5ff;
}
.btn-ghost {
  border-color: var(--rule-2);
  color: var(--fg);
  background: var(--card);
}
.btn-ghost:hover {
  border-color: var(--fg-3);
  background: var(--hover);
}
.btn-lg {
  font-size: 1.02rem;
  padding: 14px 26px;
}
.btn-sm {
  font-size: 0.88rem;
  padding: 8px 15px;
}
.btn-block {
  width: 100%;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
}
.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

/* ── cards & grids ────────────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
.card-pad {
  padding: clamp(18px, 2.3vw, 26px);
}
.card-lift {
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.card-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
  border-color: var(--rule-2);
}
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
}
/* minmax(0, …) throughout, never a bare `fr`: an `fr` track has a min-content floor, so a long
   heading in one column steals width from its neighbour and crushes it. And 420px, not 290px —
   at this measure a 290px minimum fits three course cards and orphans the fourth. */
.g2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.g3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
}
.split-wide {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}
@media (max-width: 940px) {
  .split,
  .split-wide {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* A spec sheet rather than cards. Rules are borders on the CELLS, not a coloured container
   behind 1px gaps: with a container, a final row that does not fill the column count leaves a
   raw block of border colour where the missing cells would be. */
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
}
.spec {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.specs > .spec:last-child {
  border-right: none;
}
@media (min-width: 1000px) {
  .specs-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .specs-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .specs-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .specs-5 > .spec:nth-child(5n),
  .specs-4 > .spec:nth-child(4n),
  .specs-3 > .spec:nth-child(3n) {
    border-right: none;
  }
}
.spec .k {
  font-family: var(--head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--seal-fg);
}
.spec p {
  font-size: 0.91rem;
  color: var(--fg-2);
}
.spec ul {
  margin: 5px 0 0;
  padding-left: 1.05em;
  font-size: 0.87rem;
  color: var(--fg-2);
  line-height: 1.6;
}
.spec li::marker {
  color: var(--brand);
}

/* ── record rows ──────────────────────────────────────────────────────────── */
.rows {
  border-top: 1px solid var(--rule);
}
.row {
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: baseline;
  padding: 16px 6px;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
}
a.row:hover {
  background: var(--hover);
}
.row .i {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
.row .t {
  font-family: var(--head);
  font-weight: 700;
  letter-spacing: -0.016em;
  color: var(--fg);
}
a.row:hover .t {
  color: var(--seal-fg);
}
.row .v {
  font-size: 0.8rem;
  color: var(--fg-3);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.row .d {
  grid-column: 2 / -1;
  font-size: 0.91rem;
  color: var(--fg-2);
  margin-top: 3px;
}
@media (max-width: 580px) {
  .row {
    grid-template-columns: 2.3rem minmax(0, 1fr);
  }
  .row .v {
    grid-column: 2;
  }
}

/* ── lists ────────────────────────────────────────────────────────────────── */
ul.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* An absolutely-positioned marker, NOT a grid. `display: grid` on an <li> makes every child its
   own grid item — including bare text runs — so an item containing a link had its text in one
   cell and the link in another. */
ul.ticks li {
  position: relative;
  padding-left: 1.75em;
  font-size: 0.95rem;
  color: var(--fg-2);
}
ul.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.15em;
  height: 1.15em;
  border-radius: 50%;
  background: color-mix(in srgb, var(--stamp) 15%, transparent);
}
ul.ticks li::after {
  content: "";
  position: absolute;
  left: 0.3em;
  top: 0.48em;
  width: 0.52em;
  height: 0.27em;
  border-left: 2px solid var(--stamp-ink);
  border-bottom: 2px solid var(--stamp-ink);
  transform: rotate(-45deg);
}
ul.plain {
  margin: 0;
  padding-left: 1.15em;
  color: var(--fg-2);
  line-height: 1.7;
}
ul.plain li::marker {
  color: var(--brand);
}
ul.plain li + li {
  margin-top: 5px;
}

/* ── chips ────────────────────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: var(--r-sm);
  background: var(--seal-bg);
  color: var(--seal-fg);
  font-family: var(--head);
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}
.chip.stamp {
  background: color-mix(in srgb, var(--stamp) 14%, transparent);
  color: var(--stamp-ink);
}
.chip.warn {
  background: color-mix(in srgb, var(--marigold) 18%, transparent);
  color: var(--marigold-ink);
}
.chip.flag {
  background: color-mix(in srgb, var(--flag) 12%, transparent);
  color: var(--flag);
}
.chip.plain {
  background: var(--hover);
  color: var(--fg-3);
  border: 1px solid var(--rule);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

/* ── callouts ─────────────────────────────────────────────────────────────── */
.callout {
  border-left: 3px solid var(--seal-fg);
  background: var(--seal-bg);
  padding: 15px 17px;
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 0.93rem;
  color: var(--fg-2);
}
.callout b,
.callout strong {
  color: var(--fg);
}
.callout.flag {
  border-left-color: var(--flag);
  background: color-mix(in srgb, var(--flag) 8%, transparent);
}
.callout.good {
  border-left-color: var(--stamp);
  background: color-mix(in srgb, var(--stamp) 10%, transparent);
}
.callout.good b,
.callout.good strong {
  color: var(--stamp-ink);
}

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.faq-item {
  background: var(--card);
  padding: 19px 21px;
}
.faq-item h3 {
  font-size: 1.05rem;
}
.faq-item p {
  color: var(--fg-2);
  font-size: 0.93rem;
  margin-top: 7px;
}

/* ── tables ───────────────────────────────────────────────────────────────── */
.tw {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--card);
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.91rem;
}
th,
td {
  text-align: left;
  padding: 11px 15px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
th {
  font-family: var(--head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
  background: var(--hover);
  white-space: nowrap;
}
tbody tr:last-child td {
  border-bottom: none;
}
td.n,
th.n {
  text-align: right;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ── hero ─────────────────────────────────────────────────────────────────── */
/* LIGHT, unlike the previous design. The product panel beside it is the visual interest, and a
   dark hero forced every component inside it to be re-themed — which is where six pages ended up
   with dark text on a dark ground. */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 5.5vw, 72px) clamp(36px, 5vw, 62px);
}
.hero::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -40%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--brand) 13%, transparent) 0%,
    transparent 66%
  );
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -46%;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--brand-2) 10%, transparent) 0%,
    transparent 66%
  );
  pointer-events: none;
}
.hero > * {
  position: relative;
  z-index: 1;
}
/* A gradient-filled phrase rather than a highlighter bar — the app's own indigo→purple. */
.hl {
  font-style: normal;
  background: linear-gradient(100deg, var(--hl-a) 8%, var(--hl-b) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not (background-clip: text) {
  .hl {
    color: var(--seal-fg);
  }
}

/* ── stat strip ───────────────────────────────────────────────────────────── */
.statstrip {
  position: relative;
  z-index: 2;
}
.statstrip .in {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
  overflow: hidden;
}
.stat {
  padding: 20px 22px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stat:last-child {
  border-right: none;
}
.stat b {
  font-family: var(--head);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.stat span {
  font-size: 0.86rem;
  color: var(--fg-3);
  line-height: 1.4;
}
@media (max-width: 700px) {
  .statstrip .in {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat {
    padding: 15px 17px;
    border-bottom: 1px solid var(--rule);
  }
  .stat:nth-child(2n) {
    border-right: none;
  }
  .stat:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}
@media (max-width: 380px) {
  .statstrip .in {
    grid-template-columns: minmax(0, 1fr);
  }
  .stat {
    border-right: none;
  }
  .stat:last-child {
    border-bottom: none;
  }
}

/* ── the readiness panel ──────────────────────────────────────────────────── */
/* Now a light card that looks like the product, rather than a dark artefact that looked like a
   different product. */
.board {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.board-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--rule);
}
.board-head b {
  font-family: var(--head);
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--fg);
}
.board-head .tiny {
  margin-left: auto;
}
.board-body {
  padding: 20px 18px;
  display: flex;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}
.board-foot {
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.dial {
  width: 100px;
  height: 100px;
  flex: none;
  position: relative;
}
.dial svg {
  transform: rotate(-90deg);
  display: block;
}
.dial-val {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.dial-val b {
  font-family: var(--head);
  font-size: 1.72rem;
  font-weight: 800;
  display: block;
  line-height: 1;
  color: var(--fg);
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.dial-val span {
  font-size: 0.68rem;
  color: var(--fg-3);
  font-weight: 500;
}
.bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
}
.bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  font-size: 0.86rem;
  align-items: center;
}
.bar-row .lbl {
  color: var(--fg-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bar-row .v {
  font-family: var(--head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
.track {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 4px;
  background: var(--hover);
  overflow: hidden;
}
.fill {
  height: 100%;
  border-radius: 4px;
  background: var(--seal);
  width: var(--w, 0);
}
.fill.warn {
  background: var(--marigold);
}
.fill.good {
  background: var(--stamp);
}
@media (max-width: 470px) {
  .board-body {
    flex-direction: column;
    align-items: stretch;
  }
  .dial {
    align-self: center;
  }
}

/* ── course cards ─────────────────────────────────────────────────────────── */
.accent-azure { --accent: var(--c-azure); }
.accent-amber { --accent: var(--c-amber); }
.accent-violet { --accent: var(--c-violet); }
.accent-mint { --accent: var(--c-mint); }
.course {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-top: 3px solid var(--accent, var(--seal));
}
.course-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: clamp(18px, 2.2vw, 24px) clamp(18px, 2.2vw, 26px) 0;
}
.cover {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: var(--r);
  display: grid;
  place-content: center;
  font-family: var(--head);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cover-ink);
  background: linear-gradient(
    140deg,
    var(--accent, var(--seal)),
    color-mix(in srgb, var(--accent, var(--seal)) 62%, var(--brand-2))
  );
  box-shadow: var(--shadow-2);
}
.course-body {
  padding: 14px clamp(18px, 2.2vw, 26px) clamp(18px, 2.2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.course h2 a,
.course h3 a {
  color: inherit;
  text-decoration: none;
}
.course h2 a:hover,
.course h3 a:hover {
  color: var(--accent, var(--seal-fg));
}
.ladder {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  font-size: 0.89rem;
}
.ladder li {
  display: grid;
  grid-template-columns: 1.9rem minmax(0, 1fr);
  gap: 8px;
  color: var(--fg-2);
  padding: 3px 0;
}
.ladder .i {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
.ladder .more {
  color: var(--fg-3);
  font-style: italic;
}
.mt-auto {
  margin-top: auto;
}

/* ── numbered steps ───────────────────────────────────────────────────────── */
.steps {
  counter-reset: step;
  display: grid;
  gap: 2px;
}
.step {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--rule);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--head);
  font-size: 0.86rem;
  font-weight: 800;
  color: #fff;
  background: var(--seal);
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-content: center;
  margin-top: 2px;
}
.step p {
  color: var(--fg-2);
  font-size: 0.93rem;
  margin-top: 4px;
}

/* ── pull quote (the one serif in the design) ─────────────────────────────── */
.quote {
  font-family: var(--serif);
  font-size: clamp(1.14rem, 1.9vw, 1.44rem);
  line-height: 1.44;
  color: var(--fg);
  border-left: 3px solid var(--brand);
  padding-left: clamp(16px, 2vw, 24px);
  max-width: 46ch;
}

/* ── prose ────────────────────────────────────────────────────────────────── */
.prose {
  max-width: var(--prose);
  font-size: 1.05rem;
  line-height: 1.74;
  color: var(--fg-2);
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  font-size: 1.48rem;
  color: var(--fg);
  margin-top: 2.2em;
  padding-top: 0.6em;
  border-top: 1px solid var(--rule);
}
.prose h3 {
  font-size: 1.16rem;
  color: var(--fg);
  margin-top: 1.8em;
}
.prose strong {
  color: var(--fg);
  font-weight: 650;
}
.prose ul,
.prose ol {
  padding-left: 1.35em;
}
.prose li + li {
  margin-top: 0.4em;
}
.prose li::marker {
  color: var(--brand);
}
.prose blockquote {
  margin: 1.5em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--brand);
  color: var(--fg);
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.5;
}
.prose blockquote p + p {
  margin-top: 0.7em;
}
.prose code {
  background: var(--code-bg);
  border: 1px solid var(--rule);
  border-radius: 5px;
  padding: 1px 5px;
  font-size: 0.87em;
  color: var(--fg);
}
.prose hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2.4em 0;
}
.prose img {
  border: 1px solid var(--rule);
  border-radius: var(--r);
  margin-block: 1.5em;
}
.prose .tw {
  margin-block: 1.4em;
}
.prose table {
  font-size: 0.88rem;
}

/* ── code blocks (coloured on the server — see lib/highlight.js) ──────────── */
.code {
  margin: 1.5em 0;
  background: var(--code-bg);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  position: relative;
}
.code pre {
  margin: 0;
  padding: 15px 17px;
  overflow-x: auto;
  font-size: 0.855rem;
  line-height: 1.62;
  -webkit-overflow-scrolling: touch;
}
.code code {
  font-family: var(--mono);
  background: none;
  border: none;
  padding: 0;
  color: var(--fg);
  font-size: inherit;
  white-space: pre;
}
.code[data-lang]::after {
  content: attr(data-lang);
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--head);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  background: var(--hover);
  border-left: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  border-radius: 0 var(--r) 0 var(--r-sm);
  padding: 3px 9px;
  pointer-events: none;
}
.t-kw { color: var(--t-kw); font-weight: 600; }
.t-str { color: var(--t-str); }
.t-com { color: var(--t-com); font-style: italic; }
.t-num { color: var(--t-num); }
.t-fn { color: var(--t-fn); }
.t-ty { color: var(--t-ty); }
.t-ann { color: var(--t-num); }

/* ── lesson chrome ────────────────────────────────────────────────────────── */
.lesson-layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 980px) {
  .lesson-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
.toc {
  position: sticky;
  top: 76px;
  font-size: 0.89rem;
  max-height: calc(100vh - 98px);
  overflow-y: auto;
  scrollbar-width: thin;
}
@media (max-width: 980px) {
  .toc {
    position: static;
    max-height: none;
    border: 1px solid var(--rule);
    border-radius: var(--r);
    padding: 15px;
    background: var(--card);
  }
}
.toc ol {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.toc a {
  display: grid;
  grid-template-columns: 1.8em minmax(0, 1fr);
  gap: 7px;
  text-decoration: none;
  color: var(--fg-2);
  padding: 7px 10px;
  border-radius: var(--r-sm);
  line-height: 1.35;
}
.toc a:hover {
  background: var(--hover);
  color: var(--fg);
}
.toc a[aria-current="page"] {
  background: var(--seal-bg);
  color: var(--seal-fg);
  font-weight: 600;
}
.toc .i {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
.toc a[aria-current="page"] .i {
  color: var(--seal-fg);
}
/* Must out-specify `.toc a`, which is a 1.8em + 1fr grid for the numbered links. Without this
   the back link's whole label is crushed into the index column, one word per line. */
.toc a.toc-back {
  display: block;
  text-decoration: none;
  margin-bottom: 10px;
  padding: 4px 0;
  font-weight: 600;
}
.lesson-nav {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}
.lesson-nav a {
  text-decoration: none;
  max-width: 100%;
}
.progress {
  height: 5px;
  background: var(--hover);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 14px;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--seal);
}

/* ── practice ─────────────────────────────────────────────────────────────── */
.q-card {
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--card);
  overflow: hidden;
}
.q-card + .q-card {
  margin-top: 16px;
}
.q-head {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 14px 18px 0;
  font-family: var(--head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.q-body {
  padding: 9px 18px 6px;
}
.q-text {
  font-size: 1.01rem;
  color: var(--fg);
  white-space: pre-wrap;
}
.opts {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 13px 0 0;
}
.opt {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--fg-2);
  background: var(--card);
}
.opt:first-of-type {
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}
.opt:last-of-type {
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.opt + .opt {
  border-top: none;
}
.opt:hover {
  background: var(--hover);
}
.opt input {
  margin: 3px 0 0;
  accent-color: var(--seal);
}
.opt:has(input:checked) {
  border-color: var(--seal-fg);
  background: var(--seal-bg);
  color: var(--fg);
  z-index: 1;
}
.opt.correct {
  border-color: var(--stamp);
  background: color-mix(in srgb, var(--stamp) 11%, transparent);
}
.opt.wrong {
  border-color: var(--flag);
  background: color-mix(in srgb, var(--flag) 8%, transparent);
}
.opt .mk {
  font-family: var(--head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fg-3);
}
.explain {
  margin: 0;
  padding: 13px 18px 16px;
  font-size: 0.9rem;
  color: var(--fg-2);
  border-top: 1px dashed var(--rule);
  background: var(--bg-2);
}
.explain b {
  color: var(--fg);
}
.score-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
}
.score-big {
  font-family: var(--head);
  font-size: clamp(2.8rem, 7vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.045em;
}
.score-big span {
  font-size: 0.4em;
  color: var(--fg-3);
}
.sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 40;
  margin-top: 34px;
  background: color-mix(in srgb, var(--card) 94%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--rule);
  padding: 13px var(--pad);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.sticky-cta .t {
  font-size: 0.93rem;
  color: var(--fg-2);
}
.sticky-cta .btn {
  margin-left: auto;
}
@media (max-width: 680px) {
  .sticky-cta .btn {
    margin-left: 0;
    width: 100%;
  }
}

/* ── forms ────────────────────────────────────────────────────────────────── */
.form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 470px;
}
.form-wide {
  max-width: none;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.field label {
  font-family: var(--head);
  font-size: 0.88rem;
  color: var(--fg-2);
  font-weight: 600;
}
.field .hint {
  font-family: var(--sans);
  font-size: 0.81rem;
  color: var(--fg-3);
  font-weight: 400;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--fg);
  background: var(--card);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-sm);
  padding: 11px 13px;
  width: 100%;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--seal-fg);
  outline: none;
  box-shadow: 0 0 0 3px var(--seal-bg);
}
textarea {
  min-height: 110px;
  resize: vertical;
}
.form-note {
  font-size: 0.84rem;
  color: var(--fg-3);
}
.msg {
  font-size: 0.91rem;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  border: 1px solid;
}
.msg-err {
  color: var(--flag);
  border-color: color-mix(in srgb, var(--flag) 42%, transparent);
  background: color-mix(in srgb, var(--flag) 7%, transparent);
}
.msg-ok {
  color: var(--stamp-ink);
  border-color: color-mix(in srgb, var(--stamp) 42%, transparent);
  background: color-mix(in srgb, var(--stamp) 9%, transparent);
}
.msg .btn {
  margin-top: 10px;
}
[hidden] {
  display: none !important;
}

/* ── price ────────────────────────────────────────────────────────────────── */
.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.price .amt {
  font-family: var(--head);
  font-size: clamp(2.1rem, 4.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  color: var(--fg);
  letter-spacing: -0.042em;
  font-variant-numeric: tabular-nums;
}
.price .per {
  font-size: 0.9rem;
  color: var(--fg-3);
}
.price-note {
  font-size: 0.8rem;
  color: var(--fg-3);
}

/* ── footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink-2);
  color: var(--on-ink-2);
  padding-block: 46px 26px;
  font-size: 0.9rem;
  border-top: 1px solid var(--on-ink-rule);
}
.site-footer .logo {
  color: #fff;
}
.fgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: 30px;
}
@media (max-width: 840px) {
  .fgrid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.site-footer .fh {
  font-family: var(--head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b93b0;
  margin: 0 0 12px;
  line-height: 1.4;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.site-footer a {
  color: #c3cade;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--brand);
}
.site-footer .small,
.site-footer .measure {
  color: #8b93b0;
}
.fbot {
  margin-top: 32px;
  padding-top: 17px;
  border-top: 1px solid var(--on-ink-rule);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.79rem;
  color: #8b93b0;
}
.fbot .end {
  margin-left: auto;
}

/* ── final CTA ────────────────────────────────────────────────────────────── */
.final-in {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}

/* ── scroll reveal ────────────────────────────────────────────────────────── */
/* JavaScript adds `reveal-on` to <html>, so with JavaScript off — or under
   prefers-reduced-motion, where the script does nothing — every element is simply visible.
   Hiding content in CSS and revealing it with JS is how a page ends up blank for anyone the
   script never reaches. */
.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-on [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ── small utilities ──────────────────────────────────────────────────────── */
.divider-top {
  border-top: 1px solid var(--rule);
  padding-top: 15px;
}
.plain-link {
  color: inherit;
  text-decoration: none;
}
.plain-link:hover {
  color: var(--seal-fg);
}
.icon {
  width: 22px;
  height: 22px;
  display: block;
  flex: none;
  color: var(--seal-fg);
}
.spec .icon {
  margin-bottom: 2px;
}

/* ═════════════════════════════════════════════════════════════════════════════
   INK CONTEXT — must be the last block in this file.

   `.band-ink` is a dark surface, and every component that sets its own colour (`.spec p`,
   `ul.ticks li`, `.eyebrow`, `.chip`, `.btn-ghost`) has to be told about it. These selectors are
   no more specific than the component rules they override, so they win only on SOURCE ORDER.
   Moving this block, or adding a component rule after it, silently puts dark text on a dark band
   — which is exactly the bug a browser pass caught on six pages of the previous design.

   Note `.hero` is NOT in this list any more: the hero is light now, which removed the whole
   class of bug at its root.
   ═════════════════════════════════════════════════════════════════════════════ */
.band-ink h1,
.band-ink h2,
.band-ink h3,
.band-ink h4,
.band-ink .card-title,
.band-ink strong {
  color: #fff;
}
.band-ink p,
.band-ink li,
.band-ink .spec p,
.band-ink ul.ticks li,
.band-ink ul.plain {
  color: var(--on-ink-2);
}
.band-ink .lede {
  color: #ccd2e6;
}
.band-ink .tiny,
.band-ink .small,
.band-ink .crumb,
.band-ink .muted {
  color: var(--on-ink-2);
}
.band-ink .eyebrow {
  color: #b6bdff;
}
.band-ink .eyebrow b {
  color: #6ee7c8;
}
/* Links, but NOT buttons: a `.band-ink a` rule beat `.btn-gold` on specificity in the previous
   design and painted the loudest call to action on the site at 1.15:1. */
.band-ink a:not(.btn) {
  color: #b6bdff;
}
.band-ink .btn-ghost {
  border-color: #3b4468;
  color: #fff;
  background: transparent;
}
.band-ink .btn-ghost:hover {
  background: #222a45;
  border-color: #5b6489;
}
.band-ink .btn-gold {
  background: #fff;
  color: #4338ca;
}
.band-ink .btn-solid {
  color: #fff;
}
.band-ink .chip {
  background: #232b4a;
  color: #b6bdff;
}
.band-ink .chip.stamp {
  background: rgba(45, 212, 191, 0.16);
  color: #6ee7c8;
}
.band-ink .chip.plain {
  background: #1b2136;
  color: var(--on-ink-2);
  border-color: var(--on-ink-rule);
}
.band-ink ul.ticks li::before {
  background: rgba(45, 212, 191, 0.18);
}
.band-ink ul.ticks li::after {
  border-color: #6ee7c8;
}
.band-ink ul.plain li::marker {
  color: #b6bdff;
}
.band-ink .card {
  background: #1b2136;
  border-color: var(--on-ink-rule);
}
.band-ink .specs,
.band-ink .spec,
.band-ink .rows,
.band-ink .row,
.band-ink .step,
.band-ink .divider-top,
.band-ink .cut::before,
.band-ink .cut::after {
  border-color: var(--on-ink-rule);
}
.band-ink .spec .k,
.band-ink .row .i,
.band-ink .icon {
  color: #b6bdff;
}
.band-ink .row .t,
.band-ink .quote {
  color: #fff;
}
.band-ink .cut {
  color: var(--on-ink-2);
}
.band-ink .field label {
  color: #ccd2e6;
}
.band-ink .form-note,
.band-ink .field .hint,
.band-ink .price-note {
  color: var(--on-ink-2);
}
.band-ink .price .amt {
  color: #fff;
}
.band-ink .callout {
  background: #232b4a;
  border-left-color: #8b95ff;
  color: #ccd2e6;
}
.band-ink .callout b,
.band-ink .callout strong {
  color: #fff;
}