/* FastRestful product site — Signal Grid editorial system */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Noto+Kufi+Arabic:wght@400..700&display=swap');

:root {
  color-scheme: light;
  --bg: #f4f5f0;
  --surface: #fbfcf8;
  --surface-2: #eceee8;
  --surface-3: #e2e5dc;
  --ink: #10120e;
  --ink-soft: #2c3028;
  --muted: #62665e;
  --muted-2: #7e8279;
  --line: #d7dad1;
  --line-strong: #b9bdb1;
  --lime: #c8f135;
  --lime-soft: #edffc0;
  --lime-ink: #263300;
  --positive: #5c7010;
  --warning: #b8730a;
  --destructive: #b52d2d;
  --orange: #f5a338;
  --red: #d94f4f;
  --blue: #527cff;
  --violet: #9c72ff;
  --paper: #f4f5f0;
  --graphite: #10120e;
  --graphite-2: #171a14;
  --graphite-line: rgba(244,245,240,.14);
  --graphite-muted: rgba(244,245,240,.62);
  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-sans: "Instrument Sans", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", monospace;
  --radius-xs: 4px;
  --radius-sm: 7px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow: 0 18px 60px rgba(16,18,14,.08);
  --shadow-dark: 0 30px 90px rgba(16,18,14,.24);
  --header-h: 76px;
  --container: 1320px;
  --ease: cubic-bezier(.22,.86,.24,1);
  --trans: 220ms var(--ease);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080a08;
  --surface: #0f120f;
  --surface-2: #171a16;
  --surface-3: #1d211b;
  --ink: #f1f4ed;
  --ink-soft: #d4d9cf;
  --muted: #949b90;
  --muted-2: #7e857a;
  --line: #292d27;
  --line-strong: #3a4036;
  --lime: #c8f135;
  --lime-soft: #25320c;
  --lime-ink: #d9f774;
  --positive: #b7dd4f;
  --warning: #dfad55;
  --destructive: #ff7474;
  --graphite: #10120e;
  --graphite-2: #171a14;
  --graphite-line: rgba(244,245,240,.14);
  --graphite-muted: rgba(244,245,240,.62);
  --shadow: 0 18px 60px rgba(0,0,0,.35);
  --shadow-dark: 0 30px 90px rgba(0,0,0,.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--lime); color: #10120e; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
img { height: auto; }
h1,h2,h3,h4,p { margin-top: 0; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 650; }
code, pre, kbd { font-family: var(--font-mono); }
main { overflow: clip; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 999;
  background: var(--lime); color: #10120e; padding: 12px 16px;
  border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.narrow { width: min(900px, calc(100% - 64px)); margin-inline: auto; }
.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--flush { padding-bottom: 0; }
.section-line { border-top: 1px solid var(--line); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .69rem/1.2 var(--font-mono); letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.kicker .dot { display: inline-grid; place-items: center; }
.kicker .num { color: var(--positive); }
.eyebrow { font: 600 .66rem var(--font-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--positive); }

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.1vw, 7.6rem);
  line-height: .9;
  letter-spacing: -.075em;
  font-weight: 650;
  margin: 0;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.8vw, 5rem);
  line-height: .95;
  letter-spacing: -.06em;
  font-weight: 650;
  margin: 0;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 650;
  margin: 0;
}
.lede { font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.65; color: var(--muted); max-width: 650px; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.positive { color: var(--positive); }
.lime-text { color: var(--lime); }
.highlight { background: var(--lime); color: #10120e; padding: .02em .12em .04em; border-radius: .1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.outline-text { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.divider { height: 1px; background: var(--line); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 80;
  height: var(--header-h);
  border-bottom: 1px solid color-mix(in srgb,var(--line) 80%,transparent);
  background: color-mix(in srgb,var(--bg) 86%,transparent);
  backdrop-filter: blur(18px);
}
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.045em; font-size: 1.11rem; flex: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--graphite);
  display: grid; grid-template-columns: repeat(3, 5px); align-items: end; gap: 3px;
  padding: 7px; border: 1px solid color-mix(in srgb,var(--ink) 10%,transparent);
}
.brand-mark i { display: block; background: var(--paper); height: 5px; border-radius: 1px; }
.brand-mark i:nth-child(2) { height: 10px; }
.brand-mark i:nth-child(3) { height: 15px; background: var(--lime); }
.brand-sub { color: var(--muted); font: 500 .58rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; border-left: 1px solid var(--line); padding-left: 11px; margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 9px 13px; border-radius: 6px; color: var(--muted); font-weight: 600; font-size: .87rem; transition: color var(--trans), background var(--trans); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { min-height: 40px; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); transition: border-color var(--trans), background var(--trans); }
.icon-btn:hover { border-color: var(--line-strong); background: var(--surface-2); }
.icon-btn svg { width: 17px; height: 17px; }
.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }
.menu-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 18px; border: 1px solid var(--line);
  border-radius: 7px; background: var(--surface); color: var(--ink);
  font-weight: 650; font-size: .9rem; white-space: nowrap;
  transition: transform var(--trans), border-color var(--trans), background var(--trans), color var(--trans);
}
.btn:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--lime); border-color: var(--lime); color: #10120e; box-shadow: 0 12px 28px color-mix(in srgb,var(--lime) 30%,transparent); }
.btn-primary:hover { background: color-mix(in srgb,var(--lime) 84%,white); border-color: color-mix(in srgb,var(--lime) 84%,white); }
.btn-dark { background: var(--graphite); color: var(--paper); border-color: var(--graphite); }
.btn-dark:hover { background: #24291f; border-color: #24291f; }
[data-theme="dark"] .btn-dark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-ghost { background: transparent; }
.btn-sm { min-height: 38px; padding: 0 13px; font-size: .8rem; }
.arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.arrow svg { transition: transform var(--trans); }
.arrow:hover svg { transform: translateX(4px); }

/* Hero */
.hero { position: relative; padding: 74px 0 0; overflow: hidden; }
.hero:before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .45; mask-image: linear-gradient(to bottom, black 0%, transparent 90%);
  pointer-events: none;
}
.hero:after {
  content: ""; position: absolute; width: 760px; height: 760px; right: -200px; top: -280px;
  background: radial-gradient(circle, color-mix(in srgb,var(--lime) 22%,transparent), transparent 66%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(430px, .96fr); align-items: center; gap: 64px; padding-bottom: 52px; }
.hero-copy { max-width: 780px; }
.hero h1 { margin: 23px 0 26px; }
.hero h1 .muted-line { color: var(--muted); }
.hero h1 .mark-line { display: inline-block; background: var(--lime); color: #10120e; padding: .01em .1em .04em; border-radius: .07em; transform: rotate(-.7deg); box-shadow: 0 2px 0 rgba(16,18,14,.12); }
.hero-lede { max-width: 610px; font-size: 1.04rem; line-height: 1.68; color: var(--muted); margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof b { color: var(--ink); font-family: var(--font-mono); font-size: .72rem; }
.hero-proof .pulse { display: inline-grid; place-items: center; }

.hero-stage { position: relative; }
.stage-frame {
  position: relative; border-radius: 18px; background: var(--graphite); padding: 12px;
  box-shadow: var(--shadow-dark); border: 1px solid color-mix(in srgb,var(--ink) 12%,transparent);
}
.stage-frame:before {
  content: ""; position: absolute; inset: 12px; border-radius: 11px;
  background-image: linear-gradient(rgba(244,245,240,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(244,245,240,.06) 1px, transparent 1px);
  background-size: 32px 32px; pointer-events: none; z-index: 1;
}
.browser-frame { position: relative; z-index: 2; border-radius: 10px; overflow: hidden; border: 1px solid rgba(244,245,240,.14); background: var(--bg); }
.browser-bar { height: 34px; background: #0b0d0a; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid rgba(244,245,240,.12); }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(244,245,240,.24); }
.browser-bar i:first-child { background: var(--lime); }
.browser-url { margin-left: 8px; padding: 3px 9px; border-radius: 4px; background: rgba(244,245,240,.08); color: rgba(244,245,240,.62); font: 500 .54rem var(--font-mono); letter-spacing: .02em; }
.browser-frame img { display: block; width: 100%; height: auto; }
.stage-glow { position: absolute; width: 280px; height: 280px; border-radius: 50%; background: color-mix(in srgb,var(--lime) 22%,transparent); filter: blur(60px); right: -70px; bottom: -90px; z-index: 0; pointer-events: none; }
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 10px 13px; border: 1px solid rgba(244,245,240,.18); border-radius: 8px;
  background: rgba(16,18,14,.88); color: var(--paper); backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0,0,0,.28); font: 600 .64rem var(--font-mono);
}
.float-card .status-dot { display: inline-grid; place-items: center; }
.float-card small { display: block; color: rgba(244,245,240,.55); font-weight: 400; font-size: .54rem; }
.float-card--release { top: 11%; left: -26px; }
.float-card--request { right: -22px; bottom: 16%; }
.float-card--request .status-dot { background: var(--lime); }

/* Signal ticker */
.signal-ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 34s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 14px; padding: 13px 0; margin-right: 34px; color: var(--muted); font: 600 .62rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.ticker-track span:before { flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Stats */
.stats-strip { display: grid; grid-template-columns: repeat(4,1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.stats-strip > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 26px; background: color-mix(in srgb,var(--surface) 72%,transparent); }
.stats-strip strong { display: block; font: 650 clamp(1.8rem,2.8vw,2.7rem)/1 var(--font-display); letter-spacing: -.05em; margin-bottom: 7px; }
.stats-strip span { display: block; color: var(--muted); font: 500 .66rem var(--font-mono); text-transform: uppercase; letter-spacing: .07em; }

/* Section headings */
.section-head { display: grid; grid-template-columns: minmax(0,.42fr) minmax(0,1fr); gap: 48px; align-items: start; margin-bottom: 48px; }
.section-head .display-lg { max-width: 820px; }
.section-head p { max-width: 590px; margin: 18px 0 0; color: var(--muted); }
.section-head--row { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.section-head--row p { margin-bottom: 0; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12,1fr); gap: 12px; }
.bento-card {
  position: relative; min-width: 0; padding: 24px; border: 1px solid var(--line);
  border-radius: var(--radius-md); background: var(--surface); overflow: hidden;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}
.bento-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb,var(--lime) 44%,var(--line)); box-shadow: 0 18px 50px color-mix(in srgb,var(--ink) 7%,transparent); }
.bento-card--7 { grid-column: span 7; }
.bento-card--5 { grid-column: span 5; }
.bento-card--6 { grid-column: span 6; }
.bento-card--4 { grid-column: span 4; }
.bento-card--8 { grid-column: span 8; }
.bento-card--12 { grid-column: span 12; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font: 600 .6rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.card-icon { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); display: grid; place-items: center; }
.card-icon svg { width: 17px; height: 17px; color: var(--positive); }
.bento-card h3 { font-size: clamp(1.32rem,1.8vw,1.8rem); letter-spacing: -.04em; margin: 22px 0 9px; }
.bento-card p { color: var(--muted); font-size: .9rem; max-width: 56ch; margin: 0; }
.bento-media { margin: 22px -8px -8px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--surface-2); }
.bento-media img { display: block; width: 100%; height: auto; }
.bento-card--wide-media .bento-media { margin-top: 26px; }
.micro-ui { margin-top: 22px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--surface-2); }
.micro-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); font: 600 .64rem var(--font-mono); }
.micro-row:last-child { border-bottom: 0; }
.micro-row i { display: inline-grid; place-items: center; }
.micro-row .tag { margin-left: auto; color: var(--positive); background: var(--lime-soft); border: 1px solid color-mix(in srgb,var(--lime) 45%,var(--line)); padding: 2px 6px; border-radius: 3px; font-size: .53rem; }
.code-window { margin-top: 22px; background: var(--graphite); color: var(--paper); border-radius: 9px; overflow: auto; border: 1px solid var(--graphite-line); }
.code-window-head { display: flex; align-items: center; gap: 7px; padding: 10px 12px; border-bottom: 1px solid var(--graphite-line); color: var(--graphite-muted); font: 500 .58rem var(--font-mono); }
.code-window-head i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.code-window pre { margin: 0; padding: 16px 18px; font-size: .69rem; line-height: 1.85; }
.tok-key { color: #d38cff; } .tok-str { color: #b7dd4f; } .tok-com { color: #72796d; } .tok-num { color: #f5a338; } .tok-fn { color: #86a8ff; }
.release-flow { display: flex; align-items: center; gap: 8px; margin-top: 24px; }
.release-node { flex: 1; border: 1px solid var(--line); background: var(--bg); border-radius: 7px; min-height: 72px; display: flex; align-items: center; justify-content: center; gap: 7px; font: 600 .6rem var(--font-mono); text-align: center; padding: 8px; }
.release-node.is-live { background: var(--lime-soft); border-color: color-mix(in srgb,var(--lime) 52%,var(--line)); color: var(--lime-ink); }
.release-node svg { width: 14px; height: 14px; }
.release-flow > span { height: 1px; width: 18px; background: var(--line); flex: none; }
.release-journal { margin-top: 14px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.journal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; border-bottom: 1px solid var(--line); color: var(--muted); font: 600 .54rem var(--font-mono); letter-spacing: .07em; text-transform: uppercase; }
.journal-row { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-bottom: 1px solid var(--line); }
.journal-row:last-child { border-bottom: 0; }
.journal-row > i { display: inline-grid; place-items: center; flex: none; }
.journal-row > i.is-muted { color: var(--muted-2); }
.journal-row > div { display: grid; gap: 1px; min-width: 0; }
.journal-row strong { font-size: .65rem; font-weight: 650; }
.journal-row small { color: var(--muted); font: 400 .54rem var(--font-mono); }
.journal-row > span { margin-left: auto; color: var(--positive); font: 600 .5rem var(--font-mono); letter-spacing: .04em; }
.diff-list { margin-top: 10px; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: var(--surface-2); }
.diff-row { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-bottom: 1px solid var(--line); font: 500 .58rem var(--font-mono); }
.diff-row:last-child { border-bottom: 0; }
.diff-row b { width: 38px; color: var(--positive); font-size: .5rem; }
.diff-row code { color: var(--ink-soft); font-size: .58rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.diff-row span { margin-left: auto; font-size: .49rem; letter-spacing: .04em; text-transform: uppercase; }
.diff-row .is-added { color: var(--positive); }
.diff-row .is-changed { color: var(--warning); }
.diff-row .is-removed { color: var(--destructive); }

/* Surface tabs */
.surface-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.surface-tab { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 10px 14px; font: 600 .72rem var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.surface-tab[aria-selected="true"] { background: var(--graphite); color: var(--paper); border-color: var(--graphite); }
.surface-panel { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: 42px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: 24px; }
.surface-copy { padding: 14px 8px 14px 16px; }
.surface-copy h3 { font-size: clamp(1.8rem,3vw,2.8rem); letter-spacing: -.055em; margin: 16px 0 12px; }
.surface-copy p { color: var(--muted); }
.surface-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.surface-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--ink-soft); }
.surface-list li:before { flex: none; }
.surface-visual { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow); }
.surface-visual img { display: block; width: 100%; }

