/* The Quit Ledger. Pre-emit self-critique: figures are the heroes (giant tabular roman Archivo, ember on ash); every figure
   sits beside its words and source; no italic headings; no stock imagery, only unit-square charts built from sourced values;
   slop test: no gradient blobs, no glass cards, no icon-in-circle grids, no centred stock hero. Distinct micro-details:
   tick-ruler rules, tally-stroke bullets, bar-flag buttons, dashed focus ring, torn adding-machine tape footer. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: var(--text-body); line-height: 1.6; font-variant-numeric: lining-nums; overflow-wrap: break-word; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
a { color: var(--ember); text-decoration: underline dotted; text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
a:hover { text-decoration-style: solid; }
:focus-visible { outline: 3px dashed var(--bone); outline-offset: 4px; border-radius: 0; }
.skip { position: absolute; left: -999px; top: 0; padding: 0.7rem 1rem; background: var(--ember); color: var(--paper); z-index: 100; }
.skip:focus { left: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.kicker, .hero__kicker, .plate__kicker, .plate__lab { font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); }

/* tick ruler rule */
.stage::before, .hero::after, .foot::before, .plate::before, .plate::after {
  content: ""; display: block; height: 10px;
  background:
    linear-gradient(var(--rule), var(--rule)) 0 0 / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 10px) 0 0 / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, var(--ink-faint) 0 1px, transparent 1px 50px) 0 0 / 100% 10px no-repeat;
}

/* ---------- top bar and calculator-key stage nav ---------- */
.top { border-bottom: 1px solid var(--rule); background: var(--paper); }
.top__bar { display: grid; gap: 0.9rem; padding-block: 0.9rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--ink); text-decoration: none; }
.brand svg { width: 2.4rem; height: 1.9rem; flex: none; }
.mk-bar { stroke: var(--ink); stroke-width: 3.2; fill: none; }
.mk-strike { stroke: var(--ember); stroke-width: 3.2; fill: none; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-stretch: 75%; font-size: 1.6rem; letter-spacing: 0.01em; line-height: 1; text-transform: uppercase; }
.keys__ol { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.45rem; }
.keys__item { position: relative; }
.key { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1rem; min-height: 3.1rem; padding: 0.3rem 0.2rem; color: var(--ink); background: var(--paper-3); border: 0; border-bottom: 5px solid oklch(12% 0.01 62); border-radius: 0.15rem; text-decoration: none; }
.key__no { font-family: var(--font-display); font-weight: 800; font-stretch: 75%; font-size: 1.6rem; line-height: 1; }
.key__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.key:hover { background: var(--rule); }
.keys__item.is-here > .key { background: var(--ember); color: var(--paper); border-bottom-width: 1px; margin-top: 4px; }
.key__list { display: none; list-style: none; }
.keys__here { padding-bottom: 0.8rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; line-height: 1.7; color: var(--ink-dim); }
.keys__here a { color: var(--ink-dim); margin-right: 1rem; white-space: nowrap; display: inline-block; padding: 0.25rem 0; }
.keys__here a[aria-current] { color: var(--ember); }
.keys__here b { font-weight: 500; color: var(--ink); text-transform: uppercase; letter-spacing: 0.12em; margin-right: 1rem; }
@media (min-width: 52rem) {
  .top__bar { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2rem; }
  .keys__ol { grid-template-columns: repeat(6, minmax(5.2rem, 7.5rem)); justify-content: end; }
  .key { flex-direction: row; justify-content: flex-start; gap: 0.6rem; padding: 0.3rem 0.7rem; min-height: 3.2rem; }
  .key__name { position: static; width: auto; height: auto; overflow: visible; clip-path: none; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.15; text-align: left; white-space: normal; }
  .key__list { position: absolute; top: calc(100% + 0.3rem); right: 0; z-index: 30; min-width: 17rem; padding: 0.6rem 1rem 0.7rem; background: var(--paper-2); border: 1px solid var(--rule); border-top: 3px solid var(--ember); box-shadow: 0 0.6rem 1.5rem var(--shadow); }
  .key__list a { display: block; padding: 0.3rem 0; color: var(--ink-dim); text-decoration: none; font-size: 1rem; }
  .key__list a:hover, .key__list a[aria-current] { color: var(--ember); }
  .keys__item:hover > .key__list, .keys__item:focus-within > .key__list { display: block; }
}

