/* =====================================================================
   Veranox public site (company pages and product sections), design system v4
   (SITE-COMPANY.md). Calm and plain: warm paper, navy ink, one gold seal.
   Schibsted Grotesk 600 for headings, Hanken Grotesk for text and UI; upright only. Every colour, shadow and
   texture is a token in :root; rules below only reference tokens.
   No inline styles anywhere; motion honours prefers-reduced-motion.
   ===================================================================== */

@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/schibsted-grotesk-latin.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/hanken-grotesk-latin.woff2) format('woff2'); }

:root {
  /* colour: 60 paper, 30 ink, 10 gold */
  /* neutrals in OKLCH, tinted a touch toward the gold hue (85); not cream */
  --paper: oklch(98.4% 0.003 85);
  --paper-2: oklch(95.6% 0.006 85);
  --card: #FFFFFF;
  --ink: #0F1F3D;
  --ink-deep: #0A1630;
  --ink-2: #1B2F55;
  --body: #1F2A40;
  --slate: #475569;
  --line: rgb(15 31 61 / 0.10);
  --line-2: rgb(15 31 61 / 0.16);
  --line-dark: rgba(217, 225, 238, 0.16);
  --muted-dark: #B4C0D6;
  --gold: #F59E0B;
  --gold-ink: #8A5200;
  --gold-soft: #FDF0D5;
  --ok: #0B7165;
  --ok-dark: #5FD3BE;
  --bad: #B42318;
  --bad-dark: #FF8A7A;
  --talent: #0B7165;
  --campus: #86198F;
  --workforce: #1E4DA1;
  --accent: var(--ink);

  /* type */
  --display: 'Schibsted Grotesk', sans-serif;
  --text: 'Hanken Grotesk', sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', monospace;

  /* spacing: 4-based */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --pad: clamp(20px, 4vw, 48px);
  --max: 1520px;
  --sec: clamp(64px, 7vw, 120px);

  /* radius: one base (12), concentric outers for nested frames */
  --r-m: 12px;
  --r-o: 18px;
  --r-ph: 40px;
  --r-pi: 32px;
  --r-p: 999px;

  /* depth: alpha rings and layered, ink-tinted shadows */
  --sh-ring: 0 0 0 1px rgba(15, 31, 61, 0.08);
  --sh-1: 0 0 0 1px rgba(15, 31, 61, 0.07), 0 1px 2px rgba(15, 31, 61, 0.06), 0 4px 12px -4px rgba(15, 31, 61, 0.10);
  --sh-2: 0 0 0 1px rgba(15, 31, 61, 0.07), 0 2px 4px rgba(15, 31, 61, 0.05), 0 18px 40px -16px rgba(15, 31, 61, 0.28);
  --sh-3: 0 0 0 1px rgba(15, 31, 61, 0.08), 0 4px 8px rgba(15, 31, 61, 0.05), 0 40px 80px -32px rgba(15, 31, 61, 0.42);
  --sh-dark: 0 0 0 1px rgba(255, 255, 255, 0.10), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  --sh-focus: 0 0 0 3px #FFFFFF, 0 0 0 5px #1E4DA1;
  --sh-inset: inset 0 0 0 1px rgba(15, 31, 61, 0.10);
  --sh-btn: inset 0 0 0 1.5px #0F1F3D;

  /* texture: guilloche (security-print) strands, and a soft paper light */
  --tex-guilloche: url(/assets/guilloche.svg);
  --wash-dark: radial-gradient(90% 80% at 100% 0%, #1B2F55 0%, rgba(10, 22, 48, 0) 70%);
  --fade-x: linear-gradient(90deg in oklch, transparent, black 6%, black 94%, transparent);

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --t-fast: 150ms;
  --t-mid: 240ms;
  --t-slow: 280ms;

  color-scheme: light;
  interpolate-size: allow-keywords;
}

/* ── Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body { font-family: var(--text); font-size: 17px; line-height: 1.6; color: var(--body); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; font-variant-numeric: tabular-nums; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[class], ol[class] { list-style: none; }
h1, h2, h3, h4 { color: var(--ink); }
h1, h2 { text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.032em; }
h1 { font-size: clamp(2.4rem, 1.35rem + 3.7vw, 4.6rem); line-height: 1.03; }
h2 { font-size: clamp(1.85rem, 1.3rem + 1.9vw, 3rem); line-height: 1.08; letter-spacing: -0.028em; }
h3 { font-family: var(--text); font-weight: 650; font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.01em; }
@media (max-width: 479px) { p:not(.sub) { hyphens: auto; } .actions .btn { flex: 1 1 100%; } }
::selection { background: var(--gold-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--workforce); outline-offset: 3px; border-radius: var(--r-m); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; left: var(--s4); top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: var(--s3) var(--s4); border-radius: var(--r-m); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: var(--s3); }
.wrap, .container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

/* ── Buttons and links ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 22px; border-radius: var(--r-m); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.btn-gold, .btn-accent { background: var(--ink); color: var(--paper); box-shadow: var(--sh-1); }
.btn-gold:hover, .btn-accent:hover { background: var(--ink-2); }
.zone-dark .btn-gold, .zone-deep .btn-gold, .zone-dark .btn-accent, .zone-deep .btn-accent { background: var(--gold); color: var(--ink); }
.zone-dark .btn-gold:hover, .zone-deep .btn-gold:hover, .zone-dark .btn-accent:hover, .zone-deep .btn-accent:hover { background: var(--gold-soft); }
.btn-line, .btn-navy, .btn-ghost { background: var(--card); color: var(--ink); box-shadow: var(--sh-1); }
.btn-line:hover, .btn-navy:hover, .btn-ghost:hover { background: var(--paper-2); }
.btn-navy { background: var(--ink); color: var(--paper); }
.btn-navy:hover { background: var(--ink-2); }
.btn-text { background: none; border: 0; padding: var(--s2) 0; min-height: 44px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; color: inherit; }
.link { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; font-weight: 600; color: var(--accent); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.link:hover { text-decoration-color: currentColor; }
.zone-dark .link, .zone-deep .link { color: var(--gold); }
.link-inline { color: inherit; text-underline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin-top: var(--s6); }

/* icons: sized to the text they sit beside */
.ico { width: 1.15em; height: 1.15em; stroke: var(--accent); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.zone-dark .ico, .zone-deep .ico { stroke: var(--gold); }
.ico-l { width: 28px; height: 28px; }
.ico-no { position: relative; display: inline-block; width: 28px; height: 28px; flex: none; }
.ico-no::after { content: ""; position: absolute; left: 1px; top: 13px; width: 26px; height: 2px; background: var(--bad); transform: rotate(-45deg); }
.zone-dark .ico-no::after, .zone-deep .ico-no::after { background: var(--bad-dark); }

/* ── Header ───────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: var(--s5); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; min-height: 44px; }
.brand-mark { width: 28px; height: 28px; }
.brand-word { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.nav-links { display: none; align-items: center; gap: var(--s1); }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3); border-radius: var(--r-m); text-decoration: none; font-size: 15px; font-weight: 500; color: var(--slate); }
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.brand-by { display: none; align-items: center; min-height: 44px; margin-left: calc(var(--s3) * -1); margin-right: auto; padding: 0 var(--s2); font-size: 14px; font-weight: 500; color: var(--slate); text-decoration: none; border-radius: var(--r-m); }
.brand-by:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.in-product .brand { margin-right: 0; }
.nav-signin { display: none; align-items: center; min-height: 44px; padding: 0 var(--s3); font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; border-radius: var(--r-m); }
.nav-signin:hover { background: var(--paper-2); }
.nav-cta { min-height: 40px; padding: 0 18px; font-size: 15px; display: none; }
.site-header .nav-cta { background: var(--card); color: var(--ink); box-shadow: var(--sh-1); }
.site-header .nav-cta:hover { background: var(--paper-2); }
.nav-menu { position: static; }
.nav-menu > summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-m); cursor: pointer; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.burger { position: relative; width: 20px; height: 12px; }
.burger i { position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); border-radius: var(--r-p); transition: transform var(--t-mid) var(--ease-out), top var(--t-mid) var(--ease-out); }
.burger i:first-child { top: 0; }
.burger i:last-child { top: 10px; }
.nav-menu[open] .burger i:first-child { top: 5px; transform: rotate(45deg); }
.nav-menu[open] .burger i:last-child { top: 5px; transform: rotate(-45deg); }
.nav-sheet { position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - 68px); background: var(--paper); border-top: 1px solid var(--line); overflow-y: auto; }
.nav-sheet-in { display: grid; gap: var(--s1); padding: var(--s5) var(--pad) var(--s8); max-width: 560px; }
.nav-sheet a:not(.btn) { display: flex; align-items: center; min-height: 56px; font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; font-size: 22px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.nav-sheet a.nav-sheet-co { font-family: var(--text); font-weight: 500; font-size: 16px; color: var(--slate); letter-spacing: 0; }
.nav-sheet a[aria-current="page"] { color: var(--gold-ink); }
.nav-sheet .btn { margin-top: var(--s5); }
@media (min-width: 1080px) {
  .nav-links { display: flex; }
  .nav-cta, .nav-signin { display: inline-flex; }
  .nav-menu { display: none; }
  .in-product .nav-links { margin-right: auto; margin-left: var(--s4); }
  .in-product .brand-by { margin-right: 0; }
}
@media (min-width: 600px) and (max-width: 1079px) { .nav-cta { display: inline-flex; } }
@media (min-width: 420px) { .brand-by { display: inline-flex; } }
@media (max-width: 419px) { .in-product .brand { margin-right: auto; } }

/* ── Sections and zones ───────────────────────────────────────────── */
.section { padding-block: var(--sec); position: relative; }
.zone-light { background: var(--paper); }
.zone-silver { background: var(--paper-2); }
.zone-dark, .zone-deep { background: var(--ink); color: var(--muted-dark); --accent: var(--gold); }
.zone-deep { background: var(--ink-deep) var(--wash-dark) no-repeat; }
.zone-dark :is(h1, h2, h3), .zone-deep :is(h1, h2, h3) { color: var(--card); }
.eyebrow { display: block; font-size: 15px; font-weight: 600; color: var(--slate); margin-bottom: var(--s4); }
.zone-dark .eyebrow, .zone-deep .eyebrow { color: var(--muted-dark); }
.sub { font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem); line-height: 1.5; color: var(--slate); max-width: 38ch; }
.zone-dark .sub, .zone-deep .sub { color: var(--muted-dark); }
.tagline { font-size: 15px; font-weight: 600; color: var(--slate); margin-bottom: var(--s5); }

/* two-column section grid: header and text pair with a product visual */
.sec-grid { display: grid; gap: var(--s6); grid-template-areas: "h" "t" "v"; }
.sec-h, .sec-text, .sec-visual { min-width: 0; }
.sec-h { grid-area: h; }
.sec-text { grid-area: t; display: grid; gap: var(--s5); align-content: start; justify-items: start; }
.sec-visual { grid-area: v; }
.sec-h h2 { max-width: 18ch; }
@media (min-width: 960px) {
  .sec-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 1fr auto auto 1fr; grid-template-areas: ". v" "h v" "t v" ". v"; column-gap: clamp(48px, 6vw, 112px); row-gap: var(--s5); align-items: start; }
  .sec-grid > .sec-visual { align-self: center; }
  .sec-grid.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "v ." "v h" "v t" "v ."; }
  .sec-grid.wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; grid-template-areas: "h t" "v v"; row-gap: var(--s7); }
  .sec-grid.wide > .sec-h { align-self: start; }
  .sec-grid.wide > .sec-text { padding-top: var(--s3); }
  .sec-grid.wide .sec-h h2 { max-width: 18ch; }
}
.sec-cta { margin: 0; }
.scan { display: grid; gap: var(--s3); }
.scan li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s3); align-items: start; font-size: 17px; color: var(--body); }
.zone-dark .scan li, .zone-deep .scan li { color: var(--card); }
.scan li .ico { margin-top: 0.22em; }
.sec-links { display: flex; flex-wrap: wrap; gap: 0 var(--s5); }

