/* rental.fyi — Stonekey paper: cool off-white, navy ink, one cobalt accent.
   Same sizing and spacing as before. Inter + IBM Plex Mono. */
@font-face { font-family: 'Inter'; src: url('/fonts/Inter.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/fonts/IBMPlexMono-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/fonts/IBMPlexMono-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --paper: #F1F2EF; --panel-paper: #F7F8F5; --sheet: #FDFDFB;
  --ink: #16233B; --ink-soft: #45516A; --ink-faint: #8B93A3;
  --rule: #C9CDD2; --rule-strong: #9AA1AC;
  --blue: #1650E0; --blue-deep: #0E3ABF; --blue-wash: #DCE4FA;
  --ok: #1F7A46; --warn: #B23A2A; --amber: #B45309;
  --bg: var(--paper); --bg2: var(--panel-paper); --panel: var(--panel-paper); --panel2: var(--sheet);
  --line: var(--rule); --line2: var(--rule-strong);
  --text: var(--ink); --muted: var(--ink-soft); --dim: var(--ink-faint);
  --accent: var(--blue); --accent-2: var(--blue-deep); --accent-ink: #ffffff;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1200px; --gut: 24px;
  --hatch: repeating-linear-gradient(90deg, transparent 0 27px, rgba(22,35,59,.035) 27px 28px);
  --hatch-accent: repeating-linear-gradient(135deg, transparent 0 1.5px, rgba(22,80,224,.18) 1.5px 3px);
  --hazard: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background-color: var(--paper); color: var(--ink);
  background-image:
    repeating-linear-gradient(90deg, transparent 0 27px, rgba(22,35,59,.035) 27px 28px),
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(22,35,59,.022) 27px 28px);
  font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
/* iOS Safari zooms the page when a control under 16px gets focus and never zooms
   back out; 16px is the floor for every text control. touch-action: manipulation
   keeps double-taps on buttons/tiles from zooming too (pinch-zoom still works). */
input, select, textarea { font-size: 16px; }
a, button, label, input, select, textarea, summary { touch-action: manipulation; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.08; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: .95; }
h1 em { font-style: normal; color: var(--ink-soft); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.05rem; letter-spacing: .01em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-size: .7rem; letter-spacing: .02em; text-transform: uppercase; }
.dim { color: var(--dim); }
.tiny { font-size: .62rem; }
.tag { color: var(--accent); margin-bottom: .6rem; font-weight: 500; }
.idx { color: var(--accent); }

/* ---- ticker ---- */
.ticker { background: var(--ink); color: #F1F2EF; overflow: hidden; white-space: nowrap; font-weight: 500; padding: 6px 0; border-bottom: 1px solid var(--ink); }
.ticker-track { display: inline-flex; animation: ticker 48s linear infinite; }
.ticker-track span { padding: 0 14px; }
.ticker-track span::after { content: '/'; margin-left: 28px; opacity: .55; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---- header ---- */
.top { max-width: var(--max); margin: 0 auto; padding: 18px var(--gut) 14px; display: grid; grid-template-columns: auto 1fr 1fr auto; gap: 28px; align-items: start; }
.brand { color: var(--text); display: grid; line-height: .9; }
.brand:hover { text-decoration: none; }
.brand b { font-size: 1.45rem; font-weight: 700; letter-spacing: -.01em; }
.brand span { color: var(--blue); margin-top: 4px; }
.meta { display: grid; gap: 4px; color: var(--muted); align-content: start; padding-top: 4px; }
.meta div { display: grid; grid-template-columns: 58px 1fr; gap: 10px; }
.meta span { color: var(--dim); }
.meta b { font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.led { width: 7px; height: 7px; background: var(--accent); display: inline-block; animation: blink 2.4s steps(1) infinite; }
@keyframes blink { 0%, 70% { opacity: 1 } 71%, 100% { opacity: .25 } }
.top .btn-sm { justify-self: end; }
.topnav { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: flex; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow-x: auto; }
.topnav a { color: var(--muted); padding: 10px 18px 10px 0; margin-right: 18px; border-right: 1px solid var(--line); white-space: nowrap; }
.topnav a:last-child { border-right: 0; }
.topnav a:hover { color: var(--text); text-decoration: none; }
.topnav a::before { content: attr(data-i) ' '; color: var(--accent); margin-right: 6px; }
@media (max-width: 700px) {
  .topnav { flex-wrap: wrap; overflow: visible; padding: 0; border-bottom: 0; }
  .topnav a { flex: 1 1 auto; margin-right: 0; padding: 10px 14px; border-bottom: 1px solid var(--line); }
  .topnav a:last-child { border-right: 1px solid var(--line); }
}
@media (max-width: 960px) { .top { grid-template-columns: 1fr auto; } .meta { display: none; } }
@media (max-width: 400px) {
  .top { grid-template-columns: 1fr; gap: 14px; }
  .top .btn-sm { justify-self: stretch; }
}

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--ink); padding: 12px 20px; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; color: var(--ink); background: var(--paper); cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; white-space: nowrap; border-radius: 0; line-height: 1.3; }
.btn:hover { text-decoration: none; border-color: var(--blue); color: var(--blue); background: var(--sheet); }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn.busy,
.btn-primary.busy,
.btn-primary:disabled.busy { pointer-events: none; opacity: 1; }
.btn.busy::after {
  content: '';
  width: .7em;
  height: .7em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: btnspin .55s linear infinite;
  flex: 0 0 auto;
}
.btn.sent { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.shake { animation: btnshake .4s ease; }
@keyframes btnspin { to { transform: rotate(360deg); } }
@keyframes btnshake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.btn-outline { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn-outline:hover { background: var(--blue-wash); border-color: var(--blue-deep); color: var(--blue-deep); }
.btn-ghost { background: transparent; }
.btn-lg { padding: 16px 26px; font-size: .78rem; }
.btn-sm { padding: 10px 14px; font-size: .66rem; }
.price { border-left: 1px solid rgba(255,255,255,.35); padding-left: 12px; }
.btn-ghost .price { border-left-color: var(--rule); }

/* ---- hero ---- */
main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; padding: 56px 0 48px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 32px; gap: 32px; } }
.kicker { color: var(--ink-soft); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-weight: 500; }
.kicker::before { content: '>>>'; color: var(--blue); width: auto; height: auto; background: none; }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 54ch; margin-top: 22px; }
.spec { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--line); max-width: 560px; }
.spec li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.spec li span:first-child { color: var(--dim); }
.spec li b { font-weight: 500; color: var(--text); }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0 14px; }
.pay-note { color: var(--dim); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.wallets { display: inline-flex; gap: 6px; }
.w { border: 1px solid var(--line2); padding: 2px 7px; font-size: .6rem; color: var(--muted); }

/* ---- inspection plate ---- */
.hero-visual { margin: 0; }
.plate { position: relative; background: var(--sheet); border: 1px solid var(--rule-strong); padding: 14px; }
.plate::before, .plate::after { content: ''; position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--ink); pointer-events: none; }
.plate::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.plate::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.plate-bar { display: flex; justify-content: space-between; color: var(--dim); padding: 0 2px 10px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.stage-label { color: var(--accent); font-weight: 500; }
.head, .plan { width: 100%; height: auto; display: block; background-image: radial-gradient(var(--rule) .8px, transparent .8px); background-size: 18px 18px; }
.pr rect { fill: #F7F8F5; stroke: #9AA1AC; stroke-width: 1.2; }
.pr.hot rect { fill: #DCE4FA; stroke: #1650E0; }
.pr text { font-family: var(--mono); font-size: 7px; fill: #8B93A3; letter-spacing: .1em; text-transform: uppercase; }
.pr.hot text { fill: #1650E0; }
.svg-mono { font-family: var(--mono); font-size: 7px; fill: var(--dim); letter-spacing: .12em; text-transform: uppercase; }
.hs { opacity: 0; animation: hairstage 24s infinite; animation-delay: calc(var(--i) * 3s); }
@keyframes hairstage { 0% { opacity: 0 } 1.5% { opacity: 1 } 11.5% { opacity: 1 } 13% { opacity: 0 } 100% { opacity: 0 } }
.scan { animation: scan 3s linear infinite; }
@keyframes scan { 0% { transform: translateY(24px); opacity: 0 } 12% { opacity: .9 } 88% { opacity: .9 } 100% { transform: translateY(226px); opacity: 0 } }
@media (prefers-reduced-motion: reduce) {
  .hs { animation-duration: 48s; }
  .scan { animation: none; opacity: 0; }
  .led { animation: none; }
  .ticker-track { animation: none; }
}
.readout { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin: 12px 0 0; border-top: 1px solid var(--line); }
.readout div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 8px 2px; color: var(--dim); }
.readout dd { margin: 0; color: var(--text); font-weight: 500; }
figcaption { margin-top: 10px; text-align: left; }

/* ---- output strip ---- */
.strip { display: flex; flex-wrap: wrap; gap: 8px 0; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 8px 0 24px; }
.strip span { padding-right: 22px; }
.strip span::before { content: '>>>'; color: var(--blue); margin-right: 8px; }

/* ---- sections ---- */
.section { padding: 58px 0 0; }
.section-head { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: baseline; border-top: 1px solid var(--line2); padding-top: 16px; margin-bottom: 30px; }
.section-head h2 { margin: 0; }
@media (max-width: 700px) { .section-head { grid-template-columns: 64px 1fr; } .section-head .mono.dim { grid-column: 2; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.steps li { padding: 22px 22px 26px; border-right: 1px solid var(--line); position: relative; }
.steps li:last-child { border-right: 0; }
.step-n { display: block; font-size: 3.4rem; font-weight: 800; font-stretch: 110%; color: var(--line2); line-height: 1; margin-bottom: 22px; }
.steps h3 { margin-bottom: 10px; }
.steps p, .card p { color: var(--muted); margin: 0; font-size: .96rem; }
.grid4 { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.card { background: var(--bg); padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid3 .card { border-bottom: 0; }
.grid3 .card:last-child, .grid4 .card:nth-child(2n) { border-right: 0; }
.grid4 .card:nth-last-child(-n+2) { border-bottom: 0; }
.card .code { display: flex; justify-content: space-between; color: var(--dim); margin-bottom: 18px; }
.card .code em { font-style: normal; color: var(--accent); }
.card h3 { margin-bottom: 10px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; } .steps li { border-right: 0; border-bottom: 1px solid var(--line); } .steps li:last-child { border-bottom: 0; }
  .grid3 { grid-template-columns: 1fr; } .grid3 .card { border-right: 0; border-bottom: 1px solid var(--line); } .grid3 .card:last-child { border-bottom: 0; }
}
@media (max-width: 600px) {
  .grid4 { grid-template-columns: 1fr; } .grid4 .card { border-right: 0; border-bottom: 1px solid var(--line); } .grid4 .card:last-child { border-bottom: 0; }
}
.evidence { margin-top: 26px; border: 1px solid var(--line); padding: 16px 18px; background: var(--bg2); }
.sources { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: .92rem; }
.sources li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: baseline; }
.sources b { color: var(--text); font-family: var(--mono); font-size: .64rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 500; }
@media (max-width: 600px) { .sources li { grid-template-columns: 1fr; gap: 2px; } }
.receipt-demo { margin: 22px auto 0; max-width: 760px; }
.receipt-demo img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.hatch-rule { height: 10px; background: var(--hatch); border: 1px solid var(--line); border-left: 0; border-right: 0; margin: 34px 0 0; }
.disclaimer { color: var(--dim); font-size: .88rem; margin-top: 22px; max-width: 84ch; }

/* ---- sample readout ---- */
.sample { display: grid; grid-template-columns: 220px 1fr; border: 1px solid var(--line); margin-top: 26px; }
@media (max-width: 700px) { .sample { grid-template-columns: 1fr; } }
.sample .big { border-right: 1px solid var(--line); padding: 20px; display: grid; align-content: center; gap: 6px; background: var(--bg2); }
.sample .big .roman { font-size: 4.6rem; font-weight: 800; font-stretch: 112%; line-height: 1; }
.sample dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.sample dl div { padding: 12px 18px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); display: grid; gap: 3px; }
.sample dl div:nth-child(2n) { border-right: 0; }
.sample dl div:nth-last-child(-n+2) { border-bottom: 0; }
.sample dt { color: var(--dim); }
.sample dd { margin: 0; color: var(--text); font-weight: 500; }
.bar { height: 6px; background: var(--line); position: relative; margin-top: 6px; }
.bar i { position: absolute; inset: 0 auto 0 0; background: var(--accent); }

/* ---- pricing ---- */
.pricing { display: flex; justify-content: center; }
.price-card { background: var(--bg2); border: 1px solid var(--line2); padding: 0; width: min(460px, 100%); display: grid; position: relative; }
.price-card::before { content: ''; display: block; height: 8px; background: var(--ink); border-bottom: 1px solid var(--ink); }
.price-body { padding: 26px 28px 28px; display: grid; gap: 16px; min-width: 0; }
.price-body > * { min-width: 0; }
@media (max-width: 480px) { .price-body { padding: 22px 18px 22px; } }
.big-price { font-size: 5.2rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; margin: 0; display: flex; align-items: baseline; gap: 4px; }
.big-price span { font-size: 1rem; letter-spacing: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checks li { padding: 9px 0 9px 30px; position: relative; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.checks li::before { content: ''; position: absolute; left: 0; top: .85em; width: 14px; height: 14px; border: 1px solid var(--accent); }
.checks li::after { content: ''; position: absolute; left: 4px; top: 1.18em; width: 6px; height: 3px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ---- faq ---- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q' counter(q); counter-increment: q; font-family: var(--mono); font-size: .7rem; color: var(--accent); }
.faq { counter-reset: q; }
.faq summary::after { content: '+'; color: var(--accent); font-family: var(--mono); }
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--muted); margin: 12px 0 0 68px; }
@media (max-width: 600px) { .faq summary { grid-template-columns: 36px 1fr auto; } .faq p { margin-left: 48px; } }

/* ---- footer ---- */
.foot { max-width: var(--max); margin: 64px auto 0; padding: 18px var(--gut) 44px; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 10px 24px; border-top: 1px solid var(--line2); color: var(--dim); }
.foot a { color: var(--muted); }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr 1fr; } }

/* ---- checkout modal ---- */
.checkout { border: 1px solid var(--rule-strong); background: var(--sheet); color: var(--ink); border-radius: 0; padding: 0; width: min(460px, calc(100vw - 24px)); box-shadow: 0 24px 80px rgba(22,35,59,.18); }
.checkout::backdrop { background: rgba(22,35,59,.45); }
.checkout form { padding: 0 22px 22px; display: grid; gap: 14px; }
.checkout-head { display: flex; justify-content: space-between; align-items: center; margin: 0 -22px 4px; padding: 14px 22px; border-bottom: 1px solid var(--line); background: var(--panel); }
.checkout-head h2 { font-size: 1.1rem; margin: 0; }
.icon-btn { background: transparent; border: 1px solid var(--line2); color: var(--muted); width: 32px; height: 32px; font-size: 1.1rem; cursor: pointer; border-radius: 0; }
.icon-btn:hover { color: var(--text); border-color: var(--muted); }
.checkout-row { display: flex; justify-content: space-between; color: var(--muted); border: 1px solid var(--line2); padding: 10px 12px; background: var(--blue-wash); }
.checkout-row strong { color: var(--text); }
.keep-opt { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: .95rem; line-height: 1.4; cursor: pointer; }
.keep-opt input { width: auto; margin-top: 3px; accent-color: var(--accent); flex: none; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--dim); margin: 6px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line2); }
#pe { min-height: 40px; }
#ece-wrap.pending .divider { display: none; }
.redeem { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; min-width: 0; }
/* minmax(0, 1fr): the input's intrinsic width (~20ch) must not set the card's minimum */
.redeem-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; min-width: 0; }
.redeem input { width: 100%; min-width: 0; font-family: var(--mono); font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--text); background: var(--bg2); border: 1px solid var(--line2); border-radius: 0; padding: 10px 12px; }
.redeem input::placeholder { color: var(--dim); letter-spacing: .08em; }
.redeem input:focus { outline: none; border-color: var(--accent); }
.msg { min-height: 1.2em; color: var(--warn); margin: 0; font-size: .9rem; }
.msg.ok { color: var(--ok); }

