:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --surface: #ffffff;
  --surface-2: #f4f4f5;
  --surface-3: #ececee;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --text: #09090b;
  --text-2: #3f3f46;
  --muted: #6b6b74;
  --accent: #3451d1;
  --accent-text: #2f49c2;
  --accent-soft: #eef1fd;
  --accent-line: #b9c5f4;
  --on-accent: #ffffff;
  --danger: #d0261d;
  --danger-soft: #fdf1f0;
  --danger-line: #f3bdb9;
  --btn-bg: #09090b;
  --btn-fg: #ffffff;
  --wall-1: #e8eaf0;
  --wall-2: #d9dde6;
  --shadow-sm: 0 1px 2px rgba(9, 9, 11, .05);
  --shadow-md: 0 1px 2px rgba(9, 9, 11, .04), 0 8px 24px -8px rgba(9, 9, 11, .12);
  --shadow-lg: 0 2px 4px rgba(9, 9, 11, .04), 0 24px 60px -20px rgba(9, 9, 11, .28);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, "Cascadia Mono", "Liberation Mono", monospace;
  --radius: 12px;
  --gutter: 24px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0a0a0b;
    --bg-alt: #0e0e10;
    --surface: #121214;
    --surface-2: #19191c;
    --surface-3: #222226;
    --border: #26262a;
    --border-strong: #3a3a40;
    --text: #f4f4f5;
    --text-2: #c9c9cf;
    --muted: #9a9aa3;
    --accent: #7d93ff;
    --accent-text: #9aabff;
    --accent-soft: #161b33;
    --accent-line: #34407a;
    --on-accent: #0a0a0b;
    --danger: #f2655b;
    --danger-soft: #2a1412;
    --danger-line: #6b2a25;
    --btn-bg: #f4f4f5;
    --btn-fg: #0a0a0b;
    --wall-1: #1b1c22;
    --wall-2: #121318;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -8px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 24px 60px -20px rgba(0, 0, 0, .8);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
code, pre { font-family: var(--mono); }
a { color: var(--accent-text); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.muted { color: var(--muted); }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  padding: 8px 14px; border-radius: 8px;
  background: var(--btn-bg); color: var(--btn-fg); text-decoration: none; font-weight: 500;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 10px;
  font: 500 15px/1 var(--sans); letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: color-mix(in srgb, var(--btn-bg) 86%, var(--bg)); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 14px; border-radius: 8px; }
.btn:disabled { opacity: .6; cursor: progress; }

.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface-2); color: var(--muted);
  font: 500 11.5px/1 var(--mono); letter-spacing: 0; white-space: nowrap; vertical-align: middle;
}
.tag-accent { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-text); }
.tag-warn { background: var(--surface-2); color: var(--text-2); border-color: var(--border-strong); }

.eyebrow {
  margin: 0 0 14px;
  font: 500 12.5px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent-text);
}

.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar-row { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 16.5px; letter-spacing: -0.02em; }
.brand-mark { width: 22px; height: 22px; color: var(--text); flex: none; }
.topbar nav { flex: 1; }
.navlinks { display: flex; gap: 4px; justify-content: center; }
.navlinks a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14px; transition: color .15s, background-color .15s; }
.navlinks a:hover { color: var(--text); background: var(--surface-2); }
@media (max-width: 860px) { .navlinks { display: none; } .topbar nav { flex: 1; } }

.hero { padding: 72px 0 88px; border-bottom: 1px solid var(--border); background:
  radial-gradient(60% 50% at 80% 0%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%), var(--bg); }
