@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --bg: #07120e;
  --bg-soft: #0a1913;
  --panel: #0d1d17;
  --panel-high: #11271f;
  --line: #203a30;
  --line-bright: #315c4b;
  --text: #edf8f3;
  --text-soft: #b8cdc4;
  --muted: #789187;
  --green: #45e69c;
  --green-strong: #18c978;
  --green-ink: #042217;
  --amber: #f4bc5d;
  --red: #ff6d78;
  --blue: #63b7ff;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .28);
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--bg); }
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 78% 5%, rgba(34, 174, 111, .13), transparent 28rem),
    radial-gradient(circle at 5% 42%, rgba(33, 107, 79, .1), transparent 25rem),
    var(--bg);
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
code, pre { font-family: 'DM Mono', ui-monospace, monospace; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; color: var(--green-ink); background: var(--green); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(47, 83, 68, .6); background: rgba(7, 18, 14, .82); backdrop-filter: blur(20px); }
.nav { height: 76px; display: flex; align-items: center; gap: 30px; }
.brand { width: 188px; margin-right: auto; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a { color: var(--text-soft); font-size: 13px; font-weight: 650; text-decoration: none; transition: color .2s; }
.nav-links > a:hover, .nav-links > a[aria-current="page"] { color: var(--green); }
.theme-toggle { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--text-soft); background: var(--panel); font-size: 11px; font-weight: 700; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.theme-toggle:hover { color: var(--green); border-color: var(--green); }
.theme-toggle svg { width: 15px; height: 15px; }
.theme-toggle .theme-moon { display: none; }
[data-theme="light"] .theme-toggle .theme-sun { display: none; }
[data-theme="light"] .theme-toggle .theme-moon { display: block; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: var(--panel); cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: currentColor; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px; color: var(--green-ink); background: linear-gradient(135deg, var(--green), var(--green-strong)); box-shadow: 0 10px 30px rgba(24, 201, 120, .18); font-size: 13px; font-weight: 800; text-decoration: none; transition: transform .18s, box-shadow .18s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 15px 35px rgba(24, 201, 120, .26); }
.button.secondary { border-color: var(--line-bright); color: var(--text-soft); background: rgba(16, 39, 30, .8); box-shadow: none; }
.button.secondary:hover { color: var(--green); border-color: var(--green); }
.button.small { min-height: 38px; padding: 0 14px; font-size: 12px; }
.arrow { width: 15px; height: 15px; }

.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 850px; margin-bottom: 24px; font-size: clamp(42px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -3.5px; }
h2 { margin-bottom: 16px; font-size: clamp(31px, 4vw, 48px); line-height: 1.08; letter-spacing: -2px; }
h3 { margin-bottom: 9px; font-size: 18px; letter-spacing: -.4px; }
.gradient-text { color: transparent; background: linear-gradient(100deg, #e7fff4 5%, var(--green) 72%); background-clip: text; }
.lead { max-width: 700px; color: var(--text-soft); font-size: clamp(17px, 2vw, 20px); line-height: 1.7; }
.section-copy { max-width: 690px; color: var(--muted); font-size: 15px; line-height: 1.75; }

.hero { padding: 92px 0 70px; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .lead { max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 26px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 12px; }
.hero-note span { display: flex; align-items: center; gap: 7px; }
.hero-note i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }

.product-stage { position: relative; margin-top: 72px; padding: 1px; border-radius: 24px; background: linear-gradient(130deg, rgba(88, 240, 171, .56), rgba(32, 67, 54, .4) 30%, rgba(32, 67, 54, .12)); box-shadow: var(--shadow); }
.product-stage::before { content: ''; position: absolute; top: -12%; left: 16%; width: 68%; height: 42%; z-index: -1; border-radius: 50%; background: rgba(28, 204, 124, .13); filter: blur(80px); }
.product-window { overflow: hidden; min-height: 560px; border-radius: 23px; background: #081510; }
.window-bar { height: 43px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid #1a3027; background: #0c1b16; }
.window-bar i { width: 8px; height: 8px; border-radius: 50%; background: #395047; }
.window-bar i:first-child { background: #f16b73; }.window-bar i:nth-child(2) { background: #eeb95a; }.window-bar i:nth-child(3) { background: #4fd696; }
.window-url { width: 230px; margin: auto; padding: 6px 13px; border: 1px solid #243b32; border-radius: 6px; color: #70887e; background: #09140f; font: 9px 'DM Mono', monospace; text-align: center; }
.app-shell { display: grid; grid-template-columns: 190px 1fr; min-height: 517px; }
.app-sidebar { padding: 24px 15px; border-right: 1px solid #1b3128; background: #091712; }
.app-brand { display: flex; align-items: center; gap: 8px; padding: 0 8px 24px; font-size: 13px; font-weight: 800; }
.app-brand span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--green-ink); background: var(--green); }
.app-nav { display: grid; gap: 4px; }
.app-nav div { padding: 9px 11px; border-radius: 7px; color: #6f897e; font-size: 9px; }
.app-nav div.active { color: #def7eb; background: #132a21; box-shadow: inset 2px 0 var(--green); }
.app-main { min-width: 0; }
.app-topbar { height: 69px; display: flex; align-items: center; padding: 0 27px; border-bottom: 1px solid #1b3128; }
.app-topbar b { display: block; font-size: 13px; }.app-topbar small { color: #647d73; font-size: 8px; }
.live-pill { display: flex; align-items: center; gap: 6px; margin-left: auto; color: #8ca49a; font-size: 8px; }.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px var(--green); }
.app-content { padding: 23px 27px; }
.health-card { display: grid; grid-template-columns: 1fr 130px; align-items: center; min-height: 174px; padding: 25px 32px; border: 1px solid #203a30; border-radius: 12px; background: linear-gradient(145deg, #10241c, #0c1a15); }
.health-card small { color: var(--green); font-size: 7px; letter-spacing: 1.3px; text-transform: uppercase; }.health-card h3 { margin: 8px 0; font-size: 22px; }.health-card p { margin: 0; color: #6e887d; font-size: 9px; }
.health-ring { width: 112px; height: 112px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--green) 0 96%, #28463a 96% 100%); box-shadow: 0 0 38px rgba(69, 230, 156, .12); }
.health-ring div { width: 88px; height: 88px; display: grid; place-content: center; border-radius: 50%; background: #0d1d17; text-align: center; }.health-ring strong { font-size: 22px; }.health-ring span { color: var(--green); font-size: 6px; letter-spacing: 1px; }
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 11px 0; }
.mini-stat { padding: 14px; border: 1px solid #1d362c; border-radius: 9px; background: #0d1d17; }.mini-stat b, .mini-stat span { display: block; }.mini-stat b { font-size: 15px; }.mini-stat span { margin-top: 3px; color: #6d857b; font-size: 7px; }
.app-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10px; }
.mini-panel { overflow: hidden; border: 1px solid #1d362c; border-radius: 9px; background: #0d1d17; }
.mini-title { padding: 12px 14px; border-bottom: 1px solid #1d362c; font-size: 9px; font-weight: 700; }
.device-line { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 8px; padding: 9px 13px; border-bottom: 1px solid #172d24; }.device-line:last-child { border: 0; }.device-dot { width: 20px; height: 20px; border-radius: 6px; background: #153b2d; }.device-line b, .device-line small { display: block; font-size: 7px; }.device-line small { margin-top: 2px; color: #617a70; }.state { color: var(--green); font-size: 6px; text-transform: uppercase; }.state.warn { color: var(--amber); }
.chart { height: 105px; margin: 16px 14px 8px; position: relative; border-bottom: 1px solid #29443a; background: repeating-linear-gradient(to bottom, transparent 0 25px, #193027 26px); }
.chart svg { width: 100%; height: 100%; }.chart polyline { fill: none; stroke: var(--green); stroke-width: 2; vector-effect: non-scaling-stroke; }.chart-label { padding: 0 14px 13px; color: #647c72; font-size: 7px; }

.proof-strip { padding: 30px 0; border-block: 1px solid rgba(38, 68, 56, .7); background: rgba(10, 25, 19, .55); }
.proof-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }.proof-items strong { display: block; color: var(--green); font-size: 24px; }.proof-items span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }

.section { padding: 110px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 48px; }.section-head > div { max-width: 690px; }.section-head .section-copy { max-width: 390px; margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card { min-height: 240px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(17, 39, 31, .86), rgba(10, 24, 18, .9)); transition: transform .2s, border-color .2s; }.feature-card:hover { transform: translateY(-3px); border-color: var(--line-bright); }.feature-card.wide { grid-column: span 2; }.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 38px; border: 1px solid #28513f; border-radius: 12px; color: var(--green); background: #133328; }.feature-icon svg { width: 20px; height: 20px; }.feature-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }.feature-card .tag { display: inline-block; margin-top: 16px; color: var(--green); font: 9px 'DM Mono', monospace; letter-spacing: .4px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.code-window { overflow: hidden; border: 1px solid var(--line-bright); border-radius: var(--radius); background: #07100c; box-shadow: var(--shadow); }.code-title { display: flex; align-items: center; gap: 8px; padding: 13px 17px; border-bottom: 1px solid var(--line); color: var(--muted); background: #0d1d17; font: 10px 'DM Mono', monospace; }.code-title::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }.code-window pre, .code-block pre { overflow-x: auto; margin: 0; padding: 24px; color: #c9ded5; font-size: 11px; line-height: 1.85; }.code-window .comment, .code-block .comment { color: #587268; }.code-window .command, .code-block .command { color: var(--green); }.code-window .value, .code-block .value { color: var(--amber); }
.check-list { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }.check-list li { display: flex; gap: 12px; color: var(--text-soft); font-size: 13px; line-height: 1.6; }.check-list li::before { content: '✓'; width: 21px; height: 21px; flex: 0 0 21px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #123528; font-size: 11px; font-weight: 900; }

.architecture { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 45px; }.architecture::before { content: ''; position: absolute; top: 54px; left: 16%; right: 16%; z-index: 0; border-top: 1px dashed #3c6956; }.arch-node { position: relative; z-index: 1; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); text-align: center; }.arch-node .feature-icon { margin: 0 auto 20px; }.arch-node p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }.role { padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: rgba(13, 29, 23, .8); }.role span { display: inline-block; margin-bottom: 24px; padding: 4px 8px; border-radius: 30px; color: var(--green); background: #123528; font: 8px 'DM Mono', monospace; text-transform: uppercase; }.role h3 { font-size: 15px; }.role p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

.cta { padding: 90px 0; }.cta-card { overflow: hidden; position: relative; padding: 65px; border: 1px solid #35634f; border-radius: 26px; background: linear-gradient(125deg, #123d2e, #0d211a 65%); }.cta-card::after { content: ''; position: absolute; width: 340px; height: 340px; right: -100px; top: -180px; border: 1px solid rgba(83, 225, 159, .2); border-radius: 50%; box-shadow: 0 0 0 45px rgba(83, 225, 159, .03), 0 0 0 90px rgba(83, 225, 159, .02); }.cta-card h2 { max-width: 700px; }.cta-card p { max-width: 630px; color: var(--text-soft); line-height: 1.7; }.cta-card .hero-actions { position: relative; z-index: 1; margin-bottom: 0; }

.site-footer { padding: 52px 0 32px; border-top: 1px solid var(--line); background: #06100c; }.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }.footer-brand { width: 180px; }.footer-about p { max-width: 390px; margin: 18px 0; color: var(--muted); font-size: 12px; line-height: 1.7; }.footer-col h3 { color: var(--muted); font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; }.footer-col a { display: block; margin-top: 12px; color: var(--text-soft); font-size: 12px; text-decoration: none; }.footer-col a:hover { color: var(--green); }.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 22px; border-top: 1px solid #172b23; color: #5e766c; font-size: 10px; }

/* Documentation pages */
.page-hero { padding: 86px 0 62px; border-bottom: 1px solid var(--line); }.page-hero h1 { max-width: 950px; font-size: clamp(42px, 5.5vw, 68px); }.page-hero .lead { max-width: 760px; }.page-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }.page-meta span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 30px; color: var(--muted); background: var(--panel); font: 9px 'DM Mono', monospace; }
.docs-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 65px; padding: 62px 0 110px; align-items: start; }.docs-nav { position: sticky; top: 104px; max-height: calc(100vh - 130px); overflow-y: auto; padding-right: 18px; }.docs-nav strong { display: block; margin-bottom: 12px; color: var(--muted); font-size: 9px; letter-spacing: 1.4px; text-transform: uppercase; }.docs-nav a { display: block; padding: 7px 10px; border-left: 1px solid var(--line); color: #89a197; font-size: 11px; line-height: 1.4; text-decoration: none; }.docs-nav a:hover, .docs-nav a.active { color: var(--green); border-color: var(--green); background: linear-gradient(90deg, rgba(69, 230, 156, .07), transparent); }
.docs-content { min-width: 0; }.docs-content section { margin-bottom: 82px; }.docs-content section:last-child { margin-bottom: 0; }.docs-content h2 { padding-bottom: 17px; border-bottom: 1px solid var(--line); font-size: clamp(27px, 3vw, 38px); }.docs-content h3 { margin: 34px 0 12px; font-size: 18px; }.docs-content h4 { margin: 25px 0 10px; color: var(--text-soft); font-size: 13px; }.docs-content p, .docs-content li { color: var(--text-soft); font-size: 13px; line-height: 1.8; }.docs-content a:not(.button) { color: var(--green); text-underline-offset: 3px; }.docs-content ol, .docs-content ul { padding-left: 22px; }.docs-content li + li { margin-top: 7px; }.docs-content code:not(pre code) { padding: 2px 5px; border: 1px solid var(--line); border-radius: 5px; color: #cce5da; background: #0a1712; font-size: 11px; }.callout { margin: 22px 0; padding: 18px 20px; border: 1px solid #315845; border-left: 3px solid var(--green); border-radius: 10px; color: var(--text-soft); background: rgba(18, 49, 38, .48); font-size: 12px; line-height: 1.7; }.callout.warning { border-color: #6a5631; border-left-color: var(--amber); background: rgba(64, 46, 17, .35); }.callout.danger { border-color: #67333a; border-left-color: var(--red); background: rgba(65, 24, 30, .34); }.callout strong { color: var(--text); }
.code-block { position: relative; overflow: hidden; margin: 18px 0 25px; border: 1px solid var(--line); border-radius: 12px; background: #06100c; }.code-block .code-label { padding: 10px 15px; border-bottom: 1px solid var(--line); color: var(--muted); background: #0c1b15; font: 9px 'DM Mono', monospace; text-transform: uppercase; }.code-block pre { padding: 19px; font-size: 10.5px; line-height: 1.75; }.copy-button { position: absolute; top: 7px; right: 8px; padding: 5px 9px; border: 1px solid var(--line-bright); border-radius: 6px; color: var(--text-soft); background: #10251c; font-size: 9px; cursor: pointer; }.copy-button:hover, .copy-button.copied { color: var(--green); border-color: var(--green); }
.table-wrap { overflow-x: auto; margin: 20px 0 30px; border: 1px solid var(--line); border-radius: 12px; }.docs-content table { width: 100%; border-collapse: collapse; min-width: 620px; }.docs-content th, .docs-content td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--text-soft); font-size: 11px; line-height: 1.55; text-align: left; vertical-align: top; }.docs-content th { color: var(--muted); background: #0d1d17; font-size: 9px; letter-spacing: .7px; text-transform: uppercase; }.docs-content tr:last-child td { border-bottom: 0; }.docs-content td code { white-space: nowrap; }
.tabs { margin: 24px 0; }.tab-list { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }.tab-list button { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: var(--panel); font-size: 10px; cursor: pointer; }.tab-list button[aria-selected="true"] { color: var(--green); border-color: var(--green); background: #123126; }.tab-panel[hidden] { display: none; }.tab-panel > :first-child { margin-top: 0; }
.step { display: grid; grid-template-columns: 36px 1fr; gap: 18px; margin: 27px 0; }.step-number { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #2d5c47; border-radius: 10px; color: var(--green); background: #102d22; font: 11px 'DM Mono', monospace; }.step-body h3 { margin: 5px 0 8px; }.step-body > :last-child { margin-bottom: 0; }
.feature-catalog { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }.catalog-card { padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: rgba(13, 29, 23, .78); }.catalog-card .feature-icon { margin-bottom: 22px; }.catalog-card h3 { margin-top: 0; }.catalog-card ul { margin-bottom: 0; padding-left: 18px; }.catalog-card li { color: var(--muted); font-size: 11px; }.catalog-card li + li { margin-top: 4px; }

/* Remembered light theme */
[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f9f6;
  --bg-soft: #edf4f0;
  --panel: #ffffff;
  --panel-high: #f3f8f5;
  --line: #d5e2dc;
  --line-bright: #adc8bc;
  --text: #17372b;
  --text-soft: #456458;
  --muted: #6c8379;
  --green: #087c50;
  --green-strong: #0b9b61;
  --green-ink: #ffffff;
  --amber: #9a6509;
  --red: #c33f4b;
  --blue: #176fae;
  --shadow: 0 28px 70px rgba(37, 73, 58, .14);
}
[data-theme="light"] body::before { background: radial-gradient(circle at 78% 5%, rgba(38, 174, 113, .13), transparent 28rem), radial-gradient(circle at 5% 42%, rgba(54, 140, 103, .08), transparent 25rem), var(--bg); }
[data-theme="light"] .site-header { border-color: rgba(181, 203, 193, .78); background: rgba(248, 251, 249, .88); }
[data-theme="light"] .brand img, [data-theme="light"] .footer-brand img { content: url('/assets/brand-light.svg'); }
[data-theme="light"] .gradient-text { background-image: linear-gradient(100deg, #17372b 5%, #087c50 72%); }
[data-theme="light"] .button { color: #ffffff; }
[data-theme="light"] .button.secondary { color: #365b4b; border-color: #b6cec3; background: rgba(255, 255, 255, .82); }
[data-theme="light"] .button.secondary:hover { color: #087c50; border-color: #087c50; }
[data-theme="light"] .proof-strip { border-color: #d9e5df; background: rgba(235, 244, 239, .7); }
[data-theme="light"] .section[style] { background: rgba(232, 242, 237, .58) !important; }
[data-theme="light"] .feature-card { border-color: #d3e1da; background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(241, 247, 244, .94)); box-shadow: 0 10px 30px rgba(40, 76, 61, .05); }
[data-theme="light"] .feature-card:hover { border-color: #9fc3b2; }
[data-theme="light"] .feature-icon { color: #087c50; border-color: #b9d8ca; background: #e2f3ea; }
[data-theme="light"] .arch-node { background: #ffffff; box-shadow: 0 10px 28px rgba(40, 76, 61, .05); }
[data-theme="light"] .architecture::before { border-color: #9ab9ab; }
[data-theme="light"] .role { background: rgba(255, 255, 255, .9); }
[data-theme="light"] .role span { color: #087c50; background: #e0f1e8; }
[data-theme="light"] .cta-card { color: #edf8f3; border-color: #2c6850; background: linear-gradient(125deg, #15513c, #0d2b21 65%); }
[data-theme="light"] .cta-card h2 { color: #edf8f3; }
[data-theme="light"] .cta-card p { color: #c3dbd1; }
[data-theme="light"] .cta-card .button.secondary { color: #e1f2ea; border-color: #477765; background: rgba(7, 28, 20, .35); }
[data-theme="light"] .site-footer { border-color: #d5e2dc; background: #eaf2ee; }
[data-theme="light"] .footer-bottom { border-color: #d4e0da; color: #70867c; }
[data-theme="light"] .docs-nav a { color: #637c71; }
[data-theme="light"] .docs-nav a:hover, [data-theme="light"] .docs-nav a.active { color: #087c50; background: linear-gradient(90deg, rgba(8, 124, 80, .07), transparent); }
[data-theme="light"] .docs-content code:not(pre code) { color: #275242; border-color: #ccdcd4; background: #edf4f0; }
[data-theme="light"] .callout { color: #3e5d50; border-color: #a9cdbc; border-left-color: #087c50; background: #eaf5ef; }
[data-theme="light"] .callout.warning { border-color: #dbc496; border-left-color: #b57a16; background: #fff8e9; }
[data-theme="light"] .callout.danger { border-color: #e2aeb4; border-left-color: #c33f4b; background: #fff0f1; }
[data-theme="light"] .callout strong { color: #17372b; }
[data-theme="light"] .table-wrap { background: #ffffff; }
[data-theme="light"] .docs-content th { color: #637c71; background: #edf4f0; }
[data-theme="light"] .docs-content td { color: #456458; }
[data-theme="light"] .tab-list button { color: #637c71; background: #ffffff; }
[data-theme="light"] .tab-list button[aria-selected="true"] { color: #087c50; border-color: #72ae91; background: #e5f3eb; }
[data-theme="light"] .step-number { color: #087c50; border-color: #9ac9b3; background: #e2f2e9; }
[data-theme="light"] .catalog-card { border-color: #d3e1da; background: rgba(255, 255, 255, .92); box-shadow: 0 8px 25px rgba(40, 76, 61, .04); }
[data-theme="light"] .product-stage, [data-theme="light"] .code-window, [data-theme="light"] .code-block { --green: #45e69c; --amber: #f4bc5d; }
[data-theme="light"] .product-stage { --text: #edf8f3; --text-soft: #b8cdc4; --muted: #789187; }
[data-theme="light"] .code-block { border-color: #b7cec3; box-shadow: 0 9px 24px rgba(40, 76, 61, .08); }
[data-theme="light"] .code-block .code-label { border-color: #284338; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; display: none; padding: 18px 20px 24px; border-bottom: 1px solid var(--line); background: rgba(7, 18, 14, .98); }
  [data-theme="light"] .nav-links { background: rgba(248, 251, 249, .98); }
  .nav-links.open { display: grid; }
  .theme-toggle { width: 100%; justify-content: flex-start; padding-inline: 13px; }
  .nav-links .button { margin-top: 6px; }
  .app-shell { grid-template-columns: 145px 1fr; }
  .section-head { display: block; }.section-head .section-copy { max-width: 680px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }.feature-card.wide { grid-column: auto; }
  .split { gap: 40px; }
  .roles { grid-template-columns: repeat(2, 1fr); }
  .docs-layout { grid-template-columns: 1fr; gap: 30px; }.docs-nav { position: static; display: flex; overflow-x: auto; gap: 3px; max-height: none; padding: 0 0 12px; border-bottom: 1px solid var(--line); }.docs-nav strong { display: none; }.docs-nav a { flex: 0 0 auto; border-left: 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
}

@media (max-width: 760px) {
  .container, .narrow { width: min(100% - 28px, 1180px); }
  .hero { padding-top: 65px; } h1 { letter-spacing: -2px; }
  .product-stage { margin-top: 50px; }.product-window { min-height: auto; }.window-url { width: 150px; }.app-shell { grid-template-columns: 1fr; min-height: auto; }.app-sidebar { display: none; }.app-topbar { height: 56px; padding: 0 16px; }.app-content { padding: 14px; }.health-card { grid-template-columns: 1fr 96px; min-height: 142px; padding: 20px; }.health-ring { width: 84px; height: 84px; }.health-ring div { width: 65px; height: 65px; }.health-ring strong { font-size: 17px; }.mini-stats { grid-template-columns: repeat(2, 1fr); }.app-grid { grid-template-columns: 1fr; }.mini-panel:last-child { display: none; }
  .proof-items { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .section { padding: 80px 0; }.section-head { margin-bottom: 34px; }
  .feature-grid, .feature-catalog { grid-template-columns: 1fr; }.feature-card { min-height: 215px; }.feature-icon { margin-bottom: 28px; }
  .split { grid-template-columns: 1fr; gap: 35px; }.split .code-window { order: 2; }
  .architecture { grid-template-columns: 1fr; }.architecture::before { display: none; }
  .cta-card { padding: 38px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }.footer-about { grid-column: span 2; }.footer-bottom { display: block; }.footer-bottom span { display: block; margin-top: 8px; }
  .page-hero { padding: 62px 0 48px; }.docs-layout { padding-top: 36px; }.docs-content section { margin-bottom: 64px; }
}

@media (max-width: 480px) {
  .brand { width: 165px; }.nav { height: 68px; }.nav-links { top: 68px; }
  h1 { font-size: 39px; }.lead { font-size: 16px; }.hero-actions .button { width: 100%; }
  .health-card { display: block; }.health-ring { display: none; }.mini-stat:nth-child(n+3) { display: none; }
  .roles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }.footer-about { grid-column: auto; }
  .code-window pre, .code-block pre { font-size: 9.5px; padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
