/* Public website: home, product pages, docs, status and legal pages. ("Phosphor": ink, light and one bright line.)
   No inline styles anywhere (the CSP allows only this stylesheet), so every look has a class here. */

@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0a0b0f; --ink-2: #0d0f14; --surface: #12141b; --surface-2: #161922; --line: #232733; --line-soft: #1a1d26; --line-strong: #2e3340;
  --text: #eceef3; --text-2: #c3c9d6; --muted: #9aa1b2; --dim: #7b8396;
  --lime: #b8f35b; --lime-hover: #cdff7e; --lime-ink: #1f2a0a; --lime-soft: rgba(184, 243, 91, .12);
  --lav: #c4b5fd; --amber: #fdba74; --amber-soft: rgba(253, 186, 116, .14); --red: #ff8a80; --red-soft: rgba(255, 138, 128, .14);
  --display: "Bricolage Grotesque", system-ui, sans-serif; --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 20px; --header-h: 72px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--ink); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
a { color: var(--lime); text-decoration: none; }
a:hover { color: var(--lime-hover); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
/* Decorative glows may reach past the edge; never let them scroll the page sideways. */
main { overflow-x: clip; }
code, pre, kbd { font-family: var(--mono); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lime); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.mono { font-family: var(--mono); }
.accent { color: var(--lime); }
.fade { color: #6b7385; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.eyebrow.lav { color: var(--lav); }
.eyebrow.plain { color: var(--muted); }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; max-width: 680px; }
.k { color: var(--lav); } .s { color: var(--lime); } .n { color: var(--amber); } .p { color: #6b7385; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px var(--sans); white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--lime-hover); color: var(--ink); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: #566075; color: #fff; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-dark { background: var(--ink); color: var(--text); }
.btn-dark:hover { background: #1c2029; color: #fff; }
.btn-outline-dark { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: rgba(10, 11, 15, .08); color: var(--ink); }
.link-arrow { font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; }

/* ---------------------------------------------------------------- header + burger menu */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 11, 15, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.site-header-inner { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 700 22px var(--display); letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { color: #fff; }
.brand svg { flex: 0 0 auto; }
.site-menu { display: flex; align-items: center; gap: 32px; flex: 1 1 auto; }
.site-nav { display: flex; gap: 28px; flex: 1 1 auto; }
.site-nav a { color: var(--text-2); font-size: 15px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-actions { display: flex; gap: 10px; }
.site-actions .btn { min-height: 44px; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease, top .2s ease; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .site-header-inner { gap: 16px; }
  /* Without JavaScript the menu stays open (stacked) so it's always reachable. */
  .site-menu { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 16px; padding: 8px 0 20px; }
  .site-header-inner { flex-wrap: wrap; }
  .site-nav { flex-direction: column; gap: 0; }
  .site-nav a { display: flex; align-items: center; min-height: 56px; font: 600 22px var(--display); letter-spacing: -.02em; color: var(--text); border-bottom: 1px solid var(--line-soft); }
  .site-nav a[aria-current="page"] { color: var(--lime); }
  .site-actions { flex-direction: column; margin-top: auto; }
  .site-actions .btn { min-height: 52px; }
  .js .burger { display: inline-block; }
  .js .site-menu { display: none; }
  .js .site-header.open .site-menu { display: flex; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; overflow-y: auto; padding: 8px 24px 32px; background: var(--ink); animation: menu-in .18s ease-out; }
  .js .site-header-inner { flex-wrap: nowrap; }
  /* A backdrop filter would make the fixed menu panel size itself to the header instead of the screen. */
  .js .site-header.open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line-soft); padding: 72px 0 40px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(4, minmax(0, 1fr)); gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 320px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col strong { font-size: 13px; color: var(--text); font-weight: 600; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
.footer-bottom strong { color: var(--text); font-weight: 600; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- generic layout */
.section { padding: 120px 0; }
.section.tight { padding: 72px 0; }
.section.flush-top { padding-top: 0; }
.band { background: var(--ink-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 780px; margin-bottom: 48px; }
.section-head.row { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; max-width: none; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.h1 { font-size: clamp(48px, 7.4vw, 112px); }
.h1-xl { font-size: clamp(52px, 8.4vw, 124px); }
.h1.in-split { font-size: clamp(44px, 5.4vw, 84px); }
.h2 { font-size: clamp(36px, 4.6vw, 64px); }
.h2-sm { font-size: clamp(30px, 3.6vw, 48px); }
.h3 { font-size: 26px; letter-spacing: -.025em; }
.h3-lg { font-size: 32px; letter-spacing: -.03em; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 56px; align-items: center; }
.split.top { align-items: start; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid.wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid.narrow { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.card.tight { padding: 24px; gap: 10px; }
.card p { color: var(--muted); }
.card h3 { font-size: 22px; letter-spacing: -.025em; }
.card .push { margin-top: auto; }
.card.glow, .stage.glow { border-color: #3b4a1e; }
.panel { border-radius: 16px; background: var(--ink-2); border: 1px solid #1e222c; }
pre.block { margin: 0; padding: 22px; border-radius: 16px; background: var(--ink-2); border: 1px solid #1e222c; font-size: 13px; line-height: 1.8; color: var(--text-2); white-space: pre-wrap; word-break: break-word; overflow-x: auto; }
pre.block.deep { background: #07080b; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); font: 12.5px var(--mono); color: var(--text-2); }
.chip.ok { border-color: transparent; background: var(--lime-soft); color: var(--lime); }
.chip.warn { border-color: transparent; background: var(--amber-soft); color: var(--amber); }
.chip.code { border-radius: 10px; min-height: 36px; background: #1a1730; border-color: #2e2850; }
.chip-link { min-height: 36px; font: 14px var(--sans); }
.chip-link:hover { border-color: #566075; color: #fff; }

/* segmented switches (site.js: [data-switch] / [data-show] / [data-when]) */
.switch { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.switch button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text-2); font: 500 13px var(--mono); cursor: pointer; }
.switch button:hover { color: #fff; border-color: #566075; }
.switch button[aria-pressed="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.switch.pill { padding: 4px; border-radius: 999px; border: 1px solid var(--line-strong); gap: 4px; }
.switch.pill button { min-height: 44px; padding: 0 20px; border: 0; font: 600 14px var(--sans); }
html:not(.js) .switch { display: none; }

/* motion (all off with reduced motion) */
.travel { position: relative; height: 1px; background: var(--line); margin: 6px 0 10px; }
.travel::after { content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); animation: travel 2.6s linear infinite; }
.blink { animation: blink 1.1s steps(1) infinite; }
.float { animation: floaty 6s ease-in-out infinite; }
.pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes travel { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 9px); opacity: 0; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(184, 243, 91, .5); } 50% { box-shadow: 0 0 0 10px rgba(184, 243, 91, 0); } }
@media (prefers-reduced-motion: reduce) {
  .travel::after, .blink, .float, .pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 96px 0 40px; }
.hero::before { content: ""; position: absolute; left: 50%; top: -260px; width: 900px; height: 900px; margin-left: -450px; border-radius: 50%; background: radial-gradient(closest-side, rgba(184, 243, 91, .16), rgba(184, 243, 91, 0) 70%); pointer-events: none; }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.hero-inner.left { align-items: flex-start; text-align: left; }
.hero h1 { max-width: 1100px; }
.hero .lead { max-width: 680px; }
.hero-fine { font: 13px var(--mono); color: var(--muted); }
.announce { display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text-2); font-size: 14px; }
.announce:hover { border-color: #566075; color: #fff; }
.announce .eyebrow { font-size: 11px; }
.announce .arrow { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #1c2029; color: var(--text); }
.page-hero { padding: 104px 0 64px; }
.page-hero .h1 { max-width: 1080px; }

/* pipeline window */
.window { width: 100%; margin-top: 72px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: 0 50px 140px rgba(0, 0, 0, .6), 0 0 0 1px rgba(184, 243, 91, .06); text-align: left; }
.window-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: #0f1117; }
.window-dots { display: flex; gap: 7px; }
.window-dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.window-title { flex: 1 1 auto; font: 13px var(--mono); color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 8px; font: 12px var(--mono); color: var(--lime); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: blink 1.1s steps(1) infinite; }
.window-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.pane { padding: 24px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--line-soft); min-width: 0; }
.pane:last-child { border-right: 0; background: var(--ink-2); }
.pane-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.raw { margin: 0; font: 12.5px/1.75 var(--mono); color: var(--dim); white-space: pre-wrap; word-break: break-word; }
.raw b { font-weight: 400; color: var(--text-2); }
.checks { display: flex; flex-direction: column; gap: 10px; }
.check { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #0f1117; border: 1px solid #1e222c; font-size: 15px; }
.check > span:first-child { display: flex; align-items: center; gap: 10px; }
.check .mono { font-size: 12px; color: var(--muted); }
.out { margin: 0; font: 12.5px/1.75 var(--mono); color: var(--text-2); white-space: pre-wrap; word-break: break-word; }
.chat { border-radius: 14px; background: #f7f7f8; color: #1d1c1d; padding: 16px; display: flex; gap: 12px; font-size: 14px; line-height: 1.5; }
.chat-icon { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 8px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.chat-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.chat small { font-size: 12px; color: #5e5d5f; }
.chat-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.sheet { border-radius: 14px; overflow-x: auto; border: 1px solid var(--line); }
.sheet table { width: 100%; border-collapse: collapse; font: 12.5px var(--mono); min-width: 420px; }
.sheet th { background: var(--surface-2); color: var(--muted); text-align: left; font-weight: 500; padding: 10px 12px; }
.sheet td { padding: 10px 12px; border-top: 1px solid #1e222c; color: var(--muted); }
.sheet tr.new td { background: rgba(184, 243, 91, .08); color: var(--text); }
.delivery-bar { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 16px 20px; border-top: 1px solid var(--line); background: #0f1117; font: 12.5px var(--mono); color: var(--muted); }
.delivery-bar strong { font-weight: 400; color: var(--text-2); }

/* logo strip */
.logo-strip { display: flex; flex-direction: column; gap: 22px; align-items: center; }
.logo-strip p { font: 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.logo-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; font: 700 19px var(--display); letter-spacing: -.02em; color: #6b7385; }

/* what we keep */
.keep { width: 100%; max-width: 460px; margin: 0 auto; padding: 28px; border-radius: 26px; gap: 18px; }
.keep-head { display: flex; justify-content: space-between; align-items: center; font: 13px var(--mono); color: var(--muted); }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; }
.kv div { background: var(--surface); padding: 14px; min-width: 0; }
.kv small { display: block; font: 11px var(--mono); color: var(--muted); }
.kv span { font: 13px var(--mono); word-break: break-all; }
.not-kept { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--muted); }
.not-kept span:last-child { font-family: var(--mono); color: var(--dim); }

/* bento */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.bento .card { min-height: 300px; }
.bento .card.span2 { grid-column: span 2; }
@media (max-width: 720px) { .bento .card.span2 { grid-column: auto; } }
.replies { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.replies span { padding: 10px 12px; border-radius: 10px; }
.replies .keep-line { background: #0f1117; color: var(--text); }
.replies .cut { color: #4a5163; text-decoration: line-through; }
.rule-lines { display: flex; flex-direction: column; gap: 8px; font: 12.5px var(--mono); color: var(--text-2); }
.rule-lines div { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); }
.rule-lines i { font-style: normal; color: var(--muted); }
.terminal { margin: 0; padding: 20px; border-radius: 14px; background: #07080b; border: 1px solid #1e222c; font: 12.5px/1.8 var(--mono); color: var(--text-2); white-space: pre-wrap; word-break: break-word; }

/* code section */
.code-card { border-radius: 22px; overflow: hidden; padding: 0; gap: 0; }
.code-card .switch { padding: 14px; border-bottom: 1px solid var(--line); display: flex; }
.code-card pre { margin: 0; padding: 24px; font: 13.5px/1.85 var(--mono); color: var(--text-2); white-space: pre-wrap; word-break: break-word; }

/* numbered steps */
.steps3 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.steps3 > div { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.big-num { font: 700 72px/1 var(--display); color: var(--lime); letter-spacing: -.04em; }

/* plans teaser */
.plan-mini { color: var(--text); gap: 10px; }
.plan-mini:hover { border-color: #566075; color: var(--text); }
.plan-mini .price-sm { font: 700 44px/1 var(--display); letter-spacing: -.04em; }
.plan-mini .price-sm small { font-size: 18px; color: var(--muted); letter-spacing: 0; }
.plan-mini.featured, .plan.featured { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime) inset; }

/* lime CTA */
.cta-lime { position: relative; overflow: hidden; border-radius: 32px; background: var(--lime); color: var(--ink); padding: clamp(40px, 7vw, 96px); display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.cta-lime > * { position: relative; }
.cta-lime h2 { font-size: clamp(44px, 6.4vw, 96px); max-width: 900px; }
.cta-lime p { font-size: 19px; max-width: 560px; color: var(--lime-ink); }
.cta-lime .ghost-big { position: absolute; right: -60px; bottom: -110px; width: 420px; height: 420px; opacity: .16; }
.cta-card { padding: clamp(36px, 6vw, 72px); flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; border-radius: 28px; }
.cta-card h2 { font-size: clamp(32px, 4vw, 54px); max-width: 640px; }

/* ---------------------------------------------------------------- platform */
.stage-strip { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.stage-strip li { padding: 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.stage-strip li:last-child { border-right: 0; background: rgba(184, 243, 91, .06); }
.stage-strip span { font: 12px var(--mono); color: var(--lime); }
.stage-strip a { color: var(--text); font-weight: 600; }
.stages { display: flex; flex-direction: column; gap: 24px; }
.stage { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; align-items: center; padding: clamp(28px, 4vw, 52px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.stage p { color: var(--muted); font-size: 17px; }
.stage-n { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; background: var(--lime); color: var(--ink); font: 500 13px var(--mono); }
.rows { overflow: hidden; font-family: var(--mono); }
.rows-head { padding: 12px 16px; font-size: 12px; color: var(--muted); }
.rows div.r { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid #1e222c; font-size: 13.5px; }
.rows div.r span:last-child { color: var(--lime); text-align: right; }
.rows div.r.off, .rows div.r.off span:last-child { color: var(--dim); }
.verdicts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.verdicts div { padding: 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.verdicts small { font: 12px var(--mono); color: var(--muted); }
.verdicts strong { font: 700 26px var(--display); color: var(--lime); }
.verdicts span { font: 11px var(--mono); color: var(--muted); word-break: break-all; }
.meter-box { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.meter-label { display: flex; justify-content: space-between; font: 12px var(--mono); color: var(--muted); }
.meter { height: 10px; border-radius: 999px; background: #1e222c; overflow: hidden; }
.meter span { display: block; width: 7%; height: 100%; border-radius: 999px; background: var(--lime); }
.fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; font-family: var(--mono); }
.fields div { background: var(--ink-2); padding: 12px 14px; font-size: 13px; min-width: 0; word-break: break-word; }
.fields div.h { background: var(--surface-2); font-size: 11px; color: var(--muted); padding: 10px 14px; }
.timeline { list-style: none; margin: 0; padding: 0; font: 13px var(--mono); }
.timeline li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid #1e222c; }
.timeline li:last-child { border-bottom: 0; }
.timeline .t { color: var(--muted); width: 72px; flex: 0 0 auto; }
.timeline .v { margin-left: auto; }
.timeline .v.bad { color: var(--amber); } .timeline .v.ok { color: var(--lime); } .timeline .v.mid { color: var(--muted); }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; }
.specs dd.yes { color: var(--lime); }

/* ---------------------------------------------------------------- integrations */
.hub { margin-top: 64px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.hub-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); min-height: 120px; }
.hub-tile small { font: 12px var(--mono); color: var(--muted); letter-spacing: .06em; }
.hub-tile strong { font: 700 24px var(--display); letter-spacing: -.03em; }
.hub-tile.lit { border-color: var(--lime); background: #151a0e; box-shadow: 0 0 0 1px var(--lime) inset, 0 0 40px rgba(184, 243, 91, .18); }
.demo { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; }
.demo-col { display: flex; flex-direction: column; gap: 10px; }
.demo-col > small { font: 12px var(--mono); color: var(--muted); }
.pick { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; text-align: left; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: #0f1117; color: var(--text); font: inherit; cursor: pointer; }
.pick:hover { border-color: #566075; }
.pick[aria-pressed="true"] { border-color: var(--text); background: #1a1d26; }
.pick small { font: 12px var(--mono); color: var(--muted); }
.pick strong { font-weight: 600; }
.rule { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font: 12.5px var(--mono); color: var(--muted); transition: border-color .15s, color .15s, background .15s; }
.rule.hit { border-color: var(--lime); color: var(--text); background: rgba(184, 243, 91, .06); }
.rule.dashed { border-style: dashed; }
.result .target { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; background: var(--lime); color: var(--ink); font: 13px var(--mono); }
.mini-msg { padding: 14px; border-radius: 12px; background: #0f1117; border: 1px solid #1e222c; font-size: 14px; }
.mini-msg span { display: block; font-size: 13px; color: var(--muted); }
.mini-sheet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 10px; overflow: hidden; font: 12px var(--mono); }
.mini-sheet div { background: #0f1117; padding: 8px 10px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-sheet div.h { background: var(--surface-2); }
.code-line { display: block; padding: 12px 14px; border-radius: 10px; background: #0f1117; border: 1px solid #1e222c; font: 13px var(--mono); color: var(--text-2); word-break: break-word; }
ol.zap { margin: 0; padding-left: 20px; font: 13px var(--mono); color: var(--text-2); display: flex; flex-direction: column; gap: 6px; }

/* ---------------------------------------------------------------- pricing */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 30px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.plan.featured { box-shadow: 0 0 0 1px var(--lime) inset, 0 30px 80px rgba(184, 243, 91, .10); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan-top h2, .plan-top h3 { font-size: 24px; letter-spacing: -.025em; }
.plan-top small { font: 11px var(--mono); color: var(--lime); letter-spacing: .08em; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; font: 700 58px/1 var(--display); letter-spacing: -.04em; }
.price span { font: 400 15px var(--sans); letter-spacing: 0; color: var(--muted); }
.plan p { color: var(--muted); font-size: 14px; min-height: 44px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; flex: 0 0 auto; width: 16px; height: 16px; margin-top: 4px; background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' stroke='%23b8f35b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.price-note { margin-top: 20px; text-align: center; font: 13px var(--mono); color: var(--muted); }
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; }
.compare table { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid #1e222c; font-size: 15px; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare th { font-weight: 500; color: var(--muted); }
.compare thead th { color: var(--text); font: 700 20px var(--display); letter-spacing: -.02em; }
.compare thead th.hl { color: var(--lime); }
.compare td.no { color: var(--dim); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lime); font-family: var(--mono); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 14px; color: var(--muted); }
.free-card { max-width: 640px; margin: 0 auto; align-items: center; text-align: center; padding: 48px 32px; border-radius: 28px; }
.free-card .price { justify-content: center; font-size: 88px; }
.free-card .ticks { text-align: left; }

/* allowed / not allowed */
.yesno { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.yesno ul { margin: 0; padding-left: 1.2rem; color: var(--text-2); display: flex; flex-direction: column; gap: 6px; }
.yesno h3.yes { color: var(--lime); }
.yesno h3.no { color: var(--red); }

/* ---------------------------------------------------------------- developers hub */
.search { display: flex; flex-wrap: wrap; gap: 10px; max-width: 720px; }
.search input { flex: 1 1 320px; min-height: 56px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: 16px var(--sans); }
.search input::placeholder { color: var(--dim); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sdk { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.sdk:hover { border-color: #566075; color: var(--text); }
.sdk strong { font: 700 22px var(--display); letter-spacing: -.02em; }
.sdk code { font-size: 12.5px; color: var(--muted); word-break: break-all; }
.ep { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid #1e222c; font: 13px var(--mono); }
.ep:last-child { border-bottom: 0; }
.m { display: inline-block; min-width: 52px; font: 500 11px var(--mono); color: var(--ink); background: var(--lav); border-radius: 6px; padding: 2px 6px; text-align: center; }
.m.post { background: var(--lime); } .m.del { background: var(--amber); }
.anatomy { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.anatomy li { display: flex; gap: 14px; }
.anatomy .num { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 999px; background: var(--lime); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font: 12px var(--mono); }

/* ---------------------------------------------------------------- trust */
.lifecycle { list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: 26px; }
.lifecycle li { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-left: 1px solid var(--line); }
.lifecycle li:first-child { border-left: 0; }
.lifecycle li:last-child { background: rgba(184, 243, 91, .06); border-radius: 0 20px 20px 0; }
.lifecycle small { font: 12px var(--mono); color: var(--lime); }
.lifecycle strong { font-size: 18px; }
.lifecycle span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 720px) { .lifecycle li { border-left: 0; border-top: 1px solid var(--line); } .lifecycle li:first-child { border-top: 0; } .lifecycle li:last-child { border-radius: 0 0 20px 20px; } }

/* ---------------------------------------------------------------- legal pages */
.legal { max-width: 820px; padding: 72px 24px 100px; }
.legal h1 { font-size: clamp(40px, 5vw, 64px); margin: 0 0 12px; }
.legal .updated { color: var(--muted); font: 13px var(--mono); margin: 0 0 40px; }
.legal h2 { font-size: 26px; letter-spacing: -.02em; margin: 48px 0 12px; }
.legal h3 { font-size: 19px; letter-spacing: -.01em; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--text-2); }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 1.3rem; }
.legal li { margin: 6px 0; }
.legal strong { color: var(--text); }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.legal th { color: var(--text); font-weight: 600; }
.legal .summary { background: var(--surface); border: 1px solid #3b4a1e; border-radius: 18px; padding: 20px 24px; margin-bottom: 32px; }
.legal .summary p { margin: 0; }
.table-wrap { overflow-x: auto; }
.legal code, .legal kbd { font-size: .9em; background: var(--surface-2); padding: .1rem .35rem; border-radius: 5px; }

/* ---------------------------------------------------------------- API docs (docs.html + docs.js) */
.docs { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; padding-top: 40px; padding-bottom: 96px; }
.docs-nav { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; font-size: 14px; padding-right: 8px; }
.docs-nav a { display: block; padding: 4px 0; color: var(--muted); }
.docs-nav a:hover { color: #fff; }
.docs-nav-title { font: 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin: 22px 0 6px; }
.docs-nav-title:first-child { margin-top: 0; }
.docs-body { min-width: 0; }
.docs-body h1 { font-size: clamp(40px, 5vw, 64px); margin: 0 0 12px; }
.docs-body .lead { margin: 0 0 16px; }
.docs-body p { margin: 0 0 14px; color: var(--text-2); }
.docs-body li { color: var(--text-2); }
.docs-body ul, .docs-body ol { padding-left: 1.3rem; }
.docs-body section { padding: 0; margin: 56px 0 0; scroll-margin-top: calc(var(--header-h) + 16px); }
.docs-body h2 { font-size: 32px; letter-spacing: -.03em; margin: 0 0 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.docs-body h3 { font-size: 21px; letter-spacing: -.02em; margin: 28px 0 10px; }
.docs-body table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 14.5px; }
.docs-body th, .docs-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.docs-body th { font-weight: 600; color: var(--text); }
.docs-body code { background: var(--surface-2); color: var(--text); padding: .1rem .35rem; border-radius: 5px; font-size: .86em; word-break: break-word; }
.docs-body td:first-child code { white-space: nowrap; }
.docs-body pre.code code, .docs-body pre code { background: none; padding: 0; color: inherit; }
.docs-body .note { background: var(--surface); border: 1px solid #3b4a1e; border-radius: 14px; padding: 14px 18px; margin: 14px 0; }
.docs-body .note p:last-child { margin: 0; }
.docs-body .steps li { margin: 6px 0; }
pre.code { background: #07080b; color: var(--text-2); border: 1px solid #1e222c; border-radius: 14px; padding: 18px 20px; overflow-x: auto; font-size: 13px; line-height: 1.7; margin: 12px 0 18px; }
.endpoint { font-size: 16px; }
.method { display: inline-block; font: 600 12px var(--mono); color: var(--ink); background: var(--lime); padding: 3px 8px; border-radius: 6px; margin-right: 6px; }
.req { font: 600 11px var(--mono); color: var(--amber); margin-left: 4px; }
.code-wrap { position: relative; margin: 12px 0 18px; }
.code-wrap pre.code { margin: 0; }
.code-wrap .copy { position: absolute; top: 10px; right: 10px; font: 12px var(--mono); min-height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-2); cursor: pointer; }
.code-wrap .copy:hover { color: #fff; border-color: #566075; }
.tabs { margin: 12px 0 18px; }
.tab-list { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tab-list [role="tab"] { font: 500 13px var(--mono); min-height: 34px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text-2); cursor: pointer; }
.tab-list [role="tab"]:hover { color: #fff; }
.tab-list [role="tab"][aria-selected="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.tabs .code-wrap { margin-top: 0; }
@media (max-width: 900px) {
  .docs { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .docs-nav { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: 4px 16px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
  .docs-nav-title { width: 100%; }
}

/* ---------------------------------------------------------------- status page (status.js) */
.status-page { max-width: 1000px; padding: 64px 24px 100px; }
.status-page h1 { font-size: clamp(40px, 5vw, 64px); margin: 0 0 24px; }
.status-page h2 { font-size: 28px; letter-spacing: -.02em; margin: 48px 0 16px; }
.status-banner { display: flex; align-items: center; gap: 18px; border-radius: 24px; padding: 26px 30px; font: 700 clamp(22px, 3vw, 32px) var(--display); letter-spacing: -.02em; background: var(--surface); border: 1px solid var(--line); margin-bottom: 24px; }
.status-banner::before { content: ""; flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); }
.status-banner.operational { background: #151a0e; border-color: #3b4a1e; }
.status-banner.operational::before { background: var(--lime); animation: pulse 2s ease-in-out infinite; }
.status-banner.degraded, .status-banner.maintenance { background: #1d160d; border-color: #4a3518; }
.status-banner.degraded::before, .status-banner.maintenance::before { background: var(--amber); }
.status-banner.outage { background: #200f0e; border-color: #4a1f1c; }
.status-banner.outage::before { background: var(--red); }
.status-components { display: flex; flex-direction: column; gap: 14px; }
.component { padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.component .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.component .state { font: 13px var(--mono); }
.component .state.operational { color: var(--lime); }
.component .state.degraded, .component .state.maintenance { color: var(--amber); }
.component .state.outage { color: var(--red); }
.bars { display: flex; gap: 2px; height: 34px; margin: 14px 0 6px; }
.bars span { flex: 1; min-width: 0; border-radius: 2px; background: var(--line); }
.bars .ok { background: var(--lime); }
@media (max-width: 600px) { .bars { gap: 1px; } }
.bars .warn { background: var(--amber); }
.bars .bad { background: var(--red); }
.component .small { display: flex; justify-content: space-between; font: 11.5px var(--mono); color: var(--muted); margin: 0; }
.incident { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; margin-bottom: 14px; }
.incident h3 { font-size: 19px; margin: 0 0 6px; }
.incident p { margin: 6px 0; color: var(--text-2); }
.incident .tag { display: inline-block; font: 12px var(--mono); padding: 3px 10px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); vertical-align: middle; }
.incident.major .tag { background: var(--red-soft); color: var(--red); }
.incident.maintenance .tag { background: var(--lime-soft); color: var(--lime); }
.status-foot { margin-top: 40px; font-size: 14px; }
