:root {
  --paper:#f2f3ec;
  --soft:#e9ede5;
  --ink:#23382f;
  --muted:#637168;
  --line:#d4dcd1;
  --green:#28795d;
  --green-dark:#1a5843;
  --mint:#e3eee2;
  --sans:Inter,system-ui,sans-serif;
  --heading:'Space Grotesk',system-ui,sans-serif
}
body {
  background:var(--paper)
}
h1,h2,h3,.brand {
  font-family:var(--heading);
  font-weight:500;
  letter-spacing:-.055em
}
.wrap {
  width:min(1360px,100%);
  padding-inline:56px
}
.nav {
  background:rgba(242,243,236,.92)
}
.hero {
  padding:74px 0 0;
  text-align:left;
  overflow:hidden
}
.hero-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:24px;
  min-height:580px
}
.hero h1 {
  font-size:clamp(44px,4.8vw,74px);
  line-height:1.04;
  margin:0 0 28px;
  max-width:650px;
  font-weight:500
}
.hero h1 span {
  color:var(--green)
}
.hero .sub {
  margin:0 0 30px;
  max-width:43ch;
  font-size:17px;
  line-height:1.8
}
.hero .eyebrow {
  font-size:10px;
  letter-spacing:.12em;
  margin-bottom:28px
}
.hero-actions {
  justify-content:flex-start
}
.btn {
  border-radius:8px;
  min-height:48px
}
.btn-ghost,.btn-light {
  background:transparent
}
.fine {
  font-size:11px
}
.status-dot {
  display:inline-block;
  width:6px;
  height:6px;
  background:#328467;
  border-radius:100%;
  margin-right:8px;
  box-shadow:0 0 0 4px #32846714
}
.hero-system {
  min-width:0;
  position:relative
}
.hero-system svg {
  width:100%;
  display:block;
  overflow:visible;
  --spread:55
}
.hero-system .sheet {
  animation:float-layer 6s ease-in-out infinite;
  animation-delay:calc(var(--offset)*.4s)
}
@keyframes float-layer {
  50% {
    transform:translateY(calc(var(--base)*1px + var(--offset)*62px))
  }
}
.system-caption {
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.08em;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px
}
.motion-toggle {
  border:0;
  background:transparent;
  text-decoration:underline;
  text-underline-offset:4px;
  color:var(--muted);
  font-size:10px;
  margin-left:20px
}
.motion-paused .hero-system .sheet,.motion-paused .packet {
  animation-play-state:paused
}
.with {
  padding:44px 0;
  border-top:1px solid var(--line);
  margin-top:34px
}
.integrations span {
  font-family:var(--heading);
  font-size:16px;
  font-weight:500
}
.coverage-rows {
  margin-top:24px
}
.stats {
  background:transparent;
  border-block:1px solid var(--line)
}
.stats-in {
  padding-block:32px
}
.stat b {
  font-family:var(--heading);
  font-weight:500
}
.block {
  padding:96px 0
}
.card {
  background:transparent;
  border-radius:12px
}
.panel,.price,.honest {
  border-radius:12px
}
.product-stage {
  margin-top:0
}
.activity-section {
  padding:10px 0 85px
}
.product-window {
  background:#f9faf5;
  box-shadow:0 24px 70px #2748320d;
  border-radius:14px;
  border-color:var(--line)
}
.preview-sidebar {
  background:#e9ede5
}
.preview-main {
  background:#f8faf5
}
.preview-caption {
  font-size:12px
}
.system-story {
  padding:110px 0 0;
  border-top:1px solid var(--line);
  background:radial-gradient(ellipse at 22% 45%,#dceadd66,transparent 55%)
}
.story-intro {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:20px 70px
}
.story-intro .eyebrow {
  grid-column:1/-1
}
.story-intro h2 {
  font-size:clamp(36px,4.3vw,60px);
  font-weight:500
}
.story-intro h2 span {
  color:var(--green)
}
.story-intro .sub {
  align-self:end;
  font-size:16px;
  max-width:42ch
}
.story-layout {
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:80px;
  position:relative
}
.stack-sticky {
  position:sticky;
  top:100px;
  height:calc(100vh - 130px);
  max-height:790px;
  min-height:520px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-self:start
}
.stack-visual {
  min-height:0
}
.stack-visual svg {
  width:100%;
  max-height:65vh;
  display:block;
  overflow:visible;
  --spread:0
}
.stack-navigation {
  display:flex;
  justify-content:center;
  gap:8px
}
.stack-navigation button {
  border:1px solid var(--line);
  border-radius:6px;
  background:transparent;
  color:var(--muted);
  padding:10px 12px;
  font-size:11px;
  white-space:nowrap
}
.stack-navigation button span {
  font-family:var(--mono);
  font-size:9px;
  opacity:.65;
  margin-right:4px
}
.stack-navigation button[aria-pressed=true] {
  color:#fff;
  background:var(--green);
  border-color:var(--green)
}
.stack-note {
  text-align:center;
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.15em;
  margin-top:24px;
  color:var(--muted)
}
.stack-note span {
  margin-left:16px
}
.story-chapter {
  min-height:78vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  scroll-margin-top:150px;
  border-bottom:1px solid var(--line);
  padding:65px 0
}
.story-chapter:last-child {
  border:0
}
.story-chapter h3 {
  font-size:clamp(30px,3.2vw,44px);
  max-width:12ch;
  margin-bottom:24px;
  font-weight:500
}
.story-chapter p {
  font-size:16px;
  color:var(--muted);
  line-height:1.85;
  max-width:39ch
}
.story-link {
  align-self:flex-start;
  margin-top:28px;
  color:var(--green);
  font-size:13px;
  text-decoration:none;
  border-bottom:1px solid #28795d44;
  padding-bottom:6px
}
.story-link span {
  margin-left:16px
}
.head h2 {
  font-weight:500
}
.cta {
  background:#e3eade
}
.price.featured {
  background:#e4eee1
}
.footer {
  background:#e9ede5
}
@media(min-width:1000px) {
  .story-chapter:first-child {
    padding-top:95px
  }
}
@media(max-width:1000px) {
  .wrap {
    padding-inline:30px
  }
  .hero-grid {
    gap:0;
    min-height:470px
  }
  .hero h1 {
    font-size:50px
  }
  .hero .eyebrow {
    font-size:8px
  }
  .story-layout {
    gap:30px
  }
  .stack-navigation {
    gap:4px
  }
  .stack-navigation button {
    padding:9px 7px;
    font-size:10px
  }
  .stack-navigation button span {
    display:none
  }
  .story-intro {
    gap:25px
  }
  .system-caption {
    font-size:8px
  }
  .motion-toggle {
    margin-left:4px
  }
}
@media(max-width:700px) {
  .wrap {
    padding-inline:22px
  }
  .hero {
    padding-top:52px
  }
  .hero-grid {
    grid-template-columns:1fr
  }
  .hero h1 {
    font-size:clamp(42px,9vw,60px)
  }
  .hero .eyebrow {
    font-size:9px
  }
  .hero .sub {
    font-size:16px
  }
  .hero h1 br {
    display:block
  }
  .hero h1 span {
    display:inline
  }
  .hero-actions {
    flex-direction:row
  }
  .hero-actions .btn {
    width:auto;
    font-size:12px;
    padding-inline:17px
  }
  .hero-system {
    max-width:470px;
    width:100%;
    margin:8px auto 0
  }
  .system-caption {
    font-size:8px
  }
  .with {
    margin-top:36px;
    padding:32px 0
  }
  .integrations {
    gap:12px 22px
  }
  .integrations span {
    font-size:14px
  }
  .block {
    padding:70px 0
  }
  .system-story {
    padding-top:70px
  }
  .story-intro {
    display:block
  }
  .story-intro h2 {
    font-size:39px;
    margin-bottom:20px
  }
  .story-intro .sub {
    font-size:15px
  }
  .story-layout {
    display:block;
    padding-top:15px
  }
  .stack-sticky {
    top:68px;
    height:340px;
    min-height:0;
    max-height:none;
    background:linear-gradient(var(--paper) 92%,#f2f3ec00);
    z-index:2;
    justify-content:flex-start;
    padding-top:8px
  }
  .stack-visual {
    width:100%;
    height:270px
  }
  .stack-visual svg {
    height:100%;
    width:100%;
    max-height:none
  }
  .stack-navigation {
    gap:8px
  }
  .stack-navigation button {
    padding:8px 12px;
    font-size:10px
  }
  .stack-note {
    display:none
  }
  .story-chapter {
    min-height:65vh;
    padding:45px 10px;
    scroll-margin-top:410px
  }
  .story-chapter h3 {
    font-size:33px;
    max-width:20ch
  }
  .story-chapter p {
    font-size:15px
  }
  .activity-section {
    padding-bottom:30px
  }
  .preview-caption {
    gap:12px
  }
  .system-story .eyebrow {
    font-size:10px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  .hero-system .sheet,.packet {
    animation:none!important
  }
  .sheet {
    transition:none!important
  }
  .stack-visual svg {
    --spread:55!important
  }
}
/* The system is a small, explorable machine: requests, gates and evidence. */
.hero-system .sheet { animation: none; }
.hero-system > svg { max-height: 550px; --spread: 55; }
.hero-grid { align-items: center; gap: 36px; }
.security-machine .sheet { opacity: 1; }
.security-machine .module { transition: filter .2s; }
.security-machine .module:hover { filter: drop-shadow(0 3px 5px #34765133); }
.hero-system[data-flow="0"] .layer-3 .module-top,
.hero-system[data-flow="1"] .layer-2 .module-top,
.hero-system[data-flow="2"] .layer-2 .module-top,
.hero-system[data-flow="3"] .layer-1 .module-top,
.hero-system[data-flow="3"] .layer-0 .module-top { fill: #bcdfb6; stroke: #3c8660; stroke-width: 1.6; }
.hero-system[data-verdict="BLOCK"] .bridge-block { stroke-width: 3; }
.hero-system[data-verdict="ALLOW"] .bridge-block { opacity: .15; }
.hero-system[data-verdict="BLOCK"][data-flow="2"] .layer-2 .module-top { fill: #eed4b9; stroke: #b16e45; }
.scenario-explorer { margin: -7px 20px 0; border-top: 1px solid var(--line); padding-top: 16px; }
.scenario-heading { display:flex; align-items:center; font-family:var(--mono); font-size:9px; letter-spacing:.08em; color:var(--green); margin-bottom:14px; }
.scenario-heading > span:last-child { margin-left:auto; font-family:var(--sans); font-size:9px; letter-spacing:0; color:var(--muted); }
.scenario-options { display:flex; gap:7px; margin-bottom:13px; }
.scenario-options button { flex:1; border:1px solid var(--line); background:transparent; border-radius:6px; padding:9px 5px; font-size:10px; color:var(--muted); transition:background .2s,border-color .2s; }
.scenario-options button[aria-pressed="true"] { background:#dce9d8; border-color:#729d7b; color:#24533a; }
.request-readout { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 12px; border:1px solid var(--line); border-radius:6px; background:#edf1e6; }
.request-readout code { font-size:11px; overflow-wrap:anywhere; }
.request-readout > span { font-family:var(--mono); font-size:9px; letter-spacing:.08em; border:1px solid #9cbca3; border-radius:4px; color:#39744f; padding:3px 7px; }
.request-readout > .verdict-block { color:#a45d32; border-color:#d4ab85; background:#f0e3cf; }
.request-progress { display:flex; align-items:center; gap:7px; margin-top:14px; }
.request-progress span { color:var(--muted); font-family:var(--mono); font-size:9px; white-space:nowrap; }
.request-progress .flow-current { color:var(--green); font-weight:600; }
.request-progress .flow-done { color:#408356; }
.request-progress i { flex:1; height:1px; background:var(--line); position:relative; }
.request-progress i::after { content:''; position:absolute; right:0; top:-2px; width:5px; height:5px; border-right:1px solid #91ac91; border-top:1px solid #91ac91; transform:rotate(45deg); }
.scenario-reason { font-size:11px; color:var(--muted); line-height:1.65; min-height:37px; margin-top:11px; }
.scenario-explorer .system-caption { justify-content:space-between; margin-top:8px; }
.replay-request { background:transparent; border:0; padding:0; color:var(--green); font-size:10px; text-underline-offset:4px; }
.component-inspector { border-top:1px solid var(--line); margin:15px 24px 0; padding-top:13px; min-height:90px; }
.inspector-kicker { display:block; font-family:var(--mono); font-size:8px; color:var(--muted); letter-spacing:.08em; }
.component-inspector strong { display:block; margin:5px 0; font-family:var(--heading); font-weight:500; font-size:16px; }
.component-inspector p { font-size:11px; line-height:1.65; color:var(--muted); max-width:50ch; }
.stack-note { margin-top:12px; }
.stack-visual svg { max-height:55vh; }
.stack-sticky { min-height:580px; }
.module-callout { position:absolute; z-index:3; top:55px; left:10px; width:245px; padding:18px; background:#f2f5e9f5; backdrop-filter:blur(12px); border:1px solid #9fbaa2; border-radius:10px; box-shadow:0 12px 30px #28442b15; }
.module-callout[hidden] { display:none; }
.module-callout strong { font-family:var(--heading); font-weight:500; font-size:16px; display:block; padding-right:15px; }
.module-callout p { font-size:11px; line-height:1.7; color:var(--muted); margin-top:8px; }
.module-callout button { position:absolute; right:10px; top:10px; border:0; background:transparent; color:var(--muted); font-size:18px; }
.motion-paused .security-machine * { animation-play-state:paused!important; }
@media(max-width:1000px) { .scenario-explorer { margin-inline:0; } .scenario-heading > span:last-child { font-size:8px; } .hero-grid { gap:12px; } .scenario-options button { font-size:9px; } .component-inspector { margin-inline:5px; } }
@media(max-width:700px) { .hero-system { max-width:540px; margin-top:18px; } .hero-system > svg { max-height:440px; } .scenario-explorer { margin-top:-4px; } .scenario-options button { font-size:10px; padding:10px 5px; } .hero-grid { gap:8px; } .scenario-heading { font-size:8px; } .stack-sticky { height:400px; min-height:0; } .stack-visual { height:255px; } .stack-visual svg { max-height:none; } .component-inspector { min-height:95px; padding:10px 12px 0; margin-top:10px; } .component-inspector p { font-size:10px; line-height:1.55; } .component-inspector strong { font-size:14px; margin:3px 0; } .inspector-kicker { font-size:7px; } .story-chapter { scroll-margin-top:470px; } .story-chapter h3 { font-size:30px; } .module-callout { top:20px; width:210px; padding:16px; } }
@media(prefers-reduced-motion:reduce) { .security-machine * { animation:none!important; transition:none!important; } }
.scenario-mode { display:flex; align-items:center; gap:5px; margin:0 0 10px; }
.scenario-mode > span { font-family:var(--mono); font-size:8px; color:var(--muted); letter-spacing:.08em; margin-right:auto; }
.scenario-mode button { border:1px solid transparent; background:transparent; color:var(--muted); font-size:9px; border-radius:4px; padding:4px 8px; }
.scenario-mode button[aria-pressed="true"] { border-color:#9cbca3; color:var(--green); background:#e2ecd9; }
.request-readout > .verdict-audit { color:#92722c; border-color:#cabc87; background:#eeead1; }
.hero-system[data-verdict="AUDIT"] .bridge-block { opacity:.25; }
.chapter-evidence { margin:25px 0 0; max-width:420px; padding:18px 20px; border:1px solid var(--line); border-radius:8px; background:#e8eee033; }
.evidence-label { font-family:var(--mono); font-size:8px; letter-spacing:.1em; color:var(--muted); display:block; margin-bottom:14px; }
.chapter-evidence > code { display:block; font-size:13px; margin-top:15px; color:var(--green); }
.chapter-evidence > p { font-size:10px; line-height:1.6; margin-top:12px; }
.request-source,.evidence-chain,.hash-chain { display:flex; align-items:center; gap:10px; font-size:11px; }
.request-source i,.evidence-chain i,.hash-chain i { font-style:normal; color:#729877; }
.request-source span,.evidence-chain span { padding:6px 8px; border:1px solid #cbd7c7; border-radius:4px; background:#e6eddd; }
.decision-sample { display:flex; align-items:center; gap:15px; padding:9px 0; border-bottom:1px solid var(--line); }
.decision-sample code { font-size:11px; }
.decision-sample span { font-size:8px; font-family:var(--mono); min-width:48px; }
.sample-allow { color:#42835b; }.sample-block { color:#b5764b; }
.hash-chain { font-family:var(--mono); margin-top:18px; font-size:9px; }
.framework-tags { display:flex; gap:7px; margin-top:16px; }
.framework-tags span { font-family:var(--mono); font-size:8px; padding:4px 7px; border:1px solid var(--line); border-radius:4px; }
@media(max-width:700px) { .chapter-evidence { margin-top:20px; padding:16px; } .evidence-chain { gap:5px; font-size:9px; } .evidence-chain span { padding:5px; } .story-chapter { min-height:85vh; } }
.machine-hint { text-align:center; font-size:10px; color:var(--green); margin:-30px 0 20px; }
.machine-hint span { margin-left:8px; }
@media(max-width:700px) { .machine-hint { margin:-22px 0 18px; font-size:9px; } }
/* Each scroll chapter brings one complete system layer into focus. */
.layer-focus-heading { display:flex; flex-direction:column; gap:5px; margin:0 24px 16px; }
.layer-focus-heading > span:first-child { font:9px var(--mono); letter-spacing:.12em; color:var(--green); }
.layer-focus-heading strong { font:500 27px var(--heading); letter-spacing:-.04em; }
.focus-hint { font-size:10px; color:var(--muted); }
.stack-visual .security-machine .sheet { transition:transform .7s cubic-bezier(.2,.7,.2,1),opacity .45s; pointer-events:none; }
.stack-visual .security-machine .sheet.layer-focused { pointer-events:auto; }
.stack-visual .machine-connections { display:none; }
.stack-visual > svg > g[transform="translate(700 440)"],
.stack-visual > svg > g[transform="translate(636 95)"],
.stack-visual > svg > g[transform="translate(12 610)"] { display:none; }
.stack-visual svg { max-height:39vh; }
.stack-navigation button { font-size:10px; padding:9px 10px; }
.story-chapter { min-height:90vh; }
@media(max-width:700px) {
  .layer-focus-heading { margin:0 12px 2px; gap:2px; }
  .layer-focus-heading strong { font-size:21px; }
  .layer-focus-heading > span:first-child { font-size:8px; }
  .focus-hint { display:none; }
  .stack-sticky { height:385px; }
  .stack-visual { height:195px; }
  .stack-visual svg { max-height:none; }
  .stack-navigation { gap:5px; }
  .stack-navigation button { font-size:9px; padding:7px 8px; }
  .component-inspector { min-height:90px; }
  .story-chapter { scroll-margin-top:450px; min-height:90vh; }
}
@media(prefers-reduced-motion:reduce) { .stack-visual .security-machine .sheet { transition:none!important; } }
.stack-visual svg { overflow:hidden; }
/* The focused view already names its layer above the illustration. */
.stack-visual .machine-label { display: none; }
