@import url('kit/tokens.css');

/* Landing grammar: full-bleed with a 32px edge, one hairline above each section, a mono eyebrow with the
   section number, left-aligned headlines, long vertical breathing room, the ring field behind everything. */
:root { --edge: 64px; --cap: 1680px; --nav: 84px; --sec: 96px; }
* { box-sizing: border-box; }
body { background: var(--ink-900); min-height: 100vh; overflow-x: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav); }
p { margin: 0 0 1em; }
pre { background: var(--ink-800); border: var(--hair); border-radius: var(--r); padding: 16px 18px; overflow-x: auto; line-height: 1.5; margin: 0; }

#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.nav, .hero, section, footer { position: relative; z-index: 1; }

.wrap { max-width: var(--cap); margin: 0 auto; padding: 0 var(--edge); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-400); }
h1, h2 { font-weight: 600; letter-spacing: -0.035em; }
h1 { font-size: clamp(44px, 5vw, 76px); line-height: .98; }
h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.04; margin: 0; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin: 0; line-height: 1.3; }
.lede { font-size: 17px; line-height: 1.55; color: var(--paper-200); max-width: 52ch; }
a.more { font-size: 15px; font-weight: 500; color: var(--paper-100); }
a.more:hover { color: var(--paper-200); }

/* buttons: 3px, 40px tall, 15px medium */
.btn { height: 40px; padding: 0 16px; font-size: 15px; font-weight: 500; border-radius: 3px; border: 0; background: var(--ink-700); color: var(--paper-100); }
.btn:hover { background: var(--ink-600); }
.btn.primary { background: var(--paper-100); color: var(--ink-900); }
.btn.primary:hover { background: var(--paper-200); }
.btn.signal { background: var(--signal); color: var(--ink-900); }
.btn.signal:hover { background: var(--signal-deep); }
.btn .arrow { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 2px; background: rgba(18,20,23,.14); font-size: 12px; transition: transform 150ms; }
.btn:hover .arrow { transform: translate(1px, -1px); }

/* nav floats over the hero */
.nav { position: sticky; top: 0; z-index: 10; background: var(--ink-900); border-bottom: var(--hair); }
.nav .wrap { display: flex; align-items: center; height: var(--nav); gap: 32px; }
.nav .wordmark { display: flex; align-items: center; gap: 8px; font-size: 20px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; color: var(--paper-100); }
.nav-links a:hover { color: var(--paper-200); }
.nav .btn { height: 34px; padding: 0 12px; font-size: 14px; }

/* hero: one viewport, headline bottom-left, the trace floating on the field to the right */
.hero { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: calc(var(--nav) * -1); padding: calc(var(--nav) + 24px) var(--edge) 80px; }
.hero .left { display: flex; flex-direction: column; justify-content: flex-end; max-width: 720px; }
.hero h1 { margin: 0 0 24px; }
.hero .tag { font-size: 17px; line-height: 1.5; color: var(--paper-200); max-width: 40ch; margin: 0 0 32px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .nums { margin-top: 28px; white-space: nowrap; }
.hero .right { display: flex; align-items: center; justify-content: flex-end; padding-top: 24px; }

/* sections: one hairline, a mono eyebrow, the headline left */
.sec { padding: var(--sec) var(--edge); }
.sec-head { border-top: var(--hair); padding-top: 24px; margin-bottom: 48px; }
.sec-head h2 { max-width: 22ch; margin-top: 20px; }
.sec-head .lede { margin: 20px 0 0; }

/* the one centred statement */
.statement { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 120px var(--edge); }
.statement .label { margin-bottom: 24px; }
.statement h2 { font-size: clamp(36px, 4.2vw, 60px); max-width: 24ch; margin: 0 auto; }

.quote .sec-head { margin-bottom: 0; }
.quote .sec-head h2 { max-width: 30ch; font-weight: 500; }

/* trio: a number, the picture, a title over a hairline, the paragraph */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sec > :last-child, .sec-head > :last-child { margin-bottom: 0; }
.trio .pic { height: 260px; display: flex; align-items: center; margin: 16px 0 24px; }
.trio .pic .frame { width: 100%; }
.trio .pic .sc { overflow: visible; } /* scene captions are wider than the viewBox once the column is narrower than 720px */
.trio .pic .big { font-size: clamp(64px, 6.4vw, 104px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.trio .pic .big small { display: block; font-size: 13px; letter-spacing: 0; color: var(--paper-200); margin-top: 12px; font-weight: 500; }
.trio h3 { border-top: var(--hair-strong); padding-top: 14px; }
.trio h3.name { font-family: var(--mono); font-weight: 500; font-size: 16px; letter-spacing: 0; }
.trio p { color: var(--paper-200); font-size: 15px; line-height: 1.55; margin: 12px 0 0; }

/* use it: three cards on the page */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--ink-800); border: var(--hair); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--paper-200); font-size: 15px; line-height: 1.5; flex: 1; }
.card .shot { height: 190px; overflow: hidden; border: var(--hair); border-radius: var(--r); background: var(--ink-900); margin: 8px 0 18px; }
.card .shot img { width: 100%; display: block; }
.card .shot.text { padding: 16px 18px; font-family: var(--mono); font-size: 12.5px; line-height: 1.8; color: var(--paper-200); }
.card .shot.text b { color: var(--paper-100); font-weight: 500; }