/* ---------- figures ---------- */
.fig { --fs: 4rem; display: inline-flex; align-items: baseline; gap: 0.08em; font-family: var(--font-display); font-weight: 800; font-stretch: 62%; font-size: var(--fs); line-height: 0.84; letter-spacing: -0.015em; color: var(--ember); font-variant-numeric: tabular-nums lining-nums; }
.fig--hero { --fs: clamp(7.5rem, 33vw, 19rem); }
.fig--xl { --fs: clamp(6rem, 24vw, 11.5rem); }
.fig--sm { --fs: clamp(2.7rem, 10vw, 3.5rem); }
.fig__u--sym { font-size: 0.55em; font-stretch: 75%; }
.fig__u--word { font-family: var(--font-mono); font-weight: 500; font-stretch: 100%; font-size: clamp(0.72rem, calc(var(--fs) * 0.1), 1.35rem); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); }
.fig--none { color: var(--ink-faint); }
.fig--none .fig__n { font-stretch: 75%; }

/* ---------- hero (home) ---------- */
.hero { padding-block: clamp(1.75rem, 5vw, 3.75rem) 0; }
.hero__grid { display: grid; gap: var(--space-4); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.hero__kicker { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hero__kicker span:first-child { color: var(--ember); }
.hero__h1 { font-weight: 400; margin: 0; }
.hero__fig { display: block; margin-left: -0.04em; }
.hero__words { display: block; margin-top: 1.1rem; max-width: 24ch; font-family: var(--font-display); font-weight: 700; font-stretch: 88%; font-size: clamp(1.5rem, 1rem + 2.6vw, 2.5rem); line-height: 1.1; letter-spacing: -0.005em; }
.hero__src { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; align-items: baseline; font-family: var(--font-mono); font-size: 0.8rem; }
.src__yr { font-family: var(--font-mono); color: var(--ink-dim); margin-left: 0.7rem; }
.src__yr::before { content: "/"; margin-right: 0.7rem; color: var(--ink-faint); }
.hero__lede { margin-top: var(--space-3); max-width: 38rem; color: var(--ink-dim); }
.hero__cta { margin-top: var(--space-3); display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__viz { align-self: end; max-width: 20rem; }
.hero__viz svg { width: 100%; height: auto; }
.hero__viz figcaption { margin-top: 0.8rem; font-family: var(--font-mono); font-size: 0.72rem; line-height: 1.5; letter-spacing: 0.04em; color: var(--ink-dim); }
@media (min-width: 62rem) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); align-items: end; gap: var(--space-5); }
}

/* waffle and tick charts */
.wf-on { fill: var(--ember); }
.wf-off { fill: none; stroke: var(--ink-faint); stroke-width: 0.8; }
.tickscale { width: 100%; height: auto; }
.tk-base { stroke: var(--ink-faint); stroke-width: 1; fill: none; }
.tk-major { stroke: var(--ember); stroke-width: 2; fill: none; }
.tk-minor { stroke: var(--ink-faint); stroke-width: 1; fill: none; }
.tenrow { width: 100%; height: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.7rem 1.3rem 0.7rem 1.1rem; font: 500 0.8rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--paper); background: var(--ember); border: 0; border-left: 6px solid var(--bone); border-radius: 0; cursor: pointer; transition: transform 0.15s ease; }
.btn:hover { transform: translateX(3px); }
.btn--line { color: var(--ink); background: var(--paper-3); border-left-color: var(--ember); }
.btn--line:hover { background: var(--paper-2); }