/* Dark band */
.band { background: var(--graphite); color: var(--paper); position: relative; overflow: hidden; }
.band:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(244,245,240,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(244,245,240,.05) 1px, transparent 1px); background-size: 52px 52px; pointer-events: none; }
.band .container { position: relative; z-index: 1; }
.band .kicker, .band .lede, .band p { color: var(--graphite-muted); }
.band .display-lg, .band h3 { color: var(--paper); }
.band .section-head { margin-bottom: 42px; }
.band-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.band-card { border: 1px solid var(--graphite-line); background: rgba(244,245,240,.035); border-radius: 10px; padding: 22px; }
.band-card .num { color: var(--lime); font: 600 .58rem var(--font-mono); letter-spacing: .1em; }
.band-card h3 { font-size: 1.28rem; margin: 26px 0 8px; letter-spacing: -.035em; }
.band-card p { font-size: .86rem; line-height: 1.6; margin: 0; }
.band-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: var(--graphite-muted); font-size: .78rem; }
.band-card li { display: flex; gap: 8px; }
.band-card li:before { flex: none; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 34px; }
.feature-tags span { border: 1px solid var(--graphite-line); border-radius: 999px; padding: 7px 10px; color: var(--graphite-muted); font: 500 .6rem var(--font-mono); }

/* Capability atlas */
.atlas { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.atlas-card { border-top: 1px solid var(--line); padding-top: 16px; }
.atlas-card h3 { font-size: .96rem; letter-spacing: -.025em; margin: 0 0 12px; }
.atlas-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.atlas-card li { color: var(--muted); font-size: .76rem; line-height: 1.4; }
.atlas-card li:before { flex: none; }

/* Docs preview */
.docs-preview { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 48px; align-items: center; }
.docs-window { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.docs-window-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); font: 600 .6rem var(--font-mono); color: var(--muted); }
.docs-window-body { display: grid; grid-template-columns: 130px 1fr; min-height: 290px; }
.docs-window-side { border-right: 1px solid var(--line); padding: 12px; background: var(--surface-2); display: grid; align-content: start; gap: 7px; }
.docs-window-side span { height: 9px; border-radius: 3px; background: var(--line); }
.docs-window-side span:nth-child(2n) { width: 72%; }
.docs-window-side span:first-child { background: var(--lime); width: 58%; }
.docs-window-main { padding: 20px; }
.docs-window-main .line { height: 10px; border-radius: 3px; background: var(--surface-2); margin: 10px 0; }
.docs-window-main .line.short { width: 45%; }
.docs-window-main .line.med { width: 72%; }
.docs-window-main .callout { margin-top: 18px; border: 1px solid color-mix(in srgb,var(--lime) 40%,var(--line)); background: var(--lime-soft); border-radius: 6px; padding: 10px; color: var(--lime-ink); font: 600 .58rem var(--font-mono); }
.docs-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 2px; }
.docs-list a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.docs-list span { display: flex; gap: 14px; align-items: baseline; }
.docs-list b { font: 600 .66rem var(--font-mono); color: var(--positive); }
.docs-list strong { font-weight: 650; font-size: .92rem; }
.docs-list small { color: var(--muted); font-size: .76rem; }
.docs-list svg { width: 15px; flex: none; }