/* what leaks: the table and the Snap screenshot */
.leaks { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: start; }
.phone { width: min(420px, 100%); height: 520px; overflow: hidden; border: var(--hair-strong); border-radius: 18px; background: var(--ink-800); justify-self: end; }
.phone img { width: 100%; display: block; transform: translateY(-11.3852%); }

/* the trace terminal: translucent, so the field and its ripple show through */
.term { background: rgba(18,20,23,.8); border: var(--hair-strong); border-radius: var(--r); font-family: var(--mono); font-size: 13px; line-height: 1.6; width: 100%; max-width: 580px; }
.term-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: var(--hair); color: var(--ink-400); font-size: 12px; }
.term-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-600); transition: background var(--state); }
.term-bar .dot.live { background: var(--paper-200); }
.term-bar .dot.blocked { background: var(--alert); }
.term-bar .replay { margin-left: auto; cursor: pointer; color: var(--paper-200); border: var(--hair-strong); padding: 2px 8px; border-radius: var(--r); background: none; font: inherit; }
.term-bar .replay:hover { color: var(--paper-100); border-color: var(--paper-200); }
.term-body { padding: 16px 18px; min-height: 300px; }
.term-body .cur .msg { color: var(--ink-400); animation: blink 1s steps(2) infinite; }
@keyframes blink { to { opacity: 0; } }
.term-body .ln { display: flex; gap: 12px; opacity: 0; transform: translateY(4px); animation: ln var(--enter) var(--ease-out) forwards; white-space: pre-wrap; }
@keyframes ln { to { opacity: 1; transform: none; } }
.term-body .t { color: var(--ink-400); flex: none; }
.term-body .src { flex: none; width: 60px; color: var(--paper-200); }
.term-body .src.rpc { color: var(--alert); }
.term-body .src.ab { color: var(--paper-100); }
.term-body .msg { color: var(--paper-100); }
.term-body .msg.dim { color: var(--ink-400); }
.term-body .msg .k { color: var(--paper-100); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-400); }
.term-body .verdict { margin-top: 14px; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--alert); color: var(--paper-100); opacity: 0; animation: ln var(--enter) var(--ease-out) forwards; }
.term-body .verdict b { color: var(--alert); }
.term-foot { padding: 10px 18px; border-top: var(--hair); color: var(--ink-400); font-size: 12px; }
.term-foot:empty { display: none; }

.proof { border-top: var(--hair-strong); font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--paper-200); max-width: 600px; }
.proof .row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: var(--hair); }
.proof .row b { color: var(--paper-100); font-weight: 500; text-align: right; }
.proof .row.leak span { text-decoration: line-through; color: var(--ink-400); }
.proof .row.leak b { color: var(--paper-200); }