/* ---------- ledger rows ---------- */
.ledger { border-top: 0; padding-block: var(--space-4) var(--space-5); }
.ledger__head { max-width: 46rem; margin-bottom: var(--space-4); }
.ledger__head h2 { margin-top: 0.5rem; font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: clamp(1.9rem, 1.2rem + 3vw, 3.2rem); line-height: 1.02; letter-spacing: -0.005em; }
.ledger__head p:last-child { margin-top: 1rem; color: var(--ink-dim); }
.stage { position: relative; display: grid; gap: 1rem 3rem; padding-block: 0 var(--space-4); }
.stage::before { margin-bottom: 1.5rem; grid-column: 1 / -1; }
.stage__head { display: grid; grid-template-columns: auto 1fr; column-gap: 0.9rem; align-content: start; }
.glyph { width: 2.6rem; height: 2.6rem; grid-row: 1 / span 2; }
.gl-line { fill: none; stroke: var(--ember); stroke-width: 2.4; stroke-linecap: butt; stroke-linejoin: miter; }
.gl-fill { fill: var(--ember); stroke: none; }
.stage__no { font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); align-self: end; }
.stage__head h3 { font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: 2rem; line-height: 1; }
.stage__head p:last-child { grid-column: 1 / -1; margin-top: 0.8rem; color: var(--ink-dim); max-width: 26rem; }
.rows { list-style: none; }
.row { border-top: 1px solid var(--rule); }
.row:last-child { border-bottom: 1px solid var(--rule); }
.row__a { display: grid; grid-template-columns: minmax(4.6rem, 7.5rem) minmax(0, 1fr); gap: 0.4rem 1.1rem; align-items: center; padding: 1.1rem 0.5rem; color: var(--ink); text-decoration: none; }
.row__a:hover { background: var(--paper-2); }
.row__fig { display: block; }
.row__txt { display: grid; gap: 0.2rem; min-width: 0; }
.row__title { font-family: var(--font-display); font-weight: 700; font-stretch: 92%; font-size: 1.2rem; line-height: 1.15; }
.row__a:hover .row__title { color: var(--ember); text-decoration: underline dotted 2px; text-underline-offset: 0.2em; }
.row__words { color: var(--ink-dim); font-size: 1.02rem; line-height: 1.35; }
.row__src { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.03em; color: var(--ink-dim); }
.row__src .src__yr { margin-left: 0.4rem; }
.row__src .src__yr::before { margin-right: 0.4rem; }
.row__go { display: none; font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ember); }
@media (min-width: 40rem) { .row__a { grid-template-columns: minmax(6rem, 8.5rem) minmax(0, 1fr) auto; gap: 0.4rem 1.6rem; } .row__go { display: block; } }
@media (min-width: 62rem) {
  .stage { grid-template-columns: 17rem minmax(0, 1fr); }
  .stage__head { position: sticky; top: 1.5rem; align-self: start; }
  .stage > .rows { margin-top: 0; }
}

/* ---------- method band ---------- */
.method { background: var(--paper-2); padding-block: var(--space-5); }
.method h2 { font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.7rem); line-height: 1.05; margin-bottom: var(--space-3); }
.method__list { list-style: none; display: grid; gap: var(--space-3); }
.method__list li { border-top: 3px double var(--ember); padding-top: 1rem; }
.method__list .glyph { margin-bottom: 0.8rem; }
.method__list h3 { font-family: var(--font-display); font-weight: 700; font-stretch: 90%; font-size: 1.3rem; margin-bottom: 0.4rem; }
.method__list p { color: var(--ink-dim); }
.method__more { margin-top: var(--space-4); display: flex; flex-wrap: wrap; gap: 0.8rem; }
@media (min-width: 52rem) { .method__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); } }

