/* ===========================================================
   Atlas AI Academy — Homepage
   Institutional (ETS/PMI register). Big whitespace, real photos,
   micro-motion only. Ink #1a212b, one calm blue accent.
   =========================================================== */

:root {
  --font-head: "Libre Franklin", system-ui, sans-serif;
  --font-body: "Libre Franklin", -apple-system, system-ui, sans-serif;
  --accent: #1d4ed8;
  --accent: #1a56b8;
  --accent-strong: #16447f;
  --accent-tint: #eef3fb;
  --accent-tint-2: #dbe6f7;

  --ink: #1a212b;
  --ink-2: #2c3744;
  --text: #4a5563;
  --muted: #6c7685;
  --faint: #9aa3b1;
  --line: #e6e9ef;
  --line-strong: #d0d6df;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-soft-2: #e7edf4;
  --bg-ink: #131a24;

  --ok: #1f8a5b;
  --no: #c0492f;

  --maxw: 1240px;
  --gutter: 48px;
  --radius: 8px;
  --mono: ui-monospace, "SFMono-Regular", Menlo, "Roboto Mono", monospace;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-sm: 0 1px 2px rgba(20,28,40,.05), 0 1px 1px rgba(20,28,40,.03);
  --shadow-md: 0 16px 40px -22px rgba(20,28,40,.30), 0 2px 8px rgba(20,28,40,.05);
  --shadow-lg: 0 40px 80px -42px rgba(20,28,40,.40), 0 6px 18px rgba(20,28,40,.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-feature-settings: "tnum" 1; }

.label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.label-accent { color: var(--accent-strong); }

/* ---------- buttons / links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--font-body); font-size: 15px; font-weight: 600; padding: 13px 22px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease); white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-arrow { transition: transform .2s var(--ease); }
.btn:hover .btn-arrow, .arrowlink:hover .btn-arrow { transform: translateX(3px); }
.arrowlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--accent-strong); }
.arrowlink svg { width: 16px; height: 16px; }

/* ===========================================================
   NAV — transparent → white on scroll, active section highlight
   =========================================================== */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,0); border-bottom: 1px solid transparent; transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.nav.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4); border-bottom-color: var(--line); }
.nav-inner { height: 84px; display: flex; align-items: center; gap: 32px; transition: height .3s var(--ease); }
.nav.scrolled .nav-inner { height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 32px; height: 32px; border-radius: 6px; flex: none; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.brand-sub { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.nav-links { display: flex; align-items: stretch; align-self: stretch; gap: 46px; margin-left: 56px; }
.nav-link { font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 8px 0; position: relative; white-space: nowrap; transition: color .15s var(--ease); }
.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--accent); transition: right .25s var(--ease); }
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.nav-link.active { color: var(--ink); }

/* Dropdown nav items */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item.has-menu > .nav-link { display: inline-flex; align-items: center; gap: 6px; }
.nav-caret { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .55; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav-item.has-menu:hover .nav-caret, .nav-item.has-menu:focus-within .nav-caret { transform: translateY(0) rotate(225deg); opacity: .9; }
.nav-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  margin-top: -2px;            /* 2px overlap with header so hover never breaks */
  padding-top: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s var(--ease), visibility .18s;
  z-index: 60;
}
/* All nav items share the same full-width "global" dropdown sheet.
   Each item fills the FULL header height so there is no dead gap between
   the link and the menu (which opens flush at the header bottom) — the
   cursor can travel straight down into the panel without losing hover. */
.nav-item.has-menu { position: static; height: 100%; }
.nav-item.has-menu:hover .nav-menu, .nav-item.has-menu:focus-within .nav-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
}
/* Slide animation lives on the INNER sheet, so the outer hover bridge
   stays flush against the header at all times (no transient gap). */
.nav-menu-sheet {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 24px 40px -24px rgba(20,30,45,.22);
  transform: translateY(6px);
  transition: transform .18s var(--ease);
}
.nav-item.has-menu:hover .nav-menu-sheet,
.nav-item.has-menu:focus-within .nav-menu-sheet { transform: translateY(0); }
.nav-menu-wrap {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 34px var(--gutter) 38px;
  display: grid; grid-template-columns: 296px 1fr; gap: 56px;
  min-height: 378px;            /* equal height across all three menus */
  align-items: stretch;
}
.nm-intro { border-right: 1px solid var(--line); padding-right: 40px; display: flex; flex-direction: column; align-items: flex-start; }
.nm-intro-title { display: block; font-family: var(--font-head); font-size: 23px; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); }
.nm-intro-desc { font-size: 14.5px; color: var(--text); line-height: 1.55; margin-top: 12px; max-width: 30ch; }
.nm-intro-price { margin-top: auto; padding-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.nm-cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 44px; }