/* Read more */
.more { width: 100%; max-width: 62ch; border-top: 1px solid var(--line); }
.zone-dark .more, .zone-deep .more { border-color: var(--line-dark); }
.more > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 52px; font-weight: 600; font-size: 16px; cursor: pointer; list-style: none; color: var(--ink); }
.zone-dark .more > summary, .zone-deep .more > summary { color: var(--card); }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform var(--t-mid) var(--ease-out); }
.more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.more > summary:hover { color: var(--gold-ink); }
.zone-dark .more > summary:hover, .zone-deep .more > summary:hover { color: var(--gold); }
.more-body { padding-bottom: var(--s5); display: grid; gap: var(--s4); justify-items: start; }
.more-body p { font-size: 16px; }
.more-body .diagram { max-width: 440px; width: 100%; }
.sec-visual > .diag-marking { max-width: 440px; margin-inline: auto; }
.hero-more { margin-top: var(--s6); }
.hero-stack .hero-visual { margin-top: var(--s7); }
.hero-stack .hero-more { max-width: 62ch; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero { padding-block: clamp(48px, 7vw, 104px) clamp(56px, 8vw, 112px); position: relative; }
.hero.zone-light { background: var(--paper); }
.hero-grid { display: grid; gap: var(--s8); align-items: center; }
.hero-copy { min-width: 0; }
.hero-copy h1 { max-width: 14ch; }
.hero-copy .sub { margin-top: var(--s5); max-width: 40ch; }
.hero-visual { min-width: 0; }
@media (min-width: 960px) {
  .page-hero .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 96px); }
  .hero-stack .hero-grid, .hero-stack { grid-template-columns: 1fr; }
}
.chips { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s6); }
.chips li { display: inline-flex; align-items: center; gap: var(--s2); font-size: 15px; color: var(--slate); }

