/* ==========================================================================
   VirtualAssist — corporate site stylesheet (self-contained)
   Sections: reset, tokens, base, nav, buttons, hero, console, proof strip,
   deep-dive bands, closing band, footer, legal documents, responsive.
   ========================================================================== */

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
summary { cursor: pointer; }

/* Tokens */
:root {
  --white: #ffffff;
  --band: #f4f5f7;
  --ink: #0b0d12;
  --body: #525866;
  --muted: #636b78;
  --line: #e4e6ea;
  --blue: #006fff;
  --blue-dark: #005ad1;
  --blue-soft: #e6f0ff;
  --green: #10b981;
  --obsidian: #0b0f17;
  --obsidian-2: #111826;
  --obsidian-3: #172033;
  --on-dark: #e8ecf3;
  --on-dark-muted: #8b95a7;
  --dark-line: rgba(255, 255, 255, 0.1);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --nav-h: 68px;
  --section-y: 128px;
}

/* Base */
body {
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
p + p { margin-top: 16px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--mono); }
.eyebrow {
  display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue);
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(11, 13, 18, 0.07);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand svg { width: 26px; height: 26px; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: -0.03em; }
.badge {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.04em;
  padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--band); color: var(--muted);
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--body); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.mobile-menu { display: none; position: relative; }
.mobile-menu summary {
  list-style: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14px; font-weight: 500; background: var(--white);
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-panel {
  position: absolute; right: 0; top: calc(100% + 12px); min-width: 220px; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 40px -12px rgba(11, 13, 18, 0.2); display: flex; flex-direction: column;
}
.mobile-panel a { padding: 10px 12px; border-radius: 8px; font-size: 15px; text-decoration: none; color: var(--ink); }
.mobile-panel a:hover { background: var(--band); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(0, 111, 255, 0.55); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: #cfd3da; }
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(255, 255, 255, 0.35); }

/* ---------- Hero ---------- */
.hero {
  position: relative; text-align: center; padding: 96px 0 0; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 40%, var(--band) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(11, 13, 18, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 13, 18, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 75%);
}
.hero-copy { position: relative; max-width: 920px; margin: 0 auto; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px;
  font-weight: 500; letter-spacing: 0.05em; color: var(--body);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); letter-spacing: -0.035em; margin: 28px 0 24px; }
