/* ============================================================
   Gradr — by CardEX Studio
   Direction: premium "AI grading lab" — deep navy, cert gold,
   lab-cyan, holographic slab, glassmorphism, bento.
   Type: Space Grotesk (display) · Hanken Grotesk (body) · Space Mono (data)
   ============================================================ */

:root {
  --void:     #070a12;
  --ink:      #0b0f1c;
  --ink-2:    #0e1424;
  --panel:    #121a2e;
  --panel-2:  #18223b;
  --glass:    rgba(20, 28, 50, 0.55);
  --line:     rgba(255, 255, 255, 0.09);
  --line-2:   rgba(255, 255, 255, 0.16);

  --text:     #eef1f7;
  --muted:    #97a3bf;
  --muted-2:  #5d6a86;

  --gold:     #f6c560;
  --gold-2:   #e6a93a;
  --gold-ink: #241800;
  --lab:      #57e6c6;
  --cyan:     #46c8f0;
  --flag:     #ff6b6b;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;
  --font-mono:    'Space Mono', ui-monospace, monospace;

  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 18px;
  --radius-lg: 26px;

  --holo: linear-gradient(115deg,
    #46c8f0 0%, #57e6c6 20%, #f6c560 40%,
    #ff9ecb 58%, #b98cff 74%, #46c8f0 100%);
  --gold-grad: linear-gradient(135deg, #ffdf94 0%, #f6c560 45%, #d9962b 100%);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Layered atmosphere: navy mesh + gold/lab glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(52vw 44vh at 82% -8%, rgba(246, 197, 96, 0.14), transparent 60%),
    radial-gradient(48vw 42vh at 6% 2%, rgba(87, 230, 198, 0.10), transparent 58%),
    radial-gradient(70vw 60vh at 50% 118%, rgba(70, 200, 240, 0.08), transparent 62%),
    linear-gradient(180deg, #080b15, #070a12 60%);
  pointer-events: none;
}
/* faint grid, like a lab plate */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120vw 120vh at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(60px, 11vh, 128px); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.eyebrow.lab { color: var(--lab); }
.eyebrow.lab::before { background: linear-gradient(90deg, var(--lab), transparent); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.03; margin: 0; }
.h-section { font-size: clamp(30px, 4.6vw, 54px); max-width: 18ch; letter-spacing: -0.03em; }
.lead { color: var(--muted); font-size: clamp(17px, 1.9vw, 20px); max-width: 58ch; margin: 18px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  letter-spacing: -0.01em; padding: 14px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--gold-grad); color: var(--gold-ink); box-shadow: 0 10px 30px -12px rgba(246,197,96,0.5); }
.btn-primary:hover { box-shadow: 0 16px 44px -12px rgba(246,197,96,0.75); }
.btn-ghost { background: rgba(255,255,255,0.03); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--void) 70%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line-2), 0 6px 18px -8px rgba(246,197,96,0.55); }
.brand small { font-family: var(--font-mono); font-weight: 400; font-size: 10px; letter-spacing: 0.12em; color: var(--muted-2); text-transform: uppercase; margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 15px; color: var(--muted); transition: color .18s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { padding: 9px 16px; font-size: 14px; }
@media (max-width: 820px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(44px, 8vh, 92px) clamp(52px, 9vh, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(30px, 6vw, 74px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6.6vw, 78px); letter-spacing: -0.04em; }
.hero h1 .holo-word {
  background: var(--holo); background-size: 220% 220%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: holoshift 8s ease-in-out infinite;
}
@keyframes holoshift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero .lead { margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.disclaimer { margin-top: 22px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--muted-2); text-transform: uppercase; }

/* stats row */
.stats { display: grid; grid-template-columns: repeat(4, auto); gap: clamp(20px, 4vw, 44px); margin-top: 40px; }
.stat b { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 30px); display: block; letter-spacing: -0.02em; }
.stat span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-stage { order: -1; } }
@media (max-width: 460px) { .stats { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* ---------- The Slab (signature) ---------- */
.hero-stage { display: grid; place-items: center; perspective: 1500px; }
.slab {
  position: relative; width: min(340px, 82vw); aspect-ratio: 5 / 7.7;
  border-radius: 24px; padding: 13px;
  background: linear-gradient(160deg, rgba(255,255,255,0.16), rgba(255,255,255,0.02) 42%), var(--panel);
  border: 1px solid var(--line-2);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 46px 100px -32px rgba(0,0,0,0.92), 0 0 70px -22px rgba(246,197,96,0.4);
  transform: rotateY(-15deg) rotateX(6deg); transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.2,.7,.2,1); will-change: transform;
}
.slab::after { content: ""; position: absolute; inset: 0; border-radius: 24px; background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.10) 50%, transparent 60%); pointer-events: none; }