/* Home hero: copy on the left, the ladder on the right */
.home .hero { overflow: clip; }
.home .hero-grid { gap: var(--s7); }
.home .hero-copy h1 { max-width: 13ch; }
@media (min-width: 1080px) {
  .home .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; }
  .home .hero-grid { align-items: center; }
}

/* Doors: three ways in, right under the hero */
.doors-sec { padding-block: var(--s8); border-top: 1px solid var(--line); background: var(--card); }
.doors-h { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s7); }
.doors-h h2 { max-width: 22ch; }
.doors { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .doors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.door { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: var(--s3); padding: var(--s5); border-radius: var(--r-o); background: var(--paper); box-shadow: var(--sh-ring); transition: box-shadow var(--t-mid) var(--ease-out), transform var(--t-mid) var(--ease-out); }
.door:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.door:focus-within { box-shadow: var(--sh-focus); }
.door-who { display: inline-flex; align-items: center; gap: var(--s2); font-size: 15px; font-weight: 650; color: var(--accent); }
.door-who::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.door h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.022em; font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.15; }
.door p { color: var(--slate); font-size: 16px; }
.door .link { position: static; }
.door .link::before { content: ""; position: absolute; inset: 0; border-radius: var(--r-o); }

/* ── Product images ────────────────────────────────────────────── */
.shot { margin: 0; min-width: 0; }
.shot figcaption { font-size: 14px; line-height: 1.5; margin-top: var(--s3); color: var(--slate); max-width: 62ch; }
.zone-dark .shot figcaption, .zone-deep .shot figcaption { color: var(--muted-dark); }
.shot img { width: 100%; }
.shot picture { display: block; }

/* callouts: numbered dots on the screen, key under it */


/* ── How it works: a four-step track (radio stepper, works without JS) ─ */
.steps { border: 0; min-width: 0; }
.step-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); margin-bottom: var(--s6); }
@media (min-width: 720px) { .step-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-bottom: 1px solid var(--line-2); } }
.step-tabs label { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s3); align-items: center; padding: var(--s3) var(--s4); min-height: 56px; cursor: pointer; border-radius: var(--r-m); color: var(--slate); position: relative; }
@media (min-width: 720px) {
  .step-tabs label { border-radius: 0; padding: var(--s4) var(--s4) var(--s5) 0; }
  .step-tabs label::after { content: ""; position: absolute; left: 0; right: var(--s4); bottom: -1px; height: 3px; border-radius: var(--r-p); background: transparent; transform-origin: left; transition: background var(--t-mid) var(--ease-out); }
}
.step-tabs label:hover { color: var(--ink); }
.step-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; box-shadow: var(--sh-inset); color: var(--slate); background: var(--card); }
.step-l { font-weight: 650; font-size: 16px; line-height: 1.25; }
#step-1:checked ~ .step-tabs [for="step-1"], #step-2:checked ~ .step-tabs [for="step-2"], #step-3:checked ~ .step-tabs [for="step-3"], #step-4:checked ~ .step-tabs [for="step-4"] { color: var(--ink); background: var(--card); box-shadow: var(--sh-1); }
@media (min-width: 720px) {
  #step-1:checked ~ .step-tabs [for="step-1"], #step-2:checked ~ .step-tabs [for="step-2"], #step-3:checked ~ .step-tabs [for="step-3"], #step-4:checked ~ .step-tabs [for="step-4"] { background: none; box-shadow: none; }
  #step-1:checked ~ .step-tabs [for="step-1"]::after, #step-2:checked ~ .step-tabs [for="step-2"]::after, #step-3:checked ~ .step-tabs [for="step-3"]::after, #step-4:checked ~ .step-tabs [for="step-4"]::after { background: var(--gold); }
}
#step-1:checked ~ .step-tabs [for="step-1"] .step-n, #step-2:checked ~ .step-tabs [for="step-2"] .step-n, #step-3:checked ~ .step-tabs [for="step-3"] .step-n, #step-4:checked ~ .step-tabs [for="step-4"] .step-n { background: var(--ink); color: var(--paper); box-shadow: none; }
#step-1:focus-visible ~ .step-tabs [for="step-1"], #step-2:focus-visible ~ .step-tabs [for="step-2"], #step-3:focus-visible ~ .step-tabs [for="step-3"], #step-4:focus-visible ~ .step-tabs [for="step-4"] { outline: 2px solid var(--workforce); outline-offset: 2px; border-radius: var(--r-m); }
.step-panel { display: none; gap: var(--s6); align-items: center; }
#step-1:checked ~ .step-panels .p1, #step-2:checked ~ .step-panels .p2, #step-3:checked ~ .step-panels .p3, #step-4:checked ~ .step-panels .p4 { display: grid; }
@media (min-width: 900px) { .step-panel { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 5vw, 80px); } }
.step-copy { display: grid; gap: var(--s3); align-content: start; }
.step-copy h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.1; }
.step-copy p { color: var(--slate); font-size: 18px; max-width: 34ch; }
.steps-note { margin-top: var(--s5); font-size: 15px; color: var(--slate); }

