/* ZEKO. Warm paper ground, one forest accent, cream marks. Switzer throughout, Plex Mono only for hashes. */
@font-face { font-family: 'Switzer'; src: url('/assets/fonts/Switzer-Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/assets/fonts/Switzer-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/assets/fonts/Switzer-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/assets/fonts/Switzer-Semibold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('/assets/fonts/plex-mono-400.woff') format('woff'); font-weight: 400; font-display: swap; }

:root {
  --paper: #f3f1ec; --paper-2: #e9e6de; --sheet: #fbfaf7; --ink: #161614; --grey: #6f6c64; --line: #dcd8ce;
  --forest: #0b3e2d; --forest-2: #145a42; --cream: #eee4d2; --sage: #9fb5a6; --warn: #8a4b12;
  --gut: clamp(12px, 1.4vw, 22px); --r: 10px; --r-lg: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 'Switzer', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--forest-2); outline-offset: 3px; border-radius: 4px; }
.hash { font-family: 'Plex Mono', ui-monospace, monospace; font-size: .86em; word-break: break-all; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- floating nav ---------- */
.bar { position: fixed; z-index: 50; top: var(--gut); left: var(--gut); right: var(--gut); height: 58px; display: flex; align-items: center; gap: 24px; padding: 0 10px 0 18px; background: var(--sheet); border-radius: var(--r); transition: transform .5s var(--ease), box-shadow .3s; }
.bar.lifted { box-shadow: 0 8px 30px rgba(22, 22, 20, .06); }
.bar.tucked { transform: translateY(calc(-100% - var(--gut) - 4px)); }
.mark { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 19px; letter-spacing: -.02em; }
.mark img { width: 32px; height: 32px; border-radius: 8px; }
.links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.links a { position: relative; color: var(--ink); opacity: .82; }
.links a:hover, .links a[aria-current] { opacity: 1; }
.links a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; }
.ends { display: flex; align-items: center; gap: 6px; }
.ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; color: var(--ink); transition: background .2s; }
.ico:hover { background: var(--paper); }
.ico svg { width: 17px; height: 17px; fill: currentColor; }
.ca { display: none; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 8px; background: var(--paper); font: 400 12.5px 'Plex Mono', monospace; border: 0; }
.ca.on { display: inline-flex; }
.ca .done { color: var(--forest-2); }
.go { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: 8px; background: var(--forest); color: var(--cream); font-size: 14px; font-weight: 500; border: 0; white-space: nowrap; }
.go .plus { display: inline-block; transition: transform .45s var(--ease); font-size: 17px; line-height: 1; }
.go:hover .plus, .more:hover .plus { transform: rotate(90deg); }
.go.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.go.buy { display: none; }
.go.buy.on { display: inline-flex; }
.burger { display: none; }

