/* neovertx.com — tokens from docs/brand-guidelines.md */
/* Geist and Geist Mono (SIL OFL 1.1), latin subset, self-hosted */
@font-face { font-family: 'Geist'; src: url('/assets/fonts/geist-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; src: url('/assets/fonts/geist-mono-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0B0D17; --surface: #13162A; --border: #23273F; --field-border: #646B88;
  --text: #E8EAF2; --muted: #9AA3B8; --link: #9D97FF;
  --brand: #6C63FF; --action: #5B52F0; --action-hover: #4C43E0; --signal: #22D3EE;
  --grid: rgba(255, 255, 255, .035);
  --font-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 8px; --radius-card: 12px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #FAFAFC; --surface: #FFFFFF; --border: #E4E6EF; --field-border: #858BA1;
    --text: #0E1020; --muted: #4F5670; --link: #5048E5;
    --signal: #0E7490; --grid: rgba(14, 16, 32, .045);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.15; }
h3 { font-size: clamp(20px, 2.4vw, 22px); line-height: 1.3; font-weight: 500; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.muted, .lede { color: var(--muted); }
.lede { font-size: clamp(17px, 2vw, 19px); max-width: 640px; }
.mono { font-family: var(--font-mono); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 16px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { color: var(--text); display: inline-flex; }
.logo svg { width: 132px; }
.nav-desktop { display: none; align-items: center; gap: 28px; }
.nav-desktop a:not(.btn), .nav-mobile a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav-desktop a:not(.btn):hover, .nav-desktop a[aria-current], .nav-mobile a[aria-current] { color: var(--text); }
.nav-mobile { position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; padding: 10px; margin-right: -10px; color: var(--text); }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary svg { width: 24px; }
.nav-mobile ul { position: absolute; right: -16px; top: 52px; width: min(280px, calc(100vw - 32px)); list-style: none; margin: 0; padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }
.nav-mobile li a:not(.btn) { display: block; padding: 10px 8px; font-size: 16px; }
.nav-mobile li .btn { width: 100%; margin-top: 8px; }
@media (min-width: 860px) { .nav-desktop { display: flex; } .nav-mobile { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: var(--radius); font: 500 15px/1 var(--font-sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s ease-out, border-color .15s ease-out; }
.btn-primary { background: var(--action); color: #fff; }
.btn-primary:hover { background: var(--action-hover); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* sections */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.eyebrow { font: 500 13px/1.4 var(--font-mono); color: var(--link); margin: 0 0 12px; text-transform: lowercase; }
.eyebrow::before { content: '/ '; }
.hero { padding: 88px 0 72px; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; border-bottom: 1px solid var(--border); }
.hero h1 { max-width: 760px; }
.hero .lede { margin-bottom: 28px; }
.page-hero { padding: 72px 0 48px; }

.grid-2, .grid-3 { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; }
.section-alt .card { background: var(--bg); }
.card > :last-child { margin-bottom: 0; }
.card-link { display: block; color: inherit; text-decoration: none; transition: border-color .15s ease-out; }
.card-link:hover { border-color: var(--muted); }
.card .more { color: var(--link); font-size: 15px; }
.icon { width: 24px; height: 24px; color: var(--brand); margin-bottom: 16px; }

.stats { display: flex; flex-wrap: wrap; gap: 20px 40px; margin-top: 40px; }
.stat-num { display: block; font-size: 28px; font-weight: 600; color: var(--signal); letter-spacing: -0.02em; }
.stat-label { font-size: 14px; color: var(--muted); }
.stack { font: 400 14px/1.9 var(--font-mono); color: var(--muted); }
.stack span:not(:last-child)::after { content: ' · '; color: var(--border); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; padding: 0; list-style: none; }
.tag { font: 400 12px/1 var(--font-mono); color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 6px 10px; }
.badge { display: inline-block; font: 500 12px/1 var(--font-mono); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--signal); }
.sector { font: 400 13px/1.4 var(--font-mono); color: var(--muted); margin-bottom: 8px; }

/* steps */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; }
.steps li::before { content: '0' counter(step); display: block; font: 500 13px/1 var(--font-mono); color: var(--signal); margin-bottom: 12px; }

/* cases */
.case { scroll-margin-top: 88px; }
.case dl { display: grid; gap: 12px; margin: 16px 0 0; }
.case dt { font: 500 13px/1.4 var(--font-mono); color: var(--link); }
.case dd { margin: 0; color: var(--muted); }
.result { color: var(--text) !important; }

/* products */
.product { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.product img { border-radius: var(--radius-card); border: 1px solid var(--border); }
.product picture { display: block; }

/* prose (legal) */
.prose { max-width: 720px; }
.prose h2 { font-size: 22px; margin-top: 40px; }
.prose li { margin-bottom: 6px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table-wrap { overflow-x: auto; }

/* cta band */
.cta { text-align: center; }
.cta .btn-row { justify-content: center; }
.cta h2 { max-width: 720px; margin-inline: auto; }

/* forms */
.form-layout { display: grid; gap: 40px; }
@media (min-width: 900px) { .form-layout { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--surface); border: 1px solid var(--field-border); border-radius: var(--radius); padding: 11px 12px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--link); outline-offset: 0; border-color: transparent; }
.field [aria-invalid="true"] { border-color: #EF4444; }
.error { color: #F87171; font-size: 14px; margin: 6px 0 0; }
@media (prefers-color-scheme: light) { .error { color: #B91C1C; } }
.alert { border: 1px solid #EF4444; border-radius: var(--radius); padding: 12px 16px; margin-bottom: 24px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 40px; font-size: 14px; color: var(--muted); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.footer-top .logo svg { width: 36px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; margin: 0; padding: 0; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--text); }
.legal { font-size: 13px; max-width: 760px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.h3 { font-size: clamp(20px, 2.4vw, 22px); line-height: 1.3; font-weight: 500; }
.hero-home h1 { max-width: 20ch; }
.page-hero + .section { padding-top: 8px; }
.faq h3 { font-size: 17px; margin: 0 0 6px; }
.faq p { margin: 0 0 24px; }
