/* Landing + docs. Same grey system as the dashboard (apps/web). Deliberately dark-only. */
:root {
  --bg: #0f0f0f;
  --bg-2: #131313;
  --card: #161616;
  --raised: #1c1c1c;
  --line: #262626;
  --line-2: #2e2e2e;
  --text: #ededed;
  --text-2: #d4d4d4;
  --muted: #a3a3a3;
  --faint: #8c8c8c;
  --font: Geist, Inter, system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; letter-spacing: -0.005em; }
a { color: var(--text-2); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid #bdbdbd; outline-offset: 2px; border-radius: 4px; }
img, svg { max-width: 100%; }
code { font-family: var(--mono); font-size: .9em; padding: 1px 5px; border-radius: 4px; background: var(--raised); border: 1px solid var(--line); }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.02em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 12px; background: var(--text); color: #111; border-radius: 6px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.bi { flex: 0 0 auto; vertical-align: -3px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap-wide { max-width: 1400px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 1px solid #3a3a3a; border-radius: 6px; background: var(--raised); color: var(--text); font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn:hover { background: #242424; color: #fff; }
.btn-primary { background: var(--text); border-color: var(--text); color: #111; font-weight: 600; }
.btn-primary:hover { background: #fff; color: #000; }
.btn-lg { min-height: 46px; padding: 0 20px; font-size: 15px; }
.link { color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 6px; }
.link:hover { color: var(--text); background: var(--raised); }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }
.icon-btn:hover { background: var(--raised); color: var(--text); }

/* ---- top nav */
.topnav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(15,15,15,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body::before { content: ''; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: var(--bg); }
.topnav-row { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.logo-tag { padding: 1px 6px; border: 1px solid #333; border-radius: 4px; font: 500 11px var(--mono); color: var(--muted); letter-spacing: 0; }
.topnav-links { display: flex; gap: 2px; }
.topnav-links a { padding: 8px 10px; color: var(--muted); text-decoration: none; border-radius: 6px; }
.topnav-links a:hover { color: var(--text); background: var(--raised); }
.topnav-cta { margin-left: auto; display: flex; align-items: center; gap: 6px; }
@media (max-width: 720px) { .topnav-links { display: none; } .topnav-cta .link { display: none; } }

/* ---- hero */
.hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); background-image: linear-gradient(#161616 1px, transparent 1px), linear-gradient(90deg, #161616 1px, transparent 1px); background-size: 32px 32px; background-position: -1px -1px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-2); color: var(--muted); font: 500 12.5px var(--mono); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-2); }
.hero h1 { margin: 0; font-size: clamp(34px, 5vw, 54px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; }
.lede { margin: 20px 0 0; max-width: 34em; color: var(--muted); font-size: 17px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 900px) { .hero { padding: 48px 0 40px; } .hero-grid { grid-template-columns: minmax(0, 1fr); } }

.hero-visual { border: 1px solid var(--line-2); border-radius: 10px; background: #111; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 13px; }
.mock-env { padding: 1px 6px; border: 1px solid #333; border-radius: 4px; font: 500 11px var(--mono); color: var(--muted); }
.mock-canvas { position: relative; aspect-ratio: 520 / 330; background-color: #0d0d0d; background-image: linear-gradient(#1a1a1a 1px, transparent 1px), linear-gradient(90deg, #1a1a1a 1px, transparent 1px); background-size: 22px 22px; }
.mock-links { position: absolute; inset: 0; width: 100%; height: 100%; }
.mock-links path { stroke: #4a4a4a; stroke-width: 1.5; stroke-dasharray: 5 5; fill: none; vector-effect: non-scaling-stroke; }
.mock-node { position: absolute; width: 44%; border: 1px solid #333; border-radius: 8px; background: #151515; font-size: 12.5px; box-shadow: 0 10px 24px rgba(0,0,0,.4); overflow: hidden; }
.mn-head { display: flex; align-items: center; gap: 8px; padding: 10px 10px 4px; min-width: 0; }
.mn-head b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.mn-ico { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 auto; border-radius: 5px; background: #222; }
.mn-meta { display: flex; align-items: center; gap: 6px; padding: 0 10px 10px 42px; color: var(--muted); font: 11.5px var(--mono); white-space: nowrap; overflow: hidden; }
.mn-vol { padding: 6px 10px; border-top: 1px solid var(--line); background: #111; color: var(--muted); font-size: 11px; }
.pill { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; height: 20px; padding: 0 6px; border-radius: 4px; font-size: 11px; font-weight: 500; }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-on { background: #262626; color: var(--text); }
.pill-build { border: 1px dashed #6b6b6b; color: var(--text-2); }
.pill-build i { animation: pulse 1.1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.mock-log { position: absolute; right: 3%; bottom: 6%; width: 47%; padding: 10px 12px; border: 1px solid #2a2a2a; border-radius: 8px; background: #0a0a0a; font: 11px/1.8 var(--mono); color: #bdbdbd; }
.mock-log span { color: var(--faint); margin-right: 10px; }
.mock-log .hi { color: #fff; }
@media (max-width: 520px) { .mock-log { display: none; } .mock-node { width: 46%; } .mn-head .pill { display: none; } .mn-meta { padding-left: 10px; } .mock-node[style*='left:52%'] { left: 51% !important; } }

/* ---- tech strip */
.stack { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stack-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 22px; padding-top: 22px; padding-bottom: 22px; color: var(--text-2); }
.stack-label { font: 500 12px var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.stack-sep { width: 1px; height: 22px; background: var(--line-2); }

/* ---- sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { margin: 0 0 32px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; max-width: 22em; }
.section-sub { margin: -20px 0 32px; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feature { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.feature h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); }
.feature-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.code-mini { border: 1px solid var(--line-2); border-radius: 8px; background: #0d0d0d; font: 13px/2 var(--mono); padding: 10px 14px; overflow-x: auto; }
.code-mini div { display: flex; gap: 16px; white-space: nowrap; }
.code-mini .k { min-width: 140px; color: var(--text); }
.code-mini .v { color: var(--faint); }
.code-mini .ref { color: var(--text-2); text-decoration: underline; text-decoration-color: #555; text-underline-offset: 4px; }
@media (max-width: 900px) { .features { grid-template-columns: minmax(0, 1fr); } .feature-wide { grid-template-columns: minmax(0, 1fr); } }

.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 6px; border-radius: 6px; background: var(--text); color: #111; font: 700 13px var(--mono); }
.steps b { font-size: 16px; }
.steps span { color: var(--muted); }
@media (max-width: 800px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.plan-featured { border-color: #8c8c8c; box-shadow: 0 0 0 1px #8c8c8c; }
.plan h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.plan-price { margin: 0; display: flex; align-items: baseline; gap: 4px; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 38px; font-weight: 700; letter-spacing: -0.03em; }
.plan-price small { color: var(--muted); }
.plan-blurb { margin: 0; color: var(--text-2); }
.plan ul { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plan li { display: flex; gap: 10px; color: var(--muted); }
.plan li::before { content: ''; flex: 0 0 auto; width: 14px; height: 8px; margin-top: 6px; border-left: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(-45deg) scale(.75); }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } }

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 0; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

.cta-band { padding: 64px 0; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 36px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); }
.cta-row h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); }

.footer { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer nav a { color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--text); }

/* ---- docs */
.docs .topnav-row { gap: 12px; }
.dnav-toggle { display: none; }
.dsearch { display: flex; align-items: center; gap: 8px; width: min(320px, 40vw); min-height: 36px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--bg-2); color: var(--faint); }
.dsearch input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--text); font: inherit; }
.docs-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr) 200px; gap: 40px; align-items: start; }
.dnav { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow-y: auto; padding: 24px 0 32px; display: flex; flex-direction: column; gap: 1px; }
.dnav-section { margin: 16px 0 6px; font: 600 11px var(--font); text-transform: uppercase; letter-spacing: .07em; color: var(--faint); }
.dnav-section:first-child { margin-top: 0; }
.dnav a { padding: 6px 10px; border-radius: 6px; color: var(--muted); text-decoration: none; font-size: 14px; }
.dnav a:hover { color: var(--text); background: var(--raised); }
.dnav a[aria-current='page'] { color: #fff; background: #1f1f1f; font-weight: 500; }
.doc { min-width: 0; padding: 32px 0 64px; }
.doc-section { margin: 0 0 6px; font: 500 12.5px var(--mono); color: var(--faint); }
.doc h1 { margin: 0 0 20px; font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 16px; }
.prose p, .prose li { color: var(--text-2); }
.prose h2 { margin-top: 44px; padding-top: 4px; font-size: 22px; font-weight: 650; scroll-margin-top: 80px; }
.prose h3 { margin-top: 28px; font-size: 17px; font-weight: 600; scroll-margin-top: 80px; }
.prose h2 + *, .prose h3 + * { margin-top: 10px; }
.prose .anchor { margin-left: -1em; padding-right: .3em; color: var(--faint); text-decoration: none; opacity: 0; }
.prose h2:hover .anchor, .prose h3:hover .anchor { opacity: 1; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose a { text-underline-offset: 3px; text-decoration-color: #666; }
.prose strong { color: var(--text); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.code { border: 1px solid var(--line-2); border-radius: 8px; background: #0b0b0b; overflow: hidden; }
.code-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 4px 14px; border-bottom: 1px solid var(--line); background: #121212; font: 12px var(--mono); color: var(--faint); }
.copy { min-height: 28px; padding: 0 10px; border: 1px solid #333; border-radius: 5px; background: transparent; color: var(--muted); font: 12px var(--font); cursor: pointer; }
.copy:hover { color: var(--text); border-color: #555; }
.code pre { margin: 0; padding: 14px 16px; overflow-x: auto; font: 13px/1.7 var(--mono); color: #d4d4d4; }
.code code { padding: 0; border: 0; background: none; font-size: inherit; }
.table { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: #131313; color: var(--muted); font-weight: 600; font-size: 12.5px; }
.prose tr:last-child td { border-bottom: 0; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--card); }
.prose blockquote p { margin: 0; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; max-width: 72ch; }
.pager a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 600; }
.pager a:hover { border-color: #555; }
.pager small { color: var(--faint); font-weight: 400; }
.pager-next { text-align: right; grid-column: 2; }
.toc { position: sticky; top: 76px; padding: 32px 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.toc-title { margin: 0 0 6px; font-weight: 600; color: var(--text-2); }
.toc a { color: var(--faint); text-decoration: none; padding: 2px 0; }
.toc a:hover, .toc a[aria-current] { color: var(--text); }
@media (max-width: 1180px) { .docs-grid { grid-template-columns: 220px minmax(0, 1fr); } .toc { display: none; } }
@media (max-width: 820px) {
  .docs-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dnav-toggle { display: grid; }
  .dnav { display: none; position: static; max-height: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .dnav.open { display: flex; }
  .dsearch { display: none; }
  .docs .topnav-cta .link { display: none; }
  .doc h1 { font-size: 28px; }
}

/* =====================================================================
   Landing v2: big centered hero over contour lines, tabbed product tour,
   alternating feature sections, CTA band, column footer.
   Orange (from the logo) is the only accent.
   ===================================================================== */
:root { --accent: #e69336; --accent-ink: #120a00; --ink: #0b0a09; }
body.landing { background: var(--ink); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 650; }
.btn-accent:hover { background: #eea85e; color: #000; }
.landing .topnav { background: rgba(11,10,9,.82); }
.landing .logo img { display: block; }

.hero2 { position: relative; overflow: hidden; padding: 96px 0 0; isolation: isolate; }
.contours { position: absolute; inset: 0; z-index: -1; color: rgba(230,147,54,.09); pointer-events: none; }
.contours svg { width: 100%; height: 100%; }
.hero2::after { content: ''; position: absolute; inset: auto 0 0; height: 45%; z-index: -1; background: linear-gradient(transparent, var(--ink)); }
.hero2-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero2 h1 { margin: 0; max-width: 13em; font-size: clamp(40px, 7.4vw, 92px); line-height: .98; font-weight: 800; letter-spacing: -0.045em; }
.hero2 h1 span { display: block; color: var(--muted); }
.hero2 .lede { margin: 24px auto 0; max-width: 36em; font-size: clamp(16px, 1.6vw, 19px); }
.hero2 .hero-cta { justify-content: center; margin-top: 32px; }
.hero2 .eyebrow .dot { background: var(--accent); }

.showcase { margin: 64px auto 0; max-width: 1180px; }
.showcase-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin: 0 auto 14px; padding: 4px; width: fit-content; max-width: 100%; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(19,19,19,.85); }
.showcase-tabs button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: 500 14px var(--font); cursor: pointer; }
.showcase-tabs button:hover { color: var(--text); }
.showcase-tabs button[aria-selected='true'] { background: #262626; color: #fff; }
.showcase-frame { border: 1px solid #2e2e2e; border-radius: 12px; overflow: hidden; background: #111; box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 0 1px rgba(230,147,54,.06); }
.showcase-frame img { display: block; width: 100%; height: auto; }

.landing .stack { background: transparent; border-top: 1px solid var(--line); margin-top: 72px; }

.fsec { padding: 96px 0; border-bottom: 1px solid var(--line); }
.fsec-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.fsec-flip .fsec-copy { order: 2; }
.kicker { margin: 0 0 14px; font: 500 13px var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.fsec h2 { margin: 0; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.05; font-weight: 750; letter-spacing: -0.035em; }
.fsec-intro { margin: 18px 0 0; color: var(--muted); font-size: 17px; max-width: 32em; }
.fitems { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.fitems li { display: flex; flex-direction: column; gap: 2px; padding-left: 16px; border-left: 1px solid var(--line-2); }
.fitems b { font-weight: 600; }
.fitems span { color: var(--muted); }
.more { display: inline-block; margin-top: 26px; color: var(--text); font-weight: 500; text-decoration: none; }
.more:hover { color: var(--accent); }
.fsec-visual { margin: 0; aspect-ratio: 4 / 3; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #111; }
.fsec-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .fsec { padding: 64px 0; } .fsec-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .fsec-flip .fsec-copy { order: 0; } }

.center { text-align: center; margin-left: auto; margin-right: auto; }
.uses-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.uses-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.use-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 8px; background: #222; color: var(--text); }
.uses-grid h3 { margin: 0 0 6px; font-size: 16px; }
.uses-grid p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .uses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .uses-grid { grid-template-columns: minmax(0, 1fr); } }
.landing .section-alt { background: #100f0e; }
.landing .plan-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.landing .plan-featured .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.cta2 { position: relative; overflow: hidden; isolation: isolate; padding: 120px 0; border-top: 1px solid var(--line); text-align: center; }
.cta2 .contours { color: rgba(230,147,54,.12); }
.cta2::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, transparent 0%, var(--ink) 75%); }
.cta2-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta2 h2 { margin: 0; font-size: clamp(34px, 5.5vw, 68px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.cta2 .lede { margin: 0; color: var(--muted); }

.footer2 { border-top: 1px solid var(--line); padding: 56px 0 calc(24px + env(safe-area-inset-bottom, 0px)); }
.footer2-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer2-brand p { margin: 12px 0 0; max-width: 22em; }
.footer2 nav { display: flex; flex-direction: column; gap: 10px; }
.footer2 h3 { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--text); }
.footer2 nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer2 nav a:hover { color: var(--text); }
.footer2-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 760px) { .footer2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer2-brand { grid-column: 1 / -1; } }
:focus-visible { outline-color: var(--accent); }
.dnav a[aria-current='page'] { box-shadow: inset 2px 0 0 var(--accent); }
.toc a[aria-current] { color: var(--accent); }
.prose a:hover, .footer2 nav a:hover, .footer nav a:hover { color: var(--accent); }
.docs .btn-primary, .landing .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.steps li::before { background: var(--accent); color: var(--accent-ink); }

/* ---- status page */
.status-main { padding-top: 56px; padding-bottom: 80px; max-width: 760px; }
.status-hero { display: flex; align-items: center; gap: 18px; padding: 24px; border: 1px solid var(--line, #2a2a2a); border-radius: 14px; background: #121110; margin-bottom: 20px; }
.status-hero h1 { margin: 0; font-size: 24px; }
.status-hero p { margin: 4px 0 0; }
.status-orb { width: 14px; height: 14px; border-radius: 50%; background: #6b6b6b; flex: 0 0 auto; box-shadow: 0 0 0 6px rgba(255,255,255,.04); }
.status-hero[data-state="ok"] .status-orb { background: #e69336; box-shadow: 0 0 0 6px rgba(230,147,54,.15); }
.status-hero[data-state="down"] .status-orb { background: #f2f2f2; box-shadow: 0 0 0 6px rgba(255,255,255,.08); }
.status-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line, #2a2a2a); border-radius: 14px; overflow: hidden; }
.status-list li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line, #2a2a2a); flex-wrap: wrap; }
.status-list li:first-child { border-top: 0; }
.status-list li b { flex: 1; min-width: 160px; font-weight: 500; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #e69336; }
.status-list li[data-ok="false"] .status-dot { background: #f2f2f2; }
.status-word { font-size: 13px; min-width: 88px; text-align: right; }
.status-list li[data-ok="false"] .status-word { font-weight: 600; }
.status-foot { margin-top: 18px; font-size: 14px; }