/* ---------- hero ---------- */
.stage { padding: calc(58px + var(--gut) * 2) var(--gut) 0; }
.reel { position: relative; height: calc(100svh - 58px - var(--gut) * 3); min-height: 560px; border-radius: var(--r-lg); overflow: hidden; background: var(--forest); color: var(--cream); transform-origin: 50% 0; }
.reel canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(11, 62, 45, 0) 45%, rgba(6, 36, 26, .72) 100%); }
.reel h1 { position: absolute; z-index: 2; left: clamp(20px, 2.6vw, 44px); bottom: clamp(22px, 3vw, 48px); margin: 0; font-weight: 400; font-size: clamp(44px, min(6.2vw, 9.5vh), 128px); line-height: .98; letter-spacing: -.035em; max-width: 12ch; }
.reel h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.reel h1 .ln > span { display: inline-block; white-space: nowrap; }
.latest { position: absolute; z-index: 2; right: clamp(16px, 2vw, 32px); bottom: clamp(16px, 2vw, 32px); width: clamp(260px, 22vw, 380px); display: flex; flex-direction: column; gap: 8px; }
.latest .go { align-self: flex-start; background: var(--cream); color: var(--forest); }
.slip { display: block; background: rgba(238, 228, 210, .1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: var(--r); padding: 18px 18px 16px; color: var(--cream); transition: background .3s; }
.slip:hover { background: rgba(238, 228, 210, .16); }
.slip small { display: block; font-size: 12.5px; color: var(--sage); margin-bottom: 8px; }
.slip q, .slip .q { display: block; font-size: 21px; line-height: 1.2; letter-spacing: -.01em; quotes: '\201C' '\201D'; }
.slip .meta { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; color: var(--sage); }
.root-tag { position: absolute; z-index: 2; top: 18px; right: 20px; font: 400 12px 'Plex Mono', monospace; color: rgba(238, 228, 210, .55); max-width: 46ch; text-align: right; }

/* ---------- statement ---------- */
.say { overflow: clip; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: clamp(28px, 5vw, 96px); align-items: center; padding: clamp(80px, 11vw, 190px) var(--gut) clamp(70px, 9vw, 150px) clamp(20px, 3vw, 48px); }
.say p { margin: 0; font-size: clamp(25px, 2.5vw, 46px); line-height: 1.18; letter-spacing: -.022em; max-width: 30ch; }
.say p .w { color: #b9b5aa; transition: color .2s; }
.say p .w.lit { color: var(--ink); }
.more { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; font-size: clamp(19px, 1.6vw, 26px); color: var(--forest-2); }
.more .plus { display: inline-block; transition: transform .45s var(--ease); }
.tally { background: var(--forest); color: var(--cream); border-radius: var(--r); padding: clamp(22px, 2.2vw, 34px); aspect-ratio: 1.45; display: flex; flex-direction: column; justify-content: space-between; }
.tally .big { display: flex; align-items: flex-end; gap: 16px; }
.tally b { font-weight: 400; font-size: clamp(72px, 8vw, 150px); line-height: .8; letter-spacing: -.05em; }
.tally .big span { font-size: clamp(16px, 1.3vw, 22px); line-height: 1.1; padding-bottom: .3em; border-top: 1px solid rgba(238, 228, 210, .4); padding-top: 6px; }
.tally ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; font-size: 14px; color: var(--sage); }
.tally ul strong { display: block; font-weight: 500; color: var(--cream); font-size: 20px; }

/* ---------- drag rail ---------- */
.rail { position: relative; overflow: hidden; padding: 0 0 clamp(80px, 9vw, 150px); }
.rail h2, .flow h2, .feed h2 { margin: 0 0 28px clamp(20px, 3vw, 48px); font-weight: 400; font-size: clamp(32px, 3.4vw, 60px); letter-spacing: -.03em; line-height: 1; }
.track { display: flex; gap: var(--gut); padding: 0 var(--gut); cursor: grab; user-select: none; touch-action: pan-y; will-change: transform; }
.track.dragging { cursor: grabbing; }
.case { position: relative; flex: 0 0 clamp(290px, 36vw, 720px); aspect-ratio: 1.32; border-radius: var(--r-lg); overflow: hidden; background: var(--forest); color: var(--cream); }
.case:nth-child(2) { background: #26332c; }
.case:nth-child(3) { background: #3f4a3a; }
.case:nth-child(4) { background: #1b2a24; }
.case svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.case .cap { position: absolute; left: 22px; right: 22px; bottom: 20px; }
.case h3 { margin: 0 0 6px; font-weight: 400; font-size: clamp(24px, 2vw, 34px); letter-spacing: -.02em; }
.case p { margin: 0; font-size: 14px; line-height: 1.4; color: rgba(238, 228, 210, .78); max-width: 52ch; }
.dragdot { position: fixed; z-index: 60; left: 0; top: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--cream); color: var(--forest); display: grid; place-items: center; font-size: 13px; font-weight: 500; pointer-events: none; transform: scale(0); transition: transform .35s var(--ease); }
.dragdot.on { transform: scale(1); }

/* ---------- protocol timeline ---------- */
.flow { padding: 0 0 clamp(80px, 9vw, 150px); overflow: hidden; }
.flow-in { display: flex; gap: var(--gut); align-items: stretch; padding: 0 var(--gut) 0 clamp(20px, 3vw, 48px); will-change: transform; }
.flow-lede { flex: 0 0 clamp(240px, 24vw, 420px); display: flex; flex-direction: column; justify-content: flex-end; padding-right: 20px; font-size: 15px; color: var(--grey); }
.stepcard { flex: 0 0 clamp(250px, 24vw, 420px); min-height: clamp(300px, 30vw, 460px); background: var(--sheet); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.stepcard .fig { font-size: clamp(38px, 3.6vw, 66px); letter-spacing: -.04em; line-height: 1; color: var(--forest); }
.stepcard h3 { margin: 0 0 10px; font-weight: 500; font-size: 20px; letter-spacing: -.01em; }
.stepcard p { margin: 0; font-size: 14.5px; color: var(--grey); line-height: 1.5; }

/* ---------- two tiles ---------- */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); padding: 0 var(--gut) clamp(80px, 9vw, 150px); }
.tile { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; min-height: clamp(380px, 38vw, 700px); padding: clamp(22px, 2.4vw, 40px); }
.tile.doc { background: var(--paper-2); color: var(--ink); }
.tile.kit { background: var(--forest); color: var(--cream); }
.tile h3 { margin: 0; font-weight: 400; font-size: clamp(34px, 3.6vw, 64px); letter-spacing: -.035em; line-height: 1; }
.tile .arrow { position: absolute; top: clamp(22px, 2.4vw, 40px); right: clamp(22px, 2.4vw, 40px); width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--forest); color: var(--cream); transition: transform .4s var(--ease); }
.tile.kit .arrow { background: var(--cream); color: var(--forest); }
.tile:hover .arrow { transform: translate(3px, -3px); }
.tile .inner { position: absolute; left: clamp(22px, 2.4vw, 40px); right: clamp(22px, 2.4vw, 40px); bottom: clamp(22px, 2.4vw, 40px); }
.tile pre { margin: 0; font: 400 clamp(12px, .9vw, 15px)/1.65 'Plex Mono', monospace; white-space: pre-wrap; color: var(--cream); opacity: .92; }
.tile pre i { font-style: normal; color: var(--sage); }
.tile ul { list-style: none; margin: 0; padding: 0; }
.tile li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); font-size: clamp(15px, 1.15vw, 19px); }
.tile li span:last-child { color: var(--grey); text-align: right; }

