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

:root {
  --paper: #f3efe5;
  --paper-2: #e8e1d3;
  --ink: #141411;
  --muted: #68655d;
  --line: #c8c0b2;
  --signal: #ff5837;
  --signal-deep: #c93419;
  --blue: #4359ef;
  --acid: #d8f75b;
  --white: #fffdf7;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { color: inherit; font: inherit; }
::selection { background: var(--acid); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-160%); padding: 10px 14px; background: var(--ink); color: var(--white); font: 500 11px/1 var(--mono); text-decoration: none; }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); }
.nav-shell { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; overflow: visible; }
.brand-mark path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark circle { fill: var(--paper); stroke: currentColor; stroke-width: 2; }
.nav-links { display: flex; gap: 32px; }
.nav-links a, .nav-source { color: var(--muted); font: 500 11px/1 var(--mono); text-decoration: none; }
.nav-links a:hover, .nav-source:hover { color: var(--ink); }
.nav-source { justify-self: end; padding-bottom: 4px; border-bottom: 1px solid; }

.kicker, .section-label { margin: 0; font: 500 10px/1.2 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.section-label { color: var(--signal-deep); }
.kicker { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.kicker span { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--signal) 16%, transparent); }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 36px; padding: 0 21px; border: 1px solid var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--signal); }
.button-dark { background: var(--ink); color: var(--white); }
.button-light { border-color: var(--white); background: var(--white); color: var(--ink); }
.text-link { font-size: 13px; font-weight: 600; text-underline-offset: 5px; }

