/* Interview Realtime Copilot — website design system (dark, premium). */
:root {
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --bg: #06070b; --bg-2: #0b0d14; --panel: rgba(255,255,255,.035); --panel-2: rgba(255,255,255,.06);
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --text: #f4f5f8; --muted: #a3a8b8; --faint: #6b7183;
  --a1: #7c5cff; --a2: #4f7cff; --a3: #2ad4ff; --good: #3ddc97; --warn: #ffb547;
  --grad: linear-gradient(120deg, var(--a1), var(--a2) 45%, var(--a3));
  font: 16px/1.65 var(--font); color: var(--text); color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(900px 600px at 15% -10%, rgba(124,92,255,.22), transparent 60%),
              radial-gradient(800px 500px at 90% 0%, rgba(42,212,255,.14), transparent 60%),
              linear-gradient(transparent 0 0) , var(--bg); }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.spacer { flex: 1; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* nav */
header.nav { position: sticky; top: 0; z-index: 30; backdrop-filter: saturate(160%) blur(16px); background: rgba(6,7,11,.72); border-bottom: 1px solid var(--line); }
header.nav .wrap { display: flex; align-items: center; gap: 30px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; }
.logo { width: 30px; height: 30px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; font: 800 11px var(--mono); color: #fff; box-shadow: 0 0 24px rgba(124,92,255,.55); }
nav.links { display: flex; gap: 26px; font-size: 15px; color: var(--muted); }
nav.links a { white-space: nowrap; transition: color .15s; } nav.links a:hover, nav.links a.active { color: var(--text); }
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; color: var(--muted); font: 600 12px var(--font); padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.lang button.on { background: var(--panel-2); color: var(--text); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 20px; border-radius: 12px; white-space: nowrap;
  border: 1px solid var(--line-2); background: var(--panel); color: var(--text); font: 550 15px var(--font); cursor: pointer; transition: transform .15s, background .15s, box-shadow .2s; }
.btn:hover { background: var(--panel-2); transform: translateY(-1px); }
.btn.primary { border: 0; background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px rgba(79,124,255,.65); }
.btn.primary:hover { box-shadow: 0 14px 40px -8px rgba(124,92,255,.8); }
.btn.lg { height: 54px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }

/* type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #b8c4ff; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); font-size: 13.5px; color: var(--muted); }
.pill b { background: var(--grad); color: #fff; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; }
h1 { font-size: clamp(42px, 6vw, 74px); line-height: 1.04; letter-spacing: -.035em; margin: 22px 0 22px; font-weight: 750; }
h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.1; letter-spacing: -.03em; margin: 14px 0 16px; font-weight: 720; }
h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -.01em; }
.lead { font-size: 19.5px; color: var(--muted); max-width: 660px; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .small { font-size: 14px; }
.center { text-align: center; } .center .lead { margin: 0 auto; }
section { padding: 110px 0; position: relative; }

/* hero */
.hero { padding: 96px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.trust { margin-top: 26px; display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--faint); }
.trust span::before { content: "✓"; color: var(--good); margin-right: 7px; }
.stage { position: relative; }
.stage::before { content: ""; position: absolute; inset: -40px -20px; background: radial-gradient(closest-side, rgba(124,92,255,.35), transparent 70%); filter: blur(30px); z-index: -1; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 20px; background: var(--panel); margin-top: 10px; }
.stats div { padding: 26px 28px; border-left: 1px solid var(--line); } .stats div:first-child { border-left: 0; }
.stats b { display: block; font-size: 30px; letter-spacing: -.02em; } .stats span { color: var(--muted); font-size: 14px; }

/* bento features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 50px; }
.tile { grid-column: span 2; border: 1px solid var(--line); border-radius: 22px; padding: 30px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); position: relative; overflow: hidden; }
.tile.wide { grid-column: span 3; } .tile.full { grid-column: span 6; }
.tile .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(124,92,255,.14); border: 1px solid rgba(124,92,255,.3); margin-bottom: 18px; font-size: 20px; }
.tile p { color: var(--muted); margin: 0; }
.tile::after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; background: radial-gradient(closest-side, rgba(79,124,255,.18), transparent); }

/* steps */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; counter-reset: step; }
.timeline div { counter-increment: step; border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: var(--panel); }
.timeline div::before { content: "0" counter(step); display: block; font: 700 13px var(--mono); color: #b8c4ff; margin-bottom: 14px; letter-spacing: .1em; }
.timeline p { color: var(--muted); margin: 6px 0 0; font-size: 15px; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; color: var(--muted); } .checks li::before { content: "✓"; color: var(--good); font-weight: 700; }
.glass { border: 1px solid var(--line-2); border-radius: 24px; padding: 34px; background: linear-gradient(160deg, rgba(124,92,255,.12), rgba(42,212,255,.05)); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px; text-align: left; }
.plan { border: 1px solid var(--line); border-radius: 24px; padding: 34px; background: var(--panel); display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 1px solid transparent; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; box-shadow: 0 30px 80px -30px rgba(124,92,255,.6); }
.plan .tag { position: absolute; top: -13px; left: 34px; background: var(--grad); color: #fff; font: 700 11.5px var(--mono); letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; }
.price { font-size: 50px; font-weight: 750; letter-spacing: -.03em; margin: 14px 0 2px; }
.price small { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; flex: 1; color: var(--muted); }
.plan li::before { content: "✓"; color: var(--good); margin-right: 10px; font-weight: 700; }
.faq { max-width: 800px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 4px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--muted); } .faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 12px 0 0; }

/* final CTA */
.final { border: 1px solid var(--line-2); border-radius: 30px; padding: 70px 40px; text-align: center; background: radial-gradient(600px 300px at 50% 0%, rgba(124,92,255,.35), transparent 70%), var(--bg-2); }

/* forms */
.auth { max-width: 440px; margin: 90px auto; border: 1px solid var(--line-2); border-radius: 24px; padding: 38px; background: var(--panel); }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 7px; }
.input { width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(0,0,0,.25); color: var(--text); font: 16px var(--font); }
.input:focus { outline: none; border-color: var(--a2); box-shadow: 0 0 0 4px rgba(79,124,255,.18); }
.error { color: #ff7a7a; font-size: 14px; min-height: 20px; }
.notice { padding: 14px 18px; border-radius: 14px; background: rgba(61,220,151,.1); border: 1px solid rgba(61,220,151,.3); color: #b6f5d8; margin: 18px 0; }
.notice.warn { background: rgba(255,181,71,.1); border-color: rgba(255,181,71,.3); color: #ffe0a8; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; } .inline-form .input { flex: 1; min-width: 220px; }
.card { border: 1px solid var(--line); border-radius: 22px; padding: 30px; background: var(--panel); }

/* product mock (cockpit) */
.mock { background: rgba(12,13,16,.92); color: #e9eaec; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(124,92,255,.15); }
.mock-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 600 13px var(--mono); }
.mock-head .meter { margin-left: auto; display: flex; gap: 3px; align-items: flex-end; height: 14px; }
.mock-head .meter i { width: 3px; background: #5b7cff; border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.mock-head .meter i:nth-child(2) { animation-delay: .2s } .mock-head .meter i:nth-child(3) { animation-delay: .4s } .mock-head .meter i:nth-child(4) { animation-delay: .1s }
@keyframes eq { 0%,100% { height: 4px } 50% { height: 14px } }
.dot { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #b5c4ff, #3b5bdb); box-shadow: 0 0 12px rgba(79,120,255,.8); }
.mock-body { padding: 16px 18px; min-height: 410px; display: grid; gap: 14px; align-content: start; }
.stamp { display: inline-block; font: 650 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #c9ccd1; background: #24272d; padding: 3px 8px; border-radius: 6px; }
.line .text { margin-top: 7px; font-size: 15px; } .line .tr { margin-top: 4px; color: #9aa0a8; font-size: 13.5px; }
.q { border-left: 2px solid var(--warn); background: rgba(255,181,71,.07); padding: 10px 13px; border-radius: 0 12px 12px 0; font-size: 14.5px; }
.hint { font-size: 14.5px; line-height: 1.6; } .hint .langtag { font: 650 11px var(--mono); letter-spacing: .1em; color: #6f747b; margin: 4px 0 2px; }
.hint ul { margin: 0; padding: 0; } .hint li { list-style: none; position: relative; padding-left: 18px; margin: 6px 0; }
.hint li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.typing::after { content: "▍"; color: #7c9bff; animation: blink 1s steps(2) infinite; } @keyframes blink { 50% { opacity: 0; } }
.fade-in { animation: fade .4s ease-out; } @keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mock-foot { display: flex; justify-content: space-between; padding: 12px 18px; border-top: 1px solid var(--line); font: 12px var(--mono); color: #8b8f96; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; } .js .reveal.in { opacity: 1; transform: none; }

footer { border-top: 1px solid var(--line); padding: 46px 0 60px; color: var(--faint); font-size: 14px; margin-top: 40px; }
footer .wrap { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; } footer a:hover { color: var(--text); }

@media (max-width: 960px) {
  .hero-grid, .split, .plans, .timeline { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; } .tile, .tile.wide, .tile.full { grid-column: span 1; }
  .stats { grid-template-columns: 1fr 1fr; } nav.links { display: none; }
}

/* demo scene: a video meeting with the cockpit floating above it */
.scene { position: relative; height: 560px; }
.meeting { position: absolute; inset: 40px 120px 40px 0; border-radius: 18px; background: #111318; border: 1px solid var(--line-2); overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.9); display: flex; flex-direction: column; }
.meeting-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--line); }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 8px #ff4d4d; }
.tiles { flex: 1; display: grid; grid-template-rows: 1.4fr 1fr; gap: 8px; padding: 10px; }
.tile-v { position: relative; border-radius: 12px; background: linear-gradient(160deg, #1d2130, #141720); display: grid; place-items: center; border: 2px solid transparent; transition: border-color .3s, box-shadow .3s; }
.tile-v.speaking { border-color: #3ddc97; box-shadow: 0 0 0 4px rgba(61,220,151,.15); }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: linear-gradient(135deg, #3a4160, #262b3d); color: #cfd5ea; }
.avatar.me { width: 48px; height: 48px; font-size: 14px; }
.tile-v .name { position: absolute; left: 10px; bottom: 8px; font-size: 12px; background: rgba(0,0,0,.45); padding: 2px 8px; border-radius: 6px; }
.wave { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 2px; align-items: flex-end; height: 12px; opacity: 0; }
.wave i { width: 3px; background: #3ddc97; border-radius: 2px; animation: eq .8s ease-in-out infinite; } .wave i:nth-child(2) { animation-delay: .15s } .wave i:nth-child(3) { animation-delay: .3s }
.tile-v.speaking .wave { opacity: 1; }
.controls { display: flex; justify-content: center; gap: 10px; padding: 10px; border-top: 1px solid var(--line); }
.controls span { width: 34px; height: 34px; border-radius: 50%; background: #23262e; display: grid; place-items: center; font-size: 14px; }
.controls .leave { background: #e5484d; color: #fff; }
.scene .mock { position: absolute; right: 0; top: 0; width: 64%; max-width: 420px; }
.scene .mock-body { min-height: 380px; }
.stealth { margin-left: auto; font: 600 10.5px var(--mono); color: #3ddc97; border: 1px solid rgba(61,220,151,.4); padding: 2px 8px; border-radius: 999px; }
.phases { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.phases span { font: 600 12px var(--mono); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--faint); transition: all .3s; }
.phases span.on { color: #fff; border-color: transparent; background: var(--grad); box-shadow: 0 6px 20px -6px rgba(124,92,255,.7); }
@media (max-width: 960px) { .scene { height: auto; } .meeting { position: relative; inset: auto; height: 300px; } .scene .mock { position: relative; width: 100%; max-width: none; margin-top: -40px; } }
.scene .meeting { inset: 50px 34% 30px 0; }
.scene .mock { width: 58%; top: 0; }
.scene .mock-body { min-height: 0; height: 420px; overflow: hidden; mask-image: linear-gradient(#000 85%, transparent); }
.sources { display: grid; gap: 8px; } .src { display: flex; gap: 10px; align-items: center; font-size: 13.5px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.03); }
.src span:first-child { flex: 1; } .badge-s { font: 600 11px var(--mono); color: var(--warn); } .badge-s.ok { color: var(--good); }
.src-done { margin-top: 6px; font-size: 13.5px; color: #b6f5d8; }

/* ── tech layer: grid, aurora, stars, spotlight, glowing borders, shimmer ── */
.bg-grid { position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); }
.aurora { position: fixed; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; width: 46vw; height: 46vw; border-radius: 50%; filter: blur(90px); opacity: .32; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: #6b4bff; left: -10vw; top: -16vw; }
.aurora i:nth-child(2) { background: #1fb8ff; right: -12vw; top: -8vw; animation-duration: 28s; }
.aurora i:nth-child(3) { background: #ff3fa4; left: 30vw; top: 40vh; opacity: .12; animation-duration: 34s; }
@keyframes drift { to { transform: translate(8vw, 6vh) scale(1.15); } }
#stars { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.spot { position: fixed; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: -1; left: var(--mx, -999px); top: var(--my, -999px);
  transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(91,140,255,.12), transparent); transition: opacity .3s; }
.tile .ico, .card .ico { background: linear-gradient(160deg, rgba(124,92,255,.18), rgba(42,212,255,.06)); border-color: rgba(124,92,255,.35); box-shadow: inset 0 0 20px rgba(124,92,255,.2); }
.tile .ico svg { width: 22px; height: 22px; }
.tile { transition: transform .25s, border-color .25s, box-shadow .25s; transform-style: preserve-3d; }
.tile:hover { border-color: rgba(124,92,255,.45); box-shadow: 0 20px 60px -20px rgba(124,92,255,.45); }
.tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--x, 50%) var(--y, 50%), rgba(124,92,255,.16), transparent 40%); }
.tile:hover::before { opacity: 1; }
.mock, .plan.featured { position: relative; }
.mock::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--angle), transparent 0 70%, #7c5cff, #2ad4ff, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; }
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --angle: 360deg; } }
.grad-text { background-size: 200% auto; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }
.btn.primary { position: relative; overflow: hidden; }
.btn.primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); animation: sweep 3.8s ease-in-out infinite; }
@keyframes sweep { 60%, 100% { transform: translateX(120%); } }
.stats b { font-variant-numeric: tabular-nums; }
.scan { position: absolute; left: 0; right: 0; height: 60px; pointer-events: none; background: linear-gradient(transparent, rgba(91,140,255,.12), transparent); animation: scan 4s linear infinite; }
@keyframes scan { from { top: -60px; } to { top: 100%; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.usage-bar { height: 8px; border-radius: 999px; background: var(--panel-2); overflow: hidden; margin: 8px 0 8px; }
.usage-bar i { display: block; height: 100%; background: var(--grad); border-radius: inherit; }
.mail { color: #b8c4ff; border-bottom: 1px solid rgba(184,196,255,.35); }

/* Help Center */
.docs { display: grid; grid-template-columns: 250px minmax(0, 1fr) 200px; gap: 46px; padding-top: 40px; padding-bottom: 80px; align-items: start; }
.docs-nav, .docs-toc { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; font-size: 14.5px; }
.docs-search { height: 40px; margin-bottom: 14px; font-size: 14px; }
.docs-nav details { margin-bottom: 6px; } .docs-nav summary { cursor: pointer; font-weight: 600; padding: 7px 8px; border-radius: 8px; color: var(--text); list-style: none; }
.docs-nav summary:hover { background: var(--panel); }
.docs-nav a { display: block; padding: 6px 10px 6px 18px; color: var(--muted); border-radius: 8px; border-left: 1px solid var(--line); margin-left: 8px; }
.docs-nav a:hover { color: var(--text); } .docs-nav a.on { color: #fff; background: rgba(124,92,255,.16); border-left-color: var(--a1); }
.docs-main { min-width: 0; } .docs-main h1 { font-size: 40px; margin: 10px 0 10px; } .docs-main .lead { font-size: 18px; margin-bottom: 30px; }
.docs-main h2 { font-size: 26px; margin: 46px 0 12px; scroll-margin-top: 90px; }
.docs-main p, .docs-main li { color: #c9cdd8; } .docs-main li { margin: 7px 0; }
.callout { border: 1px solid rgba(124,92,255,.35); background: rgba(124,92,255,.08); border-radius: 14px; padding: 14px 18px; margin: 20px 0; color: #dfe3ff; }
.callout::before { content: "ⓘ "; color: #b8c4ff; }
.doc-steps { counter-reset: s; list-style: none; padding: 0; } .doc-steps li { counter-increment: s; position: relative; padding-left: 40px; margin: 14px 0; }
.doc-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font: 700 12px var(--mono); }
.doc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; } .doc-cards .card { padding: 20px; } .doc-cards h3 { font-size: 16px; }
.doc-table { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 14px; }
.doc-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; } .doc-table th { text-align: left; background: var(--panel-2); font-weight: 600; }
.doc-table th, .doc-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: #c9cdd8; } .doc-table tr:last-child td { border-bottom: 0; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 60px; } .pager .card { display: grid; gap: 4px; padding: 18px; } .pager .next { text-align: right; }
.docs-toc { display: grid; gap: 8px; } .docs-toc a { color: var(--faint); font-size: 13.5px; } .docs-toc a.on, .docs-toc a:hover { color: #b8c4ff; }
@media (max-width: 1100px) { .docs { grid-template-columns: 220px minmax(0, 1fr); } .docs-toc { display: none; } }
@media (max-width: 760px) { .docs { grid-template-columns: 1fr; } .docs-nav { position: static; max-height: none; } .doc-cards { grid-template-columns: 1fr; } }

/* ── wide screens: use the width instead of a fixed 1180px column ── */
.wrap { max-width: min(1400px, 92vw); }
.hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(40px, 4vw, 80px); }
.scene { height: clamp(520px, 34vw, 700px); }
.scene .meeting { inset: 50px 30% 40px 0; }
.scene .mock { width: 60%; max-width: 520px; }
.scene .mock-body { height: calc(clamp(520px, 34vw, 700px) - 150px); }
.stats div { border-left: 0; } .stats > div + div { border-left: 1px solid var(--line); }
@media (min-width: 1600px) {
  :root { font-size: 17px; }
  .wrap { max-width: min(1560px, 90vw); }
  h1 { font-size: clamp(64px, 4.6vw, 96px); }
  h2 { font-size: clamp(40px, 3vw, 60px); }
  .lead { font-size: 21px; max-width: 760px; }
  .tile { padding: 36px; } .tile h3 { font-size: 21px; }
}
@media (min-width: 2200px) { :root { font-size: 18px; } .wrap { max-width: 1800px; } }
@media (max-width: 960px) { .stats > div + div { border-left: 0; } .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); } .stats > div:nth-child(even) { border-left: 1px solid var(--line); } }
.hero h1 { font-size: clamp(40px, 4.6vw, 74px); } html[lang="zh-CN"] .hero h1 > span { white-space: nowrap; }
@media (min-width: 1600px) { .hero h1 { font-size: clamp(64px, 3.7vw, 86px); } }
@media (max-width: 960px) { .hero h1 { font-size: clamp(36px, 9vw, 60px); } .hero h1 > span { white-space: normal; } }
textarea.input { height: auto; padding: 12px 16px; resize: vertical; font: 15px/1.5 var(--font); }
.wish-form .field { margin-bottom: 16px; }

/* admin */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 10px; }
.stat-card { display: grid; gap: 6px; padding: 22px; } .stat-card b { font-size: 32px; letter-spacing: -.02em; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow-x: auto; }
.bars div { flex: 1; min-width: 18px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bars i { width: 100%; background: var(--grad); border-radius: 6px 6px 2px 2px; } .bars span { font: 10px var(--mono); color: var(--faint); }
@media (max-width: 960px) { .stat-grid { grid-template-columns: 1fr 1fr; } }
#admin h2 { font-size: 22px; margin: 40px 0 14px; letter-spacing: -.01em; }