/* rows: FAQ */
.rows { border-top: var(--hair-strong); }
.rows .r { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; padding: 28px 0; border-bottom: var(--hair); }
.rows .r .q { font-size: 17px; font-weight: 500; color: var(--paper-100); }
.rows .r p { color: var(--paper-200); font-size: 15px; line-height: 1.55; margin: 0; }

footer { border-top: var(--hair); padding: 56px var(--edge) 64px; color: var(--paper-200); font-size: 13px; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.foot-row .wordmark { display: flex; align-items: center; gap: 8px; font-size: 20px; color: var(--paper-100); }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; font-weight: 500; color: var(--paper-100); }
.foot-links a:hover { color: var(--paper-200); }
footer .note { margin: 28px 0 0; color: var(--ink-400); font-size: 12px; max-width: 72ch; }

@media (max-width: 900px) {
  :root { --edge: 16px; --sec: 72px; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 40px; padding: 120px var(--edge) 48px; margin-top: 0; }
  .hero .nums { white-space: normal; }
  .hero .right { justify-content: flex-start; padding-top: 0; }
  .nav-links { display: none; }
  .statement { min-height: 0; padding: 96px var(--edge); }
  .sec-head { margin-bottom: 48px; }
  .trio, .cards, .leaks, .rows .r { grid-template-columns: 1fr; }
  .trio .pic { height: 200px; }
  .phone { justify-self: start; height: 440px; }
  .rows .r { gap: 12px; }
}


