@font-face { font-family: "TFB Sans"; src: local("Avenir Next"); font-display: swap; }

:root {
  --ink: #0d0e0c;
  --ink-2: #171914;
  --paper: #f3f0e5;
  --paper-2: #e8e3d3;
  --yellow: #f8d547;
  --yellow-soft: #fff2a6;
  --green: #7bdda7;
  --red: #f06b59;
  --muted: #6e7068;
  --line: rgba(13, 14, 12, .16);
  --line-dark: rgba(243, 240, 229, .16);
  --sans: "TFB Sans", "Avenir Next", "Helvetica Neue", sans-serif;
  --serif: "Iowan Old Style", "Baskerville", Georgia, serif;
  --mono: "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
button, textarea, input { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible, textarea:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
button:disabled { cursor: not-allowed; opacity: .38; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 100; left: 14px; top: -80px; padding: 12px 16px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 14px; }

.site-header { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px clamp(22px, 5vw, 76px); border-bottom: 1px solid var(--line); }
.runtime-truth { min-height: 38px; display: grid; grid-template-columns: 1.3fr repeat(3, auto); align-items: center; gap: 22px; padding: 8px clamp(22px, 5vw, 76px); border-bottom: 1px solid var(--ink); background: var(--yellow); color: var(--ink); font: 850 8px/1.4 var(--mono); letter-spacing: .07em; }
.runtime-truth b { white-space: nowrap; }
.brand { display: flex; align-items: center; gap: 16px; color: inherit; text-decoration: none; }
.brand img { width: 105px; height: 36px; object-fit: contain; object-position: left center; filter: contrast(1.1); }
.brand-divider { width: 1px; height: 28px; background: var(--line); }
.product-name { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: -.01em; }
.product-name i { color: #9b7d00; font-style: normal; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.engine-state { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 700 9px/1 var(--mono); letter-spacing: .08em; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(123, 221, 167, .13); }
.text-button { padding: 9px 0; border: 0; border-bottom: 1px solid var(--ink); background: none; color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 750; }

.hero { min-height: calc(100vh - 170px); max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: clamp(40px, 8vw, 140px); padding: clamp(54px, 7vw, 96px) clamp(24px, 7vw, 110px) clamp(46px, 6vw, 82px); }
.hero-copy { max-width: 900px; }
.eyebrow { margin: 0 0 20px; color: #846a00; font: 850 10px/1.4 var(--mono); letter-spacing: .16em; }
.hero h1 { max-width: 940px; margin: 0; font-family: var(--serif); font-size: clamp(58px, 8.4vw, 132px); font-weight: 500; line-height: .82; letter-spacing: -.065em; }
.hero h1 em { color: transparent; -webkit-text-stroke: 1.5px var(--ink); font-style: normal; }
.hero-lede { max-width: 630px; margin: 30px 0 0; color: #4d4f48; font-size: clamp(18px, 2vw, 25px); line-height: 1.45; letter-spacing: -.02em; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.primary-button, .secondary-button { min-height: 54px; padding: 0 22px; border: 1px solid var(--ink); cursor: pointer; font-weight: 800; }
.primary-button { min-width: 235px; display: flex; align-items: center; justify-content: space-between; background: var(--ink); color: var(--paper); box-shadow: 6px 6px 0 var(--yellow); }
.primary-button:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--yellow); }
.secondary-button { background: transparent; color: var(--ink); }
.secondary-button:hover { background: var(--paper-2); }
.hero-mark { position: relative; width: 240px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; transform: rotate(7deg); }
.hero-mark::before, .hero-mark::after { content: ""; position: absolute; inset: 18px; border: 1px solid var(--line); border-radius: 50%; }
.hero-mark::after { inset: 52px; }
.hero-mark span { z-index: 1; font-family: var(--serif); font-size: 62px; letter-spacing: -.08em; }
.hero-mark b { position: absolute; top: 30px; right: 38px; color: #8b7100; font: 900 11px var(--mono); }
.hero-mark small { position: absolute; bottom: 29px; left: 43px; font: 850 8px/1.3 var(--mono); letter-spacing: .1em; }

.demo-section { padding: clamp(80px, 10vw, 150px) clamp(18px, 5vw, 76px); background: var(--ink); color: var(--paper); }
.section-intro { max-width: 1160px; margin: 0 auto 48px; }
.section-intro h2 { max-width: 960px; margin: 0; font-family: var(--serif); font-size: clamp(52px, 7vw, 104px); font-weight: 500; line-height: .91; letter-spacing: -.055em; }
.section-intro > p:last-child { max-width: 660px; margin: 24px 0 0; color: #abaea4; font-size: 17px; line-height: 1.6; }
.section-intro.compact { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(260px, .56fr); column-gap: 70px; align-items: end; }
.section-intro.compact .eyebrow { grid-column: 1 / -1; }
.section-intro.compact h2 { font-size: clamp(46px, 5.8vw, 84px); }
.section-intro.compact > p:last-child { margin: 0 0 6px; }
.section-intro.inverse { color: var(--paper); }

.session-window { max-width: 1160px; margin: 0 auto; overflow: hidden; border: 1px solid #4a4d44; border-radius: 18px; background: #12140f; box-shadow: 0 42px 100px rgba(0,0,0,.35); }
.window-bar { min-height: 52px; display: grid; grid-template-columns: 100px 1fr 100px; align-items: center; padding: 0 18px; border-bottom: 1px solid var(--line-dark); color: #898d83; font: 750 9px var(--mono); letter-spacing: .08em; text-align: center; }
.window-bar button { border: 0; background: none; color: var(--yellow); cursor: pointer; font: 800 9px var(--mono); }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 9px; height: 9px; border-radius: 50%; background: #45483f; }
.window-dots i:first-child { background: var(--red); }.window-dots i:nth-child(2) { background: var(--yellow); }.window-dots i:last-child { background: var(--green); }
.system-alert { min-height: 54px; display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 10px; padding: 9px clamp(16px, 4vw, 42px); border-bottom: 1px solid var(--line-dark); color: #c2c5ba; font: 700 10px/1.4 var(--mono); }
.system-alert.is-error { background: rgba(240, 107, 89, .09); color: #ffc0b5; }
.system-alert.is-guided { background: rgba(248, 213, 71, .07); }
.alert-icon { color: var(--green); }
.is-error .alert-icon { color: var(--red); }
.mode-badge { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid var(--line-dark); color: var(--green); }
.mode-badge small { color: #787c72; }

.conversation { padding: 14px 0; }
.turn { max-width: 850px; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding: 26px clamp(18px, 5vw, 62px); }
.turn + .turn { border-top: 1px solid rgba(243, 240, 229, .08); }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; font: 900 9px var(--mono); }
.avatar-dev { background: #ece7d7; color: var(--ink); }.avatar-tool { border: 1px solid var(--red); color: var(--red); }.avatar-tfb { background: var(--yellow); color: var(--ink); }
.turn-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 11px; color: #85897f; font: 750 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.turn-meta b { color: var(--paper); }
.message > p { margin: 0; color: #dadcd4; font-size: 16px; line-height: 1.6; }
.tool-message { padding: 16px; border: 1px solid rgba(240, 107, 89, .35); border-radius: 12px; background: rgba(240, 107, 89, .06); }
.tool-message code { display: block; margin-bottom: 12px; color: #ffc0b5; font: 650 12px/1.65 var(--mono); overflow-wrap: anywhere; }
.tool-message p { color: #a9ada3; font-size: 13px; }
.danger-tag { color: var(--red); }

.proposal-card { overflow: hidden; margin-top: 18px; border: 1px solid #5a5e53; border-radius: 14px; background: #181a15; }
.proposal-head { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 16px; border-bottom: 1px solid var(--line-dark); color: var(--yellow); font: 850 9px var(--mono); letter-spacing: .08em; }
.proposal-head .wound { color: var(--red); }
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.scope-grid div { min-width: 0; padding: 14px 16px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.scope-grid div:nth-child(even), .scope-grid .wide { border-right: 0; }
.scope-grid .wide { grid-column: 1 / -1; }
.scope-grid dt { color: #7f8379; font: 800 8px var(--mono); letter-spacing: .1em; }
.scope-grid dd { margin: 6px 0 0; color: #e4e6df; font: 650 11px/1.5 var(--mono); overflow-wrap: anywhere; }
.risk-box { margin: 14px; padding: 14px; border: 1px solid rgba(240, 107, 89, .35); color: #b7bbb0; font-size: 11px; }
.risk-box > b { color: var(--red); font: 800 8px var(--mono); letter-spacing: .1em; }.risk-box ul { margin: 8px 0 0; padding-left: 18px; }
.model-receipt { margin: 0 14px 14px; display: grid; grid-template-columns: 1fr 1.2fr 1fr; border: 1px solid var(--line-dark); }
.model-receipt > div { min-width: 0; padding: 12px; border-right: 1px solid var(--line-dark); }.model-receipt > div:nth-child(3) { border-right: 0; }.model-receipt span { display: block; color: #7f8379; font: 800 8px var(--mono); }.model-receipt b { display: block; margin-top: 6px; overflow: hidden; color: var(--paper); font: 750 9px/1.4 var(--mono); text-overflow: ellipsis; }.model-receipt p { grid-column: 1 / -1; margin: 0; padding: 10px 12px; border-top: 1px solid var(--line-dark); color: #9ca096; font: 650 9px/1.5 var(--mono); }
.decision-row { display: grid; grid-template-columns: .42fr 1fr; gap: 8px; padding: 0 14px 14px; }
.deny-action, .approve-action, .primary-action, .replay-action, .hostile-action, .stress-action, .secondary-action { min-height: 48px; border: 0; cursor: pointer; font: 900 10px var(--mono); letter-spacing: .07em; }
.deny-action { border: 1px solid var(--red); background: transparent; color: var(--red); }.deny-action:hover { background: var(--red); color: var(--ink); }
.approve-action, .primary-action, .stress-action { background: var(--yellow); color: var(--ink); }.approve-action:hover, .primary-action:hover, .stress-action:hover { background: var(--yellow-soft); }
.decision-response { margin-top: 15px; padding: 16px; display: grid; grid-template-columns: 30px 1fr; gap: 12px; border: 1px solid var(--red); border-radius: 12px; background: rgba(240, 107, 89, .08); }
.decision-response.is-approved { border-color: var(--green); background: rgba(123, 221, 167, .07); }
.decision-response > span { color: var(--red); font: 900 28px var(--mono); }.decision-response.is-approved > span { color: var(--green); }
.decision-response b { font-size: 14px; }.decision-response p { margin: 5px 0 0; color: #bfc2b9; font-size: 12px; line-height: 1.5; }
.grant-card { margin-top: 15px; padding: 16px; border: 1px solid var(--green); border-radius: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.grant-top { grid-column: 1 / -1; display: flex; justify-content: space-between; color: var(--green); font: 800 9px var(--mono); }.grant-card > div:not(.grant-top) { padding: 12px; border: 1px solid var(--line-dark); }.grant-card > div span { display: block; color: #7e8278; font: 800 8px var(--mono); }.grant-card > div b { display: block; margin-top: 6px; font-size: 11px; }.grant-card button { grid-column: 1 / -1; }.replay-action { border: 1px solid var(--line-dark); background: transparent; color: var(--paper); }
.hostile-action { border: 1px solid var(--red); background: rgba(240, 107, 89, .06); color: var(--red); }.hostile-action:hover { background: var(--red); color: var(--ink); }
.sandbox-effect { margin-top: 15px; padding: 16px; border: 1px solid var(--green); border-radius: 12px; background: rgba(123, 221, 167, .05); }.sandbox-effect > span { color: var(--green); font: 850 9px var(--mono); letter-spacing: .08em; }.sandbox-effect dl { display: grid; grid-template-columns: 1fr 1fr .4fr; margin: 14px 0 0; border: 1px solid var(--line-dark); }.sandbox-effect dl div { min-width: 0; padding: 11px; border-right: 1px solid var(--line-dark); }.sandbox-effect dl div:last-child { border-right: 0; }.sandbox-effect dt { color: #7f8379; font: 800 8px var(--mono); }.sandbox-effect dd { margin: 6px 0 0; overflow: hidden; color: var(--paper); font: 750 9px var(--mono); text-overflow: ellipsis; }.sandbox-effect p { margin: 12px 0 0; color: #a9ada3; font-size: 11px; line-height: 1.5; }

.composer-toggle { display: none; }
.composer { padding: 22px clamp(18px, 5vw, 62px) 28px 120px; border-top: 1px solid var(--line-dark); background: #0b0c0a; }
.field-stack { display: grid; gap: 9px; }
.field-stack label { color: #a9ada3; font-size: 12px; font-weight: 750; }.field-stack label span { color: var(--red); }
.composer textarea { width: 100%; min-height: 76px; max-height: 180px; resize: vertical; padding: 14px 16px; border: 1px solid #4a4e45; border-radius: 10px; background: #171914; color: var(--paper); font-size: 14px; line-height: 1.5; }
.composer textarea:focus { border-color: var(--yellow); }
.evidence-input { margin-top: 12px; padding: 0; border: 1px solid #35382f; border-radius: 10px; }
.evidence-input summary { padding: 13px 15px; color: #b8bbb1; cursor: pointer; font-size: 12px; font-weight: 750; list-style: none; }.evidence-input summary::-webkit-details-marker { display: none; }.evidence-input summary span { float: right; color: #777b71; font: 700 9px var(--mono); }.evidence-input[open] summary { border-bottom: 1px solid #35382f; }.evidence-input .field-stack { padding: 15px; }
.file-row { display: flex; align-items: center; gap: 12px; padding: 0 15px 15px; color: #777b71; font: 650 9px var(--mono); }
.file-button { padding: 10px 12px; border: 1px solid #565a50; color: var(--yellow); cursor: pointer; font: 800 9px var(--mono); }#evidenceFile { position: absolute; width: 1px; height: 1px; opacity: 0; }
.composer-actions { display: grid; grid-template-columns: 1fr minmax(240px, 340px); align-items: center; gap: 16px; margin-top: 14px; }.char-meter { color: #777b71; font: 700 9px var(--mono); }.over-limit { color: var(--red) !important; }.composer .primary-action { display: flex; align-items: center; justify-content: space-between; padding: 0 17px; }

.explain-section, .evidence-section, .history { padding: clamp(90px, 12vw, 170px) clamp(24px, 7vw, 110px); }
.explain-section { background: var(--paper); }
.explain-section .section-intro, .evidence-section .section-intro, .history .section-intro { max-width: 1280px; }
.boundary-steps { max-width: 1280px; margin: 70px auto 0; display: grid; grid-template-columns: 1fr minmax(130px, .4fr) 1fr; align-items: center; gap: 30px; }
.boundary-steps article { min-height: 290px; padding: 32px; border: 1px solid var(--ink); }
.boundary-steps article > span { color: #846a00; font: 900 10px var(--mono); }.boundary-steps h3 { margin: 72px 0 12px; font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: -.04em; }.boundary-steps p { color: #5a5c55; line-height: 1.6; }
.bridge-line { display: flex; align-items: center; gap: 8px; color: #846a00; font: 800 8px var(--mono); text-align: center; }.bridge-line i { flex: 1; height: 1px; background: #846a00; }

.evidence-section { background: var(--paper-2); }
.source-grid { max-width: 1280px; margin: 64px auto 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.source-card { min-height: 260px; padding: 20px; display: flex; flex-direction: column; gap: 14px; border: 0; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.source-card:hover { background: var(--yellow); }.source-card b { color: #7c6500; font: 850 8px var(--mono); }.source-card span { margin-top: auto; font-family: var(--serif); font-size: 24px; line-height: 1.05; letter-spacing: -.03em; }.source-card small { min-height: 38px; color: #5e6059; line-height: 1.4; }
.quote-note { max-width: 1280px; margin: 15px auto 0; color: #696b64; font: 650 9px/1.5 var(--mono); }

.attack-section { padding: clamp(90px, 12vw, 170px) clamp(24px, 7vw, 110px); background: var(--ink); color: var(--paper); }
.attack-section .section-intro { max-width: 1280px; }.stress-action { width: min(1280px, 100%); display: block; margin: 58px auto 18px; }
.scoreboard { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line-dark); }
.scoreboard > div { min-height: 120px; padding: 18px; border-right: 1px solid var(--line-dark); display: flex; flex-direction: column; justify-content: space-between; }.scoreboard > div:last-child { border-right: 0; }.scoreboard span { color: #85897f; font: 800 8px var(--mono); }.scoreboard strong { color: var(--yellow); font-family: var(--serif); font-size: 44px; font-weight: 500; }
.case-file { max-width: 1280px; margin: 14px auto 0; border: 1px solid var(--line-dark); }.case-file summary { padding: 16px 18px; cursor: pointer; font: 800 10px var(--mono); list-style: none; }.case-file summary span { float: right; color: var(--yellow); }.case-results { max-height: 430px; overflow: auto; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }.case-results li { display: grid; grid-template-columns: 28px 1fr minmax(100px, auto); gap: 10px; padding: 11px 16px; border-bottom: 1px dotted var(--line-dark); color: #a4a89e; font: 700 9px var(--mono); }.case-results .pass { color: var(--green); }.case-results .fail { color: var(--red); }

.history { background: var(--paper); }
.history .secondary-action { display: block; max-width: 1280px; width: 100%; margin: 58px auto 0; border: 1px solid var(--ink); background: transparent; color: var(--ink); }.history .secondary-action:hover { background: var(--ink); color: var(--paper); }
.receipt-strip { max-width: 1280px; margin: 22px auto 0; }.receipt { display: grid; grid-template-columns: 34px 190px 1fr 150px; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); font: 650 9px/1.4 var(--mono); }.receipt-index { color: #8b7000; }.receipt-hash { overflow: hidden; text-overflow: ellipsis; color: var(--muted); }.receipt-verdict { color: #217148; text-align: right; }

.site-footer { min-height: 170px; padding: 42px clamp(24px, 7vw, 110px); display: grid; grid-template-columns: 1fr 2fr auto; align-items: end; gap: 30px; background: var(--ink); color: #999d93; font: 700 9px var(--mono); }.site-footer span { color: var(--yellow); }.site-footer p { margin: 0; }.site-footer a { color: var(--paper); }

.proof-drawer { width: min(780px, calc(100vw - 28px)); max-height: calc(100vh - 28px); margin: auto 0 auto auto; padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: -30px 0 100px rgba(0,0,0,.35); }.proof-drawer::backdrop { background: rgba(5, 6, 5, .72); backdrop-filter: blur(4px); }.drawer-head { position: sticky; top: 0; z-index: 2; min-height: 120px; display: flex; justify-content: space-between; gap: 24px; padding: 28px; border-bottom: 1px solid var(--ink); background: var(--paper); }.drawer-head .eyebrow { margin-bottom: 8px; }.drawer-head h2 { margin: 0; font-family: var(--serif); font-size: 36px; font-weight: 500; letter-spacing: -.04em; }.drawer-head button { align-self: flex-start; padding: 8px 0; border: 0; border-bottom: 1px solid var(--ink); background: none; cursor: pointer; font: 800 9px var(--mono); }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; }.proof-grid section { min-height: 260px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }.proof-grid section:nth-child(even) { border-right: 0; }.proof-grid section > span { color: #836a00; font: 900 9px var(--mono); }.proof-grid h3 { margin: 54px 0 14px; font-family: var(--serif); font-size: 27px; font-weight: 500; }.proof-grid p, .proof-grid li { color: #5f615a; font-size: 12px; line-height: 1.6; }.proof-grid ol { padding-left: 18px; }.prompt-chip { width: 100%; margin-top: 7px; padding: 11px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; text-align: left; font-size: 11px; }.prompt-chip:hover { background: var(--yellow); }.app-probe iframe { width: 100%; min-height: 130px; border: 1px solid var(--ink); background: #fff; }.boundary-note { margin: 0; padding: 22px 28px; color: #666860; font: 650 9px/1.6 var(--mono); }
.case-note { padding: 18px; border: 1px solid var(--line-dark); border-radius: 12px; }.case-note h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 26px; }.case-note .solution { margin-top: 12px; color: #b9bcb3; font-size: 13px; }.case-note .solution b { color: var(--yellow); }.case-note a { display: inline-block; margin-top: 13px; color: var(--yellow); font-size: 12px; }

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; }.hero-mark { display: none; }
  .section-intro.compact { grid-template-columns: 1fr; }.section-intro.compact > p:last-child { margin-top: 24px; }
  .source-grid { grid-template-columns: repeat(2, 1fr); }.source-card:last-child { grid-column: 1 / -1; min-height: 180px; }
  .boundary-steps { grid-template-columns: 1fr; }.bridge-line { max-width: 260px; margin: 0 auto; transform: rotate(90deg); }
  .scoreboard { grid-template-columns: repeat(2, 1fr); }.scoreboard > div { border-bottom: 1px solid var(--line-dark); }.scoreboard > div:nth-child(2n) { border-right: 0; }.scoreboard > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .runtime-truth { grid-template-columns: 1fr; gap: 4px; padding: 10px 16px; }.runtime-truth b:nth-of-type(n+2) { display: none; }
  .site-header { min-height: 70px; padding: 13px 16px; }.brand img { width: 76px; }.brand-divider, .product-name i, .product-name b:last-child { display: none; }.product-name { font-size: 11px; }.engine-state { display: none; }
  .hero { min-height: calc(100svh - 140px); padding: 42px 20px 54px; }.hero h1 { font-size: clamp(52px, 16vw, 72px); line-height: .87; }.hero-lede { margin-top: 22px; font-size: 18px; }.hero-actions { flex-direction: column; margin-top: 24px; }.primary-button, .secondary-button { width: 100%; }
  .demo-section { padding: 76px 10px; }.demo-section .section-intro { padding: 0 12px; }.section-intro h2 { font-size: 52px; }.section-intro > p:last-child { font-size: 15px; }
  .session-window { border-radius: 12px; }.window-bar { grid-template-columns: 80px 1fr 80px; padding: 0 12px; }.window-bar > span:nth-child(2) { font-size: 8px; }
  .system-alert { grid-template-columns: 12px 1fr; padding: 11px 14px; }.mode-badge { display: none; }
  .turn { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 22px 14px; }.avatar { width: 30px; height: 30px; border-radius: 8px; }.turn-meta { align-items: flex-start; flex-direction: column; gap: 4px; }.message > p { font-size: 14px; }
  .scope-grid { grid-template-columns: 1fr; }.scope-grid .wide { grid-column: auto; }.scope-grid div { border-right: 0; }.model-receipt { grid-template-columns: 1fr; }.model-receipt > div { border-right: 0; border-bottom: 1px solid var(--line-dark); }.model-receipt > div:nth-child(3) { border-bottom: 0; }.decision-row { grid-template-columns: 1fr; }.grant-card { grid-template-columns: 1fr; }.grant-top, .grant-card button { grid-column: auto; }.sandbox-effect dl { grid-template-columns: 1fr; }.sandbox-effect dl div { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .composer { display: none; padding: 18px 14px; }.composer.is-open { display: block; }.composer-toggle { width: calc(100% - 28px); min-height: 44px; margin: 0 14px 14px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--yellow); background: transparent; color: var(--yellow); font: 800 9px var(--mono); }.composer-actions { grid-template-columns: 1fr; }.file-row { align-items: flex-start; flex-direction: column; }
  .explain-section, .evidence-section, .history, .attack-section { padding: 82px 20px; }.section-intro.compact h2 { font-size: 47px; }.boundary-steps { margin-top: 46px; }.boundary-steps article { min-height: 240px; padding: 24px; }.boundary-steps h3 { margin-top: 50px; }
  .source-grid { grid-template-columns: 1fr; }.source-card, .source-card:last-child { grid-column: auto; min-height: 180px; }.source-card span { font-size: 25px; }
  .scoreboard { grid-template-columns: 1fr; }.scoreboard > div, .scoreboard > div:nth-child(2n) { min-height: 76px; border-right: 0; flex-direction: row; align-items: center; }.scoreboard > div:last-child { grid-column: auto; }.scoreboard strong { font-size: 34px; }.case-results li { grid-template-columns: 24px 1fr; }.case-results li span:last-child { grid-column: 2; }
  .receipt { grid-template-columns: 28px 1fr; }.receipt-hash, .receipt-verdict { grid-column: 2; text-align: left; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }.proof-grid { grid-template-columns: 1fr; }.proof-grid section { border-right: 0; }.drawer-head { min-height: 100px; padding: 20px; }.drawer-head h2 { font-size: 27px; }
}

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