/* ---------- feed ---------- */
.feed { padding: 0 var(--gut) clamp(90px, 10vw, 170px) clamp(20px, 3vw, 48px); }
.feed-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 26px; }
.feed-head h2 { margin: 0; }
.chipbtn { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 8px; background: var(--forest); color: var(--cream); font-size: 13px; }
.row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.row:first-child { border-top: 1px solid var(--line); }
.row .pic { width: 96px; height: 72px; border-radius: 8px; background: var(--paper-2); display: grid; place-items: center; overflow: hidden; transition: transform .5s var(--ease); }
.row .pic img { width: 44px; height: 44px; border-radius: 50%; }
.row:hover .pic { transform: translateY(-3px); }
.row q { display: block; font-size: clamp(18px, 1.6vw, 26px); letter-spacing: -.015em; line-height: 1.2; quotes: '\201C' '\201D'; }
.row .who { margin-top: 6px; font-size: 13.5px; color: var(--grey); display: flex; gap: 14px; flex-wrap: wrap; }
.row .read { display: inline-flex; gap: 10px; align-items: center; font-size: clamp(16px, 1.3vw, 21px); color: var(--forest-2); padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.row:hover .read { background-size: 100% 1px; }
.empty { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--grey); font-size: 17px; }
.empty a { color: var(--forest-2); }