.hero { padding: clamp(72px, 8vh, 112px) 0 94px; }
.hero-shell { display: grid; grid-template-columns: minmax(0, .93fr) minmax(470px, 1.07fr); gap: clamp(68px, 7vw, 112px); align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { margin: 24px 0 28px; font-size: clamp(72px, 7.4vw, 104px); font-weight: 600; letter-spacing: -.08em; line-height: .88; }
.hero h1 span { color: var(--signal); }
.hero-lede { max-width: 590px; margin: 0; color: var(--muted); font-size: clamp(17px, 1.7vw, 20px); letter-spacing: -.025em; line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 36px; }

.hero-machine { position: relative; min-width: 0; border: 1px solid var(--ink); background: var(--ink); box-shadow: 18px 18px 0 var(--signal); color: var(--white); }
.hero-machine::before { position: absolute; z-index: -1; inset: -34px 34px 34px -34px; border: 1px solid var(--line); content: ""; }
.machine-top { display: grid; grid-template-columns: auto 1fr auto; min-height: 44px; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid #35352f; color: #97958c; font: 400 9px/1 var(--mono); }
.machine-top strong { color: var(--white); font-weight: 400; }
.machine-light { width: 6px; height: 6px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px #d8f75b15; animation: pulse 2.4s infinite ease-in-out; }
.machine-command { display: flex; min-height: 72px; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid #35352f; background: #1a1a16; font: 400 10px/1.4 var(--mono); }
.machine-command span { color: var(--signal); }
.machine-command code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.machine-core { position: relative; display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; min-height: 240px; padding: 24px 20px; overflow: hidden; }
.machine-core::before { position: absolute; inset: 50% 20px auto; border-top: 1px solid #55534c; content: ""; }
.wire { position: relative; z-index: 1; height: 36px; background: var(--ink); color: #8b8981; font: 400 8px/1 var(--mono); }
.wire span { position: absolute; top: 24px; white-space: nowrap; }
.wire-in { border-top: 1px solid var(--signal); }
.wire-in span { left: 0; }
.wire-out { border-top: 1px solid var(--acid); }
.wire-out span { right: 0; }
.wire i { position: absolute; top: -4px; width: 8px; height: 8px; border-radius: 50%; }
.wire-in i { left: 0; background: var(--signal); animation: travel-right 2.3s infinite ease-in-out; }
.wire-out i { left: 0; background: var(--acid); animation: travel-right 2.3s .8s infinite ease-in-out; }
.gith-gate { position: relative; z-index: 2; display: grid; width: 120px; height: 120px; place-items: center; border: 1px solid var(--blue); background: #20285f; }
.gith-gate > span { position: absolute; top: 10px; left: 12px; color: #929be8; font: 500 9px/1 var(--mono); }
.gith-gate svg { width: 66px; height: 66px; }
.gith-gate svg circle { fill: none; stroke: #7888ff; stroke-width: 1; }
.gith-gate svg path { stroke: var(--white); stroke-width: 1.5; }
.gith-gate strong { position: absolute; right: 8px; bottom: 8px; padding: 5px 7px; background: var(--acid); color: var(--ink); font: 500 8px/1 var(--mono); text-transform: uppercase; }
.machine-base { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #35352f; }
.machine-base > div { display: flex; min-width: 0; min-height: 68px; flex-direction: column; justify-content: center; gap: 6px; padding: 0 13px; border-right: 1px solid #35352f; }
.machine-base > div:last-child { border-right: 0; }
.machine-base small { color: #737169; font: 400 8px/1 var(--mono); }
.machine-base strong { overflow: hidden; font: 400 8px/1.2 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.hero-foot { grid-column: 1 / -1; display: grid; grid-template-columns: .7fr .7fr .8fr 1.8fr; margin-top: 50px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.hero-foot > div { display: flex; min-width: 0; min-height: 82px; flex-direction: column; justify-content: center; gap: 4px; padding: 0 17px; border-right: 1px solid var(--line); }
.hero-foot strong { font-size: 11px; }
.hero-foot div > span { color: var(--muted); font: 400 8px/1 var(--mono); text-transform: uppercase; }
.setup-line { position: relative; flex-direction: row !important; align-items: center; justify-content: space-between !important; background: var(--white); }
.setup-line code { min-width: 0; overflow: hidden; font: 400 9px/1.4 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.setup-line code span { color: var(--signal); }
.setup-line button, .code-head button { flex: none; padding: 6px 0; border: 0; border-bottom: 1px solid; background: transparent; cursor: pointer; font: 500 8px/1 var(--mono); text-transform: uppercase; }

.mechanism { position: relative; padding: 142px 0 110px; overflow: hidden; background: var(--ink); color: var(--white); }
.mechanism::before { position: absolute; top: 0; right: -180px; width: 520px; height: 520px; border: 1px solid #31312c; border-radius: 50%; box-shadow: 0 0 0 56px var(--ink), 0 0 0 57px #31312c, 0 0 0 113px var(--ink), 0 0 0 114px #31312c; content: ""; }
.mechanism-intro { position: relative; z-index: 1; display: grid; grid-template-columns: 150px 1.2fr .8fr; gap: 44px; align-items: start; }
.mechanism .section-label { color: var(--acid); }
.mechanism h2, .policy-heading h2 { margin: 0; font-size: clamp(54px, 6vw, 79px); font-weight: 600; letter-spacing: -.07em; line-height: .96; }
.mechanism h2 span { color: var(--signal); }
.mechanism-intro > p:last-child { max-width: 450px; margin: 8px 0 0; color: #a7a59d; font-size: 16px; line-height: 1.7; }
.path-stage { position: relative; display: grid; grid-template-columns: 1fr 118px 270px 118px 1fr; align-items: center; min-height: 460px; margin-top: 88px; border-top: 1px solid #393934; border-bottom: 1px solid #393934; }
.path-origin, .path-destination { display: flex; min-width: 0; flex-direction: column; }
.path-origin strong, .path-destination strong { margin: 13px 0 4px; font-size: clamp(36px, 4vw, 52px); font-weight: 550; letter-spacing: -.06em; }
.path-destination { text-align: right; }
.path-caption { color: #7d7b73; font: 400 9px/1 var(--mono); text-transform: uppercase; }
.path-origin code, .path-destination code { color: #a9a79f; font: 400 10px/1 var(--mono); }
.path-line { position: relative; height: 1px; background: #4b4a44; }
.path-line > span { position: absolute; top: 14px; color: #737169; font: 400 7px/1 var(--mono); white-space: nowrap; }
.path-line-a > span { left: 0; }
.path-line-b > span { right: 0; }
.path-line i { position: absolute; top: -4px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); animation: travel-right 2.6s infinite ease-in-out; }
.path-line-b i { background: var(--acid); animation-delay: 1s; }
.boundary { position: relative; display: flex; min-height: 330px; flex-direction: column; justify-content: space-between; padding: 25px; border: 1px solid var(--blue); background: #1d2458; box-shadow: 13px 13px 0 #0b0b09, 14px 14px 0 #3f4fc0; }
.boundary-index { color: #7f89df; font: 400 8px/1 var(--mono); }
.boundary-word { color: var(--white); font-size: clamp(48px, 5vw, 67px); font-weight: 650; letter-spacing: -.08em; line-height: 1; writing-mode: vertical-rl; transform: rotate(180deg); }
.boundary ol { margin: 0; padding: 0; border-top: 1px solid #4853a3; list-style: none; }
.boundary li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid #394589; color: #c7c9df; font: 400 8px/1 var(--mono); }
.boundary li span { color: #727dcc; }
.policy-feed, .audit-feed { position: absolute; left: 50%; display: flex; width: 250px; align-items: center; gap: 10px; color: #a4a29a; font: 400 9px/1.35 var(--mono); }
.policy-feed { top: 20px; transform: translateX(-125px); }
.audit-feed { bottom: 20px; transform: translateX(-125px); }
.policy-feed i, .audit-feed i { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px #4359ef18; }
.audit-feed i { background: var(--signal); box-shadow: 0 0 0 5px #ff583718; }
.policy-feed span, .audit-feed span { display: flex; flex-direction: column; }
.policy-feed small, .audit-feed small { color: #65635c; font: inherit; }
.absence-line { display: grid; grid-template-columns: .65fr repeat(4, 1fr); margin-top: 48px; color: #77756e; font: 400 9px/1.35 var(--mono); }
.absence-line s { color: #8e8c84; text-decoration-color: var(--signal); text-decoration-thickness: 1px; }

.policy-section { padding: 142px 0 124px; background: var(--white); }
.policy-heading { display: grid; grid-template-columns: 150px 1.2fr .8fr; gap: 44px; align-items: start; }
.policy-heading h2 { color: var(--ink); }
.policy-heading > p:last-child { max-width: 450px; margin: 7px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.policy-heading code { color: var(--blue); font: 400 14px/1 var(--mono); }
.policy-workbench { display: grid; grid-template-columns: 1.3fr .7fr; margin-top: 80px; border: 1px solid var(--ink); }
.code-window { min-width: 0; border-right: 1px solid var(--ink); background: #fbf8f0; }
.code-head { display: flex; min-height: 50px; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--ink); font: 500 9px/1 var(--mono); }
.code-head span { display: flex; align-items: center; gap: 9px; }
.code-head i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.code-window pre { min-height: 390px; margin: 0; overflow-x: auto; padding: 31px 24px; font: 400 clamp(10px, 1vw, 12px)/1.85 var(--mono); }
.code-window code { display: block; width: max-content; min-width: 100%; }
.line-no { display: inline-block; width: 38px; color: #aaa69e; user-select: none; }
.comment { color: #868279; }
.keyword { color: var(--blue); }
.allow { padding: 1px 4px; background: var(--acid); }
.deny { padding: 1px 4px; background: var(--signal); }
.code-result { display: flex; min-height: 54px; align-items: center; justify-content: space-between; padding: 0 18px; border-top: 1px solid var(--ink); font: 400 9px/1 var(--mono); }
.code-result strong { color: var(--signal-deep); font-weight: 500; text-transform: uppercase; }
.capability-field { background: var(--paper-2); }
.capability-head { display: flex; min-height: 50px; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--ink); color: var(--muted); font: 500 9px/1 var(--mono); text-transform: uppercase; }
.capability-head strong { color: var(--blue); font-size: 18px; }
.capability-field ol { margin: 0; padding: 0; list-style: none; }
.capability-field li { display: grid; grid-template-columns: 30px 1fr auto; min-height: 74px; align-items: center; gap: 8px; padding: 0 17px; border-bottom: 1px solid var(--line); }
.capability-field li:last-child { border-bottom: 0; }
.capability-field li > span { color: var(--signal-deep); font: 400 8px/1 var(--mono); }
.capability-field li strong { font: 500 10px/1.3 var(--mono); }
.capability-field li small { color: var(--muted); font: 400 8px/1.3 var(--mono); text-align: right; }
.commit-line { display: grid; grid-template-columns: auto 1fr 80px 1fr 80px 1fr; align-items: center; margin-top: 42px; }
.commit-node { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 50%; background: var(--blue); color: var(--white); font: 500 9px/1 var(--mono); }
.commit-line > div { display: flex; flex-direction: column; gap: 4px; padding-left: 12px; }
.commit-line strong { font-size: 10px; }
.commit-line small { color: var(--muted); font: 400 8px/1 var(--mono); }
.commit-line > i { height: 1px; background: var(--line); }

.assurance { padding: 128px 0; background: var(--signal); }
.assurance-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(68px, 9vw, 130px); }
.assurance .section-label { color: var(--ink); }
.assurance h2 { max-width: 670px; margin: 22px 0 0; font-size: clamp(40px, 5vw, 66px); font-weight: 600; letter-spacing: -.065em; line-height: 1.02; }
.assurance h2 em { color: var(--white); font-style: normal; }
.audit-console { border: 1px solid var(--ink); background: var(--ink); box-shadow: 16px 16px 0 var(--signal-deep); color: var(--white); font: 400 8px/1 var(--mono); }
.audit-head { display: flex; min-height: 43px; align-items: center; justify-content: space-between; padding: 0 14px; border-bottom: 1px solid #383832; color: #96948c; }
.audit-head span:last-child { display: flex; align-items: center; gap: 7px; }
.audit-head i { width: 6px; height: 6px; border-radius: 50%; background: var(--acid); }
.audit-request { display: grid; grid-template-columns: 1fr auto; gap: 7px; padding: 15px; border-bottom: 1px solid #383832; }
.audit-request span { color: #7d7b73; }
.audit-request strong { color: var(--blue); font-weight: 400; }
.audit-request small { grid-column: 1 / -1; color: #b1afa7; font: inherit; }
.audit-event { display: grid; grid-template-columns: 84px 1fr auto; gap: 12px; padding: 14px; border-bottom: 1px solid #30302b; }
.audit-event span { color: #6f6d66; }
.audit-event strong { font-weight: 400; }
.audit-event i { color: var(--acid); font-style: normal; }
.audit-close { display: grid; grid-template-columns: 1fr auto 1fr auto; min-height: 73px; align-items: center; gap: 12px; padding: 0 14px; background: #1b1b17; color: #8e8c84; }
.audit-close b { color: var(--signal); font-weight: 400; }
.audit-close strong { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: var(--acid); color: var(--ink); font-size: 12px; }

.closing { padding: 0 0 100px; background: var(--ink); color: var(--white); }
.agent-note { display: grid; grid-template-columns: 150px 1.1fr .9fr; gap: 44px; align-items: start; padding-top: 54px; padding-bottom: 54px; border-bottom: 1px solid #3c3c36; }
.agent-note .section-label { color: var(--acid); }
.agent-note p:nth-child(2) { max-width: 580px; margin: -5px 0 0; color: #a6a49c; font-size: 15px; line-height: 1.7; }
.agent-note p strong { color: var(--white); font-weight: 600; }
.agent-note > span { justify-self: end; color: var(--signal); font-size: clamp(24px, 3vw, 38px); font-weight: 600; letter-spacing: -.05em; line-height: 1.08; }
.closing-main { padding-top: 108px; text-align: center; }
.closing-main .section-label { color: #75736c; }
.closing-main h2 { display: flex; align-items: center; justify-content: center; gap: clamp(17px, 3vw, 42px); margin: 35px 0 0; font-size: clamp(25px, 4vw, 48px); font-weight: 600; letter-spacing: -.055em; }
.closing-main h2 span:nth-of-type(2) { color: var(--signal); }
.closing-main h2 b { color: #55534d; font-family: var(--mono); font-size: .65em; font-weight: 400; }
.closing-main > p:nth-of-type(2) { margin: 24px 0 0; color: #85837b; font: 400 10px/1 var(--mono); }
.closing-actions { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 46px; }
.closing-actions > a:last-child { color: #aaa89f; font-size: 12px; text-underline-offset: 5px; }

.site-footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: .55fr 1fr auto; align-items: center; gap: 44px; }
.footer-grid p { margin: 0; color: var(--muted); font-size: 11px; }
.footer-grid nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.footer-grid nav a { color: var(--muted); font: 400 9px/1 var(--mono); text-decoration: none; }
.footer-grid nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

@keyframes pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes travel-right { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }

@media (max-width: 980px) {
  .hero { min-height: 0; }
  .hero-shell { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 740px; }
  .hero-machine { width: min(680px, calc(100% - 20px)); margin: 20px 0 0 18px; }
  .hero-foot { grid-template-columns: repeat(3, 1fr); }
  .setup-line { grid-column: 1 / -1; }
  .mechanism-intro, .policy-heading, .agent-note { grid-template-columns: 110px 1fr; }
  .mechanism-intro > p:last-child, .policy-heading > p:last-child, .agent-note > span { grid-column: 2; justify-self: start; }
  .path-stage { grid-template-columns: 1fr 70px 220px 70px 1fr; }
  .policy-workbench { grid-template-columns: 1fr; }
  .code-window { border-right: 0; border-bottom: 1px solid var(--ink); }
  .capability-field ol { display: grid; grid-template-columns: 1fr 1fr; }
  .capability-field li:nth-child(odd) { border-right: 1px solid var(--line); }
  .assurance-grid { grid-template-columns: 1fr; }
  .audit-console { width: min(650px, calc(100% - 18px)); }
  .footer-grid { grid-template-columns: auto 1fr; }
  .footer-grid nav { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 34px); }
  .nav-shell { grid-template-columns: 1fr auto; min-height: 66px; }
  .nav-links { display: none; }
  .hero { padding-top: 64px; }
  .hero h1 { font-size: clamp(56px, 16vw, 78px); }
  .hero-machine { width: calc(100% - 10px); margin-left: 5px; box-shadow: 10px 10px 0 var(--signal); }
  .hero-machine::before { inset: -15px 15px 15px -15px; }
  .machine-top { font-size: 7px; }
  .machine-command { font-size: 8px; }
  .machine-core { grid-template-columns: 1fr 90px 1fr; min-height: 190px; padding-inline: 12px; }
  .gith-gate { width: 90px; height: 90px; }
  .gith-gate svg { width: 52px; height: 52px; }
  .wire span { display: none; }
  .machine-base { grid-template-columns: 1fr; }
  .machine-base > div { min-height: 48px; border-right: 0; border-bottom: 1px solid #35352f; }
  .machine-base > div:last-child { border-bottom: 0; }
  .hero-foot { grid-template-columns: 1fr; margin-top: 74px; }
  .hero-foot > div { min-height: 65px; }
  .mechanism, .policy-section, .assurance { padding-top: 96px; padding-bottom: 90px; }
  .mechanism-intro, .policy-heading, .agent-note { grid-template-columns: 1fr; gap: 24px; }
  .mechanism-intro > p:last-child, .policy-heading > p:last-child, .agent-note > span { grid-column: auto; }
  .mechanism h2, .policy-heading h2 { font-size: clamp(44px, 13vw, 62px); }
  .path-stage { display: grid; grid-template-columns: 1fr; gap: 0; min-height: 0; padding: 46px 0; }
  .path-origin, .path-destination { text-align: left; }
  .path-line { width: 1px; height: 52px; margin-left: 32px; }
  .path-line i { top: 0; left: -4px; animation: travel-down 2.6s infinite ease-in-out; }
  .path-line > span { top: 20px; left: 14px; }
  .boundary { width: min(270px, 80%); min-height: 300px; margin-left: 32px; }
  .path-destination { margin-top: 34px; }
  .policy-feed, .audit-feed { display: none; }
  .absence-line { grid-template-columns: 1fr 1fr; gap: 18px; }
  .absence-line span { grid-column: 1 / -1; }
  .policy-workbench { margin-top: 54px; }
  .code-window pre { min-height: 0; padding: 24px 14px; font-size: 8.5px; }
  .line-no { width: 28px; }
  .capability-field ol { grid-template-columns: 1fr; }
  .capability-field li:nth-child(odd) { border-right: 0; }
  .commit-line { grid-template-columns: auto 1fr; gap: 0; }
  .commit-line > i { grid-column: 1; width: 1px; height: 28px; margin-left: 25px; }
  .commit-line > div { padding-left: 14px; }
  .assurance h2 { font-size: clamp(38px, 11vw, 54px); }
  .agent-note > span { margin-top: 12px; }
  .closing { padding-bottom: 80px; }
  .closing-main { padding-top: 80px; }
  .closing-main h2 { align-items: flex-start; flex-direction: column; gap: 10px; }
  .closing-main h2 b { display: none; }
  .closing-actions { align-items: stretch; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid nav { grid-column: auto; justify-content: flex-start; }
}

@media (max-width: 460px) {
  .shell { width: calc(100% - 28px); }
  .nav-source { display: none; }
  .hero h1 { font-size: clamp(48px, 15vw, 67px); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .button { width: 100%; }
  .machine-top span:last-child { display: none; }
  .machine-top { grid-template-columns: auto 1fr; }
  .machine-core { grid-template-columns: 1fr 82px 1fr; }
  .gith-gate { width: 82px; height: 82px; }
  .code-result { gap: 10px; font-size: 7px; }
  .capability-field li { grid-template-columns: 28px 1fr; }
  .capability-field li small { grid-column: 2; margin-top: -18px; text-align: left; }
  .audit-console { width: calc(100% - 10px); box-shadow: 10px 10px 0 var(--signal-deep); }
  .audit-event { grid-template-columns: 70px 1fr auto; gap: 7px; padding-inline: 10px; }
  .audit-close { font-size: 7px; }
}

@keyframes travel-down { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% - 8px); opacity: 0; } }

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