.slab-label {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px 10px;
  padding: 11px 13px; border-radius: 13px; position: relative; z-index: 3;
  background: var(--gold-grad); color: var(--gold-ink);
  box-shadow: 0 6px 18px -8px rgba(246,197,96,0.6);
}
.slab-label .lbl-brand { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.01em; text-transform: uppercase; }
.slab-label .lbl-cert { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.05em; color: #5a4712; grid-column: 1/2; }
.slab-label .lbl-grade { grid-row: 1/3; grid-column: 2; text-align: center; line-height: 0.85; }
.slab-label .lbl-grade b { font-family: var(--font-display); font-weight: 700; font-size: 36px; display: block; color: var(--gold-ink); }
.slab-label .lbl-grade small { font-family: var(--font-mono); font-size: 7.5px; letter-spacing: 0.14em; color: #5a4712; text-transform: uppercase; }

.slab-window {
  position: relative; margin-top: 12px; border-radius: 13px; aspect-ratio: 5 / 6.2; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(87,230,198,0.22), transparent 60%), var(--ink);
  border: 1px solid rgba(255,255,255,0.10);
}
.slab-foil { position: absolute; inset: 0; background: var(--holo); background-size: 300% 300%; opacity: 0.22; mix-blend-mode: screen; filter: saturate(1.3); transition: background-position .1s linear; }
.slab-emblem { position: absolute; inset: 0; display: grid; place-items: center; }
.slab-emblem .orb {
  width: 46%; aspect-ratio: 1; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 50% 38%, rgba(255,255,255,0.92), rgba(87,230,198,0.32) 42%, transparent 60%),
    conic-gradient(from 210deg, var(--lab), var(--gold), #b98cff, var(--lab));
  box-shadow: 0 0 50px -8px rgba(87,230,198,0.7), 0 0 0 1px rgba(255,255,255,0.25) inset;
}
.slab-emblem .orb::before { content: ""; position: absolute; inset: 44% 8% auto 8%; height: 2px; background: rgba(4,8,14,0.75); }
.slab-emblem .orb::after { content: ""; position: absolute; width: 26%; aspect-ratio: 1; inset: 37% auto auto 37%; border-radius: 50%; background: var(--void); box-shadow: 0 0 0 4px rgba(255,255,255,0.85); }
.slab-scan { position: absolute; left: 0; right: 0; top: 0; height: 44%; background: linear-gradient(180deg, transparent, rgba(87,230,198,0.26) 82%, rgba(87,230,198,0.9)); box-shadow: 0 2px 18px 2px rgba(87,230,198,0.5); animation: scan 3.6s cubic-bezier(.5,0,.5,1) infinite; }
@keyframes scan { 0% { transform: translateY(-46%); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(238%); opacity: 0; } }
.slab-subs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; position: relative; z-index: 3; }
.slab-subs div { background: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 7px 4px; text-align: center; font-family: var(--font-mono); }
.slab-subs div small { display: block; font-size: 8px; letter-spacing: 0.08em; color: var(--muted-2); text-transform: uppercase; }
.slab-subs div b { font-size: 15px; color: var(--gold); }

