/* Vesper — components and sections. Load after tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.6; font-feature-settings: "cv01", "ss03"; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; border-radius: 6px; }
.icon { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .mint { color: var(--mint); }

/* ───────── Header ───────── */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(8, 9, 10, .72); backdrop-filter: blur(20px) saturate(1.4); border-bottom: 1px solid var(--line); }
.site-head > .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 590; letter-spacing: -.01em; }
.brand svg { width: 20px; height: 20px; }
.nav { display: flex; gap: 26px; font-size: 13px; color: var(--muted); }
.nav a:hover, .head-right a:not(.btn):hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); }
.head-right { display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--muted); }
.head-right .sep { width: 1px; height: 14px; background: var(--line-2); }
.menu-btn { display: none; width: 36px; height: 36px; border-radius: var(--r); align-items: center; justify-content: center; }
.site-head .mobile-nav { display: none; }
@media (max-width: 900px) {
  .nav, .head-right .hide-sm { display: none; }
  .menu-btn { display: inline-flex; }
  .site-head .mobile-nav.open { display: flex; height: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 12px 0 20px; border-top: 1px solid var(--line); }
  .mobile-nav a { padding: 10px 0; font-size: 15px; color: var(--text-2); }
}

/* ───────── Menus: Product mega menu + Resources dropdown ─────────
   Open state = .nav-item.open (vesper.js: hover intent, click, keyboard, Esc, click-outside). */
.nav { align-self: stretch; align-items: stretch; }
.nav > a, .nav-item { display: flex; align-items: center; }
.nav-trigger { display: inline-flex; align-items: center; gap: 4px; height: 100%; font-size: 13px; color: var(--muted); transition: color .16s var(--ease); }
.nav-trigger .icon { width: 12px; height: 12px; opacity: .7; transition: transform .35s var(--ease-out); }
.nav-trigger:hover, .nav-item.open .nav-trigger, .nav-item.current .nav-trigger { color: var(--text); }
.nav-item.open .nav-trigger .icon { transform: rotate(180deg); }
.js .site-head.menu-open, .js .site-head.menu-open:not(.scrolled) { background: #0C0D0E; border-bottom-color: var(--line); backdrop-filter: none; }

/* shared open/close motion */
.mega, .drop { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s var(--ease-out), transform .35s var(--ease-out), visibility 0s linear .35s; }
.nav-item.open > .mega, .nav-item.open > .drop { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }

/* Mega menu: full width under the header */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #0C0D0E; border-bottom: 1px solid var(--line); transform: translateY(-6px); color: var(--muted); cursor: default; }
.mega-inner { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; gap: 24px; padding: 28px 0 24px; }
.mega-col h4, .mega-feature { opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(60ms + var(--k, 0) * 45ms); }
.mega-col h4 { margin: 0 0 6px; padding-left: 10px; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-link { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; padding: 10px; border-radius: 10px; font-size: 12.5px; line-height: 1.45; color: var(--muted);
  opacity: 0; transform: translateY(6px); transition: background .2s var(--ease), opacity .4s var(--ease-out), transform .5s var(--ease-out); transition-delay: 0s, calc(90ms + var(--k, 0) * 45ms), calc(90ms + var(--k, 0) * 45ms); }
.mega-link b { display: block; margin-bottom: 1px; font-size: 13px; font-weight: 510; color: var(--text); }
.mega-link .ic, .drop .ic { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--bg-3); color: var(--text-2); transition: color .2s, border-color .2s, background .2s; }
.mega-link:hover, .mega-link:focus-visible { background: var(--bg-4); }
.mega-link:hover .ic, .drop a:hover .ic { color: var(--mint); border-color: rgba(var(--mint-rgb), .3); background: var(--mint-soft); }
.nav-item.open .mega-col h4, .nav-item.open .mega-link, .nav-item.open .mega-feature { opacity: 1; transform: none; }

.mega-feature { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(180deg, #141516, #0E0F10); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out), border-color .3s; }
.mega-feature:hover { border-color: var(--line-2); }
.mf-ui { padding: 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 12px; display: flex; flex-direction: column; gap: 8px; }
.mf-top { display: flex; align-items: center; gap: 8px; color: var(--muted); } .mf-top b { color: var(--text); font-weight: 590; } .mf-top .working { margin-left: auto; }
.mf-line { display: flex; align-items: center; gap: 8px; color: var(--muted); opacity: 0; transform: translateX(-6px); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(300ms + var(--n) * 220ms); }
.mf-line .icon { width: 13px; height: 13px; color: var(--mint); }
.mf-line.on { color: var(--text-2); }
.mf-dot { width: 13px; height: 13px; display: grid; place-items: center; } .mf-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: pulse 1.4s infinite; }
.nav-item.open .mf-line { opacity: 1; transform: none; }
.mf-copy b { display: block; font-size: 13px; font-weight: 510; color: var(--text); } .mf-copy span { font-size: 12.5px; color: var(--muted); }
.mega-foot { border-top: 1px solid var(--line); font-size: 12.5px; }
.mega-foot .wrap { display: flex; justify-content: space-between; align-items: center; height: 46px; }
.mega-foot .new { padding: 1px 7px; margin-right: 4px; border-radius: 99px; background: var(--mint-soft); color: var(--mint); font-size: 12px; font-weight: 590; }
.mega-foot-r { display: flex; gap: 22px; color: var(--muted); } .mega-foot-r a:hover { color: var(--text); }

/* Dropdown: small card under its trigger */
.nav-item.has-drop { position: relative; }
.drop { position: absolute; top: calc(100% - 8px); left: -12px; width: 290px; padding: 6px; border-radius: 12px; background: #121315; border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); transform: translateY(-4px) scale(.98); transform-origin: 24px 0; }
.drop a { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; padding: 8px; border-radius: 8px; font-size: 12px; line-height: 1.35; color: var(--muted); transition: background .2s var(--ease); }
.drop .ic { width: 30px; height: 30px; }
.drop a b { display: block; font-size: 13px; font-weight: 510; color: var(--text); }
.drop a:hover, .drop a:focus-visible { background: var(--bg-4); }
.drop .drop-foot { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 10px 8px 6px; border-radius: 0; border-top: 1px solid var(--line); color: var(--text-2); }
.drop .drop-foot:hover { background: none; } .drop-foot .faint { margin-left: auto; font-family: var(--mono); font-size: 10.5px; }
.live-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.live-dot::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--mint); animation: ping 2s var(--ease-out) infinite; }

/* Page dims behind the mega menu */
.nav-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(5, 6, 7, .6); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease-out), visibility 0s linear .3s; }
.nav-scrim.on { opacity: 1; visibility: visible; transition-delay: 0s; }

/* Phone menu: fold-out groups */
.m-group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 15px; color: var(--text-2); cursor: pointer; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group summary .icon { width: 14px; height: 14px; color: var(--faint); transition: transform .3s var(--ease-out); }
.m-group[open] summary .icon { transform: rotate(180deg); }
.m-group[open] .m-links { animation: m-in .4s var(--ease-out); }
@keyframes m-in { from { opacity: 0; transform: translateY(-4px); } }
.mobile-nav .m-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.mobile-nav .m-links a { padding: 7px 0; font-size: 14px; color: var(--muted); }
.site-head .mobile-nav.open { max-height: calc(100dvh - 64px); overflow-y: auto; }

/* ───────── Buttons & links ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 510; letter-spacing: -.01em; white-space: nowrap; transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease); }
.btn--primary { background: var(--cta); color: var(--cta-ink); }
.btn--primary:hover { background: #fff; }
.btn--ghost { background: var(--bg-4); color: var(--text); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--bg-5); }
.btn--lg { height: 40px; padding: 0 18px; font-size: 14px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); transition: color .16s var(--ease); }
.more:hover { color: var(--text); }
.more .icon { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.more:hover .icon { transform: translateX(2px); }
.pill-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.pill-link b { color: var(--text); font-weight: 510; }

/* ───────── Hero ───────── */
.hero { padding: 132px 0 0; }
.hero h1 { max-width: 760px; }
.hero-row { margin-top: 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hero-row p { max-width: 520px; }
.shot { position: relative; margin-top: 64px; }
.shot::before { /* soft light behind the product */
  content: ""; position: absolute; inset: -60px 6% auto; height: 70%; z-index: -1;
  background: radial-gradient(60% 60% at 50% 40%, rgba(208, 214, 224, .10), transparent 70%); filter: blur(10px);
}
.shot-frame { padding: 10px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--line); box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.shot-fade { position: relative; }
.shot-fade::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; border-radius: 0 0 14px 14px; }