/* ---------- article ---------- */
.crumbs { padding-block: 1.1rem 0.4rem; font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.06em; text-transform: uppercase; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.2rem 0; }
.crumbs li + li::before { content: "/"; margin: 0 0.6rem; color: var(--ink-faint); }
.crumbs a { color: var(--ink-dim); }
.crumbs [aria-current] { color: var(--ink); }
.plate { display: grid; gap: 1rem 2rem; margin-top: 0.8rem; padding-bottom: 1.8rem; }
.plate::before { grid-column: 1 / -1; margin-bottom: 0.6rem; }
.plate::after { grid-column: 1 / -1; order: 99; margin-top: 0.6rem; transform: scaleY(-1); }
.plate__kicker { display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; }
.plate__kicker span:first-child { color: var(--ember); }
.plate__words { font-family: var(--font-display); font-weight: 700; font-stretch: 88%; font-size: clamp(1.3rem, 1rem + 1.6vw, 2rem); line-height: 1.15; max-width: 28ch; }
.plate__src { margin-top: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.3rem 0.8rem; align-items: baseline; font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.5; }
.plate__viz { max-width: 11rem; }
.plate__viz svg { width: 100%; height: auto; }
.plate--none .plate__words { color: var(--ink-dim); font-weight: 600; }
@media (min-width: 54rem) {
  .plate { grid-template-columns: auto minmax(0, 1fr) 11rem; align-items: end; }
  .plate__kicker { grid-column: 1 / -1; }
  .plate--none { grid-template-columns: auto minmax(0, 1fr); }
}
.art-head { padding-block: var(--space-4) var(--space-3); max-width: 52rem; }
.art-head h1 { font-family: var(--font-display); font-weight: 800; font-stretch: 82%; font-size: clamp(2.1rem, 1.3rem + 3.8vw, 3.9rem); line-height: 1.02; letter-spacing: -0.008em; text-wrap: balance; }
.art-head__dek { margin-top: 1rem; font-size: 1.3em; line-height: 1.4; color: var(--ink-dim); }
.art-head__meta { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.3rem 1.3rem; font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); }
.art-grid { display: grid; gap: var(--space-2); padding-top: var(--space-2); }
.margin:empty { display: none; }
.contents { border-top: 3px double var(--ember); background: var(--paper-2); }
.contents summary { cursor: pointer; padding: 0.8rem 1rem; font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.14em; text-transform: uppercase; min-height: 2.75rem; }
.contents ol { list-style: none; counter-reset: toc; padding: 0 1rem 1rem; }
.contents li { counter-increment: toc; padding: 0.3rem 0; font-size: 0.98rem; line-height: 1.3; }
.contents li::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.7rem; color: var(--ember); margin-right: 0.6rem; }
.contents a { color: var(--ink-dim); text-decoration: none; }
.contents a:hover { color: var(--ember); }
@media (min-width: 64rem) {
  .art-grid { grid-template-columns: 15rem minmax(0, 43rem); gap: 4rem; }
  .margin { position: sticky; top: 1.5rem; align-self: start; }
  .contents summary { pointer-events: none; }
}
.prose { counter-reset: sec; min-width: 0; }
.prose p { margin-bottom: 1.1em; }
.prose > p:first-child { font-size: 1.12em; }
.prose h2 { margin: 2.6em 0 0.7em; font-family: var(--font-display); font-weight: 800; font-stretch: 85%; font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.1rem); line-height: 1.08; scroll-margin-top: 1rem; }
.prose > h2, .prose > .faq > h2 { counter-increment: sec; }
.prose > h2::before, .prose > .faq > h2::before { content: counter(sec, decimal-leading-zero); display: block; width: max-content; margin-bottom: 0.55rem; padding-right: 2.4rem; font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.16em; color: var(--ember); border-bottom: 3px solid var(--ember); padding-bottom: 0.2rem; }
.prose h3 { margin: 1.8em 0 0.4em; font-family: var(--font-display); font-weight: 700; font-stretch: 92%; font-size: 1.28rem; line-height: 1.2; }
.prose ul, .prose ol { margin: 0 0 1.2em; list-style: none; }
.prose li { position: relative; padding: 0.15em 0 0.15em 1.7rem; }
.prose ul > li::before { content: ""; position: absolute; left: 0.3rem; top: 0.62em; width: 3px; height: 0.95em; background: var(--ember); transform: skewX(-14deg); }
.prose ol { counter-reset: li; }
.prose ol > li { counter-increment: li; padding-left: 2.4rem; }
.prose ol > li::before { content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: 0.28em; font-family: var(--font-mono); font-size: 0.78rem; color: var(--ember); }
.prose strong { font-weight: 700; color: var(--ink); }
.prose blockquote { margin: 1.5em 0; padding: 0.2em 0 0.2em 1.4rem; border-left: 1px solid var(--ember); box-shadow: -5px 0 0 -4px var(--ember), -8px 0 0 -7px var(--ember); font-size: 1.1em; }
.prose a[target="_blank"]::after { content: "\2197"; font-size: 0.72em; margin-left: 0.15em; text-decoration: none; display: inline-block; }
.table-wrap { overflow-x: auto; margin: 1.5em 0; }
table.data { width: 100%; border-collapse: collapse; font-size: var(--text-small); font-variant-numeric: tabular-nums; line-height: 1.4; }
table.data caption { text-align: left; padding-bottom: 0.7rem; font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); }
table.data th { text-align: left; padding: 0.6rem 0.8rem 0.6rem 0; font-family: var(--font-mono); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 3px double var(--ember); vertical-align: bottom; }
table.data td { padding: 0.7rem 0.8rem 0.7rem 0; border-bottom: 1px dotted var(--ink-faint); vertical-align: top; }
.nt__fig { font-family: var(--font-display); font-weight: 800; font-stretch: 75%; font-size: 1.5rem; color: var(--ember); white-space: nowrap; }
.nt__no, .nt__yr { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-dim); }
.nt__none { color: var(--ink-faint); font-family: var(--font-mono); font-size: 0.8rem; }
@media (max-width: 51.99rem) {
  table.numbers thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.numbers caption { display: block; }
  table.numbers, table.numbers tbody, table.numbers tr, table.numbers td { display: block; }
  table.numbers tr { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
  table.numbers td { border: 0; padding: 0.2rem 0; }
  table.numbers td::before { content: attr(data-label); display: block; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); }
}
.faq { margin-top: 2.4em; }
.faq-item { padding: 1rem 0; border-top: 1px dotted var(--ink-faint); }
.faq-item h3 { margin: 0 0 0.4rem; font-size: 1.18rem; }
.faq-item p { margin: 0; color: var(--ink-dim); }
.sources { margin-top: 3rem; padding: 1.4rem 1.2rem 1.6rem; background: var(--paper-2); border-top: 3px double var(--ember); }
.prose .sources h2 { margin: 0 0 1rem; font-family: var(--font-mono); font-weight: 500; font-stretch: 100%; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ember); }
.sources ul { counter-reset: src; margin: 0; }
.prose .sources li { counter-increment: src; padding: 0.55rem 0 0.55rem 2.6rem; border-top: 1px dotted var(--ink-faint); font-size: 1rem; line-height: 1.4; }
.prose .sources li:first-child { border-top: 0; }
.prose .sources li::before { content: counter(src, decimal-leading-zero); position: absolute; left: 0; top: 0.75em; width: auto; height: auto; background: none; transform: none; font-family: var(--font-mono); font-size: 0.72rem; color: var(--ember); }
.notice { margin: 1.5em 0; padding: 1rem 1.2rem; background: var(--paper-2); border-left: 6px solid var(--smoke); }
.notice p { margin: 0; }
.form { display: grid; gap: 1rem; margin: 1.5rem 0; max-width: 36rem; }
.form label { display: grid; gap: 0.35rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); }
.form input, .form textarea { width: 100%; padding: 0.7rem 0.8rem; font: 400 1.05rem var(--font-body); color: var(--ink); background: var(--paper-2); border: 2px solid var(--rule); border-radius: 0; }
.form textarea { min-height: 9rem; }
.form button { justify-self: start; }
.nextup { margin-top: var(--space-5); }
.nextup h2 { margin-bottom: 1rem; font-family: var(--font-mono); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ember); }
.nf { padding-block: var(--space-5); max-width: 40rem; }
.nf h1 { margin: 0.5rem 0 1rem; font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: clamp(2.2rem, 1.4rem + 3.5vw, 3.6rem); line-height: 1; }