/* ---- docs / scale pages ---- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--dim); margin: 18px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs .sep { color: var(--line2); }
.doc { max-width: 68ch; padding-bottom: 12px; }
.doc .lede { max-width: none; }
.doc p { color: var(--muted); }
.doc h2 { margin: 1.15em 0 .45em; }
.doc h3 { margin: 1.05em 0 .4em; }
.doc ul, .doc ol { color: var(--muted); padding-left: 1.25em; margin: 0 0 1.05em; }
.doc li { margin: 0 0 .45em; }
.doc strong { color: var(--text); font-weight: 650; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.stage-index { display: grid; grid-template-columns: repeat(7, 1fr); border: 1px solid var(--line); margin: 10px 0 28px; }
.stage-index a { display: grid; gap: 6px; padding: 14px 8px; text-align: center; color: var(--text); border-right: 1px solid var(--line); text-decoration: none; }
.stage-index a:last-child { border-right: 0; }
.stage-index a:hover { background: var(--panel); text-decoration: none; }
.stage-index a.on { background: var(--panel2); color: var(--accent); }
.stage-index .r { font-size: 1.25rem; font-weight: 800; line-height: 1; }
.stage-index .n { font-family: var(--mono); font-size: .58rem; color: var(--dim); letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 700px) {
  .stage-index { grid-template-columns: repeat(4, 1fr); }
  .stage-index a { border-bottom: 1px solid var(--line); }
  .stage-index a:nth-child(4n) { border-right: 0; }
  .stage-index a:nth-last-child(-n+3) { border-bottom: 0; }
}
.scale-list { border: 1px solid var(--line); margin: 0 0 28px; }
.scale-list a { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; align-items: start; }
.scale-list a:last-child { border-bottom: 0; }
.scale-list a:hover { background: var(--panel); text-decoration: none; }
.scale-list .roman { font-size: 1.8rem; font-weight: 800; line-height: 1; color: var(--text); }
.scale-list p { margin: 0; color: var(--muted); font-size: .95rem; }
.scale-list .go { color: var(--accent); font-family: var(--mono); font-size: .66rem; letter-spacing: .04em; text-transform: uppercase; align-self: center; white-space: nowrap; }
@media (max-width: 600px) {
  .scale-list a { grid-template-columns: 56px 1fr; }
  .scale-list .go { display: none; }
}
.cta-band { margin: 36px 0 8px; border: 1px solid var(--line2); background: var(--bg2); padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0; font-size: 1.35rem; }
.cta-band p { margin: 6px 0 0; color: var(--muted); max-width: 52ch; }
.pager { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 28px; }
.pager a { color: var(--muted); max-width: 46%; }
.pager .dir { display: block; font-family: var(--mono); font-size: .62rem; color: var(--accent); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.mini-plate { margin: 18px 0 22px; max-width: 420px; }
.mini-plate svg { width: 100%; height: auto; display: block; background-image: radial-gradient(var(--line) .8px, transparent .8px); background-size: 18px 18px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); margin: 0 0 22px; }
.kv div { padding: 12px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); display: grid; gap: 3px; }
.kv div:nth-child(2n) { border-right: 0; }
.kv div:nth-last-child(-n+2) { border-bottom: 0; }
.kv dt { color: var(--dim); font-family: var(--mono); font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; }
.kv dd { margin: 0; color: var(--text); font-weight: 500; }
@media (max-width: 600px) {
  .kv { grid-template-columns: 1fr; }
  .kv div, .kv div:nth-child(2n), .kv div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .kv div:last-child { border-bottom: 0; }
}
.toc { list-style: none; padding: 0; margin: 0 0 28px; border: 1px solid var(--line); }
.toc li { border-bottom: 1px solid var(--line); }
.toc li:last-child { border-bottom: 0; }
.toc a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); text-decoration: none; background: var(--panel); }
.toc a::after { content: attr(data-i); font-family: var(--mono); font-size: .62rem; color: var(--accent); letter-spacing: .04em; }