/* ───────── App window mockup ───────── */
.app { display: grid; grid-template-columns: 220px 1fr; height: 600px; border-radius: 12px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; color: var(--text-2); text-align: left; }
.app-side { padding: 12px 8px; border-right: 1px solid var(--line); background: #0B0C0D; display: flex; flex-direction: column; gap: 2px; }
.app-side .ws { display: flex; align-items: center; gap: 8px; padding: 6px 8px 12px; font-weight: 590; color: var(--text); }
.ws-logo { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, var(--mint), var(--mint-deep)); }
.app-side .grp { padding: 14px 8px 4px; font-size: 11px; color: var(--faint); }
.app-side a { display: flex; align-items: center; gap: 9px; padding: 5px 8px; border-radius: 6px; color: var(--muted); }
.app-side a.on { background: var(--bg-4); color: var(--text); }
.app-side a .count { margin-left: auto; font-size: 11px; color: var(--faint); }
.app-side a.on .count { color: var(--muted); }
.app-main { display: grid; grid-template-columns: 1fr 300px; min-width: 0; }
.app-pane { min-width: 0; display: flex; flex-direction: column; }
.app-top { height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.app-top .crumb b { color: var(--text); font-weight: 510; }
.app-top .right { margin-left: auto; display: flex; gap: 12px; color: var(--faint); }
.app-body { padding: 24px 28px; overflow: hidden; }
.app-body h3 { font-size: 20px; font-weight: 590; letter-spacing: -.012em; color: var(--text); }
.app-body .desc { margin-top: 8px; color: var(--muted); line-height: 1.6; max-width: 560px; }
.code { font-family: var(--mono); font-size: .92em; padding: 1px 5px; border-radius: 4px; background: var(--bg-4); color: var(--text-2); }
.meta-row { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: 12px; color: var(--text-2); background: rgba(255,255,255,.02); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--muted)); flex: none; }
.sev { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; font-size: 10px; font-weight: 700; color: var(--bg); background: var(--c, var(--red)); }
.prop span:last-child .sev { color: var(--bg); } /* dark number on the vivid status chip — white/grey on red & amber is unreadable */
.activity { margin-top: 26px; }
.activity h4 { font-size: 13px; font-weight: 590; color: var(--text); margin-bottom: 10px; }
.act { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; color: var(--muted); }
.act .av { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--bg); background: var(--c, var(--text-2)); }
.act b { color: var(--text-2); font-weight: 510; }
.act time { color: var(--faint); margin-left: 6px; }
.comment { margin-top: 8px; padding: 12px 14px; border-radius: 10px; background: var(--bg-3); border: 1px solid var(--line); }
.comment p { margin-top: 6px; color: var(--text-2); }
.app-aside { border-left: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 14px; background: #0C0D0E; }
.prop { display: grid; grid-template-columns: 84px 1fr; gap: 8px; align-items: center; color: var(--faint); font-size: 12px; }
.prop span:last-child { color: var(--text-2); display: flex; align-items: center; gap: 6px; }

/* Floating agent panel */
.agent { border-radius: 12px; background: #121315; border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0,0,0,.55); overflow: hidden; }
.agent-top { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.agent-top b { color: var(--text); font-weight: 590; }
.agent-mark { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(from 200deg, var(--mint), var(--blue), var(--violet), var(--mint)); }
.agent-body { padding: 12px; font-size: 12.5px; color: var(--text-2); display: flex; flex-direction: column; gap: 10px; }
.bubble { align-self: flex-end; max-width: 90%; padding: 9px 11px; border-radius: 10px 10px 2px 10px; background: var(--bg-4); color: var(--text); }
.thinking { color: var(--faint); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.thinking::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.step { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.step .icon { width: 14px; height: 14px; color: var(--mint); }
.diffstat { font-family: var(--mono); font-size: 12px; } .diffstat .add { color: var(--mint); } .diffstat .del { color: var(--red); }
.agent-input { margin: 0 12px 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); color: var(--faint); font-size: 12px; display: flex; justify-content: space-between; }

/* ───────── Logos ───────── */
.logos { padding: 64px 0 24px; }
.logos-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; color: var(--text); opacity: .9; }
.logos-row span { display: inline-flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 650; letter-spacing: -.03em; }
.logos-row svg { width: 20px; height: 20px; }
.logos-note { margin-top: 18px; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: .08em; text-transform: uppercase; }

/* ───────── Sections ───────── */
.section { padding: 128px 0; border-top: 1px solid var(--line); }
.section--flush { border-top: 0; }
.statement { font-size: 48px; line-height: 1.04; letter-spacing: -.022em; font-weight: 510; max-width: 980px; color: var(--muted); }
.statement b { color: var(--text); font-weight: 510; }
.figs { margin-top: 96px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.fig { padding: 24px 28px 0 0; }
.fig + .fig { padding-left: 28px; border-left: 1px solid var(--line); }
.fig .label { font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: .06em; }
.fig svg.art { width: 100%; height: 220px; margin: 28px 0 32px; color: var(--faint); overflow: visible; }
.fig h3 { font-size: 14px; font-weight: 510; color: var(--text); }
.fig p { margin-top: 6px; font-size: 13px; color: var(--muted); max-width: 300px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split .t-h2 { max-width: 460px; }
.split p { max-width: 460px; }
.split .more { margin-top: 20px; }
.panel { margin-top: 80px; position: relative; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, #0E0F10, var(--bg)); overflow: hidden; }
.panel-inner { padding: 48px; }
.sublinks { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 24px; font-size: 13px; }
.sublinks .k { color: var(--faint); }
.sublinks a { display: flex; align-items: center; gap: 4px; color: var(--muted); }
.sublinks a:hover { color: var(--text); }
.sublinks li + li { margin-top: 6px; }

/* Mock: timeline / triage list */
.list { border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; font-size: 13px; }
.list-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #0C0D0E; border-bottom: 1px solid var(--line); color: var(--text-2); font-weight: 510; }
.list-head .n { color: var(--faint); font-weight: 400; }
.row { display: grid; grid-template-columns: 22px 78px 1fr auto auto; gap: 10px; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line-3); color: var(--text-2); }
.row:last-child { border-bottom: 0; }
.row .id { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.row .when { color: var(--faint); font-size: 12px; }
.row:hover { background: rgba(255,255,255,.02); }
.status { width: 14px; height: 14px; border-radius: 50%; border: 1.6px solid var(--c, var(--faint)); position: relative; }
.status.half::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: conic-gradient(var(--c) 0 50%, transparent 0); }
.status.full { background: var(--c); }
.avatars { display: flex; }
.avatars i { width: 20px; height: 20px; border-radius: 50%; margin-left: -6px; border: 2px solid var(--bg-2); background: var(--c, #444); display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 700; color: var(--bg); }
.avatars i:first-child { margin-left: 0; }

/* Mock: chart */
.chart { border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); padding: 16px; }
.chart h5 { font-size: 13px; font-weight: 510; color: var(--text-2); margin: 0 0 4px; }
.chart .big { font-size: 28px; font-weight: 590; letter-spacing: -.02em; }
.chart svg { width: 100%; height: 140px; margin-top: 10px; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }

/* Two-up mock layout (stacks on mobile) */
.duo { display: grid; grid-template-columns: var(--a, 1.5fr) 1fr; gap: 16px; align-items: start; }

/* Mock: code / diff */
.code-win { border-radius: 12px; border: 1px solid var(--line); background: #0B0C0D; overflow: hidden; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; }
.code-win .bar { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--line); color: var(--faint); font-size: 11.5px; }
.code-win .bar b { color: var(--text-2); font-weight: 500; }
.code-win pre { margin: 0; padding: 12px 0; overflow: hidden; }
.ln { display: block; padding: 0 16px 0 0; white-space: pre; color: var(--text-2); }
.ln i { display: inline-block; width: 44px; padding-right: 14px; text-align: right; font-style: normal; color: var(--faint); user-select: none; }
.ln.add { background: rgba(var(--mint-rgb), .09); } .ln.add i { color: var(--mint); }
.ln.del { background: rgba(242, 85, 90, .09); color: #E39A9C; } .ln.del i { color: var(--red); }
.tk-k { color: #C9A8FF; } .tk-s { color: #9FE3C9; } .tk-f { color: #8FB4FF; } .tk-c { color: var(--faint); } .tk-n { color: #F0B45A; }

/* ───────── Changelog ───────── */
.changelog { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.changelog::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 1px dashed var(--line-2); }
.cl { position: relative; padding: 28px 24px 0 0; }
.cl::before { content: ""; position: absolute; left: 0; top: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--faint); }
.cl:first-child::before { border-color: var(--mint); background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.cl h3 { font-size: 13px; font-weight: 510; color: var(--text); }
.cl p { margin-top: 6px; font-size: 13px; color: var(--muted); }
.cl time { display: block; margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--faint); }

/* ───────── Quotes ───────── */
.quotes { margin-top: 64px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.quote { min-height: 380px; padding: 36px; border-radius: 16px; display: flex; flex-direction: column; justify-content: space-between; color: #0B0C0D; }
.quote--soft { background: radial-gradient(120% 120% at 100% 0%, var(--tint-1) 0%, var(--tint-2) 45%, #F2F3F5 100%); }
.quote--mint { background: var(--mint); }
.quote blockquote { margin: 0; font-size: 26px; line-height: 1.2; letter-spacing: -.02em; font-weight: 510; max-width: 520px; }
.quote .who { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.quote .who b { display: block; font-weight: 590; }
.quote .who i { width: 32px; height: 32px; border-radius: 50%; background: #0B0C0D; color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; }
.proof-line { margin-top: 24px; display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.proof-line b { color: var(--text); font-weight: 510; }

/* ───────── Final CTA ───────── */
.final { padding: 180px 0; text-align: center; border-top: 1px solid var(--line); }
.final .t-display { max-width: 720px; margin-inline: auto; }
.final .btns { margin-top: 32px; display: flex; gap: 10px; justify-content: center; }

/* ───────── Footer ───────── */
.footer { border-top: 1px solid var(--line); padding: 64px 0 80px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 24px; }
.footer h3 { font-size: 13px; font-weight: 510; color: var(--text); margin-bottom: 14px; }
.footer li + li { margin-top: 10px; }
.footer a { font-size: 13px; color: var(--muted); } .footer a:hover { color: var(--text); }
.foot-legal { margin-top: 56px; display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); }

/* ───────── Pricing ───────── */
.pricing-hero { padding: 120px 0 64px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.plan { padding: 28px 28px 0 0; display: flex; flex-direction: column; min-height: 470px; }
.plan + .plan { padding-left: 28px; border-left: 1px solid var(--line); }
.plan h2 { font-size: 20px; font-weight: 590; letter-spacing: -.012em; }
.plan .price { margin-top: 6px; font-size: 15px; color: var(--text); font-weight: 510; }
.plan .price span { color: var(--muted); font-weight: 400; }
.plan .bill { margin-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.switch { width: 30px; height: 18px; border-radius: 9px; background: var(--bg-5); position: relative; transition: background .2s var(--ease); flex: none; }
.switch::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.switch[aria-checked="true"] { background: var(--mint); }
.switch[aria-checked="true"]::after { transform: translateX(12px); }
.plan ul { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--text-2); flex: 1; }
.plan li { display: flex; align-items: center; gap: 8px; }
.check { width: 15px; height: 15px; border-radius: 50%; background: var(--text-2); display: grid; place-items: center; flex: none; }
.check svg { width: 9px; height: 9px; stroke: var(--bg); stroke-width: 2.6; fill: none; }
.plan .btns { margin-top: 32px; display: flex; gap: 8px; }
.plan .btns .btn { flex: 1; }
.plan--featured h2::after { content: "Popular"; margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: var(--mint-soft); color: var(--mint); font-size: 12px; font-weight: 590; vertical-align: 3px; }
.compare { margin-top: 32px; }
.compare table { width: 100%; border-collapse: collapse; font-size: 13px; }
.compare thead th { position: sticky; top: 64px; z-index: 2; background: var(--bg); padding: 20px 0; text-align: left; font-size: 20px; font-weight: 590; letter-spacing: -.012em; border-bottom: 1px solid var(--line); }
.compare th.group { padding: 56px 0 18px; font-size: 18px; font-weight: 590; text-align: left; color: var(--text); }
.compare td { padding: 9px 0; border-bottom: 1px solid var(--line-3); color: var(--muted); }
.compare td:not(:first-child) { color: var(--text-2); width: 16%; }
.compare td .yes { display: inline-flex; align-items: center; gap: 8px; }
.compare .no { color: var(--faint); }
.cmp-scroll { overflow-x: auto; }
.cmp-scroll table { min-width: 760px; }

/* ───────── AI page ───────── */
.ai-hero { position: relative; padding: 220px 0 120px; overflow: hidden; }
.ai-hero .bg-code { position: absolute; inset: 0; z-index: -1; font-family: var(--mono); font-size: 18px; line-height: 1.9; color: rgba(var(--mint-rgb), .16); white-space: pre; padding: 60px 0 0 140px; transform: perspective(900px) rotateX(18deg) rotateZ(-6deg) translateY(-40px); mask-image: radial-gradient(70% 70% at 40% 30%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(70% 70% at 40% 30%, #000 30%, transparent 80%); }
.ai-hero .eyebrow { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.tiles { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.tile { padding: 40px; min-height: 420px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; background: linear-gradient(180deg, #0D0E0F, var(--bg)); }
.tile:nth-child(odd) { border-right: 1px solid var(--line); }
.tile:nth-child(n+3) { border-top: 1px solid var(--line); }
.tile .mock { display: grid; place-items: center; flex: 1; }
.tile h3 { font-size: 14px; font-weight: 510; color: var(--text); }
.tile p { margin-top: 6px; font-size: 13px; color: var(--muted); max-width: 380px; }
.card-ui { width: 100%; max-width: 380px; border-radius: 12px; border: 1px solid var(--line-2); background: #121315; box-shadow: 0 20px 50px rgba(0,0,0,.5); font-size: 12.5px; color: var(--text-2); }
.card-ui .hd { padding: 10px 14px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.card-ui .hd span { display: inline-flex; align-items: center; gap: 6px; }
.card-ui .bd { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.flow { position: relative; margin-top: 64px; border: 1px solid var(--line); border-radius: 16px; padding: 48px; min-height: 380px; background: linear-gradient(180deg, #0D0E0F, var(--bg)); }
.flow > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow .trig { position: relative; display: flex; flex-direction: column; gap: 12px; width: max-content; }
.flow .trig span { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-2); font-family: var(--mono); font-size: 11.5px; color: var(--text-2); letter-spacing: .04em; }
.flow .nodes { position: absolute; right: 48px; bottom: 48px; display: flex; gap: 28px; }
.flow .node { width: 120px; height: 84px; border-radius: 10px; border: 1px dashed var(--line-2); display: grid; place-items: center; font-size: 12px; color: var(--muted); background: rgba(255,255,255,.015); }
.flow .node b { display: block; color: var(--text); font-weight: 510; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.col { border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.col h5 { margin: 0 0 4px; padding: 4px 6px; font-size: 12.5px; font-weight: 510; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.col h5 .n { color: var(--faint); font-weight: 400; }
.kcard { padding: 10px 12px; border-radius: 8px; background: var(--bg-3); border: 1px solid var(--line); font-size: 12.5px; color: var(--text-2); }
.kcard .id { font-family: var(--mono); font-size: 11px; color: var(--faint); display: flex; justify-content: space-between; }
.kcard p { margin: 6px 0 8px; }
.working { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mint); }
.working::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: pulse 1.4s infinite; }

/* ═════════ Motion ═════════
   Everything here only runs when vesper.js has added `.js` to <html>; without JS the page is static and complete.
   One easing family: --ease-out (expo-like) for entrances, --ease-io for loops and travelling things. */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.65, 0, .35, 1); }
html { scroll-behavior: smooth; }

/* Header turns solid once you scroll */
.site-head { transition: background .4s var(--ease-out), border-color .4s var(--ease-out); }
.js .site-head:not(.scrolled) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }

/* Buttons: tactile press */
.btn { transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), transform .2s var(--ease-out); }
.btn:active { transform: scale(.97); }
.pill-link .icon { transition: transform .3s var(--ease-out); }
.pill-link:hover .icon { transform: translateX(3px); }
.pill-link { transition: color .3s var(--ease-out); } .pill-link:hover { color: var(--text-2); }

/* Reveal: fade, rise and un-blur. --d = stagger delay set by vesper.js */
.js .reveal { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out), filter .9s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .shot.reveal, .js .panel.reveal, .js .flow.reveal { filter: none; transform: translateY(48px); }
.js .shot.reveal.in, .js .panel.reveal.in, .js .flow.reveal.in { transform: none; }

/* Headlines arrive word by word */
.w { display: inline-block; }
.js [data-split].reveal { opacity: 1; transform: none; filter: none; }
.js [data-split] .w { opacity: 0; transform: translateY(.4em); filter: blur(10px); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out), filter .8s var(--ease-out); transition-delay: calc(var(--d, 0ms) + var(--wi) * 45ms); }
.js [data-split].in .w, .js .in [data-split] .w { opacity: 1; transform: none; filter: none; }

/* Statement lights up word by word as you scroll */
.js [data-scrub] .w { opacity: .16; transition: opacity .5s var(--ease-out); }
.js [data-scrub] .w.lit { opacity: 1; }

/* Mockup contents build in sequence (vesper.js tags items with .si and --si) */
.js .si { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--base, 380ms) + var(--si) * 70ms); }
.js .in .si { opacity: 1; transform: none; }
.js .agent .si { --base: 1300ms; transition-delay: calc(var(--base) + var(--si) * 320ms); }

/* Hero product: tilts back in 3D and flattens as you scroll (--tilt/--sc from vesper.js) */
.shot { perspective: 2200px; }
.js .shot .shot-frame { transform: rotateX(var(--tilt, 0deg)) scale(var(--sc, 1)); transform-origin: 50% 0; will-change: transform; }
.js .shot .agent { opacity: 0; transform: translate(28px, 20px) scale(.96); translate: 0 var(--py, 0px); transition: opacity 1s var(--ease-out) .8s, transform 1.2s var(--ease-out) .8s; }
.js .shot.in .agent { opacity: 1; transform: none; }

/* Live details inside mockups */
.status.ping::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1.5px solid var(--c); animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
.js .chart .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease-io) .5s; }
.js .chart .area, .js .chart .mark { opacity: 0; transition: opacity 1s var(--ease-out) 1.8s; }
.js .in .chart .draw { stroke-dashoffset: 0; }
.js .in .chart .area, .js .in .chart .mark { opacity: 1; }
.js .ln.add, .js .ln.del { background-repeat: no-repeat; background-size: 0 100%; transition: background-size .9s var(--ease-out), opacity .6s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--base, 380ms) + var(--si) * 70ms); }
.js .ln.add { background-image: linear-gradient(rgba(var(--mint-rgb), .09), rgba(var(--mint-rgb), .09)); background-color: transparent; }
.js .ln.del { background-image: linear-gradient(rgba(242, 85, 90, .09), rgba(242, 85, 90, .09)); background-color: transparent; }
.js .in .ln.add, .js .in .ln.del { background-size: 100% 100%; }
.thinking { transition: color .3s; }
[data-yearly] { display: inline-block; }
.ai-hero .bg-roll { display: block; animation: roll 70s linear infinite; }
@keyframes roll { to { transform: translateY(-50%); } }

/* Border light that follows the cursor on big surfaces */
.panel, .flow, .tile, .shot-frame { --mx: 50%; --my: -200px; }
.tile { position: relative; }
.panel::before, .flow::before, .tile::before, .shot-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 255, 255, .28), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.panel:hover::before, .flow:hover::before, .tile:hover::before, .shot-frame:hover::before { opacity: 1; }
.logos-row span { transition: opacity .4s var(--ease-out); }
.logos-row:hover span:not(:hover) { opacity: .35; }
.compare tbody tr td { transition: background .3s var(--ease-out); }
.compare tbody tr:hover td { background: rgba(255, 255, 255, .02); }

/* Changelog: the dashed line draws across, dots follow */
.js .changelog::before { transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease-io) .2s; }
.js .changelog.in::before { transform: none; }

/* Final CTA: a soft light rises behind the headline */
.final { position: relative; overflow: hidden; isolation: isolate; }
.final::before { content: ""; position: absolute; left: 50%; bottom: -40%; width: 1100px; height: 700px; translate: -50% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(208, 214, 224, .09), transparent 70%); }
.js .final::before { opacity: 0; transform: translateY(80px) scale(.9); transition: opacity 2s var(--ease-out), transform 2.4s var(--ease-out); }
.js .final.in::before { opacity: 1; transform: none; }

/* ── Line-art figures ──
   1) every stroke draws itself in, 2) the pieces settle into place, 3) a slow idle loop runs while the figure is on screen (.live), 4) hover pulls the pieces apart. */
.fig .art { transition: color .6s var(--ease-out); }
.fig:hover .art { color: var(--muted); }
.art g { transform-box: view-box; }
.js .fig .art path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-io); transition-delay: calc(var(--d, 0ms) + 250ms + var(--i, 0) * 140ms); }
.js .fig.in .art path { stroke-dashoffset: 0; }
.art .ly, .art .cb, .art .br { animation-play-state: paused; }
.fig.live .art .ly, .fig.live .art .cb, .fig.live .art .br { animation-play-state: running; }

/* Layers: arrive spread out, stack, then breathe */
.art .ly-h { transition: transform 1.6s var(--ease-out); transition-delay: calc(var(--d, 0ms) + 200ms + var(--i) * 110ms); }
.js .fig .ly-h { transform: translateY(calc(var(--o) * -22px)); }
.js .fig.in .ly-h { transform: none; }
.fig.settled .ly-h { transition: transform .8s var(--ease-out), color .6s; transition-delay: 0s; }
.fig.settled:hover .ly-h { transform: translateY(calc(var(--o) * -9px)); }
.fig:hover .ly-h:last-child { color: var(--text-2); }
.art .ly { animation: ly-breathe 7s var(--ease-io) infinite; }
@keyframes ly-breathe { 50% { transform: translateY(calc(var(--o) * -4px)); } }

/* Cubes: fly in from outside, click together, float; hover pulls them apart */
.art .cb-h { transition: transform 1.5s var(--ease-out); transition-delay: calc(var(--d, 0ms) + 200ms + var(--i) * 130ms); }
.js .fig .cb-h { transform: translate(calc(var(--dx) * 46px), calc(var(--dy) * 46px)); }
.js .fig.in .cb-h { transform: none; }
.fig.settled .cb-h { transition: transform .8s var(--ease-out), color .6s; transition-delay: 0s; }
.fig.settled:hover .cb-h { transform: translate(calc(var(--dx) * 12px), calc(var(--dy) * 12px)); }
.fig:hover .cb-h:last-child { color: var(--text-2); }
.art .cb { animation: cb-float 5s var(--ease-io) infinite; animation-delay: calc(var(--i) * -1.1s); }
@keyframes cb-float { 50% { transform: translateY(var(--bob)); } }

/* Bars: rise out of the floor one after another, then roll like an equaliser */
.art .br-h { transition: transform 1.3s var(--ease-out); transition-delay: calc(var(--d, 0ms) + 300ms + var(--i) * 110ms); }
.js .fig .br-h { transform: translateY(var(--h)); }
.js .fig.in .br-h { transform: none; }
.art .br { animation: br-wave 3.2s var(--ease-io) infinite; animation-delay: calc(var(--i) * .16s); }
@keyframes br-wave { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(14px); } }
.fig:hover .art .br-h:last-child, .fig:hover g:last-child > .br-h { color: var(--text-2); }

/* Flow diagram: marching wires, travelling pulses, nodes that light up */
.flow > svg path { stroke: rgba(255, 255, 255, .14); stroke-dasharray: 4 6; animation: march 1.4s linear infinite; animation-play-state: paused; }
.flow.live > svg path { animation-play-state: running; }
@keyframes march { to { stroke-dashoffset: -10; } }
.flow .trig, .flow .nodes { z-index: 1; }
.flow .trig span, .flow .node { transition: border-color 1.4s var(--ease-out), background 1.4s var(--ease-out), box-shadow 1.4s var(--ease-out), color 1.4s var(--ease-out); }
.flow .hit { border-color: rgba(var(--mint-rgb), .6) !important; border-style: solid !important; background: var(--mint-soft) !important; box-shadow: 0 0 0 4px rgba(var(--mint-rgb), .06); transition-duration: .15s; }
.flow .pulse { position: absolute; left: 0; top: 0; z-index: 2; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); pointer-events: none;
  box-shadow: 0 0 0 3px var(--mint-soft), 0 0 16px 3px rgba(var(--mint-rgb), .45); offset-rotate: 0deg; offset-anchor: 50% 50%; }

/* ───────── Responsive ───────── */
@media (max-width: 1100px) {
  .app { grid-template-columns: 1fr; height: auto; }
  .app-side { display: none; }
  .app-main { grid-template-columns: 1fr; }
  .app-aside { display: none; }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .hero { padding-top: 96px; }
  .statement { font-size: 32px; }
  .quote blockquote { line-height: 1.3; }
  .figs, .split, .changelog, .quotes, .tiles, .plans, .board { grid-template-columns: 1fr; }
  .fig + .fig { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .plan + .plan { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .plan { min-height: 0; padding-bottom: 32px; }
  .tile:nth-child(odd) { border-right: 0; } .tile + .tile { border-top: 1px solid var(--line); }
  .changelog::before { display: none; } .cl { padding-bottom: 28px; }
  .section { padding: 88px 0; }
  .panel-inner { padding: 20px; }
  .sublinks { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .final { padding: 120px 0; }
  .flow .nodes { position: static; margin-top: 32px; flex-wrap: wrap; }
  .flow > svg { display: none; }
  .duo { grid-template-columns: 1fr; }
  .row { grid-template-columns: 22px 1fr auto; } .row .id, .row .when { display: none; }
}

/* ═════════ Style guide page (pages/style-guide.html) ═════════
   Page-specific layout for the design-system page. Tokens only. `.field`, `.input`, `.input--icon` and `.kbd` are
   reusable form parts for any Vesper page. */
.field { display: grid; gap: 6px; width: 100%; font-size: 12px; color: var(--muted); }
.input { display: flex; align-items: center; gap: 8px; width: 100%; height: 32px; padding: 0 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-3); color: var(--text); font: inherit; font-size: 13px; transition: border-color .16s var(--ease), background .16s var(--ease), box-shadow .16s var(--ease); }
.input::placeholder, .input input::placeholder { color: var(--faint); }
.input:hover { border-color: var(--line-2); }
.input:focus, .input:focus-within { outline: none; border-color: var(--line-2); background: var(--bg-4); box-shadow: 0 0 0 3px var(--mint-soft); }
.input input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; outline: none; }
.input--icon .icon { width: 14px; height: 14px; color: var(--faint); }
.kbd { font-family: var(--mono); font-size: 12px; line-height: 1; padding: 3px 6px; border-radius: var(--r-xs); border: 1px solid var(--line); color: var(--faint); }

.sg-hero { padding: 72px 0 0; }
.sg-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--faint); }
.sg-jump { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.sg-label { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.sg-num { margin-bottom: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--faint); }
.sg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sg-sep { width: 1px; height: 14px; background: var(--line-2); }
.sg-new { padding: 1px 7px; margin-right: 2px; border-radius: var(--r-pill); background: var(--mint-soft); color: var(--mint); font-size: 12px; font-weight: 590; }
code { font-family: var(--mono); }

/* Overview panel in the hero */
.sg-ov { margin-top: 40px; }
.sg-ov-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; }
.sg-cell { min-width: 0; padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 16px; }
.sg-cell:nth-child(3n+2), .sg-cell:nth-child(3n) { border-left: 1px solid var(--line); }
.sg-cell:nth-child(n+4) { border-top: 1px solid var(--line); }
.sg-ov i { font-style: normal; }
.sg-ov-ramp { display: grid; grid-template-columns: repeat(5, 1fr); height: 120px; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.sg-ov-ramp i { display: flex; align-items: flex-end; padding: 8px; }
.sg-ov-ramp i:nth-child(n+4) code { color: var(--muted); }
.sg-ov-ramp i + i { border-left: 1px solid var(--line-3); }
.sg-ov-ramp code, .sg-ov-ink code, .sg-ov-acc code, .sg-ov-radii code, .sg-ov-meta code, .sg-scale code { font-size: 10.5px; color: var(--faint); letter-spacing: .02em; }
.sg-ov-ink { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sg-ov-ink span { display: flex; flex-direction: column; gap: 4px; font-size: 34px; font-weight: 510; letter-spacing: -.022em; line-height: 1.1; }
.sg-ov-acc { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: auto; }
.sg-mint { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.sg-mint i { width: 22px; height: 22px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px var(--mint-soft); }
.sg-mint b { font-weight: 510; }
.sg-ov-data { display: inline-flex; gap: 5px; } .sg-ov-data i { width: 10px; height: 10px; border-radius: 50%; }
.sg-ov-type { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex: 1; }
.sg-aa { font-size: 148px; line-height: .9; font-weight: 510; letter-spacing: -.04em; color: var(--text); }
.sg-aa--mono { font-family: var(--mono); font-weight: 400; letter-spacing: -.02em; color: var(--text-2); }
.sg-scale { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sg-scale span { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line-3); }
.sg-scale b { font-weight: 510; letter-spacing: -.02em; color: var(--text); white-space: nowrap; }
.sg-ov-meta { display: flex; justify-content: space-between; gap: 12px; }
.sg-c-comp { gap: 14px; font-size: 13px; }
.sg-c-comp .input { max-width: 300px; }
.sg-c-list .list .row { grid-template-columns: 22px 64px 1fr auto; } .sg-c-list .row .when { display: none; }
.sg-ov-radii { display: flex; gap: 10px; }
.sg-ov-radii i { flex: 1; height: 56px; display: flex; align-items: flex-end; padding: 6px 8px; border: 1px solid var(--line-2); background: var(--bg-3); }
.sg-ov-radii i:last-child { flex: 1.6; justify-content: center; align-items: center; padding: 0; }
.sg-ov-ease { display: flex; gap: 16px; align-items: center; }
.sg-ov-ease .sg-curve { width: 92px; height: 92px; flex: none; }
.sg-ov-ease b { display: block; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--text-2); }
.sg-ov-ease code { display: block; margin: 2px 0 6px; font-size: 11px; color: var(--faint); }
.sg-c-agent .card-ui { max-width: none; box-shadow: none; }
.sg-c-agent .card-ui .hd b { margin-left: 2px; }
.sg-c-agent .thinking { padding-left: 4px; gap: 10px; }

/* Section parts */
.sg-sec .split { margin-bottom: 72px; }
.sg-group { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 36px 0; border-top: 1px solid var(--line); }
.sg-group .t-small { margin-top: 10px; max-width: 210px; }
.sg-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.sg-ramp { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.sg-ramp .sg-sw { border: 0; border-radius: 0; } .sg-ramp .sg-sw + .sg-sw { border-left: 1px solid var(--line); }
.sg-ramp .sg-chip { height: 150px; border-bottom: 1px solid var(--line); }
.sg-sw { min-width: 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-2); overflow: hidden; }
.sg-chip { height: 104px; position: relative; display: flex; align-items: flex-end; padding: 12px; }
.sg-chip--line { background: var(--bg-2); flex-direction: column; justify-content: center; align-items: stretch; gap: 10px; padding: 18px; }
.sg-chip--line i { height: 14px; border: 1px solid var(--c); border-radius: var(--r-sm); }
.sg-chip--line i:nth-child(2) { width: 70%; } .sg-chip--line i:nth-child(3) { width: 45%; }
.sg-chip--text { background: var(--bg); font-size: 40px; font-weight: 510; letter-spacing: -.022em; line-height: 1; justify-content: space-between; border-bottom: 1px solid var(--line); }
.sg-chip--text span { font-size: 12px; letter-spacing: 0; font-weight: 400; }
.sg-chip--soft, .sg-chip--cta { align-items: center; justify-content: center; }
.sg-chip--cta span { color: var(--cta-ink); font-size: 14px; font-weight: 510; }
.sg-chip--data { padding: 0; align-items: stretch; }
.sg-chip--data i { flex: 1; } .sg-chip--data i + i { flex: .55; }
.sg-sw-cap { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; }
.sg-sw-cap b { font-size: 13px; font-weight: 510; color: var(--text-2); margin-bottom: 2px; }
.sg-sw-cap code { font-size: 11px; color: var(--faint); letter-spacing: .02em; overflow-wrap: anywhere; }
.sg-sw-use { padding: 0 14px 14px; font-size: 12px; color: var(--muted); }

.sg-fams { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 24px; }
.sg-fam { padding: 28px; display: flex; flex-direction: column; gap: 20px; background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.sg-fam + .sg-fam { border-left: 1px solid var(--line); }
.sg-fam .sg-aa { font-size: 120px; }
.sg-weights { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--text-2); }
.sg-type-row { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); align-items: start; }
.sg-type-meta { display: flex; flex-direction: column; gap: 3px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: .02em; }
.sg-type-meta code { font-size: 12.5px; color: var(--text-2); margin-bottom: 6px; }
.sg-type-spec { min-width: 0; }
.sg-type-spec .t-lead, .sg-type-spec .t-body, .sg-type-spec .t-small { max-width: 640px; }

/* Specimen cards */
.sg-specs { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.sg-spec { grid-column: span var(--span, 4); min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--bg-2), var(--bg)); overflow: hidden; }
.sg-stage { flex: 1; min-height: 200px; padding: 36px 32px; font-size: 13px; color: var(--text-2); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.sg-stage--col { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: center; gap: 16px; }
.sg-stage--fill { flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: center; padding: 28px; }
.sg-stage--auto { min-height: 0; }
.sg-stage--flush { display: block; padding: 0; }
.sg-spec > figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13px; }
.sg-spec > figcaption b { font-weight: 510; color: var(--text-2); white-space: nowrap; }
.sg-spec > figcaption code { font-size: 11px; color: var(--faint); letter-spacing: .02em; text-align: right; }
.sg-spec .card-ui { box-shadow: none; }
.sg-props { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.sg-props .prop { grid-template-columns: 120px 1fr; padding-bottom: 12px; border-bottom: 1px solid var(--line-3); }
.sg-props .prop:last-child { border-bottom: 0; padding-bottom: 0; }

.sg-radii { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.sg-radius { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: var(--text-2); }
.sg-radius i { width: 76px; height: 76px; margin-bottom: 8px; border: 1px solid var(--line-2); background: var(--bg-3); }
.sg-radius b { font-weight: 510; } .sg-radius code { font-size: 10.5px; color: var(--faint); }
.sg-spaces { display: flex; flex-direction: column; gap: 12px; }
.sg-space { display: grid; grid-template-columns: 150px 1fr 64px; gap: 14px; align-items: center; font-size: 13px; color: var(--text-2); }
.sg-space span code { display: block; font-size: 10.5px; color: var(--faint); }
.sg-space i { height: 10px; width: var(--w); min-width: 4px; border-radius: 2px; background: repeating-linear-gradient(135deg, var(--line-2) 0 1px, transparent 1px 5px); border: 1px solid var(--line-2); }
.sg-space > code { font-size: 11px; color: var(--faint); text-align: right; }
.sg-eases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sg-ease { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.sg-ease b { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--text-2); }
.sg-ease .sg-curve { width: 100%; height: auto; aspect-ratio: 1.8; margin-bottom: 8px; }
.sg-curve .grid { stroke: var(--line); stroke-width: .6; vector-effect: non-scaling-stroke; }
.sg-curve .hdl { stroke: var(--faint); stroke-width: 1; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.sg-curve .crv { stroke: var(--text-2); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.sg-curve circle { fill: var(--bg); stroke: var(--faint); vector-effect: non-scaling-stroke; }
.sg-ease .sg-curve { overflow: visible; }
.sg-track { position: relative; height: 10px; margin-bottom: 8px; }
.sg-track::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 1px dashed var(--line-2); }
.sg-track i { position: absolute; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); animation: sg-run 3.6s var(--e) infinite alternate; }
@keyframes sg-run { 0%, 12% { left: 0; } 88%, 100% { left: calc(100% - 10px); } }

.sg-spec .changelog { margin-top: 0; }
.sg-spec .quotes { margin-top: 0; }
.sg-spec .quote { min-height: 260px; padding: 28px; }
.sg-spec .plan { min-height: 0; padding: 0; }
.sg-compare { margin-top: 0; }
.sg-compare thead th { position: static; padding: 0 0 14px; font-size: 15px; }
.sg-compare th.group { padding: 22px 0 10px; font-size: 14px; }
.sg-compare .cmp-scroll table { min-width: 520px; }

.sg-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 56px; padding: 0 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); font-size: 13px; color: var(--muted); }
.sg-bar-nav, .sg-bar-r { display: flex; align-items: center; gap: 24px; }
.sg-bar-nav span { display: inline-flex; align-items: center; gap: 4px; } .sg-bar-nav .on { color: var(--text); }
.sg-bar-nav .icon { width: 12px; height: 12px; opacity: .7; }
.sg-menu { display: block; position: relative; }
.sg-menu > .mega, .sg-menu > .drop { position: static; transform: none; transition: none; }
.sg-menu > .mega { border-bottom: 0; }
.sg-menu > .mega .wrap { width: auto; margin: 0 28px; }
.sg-menu > .drop { margin: 0 auto; box-shadow: none; }
.sg-phone { width: 100%; max-width: 300px; border: 1px solid var(--line-2); border-radius: 22px; background: var(--bg); overflow: hidden; font-size: 14px; }
.sg-phone-top { display: flex; justify-content: space-between; align-items: center; height: 52px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.sg-phone-top .icon { color: var(--muted); }
.sg-phone-nav { padding: 6px 18px 14px; }
.sg-phone-nav p { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; color: var(--text-2); }
.sg-phone-nav p .icon { width: 14px; height: 14px; color: var(--faint); }
.sg-phone-nav .m-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sg-phone-nav .m-links span { padding: 6px 0; font-size: 13px; color: var(--muted); }

.sg-icons { display: grid; grid-template-columns: repeat(9, 1fr); gap: 0; border-top: 1px solid var(--line-3); border-left: 1px solid var(--line-3); }
.sg-icon { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 8px 16px; border-right: 1px solid var(--line-3); border-bottom: 1px solid var(--line-3); transition: background .2s var(--ease); }
.sg-icon .ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-3); color: var(--text-2); transition: color .2s, border-color .2s, background .2s; }
.sg-icon code { font-size: 11px; color: var(--faint); }
.sg-icon:hover { background: rgba(255, 255, 255, .02); }
.sg-icon:hover .ic { color: var(--mint); border-color: rgba(var(--mint-rgb), .3); background: var(--mint-soft); }

@media (max-width: 1100px) {
  .sg-ov-grid { grid-template-columns: 1fr 1fr; }
  .sg-cell { border-left: 0 !important; border-top: 1px solid var(--line); }
  .sg-cell:nth-child(1), .sg-cell:nth-child(2) { border-top: 0; }
  .sg-cell:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .sg-menu > .mega .mega-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .sg-hero { padding-top: 72px; }
  .sg-ov-grid, .sg-group, .sg-type-row, .sg-fams, .sg-eases, .sg-specs { grid-template-columns: 1fr; }
  .sg-cell:nth-child(n) { border-left: 0 !important; border-top: 1px solid var(--line); }
  .sg-cell:first-child { border-top: 0; }
  .sg-cell { padding: 20px; }
  .sg-c-list .list .row { grid-template-columns: 22px 1fr auto; }
  .sg-ov-ramp code { display: none; }
  .sg-spec { grid-column: 1 / -1; }
  .sg-stage { padding: 24px 20px; min-height: 0; }
  .sg-stage--fill { padding: 20px; } .sg-stage--flush { padding: 0; }
  .sg-spec > figcaption { flex-direction: column; gap: 2px; } .sg-spec > figcaption code { text-align: left; }
  .sg-group, .sg-type-row { gap: 16px; }
  .sg-ramp { grid-template-columns: 1fr 1fr; } .sg-ramp .sg-sw + .sg-sw { border-left: 0; } .sg-ramp .sg-sw { border-top: 1px solid var(--line); } .sg-ramp .sg-sw:nth-child(-n+2) { border-top: 0; } .sg-ramp .sg-sw:nth-child(even) { border-left: 1px solid var(--line); }
  .sg-ramp .sg-chip { height: 96px; }
  .sg-swatches { grid-template-columns: 1fr 1fr; }
  .sg-icons { grid-template-columns: repeat(3, 1fr); }
  .sg-fam + .sg-fam { border-left: 0; border-top: 1px solid var(--line); }
  .sg-aa, .sg-fam .sg-aa { font-size: 96px; }
  .sg-type-spec .statement { font-size: 28px !important; }
  .sg-space { grid-template-columns: 110px 1fr 56px; }
  .sg-bar-nav { display: none; }
  .sg-menu > .mega .wrap { margin: 0 16px; }
  .sg-menu > .mega .mega-inner { grid-template-columns: 1fr; }
  .sg-menu > .mega .mega-foot .wrap { height: auto; padding: 12px 0; flex-direction: column; align-items: flex-start; gap: 10px; }
  .sg-menu > .drop { width: 100%; }
  .sg-spec .quote { min-height: 220px; }
  .sg-spec .quote blockquote { font-size: 22px; }
}

/* ═════════ Variants page (pages/variants.html) ═════════
   Alternative section layouts built only from the Vesper DNA — the vocabulary for unique pages.
   Classes are prefixed v-. Tokens only (no hex): surfaces --bg…--bg-5, lines --line*, text --text/--text-2/--muted/--faint,
   one accent --mint (+ --mint-soft / --mint-rgb), data colours --blue/--violet/--rose/--red/--amber inside mockups only. */

/* Page frame: intro, group headers, variant labels */
.v-intro { padding: 120px 0 72px; }
.v-intro .t-display { max-width: 820px; }
.v-intro .t-lead { margin-top: 20px; max-width: 620px; }
.v-index { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.v-index a { transition: border-color .16s var(--ease), color .16s var(--ease); }
.v-index a:hover { border-color: var(--line-2); color: var(--text); }
.v-index b { font-weight: 510; color: var(--text); }
.v-group { padding-top: 120px; }
.v-group-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); }
.v-group-row h2 span { color: var(--faint); font-weight: 400; }
.v-group-row p { max-width: 560px; font-size: 13px; color: var(--muted); }
.v-meta { margin-top: 64px; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; align-items: baseline; }
.v-name { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; padding: 3px 9px; border-radius: var(--r-pill); background: var(--mint-soft); color: var(--mint); white-space: nowrap; }
.v-meta p { font-size: 13px; color: var(--muted); }
.v-meta p b { color: var(--text); font-weight: 510; }
.v-cls { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.v-cls li { font-family: var(--mono); font-size: 12px; color: var(--faint); padding: 2px 7px; border: 1px solid var(--line); border-radius: var(--r-xs); }
.variant { margin-top: 24px; padding: 96px 0; border-top: 1px dashed var(--line-2); border-bottom: 1px dashed var(--line-2); position: relative; overflow: hidden; isolation: isolate; }

/* Shared variant parts */
.v-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.v-new { padding: 1px 7px; border-radius: var(--r-pill); background: var(--mint-soft); color: var(--mint); font-size: 12px; font-weight: 590; }
.v-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--faint); }
.v-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.v-head .t-h2 { max-width: 520px; }
.v-head p { max-width: 460px; }
.v-head--stack { grid-template-columns: 1fr; gap: 20px; }
.v-spark { width: 100%; height: 40px; margin-top: 14px; overflow: visible; }
.v-spark path { fill: none; stroke: var(--text-2); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.v-spark .v-up { stroke: var(--mint); }
.v-up-txt { color: var(--mint); font-size: 13px; font-weight: 510; }

/* hero-split — copy left (5/12), framed product right (7/12) with a floating card */
.v-hs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.v-hs-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.v-hs-copy .t-display { font-size: 56px; line-height: 1.02; }
.v-hs-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--faint); }
.v-hs-meta li { display: inline-flex; align-items: center; gap: 8px; }
.v-hs-meta li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }
.v-hs-media { position: relative; padding-bottom: 112px; }
.v-hs-media .shot-frame { position: relative; }
.v-hs-media .list { font-size: 12.5px; }
.v-hs-card { position: absolute; left: -32px; bottom: 0; width: 300px; z-index: 4; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }

/* hero-centred — centred statement over a command-palette mock */
.v-hc { text-align: center; display: flex; flex-direction: column; align-items: center; }
.v-hc::before { content: ""; position: absolute; left: 50%; top: 42%; width: 900px; max-width: 100%; height: 520px; translate: -50% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--text-2) 9%, transparent), transparent 70%); }
.v-hc .t-display { margin-top: 24px; max-width: 860px; }
.v-hc .t-lead { margin-top: 20px; max-width: 560px; }
.v-hc .v-btns { margin-top: 32px; justify-content: center; }
.v-cmd { margin-top: 64px; width: min(720px, 100%); text-align: left; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--bg-2); box-shadow: 0 40px 120px rgba(0, 0, 0, .6); overflow: hidden; font-size: 13px; }
.v-cmd-in { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 15px; }
.v-cmd-in .icon { color: var(--faint); }
.v-cmd-in .caret { width: 1.5px; height: 18px; background: var(--mint); animation: pulse 1.1s steps(1) infinite; }
.v-cmd-in .kbd { margin-left: auto; }
.v-cmd-grp { padding: 10px 8px 4px; }
.v-cmd-grp > p { padding: 4px 8px 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.v-cmd-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--r); color: var(--text-2); }
.v-cmd-item .icon { color: var(--faint); }
.v-cmd-item .when { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.v-cmd-item.on { background: var(--bg-4); color: var(--text); }
.v-cmd-item.on .icon { color: var(--mint); }
.v-cmd-item.on .when { color: var(--muted); }
.v-cmd-foot { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--bg); color: var(--faint); font-size: 12px; }
.v-cmd-foot span { display: inline-flex; align-items: center; gap: 6px; }
.v-hc-keys { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 12px; color: var(--faint); }
.v-hc-keys span { display: inline-flex; align-items: center; gap: 6px; }