/* CTA */
.cta-panel { position: relative; border-radius: var(--radius-lg); background: var(--lime); color: #10120e; padding: clamp(36px,5vw,68px); overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: end; }
.cta-panel:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(16,18,14,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(16,18,14,.08) 1px, transparent 1px); background-size: 42px 42px; opacity: .45; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { font-size: clamp(2.4rem,4.5vw,5rem); line-height: .94; letter-spacing: -.065em; margin: 10px 0 14px; max-width: 800px; }
.cta-panel p { max-width: 620px; margin: 0; color: rgba(16,18,14,.64); }
.cta-panel .btn-dark { background: #10120e; color: #f4f5f0; border-color: #10120e; }
/* The lime panel keeps its color in both themes, so outline actions must keep
   dark ink and borders instead of inheriting the dark-theme light foreground. */
.cta-panel .btn-ghost { color: #10120e; border-color: rgba(16,18,14,.42); background: transparent; }
.cta-panel .btn-ghost:hover { color: #10120e; border-color: #10120e; background: rgba(16,18,14,.07); }
.cta-panel .btn-ghost:focus-visible { outline-color: #10120e; }
.cta-panel .kicker { color: rgba(16,18,14,.64); }
.cta-panel .kicker .dot { background: none; box-shadow: none; color: #10120e; }
.cta-panel .kicker .dot circle:last-child { fill: currentColor; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-meta { margin-top: 24px; display: flex; gap: 16px; flex-wrap: wrap; font: 600 .62rem var(--font-mono); color: rgba(16,18,14,.55); }

/* Footer */
.site-footer { background: var(--graphite); color: var(--paper); padding: 64px 0 26px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; padding-bottom: 54px; border-bottom: 1px solid var(--graphite-line); }
.footer-brand p { max-width: 420px; color: var(--graphite-muted); margin: 18px 0 24px; font-size: .9rem; }
.footer-brand .brand-mark { background: var(--paper); }
.footer-brand .brand-mark i { background: var(--graphite); }
.footer-brand .brand-mark i:nth-child(3) { background: var(--lime); }
.footer-brand .brand-mark i:nth-child(3) { background: var(--lime); }
.footer-brand .brand { color: var(--paper); }
.footer-brand .brand-sub { border-color: var(--graphite-line); color: var(--graphite-muted); }
.footer-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--graphite-line); border-radius: 999px; padding: 7px 10px; color: var(--graphite-muted); font: 600 .6rem var(--font-mono); }
.footer-badge i { display: inline-grid; place-items: center; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.footer-links h3 { font: 600 .6rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--graphite-muted); margin: 0 0 14px; }
.footer-links a { display: block; color: rgba(244,245,240,.78); font-size: .82rem; padding: 5px 0; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; color: var(--graphite-muted); font-size: .7rem; }
.footer-bottom strong { color: var(--paper); font-weight: 600; }
.footer-bottom a { color: var(--lime); }

/* Pricing */
.pricing-hero { padding: 84px 0 46px; text-align: center; position: relative; }
.pricing-hero .lede { margin-inline: auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; align-items: stretch; }
.price-card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column; min-height: 440px; }
.price-card.is-featured { background: var(--graphite); color: var(--paper); border-color: var(--graphite); }
.price-card.is-featured .muted, .price-card.is-featured .price-copy, .price-card.is-featured .price-list li { color: var(--graphite-muted); }
.price-card.is-lime { background: var(--lime-soft); border-color: color-mix(in srgb,var(--lime) 48%,var(--line)); }
.price-label { display: flex; align-items: center; justify-content: space-between; font: 600 .62rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.price-card.is-featured .price-label { color: var(--graphite-muted); }
.price { font: 650 clamp(2.5rem,4vw,4rem)/1 var(--font-display); letter-spacing: -.06em; margin: 22px 0 6px; }
.price small { font: 500 .72rem var(--font-mono); letter-spacing: 0; color: var(--muted); }
.price-copy { color: var(--muted); font-size: .86rem; }
.price-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.price-list li { display: flex; gap: 9px; font-size: .8rem; color: var(--ink-soft); }
.price-list li:before { flex: none; }
.price-card.is-featured .price-list li:before { color: var(--lime); }
.price-card .btn { width: 100%; }
.pricing-note { text-align: center; color: var(--muted); font-size: .74rem; margin-top: 22px; }
.faq { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { flex: none; }

.faq p { margin: -4px 0 20px; color: var(--muted); max-width: 75ch; }

/* Features page */
.feature-hero { padding: 82px 0 54px; position: relative; }
.feature-hero:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: .32; mask-image: linear-gradient(to bottom,black,transparent 92%); pointer-events: none; }
.feature-hero .container { position: relative; }
.feature-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) 370px; gap: 56px; align-items: end; }
.feature-hero aside { border-left: 1px solid var(--line); padding-left: 24px; }
.feature-hero aside p { margin: 0 0 12px; color: var(--muted); font-size: .82rem; }
.feature-hero aside strong { font: 650 2.1rem/1 var(--font-mono); letter-spacing: -.05em; display: block; margin-bottom: 6px; }
.feature-rows { display: grid; gap: 14px; }
.feature-row { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: 36px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.feature-row:nth-child(even) .feature-row-copy { order: 2; }
.feature-row-copy { padding: 20px; }
.feature-row-copy h2 { font-size: clamp(1.7rem,2.7vw,2.55rem); letter-spacing: -.05em; line-height: 1; margin: 16px 0 13px; }
.feature-row-copy p { color: var(--muted); font-size: .88rem; }
.feature-row-copy ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.feature-row-copy li { font-size: .79rem; display: flex; gap: 8px; color: var(--ink-soft); }
.feature-row-copy li:before { flex: none; }
.feature-row-media { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--surface-2); }
.feature-row-media img { display: block; width: 100%; }
.matrix { display: grid; grid-template-columns: repeat(3,1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.matrix-group { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px; background: var(--surface); }
.matrix-group h2 { font-size: 1rem; letter-spacing: -.02em; margin: 0 0 14px; display: flex; align-items: center; gap: 9px; }
.matrix-group h2 span { color: var(--positive); font: 600 .62rem var(--font-mono); }
.matrix-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.matrix-group li { color: var(--muted); font-size: .76rem; display: flex; gap: 7px; }
.matrix-group li:before { flex: none; }

/* Docs shell */
.docs-page { background: var(--bg); }
.docs-hero { padding: 56px 0 34px; border-bottom: 1px solid var(--line); }
.docs-hero-grid { display: flex; align-items: end; justify-content: space-between; gap: 36px; }
.docs-hero h1 { margin: 15px 0 12px; }
.docs-hero p { max-width: 650px; color: var(--muted); margin: 0; }
.docs-meta { display: flex; gap: 24px; font: 600 .62rem var(--font-mono); color: var(--muted); white-space: nowrap; }
.docs-meta b { display: block; color: var(--ink); font: 650 1.2rem/1.2 var(--font-display); letter-spacing: -.04em; }
.docs-layout { display: grid; grid-template-columns: 238px minmax(0,1fr) 190px; gap: 46px; align-items: start; padding: 44px 0 96px; }
.docs-sidebar { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; padding-right: 8px; scrollbar-width: thin; }
.docs-search { position: relative; margin-bottom: 22px; }
.docs-search input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 0 12px 0 34px; font-size: .78rem; }
.docs-search input:focus { outline: 2px solid var(--lime); outline-offset: 1px; }
.docs-search svg { position: absolute; left: 11px; top: 12px; width: 15px; height: 15px; color: var(--muted); }
.docs-nav-group { margin-bottom: 22px; }
.docs-nav-group h2 { font: 600 .58rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.docs-nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 9px; border-radius: 5px; color: var(--muted); font-size: .77rem; line-height: 1.35; }
.docs-nav a:hover { color: var(--ink); background: var(--surface-2); }
.docs-nav a.is-active { color: var(--ink); background: var(--surface-2); font-weight: 650; box-shadow: inset 2px 0 0 var(--lime); }
.docs-nav a .arr { opacity: 0; }
.docs-nav a.is-active .arr { opacity: 1; }
.docs-nav-empty { display: none; color: var(--muted); font-size: .75rem; padding: 8px 9px; }
.docs-menu-toggle { display: none; }
.docs-main { min-width: 0; }
.doc-article { display: none; animation: doc-in 260ms var(--ease); }
.doc-article.is-active { display: block; }
@keyframes doc-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.doc-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--positive); font: 600 .62rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.doc-meta span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; color: var(--muted); letter-spacing: .04em; }
.doc-article h1 { font-size: clamp(2.4rem,4.5vw,4.3rem); line-height: .96; letter-spacing: -.065em; margin: 0 0 18px; }
.doc-lede { font-size: 1.03rem; line-height: 1.7; color: var(--muted); max-width: 75ch; margin-bottom: 34px; }
.doc-article h2 { font-size: clamp(1.55rem,2.2vw,2.05rem); letter-spacing: -.04em; margin: 52px 0 14px; scroll-margin-top: 100px; padding-top: 20px; border-top: 1px solid var(--line); }
.doc-article h3 { font-size: 1.14rem; letter-spacing: -.025em; margin: 30px 0 10px; scroll-margin-top: 100px; }
.doc-article p, .doc-article li { color: var(--ink-soft); font-size: .91rem; line-height: 1.72; }
.doc-article p { margin: 0 0 16px; max-width: 78ch; }
.doc-article ul, .doc-article ol { padding-left: 22px; margin: 0 0 18px; }
.doc-article li { margin: 5px 0; }
.doc-article a { color: var(--positive); text-decoration: underline; text-underline-offset: 3px; }
.doc-article strong { color: var(--ink); font-weight: 650; }
.doc-article code:not(pre code) { background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; font-size: .78em; }
.doc-article table { width: 100%; border-collapse: collapse; margin: 18px 0 28px; font-size: .78rem; display: block; overflow-x: auto; }
.doc-article th, .doc-article td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.doc-article th { font: 600 .6rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--surface); white-space: nowrap; }
.doc-article td { color: var(--ink-soft); }
.doc-article tr:hover td { background: color-mix(in srgb,var(--surface) 64%,transparent); }
.doc-toc { position: sticky; top: calc(var(--header-h) + 24px); border-left: 1px solid var(--line); padding-left: 16px; }
.doc-toc h2 { font: 600 .58rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.doc-toc a { display: block; color: var(--muted); font-size: .72rem; padding: 4px 0; line-height: 1.4; }
.doc-toc a:hover { color: var(--ink); }
.doc-toc a.is-nested { padding-left: 10px; font-size: .68rem; }
.doc-callout { border: 1px solid color-mix(in srgb,var(--lime) 46%,var(--line)); background: var(--lime-soft); border-radius: 8px; padding: 16px 18px; margin: 24px 0; color: var(--lime-ink); font-size: .84rem; }
.doc-callout strong { color: inherit; }
.doc-figure { margin: 24px 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--surface); }
.doc-figure img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.doc-figure figcaption { padding: 10px 13px; color: var(--muted); font: 500 .62rem var(--font-mono); line-height: 1.5; }
.doc-callout--note { border-color: var(--line); background: var(--surface); color: var(--ink-soft); }
.doc-code { margin: 20px 0 24px; border: 1px solid var(--graphite-line); border-radius: 9px; overflow: hidden; background: var(--graphite); color: var(--paper); }
.doc-code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px 9px 15px; border-bottom: 1px solid var(--graphite-line); color: var(--graphite-muted); font: 500 .58rem var(--font-mono); }
.doc-code-head button { border: 1px solid var(--graphite-line); background: transparent; color: var(--paper); border-radius: 4px; padding: 4px 7px; font: 600 .53rem var(--font-mono); }
.doc-code pre, .code-block pre { margin: 0; padding: 16px 18px; overflow: auto; font-size: .71rem; line-height: 1.8; }
.doc-code pre code, .code-block pre code { background: none; border: 0; padding: 0; color: inherit; }
.doc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc-pager a { border: 1px solid var(--line); border-radius: 7px; padding: 13px 15px; background: var(--surface); }
.doc-pager small { display: block; color: var(--muted); font: 600 .56rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.doc-pager strong { font-size: .82rem; }
.doc-pager a:last-child { text-align: right; }
.doc-pager a:hover { border-color: var(--line-strong); }
.docs-aside-cta { margin-top: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 14px; }
.docs-aside-cta strong { display: block; font-size: .78rem; margin-bottom: 5px; }
.docs-aside-cta p { color: var(--muted); font-size: .69rem; margin: 0 0 9px; }
.docs-aside-cta a { color: var(--positive); font-size: .7rem; font-weight: 650; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; position: relative; }
.notfound:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: .42; mask-image: radial-gradient(circle at center, black, transparent 70%); }
.notfound > div { position: relative; z-index: 1; max-width: 720px; }
.notfound .code { font: 650 clamp(5rem,14vw,12rem)/.8 var(--font-display); letter-spacing: -.09em; color: var(--ink); margin-bottom: 24px; }
.notfound .code span { color: var(--lime); }