/* module accents */
.accent-talent { --accent: var(--talent); }
.accent-campus { --accent: var(--campus); }
.accent-workforce { --accent: var(--workforce); }
.zone-dark .accent-talent, .zone-dark .accent-campus, .zone-dark .accent-workforce { --accent: var(--gold); }
.side-tag { display: flex; width: fit-content; align-items: center; gap: var(--s2); font-size: 15px; font-weight: 650; color: var(--accent); margin-bottom: var(--s4); }
.side-tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* Side compositions on Home: two real screens, never covering each other */

/* ── Comparison table ─────────────────────────────────────────────── */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; text-align: left; background: var(--card); border-radius: var(--r-o); box-shadow: var(--sh-2); overflow: hidden; }
.cmp th, .cmp td { padding: var(--s4) var(--s5); text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { font-weight: 650; color: var(--slate); font-size: 15px; }
.cmp tbody th { font-weight: 600; color: var(--slate); width: 26%; font-size: 15px; }
.cmp .cmp-us { background: var(--ink); color: var(--card); font-weight: 600; border-bottom-color: var(--line-dark); }
.cmp thead .cmp-us { color: var(--gold); }
.cmp-note { margin-top: var(--s4); font-size: 15px; color: var(--slate); }
.cmp-2 tbody th, .cmp-2 thead td:first-child { display: none; }
@media (max-width: 559px) { .cmp th, .cmp td { padding: var(--s3); font-size: 14px; } }

/* ── Rules list, tiles, beats ─────────────────────────────────────── */
.rules { display: grid; border-top: 1px solid var(--line-2); }
.rules li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s4) var(--s5); align-items: start; padding-block: var(--s5); border-bottom: 1px solid var(--line-2); }
.rules h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.022em; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.15; }
.rules p { color: var(--slate); font-size: 16px; margin-top: var(--s2); max-width: 52ch; }
.rules .link { margin-top: var(--s1); }
/* tiles: plain rows with hairlines, not a row of icon cards */
.tiles { display: grid; border-top: 1px solid var(--line-2); }
.tiles > li { min-width: 0; }
@media (min-width: 900px) { .tiles.g3, .tiles.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s7); } }
.tile { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s1) var(--s4); align-content: start; padding-block: var(--s5); border-bottom: 1px solid var(--line-2); }
.tile > :not(.ico):not(.ico-no) { grid-column: 2; }
.tile > .ico, .tile > .ico-no { grid-row: span 3; }
.tile h3 { font-size: 18px; }
.tile p { font-size: 16px; color: var(--slate); }
.zone-dark .tiles, .zone-dark .tile, .zone-deep .tiles, .zone-deep .tile { border-color: var(--line-dark); }
.zone-dark .tile p, .zone-deep .tile p { color: var(--muted-dark); }
.beats { display: grid; gap: 0; counter-reset: beat; border-top: 1px solid var(--line-2); }
.beat { display: grid; gap: var(--s2) var(--s6); padding-block: var(--s5); border-bottom: 1px solid var(--line-2); }
@media (min-width: 720px) { .beat { grid-template-columns: 3.5rem minmax(0, 5fr) minmax(0, 6fr); align-items: baseline; } }
.beat-n { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--gold-ink); line-height: 1.2; }
.beat h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.022em; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.15; }
.beat p { color: var(--slate); font-size: 17px; }
.zone-dark .beats, .zone-deep .beats, .zone-dark .beat, .zone-deep .beat, .zone-dark .rules, .zone-dark .rules li { border-color: var(--line-dark); }
.zone-dark .beat-n, .zone-deep .beat-n { color: var(--gold); }
.zone-dark .beat p, .zone-deep .beat p, .zone-dark .rules p { color: var(--muted-dark); }