.nav-menu-links { list-style: none; margin: 0; padding: 0; }
.nm-col .mega-group-title { padding: 0 0 11px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.nm-col .nav-menu-links a { display: block; padding: 9px 0; font-size: 14.5px; font-weight: 500; color: var(--ink); border-left: none; transition: color .14s var(--ease), transform .14s var(--ease); }
.nm-col .nav-menu-links a:hover { color: var(--accent-strong); transform: translateX(3px); }
.nm-link-desc { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.nm-col .nav-menu-links a:hover .nm-link-desc { color: var(--muted); }

.mega-group-title { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Intro CTA: bordered button pinned to the bottom of the panel */
.nm-intro .nav-menu-cta { margin: auto 0 0; padding: 11px 18px; border: 1.5px solid var(--accent); border-radius: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-strong); transition: background .16s var(--ease), color .16s var(--ease); }
.nm-intro .nav-menu-cta:hover { background: var(--accent); color: #fff; }
/* When a price hook sits above it, the price owns the bottom gap instead */
.nm-intro-price + .nav-menu-cta { margin-top: 12px; }
.nm-intro .nav-menu-cta .nmc-arrow { transition: transform .2s var(--ease); }
.nm-intro .nav-menu-cta:hover { color: var(--accent); }
.nm-intro .nav-menu-cta:hover .nmc-arrow { transform: translateX(3px); }

.m-verify { display: inline-flex; align-items: center; gap: 9px; }

/* Verify (global) + Sign up + region switcher */
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.nav-verify { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); padding: 7px 13px; border: 1px solid var(--line-strong); border-radius: 999px; transition: border-color .18s var(--ease), background .18s var(--ease); }
.nav-verify:hover { border-color: var(--accent); background: var(--bg-soft); }
.nv-dot { width: 7px; height: 7px; border-radius: 50%; background: #1f9d57; flex: none; box-shadow: 0 0 0 3px color-mix(in oklab, #1f9d57, transparent 80%); }
.nav-signup { font-size: 15px; font-weight: 600; color: var(--ink); position: relative; padding: 6px 0; }
.nav-signup::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1.5px; background: var(--accent); transition: right .25s var(--ease); }
.nav-signup:hover::after { right: 0; }
.nav-login { font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 6px 0; transition: color .18s; }
.nav-login:hover { color: var(--ink); }

.region { position: relative; }
.region-btn { display: inline-flex; align-items: center; gap: 7px; background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--ink); padding: 7px 4px; }
.region-globe { width: 19px; height: 19px; color: var(--ink-2); }
.region-code { letter-spacing: .02em; }
.region-caret { width: 6px; height: 6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease); }
.region-btn[aria-expanded="true"] .region-caret { transform: translateY(0) rotate(225deg); }
.region-pop { position: absolute; top: calc(100% + 8px); right: 0; width: 232px; background: #fff; border: 1px solid var(--line-strong); border-radius: 4px; box-shadow: var(--shadow-lg); z-index: 70; overflow: hidden; }
.region-note { font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: .03em; padding: 11px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.region-list { list-style: none; margin: 0; padding: 6px 0; max-height: 296px; overflow-y: auto; }
.region-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; text-align: left; background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: 14px; color: var(--ink); padding: 9px 16px; transition: background .12s var(--ease); }
.region-item:hover:not(:disabled) { background: var(--bg-soft); color: var(--accent-strong); }
.region-item.is-current { font-weight: 700; }
.region-check { color: var(--accent); font-weight: 700; }
.region-item.is-disabled { color: var(--faint); cursor: not-allowed; opacity: .55; }

.m-region-note { font-size: 13px; color: var(--muted); padding: 14px 2px 0; font-style: italic; }
.nav-verify { font-size: 14.5px; font-weight: 500; color: var(--ink-2); display: inline-flex; align-items: center; gap: 7px; }
.nav-verify:hover { color: var(--ink); }
.nav-verify .u-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); display: inline-block; }
.nav-login { font-size: 14.5px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; padding: 8px 2px; position: relative; }
.nav-login::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1.5px; background: var(--accent); transition: right .25s var(--ease); }
.nav-login:hover::after { right: 0; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle span { width: 17px; height: 1.6px; background: var(--ink); display: block; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
.mobile-menu { display: none; border-bottom: 1px solid var(--line); background: #fff; padding: 8px var(--gutter) 22px; }
.mobile-menu a.m-link { display: block; padding: 14px 2px; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu .m-group { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.mobile-menu .m-group .m-link-head { border-bottom: none; padding-bottom: 6px; font-weight: 700; }
.mobile-menu .m-sublinks { display: flex; flex-direction: column; padding: 0 0 6px 14px; border-left: 2px solid var(--line); margin-left: 2px; }
.mobile-menu .m-sublink { padding: 9px 2px; font-size: 14.5px; color: var(--ink-2); }
.mobile-menu .m-sublink:hover { color: var(--ink); }
.mobile-menu .m-sub-cta { color: var(--accent-strong); font-weight: 700; }
.mobile-menu .btn { width: 100%; margin-top: 16px; }
.nav.menu-open { background: #fff; }
.nav.menu-open .mobile-menu { display: block; }

/* ===========================================================
   SECTION scaffolding
   =========================================================== */
.section { padding: clamp(72px, 10vh, 124px) 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; }
.sec-head .label { display: inline-flex; align-items: center; gap: 10px; }
.sec-head .label::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.025em; margin-top: 16px; }
.sec-head .sec-intro { color: var(--text); font-size: clamp(16px, 1.4vw, 18.5px); margin-top: 16px; max-width: 56ch; line-height: 1.55; }

/* ===========================================================
   HERO
   =========================================================== */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 11px; }
.hero-eyebrow .he-rule { width: 28px; height: 2px; background: var(--accent); display: inline-block; }
.hero h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.03; letter-spacing: -0.03em; margin-top: 24px; }
.hero-sub { margin-top: 26px; font-size: clamp(17px, 1.5vw, 20px); color: var(--text); max-width: 46ch; line-height: 1.55; }
.hero-cta { margin-top: 38px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Hero credential — the subject. Flips on hover/focus of a STABLE wrapper
   (.card-hover-zone) that never transforms, so the hit area can't flicker. */
.hero-card-stage { display: flex; justify-content: center; }
.card-hover-zone { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1.586 / 1; perspective: 1600px; }
.cardflip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.card-hover-zone:hover .cardflip,
.card-hover-zone:focus-within .cardflip { transform: rotateY(180deg); }
.card-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 14px; border: 1px solid var(--line-strong); background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; transition: opacity .12s linear .18s; }
/* Opacity backstop: guarantees only one face shows even where
   backface-visibility/preserve-3d is unsupported (some capture engines). */
.cardflip .card-front { opacity: 1; }
.cardflip .card-back { opacity: 0; }
.card-hover-zone:hover .card-front,
.card-hover-zone:focus-within .card-front { opacity: 0; }
.card-hover-zone:hover .card-back,
.card-hover-zone:focus-within .card-back { opacity: 1; }
.card-front { padding: 26px 28px; display: flex; flex-direction: column; }
.card-front::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--accent), var(--accent-strong)); }
.cf-top { display: flex; align-items: center; justify-content: space-between; }
.cf-issuer { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--ink); }
.cf-issuer .brand-mark { width: 22px; height: 22px; font-size: 13px; border-radius: 5px; }
.cf-verified { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ok); }
.cf-verified .vchk { width: 18px; height: 18px; border-radius: 50%; background: color-mix(in oklab, var(--ok), #fff 84%); display: grid; place-items: center; }
.cf-verified .vchk svg { width: 11px; height: 11px; }
.cf-verified .vchk path { stroke-dasharray: 16; stroke-dashoffset: 16; }
.hero-in .cf-verified .vchk path { animation: drawcheck .5s var(--ease) .7s forwards; }
@keyframes drawcheck { to { stroke-dashoffset: 0; } }
.cf-label { margin-top: auto; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cf-name { font-family: var(--font-head); font-weight: 800; font-size: clamp(24px, 3vw, 30px); color: var(--ink); margin-top: 6px; letter-spacing: -0.02em; line-height: 1.05; }
.cf-level { color: var(--accent-strong); }
.cf-rows { margin-top: 18px; display: flex; gap: 26px; }
.cf-k { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cf-v { font-size: 14px; color: var(--ink); margin-top: 3px; font-weight: 500; }
.cf-id { font-family: var(--mono); }
.cf-hint { position: absolute; right: 16px; bottom: 14px; font-size: 11px; color: var(--faint); display: inline-flex; align-items: center; gap: 5px; transition: opacity .2s; }
.card-hover-zone:hover .cf-hint,
.card-hover-zone:focus-within .cf-hint { opacity: 0; }

.card-back { transform: rotateY(180deg); background: var(--bg-ink); border-color: var(--bg-ink); color: #c7cfdb; padding: 26px 28px; display: flex; flex-direction: column; }
.cb-top { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8a94a4; }
.cb-mid { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.cb-verify-lab { font-size: 13px; color: #9aa3b1; }
.cb-verify-id { font-family: var(--mono); font-size: 15px; color: #fff; margin-top: 5px; letter-spacing: .03em; }
.cb-link { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #fff; }
.cb-link svg { width: 15px; height: 15px; }
.cb-qr { width: 78px; height: 78px; border-radius: 8px; background: #fff; padding: 7px; flex: none; }
.cb-qr svg { width: 100%; height: 100%; display: block; }

/* ===========================================================
   2.5 — INSTITUTIONAL VERIFICATION STRIP (neutral placeholder)
   =========================================================== */
.trust-strip { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip-inner { display: flex; align-items: center; gap: 24px; padding: 20px 0; flex-wrap: wrap; }
.ts-main { display: flex; align-items: center; gap: 14px; }
.ts-badge { width: 38px; height: 38px; border-radius: 8px; flex: none; background: #fff; border: 1px solid var(--line-strong); color: var(--accent-strong); display: grid; place-items: center; }
.ts-badge svg { width: 19px; height: 19px; }
.ts-text { display: flex; flex-direction: column; }
.ts-line { font-size: 15px; color: var(--ink); }
.ts-verb { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.ts-inst { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--ink); letter-spacing: -0.01em; }
.ts-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.ts-link { margin-left: auto; font-size: 14px; }
.ts-pending { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: #9a6a1e; background: #fbf3e2; border: 1px dashed #e4c987; border-radius: 6px; padding: 5px 9px; cursor: help; white-space: nowrap; }
.trust-strip.is-pending .ts-inst { color: var(--muted); }
@media (max-width: 760px) {
  .ts-link { margin-left: 0; }
}

/* ===========================================================
   3 — EXAM MECHANICS STRIP + LEVELS + DIMENSIONS
   =========================================================== */
/* Mechanics strip (real exam facts, one line) */
.mechanics { border-bottom: 1px solid var(--line); }
.mech-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 26px 0; }
.dim-foot { margin-top: 36px; }
.mech-item { display: flex; flex-direction: column; gap: 3px; position: relative; padding-left: 18px; }
.mech-item::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: var(--accent); }
.mech-k { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--ink); letter-spacing: -0.01em; }
.mech-v { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* Level cards */
.aud-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lvl-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 28px 26px 26px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.lvl-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.lvl-head { display: flex; align-items: center; justify-content: space-between; }
.lvl-badge { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-strong); background: var(--accent-tint); padding: 6px 11px; border-radius: 999px; }
.lvl-diff { display: inline-flex; gap: 5px; align-items: center; }
.lvl-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.lvl-dot.on { background: var(--accent); }
.lvl-title { font-family: var(--font-head); font-weight: 800; font-size: 23px; letter-spacing: -0.015em; margin-top: 18px; color: var(--ink); }
.lvl-rows { margin-top: 16px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.lvl-row { display: flex; flex-direction: column; gap: 3px; }
.lvl-k { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lvl-v { font-size: 14.5px; color: var(--text); line-height: 1.5; }
.lvl-cta { margin-top: 22px; }
.lvl-note { margin-top: 18px; font-size: 12.5px; color: var(--faint); font-style: italic; }

/* Six dimensions grid */
.dim-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.dim-item { background: #fff; padding: 28px 24px 30px; transition: background .25s var(--ease); }
.dim-item:hover { background: var(--bg-soft); }
.dim-top { display: flex; align-items: center; justify-content: space-between; }
.dim-ic { width: 52px; height: 52px; border-radius: 13px; background: var(--accent-tint); color: var(--accent-strong); display: grid; place-items: center; transition: background .25s var(--ease), transform .25s var(--ease); }
.dim-ic svg { width: 28px; height: 28px; }
.dim-item:hover .dim-ic { background: var(--accent-tint-2); transform: translateY(-2px); }
.dim-n { font-size: 13px; font-weight: 700; color: var(--accent-strong); letter-spacing: .04em; }
.dim-name { font-family: var(--font-head); font-weight: 800; font-size: 18.5px; letter-spacing: -0.012em; color: var(--ink); margin-top: 18px; line-height: 1.2; }
.dim-tag { font-size: 14px; color: var(--muted); margin-top: 7px; line-height: 1.45; }

/* ===========================================================
   4 — SAMPLE QUESTION (answerable)
   =========================================================== */
.sample-wrap { margin-top: 44px; display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.sample-aside .label { display: inline-flex; align-items: center; gap: 10px; }
.sample-aside .label::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.sample-aside h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.025em; margin-top: 16px; }
.sample-aside .sec-intro { margin-top: 16px; color: var(--text); font-size: 17px; max-width: 38ch; }
.sample-disc { margin-top: 22px; font-size: 13px; color: var(--muted); border-left: 2px solid var(--line-strong); padding-left: 14px; }

.qcard { border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); padding: 30px; }
.qcard-top { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.qtag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.qtag.level { color: var(--accent-strong); background: var(--accent-tint); }
.qtag.domain { color: var(--muted); border: 1px solid var(--line); }
.qprompt { font-family: var(--font-head); font-weight: 700; font-size: clamp(18px, 1.9vw, 22px); line-height: 1.34; color: var(--ink); letter-spacing: -0.01em; }
.qopts { margin-top: 22px; display: flex; flex-direction: column; gap: 11px; }
.qopt { width: 100%; text-align: left; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; cursor: pointer; padding: 0; overflow: hidden; transition: border-color .18s var(--ease), background .18s var(--ease); font-family: var(--font-body); }
.qopt-main { display: flex; align-items: flex-start; gap: 13px; padding: 15px 16px; }
.qopt-key { flex: none; width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--muted); transition: all .18s var(--ease); }
.qopt-text { font-size: 15px; color: var(--ink); line-height: 1.45; }
.qopt-mark { margin-left: auto; flex: none; width: 20px; height: 20px; align-self: center; opacity: 0; transition: opacity .2s var(--ease); }
.qopt:hover:not(:disabled) { border-color: var(--ink-2); }
.qopt:disabled { cursor: default; }
.qopt.correct { border-color: var(--ok); background: color-mix(in oklab, var(--ok), #fff 93%); }
.qopt.correct .qopt-key { background: var(--ok); color: #fff; border-color: var(--ok); }
.qopt.correct .qopt-mark { opacity: 1; color: var(--ok); }
.qopt.wrong { border-color: var(--no); background: color-mix(in oklab, var(--no), #fff 94%); }
.qopt.wrong .qopt-key { background: var(--no); color: #fff; border-color: var(--no); }
.qopt.wrong .qopt-mark { opacity: 1; color: var(--no); }
.qopt.dim { opacity: .62; }
.qwhy { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.qwhy-inner { padding: 0 16px 15px 55px; font-size: 14px; color: var(--text); line-height: 1.5; }
.qopt.revealed .qwhy { max-height: 140px; }
.qpayoff { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.qpayoff.show { opacity: 1; transform: none; }
.qpayoff .pay-ic { width: 30px; height: 30px; border-radius: 7px; background: var(--accent-tint); color: var(--accent-strong); display: grid; place-items: center; flex: none; }
.qpayoff .pay-ic svg { width: 16px; height: 16px; }
.qpayoff p { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); letter-spacing: -0.01em; }

/* ===========================================================
   5 — SAMPLE RESULT PROFILE (calm two-column: copy + radar)
   =========================================================== */
.profile-split { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.profile-copy .label { display: inline-flex; align-items: center; gap: 10px; }
.profile-copy .label::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.profile-copy h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.025em; margin-top: 16px; }
.profile-copy .sec-intro { color: var(--text); font-size: clamp(16px, 1.4vw, 18.5px); margin-top: 16px; max-width: 46ch; line-height: 1.55; }
.profile-points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 13px; }
.profile-points li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; color: var(--ink); line-height: 1.45; }
.profile-points .pp-check { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 1px; }
.cta-text { display: inline-flex; align-items: center; gap: 9px; margin-top: 28px; font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-strong); }
.cta-text svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.cta-text:hover svg { transform: translateX(4px); }

.profile-figure { display: flex; flex-direction: column; align-items: center; }
.hex-figure { position: relative; width: 100%; max-width: 440px; }
.hex-svg { display: block; width: 100%; height: auto; overflow: visible; }
.hex-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.hex-ring:last-of-type { stroke: var(--line-strong); }
.hex-axis { stroke: var(--line); stroke-width: 1; }
.hex-area { fill: color-mix(in oklab, var(--accent), transparent 82%); stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.hex-dot { fill: #fff; stroke: var(--accent); stroke-width: 2; }
.hex-label .hl-name { font-family: var(--font-body); font-size: 12px; font-weight: 600; fill: var(--muted); }
.hex-label .hl-score { font-family: var(--mono); font-size: 13px; font-weight: 700; fill: var(--ink); }
.hex-overall { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; }
.hex-overall .ho-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 40px; line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.hex-overall .ho-of { font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.profile-sample { margin-top: 8px; font-size: 13px; color: var(--faint); font-style: italic; text-align: center; }

/* ===========================================================
   6 — VERIFY DEMO
   =========================================================== */
.verify-band { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.verify-card { border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; padding: 32px; box-shadow: var(--shadow-sm); }
.verify-form { display: flex; gap: 10px; }
.verify-input { flex: 1; min-width: 0; font-family: var(--mono); font-size: 15px; letter-spacing: .03em; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 14px 16px; transition: border-color .18s var(--ease), background .18s var(--ease); }
.verify-input::placeholder { color: var(--faint); font-family: var(--font-body); letter-spacing: 0; }
.verify-input:focus { outline: none; border-color: var(--accent); background: #fff; }
.verify-result { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 20px; animation: revIn .35s var(--ease) both; }
.vr-row { display: flex; align-items: flex-start; gap: 14px; }
.vr-badge { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.vr-badge.ok { background: color-mix(in oklab, var(--ok), #fff 86%); color: var(--ok); }
.vr-badge.no { background: color-mix(in oklab, var(--no), #fff 88%); color: var(--no); }
.vr-badge svg { width: 21px; height: 21px; }
.vr-status { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.vr-status.ok { color: var(--ok); }
.vr-status.no { color: var(--no); }
.vr-name { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--ink); margin-top: 5px; letter-spacing: -0.015em; }
.vr-sub { font-size: 14px; color: var(--muted); margin-top: 6px; }
.vr-sub .mono { color: var(--ink); }
.vr-link { margin-top: 14px; }
.verify-copy h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.025em; }
.verify-copy p { margin-top: 16px; font-size: 17px; color: var(--text); max-width: 44ch; }
@keyframes revIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ===========================================================
   7 — TRUST: editorial statement + spec sheet (ruled rows)
   =========================================================== */
.trust-layout { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.trust-lead .label { display: inline-flex; align-items: center; gap: 10px; }
.trust-lead .label::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.trust-lead h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.025em; margin-top: 16px; }
.trust-statement { margin-top: 20px; font-size: clamp(17px, 1.5vw, 20px); color: var(--text); line-height: 1.5; max-width: 38ch; }
.trust-lead h2 + .trust-statement { text-wrap: pretty; }

.trust-spec { margin: 0; border-top: 1px solid var(--ink); }
.spec-row { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 26px 4px; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec-row dt { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 14px; }
.spec-n { font-size: 12px; font-weight: 600; color: var(--accent-strong); }
.spec-row dd { margin: 0; font-size: 16px; color: var(--text); line-height: 1.55; }

/* ===========================================================
   8 — EXPLORE
   =========================================================== */
.explore-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.explore-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 26px 24px 24px; display: flex; flex-direction: column; min-height: 180px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.explore-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.explore-item .ex-n { font-family: var(--mono); font-size: 12px; color: var(--accent-strong); font-weight: 600; }
.explore-item h3 { font-size: 19px; letter-spacing: -0.015em; margin-top: 14px; }
.explore-item p { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.5; flex: 1; }
.explore-item .ex-go { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--accent-strong); }
.explore-item .ex-go svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.explore-item:hover .ex-go svg { transform: translateX(3px); }

/* ===========================================================
   9 — CLOSING CTA + FOOTER
   =========================================================== */
.closing { background: var(--bg-ink); color: #aeb7c6; text-align: center; padding: clamp(72px, 10vw, 124px) 0; }
.closing h2 { color: #fff; font-size: clamp(30px, 4.4vw, 54px); letter-spacing: -0.03em; max-width: 18ch; margin: 0 auto; }
.closing p { margin: 20px auto 0; max-width: 46ch; font-size: 18px; color: #9aa3b1; }
.closing-cta { margin-top: 38px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.closing .btn-outline { color: #fff; border-color: rgba(255,255,255,.28); }
.closing .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.06); }

.footer { background: var(--bg-ink); color: #aeb7c6; padding: 8px 0 36px; border-top: 1px solid rgba(255,255,255,.08); }
.footer a { color: #c4ccd8; transition: color .15s var(--ease); }
.footer a:hover { color: #fff; }
.footer-top { padding-top: 56px; display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 36px; }
.footer-brand .brand-name { color: #fff; }
.footer-blurb { margin-top: 16px; font-size: 14px; color: #838c9c; max-width: 32ch; line-height: 1.6; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 15px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 14px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: #7a8394; }
.footer-bottom .fb-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- photo slot annotation styling ---------- */
image-slot { --is-bg: var(--bg-soft); }

/* ===========================================================
   BREADCRUMB
   =========================================================== */
/* ---------- team upsell banner (individual → org pricing) ---------- */
.team-banner { border-top: 1px solid var(--line); background: var(--bg-soft); }
.team-banner-inner { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 12px 0; font-size: 14px; color: var(--text); }
.team-banner-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--accent-strong); white-space: nowrap; }
.team-banner-link svg { transition: transform .2s var(--ease); }
.team-banner-link:hover svg { transform: translateX(3px); }

/* ---------- role-switch banner (org → individual) ---------- */
.role-banner { background: var(--accent-tint); border-bottom: 1px solid color-mix(in oklab, var(--accent), #fff 72%); }
.role-banner-inner { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 10px 0; font-size: 14px; color: var(--text); }
.role-banner-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--accent-strong); white-space: nowrap; }
.role-banner-link svg { transition: transform .2s var(--ease); }
.role-banner-link:hover svg { transform: translateX(3px); }

.crumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.crumb-inner { padding: 12px 0; font-size: 13.5px; line-height: 1.5; white-space: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.crumb-link { color: var(--muted); font-weight: 500; transition: color .15s var(--ease); }
.crumb-link:hover { color: var(--accent-strong); }
.crumb-sep { margin: 0 8px; color: var(--faint); font-size: 12px; }
.crumb-here { color: var(--ink); font-weight: 600; }

/* ===========================================================
   REFERENCE LAYOUT (sidebar nav + scrolling body)
   Used by exam.html, scoring.html
   =========================================================== */
.ref-layout { display: block; padding: clamp(36px, 5vw, 56px) 0; }
.ref-nav { display: none; }
.inline-link { color: var(--accent-strong); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--accent), transparent 70%); text-underline-offset: 3px; transition: text-decoration-color .18s var(--ease); }
.inline-link:hover { text-decoration-color: var(--accent-strong); }

/* ===========================================================
   VERIFY PAGE (verify.html)
   =========================================================== */
.vp-head { padding: clamp(40px, 6vw, 76px) 0 clamp(24px, 3vw, 40px); text-align: center; }
.vp-head h1 { font-size: clamp(30px, 4.4vw, 50px); letter-spacing: -0.03em; margin: 14px auto 0; }
.vp-lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--text); max-width: 56ch; margin: 16px auto 0; line-height: 1.55; }
.vp-methods { margin-top: 44px; display: grid; grid-template-columns: 1.1fr auto 0.9fr; gap: 32px; align-items: start; text-align: left; max-width: 860px; margin-left: auto; margin-right: auto; }
.vp-method { display: flex; flex-direction: column; gap: 14px; }
.vp-method-k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vp-method-desc { font-size: 14.5px; color: var(--text); line-height: 1.55; }
.vp-method-or { display: flex; align-items: center; justify-content: center; padding-top: 38px; }
.vp-method-or span { font-size: 13px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.vp-form { display: flex; gap: 10px; }
.vp-input { flex: 1; min-width: 0; font-family: var(--mono); font-size: 15px; letter-spacing: .03em; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 14px 16px; transition: border-color .18s var(--ease), background .18s var(--ease); }
.vp-input::placeholder { color: var(--faint); font-family: var(--font-body); letter-spacing: 0; }
.vp-input:focus { outline: none; border-color: var(--accent); background: #fff; }
.vp-samples { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.vp-sample-chip { background: var(--accent-tint); color: var(--accent-strong); border: 1px solid color-mix(in oklab, var(--accent), #fff 70%); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .15s var(--ease), border-color .15s var(--ease); }
.vp-sample-chip:hover { background: var(--accent-tint-2); border-color: var(--accent); }
.vp-scan-btn { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; padding: 16px 20px; cursor: pointer; font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--ink); transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.vp-scan-btn:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.vp-scan-ico { width: 44px; height: 44px; border-radius: 8px; background: var(--bg-soft); display: grid; place-items: center; }
.vp-scan-ico svg { width: 28px; height: 28px; color: var(--ink); }
.vp-scanner { border: 1px solid var(--line-strong); border-radius: 12px; padding: 22px; background: #fff; }
.vp-scan-frame { width: 120px; height: 120px; margin: 0 auto; position: relative; display: grid; place-items: center; background: var(--bg-soft); border-radius: 8px; }
.vp-scan-frame svg { width: 80px; height: 80px; color: var(--ink); }
.vp-scan-line { position: absolute; left: 10%; right: 10%; height: 2px; background: var(--accent); top: 50%; animation: scanDown 2s ease-in-out infinite; }
@keyframes scanDown { 0%,100% { top: 20%; } 50% { top: 80%; } }
.vp-scan-hint { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
.vp-scan-actions { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.vp-scan-cancel { background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: 14px; color: var(--muted); font-weight: 500; }
.vp-noacct { margin-top: 28px; font-size: 14px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 9px; }

.vp-body { padding: clamp(24px, 4vw, 48px) 0; }
.vp-fail { display: flex; align-items: flex-start; gap: 16px; border: 1px solid color-mix(in oklab, var(--no), #fff 72%); border-radius: 12px; background: color-mix(in oklab, var(--no), #fff 95%); padding: 24px 28px; max-width: 680px; }
.vp-fail-badge { width: 42px; height: 42px; border-radius: 50%; flex: none; background: color-mix(in oklab, var(--no), #fff 84%); color: var(--no); display: grid; place-items: center; }
.vp-fail-badge svg { width: 22px; height: 22px; }
.vp-fail h3 { font-size: 18px; letter-spacing: -0.01em; margin-bottom: 6px; }
.vp-fail p { font-size: 15px; color: var(--text); line-height: 1.55; }
.vp-how { display: inline-flex; align-items: center; gap: 9px; margin-top: 32px; font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-strong); }
.vp-how svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.vp-how:hover svg { transform: translateX(4px); }
.vp-how-sec { padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--line); background: var(--bg-soft); }
.vp-how-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.vp-how-grid h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.025em; margin-top: 14px; }
.vp-how-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.vp-how-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--ink); line-height: 1.5; }

/* Credential record (verification result) */
.cred-record { border: 1px solid var(--line-strong); border-radius: 16px; background: #fff; box-shadow: var(--shadow-md); overflow: hidden; max-width: 780px; margin: 0 auto; animation: revIn .4s var(--ease) both; }
.cr-sample { background: color-mix(in oklab, #e0a93a, #fff 80%); color: #7a5a12; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 8px 28px; border-bottom: 1px solid color-mix(in oklab, #e0a93a, #fff 60%); }
.cr-top { padding: 28px 28px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.cr-top-l { display: flex; flex-direction: column; gap: 8px; }
.cr-verified { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ok); }
.cr-verified .vr-badge { width: 28px; height: 28px; }
.cr-title { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.02em; }
.cr-level { color: var(--accent-strong); }
.cr-holder-line { font-size: 15px; color: var(--text); }
.cr-seal { width: 48px; height: 48px; flex: none; }
.cr-seal .brand-mark { width: 48px; height: 48px; font-size: 26px; border-radius: 10px; }
.cr-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0 28px; margin-top: 24px; border-top: 1px solid var(--line); }
.cr-field { padding: 16px 4px; border-bottom: 1px solid var(--line); }
.cr-field:nth-child(3n+2), .cr-field:nth-child(3n) { padding-left: 20px; }
.cr-k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cr-v { display: block; font-size: 14.5px; color: var(--ink); margin-top: 4px; font-weight: 500; }
.cr-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: inline-block; margin-right: 7px; vertical-align: middle; }
.cr-scores { padding: 24px 28px; }
.cr-scores-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.cr-scores-head-l { display: flex; flex-direction: column; gap: 4px; }
.cr-scores-title { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -0.01em; }
.cr-scores-note { font-size: 13px; color: var(--muted); }
.cr-view-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.cr-view-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--muted); padding: 8px 14px; transition: background .15s, color .15s; }
.cr-view-btn svg { width: 16px; height: 16px; }
.cr-view-btn:hover { color: var(--ink); }
.cr-view-btn.active { background: var(--bg-soft); color: var(--ink); }
.cr-view-btn + .cr-view-btn { border-left: 1px solid var(--line-strong); }
.cr-score-rows { display: flex; flex-direction: column; gap: 2px; }
.cr-score-row { display: grid; grid-template-columns: 32px 1fr 1.2fr 44px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cr-score-row:last-child { border-bottom: none; }
.cr-score-d { font-size: 12px; font-weight: 700; color: var(--accent-strong); }
.cr-score-name { font-size: 14px; color: var(--ink); font-weight: 600; }
.cr-score-bar { height: 8px; border-radius: 999px; background: var(--bg-soft-2); position: relative; overflow: hidden; }
.cr-score-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--accent); transition: width .5s var(--ease); }
.cr-score-num { font-size: 14px; font-weight: 700; color: var(--ink); text-align: right; }
.cr-radar { display: flex; justify-content: center; padding: 0 20px; }
.cr-radar .hex-figure { max-width: 400px; width: 100%; }
.cr-share { padding: 20px 28px; border-top: 1px solid var(--line); background: var(--bg-soft); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cr-share-l { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cr-share-link { font-size: 13px; color: var(--accent-strong); word-break: break-all; }
.cr-copy { white-space: nowrap; }

/* ===========================================================
   ORG-PRICING PAGE (org-pricing.html)
   =========================================================== */
.op { }
.op-head { padding: clamp(40px, 6vw, 76px) 0 clamp(20px, 3vw, 32px); text-align: center; }
.op-head h1 { font-size: clamp(30px, 4.4vw, 50px); letter-spacing: -0.03em; margin: 14px auto 0; }
.op-lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--text); max-width: 62ch; margin: 16px auto 0; line-height: 1.55; }
.op-tiers-sec { padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); }
.op-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.op-tier { border: 1px solid var(--line-strong); border-radius: 16px; background: #fff; padding: 32px 30px; display: flex; flex-direction: column; }
.op-tier-top { margin-bottom: 24px; }
.op-badge { display: inline-flex; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.op-badge-self { color: var(--accent-strong); background: var(--accent-tint); }
.op-badge-ent { color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); }
.op-tier-name { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.025em; }
.op-tier-for { font-size: 15px; color: var(--muted); margin-top: 6px; }
.op-price { display: flex; align-items: baseline; gap: 6px; }
.op-price-val { font-family: var(--font-head); font-weight: 800; font-size: clamp(38px, 4vw, 52px); color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.op-price-unit { font-size: 16px; color: var(--muted); font-weight: 500; }
.op-price-note { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.op-buy { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.op-buy-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.op-stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; max-width: 180px; }
.op-step { width: 44px; background: var(--bg-soft); border: none; cursor: pointer; font-size: 20px; font-weight: 600; color: var(--ink); display: grid; place-items: center; transition: background .12s; }
.op-step:hover:not(:disabled) { background: var(--bg-soft-2); }
.op-step:disabled { color: var(--faint); cursor: not-allowed; }
.op-step-val { width: 56px; text-align: center; border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 17px; font-weight: 700; color: var(--ink); background: #fff; padding: 10px 4px; }
.op-total { display: flex; flex-direction: column; gap: 2px; }
.op-total-k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.op-total-v { font-size: 16px; color: var(--ink); font-weight: 600; }
.op-cta { width: 100%; }
.op-secure { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.op-lock { width: 15px; height: 15px; flex: none; }
.op-feat { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; padding-top: 0; }
.op-feat li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--ink); line-height: 1.45; }
.op-feat .pp-check { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 1px; }
.op-foot-note { margin-top: 28px; text-align: center; font-size: 14px; color: var(--muted); line-height: 1.55; max-width: 62ch; margin-left: auto; margin-right: auto; border-top: none; }

.op-tier-teams { box-shadow: var(--shadow-md); border-color: color-mix(in oklab, var(--accent), #fff 55%); }

/* ===========================================================
   SCORING THRESHOLD (scoring.html)
   =========================================================== */
.sc-threshold { border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; margin-top: 28px; }
.sc-th-main { padding: 26px 28px; }
.sc-th-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sc-th-value { display: block; font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--ink); letter-spacing: -0.015em; margin-top: 8px; }
.sc-th-note { display: block; font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.sc-th-rule { height: 1px; background: var(--line); }
.sc-th-curve { padding: 22px 28px; background: var(--bg-soft); }
.sc-th-curve-k { display: block; font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 6px; }
.sc-th-curve p { font-size: 15px; color: var(--text); line-height: 1.55; }

/* ===========================================================
   STANDARD PAGE — additional sections
   =========================================================== */
/* Scoring split */
.scoring-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.scoring-copy .label { display: inline-flex; align-items: center; gap: 10px; }
.scoring-copy .label::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.scoring-copy h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.025em; margin-top: 16px; }
.scoring-list { margin: 24px 0 0; border-top: 2px solid var(--ink); }
.scoring-row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.scoring-row dt { font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 12px; }
.scoring-row dd { margin: 0; font-size: 15px; color: var(--text); line-height: 1.55; }
.sc-n { font-size: 12px; font-weight: 600; color: var(--accent-strong); }
.scoring-threshold { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.scoring-threshold svg { color: var(--faint); }

/* Mini hex card */
.scoring-figure { display: flex; justify-content: center; }
.minihex-card { background: #fff; border: 1px solid var(--line-strong); border-radius: 16px; padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center; max-width: 320px; }
.minihex-svg { display: block; width: 100%; height: auto; overflow: visible; }
.minihex-cap { font-size: 14px; color: var(--text); text-align: center; margin-top: 8px; line-height: 1.5; }
.minihex-card .arrowlink { margin-top: 14px; font-size: 14px; }
.minihex-sample { display: inline-flex; margin-top: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9a6a12; background: color-mix(in oklab, #e0a93a, #fff 80%); border: 1px solid color-mix(in oklab, #e0a93a, #fff 60%); padding: 4px 10px; border-radius: 999px; }

/* Version history */
.ver-list { list-style: none; padding: 0; margin: 36px 0 0; border-top: 2px solid var(--ink); }
.ver-row { display: grid; grid-template-columns: 120px 120px 1fr; gap: 20px; align-items: baseline; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.ver-row.current { background: var(--bg-soft); margin: 0 -4px; padding: 20px 8px; border-radius: 6px; }
.ver-tag { display: flex; align-items: center; gap: 10px; }
.ver-num { font-size: 16px; font-weight: 700; color: var(--ink); }
.ver-now { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ok); background: color-mix(in oklab, var(--ok), #fff 88%); padding: 3px 8px; border-radius: 999px; }
.ver-date { font-size: 14px; color: var(--muted); }
.ver-note { font-size: 15px; color: var(--text); line-height: 1.55; }
.ver-actions { margin-top: 24px; display: flex; align-items: center; gap: 28px; }
.ver-sub-link { font-size: 14px; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; transition: color .15s var(--ease), border-color .15s var(--ease); }
.ver-sub-link:hover { color: var(--ink); border-color: var(--ink); }

/* Use the standard */
.use-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.use-card { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.use-card.primary { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-tint), #fff 40%); }
.use-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-tint); color: var(--accent-strong); display: grid; place-items: center; }
.use-ic svg { width: 22px; height: 22px; }
.use-card h3 { font-size: 18px; letter-spacing: -0.015em; }
.use-card p { font-size: 14.5px; color: var(--text); line-height: 1.55; flex: 1; }
.use-card .btn { margin-top: auto; }
.use-cite { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.use-cite-lab { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.use-cite code { display: block; font-family: var(--mono); font-size: 12.5px; color: var(--ink); line-height: 1.5; word-break: break-all; }

/* Closing tertiary link */
.closing-tert { display: block; margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.55); text-align: center; transition: color .18s var(--ease); }
.closing-tert:hover { color: #fff; }

/* ===========================================================
   RESPONSIVE — additional pages
   =========================================================== */
@media (max-width: 860px) {
  .vp-methods { grid-template-columns: 1fr; gap: 24px; }
  .vp-method-or { padding-top: 0; }
  .vp-how-grid { grid-template-columns: 1fr; gap: 24px; }
  .op-tiers { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .scoring-split { grid-template-columns: 1fr; gap: 36px; }
  .scoring-figure { order: -1; }
  .ver-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 4px; }
  .ver-tag { margin-bottom: 0; }
  .use-grid { grid-template-columns: 1fr; }
  .cr-fields { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .vp-form { flex-direction: column; }
  .vp-form .btn { width: 100%; }
  .cr-fields { grid-template-columns: 1fr; }
  .cr-score-row { grid-template-columns: 32px 1fr 44px; }
  .cr-score-bar { display: none; }
}

/* ===========================================================
   Reveal (transform-only so content never strands invisible)
   =========================================================== */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
  .cardflip { transition: none; }
  .hero-in .cf-verified .vchk path { animation: none; stroke-dashoffset: 0; }
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1080px) {
  :root { --gutter: 32px; }
  .nav-links { gap: 24px; margin-left: 22px; }
  .nav-right { gap: 16px; }
  .hero-grid { gap: 48px; }
  .sample-wrap { grid-template-columns: 1fr; gap: 32px; }
  .verify-band { grid-template-columns: 1fr; }
  .trust-layout { grid-template-columns: 1fr; gap: 36px; }
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
  .dim-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-right { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card-stage { justify-content: flex-start; }
  .aud-grid { grid-template-columns: 1fr; max-width: 460px; }
  .mech-inner { grid-template-columns: 1fr; gap: 18px; }
  .profile-split { grid-template-columns: 1fr; gap: 36px; }
  .profile-figure { order: -1; }
  .hex-figure { max-width: 400px; margin: 0 auto; width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .spec-row { grid-template-columns: 1fr; gap: 6px; padding: 22px 4px; }
}
@media (max-width: 460px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .verify-form { flex-direction: column; }
  .verify-form .btn { width: 100%; }
  .explore-grid { grid-template-columns: 1fr; }
  .dim-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .qcard, .verify-card { padding: 22px; }
  .qopt-text { font-size: 14.5px; }
}

/* ===========================================================
   ============  THE STANDARD (standard.html)  ===============
   Reuses every token + .section / .sec-head / .btn / .label
   / .trust-spec / .closing / .footer from above.
   =========================================================== */

/* shared draft affordance ---------------------------------- */
.draft-pill { display: inline-flex; align-items: center; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9a6a1e; background: #fbf3e2; border: 1px dashed #e4c987; border-radius: 5px; padding: 2px 7px; cursor: help; }
.draft-pill.inline { margin-left: 8px; vertical-align: middle; position: relative; top: -1px; }

/* 1 — HERO ------------------------------------------------- */
.std-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.std-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.std-hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -0.03em; margin-top: 24px; }
.std-hero .hero-sub { max-width: 48ch; }
.std-hero-meta { margin-top: 26px; display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.std-hero-meta .shm-item { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.std-hero-meta .shm-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.std-hero .hero-cta { margin-top: 34px; }
.std-hero-aside { display: flex; justify-content: center; }

/* standards-document cover */
.doccover-stage { width: 100%; max-width: 430px; perspective: 1600px; }
.doccover { position: relative; aspect-ratio: 0.84 / 1; background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; display: flex; transform: rotate(-1.4deg); transition: transform .4s var(--ease); }
.std-hero-aside:hover .doccover { transform: rotate(0deg) translateY(-3px); }
.dc-spine { width: 12px; flex: none; background: linear-gradient(180deg, var(--accent), var(--accent-strong)); }
.dc-body { flex: 1; padding: 30px 30px 26px; display: flex; flex-direction: column; }
.dc-top { display: flex; align-items: center; justify-content: space-between; }
.dc-issuer { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--ink); }
.dc-issuer .brand-mark { width: 22px; height: 22px; font-size: 13px; border-radius: 5px; }
.dc-kind { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 4px 8px; }
.dc-title { margin-top: 34px; }
.dc-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); }
.dc-name { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(22px, 2.6vw, 27px); color: var(--ink); letter-spacing: -0.02em; line-height: 1.12; margin-top: 12px; }
.dc-spec { margin-top: 28px; border-top: 1px solid var(--line); }
.dc-spec-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.dc-spec-row span:first-child { color: var(--muted); }
.dc-spec-row span:last-child { color: var(--ink); font-weight: 600; }
.dc-foot { margin-top: auto; padding-top: 24px; display: flex; align-items: flex-end; justify-content: space-between; }
.dc-ver { font-size: 13px; color: var(--muted); }
.dc-ver b { color: var(--ink); font-weight: 700; }
.dc-seal { width: 40px; height: 40px; border-radius: 9px; background: var(--accent-tint); color: var(--accent-strong); display: grid; place-items: center; }
.dc-seal svg { width: 21px; height: 21px; }

/* 2 — INTRO prose ----------------------------------------- */
.std-intro-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.std-intro-head .label { display: inline-flex; align-items: center; gap: 10px; }
.std-intro-head .label::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.std-intro-head h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.025em; margin-top: 16px; max-width: 14ch; }
.std-intro-body p { font-size: 17px; color: var(--text); line-height: 1.62; }
.std-intro-body p + p { margin-top: 18px; }
.std-intro-body p.lead { font-family: var(--font-head); font-weight: 600; font-size: clamp(18px, 1.7vw, 21px); color: var(--ink-2); line-height: 1.5; letter-spacing: -0.01em; }

/* 3 — THE SIX DIMENSIONS (expanded cards) ----------------- */
.dimx-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dimx-card { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 26px 26px 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.dimx-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.dimx-top { display: flex; align-items: center; justify-content: space-between; }
.dimx-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-tint); color: var(--accent-strong); display: grid; place-items: center; }
.dimx-ic svg { width: 23px; height: 23px; }
.dimx-n { font-size: 13px; color: var(--faint); font-weight: 600; }
.dimx-name { font-size: 19px; letter-spacing: -0.018em; margin-top: 18px; line-height: 1.18; }
.dimx-tag { font-size: 13px; font-weight: 600; color: var(--accent-strong); margin-top: 6px; text-transform: uppercase; letter-spacing: .04em; }
.dimx-desc { font-size: 14.5px; color: var(--text); line-height: 1.56; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }

/* shared draft note banner (used by framework) ------------ */
.matrix-draft-note { margin-top: 36px; display: flex; align-items: center; gap: 14px; background: #fbf6ea; border: 1px dashed #e4c987; border-radius: 10px; padding: 14px 18px; }
.matrix-draft-note .mdn-tag { flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9a6a1e; background: #fff; border: 1px solid #e4c987; border-radius: 5px; padding: 4px 9px; }
.matrix-draft-note p { font-size: 14px; color: #7a5a1c; line-height: 1.5; }

/* 4 — COMPETENCY FRAMEWORK (Plan A — level switcher) ------ */
.lvl-switch { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lvl-tab { display: flex; flex-direction: column; gap: 3px; text-align: left; background: #fff; border: 1px solid var(--line-strong); border-radius: 11px; padding: 15px 18px; cursor: pointer; transition: border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease); }
.lvl-tab:hover { border-color: var(--ink-2); }
.lvl-tab-lab { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.lvl-tab-name { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -0.015em; }
.lvl-tab.active { border-color: var(--accent); background: var(--accent-tint); box-shadow: inset 0 0 0 1px var(--accent); }
.lvl-tab.active .lvl-tab-lab { color: var(--accent-strong); }

.lvl-panel { margin-top: 22px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); animation: lvlfade .32s var(--ease) both; }
@keyframes lvlfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.lvl-panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 24px 28px; background: var(--bg-ink); }
.lph-tier { font-size: 12px; font-weight: 600; color: #8aa0d4; letter-spacing: .06em; }
.lph-name { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: #fff; letter-spacing: -0.02em; margin-top: 4px; }
.lph-for { font-size: 14px; color: #aab2c0; max-width: 34ch; text-align: right; line-height: 1.45; }

.req-list { list-style: none; margin: 0; padding: 0; }
.req-row { display: grid; grid-template-columns: minmax(210px, 0.85fr) 1.6fr; gap: 28px; align-items: start; padding: 20px 28px; border-top: 1px solid var(--line); }
.req-row:first-child { border-top: none; }
.req-dim { display: flex; align-items: center; gap: 13px; }
.req-ic { flex: none; width: 38px; height: 38px; border-radius: 9px; background: var(--accent-tint); color: var(--accent-strong); display: grid; place-items: center; }
.req-ic svg { width: 20px; height: 20px; }
.req-dim-name { font-family: var(--font-head); font-weight: 700; font-size: 15.5px; color: var(--ink); letter-spacing: -0.01em; line-height: 1.25; }
.req-text { font-size: 15px; color: var(--text); line-height: 1.56; }

/* 5 — HOW SCORING WORKS ----------------------------------- */
.scoring-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.scoring-copy .label { display: block; }
.scoring-copy h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.025em; margin-top: 14px; }
.scoring-list { margin: 28px 0 0; }
.scoring-row { padding: 18px 0; border-top: 1px solid var(--line); }
.scoring-row:first-child { border-top: 1px solid var(--ink); }
.scoring-row dt { font-family: var(--font-head); font-weight: 700; font-size: 16.5px; color: var(--ink); letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 12px; }
.scoring-row .sc-n { font-size: 12px; color: var(--accent-strong); font-weight: 600; flex: none; }
.scoring-row dd { margin: 7px 0 0 30px; font-size: 14.5px; color: var(--text); line-height: 1.56; }
.scoring-threshold { margin-top: 26px; display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--bg-soft); border: 1px dashed var(--line-strong); border-radius: 8px; padding: 11px 16px; }
.scoring-threshold svg { color: var(--muted); }

.scoring-figure { display: flex; justify-content: center; }
.minihex-card { width: 100%; max-width: 320px; text-align: center; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-md); padding: 28px 28px 24px; position: relative; }
.minihex-svg { display: block; width: 100%; max-width: 240px; margin: 0 auto; height: auto; overflow: visible; }
.minihex-cap { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin-top: 14px; }
.minihex-card .arrowlink { margin-top: 14px; font-size: 14px; justify-content: center; }
.minihex-sample { position: absolute; top: 14px; right: 14px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: 3px 7px; }

/* 5b — spec-row link (extends homepage .trust-spec) ------- */
.spec-row dd .spec-link { display: block; margin-top: 10px; }
.spec-row dd .spec-link .arrowlink { font-size: 14px; }

/* 6 — VERSION HISTORY ------------------------------------- */
.ver-list { margin: 44px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.ver-row { display: grid; grid-template-columns: 130px 150px 1fr; gap: 28px; align-items: baseline; padding: 24px 4px; border-bottom: 1px solid var(--line); }
.ver-row.current { background: linear-gradient(90deg, var(--accent-tint), transparent 70%); margin: 0 -12px; padding: 24px 16px; border-radius: 8px; border-bottom: 1px solid var(--line); }
.ver-tag { display: flex; align-items: center; gap: 10px; }
.ver-num { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
.ver-now { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--accent); border-radius: 999px; padding: 3px 9px; }
.ver-date { font-size: 14px; color: var(--muted); }
.ver-note { font-size: 15.5px; color: var(--text); line-height: 1.55; }
.ver-actions { margin-top: 32px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.ver-actions .arrowlink { font-size: 15px; }
.ver-sub-link { font-size: 14.5px; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: color .15s var(--ease), border-color .15s var(--ease); }
.ver-sub-link:hover { color: var(--ink); border-color: var(--ink); }

/* 7 — USE THE STANDARD ------------------------------------ */
.use-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.use-card { display: flex; flex-direction: column; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; padding: 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.use-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.use-card.primary { background: var(--bg-ink); border-color: var(--bg-ink); color: #c7cfdb; }
.use-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-tint); color: var(--accent-strong); display: grid; place-items: center; }
.use-ic svg { width: 22px; height: 22px; }
.use-card.primary .use-ic { background: rgba(255,255,255,.1); color: #fff; }
.use-card h3 { font-size: 19px; letter-spacing: -0.015em; margin-top: 20px; }
.use-card.primary h3 { color: #fff; }
.use-card > p { font-size: 14.5px; color: var(--text); line-height: 1.55; margin-top: 10px; flex: 1; }
.use-card.primary > p { color: #9aa3b1; }
.use-card .btn { margin-top: 22px; align-self: flex-start; }
.use-card .arrowlink { margin-top: 22px; }
.use-cite { margin-top: 18px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 14px 15px; flex: 1; }
.use-cite-lab { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.use-cite code { display: block; margin-top: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }

/* 8 — closing tertiary link ------------------------------- */
.closing-tert { display: inline-block; margin-top: 22px; font-size: 14.5px; font-weight: 500; color: #9aa3b1; transition: color .15s var(--ease); }
.closing-tert:hover { color: #fff; }

/* responsive --------------------------------------------- */
@media (max-width: 1080px) {
  .std-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .std-hero-aside { justify-content: flex-start; }
  .std-intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .std-intro-head h2 { max-width: none; }
  .dimx-grid { grid-template-columns: repeat(2, 1fr); }
  .use-grid { grid-template-columns: 1fr; max-width: 520px; }
  .scoring-split { grid-template-columns: 1fr; gap: 40px; }
  .scoring-figure { justify-content: flex-start; }
}
@media (max-width: 860px) {
  .dimx-grid { grid-template-columns: 1fr; max-width: 520px; }
  /* level panel → stacked */
  .lvl-panel-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .lph-for { text-align: left; max-width: none; }
  .req-row { grid-template-columns: 1fr; gap: 10px; padding: 18px 22px; }
  .ver-row, .ver-row.current { grid-template-columns: 1fr; gap: 6px; margin: 0; padding: 20px 4px; border-radius: 0; background: none; }
  .ver-row.current { padding: 20px 14px; background: var(--accent-tint); border-radius: 8px; }
}
@media (max-width: 560px) {
  .lvl-switch { grid-template-columns: 1fr; gap: 8px; }
  .lvl-tab { flex-direction: row; align-items: baseline; gap: 10px; }
}
@media (max-width: 460px) {
  .doccover { aspect-ratio: 0.9 / 1; }
  .dc-body { padding: 24px; }
  .matrix-draft-note { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ===========================================================
   VERIFY PAGE (verify.html)
   =========================================================== */
.vp-head { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.vp-head .label { display: inline-flex; align-items: center; gap: 9px; }
.vp-head h1 { font-size: clamp(30px, 4.4vw, 50px); letter-spacing: -0.03em; margin-top: 14px; }
.vp-lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--text); max-width: 60ch; margin-top: 14px; line-height: 1.55; }
.vp-form { display: flex; gap: 12px; margin-top: 28px; max-width: 640px; }
.vp-input { flex: 1; min-width: 0; font-family: var(--font-body); font-size: 16px; color: var(--ink); padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.vp-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent), transparent 86%); }
.vp-samples { margin-top: 16px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.vp-sample-chip { font-size: 12.5px; color: var(--accent-strong); background: var(--accent-tint); border: 1px solid color-mix(in oklab, var(--accent), #fff 74%); padding: 5px 10px; border-radius: 999px; cursor: pointer; transition: background .14s var(--ease); }
.vp-sample-chip:hover { background: color-mix(in oklab, var(--accent), #fff 64%); }

/* --- two parallel lookup methods (ID entry · QR scan) --- */
.vp-methods { display: grid; grid-template-columns: 1fr 44px 1fr; gap: 0; align-items: stretch; text-align: left; max-width: 880px; margin: 30px auto 0; }
.vp-method { display: flex; flex-direction: column; gap: 12px; padding: 4px 8px; }
.vp-method-k { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.vp-method .vp-form { margin-top: 2px; max-width: none; }
.vp-method .vp-samples { justify-content: flex-start; margin-top: 6px; }
.vp-method-desc { font-size: 14px; color: var(--text); line-height: 1.5; }
.vp-method-or { display: grid; place-items: center; position: relative; }
.vp-method-or::before { content: ""; position: absolute; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.vp-method-or span { position: relative; z-index: 1; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); background: var(--bg); padding: 6px 0; }
.vp-scan-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; padding: 12px 18px; cursor: pointer; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.vp-scan-btn:hover { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent), transparent 90%); }
.vp-scan-ico { width: 26px; height: 26px; color: var(--accent-strong); display: grid; place-items: center; }
.vp-scan-ico svg { width: 100%; height: 100%; }
.vp-scanner { border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg-soft); padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vp-scan-frame { position: relative; width: 116px; height: 116px; padding: 14px; border-radius: 10px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.vp-scan-frame svg { width: 100%; height: 100%; display: block; }
.vp-scan-frame::before, .vp-scan-frame::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid var(--accent); }
.vp-scan-frame::before { top: 6px; left: 6px; border-right: none; border-bottom: none; }
.vp-scan-frame::after { bottom: 6px; right: 6px; border-left: none; border-top: none; }
.vp-scan-line { position: absolute; left: 8px; right: 8px; height: 2px; background: color-mix(in oklab, var(--accent), transparent 20%); box-shadow: 0 0 8px var(--accent); animation: vpScan 1.8s var(--ease) infinite; }
@keyframes vpScan { 0%, 100% { top: 12px; } 50% { top: calc(100% - 12px); } }
@media (prefers-reduced-motion: reduce) { .vp-scan-line { animation: none; top: 50%; } }
.vp-scan-hint { font-size: 13px; color: var(--muted); text-align: center; }
.vp-scan-actions { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.vp-scan-cancel { font-size: 13px; color: var(--muted); background: none; border: none; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.vp-scan-cancel:hover { color: var(--ink); }
.vp-noacct { display: inline-flex; align-items: center; gap: 9px; justify-content: center; margin: 22px auto 0; font-size: 13.5px; color: var(--muted); }

@media (max-width: 720px) {
  .vp-methods { grid-template-columns: 1fr; gap: 8px; }
  .vp-method-or { padding: 6px 0; }
  .vp-method-or::before { top: 0; bottom: auto; left: 0; right: 0; height: 1px; width: auto; }
  .vp-method-or span { padding: 0 12px; }
}

.vp-body { padding: clamp(32px, 5vw, 52px) 0 clamp(24px, 4vw, 36px); }

.cred-record { border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; box-shadow: var(--shadow-md); overflow: hidden; }
.cr-sample { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9a6a12; background: color-mix(in oklab, #e0a93a, #fff 80%); border-bottom: 1px solid color-mix(in oklab, #e0a93a, #fff 60%); padding: 8px clamp(22px, 3vw, 30px); text-align: center; }
.cr-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: clamp(22px, 3vw, 30px); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.cr-verified { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #1f7a45; background: color-mix(in oklab, #1f9d57, #fff 86%); border: 1px solid color-mix(in oklab, #1f9d57, #fff 62%); padding: 6px 13px 6px 7px; border-radius: 999px; }
.cr-verified .vr-badge { width: 20px; height: 20px; }
.cr-verified .vr-badge svg { width: 13px; height: 13px; }
.cr-holder-line { font-size: 14.5px; color: var(--text); margin-top: 8px; }
.cr-holder-line strong { color: var(--ink); font-weight: 700; }
.cr-title { font-size: clamp(22px, 2.8vw, 32px); letter-spacing: -0.02em; margin-top: 12px; }
.cr-level { color: var(--accent-strong); font-weight: 700; }
.cr-seal { width: 52px; height: 52px; border-radius: 12px; background: #fff; border: 1px solid var(--line-strong); display: grid; place-items: center; flex: none; }
.cr-seal .brand-mark { width: 30px; height: 30px; font-size: 17px; }

.cr-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.cr-field { background: #fff; padding: 18px clamp(18px, 2.4vw, 26px); display: flex; flex-direction: column; gap: 5px; }
.cr-k { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cr-v { font-size: 16px; font-weight: 600; color: var(--ink); }
.cr-status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1f9d57; margin-right: 7px; vertical-align: middle; }

.cr-scores { padding: clamp(22px, 3vw, 30px); }
.cr-scores-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.cr-scores-head-l { display: flex; flex-direction: column; gap: 4px; }
.cr-scores-title { font-family: var(--font-head); font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.cr-scores-note { font-size: 13px; color: var(--muted); }
.cr-score-rows { display: flex; flex-direction: column; gap: 12px; }
.cr-score-row { display: grid; grid-template-columns: 34px minmax(120px, 1.1fr) 2fr 38px; align-items: center; gap: 14px; }
.cr-score-d { font-size: 12px; font-weight: 700; color: var(--accent-strong); }
.cr-score-name { font-size: 14.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-score-bar { position: relative; height: 8px; border-radius: 999px; background: var(--bg-soft-2); overflow: hidden; }
.cr-score-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--accent); transition: width .9s var(--ease); }
.cr-score-num { font-size: 13.5px; font-weight: 700; color: var(--ink); text-align: right; }

.cr-view-toggle { display: inline-flex; padding: 3px; gap: 2px; background: var(--bg-soft-2); border-radius: 9px; flex: none; }
.cr-view-btn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: 12.5px; font-weight: 600; color: var(--muted); background: transparent; border: none; padding: 6px 12px; border-radius: 7px; cursor: pointer; transition: background .15s var(--ease), color .15s var(--ease), box-shadow .15s var(--ease); }
.cr-view-btn svg { width: 14px; height: 14px; }
.cr-view-btn.active { background: #fff; color: var(--accent-strong); box-shadow: 0 1px 2px rgba(20,30,45,.12); }
.cr-view-btn:not(.active):hover { color: var(--ink); }
.cr-radar { display: flex; justify-content: center; padding: 8px 0 4px; animation: revIn .35s var(--ease) both; }
.cr-radar .hex-figure { max-width: 380px; }

.cr-share { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: clamp(20px, 2.6vw, 26px) clamp(22px, 3vw, 30px); border-top: 1px solid var(--line); background: var(--bg-soft); }
.cr-share-l { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cr-share-link { font-size: 14px; color: var(--accent-strong); word-break: break-all; }
.cr-copy { flex: none; }

.vp-fail { display: flex; align-items: flex-start; gap: 16px; padding: 28px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; }
.vp-fail-badge { width: 36px; height: 36px; border-radius: 50%; background: color-mix(in oklab, #c0392b, #fff 88%); color: #c0392b; display: grid; place-items: center; flex: none; }
.vp-fail-badge svg { width: 18px; height: 18px; }
.vp-fail h3 { font-size: 19px; letter-spacing: -0.01em; }
.vp-fail p { font-size: 14.5px; color: var(--text); margin-top: 5px; }

.vp-how { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); }
.vp-how svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.vp-how:hover svg { transform: translateX(4px); }

.vp-how-sec { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); background: var(--bg-soft); }
.vp-how-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.vp-how-grid h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.025em; margin-top: 14px; }
.vp-how-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.vp-how-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--ink); line-height: 1.5; }
.vp-how-list .pp-check { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.inline-link { color: var(--accent-strong); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.vp-cta-sec { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); text-align: center; }
.vp-cta-inner { max-width: 520px; margin: 0 auto; }
.vp-cta-sec h2 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em; }
.vp-cta-sec p { font-size: 16px; color: var(--text); line-height: 1.55; margin-top: 10px; }
.vp-cta-sec .btn { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; }
.vp-cta-sec .btn svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.vp-cta-sec .btn:hover svg { transform: translateX(4px); }

@media (max-width: 860px) {
  .vp-form { flex-direction: column; }
  .cr-fields { grid-template-columns: 1fr 1fr; }
  .vp-how-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .cr-fields { grid-template-columns: 1fr; }
  .cr-score-row { grid-template-columns: 30px 1fr 34px; grid-template-areas: "d name num" "bar bar bar"; gap: 6px 12px; }
  .cr-score-d { grid-area: d; }
  .cr-score-name { grid-area: name; white-space: normal; }
  .cr-score-num { grid-area: num; }
  .cr-score-bar { grid-area: bar; }
}

/* ===========================================================
   ORG PRICING PAGE (org-pricing.html)
   =========================================================== */
.op-head { padding: clamp(40px, 6vw, 76px) 0 clamp(20px, 3vw, 32px); }
.op-head h1 { font-size: clamp(30px, 4.4vw, 50px); letter-spacing: -0.03em; margin-top: 14px; }
.op-lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--text); max-width: 66ch; margin-top: 16px; line-height: 1.55; }
.op-lead strong { color: var(--ink); font-weight: 700; }

.op-tiers-sec { padding-bottom: clamp(40px, 6vw, 72px); }
.op-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.op-tier { border: 1px solid var(--line-strong); border-radius: 14px; background: #fff; padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; }
.op-tier-teams { border-color: color-mix(in oklab, var(--accent), #fff 55%); box-shadow: 0 24px 48px -32px rgba(20,30,45,.28); }
.op-tier-ent { background: var(--bg-soft); }

.op-badge { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; }
.op-badge-self { color: #1f7a45; background: color-mix(in oklab, #1f9d57, #fff 86%); border: 1px solid color-mix(in oklab, #1f9d57, #fff 64%); }
.op-badge-ent { color: var(--muted); background: #fff; border: 1px solid var(--line-strong); }
.op-tier-name { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.025em; margin-top: 16px; }
.op-tier-for { font-size: 14.5px; color: var(--text); margin-top: 6px; }
.op-tbc { color: var(--faint); font-style: italic; }

.op-price { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; }
.op-price-val { font-family: var(--font-head); font-size: clamp(40px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.op-price-unit { font-size: 16px; font-weight: 600; color: var(--muted); }
.op-price-note { font-size: 13px; color: var(--faint); font-style: italic; margin-top: 8px; }

.op-buy { margin-top: 22px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); display: flex; flex-direction: column; gap: 12px; }
.op-tier-ent .op-buy { background: #fff; }
.op-buy-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.op-stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; width: max-content; background: #fff; }
.op-step { width: 46px; font-size: 22px; font-weight: 600; color: var(--ink); background: #fff; border: none; cursor: pointer; transition: background .14s var(--ease); }
.op-step:hover:not(:disabled) { background: var(--bg-soft-2); color: var(--accent-strong); }
.op-step:disabled { color: var(--faint); cursor: not-allowed; }
.op-step-val { width: 64px; text-align: center; font-size: 17px; font-weight: 700; color: var(--ink); border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: #fff; }
.op-step-val:focus { outline: none; background: var(--accent-tint); }
.op-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 4px; }
.op-total-k { font-size: 13.5px; color: var(--muted); }
.op-total-v { font-size: 15px; font-weight: 700; color: var(--ink); }
.op-cta { width: 100%; margin-top: 4px; }
.op-secure { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.op-lock { width: 14px; height: 14px; color: #1f9d57; }

.op-feat { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 13px; }
.op-feat li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--ink); line-height: 1.45; }
.op-feat .pp-check { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 1px; }
.op-feat strong { font-weight: 700; }
.op-volume-hint { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.op-foot-note { margin-top: 28px; padding-top: 0; border-top: none; font-size: 14px; color: var(--muted); text-align: center; }

@media (max-width: 800px) {
  .op-tiers { grid-template-columns: 1fr; gap: 18px; }
}

/* ===========================================================
   SCORING PAGE — threshold block (scoring.html)
   =========================================================== */
.sc-threshold { display: grid; grid-template-columns: 1.1fr 1px 1fr; gap: 36px; align-items: stretch; margin-top: 8px; padding: 32px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.sc-th-main { display: flex; flex-direction: column; }
.sc-th-label { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-strong); }
.sc-th-value { font-family: var(--font-head); font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin-top: 10px; padding: 4px 0 5px; border-bottom: 2px dashed var(--line-strong); display: inline-block; width: max-content; max-width: 100%; }
.sc-th-note { font-size: 14px; color: var(--muted); line-height: 1.55; margin-top: 12px; max-width: 42ch; }
.sc-th-rule { background: var(--line); }
.sc-th-curve { display: flex; flex-direction: column; justify-content: center; }
.sc-th-curve-k { font-family: var(--font-head); font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.sc-th-curve p { font-size: 15px; color: var(--text); line-height: 1.6; margin-top: 8px; max-width: 44ch; }

@media (max-width: 760px) {
  .sc-threshold { grid-template-columns: 1fr; gap: 24px; }
  .sc-th-rule { height: 1px; }
}


/* ===========================================================
   REFERENCE-PAGE SCAFFOLD (TOEFL/ETS-style: breadcrumb +
   sticky "On this page" left rail + stacked content sections).
   Shared by all subpages.
   =========================================================== */
.crumb { border-bottom: 1px solid var(--line); background: #fff; }
.crumb-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; height: 48px; font-size: 13px; }
.crumb-link { color: var(--muted); transition: color .15s var(--ease); }
.crumb-link:hover { color: var(--accent-strong); }
.crumb-sep { color: var(--faint); }
.crumb-here { color: var(--ink); font-weight: 600; }

/* Two-column reference layout — sidebar + scrolling body */

/* ---- Single-column long-document mode (ETS/TOEFL content-page rhythm) ---- */
.ref-body { max-width: 760px; margin: 0 auto; }
/* Centered page header — shared across all subpages (exam format) */
.xp-head, .op-head, .vp-head { text-align: center; padding-bottom: clamp(20px, 3vw, 32px); }
.xp-head .label, .op-head .label, .vp-head .label { display: none; }
.xp-head h1 { margin-left: auto; margin-right: auto; max-width: 18ch; }
.op-head h1, .vp-head h1 { margin-left: auto; margin-right: auto; }
.op-lead, .vp-lead { margin-left: auto; margin-right: auto; }
.vp-form { justify-content: center; }
.vp-samples { justify-content: center; }
.xp-lead { margin-left: auto; margin-right: auto; }
/* Section headings left-aligned, generous spacing, single-topic blocks */
.ref-body .sec-head { text-align: left; }
.ref-body .sec-head .label { display: none; }
.ref-body .sec-head h2 { font-size: clamp(24px, 3vw, 32px); }
.ref-body .sec-intro { max-width: none; }

/* Three layers → simple stacked definition list (no column cards) */
.ref-body .xp-layers { display: block; border-top: 1px solid var(--line); margin-top: 4px; }
.ref-body .xp-layer { display: grid; grid-template-columns: 170px 1fr; gap: 8px 28px; padding: 18px 0; border: none; border-bottom: 1px solid var(--line); }
.ref-body .xp-layer + .xp-layer { padding-left: 0; }
.ref-body .xp-layer-k { margin-top: 0; }
.ref-body .xp-layer-tag { grid-row: 1; }
.ref-body .xp-layer-v { grid-column: 2; margin-top: 0; }
.ref-body .xp-layer-foot { grid-column: 2; margin-top: 6px; }

/* Six dimensions → radar map on top, six independent modules below (3×2 grid) */
.ref-body .xm-grid { display: block; }
.ref-body .xm-figure { display: block; max-width: 440px; margin: 0 auto 28px; }
.ref-body .xm-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border-top: none; }
.ref-body .xm-leg-item { display: block; border: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.ref-body .xm-leg-n { display: block; margin-bottom: 8px; }
.ref-body .xm-leg-name { font-size: 16px; }
@media (max-width: 620px) {
  .ref-body .xm-legend { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .ref-body .xm-legend { grid-template-columns: 1fr; }
}

/* Emphasis → plain paragraph, no tinted box (keep it to text + headings) */
.ref-body .xp-keyline { margin: 0; padding: 0; border-left: none; border-radius: 0; background: none; font-size: clamp(17px, 1.8vw, 20px); }
.ref-body .xp-nots { display: block; border: none; background: none; border-radius: 0; padding: 0; }
.ref-body .xp-not { border: none; border-right: none; padding: 18px 0 0; }
.ref-body .xp-not + .xp-not { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 4px; }
.ref-body .xp-not:last-child { padding-right: 0; padding-left: 0; }
.ref-body .sc-threshold { border: none; border-radius: 0; background: none; padding: 0; grid-template-columns: 1fr; gap: 22px; border-top: 1px solid var(--line); padding-top: 22px; }
.ref-body .sc-th-rule { display: none; }
.ref-body .sc-th-curve { border-top: 1px solid var(--line); padding-top: 22px; }

/* Scoring profile: single column (text, then the sample figure below) */
.ref-body .profile-split { display: block; }
.ref-body .profile-figure { margin-top: 24px; }
.ref-body .hex-figure { margin: 0 auto; }

/* Tables keep shaded header; just sit in the narrow column */
.ref-body .xp-table-wrap { margin-top: 4px; }

@media (max-width: 620px) {
  .ref-body .xp-layer { grid-template-columns: 1fr; gap: 4px; }
  .ref-body .xp-layer-v, .ref-body .xp-layer-foot { grid-column: 1; }
}
.otp { border-left: 2px solid var(--line); }
.otp-title { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 0 12px 18px; }
.otp-list { list-style: none; margin: 0; padding: 0; }
.otp-list li { margin: 0; }
.otp-link { display: block; padding: 8px 0 8px 18px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14px; color: var(--text); line-height: 1.4; transition: color .15s var(--ease), border-color .15s var(--ease); }
.otp-link:hover { color: var(--accent-strong); }
.otp-link.active { color: var(--accent-strong); font-weight: 700; border-left-color: var(--accent); }

.ref-body { min-width: 0; }
/* Inside the reference layout, sections are plain stacked blocks (no full-bleed
   bands / alternating backgrounds) — the ETS "reference doc" rhythm. */
.ref-body .ref-sec { padding: 0 0 clamp(36px, 5vw, 56px); scroll-margin-top: 96px; }
.ref-body .ref-sec + .ref-sec { padding-top: clamp(34px, 5vw, 52px); }
.ref-body .sec-head { max-width: none; margin-bottom: 24px; }

@media (max-width: 900px) {
  .ref-layout { grid-template-columns: 1fr; gap: 0; }
  .ref-nav { position: static; margin-bottom: 28px; }
  .otp { border-left: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
  .otp-title { padding-left: 0; }
  .otp-list { display: flex; flex-wrap: wrap; gap: 6px 18px; }
  .otp-link { padding: 4px 0; border-left: none; }
  .otp-link.active { border-left: none; }
}

/* ===========================================================
   TEST CONTENT & STRUCTURE PAGE (exam.html)
   =========================================================== */
.xp-head { padding: clamp(40px, 6vw, 76px) 0 clamp(8px, 2vw, 20px); }
.xp-head h1 { font-size: clamp(30px, 4.4vw, 50px); letter-spacing: -0.03em; margin-top: 14px; }
.xp-lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--text); max-width: 64ch; margin-top: 16px; line-height: 1.55; }

/* 1 — three orthogonal layers (flat, editorial — no card chrome) */
.xp-layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 8px; border-top: 2px solid var(--ink); }
.xp-layer { padding: 26px 32px 24px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.xp-layer:last-child { border-right: none; padding-right: 0; }
.xp-layer + .xp-layer { padding-left: 32px; }
.xp-layer-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-strong); }
.xp-layer-k { font-family: var(--font-head); font-size: 23px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin-top: 8px; }
.xp-layer-v { font-size: 15px; color: var(--text); line-height: 1.6; margin-top: 10px; flex: 1; }
.xp-layer-foot { display: block; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--muted); }
.xp-layer-link { color: var(--accent-strong); display: inline-flex; align-items: center; gap: 7px; }
.xp-layer-link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.xp-layer-link:hover svg { transform: translateX(3px); }
.xp-keyline { margin-top: 40px; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-family: var(--font-head); font-size: clamp(19px, 2.1vw, 24px); font-weight: 700; letter-spacing: -0.01em; color: var(--ink); line-height: 1.4; max-width: 72ch; }

/* 2 — six dimensions radar map + slim legend */
.xm-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-bottom: 26px; }
.xm-figure { display: flex; justify-content: center; }
.xm-svg { width: 100%; max-width: 460px; height: auto; overflow: visible; }
.xm-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.xm-ring:last-of-type { stroke: var(--line-strong); }
.xm-axis { stroke: var(--line); stroke-width: 1; }
.xm-area { fill: color-mix(in oklab, var(--accent), transparent 84%); stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.xm-dot { fill: #fff; stroke: var(--accent); stroke-width: 2; }
.xm-label .xm-d { font-family: var(--mono, ui-monospace), monospace; font-size: 12px; font-weight: 700; fill: var(--accent-strong); }
.xm-label .xm-name { font-family: var(--font-body); font-size: 13px; font-weight: 600; fill: var(--ink); }
.xm-legend { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.xm-leg-item { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; gap: 14px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.xm-leg-n { font-size: 13px; font-weight: 700; color: var(--accent-strong); }
.xm-leg-text { display: flex; flex-direction: column; gap: 2px; }
.xm-leg-name { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.xm-leg-tag { font-size: 13.5px; color: var(--muted); }

/* 3 — compare matrix (CFA/ETS-style real table) */
.xp-table-wrap { margin-top: 8px; overflow-x: auto; }
.xp-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.xp-table th, .xp-table td { text-align: left; vertical-align: top; padding: 18px 22px; line-height: 1.5; border-bottom: 1px solid var(--line); }
.xp-table thead th { border-bottom: 2px solid var(--ink); padding-bottom: 16px; vertical-align: bottom; }
.xpt-corner { width: 200px; border-bottom: 2px solid var(--ink) !important; }
.xpt-col-tag { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 4px; }
.xpt-col-name { font-family: var(--font-head); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.xp-table tbody th[scope="row"] { width: 200px; font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--ink); background: var(--bg-soft); border-right: 1px solid var(--line); }
.xpt-rownote { font-weight: 500; color: var(--muted); font-size: 13px; }
.xp-table tbody td { color: var(--text); }
.xp-table tbody tr:last-child th, .xp-table tbody tr:last-child td { border-bottom: 2px solid var(--ink); }
.xp-table-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* 4 — two things it is NOT (flat, numbered — no icon tiles) */
.xp-nots { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--ink); }
.xp-not { padding: 28px 36px 28px 0; border-right: 1px solid var(--line); }
.xp-not:last-child { border-right: none; padding-right: 0; padding-left: 36px; }
.xp-not-n { display: block; font-size: 12px; font-weight: 600; color: var(--accent-strong); margin-bottom: 12px; }
.xp-not h3 { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; line-height: 1.25; }
.xp-not p { font-size: 15px; color: var(--text); line-height: 1.6; margin-top: 10px; }
.xp-not-foot { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink); line-height: 1.6; max-width: 78ch; }
.xp-not-foot strong { font-weight: 700; }

/* 5 — format & logistics */
.xp-format { margin: 0; border-top: 2px solid var(--ink); }
.xp-format-row { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 20px 4px; border-bottom: 1px solid var(--line); align-items: baseline; }
.xp-format-row dt { font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }
.xp-format-row dd { margin: 0; font-size: 15.5px; color: var(--text); line-height: 1.5; }
.xp-closing-sub { margin-top: 22px; }

@media (max-width: 860px) {
  .xp-layers { grid-template-columns: 1fr; }
  .xp-layer { border-right: none; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .xp-layer + .xp-layer { padding-left: 0; }
  .xp-layer:last-child { border-bottom: none; }
  .xm-grid { grid-template-columns: 1fr; gap: 12px; }
  .xm-figure { order: -1; }
  .xp-nots { grid-template-columns: 1fr; }
  .xp-not { border-right: none; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .xp-not:last-child { border-bottom: none; padding-left: 0; }
  .xp-format-row { grid-template-columns: 1fr; gap: 4px; }
  .xp-table tbody th[scope="row"] { width: 150px; }
  .xpt-corner { width: 150px; }
}