/* hero-metric — headline + 4 live numbers in one ruled row, logos underneath */
.v-hm-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.v-hm-top .t-display { max-width: 720px; }
.v-hm-side { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.v-stats { margin-top: 80px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v-stat { min-width: 0; padding: 28px 28px 28px 0; }
.v-stat + .v-stat { padding-left: 28px; border-left: 1px solid var(--line); }
.v-stat .t-mono { color: var(--faint); }
.v-stat .v-num { margin-top: 18px; font-size: 48px; line-height: 1; letter-spacing: -.022em; font-weight: 510; color: var(--text); }
.v-stat .v-num small { font-size: 20px; color: var(--muted); font-weight: 510; letter-spacing: -.012em; }
.v-stat p { margin-top: 10px; font-size: 13px; color: var(--muted); }
.v-hm-logos { margin-top: 48px; }

/* hero-editorial — two-tone statement H1, line-art figure + mono index, no app UI */
.v-he { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 64px; align-items: start; }
.v-he-h { margin-top: 28px; font-size: 64px; line-height: 1.02; letter-spacing: -.022em; font-weight: 510; color: var(--muted); }
.v-he-h b { color: var(--text); font-weight: 510; }
.v-he .v-btns { margin-top: 40px; }
.v-he-side { border-left: 1px solid var(--line); padding-left: 32px; }
.v-he-side .fig { padding: 0; }
.v-he-side .fig svg.art { height: 240px; margin: 20px 0 8px; }
.v-he-index { margin-top: 24px; border-top: 1px solid var(--line); }
.v-he-index li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-3); font-size: 14px; color: var(--text-2); }
.v-he-index li .t-mono { color: var(--faint); }
.v-he-index li .more { font-size: 12px; }
.v-he-foot { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.v-he-foot p { font-size: 13px; color: var(--muted); }
.v-he-foot b { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 510; color: var(--text); }

/* features-bento — 6-col bento of tiles with mini UIs */
.v-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.v-tile { grid-column: span var(--span, 2); min-width: 0; position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 340px; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); overflow: hidden; }
.v-tile h3 { font-size: 14px; font-weight: 510; color: var(--text); }
.v-tile p { margin-top: 6px; font-size: 13px; color: var(--muted); max-width: 380px; }
.v-tile .v-ui { flex: 1; display: grid; place-items: center; min-height: 0; }
.v-keys { display: grid; grid-template-columns: repeat(3, 52px); gap: 8px; }
.v-keys span { height: 52px; display: grid; place-items: center; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg-3); box-shadow: inset 0 -2px 0 var(--line); font-family: var(--mono); font-size: 15px; color: var(--text-2); }
.v-keys span.on { color: var(--mint); border-color: rgba(var(--mint-rgb), .4); background: var(--mint-soft); }
.v-toggles { width: 100%; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; }
.v-toggles li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: var(--r); background: var(--bg-3); border: 1px solid var(--line-3); color: var(--text-2); }
.v-toggles .switch { pointer-events: none; }
.v-tile .v-bignum { margin: 0; max-width: none; font-size: 88px; line-height: 1; font-weight: 510; letter-spacing: -.04em; color: var(--text); }
.v-tile .v-bignum span { font-size: 28px; letter-spacing: -.02em; color: var(--muted); }
.v-tile .code-win { width: 100%; font-size: 11.5px; }
.v-tile .chart { width: 100%; }