/* ── Diagrams (inline SVG) ────────────────────────────────────────── */
.diagram { margin: 0; }
.diagram svg { width: 100%; height: auto; }
.diagram figcaption { font-size: 14px; margin-top: var(--s3); color: var(--slate); }
.zone-dark .diagram figcaption, .zone-deep .diagram figcaption { color: var(--muted-dark); }
.diagram .d-box { fill: var(--card); stroke: var(--line-2); stroke-width: 1.5; }
.diagram .d-fill { fill: var(--ink); }
.diagram .d-gold { fill: var(--gold); stroke: var(--ink); stroke-width: 1.5; }
.diagram .d-line { stroke: var(--ink); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.diagram .d-arrow { fill: var(--ink); }
.diagram .d-t { font-family: var(--text); fill: var(--ink); }
.diagram .d-tb { font-family: var(--text); font-weight: 700; fill: var(--ink); }
.diagram .d-tw { font-family: var(--text); font-weight: 700; fill: var(--card); }
.diagram .d-ts { font-family: var(--text); fill: var(--slate); }
.zone-dark .diagram .d-box, .zone-deep .diagram .d-box { fill: var(--ink-2); stroke: var(--line-dark); }
.zone-dark .diagram .d-line, .zone-deep .diagram .d-line { stroke: var(--muted-dark); }
.zone-dark .diagram .d-arrow, .zone-deep .diagram .d-arrow { fill: var(--gold); }
.zone-dark .diagram :is(.d-t, .d-tb), .zone-deep .diagram :is(.d-t, .d-tb) { fill: var(--card); }
.zone-dark .diagram .d-ts, .zone-deep .diagram .d-ts { fill: var(--muted-dark); }
.zone-dark .diagram .d-fill, .zone-deep .diagram .d-fill { fill: var(--gold); }
.zone-dark .diagram .d-tw, .zone-deep .diagram .d-tw { fill: var(--ink); }
.diagram .d-gold ~ .d-tb { fill: var(--ink); }
.zone-dark .diagram .d-box ~ .d-tb, .zone-deep .diagram .d-box ~ .d-tb { fill: var(--card); }
.diag-made .diag-v { display: none; }
@media (max-width: 559px) { .diag-made .diag-h { display: none; } .diag-made .diag-v { display: block; } }

/* ── The Signal card and the live check ───────────────────────────── */
.vw { display: grid; gap: var(--s5); min-width: 0; }
.vw-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vw-card { position: relative; isolation: isolate; background: var(--card); color: var(--ink); border-radius: var(--r-o); padding: var(--s5); box-shadow: var(--sh-3); overflow: hidden; }
.vw-card::before { content: ""; position: absolute; inset: auto 0 0 0; height: 70%; background: var(--tex-guilloche) center bottom / 720px auto repeat-x; opacity: 0.22; z-index: -1; }
.vw-card-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s4); }
.vw-tags { display: inline-flex; align-items: baseline; gap: var(--s2); flex-wrap: wrap; }
.vw-tag { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; font-size: 22px; line-height: 1; color: var(--ink); }
.vw-tag-sub { font-size: 13px; color: var(--slate); }
.vw-state { display: inline-grid; place-items: center; min-width: 76px; padding: 4px 10px; border: 2px solid var(--ok); color: var(--ok); border-radius: var(--r-m); font-size: 13px; font-weight: 700; transform: rotate(-4deg); }
.vw-state-bad { display: none; }
.vw-sig { width: 148px; height: 24px; margin: var(--s2) 0 var(--s4); fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.vw-meta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s4); margin-bottom: var(--s4); padding-block: var(--s4); border-block: 1px solid var(--line); }
.vw-meta dt { font-size: 12px; color: var(--slate); }
.vw-meta dd { font-size: 14px; font-weight: 600; }
.vw-clusters { display: grid; gap: 7px; }
.vw-clusters li { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr) 2.2em; gap: var(--s3); align-items: center; font-size: 13px; }
.vw-clusters .vw-more { display: block; color: var(--slate); }
.vw-cl-name { overflow-wrap: anywhere; }
.vw-cl-bar { height: 6px; background: var(--paper-2); border-radius: var(--r-p); overflow: hidden; display: block; }
.vw-cl-bar i { display: block; height: 100%; background: var(--ink); border-radius: var(--r-p); }
.vw-cl-val { font-weight: 700; text-align: right; }
.vw-card.is-altered .vw-state { border-color: var(--bad); color: var(--bad); }
.vw-card.is-altered .vw-state-ok { display: none; }
.vw-card.is-altered .vw-state-bad { display: inline; }
.vw-card.is-altered .vw-sig { stroke: var(--bad); stroke-dasharray: 0.06 0.05; }
.vw-panel { display: grid; gap: var(--s4); align-content: start; min-width: 0; }
.vw-result { display: grid; gap: var(--s3); }
.vw-line { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s3); align-items: start; font-size: 16px; line-height: 1.45; color: var(--slate); }
.zone-dark .vw-line, .zone-deep .vw-line { color: var(--muted-dark); }
.vw-icon { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); margin-top: 1px; display: block; }
.vw-line.is-ok .vw-text { color: var(--ok); font-weight: 650; }
.zone-dark .vw-line.is-ok .vw-text { color: var(--ok-dark); }
.vw-line.is-ok .vw-icon { background: var(--ok); border-color: var(--ok); }
.vw-line.is-ok .vw-icon::before { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--card); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.vw-line.is-warn .vw-text { color: var(--ink); font-weight: 650; }
.zone-dark .vw-line.is-warn .vw-text { color: var(--card); }
.vw-line.is-warn .vw-icon { border-color: var(--gold); }
.vw-line.is-warn .vw-icon::before { content: ""; position: absolute; left: 3px; top: 8px; width: 12px; height: 2px; background: var(--gold); }
.vw-line.is-bad .vw-text { color: var(--bad); font-weight: 700; }
.zone-dark .vw-line.is-bad .vw-text { color: var(--bad-dark); }
.vw-line.is-bad .vw-icon { background: var(--bad); border-color: var(--bad); }
.vw-line.is-bad .vw-icon::before, .vw-line.is-bad .vw-icon::after { content: ""; position: absolute; left: 8px; top: 3px; width: 2px; height: 12px; background: var(--card); transform: rotate(45deg); }
.vw-line.is-bad .vw-icon::after { transform: rotate(-45deg); }
.vw-line.is-wait .vw-icon { border-top-color: var(--slate); }
.vw-controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); }
.vw-switch { display: inline-flex; align-items: center; gap: var(--s3); min-height: 48px; padding: 0 var(--s4) 0 var(--s2); border: 0; border-radius: var(--r-m); background: var(--ink-2); color: var(--card); font-weight: 600; cursor: pointer; }
.zone-light .vw-switch, .zone-silver .vw-switch { background: var(--card); color: var(--ink); box-shadow: var(--sh-1); }
.vw-switch-track { position: relative; width: 44px; height: 24px; border-radius: var(--r-p); background: var(--slate); transition: background var(--t-mid) var(--ease-out); }
.vw-switch-knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--card); transition: transform var(--t-mid) var(--ease-out); }
.vw-switch[aria-checked="true"] .vw-switch-track { background: var(--bad); }
.vw-switch[aria-checked="true"] .vw-switch-knob { transform: translateX(20px); }
.vw-honest { font-size: 14px; color: var(--slate); }
.zone-dark .vw-honest { color: var(--muted-dark); }
.vw-bytes pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--mono); font-size: 12px; line-height: 1.55; background: var(--ink-deep); color: var(--muted-dark); padding: var(--s4); border-radius: var(--r-m); max-height: 260px; overflow-y: auto; }
@media (min-width: 900px) {
  .vw-full { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s7); align-items: start; }
}