/* ---------- footer: adding-machine tape ---------- */
.foot { margin-top: var(--space-6); padding-block: 0 var(--space-5); background: var(--paper-2); }
.foot::before { margin-bottom: var(--space-4); }
.foot__grid { display: grid; gap: var(--space-4); align-items: start; }
.tape { position: relative; max-width: 26rem; padding: 1.5rem 1.4rem 1.8rem; background: var(--bone); color: var(--tape-ink); font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.5; margin-bottom: 10px; }
.tape__head { font-weight: 500; font-size: 1.05rem; letter-spacing: 0.18em; text-align: center; }
.tape__sub { text-align: center; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.68rem; color: var(--tape-dim); margin-bottom: 1rem; }
.tape__rows { border-top: 2px dashed var(--tape-dim); padding-top: 0.8rem; }
.tape__row { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.15rem 0; text-transform: uppercase; letter-spacing: 0.04em; }
.tape__row dt { flex: none; }
.tape__row dd { flex: 1; display: flex; justify-content: flex-end; align-items: baseline; font-weight: 500; }
.tape__row dd::before { content: ""; flex: 1; margin: 0 0.5rem; border-bottom: 2px dotted var(--tape-dim); transform: translateY(-0.25em); }
.tape__total { display: flex; justify-content: space-between; margin-top: 0.8rem; padding: 0.5rem 0; border-top: 2px solid var(--tape-ink); border-bottom: 2px solid var(--tape-ink); font-weight: 500; letter-spacing: 0.08em; }
.tape__links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; margin-top: 1rem; }
.tape__links a { color: var(--tape-ink); text-decoration: underline solid 1px; text-underline-offset: 0.25em; display: inline-block; padding: 0.35rem 0; }
.tape :focus-visible { outline-color: var(--tape-ink); }
.tape__edge { position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: linear-gradient(135deg, var(--bone) 25%, transparent 25%) -5px 0 / 10px 10px, linear-gradient(225deg, var(--bone) 25%, transparent 25%) -5px 0 / 10px 10px; }
.foot__big { font-family: var(--font-display); font-weight: 800; font-stretch: 75%; font-size: clamp(2rem, 1.2rem + 3.5vw, 3.6rem); line-height: 1; letter-spacing: -0.005em; margin-bottom: 1.2rem; max-width: 16ch; }
.foot__notice p:last-child { max-width: 38rem; color: var(--ink-dim); font-size: 1.05rem; }
@media (min-width: 56rem) { .foot__grid { grid-template-columns: 26rem minmax(0, 1fr); gap: var(--space-5); } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } .btn:hover { transform: none; } }