/* features-tabs — numbered list left (one open), large panel right */
.v-ft { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.v-ft-list { border-top: 1px solid var(--line); }
.v-ft-item { position: relative; padding: 20px 0 20px 20px; border-bottom: 1px solid var(--line); }
.v-ft-item::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 1px; background: var(--line); }
.v-ft-item .t-mono { color: var(--faint); }
.v-ft-item h3 { margin-top: 6px; font-size: 16px; font-weight: 510; letter-spacing: -.012em; color: var(--muted); }
.v-ft-item p { display: none; margin-top: 8px; font-size: 13px; color: var(--muted); }
.v-ft-item.on::before { background: var(--text); width: 2px; }
.v-ft-item.on h3 { color: var(--text); }
.v-ft-item.on p { display: block; }
.v-ft .panel { margin-top: 0; }
.v-ft .panel-inner { padding: 32px; display: flex; flex-direction: column; gap: 16px; }

/* features-grid — 3×2 hairline-ruled grid of icon features (no boxes) */
.v-fgrid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.v-fcell { min-width: 0; padding: 32px 32px 40px 0; border-bottom: 1px solid var(--line); }
.v-fcell:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.v-fcell .ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-3); color: var(--text-2); transition: color .2s, border-color .2s, background .2s; }
.v-fcell:hover .ic { color: var(--mint); border-color: rgba(var(--mint-rgb), .3); background: var(--mint-soft); }
.v-fcell h3 { margin-top: 24px; font-size: 15px; font-weight: 510; color: var(--text); }
.v-fcell p { margin-top: 6px; font-size: 13px; color: var(--muted); max-width: 320px; }
.v-fcell .t-mono { display: block; margin-top: 16px; color: var(--faint); }