.hero-grid { display: grid; gap: 56px; align-items: start; }
@media (min-width: 1020px) { .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 64px; } .hero { padding-top: 88px; } }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
  height: 28px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); color: var(--text-2); font-size: 13px; box-shadow: var(--shadow-sm);
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.75rem); letter-spacing: -0.04em; line-height: 1.04; margin-bottom: 24px; text-wrap: balance; }
.h1-soft { color: var(--danger); }
.mechanic {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.5; font-weight: 500; color: var(--text);
  max-width: 32em; margin-bottom: 20px; text-wrap: pretty;
}
.lede { color: var(--text-2); max-width: 34em; text-wrap: pretty; }
.punch { font-weight: 600; color: var(--text); margin-bottom: 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-fig { min-width: 0; }
.mock {
  container-type: inline-size;
  position: relative; aspect-ratio: 16 / 11; overflow: hidden;
  border: 1px solid var(--border-strong); border-radius: 14px;
  background: linear-gradient(160deg, var(--wall-1), var(--wall-2));
  box-shadow: var(--shadow-lg);
  font-size: clamp(9px, 1.75cqw, 13px); line-height: 1.35;
  user-select: none;
}
.mock p { margin: 0; }
.mock-menubar {
  position: absolute; inset: 0 0 auto 0; height: 2.3em; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; padding: 0 1em;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  border-bottom: 1px solid var(--border);
  color: var(--text-2); font-size: .92em;
}
.mm-left, .mm-right { display: flex; align-items: center; gap: 1.2em; white-space: nowrap; }
.mm-left b { color: var(--text); font-weight: 600; }
.mm-logo { width: .85em; height: .85em; border-radius: 50%; background: var(--text-2); display: inline-block; }
.mm-status { display: inline-flex; align-items: center; gap: .45em; padding: .15em .55em; border-radius: .4em; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-family: var(--mono); font-size: .92em; }
.mm-status i { width: .5em; height: .5em; border-radius: 50%; background: var(--accent); }
.mock-desk { position: absolute; inset: 2.3em 0 0 0; }
.bgwin {
  position: absolute; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: .7em;
  box-shadow: var(--shadow-md);
}
.bgwin-a { left: 3.5%; top: 6%; width: 60%; height: 72%; }
.bgwin-b { right: 3.5%; top: 24%; width: 50%; height: 68%; }
.bgwin-bar { display: flex; align-items: center; gap: .4em; height: 2.2em; padding: 0 .8em; background: var(--surface-2); border-bottom: 1px solid var(--border); color: var(--muted); font-size: .9em; white-space: nowrap; overflow: hidden; }
.bgwin-bar > i { width: .7em; height: .7em; border-radius: 50%; background: var(--border-strong); flex: none; }
.bgwin-bar > span { margin-left: .8em; }
.tabs { display: flex; gap: .35em; }
.tabs em { font-style: normal; padding: .15em .6em; border-radius: .35em; background: var(--surface); border: 1px solid var(--border); }
.bgwin-body { flex: 1; position: relative; }
.canvas { background-image: radial-gradient(var(--border) 1px, transparent 1px); background-size: 1.2em 1.2em; }
.canvas b { position: absolute; border-radius: .4em; background: var(--surface-2); border: 1px solid var(--border-strong); }
.canvas b:nth-child(1) { left: 8%; top: 12%; width: 34%; height: 40%; }
.canvas b:nth-child(2) { left: 48%; top: 12%; width: 22%; height: 18%; }
.canvas b:nth-child(3) { left: 48%; top: 36%; width: 22%; height: 16%; }
.canvas b:nth-child(4) { left: 8%; top: 60%; width: 62%; height: 10%; }
.lines { padding: 1.2em; display: flex; flex-direction: column; gap: .8em; }
.lines b { display: block; height: .7em; border-radius: .35em; background: var(--surface-3); }
.lines b:nth-child(1) { width: 70%; } .lines b:nth-child(2) { width: 90%; } .lines b:nth-child(3) { width: 55%; } .lines b:nth-child(4) { width: 80%; } .lines b:nth-child(5) { width: 40%; }
.ghost {
  position: absolute; left: 13%; top: 8%; width: 76%; height: 86%;
  border: 1.5px dashed var(--accent); border-radius: .9em;
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}
.ghost span {
  position: absolute; right: .8em; bottom: .6em;
  font: 500 .9em/1 var(--mono); color: var(--accent-text);
  background: var(--surface); padding: .3em .5em; border-radius: .35em; border: 1px solid var(--accent-line);
}
.tw {
  position: absolute; left: 22%; top: 16%; width: 56%; z-index: 2;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: .8em;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 4%, transparent), var(--shadow-lg);
  overflow: visible;
}
.tw-bar {
  position: relative; display: flex; align-items: center; gap: .5em; height: 2.4em; padding: 0 .9em;
  border-bottom: 1px solid var(--border); background: var(--surface-2); border-radius: .8em .8em 0 0;
  cursor: grab;
}
.tw-grip { width: 1em; height: 1em; fill: var(--muted); flex: none; }
.tw-app { font-weight: 600; color: var(--text); font-size: .95em; }
.tw-id { font: 500 .85em/1 var(--mono); color: var(--muted); padding: .2em .45em; border: 1px solid var(--border); border-radius: .3em; background: var(--surface); }
.tw-body { padding: 1em 1.1em 1.1em; }
.tw-from { color: var(--muted); font-size: .9em; margin-bottom: .3em !important; }
.tw-title { font-weight: 600; font-size: 1.32em; line-height: 1.2; letter-spacing: -0.02em; color: var(--text); margin-bottom: .8em !important; }
.tw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3em; margin-bottom: .45em; }
.seg { height: .38em; border-radius: 1em; background: var(--surface-3); }
.seg.on { background: var(--accent); }
.seg.lock { background: color-mix(in srgb, var(--danger) 30%, var(--surface-3)); }
.tw-meta { position: relative; display: flex; gap: .8em; align-items: center; font: 500 .88em/1.3 var(--mono); color: var(--muted); margin-bottom: .9em !important; }
.tw-lockin { color: var(--danger); }
.tw-check {
  position: relative; display: flex; align-items: center; gap: .6em;
  padding: .6em .7em; margin-bottom: .9em;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: .5em;
  font-size: .92em; color: var(--text-2);
}
.tw-check b { color: var(--text); font-weight: 600; margin-right: .3em; }
.tw-bot { display: grid; place-items: center; width: 1.7em; height: 1.7em; flex: none; border-radius: .4em; background: var(--text); color: var(--bg); font: 600 .85em/1 var(--mono); }
.tw-actions { display: flex; gap: .5em; }
.tw-go, .tw-ask { display: inline-flex; align-items: center; height: 2.3em; padding: 0 .9em; border-radius: .45em; font-weight: 500; font-size: .95em; }
.tw-go { background: var(--btn-bg); color: var(--btn-fg); }
.tw-ask { border: 1px solid var(--border-strong); color: var(--text); }
.marker {
  display: inline-grid; place-items: center; flex: none;
  width: 1.75em; height: 1.75em; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  font: 600 .82em/1 var(--mono);
  box-shadow: 0 0 0 .25em color-mix(in srgb, var(--accent) 22%, transparent);
}
.mock .marker { position: absolute; font-size: .9em; }
.m1 { right: -.9em; top: 50%; transform: translateY(-50%); }
.m2 { right: -2.05em; top: 50%; transform: translateY(-50%); }
.m3 { right: -1.95em; top: 50%; transform: translateY(-50%); }