.hero .lead { font-size: 1.25rem; line-height: 1.6; color: #525866; max-width: 760px; margin: 0 auto; }
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.hero-stage { position: relative; margin-top: 80px; padding-bottom: 24px; }

/* ---------- Console (dark studio) ---------- */
.console {
  max-width: 1200px; margin: 0 auto; text-align: left;
  background: var(--obsidian); color: var(--on-dark);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; overflow: hidden;
  box-shadow: 0 32px 64px -16px rgba(11, 15, 23, 0.28);
}
.chrome {
  display: flex; align-items: center; gap: 20px; padding: 14px 20px;
  background: var(--obsidian-2); border-bottom: 1px solid var(--dark-line);
}
.lights { display: flex; gap: 8px; flex-shrink: 0; }
.lights i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.lights i:nth-child(1) { background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.chrome-title { flex: 1; min-width: 0; font-family: var(--mono); font-size: 12px; color: var(--on-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chrome-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: #7ee2b8; white-space: nowrap; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); animation: ping 2s infinite; flex-shrink: 0; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

.tabs { display: flex; gap: 4px; padding: 10px 16px 0; background: var(--obsidian-2); border-bottom: 1px solid var(--dark-line); overflow-x: auto; }
.tab {
  background: transparent; border: 1px solid transparent; border-bottom: 0; border-radius: 8px 8px 0 0;
  padding: 10px 18px; font-family: var(--mono); font-size: 12px; color: var(--on-dark-muted); white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.tab:hover { color: var(--on-dark); }
.tab[aria-selected="true"] { color: #fff; background: var(--obsidian); border-color: var(--dark-line); position: relative; top: 1px; }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 2px; background: var(--blue); border-radius: 2px; }

.studio { display: grid; grid-template-columns: 1fr 1.1fr 1.2fr; }
.pane { padding: 26px 24px 28px; border-right: 1px solid var(--dark-line); min-width: 0; }
.pane:last-child { border-right: 0; }
.pane-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.pane-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); }
.pane-num { font-family: var(--mono); font-size: 11px; color: var(--blue); }

.wave {
  display: flex; align-items: center; justify-content: space-between; gap: 3px; height: 64px; padding: 0 14px;
  background: var(--obsidian-2); border: 1px solid var(--dark-line); border-radius: 10px; margin-bottom: 18px;
}
.wave i { display: block; flex: 1; max-width: 5px; height: 100%; background: var(--blue); border-radius: 3px; transform-origin: center; transform: scaleY(0.2); animation: bar 1.3s ease-in-out infinite; opacity: 0.9; }
@keyframes bar { 0%, 100% { transform: scaleY(0.18); } 50% { transform: scaleY(0.95); } }
.wave i:nth-child(4n+1) { animation-delay: -0.2s; } .wave i:nth-child(4n+2) { animation-delay: -0.55s; }
.wave i:nth-child(4n+3) { animation-delay: -0.9s; } .wave i:nth-child(4n) { animation-delay: -1.1s; }
.wave i:nth-child(3n) { animation-duration: 1.05s; } .wave i:nth-child(5n) { animation-duration: 1.6s; }

.rows { border: 1px solid var(--dark-line); border-radius: 10px; background: var(--obsidian-2); overflow: hidden; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 14px; border-bottom: 1px solid var(--dark-line); font-family: var(--mono); font-size: 12px; }
.row:last-child { border-bottom: 0; }
.row .k { color: var(--on-dark-muted); flex-shrink: 0; }
.row .v { color: var(--on-dark); text-align: right; min-width: 0; overflow-wrap: anywhere; }
.row .v.ok { color: #7ee2b8; }
.row .v.blue { color: #5aa2ff; }

.steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.step {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 6px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.03em; color: var(--on-dark-muted);
  border: 1px solid var(--dark-line); background: transparent; transition: all 0.35s ease;
}
.step::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3a4458; }
.step.done { color: #7ee2b8; border-color: rgba(16, 185, 129, 0.35); background: rgba(16, 185, 129, 0.08); }
.step.done::before { background: var(--green); }
.step.active { color: #5aa2ff; border-color: rgba(0, 111, 255, 0.5); background: rgba(0, 111, 255, 0.12); }
.step.active::before { background: var(--blue); animation: ping-blue 1.6s infinite; }
@keyframes ping-blue { 0% { box-shadow: 0 0 0 0 rgba(0, 111, 255, 0.6); } 70% { box-shadow: 0 0 0 7px rgba(0, 111, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 111, 255, 0); } }

.radar { position: relative; height: 170px; border: 1px solid var(--dark-line); border-radius: 10px; overflow: hidden; background: #0d1422; margin-bottom: 16px; }
.radar svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.radar.dim .pin-group { opacity: 0.18; }
.pin-pulse { transform-origin: center; transform-box: fill-box; animation: radar 2.4s ease-out infinite; }
.pin-pulse.d2 { animation-delay: 1.2s; }
@keyframes radar { 0% { transform: scale(0.3); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }
.addr {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-top: 14px;
  border: 1px solid rgba(0, 111, 255, 0.4); background: rgba(0, 111, 255, 0.1); border-radius: 8px;
  font-size: 13px; color: #cfe2ff; line-height: 1.4;
}
.addr svg { width: 16px; height: 16px; flex-shrink: 0; }

.lane { padding: 14px 16px; border-radius: 10px; border: 1px solid var(--dark-line); background: var(--obsidian-2); margin-bottom: 12px; transition: all 0.4s ease; }
.lane-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.lane-name { font-weight: 600; font-size: 14px; }
.lane-sub { font-family: var(--mono); font-size: 11px; color: var(--on-dark-muted); margin-top: 2px; }
.lane-tag { font-family: var(--mono); font-size: 10.5px; padding: 4px 9px; border-radius: 6px; letter-spacing: 0.03em; white-space: nowrap; }
.bar { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); margin-top: 12px; overflow: hidden; }
.bar b { display: block; height: 100%; width: 0; border-radius: 2px; background: var(--blue); transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.lane.won { border-color: rgba(16, 185, 129, 0.55); background: rgba(16, 185, 129, 0.07); }
.lane.won .lane-tag { background: rgba(16, 185, 129, 0.16); color: #7ee2b8; }
.lane.won .bar b { background: var(--green); width: 100%; }
.lane.lost { opacity: 0.55; }
.lane.lost .lane-tag { background: rgba(139, 149, 167, 0.14); color: var(--on-dark-muted); }
.lane.lost .bar b { background: #5d6779; width: 58%; }
.lane.hunting .lane-tag { background: rgba(0, 111, 255, 0.16); color: #5aa2ff; }
.lane.hunting .bar b { width: 45%; }
.lockbar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: #fff; color: var(--ink); font-family: var(--mono);
}
.lockbar .l { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.lockbar .r { font-size: 15px; font-weight: 600; }
.atomic { display: inline-block; margin-left: 6px; font-size: 10px; padding: 2px 7px; border-radius: 4px; background: rgba(16, 185, 129, 0.16); color: #7ee2b8; font-weight: 500; letter-spacing: 0.04em; vertical-align: 1px; }

.console-foot { display: flex; gap: 28px; flex-wrap: wrap; padding: 14px 24px; background: var(--obsidian-2); border-top: 1px solid var(--dark-line); font-family: var(--mono); font-size: 11px; color: var(--on-dark-muted); }
.caption { max-width: 820px; margin: 28px auto 0; font-size: 14px; color: var(--muted); text-align: center; line-height: 1.6; }

/* ---------- Proof strip ---------- */
.proof { background: var(--band); padding: 24px 0 var(--section-y); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.metric { padding: 36px 32px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric .num { font-family: var(--mono); font-size: clamp(1.9rem, 2.8vw, 2.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1.1; display: block; color: var(--ink); }
.metric .num em { font-style: normal; color: var(--blue); }
.metric .lbl { display: block; margin-top: 12px; font-size: 14px; color: var(--body); line-height: 1.5; }

/* ---------- Deep-dive bands ---------- */
.band { padding: var(--section-y) 0; background: var(--white); }
.band.gray { background: var(--band); }
.band-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 88px; align-items: center; }
.band-grid.flip { grid-template-columns: 1.15fr 0.85fr; }
.band-grid.flip .copy { order: 2; }
.copy .idx { font-family: var(--mono); font-size: 13px; color: var(--blue); font-weight: 500; letter-spacing: 0.04em; }
.copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); margin: 14px 0 22px; }
.copy p { font-size: 1.0625rem; color: var(--body); }
.checks { list-style: none; margin-top: 28px; }
.checks li { position: relative; padding: 14px 0 14px 30px; border-top: 1px solid var(--line); font-size: 15px; color: var(--body); }
.band.gray .checks li { border-color: #dcdfe5; }
.checks li::before { content: ""; position: absolute; left: 0; top: 22px; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.checks strong { color: var(--ink); font-weight: 600; }
.text-link { display: inline-block; margin-top: 24px; color: var(--blue); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.frame {
  background: var(--obsidian); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 48px -16px rgba(11, 15, 23, 0.25);
}
.frame-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: var(--obsidian-2); border-bottom: 1px solid var(--dark-line); font-family: var(--mono); font-size: 11.5px; color: var(--on-dark-muted); }
.frame-bar .lights i { width: 10px; height: 10px; }
.frame-body { padding: 24px; }
.frame svg { width: 100%; height: auto; }
.frame svg text { font-family: var(--mono); }

/* ---------- Closing band & footer ---------- */
.closing { background: var(--obsidian); color: var(--on-dark); padding: var(--section-y) 0; text-align: center; border-top: 1px solid var(--dark-line); }
.closing h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); color: #fff; margin: 16px 0 20px; }
.closing p { max-width: 640px; margin: 0 auto; color: var(--on-dark-muted); font-size: 1.125rem; }
.closing-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 720px; margin: 56px auto 0; text-align: left; }
.contact-card { padding: 22px 24px; border: 1px solid var(--dark-line); border-radius: 12px; background: var(--obsidian-2); }
.contact-card .t { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); display: block; margin-bottom: 8px; }
.contact-card a { color: #fff; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { color: #5aa2ff; }

.footer { background: var(--obsidian); color: var(--on-dark-muted); border-top: 1px solid var(--dark-line); padding: 40px 0; font-size: 14px; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.footer a { color: var(--on-dark-muted); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .links { display: flex; gap: 24px; flex-wrap: wrap; }

/* ---------- Legal documents ---------- */
.legal { padding: 96px 0 128px; background: var(--white); }
.legal .wrap { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 96px; align-items: start; }
.toc { position: sticky; top: 104px; font-size: 14px; max-height: calc(100vh - 128px); overflow-y: auto; }
.toc .eyebrow { margin-bottom: 16px; color: var(--muted); }
.toc ol { list-style: none; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; transition: color 0.15s; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--blue); border-left-color: var(--blue); font-weight: 500; }
.doc { max-width: 74ch; }
.doc h1 { font-size: clamp(2.25rem, 4.4vw, 3.25rem); margin-top: 16px; }
.doc .meta { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin: 20px 0 56px; }
.doc h2 { font-size: 24px; letter-spacing: -0.02em; margin-top: 72px; margin-bottom: 16px; }
.doc p, .doc li { color: #2b303a; }
.doc strong { color: var(--ink); }
.doc ul { padding-left: 20px; margin: 12px 0 16px; }
.doc li { margin-bottom: 8px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 24px 0 32px; }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: 14px 16px 14px 0; text-align: left; vertical-align: top; }
.doc th { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 500; border-bottom-color: var(--ink); }
.doc a { color: var(--blue); text-decoration: none; }
.doc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.callout { background: var(--band); border-radius: 12px; padding: 22px 26px; margin: 28px 0; font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { gap: 20px; }
  .badge { display: none; }
}
@media (max-width: 900px) {
  :root { --section-y: 88px; }
  .wrap { padding: 0 24px; }
  .nav-links, .nav-right .btn { display: none; }
  .mobile-menu { display: block; }
  .hero { padding-top: 64px; }
  .hero-stage { margin-top: 56px; }
  .studio { grid-template-columns: minmax(0, 1fr); }
  .pane { border-right: 0; border-bottom: 1px solid var(--dark-line); }
  .pane:last-child { border-bottom: 0; }
  .chrome { flex-wrap: wrap; gap: 10px 16px; }
  .chrome-title { flex-basis: 100%; order: 3; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .band-grid, .band-grid.flip { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .band-grid.flip .copy { order: 0; }
  .contact-cards { grid-template-columns: 1fr; }
  .legal { padding: 64px 0 88px; }
  .legal .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .toc { position: static; max-height: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero h1 { margin-top: 22px; }
  .pill { font-size: 10px; letter-spacing: 0.03em; text-align: left; line-height: 1.4; border-radius: 14px; white-space: normal; max-width: 100%; }
  .hero-actions .btn, .closing-actions .btn { width: 100%; }
  .proof-grid { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 24px; }
  .metric:last-child { border-bottom: 0; }
  .console-foot { gap: 6px 20px; }
  .doc table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