/* ── Verify console, forms, legal ─────────────────────────────────── */
.console { display: grid; gap: var(--s4); max-width: 720px; }
.console-row { display: grid; gap: var(--s3); }
@media (min-width: 640px) { .console-row { grid-template-columns: minmax(0, 1fr) auto; } }
.console input, .field input, .field select, .field textarea { width: 100%; padding: var(--s3) 14px; min-height: 48px; border: 1px solid var(--line-2); border-radius: var(--r-m); background: var(--card); color: var(--ink); }
.console input:focus-visible, .field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--workforce); outline-offset: 2px; border-color: var(--workforce); }
.result-panel { margin-top: var(--s5); max-width: 720px; border-radius: var(--r-o); background: var(--card); color: var(--ink); box-shadow: var(--sh-2); }
.result-panel:empty { display: none; }
.result-head { padding: var(--s4) var(--s5); border-bottom: 1px solid var(--line); }
.result-verdict { display: flex; align-items: center; gap: var(--s3); font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; font-size: 21px; }
.result-verdict .seal { width: 28px; height: 28px; color: var(--ink); flex: none; }
.result-body { padding: 18px var(--s5); }
.result-body .lede { font-size: 16px; color: var(--slate); }
.result-body .lede + .lede { margin-top: var(--s3); }
.result-body .btn { margin-top: var(--s4); }
.note-box { margin-top: var(--s4); border-left: 3px solid var(--gold); background: var(--paper); padding: var(--s3) var(--s4); font-size: 15px; border-radius: var(--r-m); color: var(--slate); }
.raw summary { cursor: pointer; font-weight: 600; margin-top: var(--s4); min-height: 44px; display: flex; align-items: center; }
.raw pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--mono); font-size: 13px; background: var(--paper); padding: var(--s3); border-radius: var(--r-m); }
.kv { display: grid; gap: 6px; margin-top: var(--s3); }
.kv .row { display: flex; justify-content: space-between; gap: var(--s4); border-bottom: 1px solid var(--line); padding: 6px 0; }
.kv .k { color: var(--slate); }
.kv .v { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.arr { font-weight: 700; }
.field label { display: block; font-weight: 600; margin-bottom: var(--s2); color: var(--ink); }
.field .hint { font-size: 14px; color: var(--slate); margin-top: 6px; }
.field textarea { min-height: 120px; resize: vertical; }
.form { display: grid; gap: var(--s4); }
.form-card, .legal-card { background: var(--card); color: var(--ink); border-radius: var(--r-o); padding: clamp(20px, 3vw, 32px); box-shadow: var(--sh-2); }
.form-card .btn { width: 100%; }
.form-card .small { margin-top: var(--s3); color: var(--slate); font-size: 14px; }
.legal-card h2 { font-family: var(--text); font-weight: 650; font-size: 20px; margin-bottom: var(--s3); }
.legal-card .kv { margin-top: 0; }
.code-block { background: var(--ink-deep); border-radius: var(--r-o); padding: var(--s5); font-family: var(--mono); font-size: 14px; line-height: 1.7; overflow-x: auto; color: var(--card); box-shadow: var(--sh-2); }
.code-block code { font-family: var(--mono); display: block; white-space: pre; }
.code-block .c { color: var(--muted-dark); }
.code-links { display: flex; flex-wrap: wrap; gap: 0 var(--s5); margin-top: var(--s3); }
.small { font-size: 14px; }
.muted { color: var(--slate); }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq-wrap { padding-block: var(--s7) var(--sec); }
.faq { max-width: 1040px; }
.faq-hero .sub { margin-top: var(--s4); }
.faq-item { border-top: 1px solid var(--line-2); }
.faq-item:last-child { border-bottom: 1px solid var(--line-2); }
.faq-item > summary { display: grid; grid-template-columns: 1fr 24px; gap: var(--s4); min-height: 72px; align-items: center; cursor: pointer; list-style: none; padding-block: var(--s4); }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem); line-height: 1.2; }
.faq-item > summary:hover h3 { color: var(--gold-ink); }
.faq-chev { stroke: var(--ink); transition: transform var(--t-mid) var(--ease-out); }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-body { padding-bottom: var(--s5); display: grid; gap: var(--s3); justify-items: start; max-width: 62ch; }
.faq-body p { color: var(--slate); }
.faq-line { margin-top: var(--s6); }

/* ── Closing band ─────────────────────────────────────────────────── */
.band { position: relative; overflow: clip; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: auto 0 0 0; height: 75%; background: var(--tex-guilloche) center bottom / 1100px auto repeat-x; opacity: 0.14; z-index: -1; pointer-events: none; }
.band-in { display: grid; justify-items: start; gap: var(--s5); }
.band h2 { max-width: 18ch; font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.9rem); }
.band .sub { max-width: 34ch; }
.band-mark { width: 44px; height: 44px; }
.band-mark-l { width: 64px; height: 64px; }
.band-foot { font-size: 14px; margin-top: var(--s4); }
.band-foot a { color: inherit; }
.top-rule { border-top: 1px solid var(--line-dark); }