.legend { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 640px) { .legend { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.legend li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.legend .marker { width: 22px; height: 22px; font-size: 11.5px; margin-top: 1px; box-shadow: none; }
.legend b { color: var(--text); font-weight: 600; }

@container (max-width: 480px) {
  .bgwin-a { width: 70%; }
  .bgwin-b { width: 60%; }
  .ghost { left: 4%; width: 92%; top: 5%; height: 90%; }
  .ghost span { display: none; }
  .tw { left: 7%; width: 80%; top: 9%; }
  .m1 { right: .7em; }
  .m2, .m3 { right: .5em; }
  .tw-check { padding-right: 2.6em; }
  .mm-left span, .mm-clock { display: none; }
}

.section { padding: 104px 0; border-bottom: 1px solid var(--border); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 16px; text-wrap: balance; }
.section-sub { font-size: 1.075rem; color: var(--text-2); margin: 0; text-wrap: pretty; }
@media (max-width: 640px) { .section { padding: 72px 0; } .section-head { margin-bottom: 36px; } }

.diagram { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); padding: 32px; }
@media (max-width: 640px) { .diagram { padding: 20px 16px; border-radius: 14px; } }
.fig-cap { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }

.tl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tl-step { position: relative; padding: 0 24px 0 0; min-width: 0; }
.tl-step h3 { font-size: 16.5px; margin-bottom: 6px; }
.tl-step p { font-size: 14.5px; color: var(--text-2); margin-bottom: 12px; }
.scr { display: block; width: 100%; height: auto; margin-bottom: 18px; }
.scr-frame { fill: var(--surface-2); stroke: var(--border-strong); stroke-width: 1; }
.scr-frame.lock { fill: var(--danger-soft); stroke: var(--danger); stroke-width: 1.5; }
.scr-bar { fill: var(--surface-3); }
.scr-lockbar { fill: var(--danger); }
.scr-app { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1; }
.scr-task { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.5; }
.scr-allowed { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1; }
.scr-chat { fill: var(--surface); stroke: var(--accent); stroke-width: 1; stroke-dasharray: 3 2; }
.tl-axis { position: relative; height: 14px; margin: 0 -24px 14px 0; }
.tl-axis::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--border-strong); }
.tl-axis i { position: absolute; left: 0; top: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.tl-step:last-child .tl-axis { margin-right: 0; }
.tl-step:last-child .tl-axis::after { content: ""; position: absolute; right: -2px; top: 2px; border: 5px solid transparent; border-left: 8px solid var(--danger); border-right: 0; }
.tl-lock .tl-axis::before { background: var(--danger); }
.tl-lock .tl-axis i { border-color: var(--danger); background: var(--danger); }
.tl-when { font: 500 12px/1.2 var(--mono) !important; text-transform: uppercase; letter-spacing: .04em; color: var(--muted) !important; margin-bottom: 8px !important; }
.tl-lock .tl-when { color: var(--danger) !important; }
.tl-lock { padding-left: 24px; padding-right: 0; }
.tl-lock .tl-axis { margin-left: -24px; }
.tl-limit { position: absolute; left: 0; top: -14px; bottom: 0; border-left: 2px dashed var(--danger); }
.tl-limit span {
  position: absolute; left: -1px; top: -14px; transform: translate(-50%, -100%);
  font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
  color: var(--danger); background: var(--surface); padding: 4px 8px; border: 1px solid var(--danger-line); border-radius: 999px;
}
.timeline-fig { padding-top: 56px; }
.share { display: flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--mono) !important; color: var(--muted) !important; margin: 0 !important; }
.share-bar { flex: 0 0 64px; height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.share-bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.share-bar.lock i { background: var(--danger); }

@media (max-width: 860px) {
  .timeline-fig { padding-top: 24px; }
  .tl { grid-template-columns: 1fr; }
  .tl-step { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; padding: 0 0 28px 28px; }
  .tl-step > :not(.scr):not(.tl-axis):not(.tl-limit) { grid-column: 2; }
  .tl-step .scr { grid-column: 1; grid-row: 1 / span 4; margin: 2px 0 0; }
  .tl-axis { position: absolute; left: 0; top: 0; bottom: 0; width: 14px; height: auto; margin: 0; }
  .tl-axis::before { left: 6px; right: auto; top: 6px; bottom: 0; width: 2px; height: auto; }
  .tl-axis i { top: 4px; }
  .tl-step:last-child .tl-axis::after { display: none; }
  .tl-lock { padding: 40px 0 0 28px; }
  .tl-lock .tl-axis { margin: 0; top: 36px; }
  .tl-limit { left: 0; right: 0; top: 12px; bottom: auto; border-left: 0; border-top: 2px dashed var(--danger); }
  .tl-limit span { left: auto; right: 0; top: 0; transform: translateY(-50%); }
  .tl-lock .share { margin-top: 4px !important; }
}
@media (max-width: 400px) { .tl-step { grid-template-columns: 92px minmax(0, 1fr); column-gap: 12px; } .share-bar { flex-basis: 40px; } }
.share { white-space: nowrap; }

.gnode { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; padding: 16px; min-width: 0; }
.gnode h3 { font-size: 16px; margin-bottom: 6px; }
.gnode p { font-size: 14px; color: var(--text-2); margin: 0; }
.gnode-k { display: flex; align-items: center; gap: 6px; font: 500 11.5px/1 var(--mono) !important; text-transform: uppercase; letter-spacing: .05em; color: var(--muted) !important; margin-bottom: 10px !important; }
.gnode-k svg { width: 13px; height: 13px; }
.g-locked { border-color: var(--danger-line); background: var(--danger-soft); }
.g-locked .gnode-k { color: var(--danger) !important; }
.ev { display: grid; gap: 6px; }
.ev li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; line-height: 1.3; color: var(--text); padding: 7px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); }
.ev-src { flex: none; min-width: 62px; font: 500 11px/1 var(--mono); color: var(--muted); }
.g-check { border-color: var(--accent-line); }
.g-check .gnode-k { color: var(--accent-text) !important; }
.verdict { display: inline-flex !important; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; font: 600 12.5px/1 var(--mono) !important; text-transform: uppercase; letter-spacing: .04em; }
.verdict svg { width: 14px; height: 14px; }
.verdict.pass { background: var(--accent-soft); color: var(--accent-text) !important; border: 1px solid var(--accent-line); }
.verdict.fail { background: var(--danger-soft); color: var(--danger) !important; border: 1px solid var(--danger-line); margin-bottom: 8px !important; }
.g-open { background: var(--accent-soft); border-color: var(--accent); text-align: left; }
.gate-ic { display: block; width: 40px; height: 34px; color: var(--accent); margin-bottom: 10px; }