/* Content and contrast refinements within the original landing composition. */
a:focus-visible, button:focus-visible { outline: 2px solid var(--signal); outline-offset: 5px; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 20; padding: 12px 18px; background: var(--paper-100); color: var(--ink-900); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.wordmark .mark { display: block; font-size: 22px; line-height: 1; }
.hero-note { margin: 28px 0 0; }
.hero .left { min-width: 0; }
.hero .right { min-width: 0; }
.hero .term { background: color-mix(in srgb, var(--ink-900) 94%, transparent); }
.term-context { color: var(--ink-400); font-size: 10px; padding: 12px 18px 0; }
.term-body { min-height: 345px; }
.term-body .ln { display: grid; grid-template-columns: 20px 46px minmax(0,1fr); gap: 10px; margin-bottom: 12px; }
.term-body .src { width: auto; }
.term-body .verdict { margin-top: 20px; }
.term-bar .replay:disabled { color: var(--ink-400); cursor: default; }
.trace-alert, .how strong { color: var(--signal); font-weight: 500; }
.trace-bad { color: var(--alert); }
.text-link { font-size: 14px; font-weight: 500; text-underline-offset: 5px; }
.text-link:hover, .source:hover, .section-note a:hover { text-decoration: underline; }
.section-note { color: var(--ink-400); font-size: 12px; line-height: 1.7; margin: 24px 0 0; max-width: 94ch; }
.section-note a { color: var(--paper-200); }

/* The new problem beat uses the same dark field, type and fine rules. */
.problem { background: var(--paper-100); color: var(--ink-900); --hair: 1px solid rgba(18,20,23,.14); --hair-strong: 1px solid rgba(18,20,23,.14); }
.problem .lede, .problem .incident p, .problem .dependency p { color: var(--ink-700); }
.problem .label { color: var(--ink-400); }
.problem .source { color: var(--ink-700); }
.problem .dependency .dependency-answer { color: var(--ink-900); }
.problem a:focus-visible { outline-color: var(--signal-deep); }
.incidents { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.incident { border-top: var(--hair-strong); padding-top: 20px; }
.amount { font-size: clamp(64px, 6.4vw, 104px); font-weight: 500; line-height: 1; letter-spacing: -.04em; margin: 20px 0 16px; }
.incident p { font-size: 15px; color: var(--paper-200); line-height: 1.6; max-width: 52ch; margin: 12px 0 16px; }
.source { font-family: var(--mono); font-size: 11px; color: var(--paper-200); text-underline-offset: 4px; }
.dependency { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; border-top: var(--hair-strong); margin-top: 48px; padding-top: 24px; }
.dependency h3 { font-size: 28px; line-height: 1.2; max-width: 28ch; margin-top: 16px; }
.dependency p:last-child { margin-bottom: 0; }
.dependency p { color: var(--paper-200); font-size: 15px; line-height: 1.65; }
.dependency .inline { font: inherit; text-decoration: underline; }
.dependency .dependency-answer { color: var(--paper-100); margin-bottom: 0; }

/* Only the animation canvases get opaque surfaces. The columns stay open. */
.trio > article { min-width: 0; }
.how .scene-panel { height: 460px; background: var(--ink-800); border: var(--hair); border-radius: var(--r); padding: 12px 8px; }
.how .sc { overflow: visible; }
.how .sc-compact { max-height: 360px; }
.how .scene-captions { font-size: 13px; line-height: 1.55; padding-inline: 12px; min-height: 4.8em; }
.trust-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: start; }
.trust-steps { display: grid; gap: 40px; align-content: start; }
.trust-step { position: relative; display: grid; grid-template-columns: 24px minmax(0,1fr); align-items: baseline; gap: 14px; padding: 0 0 20px; background: none; border: 0; border-radius: 0; text-align: left; cursor: pointer; font: inherit; color: var(--paper-200); }
.trust-step:focus { outline: none; }
.trust-step:focus-visible .step-title { text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 5px; }
.step-number { font: 12px/1.6 var(--mono); color: var(--ink-400); }
.step-title { display: block; font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.step-description { display: block; font-size: 15px; line-height: 1.6; margin-top: 12px; max-width: 48ch; }
.trust-step[aria-selected="true"] .step-number { color: var(--signal); }
.trust-step[aria-selected="true"] .step-title, .trust-step:hover .step-title { color: var(--paper-100); }
.step-track { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; overflow: hidden; }
.step-track > span { display: block; width: 100%; height: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; }
.trust-examples { display: grid; border: var(--hair-strong); background: var(--ink-900); min-width: 0; }
.trust-panel { grid-area: 1 / 1; padding: 32px; min-width: 0; display: flex; flex-direction: column; }
/* Hidden panels reserve their space so the section never jumps between steps. */
.trust-panel[hidden] { display: flex; visibility: hidden; pointer-events: none; }
.trust-visual { display: block; width: 100%; flex: 1; min-height: 280px; max-height: 340px; margin: 24px 0; overflow: visible; }
.trust-visual text { fill: var(--paper-200); font: 18px var(--mono); text-anchor: middle; }
.trust-visual .tv-small { font-size: 16px; }
.trust-visual .tv-title { font-family: var(--body); font-weight: 600; }
.tv-node { fill: var(--ink-800); stroke: var(--ink-600); stroke-width: 1.5; }
.tv-paper { fill: var(--paper-100); }
.trust-visual .tv-ink { fill: var(--ink-900); }
.tv-wire { fill: none; stroke: var(--ink-600); stroke-width: 1.5; }
.tv-amber, .tv-fingerprint, .tv-packet { fill: var(--signal); }
.tv-amber-line, .tv-check, .tv-draw-a, .tv-draw-b { stroke: var(--signal); }
.tv-draw-a, .tv-draw-b { stroke-dasharray: 1; }
.tv-draw-a { stroke-dashoffset: var(--draw-a,1); }
.tv-draw-b { stroke-dashoffset: var(--draw-b,1); }
.tv-paper-line { stroke: #bab5ab; stroke-width: 5; }
.tv-signature { fill: none; stroke: var(--ink-600); stroke-width: 1.5; }
.tv-dashed { stroke-dasharray: 4 5; }
.tv-check, .tv-stop { fill: none; stroke-width: 2; }
.tv-stop { stroke: var(--paper-200); }
.trust-visual .tv-question { fill: var(--signal); font-size: 28px; }
.tv-red { fill: var(--alert); }
.tv-red-line { stroke: var(--alert); }
.trust-visual .tv-red-text { fill: #b52e34; }
.tv-reveal { opacity: 1; transition: opacity 400ms ease, transform 400ms ease; }
.trust-panel[data-beat="0"] .tv-beat-1, .trust-panel[data-beat="0"] .tv-beat-2, .trust-panel[data-beat="1"] .tv-beat-2 { opacity: .1; transform: translateY(4px); }
.tv-block-verdict, .tv-final-caption { display: none; }
.trust-panel[data-beat="2"] .tv-block-verdict, .trust-panel[data-beat="2"] .tv-final-caption { display: inline; }
.trust-panel[data-beat="2"] .tv-warn-verdict, .trust-panel[data-beat="2"] .tv-early-caption { display: none; }
.tv-packet-a { transform: translateY(calc(var(--travel-a,0) * 34px)); opacity: var(--packet-a,0); }
.tv-packet-b { fill: var(--alert); transform: translateY(calc(var(--travel-b,0) * -74px)); opacity: var(--packet-b,0); }
.trust-caption { margin: 0; padding-top: 22px; border-top: var(--hair); font-size: 15px; line-height: 1.6; color: var(--paper-100); }
.trust-panel-note { color: var(--ink-400); font-size: 11px; line-height: 1.6; margin: 12px 0 0; }
.trust-playback { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin-top: 14px; }
.trust-playback .label { font-size: 10px; }
.trust-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; padding: 0 4px; background: none; border: 0; color: var(--paper-200); font: 11px var(--mono); cursor: pointer; }
.trust-toggle:hover { color: var(--paper-100); }
.trust-toggle span { width: 10px; text-align: center; }
.status-tag { font: 11px var(--mono); color: var(--paper-100); border: 1px solid var(--ink-600); padding: 5px 8px; white-space: nowrap; border-radius: var(--r); }
.status-tag.warn { color: var(--signal); border-color: var(--signal-30); }
.status-tag.block { color: var(--alert); border-color: var(--alert-40); }
.trust-foot { display: flex; gap: 32px; align-items: center; justify-content: space-between; margin-top: 24px; border-top: var(--hair); padding-top: 24px; }
.trust-foot p { color: var(--paper-200); font-size: 13px; margin: 0; }
.trust-foot a { flex: none; }

/* Keep the original left-hand ledger / right-hand wallet, aligned at the top. */
.privacy { background: var(--ink-900); }
.privacy-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,360px); align-items: start; gap: 40px 64px; }
.privacy-main { min-width: 0; }
.privacy-comparison { border-top: var(--hair-strong); }
.privacy-row { padding: 24px 0; border-bottom: var(--hair); }
.privacy-row:first-child { padding-top: 20px; }
.privacy-row h3 { margin-top: 10px; font-size: 20px; }
.privacy-row p { font-size: 15px; line-height: 1.6; color: var(--paper-200); margin: 12px 0 0; max-width: 55ch; }
.privacy-row.local .label { color: var(--signal); }
.wallet-preview { margin: 0; width: 100%; }
.preview-label { margin-bottom: 16px; padding-top: 25px; }
.phone { display: block; width: 100%; height: auto; aspect-ratio: 734 / 1310; }
.phone img { height: auto; }
.wallet-preview figcaption { font-size: 12px; line-height: 1.6; color: var(--ink-400); margin-top: 16px; max-width: 48ch; }
.integration-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.integration { padding-top: 20px; border-top: var(--hair-strong); display: flex; flex-direction: column; }
.integration h3 { font-size: 28px; margin-top: 20px; }
.integration p { font-size: 15px; line-height: 1.6; color: var(--paper-200); margin: 16px 0 24px; }
.integration .text-link { margin-top: auto; }
.kohaku-block { margin-top: 48px; }
.kohaku-title { font-size: 28px; margin-bottom: 24px; text-align: center; }
.kohaku-previews { display: grid; grid-template-columns: repeat(2,minmax(0,440px)); justify-content: center; gap: 24px; }
.kohaku-previews figure { margin: 0; min-width: 0; align-self: start; }
.kohaku-crop { display: block; overflow: hidden; border: var(--hair-strong); border-radius: 12px; background: var(--ink-900); aspect-ratio: 1095 / 1340; } /* the whole Kohaku window, down to Reject and Sign */
.kohaku-crop img { display: block; max-width: none; width: 233.789954%; height: auto; margin-left: -133.789954%; }
.kohaku-crop.theft { aspect-ratio: 1075 / 1460; }
.kohaku-crop.theft img { width: 238.139535%; margin-left: -138.139535%; }
.kohaku-previews figcaption, .capture-note { font-size: 12px; line-height: 1.6; color: var(--ink-400); margin: 16px 0 0; }
.kohaku-previews figcaption strong { color: var(--paper-200); font-weight: 500; }
.capture-note { font-family: var(--mono); text-align: center; margin: 16px 0 0; }
.build-status { display: grid; grid-template-columns: 160px 1fr; gap: 24px; border-top: var(--hair-strong); padding-top: 24px; margin-top: 48px; }
.build-status p { font-size: 13px; line-height: 1.7; color: var(--paper-200); margin: 0; max-width: 95ch; }
.build-status strong { font-weight: 500; color: var(--paper-100); }
.rows .r .q { line-height: 1.5; }
.closing-copy { border-top: var(--hair-strong); padding-top: 32px; }
.closing h2 { margin: 20px 0; max-width: 20ch; }
.closing-copy > p { font-size: 17px; line-height: 1.6; color: var(--paper-200); max-width: 54ch; }
.closing .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.closing .closing-note { margin: 20px 0 0; font-size: 12px; color: var(--ink-400); }

@media (min-width: 901px) and (max-width: 1200px) {
  :root { --edge: 40px; }
  .nav .wrap { gap: 20px; }
  .nav-links { gap: 18px; font-size: 13px; }
  .hero { gap: 32px; }
  .term-body { font-size: 11px; }
  .trio { gap: 24px; }
  .trust-layout { gap: 32px; }
  .trust-panel { padding: 24px; }
  .privacy-layout { gap: 48px; grid-template-columns: minmax(0,1fr) minmax(0,350px); }
}
@media (max-width: 900px) {
  .nav .wrap { justify-content: space-between; }
  .hero { padding-top: 64px; }
  .hero .right { width: 100%; }
  .incidents, .dependency, .integration-grid, .privacy-layout { grid-template-columns: 1fr; }
  .incidents { gap: 40px; }
  .dependency { gap: 24px; margin-top: 40px; }
  .how .scene-panel { height: auto; min-height: 260px; padding: 18px 12px; }
  .how-steps { gap: 48px; }
  .how .frame { max-width: 620px; margin: 0 auto; }
  .trust-layout { grid-template-columns: 1fr; gap: 32px; }
  .trust-steps { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
  .trust-step, .trust-step:first-child { display: flex; flex-direction: column; gap: 12px; padding: 0 0 20px; }
  .trust-step .step-title { font-size: 15px; }
  .step-description { display: none; }
  .trust-visual { min-height: 0; flex: none; }
  .trust-foot { align-items: flex-start; flex-direction: column; gap: 16px; }
  .privacy-layout { gap: 40px; }
  .wallet-preview { max-width: 360px; justify-self: start; }
  .integration-grid { gap: 40px; }
  .kohaku-previews { grid-template-columns: minmax(0,560px); gap: 24px; }
  .integration h3 { margin-top: 20px; }
  .build-status { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 44px; }
  .term-bar { font-size: 10px; gap: 8px; }
  .term-body { padding: 16px 12px; font-size: 11px; min-height: 390px; }
  .term-body .ln { gap: 7px; grid-template-columns: 16px 38px minmax(0,1fr); }
  .hero-note { font-size: 10px; }
  .dependency h3 { font-size: 26px; }
  .how .scene-panel { padding: 12px; }
  .how .frame { max-width: 360px; }
  .trust-panel { padding: 24px 20px; }
  .step-title { font-size: 20px; }
  .closing .btn { height: auto; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .term-body .ln, .term-body .verdict { animation: none; opacity: 1; transform: none; }
  .tv-reveal { transition: none; }
}
.term-body .ln { grid-template-columns: 44px 52px minmax(0, 1fr); }
@media (max-width: 480px) { .term-body .ln { grid-template-columns: 50px minmax(0, 1fr); } .term-body .ln .t { display: none; } }