/* proof-metrics — huge numbers band + one two-tone quote line */
.v-pm-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.v-pm-num { padding: 0 32px; }
.v-pm-num:first-child { padding-left: 0; }
.v-pm-num + .v-pm-num { border-left: 1px solid var(--line); }
.v-pm-num b { display: block; font-size: 96px; line-height: 1; letter-spacing: -.04em; font-weight: 510; color: var(--text); }
.v-pm-num b small { font-size: 40px; letter-spacing: -.022em; color: var(--muted); font-weight: 510; }
.v-pm-num p { margin-top: 16px; font-size: 13px; color: var(--muted); max-width: 260px; }
.v-pm-num .t-mono { display: block; margin-bottom: 20px; color: var(--faint); }
.v-pm-quote { margin-top: 96px; padding-top: 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 3fr); gap: 48px; align-items: end; }
.v-pm-quote blockquote { margin: 0; font-size: 32px; line-height: 1.15; letter-spacing: -.022em; font-weight: 510; color: var(--muted); }
.v-pm-quote blockquote b { color: var(--text); font-weight: 510; }
.v-who { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.v-who b { display: block; font-weight: 510; color: var(--text); }
.v-who i { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; color: var(--bg); background: var(--c, var(--text-2)); }

/* proof-wall — masonry of dark quote cards, fading out at the bottom */
.v-wall { columns: 3 280px; column-gap: 16px; max-height: 760px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.v-qcard { break-inside: avoid; margin-bottom: 16px; padding: 24px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; gap: 20px; }
.v-qcard p { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.v-qcard--big p { font-size: 22px; line-height: 1.3; letter-spacing: -.02em; font-weight: 510; color: var(--text); }
.v-qcard .v-who { font-size: 12.5px; }
.v-qcard .v-who i { width: 28px; height: 28px; font-size: 12px; }
.v-wall-foot { margin-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.v-wall-foot b { color: var(--text); font-weight: 510; }

/* pricing-duo — two plans + "every plan includes" column in one bordered panel */
.v-pd { display: grid; grid-template-columns: 1fr 1fr 1.15fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.v-pd > div { min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.v-pd > div + div { border-left: 1px solid var(--line); }
.v-pd h3 { font-size: 20px; font-weight: 590; letter-spacing: -.012em; color: var(--text); display: flex; align-items: center; gap: 8px; }
.v-pd .v-price { font-size: 48px; line-height: 1; letter-spacing: -.022em; font-weight: 510; color: var(--text); }
.v-pd .v-price > span:last-child { font-size: 14px; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.v-pd p { font-size: 13px; color: var(--muted); }
.v-pd .btn { width: 100%; margin-top: auto; }
.v-pd ul { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--text-2); }
.v-pd li { display: flex; align-items: center; gap: 8px; }
.v-pd-inc { background: var(--bg); }
.v-pd-inc .t-mono { color: var(--faint); }
.v-bill { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }

/* pricing-usage — usage meter + estimate card + rates */
.v-pu { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: stretch; }
.v-pu-meter { padding: 36px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); display: flex; flex-direction: column; gap: 28px; }
.v-pu-meter .v-val { font-size: 48px; line-height: 1; letter-spacing: -.022em; font-weight: 510; color: var(--text); }
.v-pu-meter .v-val span { font-size: 15px; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.v-range { position: relative; height: 6px; border-radius: var(--r-pill); background: var(--bg-4); }
.v-range i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v, 40%); border-radius: inherit; background: var(--mint); }
.v-range b { position: absolute; top: 50%; left: var(--v, 40%); width: 18px; height: 18px; translate: -50% -50%; border-radius: 50%; background: var(--cta); box-shadow: 0 0 0 4px var(--mint-soft); }
.v-ticks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.v-rates { width: 100%; border-collapse: collapse; font-size: 13px; }
.v-rates td { padding: 10px 0; border-top: 1px solid var(--line-3); color: var(--muted); }
.v-rates td:last-child { text-align: right; color: var(--text-2); font-family: var(--mono); font-size: 12px; }
.v-pu .card-ui { max-width: none; box-shadow: none; display: flex; flex-direction: column; }
.v-pu .card-ui .bd { flex: 1; gap: 12px; }
.v-line { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.v-line span:last-child { color: var(--text-2); font-family: var(--mono); font-size: 12px; }
.v-line--total { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--text); font-weight: 510; }
.v-line--total span:last-child { font-family: var(--font); font-size: 28px; letter-spacing: -.02em; color: var(--text); }

/* steps-terminal — three numbered steps beside a terminal */
.v-st { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.v-steps { counter-reset: st; position: relative; }
.v-steps::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; border-left: 1px dashed var(--line-2); }
.v-steps li { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 20px; padding: 0 0 36px; }
.v-steps li:last-child { padding-bottom: 0; }
.v-steps li::before { counter-increment: st; content: counter(st); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.v-steps li.on::before { border-color: rgba(var(--mint-rgb), .5); background: var(--mint-soft); color: var(--mint); }
.v-steps h3 { font-size: 16px; font-weight: 510; letter-spacing: -.012em; color: var(--text); padding-top: 5px; }
.v-steps p { margin-top: 6px; font-size: 13px; color: var(--muted); max-width: 380px; }
.v-term .ln { padding-left: 16px; }
.v-term .ln i { width: auto; padding-right: 10px; }
.v-term .ok { color: var(--mint); }
.v-term .dim { color: var(--faint); }

/* faq-split — split head left, one-open accordion right */
.v-faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.v-faq-head p { margin-top: 20px; max-width: 360px; }
.v-faq-head .more { margin-top: 20px; }
.v-faq-list { border-top: 1px solid var(--line); }
.v-faq-list details { border-bottom: 1px solid var(--line); }
.v-faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 15px; font-weight: 510; color: var(--text-2); cursor: pointer; transition: color .16s var(--ease); }
.v-faq-list summary::-webkit-details-marker { display: none; }
.v-faq-list summary:hover, .v-faq-list details[open] summary { color: var(--text); }
.v-faq-list summary .icon { width: 14px; height: 14px; color: var(--faint); transition: transform .35s var(--ease-out); }
.v-faq-list details[open] summary .icon { transform: rotate(45deg); }
.v-faq-list details p { padding: 0 48px 22px 0; font-size: 14px; color: var(--muted); }

/* cta-terminal — bordered panel: copy + email field left, install command right */
.v-ct { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: center; padding: 56px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); position: relative; }
.v-ct .t-h2 { max-width: 480px; }
.v-ct .t-body { margin-top: 16px; max-width: 420px; }
.v-ct-form { margin-top: 28px; display: flex; gap: 8px; max-width: 440px; }
.v-ct-form .input { height: 40px; }
.v-ct-note { margin-top: 12px; font-size: 12px; color: var(--faint); }
.v-ct .code-win { box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }

/* cta-statement — left-aligned two-tone statement, buttons, three reassurance lines */
.v-cs { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: end; }
.v-cs .statement { max-width: none; font-size: 56px; line-height: 1.02; }
.v-cs-side { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.v-cs-list { margin-top: 64px; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.v-cs-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.v-cs-list li .icon { width: 15px; height: 15px; margin-top: 2px; color: var(--mint); }
.v-cs-list b { color: var(--text); font-weight: 510; }

/* Variants page — responsive */
@media (max-width: 1100px) {
  .v-hs { grid-template-columns: 1fr; }
  .v-hs-card { left: 16px; }
  .v-bento { grid-template-columns: repeat(2, 1fr); }
  .v-tile { grid-column: span 1; }
  .v-tile.v-wide { grid-column: 1 / -1; }
  .v-stats { grid-template-columns: repeat(2, 1fr); }
  .v-stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .v-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .v-pd { grid-template-columns: 1fr 1fr; }
  .v-pd-inc { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--line); }
  .v-pm-num b { font-size: 72px; }
}
@media (max-width: 900px) {
  .v-intro { padding: 88px 0 48px; }
  .v-group { padding-top: 88px; }
  .v-meta { grid-template-columns: 1fr; margin-top: 48px; }
  .v-cls { grid-column: 1; }
  .variant { padding: 72px 0; }
  .v-head, .v-hm-top, .v-he, .v-ft, .v-pu, .v-st, .v-faq, .v-ct, .v-cs, .v-pm-quote { grid-template-columns: 1fr; gap: 32px; }
  .v-head { margin-bottom: 40px; }
  .v-hs-copy .t-display, .v-he-h { font-size: 44px; }
  .v-cs .statement { font-size: 34px; }
  .v-hs-media { padding-bottom: 0; }
  .v-hs-card { position: relative; left: auto; bottom: auto; width: auto; margin: -24px 12px 0; }
  .v-cmd { margin-top: 48px; }
  .v-cmd-foot { display: none; }
  .v-stats { margin-top: 48px; }
  .v-stat .v-num { font-size: 36px; }
  .v-he-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .v-he-foot { grid-template-columns: 1fr; }
  .v-bento { grid-template-columns: 1fr; }
  .v-tile, .v-tile.v-wide { grid-column: 1 / -1; min-height: 0; padding: 20px; }
  .v-ft .panel-inner { padding: 16px; }
  .v-fgrid { grid-template-columns: 1fr; }
  .v-fcell, .v-fcell:not(:nth-child(3n+1)) { padding: 28px 0; border-left: 0; }
  .v-pm-nums { grid-template-columns: 1fr; }
  .v-pm-num, .v-pm-num:first-child { padding: 28px 0; }
  .v-pm-num + .v-pm-num { border-left: 0; border-top: 1px solid var(--line); }
  .v-pm-num b { font-size: 64px; }
  .v-pm-quote { margin-top: 48px; }
  .v-pm-quote blockquote { font-size: 24px; }
  .v-wall { max-height: 980px; }
  .v-pd { grid-template-columns: 1fr; }
  .v-pd > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .v-pd > div { padding: 24px; }
  .v-pu-meter { padding: 24px; }
  .v-ct { padding: 24px; }
  .v-ct-form { flex-direction: column; }
  .v-cs-list { grid-template-columns: 1fr; margin-top: 40px; }
  .v-faq-list details p { padding-right: 0; }
}

/* phones: the two-tone hero headline stays within 4 lines (Farhan 2026-10-10: headlines max 3 lines on desktop) */
@media (max-width: 560px) { .v-he-h { font-size: 34px; line-height: 1.06; } }

/* Balanced headline breaks (Farhan 2026-10-10): every heading that wraps splits into even lines, never a long line
   over a short one. Never remove. */
h1, h2, h3, h4, h5, h6, [class*="t-h"], .h1, .h2, .h3, blockquote, blockquote p, .statement, [class*="quote"] p { text-wrap: balance; }