/* ---------- footer ---------- */
.foot { padding: 0 var(--gut) var(--gut); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 24px; padding: 40px clamp(8px, 2vw, 26px) 0; font-size: 13.5px; }
.foot-grid h4 { margin: 0 0 12px; font-weight: 500; font-size: 13.5px; color: var(--grey); }
.foot-grid a { display: block; padding: 3px 0; opacity: .85; }
.foot-grid a:hover { opacity: 1; }
.foot-grid p { margin: 0; color: var(--grey); max-width: 36ch; }
.word { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: clamp(40px, 6vw, 110px) clamp(8px, 2vw, 26px) 6px; }
.word strong { font-weight: 400; font-size: clamp(90px, 19vw, 380px); line-height: .78; letter-spacing: -.06em; color: var(--forest); }
.word small { font-size: 12.5px; color: var(--grey); padding-bottom: 8px; text-align: right; }

/* ---------- inner pages (prove, proof, docs, status) ---------- */
.page { padding: calc(58px + var(--gut) * 2 + clamp(30px, 4vw, 70px)) var(--gut) clamp(60px, 7vw, 120px) clamp(20px, 3vw, 48px); max-width: 1680px; }
.page h1 { margin: 0 0 18px; font-weight: 400; font-size: clamp(40px, 5vw, 92px); line-height: .98; letter-spacing: -.035em; max-width: 16ch; }
.page .lede { margin: 0 0 clamp(30px, 4vw, 60px); font-size: clamp(18px, 1.5vw, 24px); color: var(--grey); max-width: 52ch; line-height: 1.35; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gut); }
.panel { background: var(--sheet); border-radius: var(--r-lg); padding: clamp(20px, 2.2vw, 36px); }
.panel.deep { background: var(--forest); color: var(--cream); }
.panel h2 { margin: 0 0 14px; font-weight: 400; font-size: clamp(24px, 2vw, 34px); letter-spacing: -.02em; }
.panel p { color: var(--grey); margin: 0 0 14px; }
.panel.deep p { color: var(--sage); }
.stepper { display: flex; flex-direction: column; gap: 10px; }
.stage-step { border-radius: var(--r); background: var(--paper); padding: 18px 20px; opacity: .55; transition: opacity .3s; }
.stage-step.live, .stage-step.done { opacity: 1; }
.stage-step.live { background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line); }
.stage-step header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stage-step h3 { margin: 0; font-weight: 500; font-size: 18px; }
.stage-step .st { font-size: 13px; color: var(--grey); }
.stage-step.done .st { color: var(--forest-2); }
.stage-step .body { margin-top: 14px; display: none; }
.stage-step.live .body, .stage-step.done .body.keep { display: block; }
.field { display: flex; gap: 8px; flex-wrap: wrap; }
.field input, .field textarea { flex: 1 1 260px; min-width: 0; height: 46px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--sheet); font: 400 15px 'Switzer', sans-serif; color: var(--ink); }
.field textarea { height: 88px; padding: 12px 14px; resize: vertical; }
.toggle { display: inline-flex; background: var(--paper); border-radius: 8px; padding: 4px; }
.toggle button { border: 0; background: transparent; padding: 8px 14px; border-radius: 6px; font-size: 14px; }
.toggle button[aria-pressed='true'] { background: var(--sheet); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.note { font-size: 13.5px; color: var(--grey); margin: 10px 0 0; }
.note.bad { color: var(--warn); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 14px 0; }
.facts div { background: var(--paper); border-radius: 8px; padding: 12px 14px; }
.panel.deep .facts div { background: rgba(238, 228, 210, .08); }
.facts dt { font-size: 12.5px; color: var(--grey); }
.panel.deep .facts dt { color: var(--sage); }
.facts dd { margin: 4px 0 0; font-size: 20px; letter-spacing: -.01em; }
.setlist { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.setlist button { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; text-align: left; border: 0; background: var(--paper); border-radius: 8px; padding: 10px 12px; }
.setlist button:hover { background: var(--paper-2); }
.setlist img, .setlist .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--paper-2); }
.setlist small { color: var(--grey); font-size: 12.5px; display: block; }
.anon { display: flex; flex-wrap: wrap; gap: 5px; margin: 16px 0 6px; max-width: 520px; }
.anon i { width: 10px; height: 10px; border-radius: 50%; background: var(--sage); opacity: .9; }
.anon i.off { background: rgba(238, 228, 210, .14); }
.verdict { display: flex; align-items: center; gap: 14px; font-size: clamp(20px, 1.7vw, 28px); letter-spacing: -.015em; }
.verdict .pip { width: 14px; height: 14px; border-radius: 50%; background: var(--sage); animation: breathe 2.4s ease-in-out infinite; }
.verdict.ok .pip { background: #7fd1a3; animation: none; }
.verdict.no .pip { background: #d98b5f; animation: none; }
.claimbig { font-size: clamp(30px, 3.4vw, 62px); line-height: 1.08; letter-spacing: -.03em; margin: 18px 0 26px; quotes: '\201C' '\201D'; display: block; }
.kv { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 10px 18px; font-size: 14px; margin: 0; }
.kv dt { color: var(--grey); }
.panel.deep .kv dt { color: var(--sage); }
.kv dd { margin: 0; }
.prose { max-width: 760px; }
.prose h2 { font-weight: 400; font-size: clamp(28px, 2.4vw, 40px); letter-spacing: -.025em; margin: 64px 0 14px; line-height: 1.05; }
.prose h3 { font-weight: 500; font-size: 19px; margin: 32px 0 8px; }
.prose p, .prose li { color: #3b3a35; font-size: 16.5px; line-height: 1.65; }
.prose code { font: 400 .88em 'Plex Mono', monospace; background: var(--paper-2); padding: 1px 5px; border-radius: 4px; word-break: break-word; }
.prose pre { background: var(--forest); color: var(--cream); border-radius: var(--r); padding: 18px 20px; overflow-x: auto; font: 400 13.5px/1.6 'Plex Mono', monospace; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose td, .prose th { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 500; color: var(--grey); }
.docs-wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); }
.toc { position: sticky; top: calc(58px + var(--gut) * 2 + 20px); align-self: start; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.toc a { color: var(--grey); }
.toc a:hover { color: var(--ink); }
.gauges { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gut); margin-bottom: var(--gut); }
.gauge { background: var(--sheet); border-radius: var(--r); padding: 22px; min-height: 160px; display: flex; flex-direction: column; justify-content: space-between; }
.gauge b { font-weight: 400; font-size: clamp(44px, 4vw, 72px); letter-spacing: -.04em; line-height: 1; }
.gauge span { color: var(--grey); font-size: 14px; }
.gauge.deep { background: var(--forest); color: var(--cream); }
.gauge.deep span { color: var(--sage); }

@keyframes breathe { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-6px); } }