/* ── Footer ───────────────────────────────────────────────────────── */
.site-footer { background: var(--paper-2); color: var(--slate); padding-block: var(--s8) var(--s6); border-top: 1px solid var(--line); }
.foot-top { display: grid; gap: var(--s7); }
@media (min-width: 760px) { .foot-top { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: var(--s6); } }
.foot-tag { margin-top: var(--s3); color: var(--ink); font-weight: 500; max-width: 24ch; }
.foot-brand .foot-small { margin-top: var(--s3); }
.foot-small { font-size: 14px; }
.foot-brand a { color: var(--ink); }
.foot-h { font-family: var(--text); font-size: 14px; font-weight: 650; color: var(--ink); margin-bottom: var(--s2); }
.site-footer nav a { display: flex; align-items: center; min-height: 40px; text-decoration: none; color: var(--slate); font-size: 15px; }
.site-footer nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot-social { display: flex; gap: var(--s2); margin-top: var(--s5); }
.foot-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-m); color: var(--ink); background: var(--card); box-shadow: var(--sh-ring); }
.foot-social a:hover { background: var(--paper); }
.foot-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s6); margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line-2); font-size: 14px; }
.foot-base a { color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }
.foot-base p { padding-block: 10px; }

.nowrap { white-space: nowrap; }
.mt { margin-top: var(--s6); }

/* ── v4: company and product chrome, and the pieces they share ─────── */
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 96px); }
}
.sec-stack { display: grid; gap: var(--s7); }
.sec-stack { grid-template-columns: minmax(0, 1fr); }
.sec-stack > * { grid-area: auto; min-width: 0; }
.sec-stack > .sec-h { display: grid; gap: var(--s4); }
@media (min-width: 960px) {
  .sec-stack > .sec-h { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(48px, 6vw, 112px); align-items: end; }
}
.band-links { display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
.shot-missing { opacity: 0.15; }

/* the ladder: a working life as four steps, the first one thinning out */
.ladder { margin: 0; }
.ladder-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(6px, 1vw, 14px); align-items: end; height: clamp(250px, 30vw, 440px); }
.ladder-steps li { display: grid; align-content: start; gap: var(--s1); padding: clamp(8px, 1.2vw, 18px); background: var(--card); box-shadow: var(--sh-1); border-top-left-radius: var(--r-m); border-top-right-radius: var(--r-m); min-width: 0; }
.ladder-steps .l1 { height: 34%; }
.ladder-steps .l2 { height: 56%; }
.ladder-steps .l3 { height: 78%; }
.ladder-steps .l4 { height: 100%; background: var(--ink); }
.ladder-steps .is-thin { background: none; box-shadow: none; border: 2px dashed var(--gold); border-bottom: 0; }
.ladder-name { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(0.82rem, 0.62rem + 0.75vw, 1.3rem); line-height: 1.15; color: var(--ink); }
.ladder-steps .l4 .ladder-name { color: var(--card); }
.ladder-note { font-size: clamp(11px, 9px + 0.35vw, 14px); line-height: 1.25; font-weight: 600; color: var(--gold-ink); }
.ladder figcaption { margin-top: 0; padding-top: var(--s3); border-top: 1px solid var(--line-2); font-size: 14px; color: var(--slate); }

/* the product grid: one product reads as a wide feature, two or three sit side by side */
.products { display: grid; gap: var(--s5); }
.product { position: relative; display: grid; gap: var(--s6); align-items: center; padding: clamp(24px, 3.4vw, 56px); background: var(--card); border-radius: var(--r-o); box-shadow: var(--sh-1); transition: box-shadow var(--t-mid) var(--ease-out); }
.product:hover { box-shadow: var(--sh-2); }
.product:focus-within { box-shadow: var(--sh-focus); }
.product-copy { display: grid; gap: var(--s3); justify-items: start; align-content: center; min-width: 0; }
.product-stage { font-size: 15px; font-weight: 600; color: var(--slate); }
.product h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem); line-height: 1.05; }
.product-line { font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem); line-height: 1.35; font-weight: 600; color: var(--ink); max-width: 26ch; }
.product-sum { color: var(--slate); max-width: 44ch; }
.product-shot { min-width: 0; }
.product-shot img { width: 100%; }
.product .link::before { content: ""; position: absolute; inset: 0; border-radius: var(--r-o); }
@media (min-width: 900px) {
  .products-n1 .product { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 96px); }
  .products-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .products-n2 .product, .products-n3 .product { align-content: start; align-items: start; }
}

/* demo and sign-in, one door for each side */
.demo-doors { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .demo-doors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.demo-door { display: grid; gap: var(--s3); justify-items: start; align-content: start; padding: clamp(24px, 2.6vw, 40px); background: var(--card); border-radius: var(--r-o); box-shadow: var(--sh-1); }
.demo-line { font-family: var(--display); font-weight: 600; letter-spacing: -0.022em; font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.15; color: var(--ink); margin-bottom: var(--s3); }
.demo-door .btn { width: 100%; background: none; box-shadow: var(--sh-btn); }
.demo-door .btn:hover { background: var(--paper-2); }

/* the four permissions, as the student sees them */
.perms { max-width: 540px; padding: clamp(20px, 3vw, 32px); background: var(--card); color: var(--ink); border-radius: var(--r-o); box-shadow: var(--sh-2); }
.zone-dark .perms, .zone-deep .perms { box-shadow: var(--sh-dark); }
.perms-h { margin-bottom: var(--s3); font-size: 15px; font-weight: 650; color: var(--slate); }
.perms-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto 4.2em; gap: var(--s4); align-items: center; min-height: 60px; border-top: 1px solid var(--line); }
.perm-name { font-size: 17px; font-weight: 600; }
.perm-sw { position: relative; width: 44px; height: 24px; border-radius: var(--r-p); background: var(--line-2); }
.perm-sw i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--card); box-shadow: var(--sh-1); }
.perm-sw.is-on { background: var(--ok); }
.perm-sw.is-on i { left: 23px; }
.perm-state { font-size: 14px; color: var(--slate); text-align: right; }

