:root {
  color-scheme: light;
  --paper: #f5f7fb;
  --paper-2: #eef2f7;
  --white: #ffffff;
  --ink: #101828;
  --muted: #667085;
  --line: #e1e6ee;
  --cobalt: #315efb;
  --cobalt-dark: #2447c6;
  --green: #19724c;
  --red: #a93226;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --max: 1120px;
  --hero-size: clamp(2.75rem, 5vw, 4.5rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--cobalt); }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(49,94,251,.45); outline-offset: 3px; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip { position: absolute; top: -5rem; left: 1rem; z-index: 100; padding: .65rem 1rem; background: var(--ink); color: #fff; }
.skip:focus { top: 1rem; }
header, .site-head { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); }
.nav { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 800; letter-spacing: -.025em; text-decoration: none; }
.brand em { color: var(--cobalt); font-style: normal; }
.mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--cobalt); color: #fff; font-size: .78rem; box-shadow: 0 5px 14px rgba(49,94,251,.22); }
.nav-links, .foot-links { display: flex; align-items: center; gap: 22px; font-size: .86rem; font-weight: 650; }
.nav-links a, .foot-links a { text-decoration: none; }
.nav-links .active { color: var(--cobalt); }
.nav-cta, .button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 15px; border: 1px solid var(--cobalt); border-radius: 8px; background: var(--cobalt); color: #fff; font-weight: 750; text-decoration: none; box-shadow: 0 4px 12px rgba(49,94,251,.17); }
.nav-cta:hover, .button:hover { background: var(--cobalt-dark); color: #fff; }
.button.secondary { border-color: var(--line); background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.button.secondary:hover { border-color: #c8d0dc; background: #f8fafc; color: var(--ink); }
.hero { padding: clamp(64px,8vw,92px) 0 54px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(280px,.72fr); gap: clamp(34px,6vw,72px); align-items: end; }
.kicker, .eyebrow, .section-no, .mini-label, .number, .label, .step-no { color: var(--cobalt-dark); font: 700 .74rem var(--sans); letter-spacing: .03em; }
h1 { max-width: 850px; margin: 12px 0 20px; font: 780 var(--hero-size)/1 var(--sans); letter-spacing: -.055em; }
.hero-copy, .lede { max-width: 680px; margin: 0; color: var(--muted); font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.product { padding: 0 0 72px; }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 12px; }
.product-top p { margin: 0; color: var(--muted); font-size: .82rem; }
.app { overflow: hidden; border: 1px solid #cfd7e3; border-radius: 13px; background: #fff; box-shadow: 0 18px 46px rgba(16,24,40,.12); }
.app-bar { min-height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 12px; border-bottom: 1px solid #27364d; background: #101828; color: #d7deea; font: 650 .65rem var(--sans); }
.window-dot { width: 7px; height: 7px; border-radius: 50%; background: #536176; }
.path { margin-left: auto; color: #8592a7; font: .58rem var(--mono); }
.app-body { min-height: 500px; display: grid; grid-template-columns: 160px minmax(0,1fr); }
.rail { min-width: 0; padding: 16px 12px; background: #101828; color: #aeb9ca; }
.rail-title { display: flex; justify-content: space-between; margin: 0 7px 8px; }
.rail .mini-label { color: #7f8da4; }
.project-list, .rail-nav { display: grid; gap: 3px; }
.project-row { min-width: 0; display: grid; grid-template-columns: 7px minmax(0,1fr) auto; gap: 8px; align-items: center; min-height: 34px; padding: 6px 8px; border-radius: 6px; font-size: .72rem; }
.project-row.active { background: #24324a; color: #fff; }
.project-dot { width: 6px; height: 6px; border-radius: 50%; background: #637188; }
.project-row.active .project-dot { background: #6e91ff; }
.project-count { font: .62rem var(--mono); opacity: .7; }
.rail-rule { margin: 14px 7px; border: 0; border-top: 1px solid #27364d; }
.rail-nav span { padding: 7px 8px; border-radius: 6px; font-size: .72rem; }
.rail-nav .on { background: #24324a; color: #fff; }
.board-pane { min-width: 0; padding: 16px; overflow: hidden; background: #f5f7fb; }
.board-head, .task-top, .task-foot, .column-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.board-head { margin-bottom: 10px; }
.board-head h2 { margin: 2px 0 0; font-size: 1.05rem; letter-spacing: -.025em; }
.board-tools { display: flex; gap: 5px; }
.tool { padding: 5px 7px; border: 1px solid #d6dde7; border-radius: 6px; background: #fff; font-size: .58rem; font-weight: 750; }
.preview-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-bottom: 9px; }
.preview-metrics div { padding: 8px 9px; border: 1px solid #e0e4eb; border-radius: 7px; background: #fff; }
.preview-metrics strong, .preview-metrics span { display: block; }
.preview-metrics strong { font-size: 1rem; line-height: 1; }
.preview-metrics span { margin-top: 3px; color: var(--muted); font-size: .57rem; }
.columns { display: grid; grid-template-columns: repeat(3,minmax(190px,1fr)); gap: 8px; }
.column { min-width: 0; padding: 8px; border: 1px solid #e0e4eb; border-radius: 8px; background: #edf0f5; }
.column-head { margin-bottom: 7px; color: #48566a; font-size: .64rem; font-weight: 800; }
.cards { display: grid; gap: 6px; }
.task { min-width: 0; padding: 9px; border: 1px solid #e0e4eb; border-radius: 7px; background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.task h3 { margin: 7px 0 16px; font-size: .75rem; line-height: 1.25; }
.task-id, .holder, .evidence { color: var(--muted); font: 650 .55rem var(--mono); }
.priority { padding: 2px 5px; border-radius: 999px; background: #fff0ee; color: var(--red); font-size: .51rem; font-weight: 750; }
.priority.medium { background: #fff5e5; color: #99610f; }
.evidence { color: var(--green); }.evidence.wait { color: #95600e; }
.manifesto, .statement { display: grid; grid-template-columns: minmax(220px,.7fr) minmax(0,1.3fr); gap: clamp(34px,6vw,72px); padding: 72px 0; border-top: 1px solid var(--line); }
.manifesto h2, .capabilities h2, .section-head h2, .boundary h2, .cta h2, .close h2 { margin: 8px 0 0; font-size: clamp(2rem,4vw,3.25rem); line-height: 1.02; letter-spacing: -.045em; }
.principles, .flow { display: grid; gap: 8px; }
.principle, .state { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.03); }
.principle strong, .state strong { font-size: 1rem; }
.principle p, .state p { margin: 5px 0 0; color: var(--muted); font-size: .88rem; }
.state { grid-template-columns: 28px 150px minmax(0,1fr); align-items: baseline; }
.state p { margin: 0; }
.state.gate { border-color: #d6b166; }.state.human { border-color: #8fbda8; }
.capabilities, .block, .deploy, .reference { padding: 72px 0; border-top: 1px solid var(--line); }
.cap-head, .section-head { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(260px,.75fr); gap: 40px; align-items: end; margin-bottom: 24px; }
.cap-head p, .section-head p { margin: 0; color: var(--muted); }
.cap-grid, .feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.cap, .feature, .deploy article, .check { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.03); }
.cap h3, .feature h3, .deploy h3 { margin: 28px 0 7px; font-size: 1.15rem; letter-spacing: -.02em; }
.cap p, .feature p, .deploy p, .check p { margin: 0; color: var(--muted); font-size: .9rem; }
.install, .boundary { padding: 64px 0; background: #101828; color: #fff; }
.install-grid, .boundary .shell { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.9fr); gap: 48px; align-items: center; }
.install h2 { margin: 8px 0 12px; font-size: clamp(2rem,4vw,3.2rem); line-height: 1.02; letter-spacing: -.04em; }
.install p, .boundary p { color: #b7c0cf; }
.terminal, .contract { position: relative; overflow-x: auto; padding: 18px; border: 1px solid #435169; border-radius: 9px; background: #071122; color: #dfe5ee; box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.terminal pre { margin: 0; font: .73rem/1.8 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.prompt, .yes { color: #7ba2ff; }.comment { color: #8390a3; }.no { color: #ffb4ab; }
.close, .cta { padding: 72px 0; text-align: center; }
.close h2, .cta h2 { max-width: 760px; margin-inline: auto; }
.close .hero-actions { justify-content: center; }
.model, .deploy-grid, .checks { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.model article { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.model h3 { margin: 22px 0 7px; }.model p { color: var(--muted); }.model code, .command code { color: var(--cobalt-dark); font: 650 .75rem var(--mono); overflow-wrap: anywhere; }
.contract-row { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid #364256; font: .7rem var(--mono); }
.contract-row:last-child { border: 0; }
.deploy-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.note { margin-top: 16px; padding: 14px 16px; border-left: 4px solid var(--cobalt); border-radius: 0 8px 8px 0; background: #eef2f7; color: var(--muted); font-size: .9rem; }
.steps { padding-bottom: 20px; }
.step { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 38px; margin-bottom: 10px; padding: 26px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(16,24,40,.04); }
.step-side h2 { margin: 8px 0 0; font-size: 1.65rem; line-height: 1.05; letter-spacing: -.03em; }
.step-main > p:first-child { margin-top: 0; }
.copy { position: absolute; top: 9px; right: 9px; min-width: 44px; min-height: 36px; border: 1px solid #59667a; border-radius: 6px; background: #13213a; color: #c8d0dd; font-size: .65rem; cursor: pointer; }
.copy.copied { color: #9ddbbf; border-color: #4d9573; }
.checks { margin-top: 12px; }
.check { padding: 15px; }.check strong { display: block; margin: 16px 0 5px; }
.reference h2 { margin: 8px 0 22px; font-size: 2rem; }
.command { display: grid; grid-template-columns: minmax(230px,.7fr) 1fr; gap: 24px; align-items: baseline; margin-bottom: 7px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.command span { color: var(--muted); font-size: .9rem; }
.legacy { padding: 0 0 64px; }.legacy-box { padding: 26px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }.legacy h2 { margin: 8px 0; font-size: 1.6rem; }
footer { border-top: 1px solid var(--line); background: #fff; }
.foot { min-height: 80px; display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: .82rem; }
.foot-links { margin-left: auto; }
@media (max-width: 900px) {
  .hero-grid, .manifesto, .statement, .cap-head, .section-head, .install-grid, .boundary .shell { grid-template-columns: minmax(0,1fr); }
  .app-body { grid-template-columns: 130px minmax(620px,1fr); overflow-x: auto; }
  .cap-grid, .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .step { grid-template-columns: 150px minmax(0,1fr); }
}
@media (max-width: 650px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 58px; }.nav-links { gap: 10px; }.nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 52px 0 42px; } h1 { font-size: clamp(2.65rem,13vw,3.75rem); }
  .product { padding-bottom: 56px; }.product-top { align-items: flex-start; flex-direction: column; gap: 5px; }
  .app { overflow-x: auto; }.app-bar, .app-body { min-width: 760px; }
  .manifesto, .statement, .capabilities, .block, .deploy, .reference, .close, .cta { padding-block: 54px; }
  .state { grid-template-columns: 26px minmax(0,1fr); }.state p { grid-column: 2; }
  .cap-grid, .feature-grid, .model, .deploy-grid, .checks { grid-template-columns: minmax(0,1fr); }
  .step { grid-template-columns: minmax(0,1fr); gap: 18px; padding: 20px 16px; }
  .command { grid-template-columns: minmax(0,1fr); gap: 5px; }
  .foot { align-items: flex-start; flex-direction: column; padding: 24px 0; }.foot-links { margin: 0; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
