@font-face { font-family: "Geist"; src: url("geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
/* taste-skill-ignore: Geist Mono is used only inside real code blocks (pre/code) */
@font-face { font-family: "Geist Mono"; src: url("geist-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #F6F7F9;
  --white: #FFFFFF;
  --tone: #ECEFF3;
  --tone-2: #E1E6ED;
  --wire: #C6CFDB;
  --ink: #0D1B2E;
  --ink-2: #3E4B60;
  --allow: #1D57D8;
  --allow-strong: #1546B4;
  --allow-soft: #E4ECFC;
  --hold: #9A5B00;
  --hold-mark: #D98A0B;
  --hold-soft: #FBF0DC;
  --block: #B42318;
  --block-soft: #FBE7E4;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-reveal: 800ms;
  --gutter: 32px;
  --size-hero: clamp(36px, 5.6vw, 84px);
  --size-h2: clamp(28px, 3.9vw, 56px);
  --size-h3: clamp(22px, 1.9vw, 27px);
  --size-body: 18px;
  --size-small: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Geist", system-ui, sans-serif; font-size: var(--size-body); line-height: 1.55;
  font-feature-settings: "ss01", "tnum" 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
code, pre { font-family: "Geist Mono", ui-monospace, monospace; }

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

h1, h2 { font-weight: 600; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
h1 { font-size: var(--size-hero); }
h2 { font-size: var(--size-h2); line-height: 1.02; }
h3 { font-size: var(--size-h3); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }

/* bar */
.bar { position: sticky; top: 0; z-index: 10; background: var(--paper); }
.bar-in { display: flex; align-items: center; gap: 40px; height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; }
.bar-links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; }
.bar-links a { text-decoration-line: underline; }

.button {
  display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px;
  background: var(--allow); color: #fff; font-weight: 550; font-size: 18px; text-decoration: none; border-radius: 0;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button:focus-visible, .link:focus-visible, .rule-pick button:focus-visible { outline: 3px solid var(--allow); outline-offset: 3px; }
.button-small { height: 40px; padding: 0 18px; font-size: 14px; }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.22em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
.link-strong { font-weight: 550; text-decoration-color: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--allow-strong); }
  .link:hover { text-decoration-color: currentColor; color: var(--allow); }
}

/* hero */
.hero { padding: 20px 0 0; }
.hero-head { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 56px; align-items: end; padding-bottom: 36px; }
.lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines [data-line] { display: block; }
.lede { font-size: 18px; line-height: 1.5; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }

/* the plane: a real interface fragment */
.plane { background: var(--white); position: relative; }
.plane-grid {
  position: relative; display: grid; align-items: center;
  grid-template-columns: minmax(190px, 240px) minmax(80px, 1fr) minmax(260px, 330px) minmax(80px, 1fr) minmax(190px, 240px);
  padding: 22px 36px 26px;
}
.plane-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.col { position: relative; display: flex; flex-direction: column; gap: 10px; }
.col-agents { grid-column: 1; }
.col-gate { grid-column: 3; }
.col-tools { grid-column: 5; gap: 10px; }
.col-name { font-size: 14px; color: var(--ink-2); margin-bottom: 2px; }
.node { /* taste-skill-ignore: diagram nodes inside data-ui */
  position: relative; background: var(--paper); border: 1px solid var(--tone-2); padding: 9px 14px; display: flex; flex-direction: column; gap: 1px;
  transition: border-color 300ms ease, background-color 300ms ease;
}
.node b { font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
.node span { font-size: 14px; color: var(--ink-2); }
.node.is-allow { border-color: var(--allow); background: var(--allow-soft); }
.node.is-hold { border-color: var(--hold-mark); background: var(--hold-soft); }
.node.is-block { border-color: var(--block); background: var(--block-soft); }
.node.is-src { border-color: var(--ink); }

.gate { background: var(--ink); color: #fff; padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 18px; min-height: 280px; }
.gate-top b { display: block; font-size: 22px; font-weight: 650; letter-spacing: -0.02em; }
.gate-top span { font-size: 14px; color: #A9B6CA; }
.gate-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.gate-stats div { background: #1A2A42; padding: 8px 10px; }
.gate-stats dt { font-size: 14px; color: #A9B6CA; }
.gate-stats dd { font-size: 14px; font-weight: 550; font-variant-numeric: tabular-nums; }
.gate-status { margin-top: auto; background: #16253B; padding: 12px 14px; min-height: 104px; border-left: 3px solid #5A6B85; transition: border-color 260ms ease, background-color 260ms ease; }
.gs-state { font-size: 14px; font-weight: 600; }
.gs-why { font-size: 14px; color: #C4CEDC; margin-top: 3px; line-height: 1.4; }
.gate-status.allow { border-left-color: #6E9BFF; }
.gate-status.allow .gs-state { color: #A9C3FF; }
.gate-status.hold { border-left-color: var(--hold-mark); background: #2A2717; }
.gate-status.hold .gs-state { color: #F4C46B; }
.gate-status.block { border-left-color: #F0695A; background: #2E1C22; }
.gate-status.block .gs-state { color: #FF9A8E; }
.gate-status.check .gs-state { color: #fff; }

.log { background: var(--tone); padding: 14px 36px 18px; }
.log-title { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.log-title span { font-weight: 400; color: var(--ink-2); margin-left: 8px; }
.log-rows { display: flex; flex-direction: column; gap: 2px; min-height: 186px; }
.log-row {
  display: grid; grid-template-columns: 78px 210px minmax(0, 1.3fr) 112px minmax(0, 1.6fr) 120px; gap: 16px; align-items: baseline;
  background: var(--white); padding: 8px 12px; font-size: 14px; font-variant-numeric: tabular-nums;
}
.log-row .l-time, .log-row .l-hash { color: var(--ink-2); }
.log-row .l-act { font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-row .l-why { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l-dec { font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.l-dec::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.l-dec.allow { color: var(--allow); }
.l-dec.hold { color: var(--hold); }
.l-dec.block { color: var(--block); }
@media (prefers-reduced-motion: no-preference) {
  .log-row.is-new { animation: row-in 600ms var(--ease-out) both; }
}
@keyframes row-in { from { opacity: 0; transform: translateY(-10px); } }

/* sprawl band */
.sprawl { background: var(--tone); margin-top: 160px; padding: 120px 0; }
.sprawl-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.sprawl-text > p { margin-top: 28px; max-width: 34em; }
.sprawl-list { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; max-width: 34em; }
.sprawl-list li { padding-left: 22px; position: relative; }
.sprawl-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 9px; height: 9px; background: var(--block); }
.sprawl-list b { font-weight: 600; }
.sprawl-code figcaption { font-size: var(--size-small); color: var(--ink-2); margin-bottom: 10px; }
.sprawl-code pre { margin: 0; background: var(--ink); color: #D7DFEA; padding: 26px 28px; font-size: 14px; line-height: 1.6; overflow-x: auto; }
.sprawl-code mark { background: #4A1F24; color: #FFB4A9; padding: 1px 2px; }

/* how */
.how { padding: 160px 0 40px; }
.how-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.how-head p { max-width: 32em; }
.steps { margin-top: 88px; display: flex; flex-direction: column; gap: 12px; }
.step { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; background: var(--white); padding: 44px 48px; }
.step-text p { margin-top: 14px; max-width: 32em; }
.step:nth-child(even) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); background: var(--tone); }
.step:nth-child(even) .step-text { order: 2; }
.step:nth-child(even) .code-light, .step:nth-child(even) .mini-rule { background: var(--white); }
.step-text .fine { font-size: 14px; color: var(--ink-2); }
.code-light { margin: 0; background: var(--paper); padding: 24px 26px; font-size: 14px; line-height: 1.6; color: var(--ink); overflow-x: auto; }
.grants { width: 100%; border-collapse: collapse; font-size: 14px; }
.grants th { text-align: left; font-weight: 500; color: var(--ink-2); font-size: 14px; padding: 0 12px 8px 0; border-bottom: 1px solid var(--tone-2); }
.grants td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--tone); vertical-align: top; }
.grants td:first-child { font-weight: 550; }
.mini-rule { background: var(--paper); padding: 24px 26px; }
.mr-text { font-size: 22px; font-weight: 550; letter-spacing: -0.015em; line-height: 1.3; }
.mr-modes { display: flex; gap: 0; margin-top: 18px; border: 1px solid /* taste-skill-ignore: segmented control inside data-ui fragment */ var(--tone-2); width: max-content; max-width: 100%; }
.mr-modes span { font-size: 14px; padding: 7px 14px; color: var(--ink-2); }
.mr-modes span + span { border-left: 1px solid var(--tone-2); } /* taste-skill-ignore: data-ui control */
.mr-modes .on { background: var(--ink); color: #fff; font-weight: 600; }
.mr-scope { font-size: 14px; color: var(--ink-2); margin-top: 14px; }
.chain { display: flex; flex-direction: column; gap: 2px; }
.chain li { display: grid; grid-template-columns: 70px minmax(0, 1fr) 96px; gap: 14px; background: var(--paper); padding: 11px 14px; font-size: 14px; font-variant-numeric: tabular-nums; }
.c-hash { font-weight: 600; color: var(--allow); }
.c-prev { color: var(--ink-2); text-align: right; }

/* rules */
.rules { padding: 160px 0; }
.rules-in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.rules-left > p { margin-top: 24px; max-width: 30em; }
.rule-pick { margin-top: 40px; display: flex; flex-direction: column; gap: 4px; }
.rule-pick button {
  font: inherit; text-align: left; cursor: pointer; color: var(--ink-2); background: transparent; border: 0;
  padding: 16px 20px; font-size: 22px; font-weight: 550; letter-spacing: -0.015em; line-height: 1.3;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.rule-pick button:active { transform: scale(0.985); }
.rule-pick button[aria-selected="true"] { background: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .rule-pick button[aria-selected="false"]:hover { background: var(--tone); color: var(--ink); } }
.rule-panel { background: var(--white); padding: 30px 32px; min-height: 520px; }
.rp-head { padding-bottom: 20px; border-bottom: 1px solid var(--tone-2); } /* taste-skill-ignore: data-ui panel */
.rp-rule { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.rp-mode { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.rp-checks { display: flex; flex-direction: column; }
.rp-checks li { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 6px 20px; padding: 18px 0; border-bottom: 1px solid var(--tone); } /* taste-skill-ignore: data-ui list rows */
.rc-call { font-size: 18px; font-weight: 550; }
.rc-call code { font-size: 14px; background: var(--tone); padding: 1px 5px; font-weight: 500; }
.rc-who { font-size: 14px; color: var(--ink-2); grid-column: 1; }
.rc-why { font-size: 14px; grid-column: 1 / -1; padding-left: 12px; border-left: 3px solid var(--tone-2); }
.rp-checks .l-dec { grid-column: 2; grid-row: 1; justify-self: end; font-size: 14px; }
.rp-checks li.allow .rc-why { border-left-color: var(--allow); }
.rp-checks li.hold .rc-why { border-left-color: var(--hold-mark); }
.rp-checks li.block .rc-why { border-left-color: var(--block); }
.rp-foot { font-size: 14px; color: var(--ink-2); margin-top: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .rp-checks li { animation: row-in 520ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
}

/* security */
.security { background: var(--tone); padding: 140px 0 150px; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.sec-head p { max-width: 30em; }
.sec-body { margin-top: 80px; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 72px; align-items: start; }
.leaver { background: var(--white); padding: 28px 30px; }
.leaver figcaption { font-size: 18px; font-weight: 600; margin-bottom: 18px; }
.lv-steps { display: flex; flex-direction: column; }
.lv-steps li { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 14px; padding: 12px 0 12px 18px; position: relative; font-size: 18px; font-variant-numeric: tabular-nums; }
.lv-steps li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--tone-2); }
.lv-steps li::after { content: ""; position: absolute; left: -3px; top: 19px; width: 8px; height: 8px; background: var(--ink); }
.lv-t { color: var(--ink-2); }
.lv-end { font-weight: 600; }
.lv-end::after { background: var(--block) !important; }
.proofs { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.proofs dt { font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.proofs dd { margin-top: 6px; font-size: 18px; line-height: 1.5; }

/* pricing */
.pricing { padding: 160px 0 140px; }
.pricing-in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.pr-text > p { margin-top: 24px; max-width: 30em; }
.pr-table table { width: 100%; border-collapse: collapse; font-size: 18px; background: var(--white); }
.pr-table th, .pr-table td { text-align: left; padding: 16px 20px; vertical-align: top; border-bottom: 1px solid var(--tone); }
.pr-table thead th { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; padding-top: 22px; }
.pr-table tbody th { font-weight: 500; color: var(--ink-2); font-size: 14px; width: 22%; }

/* footer */
.foot { background: var(--ink); color: #fff; padding: 80px 0 40px; overflow: hidden; }
.foot-mark { font-size: clamp(64px, 16.4vw, 240px); font-weight: 650; letter-spacing: -0.055em; line-height: 0.85; margin-left: -0.05em; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; margin-top: 48px; font-size: 18px; color: #C4CEDC; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 24px; }
.foot-row a { color: #fff; }

/* motion */
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 110ms + 120ms); }
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 200ms); }
  .js .plane { opacity: 0; transform: translateY(28px); animation: rise 1000ms var(--ease-out) 520ms forwards; }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal-list] > * { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms + 160ms); }
  .js [data-reveal-list].is-in > * { opacity: 1; transform: none; }
  .js [data-reveal-group] .step-text { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); }
  .js [data-reveal-group] .step-fig { opacity: 0; transform: translateY(28px) scale(0.985); transition: opacity 800ms var(--ease-out) 120ms, transform 1000ms var(--ease-out) 120ms; }
  .js [data-reveal-group].is-in .step-text, .js [data-reveal-group].is-in .step-fig { opacity: 1; transform: none; }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* tablet */
@media (max-width: 1100px) {
  .plane-grid { grid-template-columns: minmax(160px, 200px) minmax(40px, 1fr) minmax(220px, 270px) minmax(40px, 1fr) minmax(160px, 200px); padding: 28px 24px; }
  .log-row { grid-template-columns: 70px 170px minmax(0, 1fr) 100px minmax(0, 1fr); }
  .log-row .l-hash { display: none; }
  .step, .step:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .step:nth-child(even) .step-text { order: 0; }
  .hero-head, .how-head, .sec-head, .rules-in, .pricing-in, .sec-body, .sprawl-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rule-panel { min-height: 0; }
}

/* phone */
@media (max-width: 760px) {
  :root { --gutter: 16px; --size-body: 17px; }
  .bar-links { display: none; }
  .bar-in { justify-content: space-between; height: 60px; }
  .hero { padding-top: 28px; }
  .hero-head { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-bottom: 32px; }
  .lede { font-size: 17.5px; }
  .plane-grid { grid-template-columns: 1fr; gap: 56px; padding: 20px 16px 24px; }
  .col-agents, .col-gate, .col-tools { grid-column: 1; }
  .col-agents, .col-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .col-name { grid-column: 1 / -1; }
  .node { padding: 9px 10px; }
  .node b { font-size: 14px; }
  .node span { font-size: 12px; }
  .gate { min-height: 0; padding: 16px; gap: 14px; }
  .gate-status { min-height: 92px; }
  .log { padding: 14px 12px 16px; }
  .log-title span { display: block; margin: 2px 0 0; }
  .log-rows { min-height: 280px; }
  .log-row { grid-template-columns: auto 1fr; gap: 2px 10px; font-size: 13px; }
  .log-row .l-time { grid-column: 1; }
  .log-row .l-who { grid-column: 2; }
  .log-row .l-act { grid-column: 1 / -1; }
  .log-row .l-dec { grid-column: 1; }
  .log-row .l-why { grid-column: 2; }
  .sprawl { margin-top: 96px; padding: 80px 0; }
  .sprawl-in, .how-head, .rules-in, .sec-head, .sec-body, .pricing-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sprawl-code pre, .code-light { white-space: pre-wrap; overflow-wrap: anywhere; }
  .sprawl-code pre { font-size: 12px; padding: 18px; }
  .how { padding-top: 104px; }
  .steps { margin-top: 48px; }
  .step { padding: 28px 18px; }
  .code-light { font-size: 13px; padding: 18px; }
  .grants { font-size: 13px; }
  .grants th:nth-child(4), .grants td:nth-child(4) { display: none; }
  .chain li { grid-template-columns: 60px 1fr; font-size: 13px; }
  .c-prev { display: none; }
  .rules { padding: 104px 0; }
  .rule-pick button { font-size: 18px; padding: 14px 16px; }
  .rule-panel { padding: 22px 18px; min-height: 0; }
  .rp-rule { font-size: 21px; }
  .rp-checks li { grid-template-columns: 1fr auto; }
  .security { padding: 96px 0; }
  .proofs { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sec-body { margin-top: 44px; }
  .leaver { padding: 22px 18px; }
  .lv-steps li { grid-template-columns: 1fr; gap: 0; font-size: 15px; }
  .pricing { padding: 104px 0 96px; }
  .pr-table th, .pr-table td { padding: 12px 10px; font-size: 14px; }
  .pr-table thead th { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 1ms !important; }
}