.gate-main { display: flex; align-items: stretch; }
.gate-main > .gnode { flex: 1 1 0; }
.gate-main > .g-evidence { flex: 1.35 1 0; }
.garrow { position: relative; flex: 0 0 76px; align-self: center; height: 34px; }
.garrow::before { content: ""; position: absolute; left: 8px; right: 10px; top: 50%; border-top: 1.5px solid var(--border-strong); }
.garrow::after { content: ""; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-left: 8px solid var(--border-strong); border-right: 0; }
.garrow span { position: absolute; left: 0; right: 0; bottom: 50%; margin-bottom: 6px; text-align: center; font: 500 11px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.garrow-pass::before { border-top-color: var(--accent); border-top-width: 2px; }
.garrow-pass::after { border-left-color: var(--accent); }
.garrow-pass span { color: var(--accent-text); }
.garrow-fail { flex-basis: 104px; }
.garrow-fail::before { border-top: 1.5px dashed var(--danger); }
.garrow-fail::after { border-left-color: var(--danger); }
.garrow-fail span { color: var(--danger); }

.gate-bounce { margin-top: 28px; padding-top: 24px; border-top: 1px dashed var(--border-strong); }
.bounce-row { display: flex; align-items: center; max-width: 760px; }
.bounce-row > .bubble, .bounce-row > .gnode { flex: 1 1 0; }
.bubble { position: relative; padding: 12px 14px; border-radius: 12px 12px 12px 4px; background: var(--surface-2); border: 1px solid var(--border); font-size: 14.5px; color: var(--text); }
.bubble-who { display: block; font: 500 11px/1 var(--mono); color: var(--muted); margin-bottom: 6px; }
.g-fail { border-color: var(--danger-line); }
.side-k { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font: 500 11.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--text-2); margin-bottom: 14px; }
.side-k span { text-transform: none; letter-spacing: 0; color: var(--muted); font-family: var(--sans); font-size: 13px; }
.gate-side { margin-top: 28px; padding-top: 24px; border-top: 1px dashed var(--border-strong); }
.doors { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.door { position: relative; padding: 12px 14px 12px 40px; border: 1px dashed var(--border-strong); border-radius: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.door::before { content: ""; position: absolute; left: 14px; top: 14px; width: 12px; height: 16px; border: 1.5px solid var(--muted); border-radius: 2px 2px 0 0; }
.door::after { content: ""; position: absolute; left: 22px; top: 22px; width: 2px; height: 2px; border-radius: 50%; background: var(--muted); }
.door b { display: block; color: var(--text-2); font-weight: 600; font-size: 14px; margin-bottom: 2px; }

@media (max-width: 960px) {
  .gate-main, .bounce-row { flex-direction: column; align-items: stretch; }
  .garrow { flex: 0 0 44px; width: 100%; height: 44px; align-self: stretch; }
  .garrow::before { left: 50%; right: auto; top: 6px; bottom: 12px; border-top: 0; border-left: 1.5px solid var(--border-strong); }
  .garrow::after { left: 50%; right: auto; top: auto; bottom: 4px; transform: translateX(-50%); border: 5px solid transparent; border-top: 8px solid var(--border-strong); border-bottom: 0; }
  .garrow span { left: calc(50% + 12px); right: auto; bottom: auto; top: 50%; transform: translateY(-50%); margin: 0; text-align: left; }
  .garrow-pass::before { border-left: 2px solid var(--accent); }
  .garrow-pass::after { border-top-color: var(--accent); }
  .garrow-fail::before { border-left: 1.5px dashed var(--danger); }
  .garrow-fail::after { border-top-color: var(--danger); }
  .doors { grid-template-columns: 1fr; }
}

.arch { display: grid; grid-template-columns: minmax(0, .9fr) 92px minmax(0, 1fr) 92px minmax(0, 1.1fr); align-items: center; }
.col-k { font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 12px; }
.srcs { display: grid; gap: 8px; }
.src { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); }
.src b { font-weight: 600; font-size: 14.5px; }
.src span { font: 500 11.5px/1.2 var(--mono); color: var(--muted); text-align: right; }
.src-core { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
.src-core span { color: var(--accent-text); }
.src-more { border-style: dashed; color: var(--muted); }
.src-more b { color: var(--text-2); font-weight: 500; }
.arch-sources { position: relative; }
.srcs { position: relative; }
.srcs::after { content: ""; position: absolute; right: -14px; top: 20px; bottom: 20px; border-right: 1.5px solid var(--accent-line); }
.src { position: relative; }
.src::after { content: ""; position: absolute; right: -15px; top: 50%; width: 14px; border-top: 1.5px solid var(--accent-line); }
.arch-link { position: relative; height: 40px; align-self: center; }
.arch-sources + .arch-link::before { left: 14px; }
.arch-link::before { content: ""; position: absolute; left: 6px; right: 10px; top: 50%; border-top: 2px solid var(--accent); }
.arch-link::after { content: ""; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-left: 9px solid var(--accent); border-right: 0; }
.arch-link span { position: absolute; left: 0; right: 0; bottom: 50%; margin-bottom: 8px; text-align: center; font: 500 10.5px/1.25 var(--mono); color: var(--muted); }
.brain {
  padding: 22px; border-radius: 16px; border: 1px solid var(--accent);
  background: radial-gradient(120% 120% at 50% 0%, var(--accent-soft), var(--surface) 70%);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 10%, transparent), var(--shadow-md);
}
.brain h3, .hands h3, .hosted h3 { font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.brain ul { display: grid; gap: 8px; }
.brain li { position: relative; padding-left: 18px; font-size: 14px; color: var(--text-2); line-height: 1.4; }
.brain li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hands { padding: 20px; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--surface); box-shadow: var(--shadow-sm); }
.cmds { display: grid; gap: 6px; }
.cmds li { display: flex; align-items: baseline; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.cmds code { flex: 0 0 72px; font-size: 12px; color: var(--text); background: var(--surface-2); border: 1px solid var(--border); border-radius: 5px; padding: 2px 6px; }
.hands-foot { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.arch-opt-link { position: relative; height: 40px; }
.arch-opt-link::before { content: ""; position: absolute; left: 32px; top: 4px; bottom: 4px; border-left: 1.5px dashed var(--border-strong); }
.arch-opt-link span { position: absolute; left: 44px; top: 50%; transform: translateY(-50%); font: 500 11px/1 var(--mono); color: var(--muted); }
.hosted { padding: 16px 18px; border-radius: 14px; border: 1px dashed var(--border-strong); }
.hosted h3 { font-size: 15px; margin-bottom: 6px; }
.hosted p { font-size: 13.5px; color: var(--muted); margin: 0; }
.note { max-width: 720px; margin: 28px 0 0; font-size: 14.5px; color: var(--muted); }

@media (max-width: 1020px) {
  .arch { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .srcs { grid-template-columns: 1fr 1fr; }
  .src { flex-direction: column; gap: 2px; }
  .src span { text-align: left; }
  .arch-link { height: 56px; }
  .srcs::after, .src::after { display: none; }
  .arch-sources + .arch-link::before { left: 50%; }
  .arch-link::before { left: 50%; right: auto; top: 6px; bottom: 14px; border-top: 0; border-left: 2px solid var(--accent); }
  .arch-link::after { left: 50%; right: auto; top: auto; bottom: 4px; transform: translateX(-50%); border: 6px solid transparent; border-top: 9px solid var(--accent); border-bottom: 0; }
  .arch-link span { left: calc(50% + 14px); right: auto; bottom: auto; top: 50%; transform: translateY(-50%); margin: 0; text-align: left; }
}

.plans { display: grid; gap: 20px; }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.plan-team { border-color: var(--accent-line); box-shadow: 0 0 0 1px var(--accent-line), var(--shadow-md); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.plan-head h3 { font-size: 20px; }
.checks { display: grid; gap: 10px; margin-bottom: 24px; }
.checks li { position: relative; padding-left: 26px; color: var(--text-2); font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 3px; top: .38em; width: 6px; height: 10px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan-foot { margin: auto 0 0; padding-top: 20px; border-top: 1px solid var(--border); }
.soon-link { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; }

.install-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .install-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.install-copy h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); letter-spacing: -0.035em; margin-bottom: 16px; }
.install-copy p { color: var(--text-2); }
.install-copy strong { color: var(--text); }
.term { border-radius: 14px; overflow: hidden; background: #0c0c0e; border: 1px solid #26262a; box-shadow: var(--shadow-lg); color: #e4e4e7; }
.term-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; background: #151518; border-bottom: 1px solid #26262a; color: #9a9aa3; font-size: 12.5px; }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a40; }
.term-bar > span:first-of-type { margin-left: 8px; flex: 1; }
.term .tag-warn { background: #1d1d21; border-color: #3a3a40; color: #c9c9cf; }
.term pre { margin: 0; padding: 22px 18px; overflow-x: auto; font-size: 14px; line-height: 1.5; }
.term .prompt { color: #7d93ff; user-select: none; margin-right: 6px; }
.term figcaption { padding: 12px 18px 16px; border-top: 1px solid #1f1f23; font-size: 13px; color: #9a9aa3; }

.signup { display: grid; gap: 28px; margin-top: 72px; padding: 32px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-md); }
@media (min-width: 900px) { .signup { grid-template-columns: .9fr 1.1fr; gap: 48px; padding: 40px; } }
@media (max-width: 640px) { .signup { padding: 22px 18px; margin-top: 56px; } }
.signup h2 { font-size: 24px; margin-bottom: 10px; letter-spacing: -0.03em; }
.signup-copy p { color: var(--text-2); margin: 0; }
.signup-form { display: grid; gap: 14px; }
@media (min-width: 560px) { .signup-form { grid-template-columns: 1fr 1fr; } .signup-form .btn, .signup-form .status { grid-column: 1 / -1; } }
.signup-form .btn { justify-self: start; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--text); }
.opt { color: var(--muted); font-weight: 400; }
.field input {
  height: 42px; padding: 0 12px; width: 100%;
  border: 1px solid var(--border-strong); border-radius: 9px;
  background: var(--bg); color: var(--text); font: 400 15px/1 var(--sans);
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: var(--muted); opacity: .8; }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--muted); }
.status[data-kind="ok"] { color: var(--accent-text); }
.status[data-kind="error"] { color: var(--danger); }

.exit-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.exit { padding: 22px; border: 1px dashed var(--border-strong); border-radius: 14px; background: var(--surface); }
.exit-main { border: 1px solid var(--accent); background: var(--accent-soft); }
.exit-k { font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 12px; }
.exit-main .exit-k { color: var(--accent-text); }
.exit h3 { font-size: 17px; margin-bottom: 8px; }
.exit p:last-child { margin: 0; font-size: 14.5px; color: var(--text-2); }
.trust { margin-top: 40px; padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-alt); }
.trust h3 { font-size: 20px; margin-bottom: 16px; }
.trust ul { display: grid; gap: 12px; }
@media (min-width: 900px) { .trust ul { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.trust li { font-size: 14.5px; color: var(--text-2); }
.trust b { color: var(--text); font-weight: 600; }

.demo-frame { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-md); padding: 20px; }
@media (max-width: 640px) { .demo-frame { padding: 10px; border-radius: 14px; } }
.warden-demo > img { display: block; width: 100%; height: auto; }

.footer { padding: 48px 0 56px; background: var(--bg); }
.footer-row { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-row { grid-template-columns: 1fr auto; align-items: start; } }
.brand-foot { margin-bottom: 12px; }
.footer p { font-size: 14px; margin: 0 0 6px; }
.footer-src { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-fine { color: var(--muted); }
@media (min-width: 760px) { .footer-fine { text-align: right; } }

.notfound { min-height: 100vh; display: grid; place-content: center; justify-items: start; gap: 8px; padding: 32px var(--gutter); max-width: 640px; margin: 0 auto; }
.notfound h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); letter-spacing: -0.035em; margin-bottom: 20px; }

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hero { padding: 48px 0 64px; }
  .topbar-row { gap: 12px; }
}

@media (prefers-reduced-motion: no-preference) {
  .pill-dot { animation: pulse 2.4s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 12%, transparent); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .navlinks a, .field input { transition: none; }
}
@media (max-width: 640px) { .term pre { white-space: pre-wrap; word-break: break-all; font-size: 13px; } }