@media (max-width: 1080px) {
  .links { display: none; }
  .say, .split, .pair { grid-template-columns: 1fr; }
  .docs-wrap { grid-template-columns: 1fr; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .bar { height: 54px; padding: 0 6px 0 12px; gap: 8px; }
  .mark span { display: none; }
  .ends { margin-left: auto; gap: 2px; }
  .ends .go:not(.buy) { padding: 0 12px; }
  .ca { max-width: 120px; overflow: hidden; }
  .reel { height: calc(100svh - 54px - var(--gut) * 3); min-height: 600px; }
  .reel h1 { font-size: clamp(40px, 12vw, 64px); right: 18px; }
  .latest { left: 16px; right: 16px; width: auto; bottom: auto; top: 16px; }
  .latest .go { display: none; }
  .root-tag { display: none; }
  .tally { aspect-ratio: auto; gap: 40px; }
  .case { flex-basis: 84vw; aspect-ratio: .82; }
  .flow-in { flex-direction: column; padding-right: var(--gut); }
  .flow-lede, .stepcard { flex: none; min-height: 0; }
  .stepcard { gap: 30px; }
  .row { grid-template-columns: 64px 1fr; }
  .row .pic { width: 64px; height: 56px; }
  .row .read { display: none; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .foot-grid { grid-template-columns: 1fr; }
  .word { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.docs-wrap > * { min-width: 0; }
.prose > h2:first-child { margin-top: 0; }
.prose table { display: block; overflow-x: auto; }
.prose h2, .prose h3 { scroll-margin-top: 100px; }
@media (max-width: 1080px) { .toc { overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; } }