/* Small helpers */
.split-line { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.split-line:after { content: ""; flex: 1; height: 1px; background: var(--line); }
.status-chip { display: inline-flex; align-items: center; gap: 6px; font: 600 .58rem var(--font-mono); color: var(--positive); text-transform: uppercase; letter-spacing: .06em; }
.status-chip:before { flex: none; }
.doc-article .doc-steps { list-style: none; counter-reset: doc-step; padding: 0; margin: 20px 0 26px; display: grid; gap: 12px; }
.doc-steps > li { counter-increment: doc-step; position: relative; padding: 14px 16px 14px 52px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); margin: 0; }
.doc-steps > li:before { content: counter(doc-step); position: absolute; left: 14px; top: 14px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: #10120e; font: 700 .68rem var(--font-mono); }
.doc-steps > li > strong:first-child { display: block; color: var(--ink); font-size: .88rem; margin-bottom: 3px; }
.doc-steps > li p { margin: 0; font-size: .84rem; }
.doc-steps > li p + p { margin-top: 8px; }
.doc-steps > li .doc-code { margin: 10px 0 0; }
.doc-steps > li ul { margin: 8px 0 0; }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.check-list li { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: .8rem; }
.check-list li:before { flex: none; }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(380px,.9fr); gap: 40px; }
  .float-card--release { left: -10px; }
  .float-card--request { right: -8px; }
  .docs-layout { grid-template-columns: 220px minmax(0,1fr); gap: 36px; }
  .doc-toc { display: none; }
  .atlas { grid-template-columns: repeat(2,1fr); row-gap: 28px; }
}
@media (max-width: 980px) {
  .container { width: min(var(--container), calc(100% - 40px)); }
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .site-header.is-open .nav { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 12px 20px 18px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-header.is-open .nav a { padding: 12px; }
  .hero { padding-top: 54px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-stage { max-width: 760px; }
  .float-card--release { left: 10px; }
  .float-card--request { right: 10px; }
  .section { padding: 80px 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }
  .section-head--row { align-items: flex-start; flex-direction: column; gap: 18px; }
  .surface-panel { grid-template-columns: 1fr; gap: 22px; }
  .surface-copy { padding: 8px 4px; }
  .docs-preview { grid-template-columns: 1fr; gap: 30px; }
  .docs-layout { grid-template-columns: 1fr; padding-top: 28px; }
  .docs-sidebar { display: none; position: static; max-height: none; padding: 0; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 9px; padding: 14px; background: var(--surface); }
  .docs-sidebar.is-open { display: block; }
  .docs-menu-toggle { display: inline-flex; margin-bottom: 18px; }
  .docs-hero-grid { align-items: flex-start; flex-direction: column; gap: 20px; }
  .docs-meta { flex-wrap: wrap; }
  .feature-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature-hero aside { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; }
  .feature-row { grid-template-columns: 1fr; gap: 18px; }
  .feature-row:nth-child(even) .feature-row-copy { order: 0; }
  .feature-row-copy { padding: 8px 4px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
  .price-card { min-height: auto; }
  .band-grid { grid-template-columns: 1fr; }
  .matrix { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .bento-card--7, .bento-card--5, .bento-card--6, .bento-card--4, .bento-card--8 { grid-column: span 12; }
  .stats-strip { grid-template-columns: repeat(2,1fr); }
  .cta-panel { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 680px) {
  :root { --header-h: 68px; }
  .container, .narrow { width: calc(100% - 32px); }
  .brand-sub { display: none; }
  .header-actions .btn-dark { display: none; }
  .hero h1 { font-size: clamp(3rem,15vw,4.5rem); }
  .hero-actions .btn { flex: 1; min-width: 150px; }
  .hero-proof { gap: 10px 16px; }
  .float-card { display: none; }
  .stage-frame { padding: 8px; border-radius: 12px; }
  .browser-bar { height: 28px; }
  .browser-url { font-size: .45rem; }
  .ticker-track span { font-size: .56rem; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stats-strip > div { padding: 18px; }
  .section { padding: 66px 0; }
  .display-xl { font-size: clamp(2.8rem,14vw,4.2rem); }
  .display-lg { font-size: clamp(2.35rem,10vw,3.4rem); }
  .bento-card { padding: 18px; }
  .release-flow { flex-wrap: wrap; }
  .release-flow > span { display: none; }
  .release-node { min-width: 45%; }
  .surface-tab { flex: 1; text-align: center; font-size: .6rem; padding: 9px 8px; }
  .surface-panel { padding: 14px; }
  .docs-window-body { grid-template-columns: 90px 1fr; }
  .docs-window-main { padding: 14px; }
  .matrix { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .cta-panel { padding: 30px 22px; }
  .docs-nav a { padding: 9px; }
  .doc-pager { grid-template-columns: 1fr; }
  .doc-pager a:last-child { text-align: left; }
  .doc-article h1 { font-size: 2.45rem; }
  .notfound .code { font-size: 6.5rem; }
}

@media print { .js [data-reveal] { opacity: 1; transform: none; } }

/* ============================================================
   Icon system (Lucide), language switcher, license CTA, RTL
   ============================================================ */
:root {
  --i-check: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAyNCAyNCcgZmlsbD0nbm9uZScgc3Ryb2tlPSdibGFjaycgc3Ryb2tlLXdpZHRoPScyJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnPjxwYXRoIGQ9Ik0yMCA2IDkgMTdsLTUtNSIvPjwvc3ZnPg==");
  --i-corner-down-right: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAyNCAyNCcgZmlsbD0nbm9uZScgc3Ryb2tlPSdibGFjaycgc3Ryb2tlLXdpZHRoPScyJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnPjxwYXRoIGQ9Im0xNSAxMCA1IDUtNSA1Ii8+PHBhdGggZD0iTTQgNHY3YTQgNCAwIDAgMCA0IDRoMTIiLz48L3N2Zz4=");
  --i-plus: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAyNCAyNCcgZmlsbD0nbm9uZScgc3Ryb2tlPSdibGFjaycgc3Ryb2tlLXdpZHRoPScyJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnPjxwYXRoIGQ9Ik01IDEyaDE0Ii8+PHBhdGggZD0iTTEyIDV2MTQiLz48L3N2Zz4=");
  --i-minus: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAyNCAyNCcgZmlsbD0nbm9uZScgc3Ryb2tlPSdibGFjaycgc3Ryb2tlLXdpZHRoPScyJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnPjxwYXRoIGQ9Ik01IDEyaDE0Ii8+PC9zdmc+");
  --i-chevron-right: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAyNCAyNCcgZmlsbD0nbm9uZScgc3Ryb2tlPSdibGFjaycgc3Ryb2tlLXdpZHRoPScyJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnPjxwYXRoIGQ9Im05IDE4IDYtNi02LTYiLz48L3N2Zz4=");
  --i-diamond: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAyNCAyNCcgZmlsbD0nbm9uZScgc3Ryb2tlPSdibGFjaycgc3Ryb2tlLXdpZHRoPScyJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnPjxwYXRoIGQ9Ik0yLjcgMTAuM2EyLjQxIDIuNDEgMCAwIDAgMCAzLjQxbDcuNTkgNy41OWEyLjQxIDIuNDEgMCAwIDAgMy40MSAwbDcuNTktNy41OWEyLjQxIDIuNDEgMCAwIDAgMC0zLjQxbC03LjU5LTcuNTlhMi40MSAyLjQxIDAgMCAwLTMuNDEgMFoiLz48L3N2Zz4=");
  --i-circle-dot: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAyNCAyNCcgZmlsbD0nbm9uZScgc3Ryb2tlPSdibGFjaycgc3Ryb2tlLXdpZHRoPScyJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnPjxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjEwIi8+PGNpcmNsZSBjeD0iMTIiIGN5PSIxMiIgcj0iMSIvPjwvc3ZnPg==");
}

.lucide { width: 1em; height: 1em; flex: none; vertical-align: -.14em; }
.btn .lucide, .arrow .lucide { width: 16px; height: 16px; }
.btn-sm .lucide { width: 14px; height: 14px; }
.arrow { gap: 8px; }
.arrow .lucide { transition: transform var(--trans); }
.arrow:hover .lucide { transform: translateX(4px); }

/* Kicker and status indicators now render as Lucide icons */
.kicker .dot { width: 16px; height: 16px; background: none; box-shadow: none; color: var(--positive); }
.kicker .dot circle:last-child { fill: currentColor; }
.hero-proof .pulse { width: 15px; height: 15px; background: none; box-shadow: none; color: var(--positive); }
.float-card .status-dot { width: 15px; height: 15px; background: none; box-shadow: none; color: var(--lime); }
.float-card .status-dot circle:last-child { fill: currentColor; }
.footer-badge .lucide { width: 13px; height: 13px; color: var(--lime); }
.micro-row i { width: 14px; height: 14px; background: none !important; color: var(--positive); }
.journal-row > i { width: 14px; height: 14px; background: none; color: var(--positive); }
.journal-row > i.is-muted { background: none; color: var(--muted-2); }
.release-node .lucide { width: 14px; height: 14px; }
.card-icon .lucide { width: 17px; height: 17px; color: var(--positive); }
.icon-btn .lucide { width: 17px; height: 17px; }
.docs-search .lucide { position: absolute; left: 11px; top: 12px; width: 15px; height: 15px; color: var(--muted); pointer-events: none; }

/* Replaced text glyphs and CSS dot bullets */
.ticker-track span:before { content: ""; width: 9px; height: 9px; background: var(--lime); -webkit-mask: var(--i-diamond) center / contain no-repeat; mask: var(--i-diamond) center / contain no-repeat; }
.band-card li:before, .feature-row-copy li:before { content: ""; width: 13px; height: 13px; margin-top: 2px; background: currentColor; -webkit-mask: var(--i-corner-down-right) center / contain no-repeat; mask: var(--i-corner-down-right) center / contain no-repeat; }
.price-list li:before, .check-list li:before { content: ""; width: 14px; height: 14px; margin-top: 1px; background: currentColor; -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
.atlas-card li:before { content: ""; display: inline-block; width: 11px; height: 11px; margin-inline-end: 3px; background: var(--positive); -webkit-mask: var(--i-chevron-right) center / contain no-repeat; mask: var(--i-chevron-right) center / contain no-repeat; }
.matrix-group li:before { content: ""; width: 12px; height: 12px; margin-top: 1px; background: var(--positive); -webkit-mask: var(--i-plus) center / contain no-repeat; mask: var(--i-plus) center / contain no-repeat; }
.surface-list li:before { content: ""; width: 14px; height: 14px; margin-top: 3px; background: var(--positive); -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; border-radius: 0; box-shadow: none; }
.status-chip:before { content: ""; width: 11px; height: 11px; background: var(--lime); -webkit-mask: var(--i-circle-dot) center / contain no-repeat; mask: var(--i-circle-dot) center / contain no-repeat; border-radius: 0; }
.faq summary:after { content: ""; width: 15px; height: 15px; flex: none; margin-top: 3px; background: var(--positive); -webkit-mask: var(--i-plus) center / contain no-repeat; mask: var(--i-plus) center / contain no-repeat; }
.faq details[open] summary:after { background: var(--positive); -webkit-mask: var(--i-minus) center / contain no-repeat; mask: var(--i-minus) center / contain no-repeat; }

/* Language switcher */
.header-actions { position: relative; }
.lang-switch { position: relative; flex: none; }
.lang-switch-btn {
  height: 40px; display: inline-flex; align-items: center; gap: 6px;
  padding: 0 9px; border: 1px solid var(--line); border-radius: 7px;
  background: var(--surface); color: var(--ink);
  font: 600 .68rem var(--font-mono); letter-spacing: .02em;
  transition: border-color var(--trans), background var(--trans);
}
.lang-switch-btn:hover { border-color: var(--line-strong); background: var(--surface-2); }
.lang-switch-btn > .lucide:first-child { color: var(--muted); }
.lang-switch-btn .caret { width: 12px; height: 12px; color: var(--muted); transition: transform var(--trans); }
.lang-switch[data-open] .caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 90;
  width: 196px; padding: 6px; border: 1px solid var(--line);
  border-radius: 9px; background: var(--surface); box-shadow: var(--shadow);
}
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 5px; font-size: .82rem; font-weight: 600; }
.lang-menu a:hover, .lang-menu a[aria-current="true"] { background: var(--surface-2); }
.lang-code { font: 600 .56rem var(--font-mono); color: var(--muted); letter-spacing: .06em; }

/* Installation license popup */
.license-popup {
  position: fixed; right: 24px; bottom: 24px; z-index: 130;
  width: min(400px, calc(100vw - 32px)); padding: 24px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-dark);
  animation: popup-in 320ms var(--ease);
}
.license-popup .kicker { color: var(--positive); margin-bottom: 10px; }
.license-popup h2 { font-size: 1.45rem; line-height: 1.08; letter-spacing: -.035em; margin: 0 0 9px; padding-right: 28px; }
.license-popup p { color: var(--muted); font-size: .84rem; margin: 0 0 18px; }
.license-popup-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.license-popup small { display: block; margin-top: 14px; color: var(--muted); font: 500 .58rem var(--font-mono); letter-spacing: .03em; }
.license-popup-close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--muted); font-size: 1rem; line-height: 1; }
.license-popup-close:hover { color: var(--ink); border-color: var(--line-strong); }
@keyframes popup-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Accessibility and interaction polish */
:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 4px;
}
.site-header .brand:focus-visible, .btn:focus-visible { outline-offset: 3px; }
.docs-search input::placeholder { color: var(--muted); opacity: 1; }
.lang-menu a:focus-visible { outline-offset: -2px; }

/* Arabic typography */
[lang="ar"] {
  --font-display: "Noto Kufi Arabic", "Tahoma", sans-serif;
  --font-sans: "IBM Plex Sans Arabic", "Tahoma", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", monospace;
  letter-spacing: 0;
}
[lang="ar"] body { letter-spacing: 0; line-height: 1.75; }
[lang="ar"] .display-xl, [lang="ar"] .display-lg, [lang="ar"] .display-md,
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] h4 { letter-spacing: 0; line-height: 1.12; }
[lang="ar"] .display-xl { font-size: clamp(2.7rem, 6vw, 6.2rem); }
[lang="ar"] .display-lg { font-size: clamp(2.2rem, 4vw, 4rem); }
[lang="ar"] .kicker, [lang="ar"] .eyebrow, [lang="ar"] .status-chip,
[lang="ar"] .price-label, [lang="ar"] .card-topline, [lang="ar"] .footer-links h3 { letter-spacing: .02em; }
[lang="ar"] .hero h1 { margin-top: 20px; }
[lang="ar"] .mark-line { transform: none; }
[lang="ar"] .cta-panel h2, [lang="ar"] .license-popup h2 { letter-spacing: 0; }
[lang="ar"] .hero-lede, [lang="ar"] .lede { line-height: 1.9; }

/* Right-to-left layout */
[dir="rtl"] .site-header .brand { direction: ltr; }
[dir="rtl"] .brand-sub { border-left: 0; border-right: 1px solid var(--line); padding-left: 0; padding-right: 11px; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .license-popup { right: auto; left: 24px; }
[dir="rtl"] .license-popup h2 { padding-right: 0; padding-left: 28px; }
[dir="rtl"] .license-popup-close { right: auto; left: 12px; }
[dir="rtl"] .float-card--release { left: auto; right: -26px; }
[dir="rtl"] .float-card--request { right: auto; left: -22px; }
[dir="rtl"] .docs-window-side { border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .docs-sidebar { padding-right: 0; padding-left: 8px; }
[dir="rtl"] .docs-nav a.is-active { box-shadow: inset -2px 0 0 var(--lime); }
[dir="rtl"] .doc-toc { border-left: 0; border-right: 1px solid var(--line); padding-left: 0; padding-right: 16px; }
[dir="rtl"] .doc-toc a.is-nested { padding-left: 0; padding-right: 10px; }
[dir="rtl"] .doc-article ul, [dir="rtl"] .doc-article ol { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .doc-pager a:last-child { text-align: left; }
[dir="rtl"] .doc-pager a:first-child { text-align: right; }
[dir="rtl"] .price-list li, [dir="rtl"] .check-list li, [dir="rtl"] .surface-list li,
[dir="rtl"] .atlas-card li, [dir="rtl"] .matrix-group li, [dir="rtl"] .band-card li,
[dir="rtl"] .feature-row-copy li { direction: rtl; text-align: right; }
[dir="rtl"] .arrow svg, [dir="rtl"] .btn .lucide-arrow-right,
[dir="rtl"] .docs-list .lucide-arrow-right, [dir="rtl"] .docs-nav .arr { transform: scaleX(-1); }
[dir="rtl"] .arrow:hover svg { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] code, [dir="rtl"] pre, [dir="rtl"] .code-window, [dir="rtl"] .doc-code,
[dir="rtl"] .browser-url, [dir="rtl"] .release-node { direction: ltr; text-align: left; }
[dir="rtl"] .footer-bottom, [dir="rtl"] .docs-hero-grid, [dir="rtl"] .section-head--row { text-align: right; }
[dir="rtl"] .doc-steps > li { padding-left: 16px; padding-right: 52px; }
[dir="rtl"] .doc-steps > li:before { left: auto; right: 14px; }

/* Responsive header and popup */
.buy-short { display: none; }
@media (max-width: 1180px) {
  .demo-link { display: none; }
}
@media (max-width: 980px) {
  .header-actions { gap: 6px; }
}
@media (max-width: 680px) {
  .demo-link { display: none !important; }
  .buy-long { display: none; }
  .buy-short { display: inline; }
  .buy-link { padding: 0 10px; }
  .lang-switch-btn { padding: 0 7px; }
  .license-popup { right: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 20px; }
  [dir="rtl"] .license-popup { left: 12px; right: auto; }
}
@media (max-width: 420px) {
  .lang-switch-btn > .lucide:first-child { display: none; }
  .header-actions { gap: 4px; }
  .brand { font-size: 1rem; gap: 8px; }
  .buy-link { padding: 0 8px; }
}
@media print { .license-popup, .lang-switch { display: none !important; } }


/* Additional RTL refinements */
[dir="rtl"] .docs-search input { padding: 0 34px 0 12px; }
[dir="rtl"] .docs-search .lucide { left: auto; right: 11px; }
[dir="rtl"] .ticker-track { direction: ltr; }
[dir="rtl"] .ticker-track span { direction: rtl; }
[lang="ar"] .display-xl { line-height: 1.2; }
[lang="ar"] .display-lg, [lang="ar"] .display-md { line-height: 1.22; }
[lang="ar"] .hero h1 { line-height: 1.2; }
[lang="ar"] .hero-lede, [lang="ar"] .lede, [lang="ar"] .doc-lede { line-height: 1.95; }
[lang="ar"] .mark-line { padding: .04em .12em .08em; }