/* legal pages: the full text, with a contents list that stays in view */
.legal-hero { padding-bottom: var(--s7); }
.legal-hero h1 { max-width: 18ch; }
.legal-hero .sub { max-width: 62ch; margin-top: var(--s5); }
.legal-hero .sub strong { color: var(--ink); font-weight: 650; }
.legal-wrap { padding-top: 0; }
.legal { display: grid; gap: var(--s7); padding-top: var(--s7); border-top: 1px solid var(--line-2); }
.legal-toc-h { margin-bottom: var(--s2); font-size: 15px; font-weight: 650; color: var(--ink); }
.legal-toc ol { display: grid; list-style: none; }
.legal-toc a { display: flex; align-items: center; min-height: 44px; padding-block: 6px; font-size: 15px; line-height: 1.3; color: var(--slate); text-decoration: none; }
.legal-toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.legal-doc { display: grid; gap: var(--s6); max-width: 72ch; min-width: 0; }
.legal-meta { font-size: 14px; color: var(--slate); }
.legal-lead { font-size: 1.15rem; line-height: 1.55; color: var(--ink); }
.legal-sec { display: grid; gap: var(--s3); scroll-margin-top: 96px; }
.legal-sec h2 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.2; letter-spacing: -0.02em; }
.legal-sec p { overflow-wrap: anywhere; }
@media (min-width: 960px) {
  .legal { grid-template-columns: minmax(220px, 3fr) minmax(0, 9fr); gap: clamp(48px, 6vw, 112px); }
  .legal-toc { position: sticky; top: 92px; align-self: start; max-height: calc(100dvh - 116px); overflow-y: auto; }
  .legal-toc a { min-height: 36px; padding-block: 5px; }
}

/* ── Motion: one orchestrated hero entrance (the product stage; the headline paints at once
   so it is the largest paint); the rest answers the reader ─ */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn { transition: background var(--t-fast) var(--ease-out), scale var(--t-fast) var(--ease-out); }
  .btn:active, .vw-switch:active { scale: 0.97; }
  .hero-visual .shot, .hero-visual .ladder { animation: rise var(--t-slow) var(--ease-out) 120ms both; }
  .vw-state { animation: stamp var(--t-slow) var(--ease-out) 800ms backwards; }
  .vw-card.is-altered { animation: shake var(--t-slow) var(--ease-out); }
  .vw-line.is-ok .vw-icon, .vw-line.is-bad .vw-icon { animation: pop var(--t-mid) var(--ease-out); }
  .vw-line.is-wait .vw-icon { animation: spin 900ms linear infinite; }
  .step-panel { animation: slide-in var(--t-mid) var(--ease-out); }
  .more::details-content, .faq-item::details-content { block-size: 0; overflow: clip; transition: block-size var(--t-mid) var(--ease-out), content-visibility var(--t-mid) allow-discrete; }
  .more[open]::details-content, .faq-item[open]::details-content { block-size: auto; }
}
/* every keyframe starts from a visible state: motion adds a small transform, never a fade from 0,
   so a paused or throttled animation still shows the content */
@keyframes rise { from { transform: translateY(12px) scale(0.985); } }
@keyframes slide-in { from { transform: translateX(12px); } }
@keyframes stamp { from { transform: rotate(-4deg) scale(1.18); } }
@keyframes pop { from { scale: 0.7; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-8px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(4px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .skip-link, .nav-menu { position: static; }
  details > * { display: block !important; }
  .zone-dark, .zone-deep { background: var(--card); color: var(--ink); }
}


/* width steps for score bars (no inline style attributes anywhere) */
.w0 { width: 0%; } .w1 { width: 1%; } .w2 { width: 2%; } .w3 { width: 3%; } .w4 { width: 4%; } .w5 { width: 5%; } .w6 { width: 6%; } .w7 { width: 7%; } .w8 { width: 8%; } .w9 { width: 9%; }
.w10 { width: 10%; } .w11 { width: 11%; } .w12 { width: 12%; } .w13 { width: 13%; } .w14 { width: 14%; } .w15 { width: 15%; } .w16 { width: 16%; } .w17 { width: 17%; } .w18 { width: 18%; } .w19 { width: 19%; }
.w20 { width: 20%; } .w21 { width: 21%; } .w22 { width: 22%; } .w23 { width: 23%; } .w24 { width: 24%; } .w25 { width: 25%; } .w26 { width: 26%; } .w27 { width: 27%; } .w28 { width: 28%; } .w29 { width: 29%; }
.w30 { width: 30%; } .w31 { width: 31%; } .w32 { width: 32%; } .w33 { width: 33%; } .w34 { width: 34%; } .w35 { width: 35%; } .w36 { width: 36%; } .w37 { width: 37%; } .w38 { width: 38%; } .w39 { width: 39%; }
.w40 { width: 40%; } .w41 { width: 41%; } .w42 { width: 42%; } .w43 { width: 43%; } .w44 { width: 44%; } .w45 { width: 45%; } .w46 { width: 46%; } .w47 { width: 47%; } .w48 { width: 48%; } .w49 { width: 49%; }
.w50 { width: 50%; } .w51 { width: 51%; } .w52 { width: 52%; } .w53 { width: 53%; } .w54 { width: 54%; } .w55 { width: 55%; } .w56 { width: 56%; } .w57 { width: 57%; } .w58 { width: 58%; } .w59 { width: 59%; }
.w60 { width: 60%; } .w61 { width: 61%; } .w62 { width: 62%; } .w63 { width: 63%; } .w64 { width: 64%; } .w65 { width: 65%; } .w66 { width: 66%; } .w67 { width: 67%; } .w68 { width: 68%; } .w69 { width: 69%; }
.w70 { width: 70%; } .w71 { width: 71%; } .w72 { width: 72%; } .w73 { width: 73%; } .w74 { width: 74%; } .w75 { width: 75%; } .w76 { width: 76%; } .w77 { width: 77%; } .w78 { width: 78%; } .w79 { width: 79%; }
.w80 { width: 80%; } .w81 { width: 81%; } .w82 { width: 82%; } .w83 { width: 83%; } .w84 { width: 84%; } .w85 { width: 85%; } .w86 { width: 86%; } .w87 { width: 87%; } .w88 { width: 88%; } .w89 { width: 89%; }
.w90 { width: 90%; } .w91 { width: 91%; } .w92 { width: 92%; } .w93 { width: 93%; } .w94 { width: 94%; } .w95 { width: 95%; } .w96 { width: 96%; } .w97 { width: 97%; } .w98 { width: 98%; } .w99 { width: 99%; }
.w100 { width: 100%; }