/* ---------- Glass card base ---------- */
.card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.step { position: relative; padding: 26px 24px 28px; overflow: hidden; }
.step-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--lab); }
.step h3 { font-size: 22px; margin: 16px 0 8px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }
.step::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--gold), transparent); opacity: 0.55; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Lab sequence ---------- */
.lab-seq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.phase { padding: 26px 24px; text-align: left; }
.phase .p-idx { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--muted-2); text-transform: uppercase; }
.phase h3 { font-size: 20px; margin: 12px 0 8px; color: var(--lab); }
.phase p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 760px) { .lab-seq { grid-template-columns: 1fr; } }

/* ---------- Grade anatomy ---------- */
.breakdown { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.gauge { padding: 28px; border-radius: var(--radius-lg); }
.gauge-row { display: grid; grid-template-columns: 96px 1fr 44px; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px dashed var(--line); font-family: var(--font-mono); font-size: 13px; }
.gauge-row:last-child { border-bottom: 0; }
.gauge-row .g-name { color: var(--text); letter-spacing: 0.02em; }
.gauge-row .g-bar { height: 8px; border-radius: 999px; background: var(--ink); overflow: hidden; border: 1px solid var(--line); }
.gauge-row .g-fill { height: 100%; border-radius: 999px; background: var(--gold-grad); box-shadow: 0 0 12px rgba(246,197,96,0.5); }
.gauge-row .g-val { text-align: right; color: var(--gold); }
.gauge-note { margin-top: 18px; font-family: var(--font-mono); font-size: 12px; line-height: 1.7; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.gauge-note b { color: var(--lab); font-weight: 400; }
@media (max-width: 820px) { .breakdown { grid-template-columns: 1fr; } }

/* ---------- Bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); gap: 16px; margin-top: 50px; }
.tile { padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.tile .ficon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: rgba(246,197,96,0.12); border: 1px solid rgba(246,197,96,0.28); color: var(--gold); margin-bottom: auto; }
.tile.lab-tile .ficon { background: rgba(87,230,198,0.12); border-color: rgba(87,230,198,0.28); color: var(--lab); }
.tile .ficon svg { width: 22px; height: 22px; }
.tile h3 { font-size: 20px; margin: 16px 0 6px; }
.tile p { color: var(--muted); font-size: 15px; margin: 0; }
.tile-lg { grid-column: span 3; }
.tile-md { grid-column: span 3; }
.tile-sm { grid-column: span 2; }
/* mini chart flourish in the big portfolio tile */
.spark { position: absolute; inset: auto 0 0 0; height: 46%; opacity: 0.5; }
.spark svg { width: 100%; height: 100%; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile-lg, .tile-md, .tile-sm { grid-column: span 1; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; align-items: stretch; }
.tier { padding: 26px 24px 28px; display: flex; flex-direction: column; position: relative; }
.tier.featured { border-color: rgba(246,197,96,0.5); background: linear-gradient(180deg, rgba(246,197,96,0.08), var(--glass)); box-shadow: 0 0 60px -24px rgba(246,197,96,0.6); }
.tier-badge { position: absolute; top: -11px; left: 24px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; background: var(--gold-grad); color: var(--gold-ink); padding: 4px 10px; border-radius: 999px; }
.tier-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.tier-name.gold { color: var(--gold); }
.tier-price { margin: 14px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.tier-price b { font-family: var(--font-display); font-weight: 700; font-size: 40px; letter-spacing: -0.03em; }
.tier-price span { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.tier-tag { font-size: 14px; color: var(--muted); min-height: 40px; }
.tier ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.tier li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--muted); }
.tier li::before { content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 8px; border-left: 2px solid var(--lab); border-bottom: 2px solid var(--lab); transform: rotate(-45deg); }
.tier.featured li::before { border-color: var(--gold); }
.tier .btn { margin-top: auto; justify-content: center; width: 100%; }
.addons { margin-top: 22px; text-align: center; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.03em; color: var(--muted); }
.addons b { color: var(--gold); font-weight: 400; }
@media (max-width: 900px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- FAQ (home) ---------- */
.faq { margin-top: 44px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; margin-bottom: 12px; background: var(--glass); backdrop-filter: blur(8px); }
.faq summary { cursor: pointer; padding: 18px 0; font-family: var(--font-display); font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; font-family: var(--font-mono); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* ---------- Honesty band ---------- */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(80vw 40vh at 50% 120%, rgba(246,197,96,0.06), transparent 60%), var(--ink); }
.band .h-section { max-width: 20ch; }
.flagline { margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; color: var(--flag); padding: 10px 16px; border: 1px solid rgba(255,107,107,0.35); border-radius: 999px; background: rgba(255,107,107,0.06); }
.flagline::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--flag); box-shadow: 0 0 10px var(--flag); }

/* ---------- Final CTA ---------- */
.cta { text-align: center; }
.cta .h-section { margin-inline: auto; max-width: 18ch; }
.cta .hero-cta { justify-content: center; }
.cta-badge { display: inline-flex; margin-bottom: 26px; }
.cta-badge img { width: 62px; height: 62px; border-radius: 15px; box-shadow: 0 12px 30px -10px rgba(246,197,96,0.6); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px; color: var(--muted); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { font-size: 15px; color: var(--muted); transition: color .18s ease; }
.footer-links a:hover { color: var(--gold); }
.footer-fine { margin-top: 26px; font-size: 12.5px; color: var(--muted-2); line-height: 1.7; max-width: 80ch; }

/* ============================================================
   Legal / content pages
   ============================================================ */
.doc { padding-block: clamp(46px, 8vh, 92px) clamp(60px, 11vh, 116px); }
.doc-head { border-bottom: 1px solid var(--line); padding-bottom: 28px; margin-bottom: 40px; }
.doc-head h1 { font-size: clamp(32px, 5vw, 54px); letter-spacing: -0.03em; }
.doc-meta { margin-top: 16px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted-2); text-transform: uppercase; }
.doc-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: 88px; font-size: 14px; }
.toc p { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 12px; }
.toc a { display: block; color: var(--muted); padding: 5px 0 5px 14px; border-left: 1px solid var(--line); transition: color .18s ease, border-color .18s ease; }
.toc a:hover { color: var(--gold); border-color: var(--gold); }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(20px, 2.6vw, 26px); margin: 44px 0 14px; scroll-margin-top: 92px; }
.prose h2 .s-num { font-family: var(--font-mono); font-size: 14px; color: var(--gold); margin-right: 10px; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 18px; padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.prose .callout { border: 1px solid var(--line-2); border-left: 3px solid var(--gold); background: var(--ink); border-radius: 12px; padding: 16px 20px; margin: 22px 0; font-size: 15px; }
.prose .callout.warn { border-left-color: var(--flag); }
.prose .backtop { display: inline-block; margin-top: 40px; font-family: var(--font-mono); font-size: 13px; color: var(--lab); }
@media (max-width: 820px) {
  .doc-layout { grid-template-columns: 1fr; }
  .toc { position: static; margin-bottom: 24px; }
  .toc a { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; margin: 0 6px 6px 0; }
}

/* ---------- Support extras ---------- */
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0 8px; }
.help-card { padding: 24px; }
.help-card h3 { font-size: 18px; margin-bottom: 8px; }
.help-card p { color: var(--muted); font-size: 15px; margin: 0; }
.contact-cta { margin-top: 40px; background: linear-gradient(160deg, var(--panel), var(--ink)); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.contact-cta h3 { font-size: 22px; }
.contact-cta p { color: var(--muted); margin: 6px 0 0; }
.mono-mail { font-family: var(--font-mono); color: var(--gold); }
@media (max-width: 720px) { .help-grid { grid-template-columns: 1fr; } }
