/* LAPIDAR — getlapidar.com
   A ledger at night: Newsreader for the voice, Plex Mono for the figures,
   Cinzel for the wordmark and nothing else. Amber is a light source, not a fill. */

@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-opsz.v2.woff2) format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap;
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B7, U+00D7, U+00F7, U+2002, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2032-2033, U+2212; }
@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-opsz-ext.v2.woff2) format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap;
  unicode-range: U+00A1-00A8, U+00AA-00B6, U+00B8-00D6, U+00D8-00F6, U+00F8-00FF, U+0131, U+0152-0153, U+2003, U+2009, U+201A, U+201E, U+2039-203A, U+20AC, U+2122, U+2190-2193; }
@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-italic-400.v2.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap;
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B7, U+00D7, U+00F7, U+2002, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2032-2033, U+2212; }
@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-italic-400-ext.v2.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap;
  unicode-range: U+00A1-00A8, U+00AA-00B6, U+00B8-00D6, U+00D8-00F6, U+00F8-00FF, U+0131, U+0152-0153, U+2003, U+2009, U+201A, U+201E, U+2039-203A, U+20AC, U+2122, U+2190-2193; }
@font-face { font-family: "Plex Mono"; src: url(fonts/plex-mono-400.v2.woff2) format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B7, U+00D7, U+00F7, U+2002, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2032-2033, U+2212; }
@font-face { font-family: "Plex Mono"; src: url(fonts/plex-mono-400-ext.v2.woff2) format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+00A1-00A8, U+00AA-00B6, U+00B8-00D6, U+00D8-00F6, U+00F8-00FF, U+0131, U+0152-0153, U+2003, U+2009, U+201A, U+201E, U+2039-203A, U+20AC, U+2122, U+2190-2193; }
@font-face { font-family: "Plex Mono"; src: url(fonts/plex-mono-500.v2.woff2) format("woff2"); font-weight: 500; font-display: swap;
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B7, U+00D7, U+00F7, U+2002, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2032-2033, U+2212; }
@font-face { font-family: "Plex Mono"; src: url(fonts/plex-mono-500-ext.v2.woff2) format("woff2"); font-weight: 500; font-display: swap;
  unicode-range: U+00A1-00A8, U+00AA-00B6, U+00B8-00D6, U+00D8-00F6, U+00F8-00FF, U+0131, U+0152-0153, U+2003, U+2009, U+201A, U+201E, U+2039-203A, U+20AC, U+2122, U+2190-2193; }
@font-face { font-family: "Cinzel"; src: url(fonts/cinzel-500.v2.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #0e0c0a;
  --ink-2: #14110e;
  --ink-3: #1a1612;
  --paper: #efe7d9;
  --text: #d3cabb;
  --muted: #a99f90;       /* 7.4:1 on --ink */
  --faint: #857c70;       /* 4.7:1, decorative / secondary only */
  --rule: rgba(239, 231, 217, .14);
  --rule-2: rgba(239, 231, 217, .08);
  --amber: #ff9a3c;
  --amber-dim: #c9772f;
  --brick: #e07656;       /* discrepancy, 5.6:1 */

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display: "Cinzel", "Trajan Pro", serif;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(22px, 4.4vw, 64px);
  --max: 1240px;
  --sec: clamp(104px, 12vw, 176px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--ink);
  background-image: url(img/grain.png);
  background-size: 128px 128px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  font-optical-sizing: auto;
  font-variant-numeric: oldstyle-nums proportional-nums;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  hanging-punctuation: first allow-end;
  overflow-x: hidden;
}

::selection { background: rgba(255, 154, 60, .32); color: var(--paper); }
a { color: inherit; text-decoration-color: var(--amber-dim); text-decoration-thickness: 1px; text-underline-offset: .18em; }
@media (hover: hover) { a:hover { text-decoration-color: var(--amber); } }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 1px; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
em { font-style: italic; }
abbr { text-decoration: none; }
.sc { font-variant-caps: all-small-caps; letter-spacing: .06em; }
.tnum { font-variant-numeric: tabular-nums lining-nums; }
.sep { color: var(--faint); padding: 0 .35em; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; background: var(--paper); color: var(--ink); padding: 10px 14px; font: 500 15px var(--mono); text-decoration: none; }
.skip:focus { top: 12px; }
svg { overflow: visible; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }

/* Mono caps live only inside the data artefacts: the ledger, the tape, the figures */
.tag, .ledger-title, .ledger-foot, .tape-head, .f-ex {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.5;
  font-variant-numeric: tabular-nums lining-nums;
}
/* Everywhere else, labels are set in the text face, in small caps */
.masthead-strap, .rule-head, .margin-h, .books-h, .aside-k {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  font-variant-caps: all-small-caps;
  letter-spacing: .06em;
  line-height: 1.4;
  font-variant-numeric: lining-nums;
}

/* ---------- Masthead ---------- */
.masthead { border-bottom: 1px solid var(--rule); }
.masthead-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.wordmark {
  font-family: var(--display); font-weight: 500; font-size: 21px; letter-spacing: .22em;
  color: var(--paper); text-decoration: none; line-height: 1; margin-right: -.22em;
  display: inline-block; padding-block: 6px;
}
.masthead-strap { color: var(--muted); padding-left: 28px; border-left: 1px solid var(--rule); line-height: 1.2; }
.masthead-link { margin-left: auto; color: var(--paper); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; padding: 12px 0; font-size: 18px; }
@media (hover: hover) { .masthead-link:hover { color: var(--amber); } }
.arr { width: 18px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.2; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 5vw, 80px); position: relative; }
.hero::before {
  /* the one lit window, somewhere off to the right */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 88% 20%, rgba(255, 154, 60, .07), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; position: relative; }
.hero-copy { grid-column: 1 / span 6; padding-top: 6px; }
.ledger { grid-column: 7 / span 6; margin-top: 22px; }

.eyebrow { color: var(--muted); font-style: italic; font-size: 19px; line-height: 1.4; font-variation-settings: "opsz" 18; }

.h1 {
  font-weight: 400;
  font-size: clamp(50px, 6.8vw, 104px);
  line-height: .98;
  letter-spacing: -.022em;
  color: var(--paper);
  margin: 26px 0 0 -.04em;
  font-variation-settings: "opsz" 72;
  text-wrap: balance;
}
.h1 em { position: relative; display: inline-block; letter-spacing: -.03em; padding-right: .06em; }
.pencil { position: absolute; left: .01em; right: .02em; bottom: -.14em; width: calc(100% - .06em); height: .13em; fill: none; stroke: var(--amber); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pencil path { stroke-dasharray: 1; stroke-dashoffset: 0; }
/* the pencil line is static: an animated stroke got caught half-drawn in static renders */

.lede {
  margin-top: clamp(30px, 3vw, 44px);
  font-size: clamp(20px, 1.6vw, 23px);
  line-height: 1.5;
  color: var(--text);
  max-width: 35ch;
  font-variation-settings: "opsz" 20;
  text-wrap: pretty;
}

/* ---------- Waitlist form ---------- */
.waitlist { margin-top: clamp(32px, 3.4vw, 48px); max-width: 580px; position: relative; }
.waitlist-row { display: flex; align-items: flex-end; gap: 16px; }
.field { flex: 1 1 auto; display: block; min-width: 0; }
.field-label { display: block; color: var(--muted); margin-bottom: 2px; font-size: 15px; line-height: 1.4; }
.field input {
  display: block; width: 100%;
  font: 400 21px/1.3 var(--serif);
  font-variation-settings: "opsz" 20;
  color: var(--paper);
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(239, 231, 217, .38);
  border-radius: 0;
  padding: 12px 0 11px;
  caret-color: var(--amber);
  transition: border-color 200ms var(--ease);
}
.field input::placeholder { color: var(--faint); font-style: italic; opacity: 1; }
.field input:focus { outline: none; border-bottom-color: var(--amber); box-shadow: 0 1px 0 0 var(--amber); }
.field input:focus-visible { outline: none; }
.btn {
  flex: none;
  height: 54px; padding: 0 26px;
  font: 500 18px/1 var(--serif);
  font-variation-settings: "opsz" 18;
  letter-spacing: .005em;
  color: #1a1206;
  background: var(--amber);
  border: 0; border-radius: 2px;
  cursor: pointer;
  position: relative;
  transition: background-color 200ms var(--ease);
}
.btn span { position: relative; }
.btn span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease); }
@media (hover: hover) {
  .btn:hover { background: #ffa652; }
  .btn:hover span::after { transform: scaleX(1); }
}
.btn:active { transform: translateY(1px); }
.btn:disabled { cursor: progress; opacity: .7; }
.form-note { margin-top: 14px; font-size: 16.5px; font-style: italic; color: var(--muted); line-height: 1.5; }
.form-status { min-height: 0; font-size: 18px; line-height: 1.45; color: var(--text); }
.form-status:not(:empty) { margin-top: 12px; }
.form-status:not(:empty) + .form-note { margin-top: 8px; }
.waitlist[data-state="sending"] .form-status { color: var(--muted); font-style: italic; }
.waitlist[data-state="error"] .form-status { color: var(--brick); }
.waitlist[data-state="error"] .field input,
.waitlist[data-state="error"] .field input:focus { border-bottom-color: var(--brick); box-shadow: 0 1px 0 0 var(--brick); }
.form-status a { color: inherit; text-decoration-color: currentColor; }
.form-status:focus { outline: none; }
.form-status:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.waitlist[data-state="done"] .waitlist-row,
.waitlist[data-state="done"] .form-note { display: none; }
.waitlist[data-state="done"] .form-status { margin-top: 0; padding: 18px 0 16px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 21px; color: var(--paper); }
.done { display: flex; gap: 14px; align-items: baseline; }
.done svg { flex: none; width: 18px; height: 16px; fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: translateY(2px); }
.done svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: tick 320ms var(--ease) 60ms forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- The statement (hero ledger) ---------- */
.ledger { position: relative; padding: 26px 28px 20px; background: linear-gradient(180deg, rgba(26, 22, 18, .72), rgba(20, 17, 14, .55)); }
.crop { position: absolute; width: 14px; height: 14px; border-color: rgba(239, 231, 217, .32); border-style: solid; border-width: 0; }
.crop.tl { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.crop.tr { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.crop.bl { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.crop.br { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.ledger-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.ledger-title { color: var(--paper); }
.tag { color: var(--muted); white-space: nowrap; border: 1px solid var(--rule); padding: 3px 8px 2px; font-size: 11.5px; }
.ledger-head .tag .sep { padding: 0 .25em; }
.ledger-body { position: relative; }
.ledger table { width: 100%; border-collapse: collapse; font: 400 14.5px/1.4 var(--mono); font-variant-numeric: tabular-nums lining-nums; color: var(--text); }
.ledger thead th { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 400; padding: 13px 0 11px; text-align: left; border-bottom: 1px solid var(--rule-2); }
.ledger th, .ledger td { padding: 11px 0; text-align: left; vertical-align: baseline; }
.ledger tbody th { font-weight: 400; color: var(--paper); }
.ledger tbody tr { border-bottom: 1px solid var(--rule-2); }
.ledger tbody tr.flag { border-bottom: 0; }
.ledger .num { text-align: right; padding-left: 14px; }
.ledger .chk { text-align: right; width: 112px; padding-left: 14px; white-space: nowrap; }
.ledger .t { width: 16px; height: 14px; fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -1px; }
.verdict { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--brick); font-weight: 500; }
.under .verdict { color: var(--amber); }
.paid { color: var(--amber); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.dup s { text-decoration-color: var(--brick); text-decoration-thickness: 1.5px; color: var(--muted); }
.note-row td { padding: 0 0 12px; text-align: left; }
.note { font: italic 400 16px/1.4 var(--serif); font-variation-settings: "opsz" 14; color: var(--muted); font-variant-numeric: lining-nums tabular-nums; }
.nw { white-space: nowrap; }
.note b { font-weight: 500; font-style: normal; font-family: var(--mono); font-size: 14.5px; color: var(--amber); }
.ledger-foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 12px; }
.foot-hi { color: var(--amber); }

/* scan: once, on load */
.scan { position: absolute; left: -10px; right: -10px; top: 0; height: 1px; background: var(--amber); box-shadow: 0 0 12px rgba(255, 154, 60, .45); opacity: 0; pointer-events: none; z-index: 1; }
/* verdicts and notes are never hidden; only the scan line and the tick strokes move */
.ledger.run .scan { animation: scan calc(var(--rows, 7) * 170ms + 300ms) linear forwards; }
.ledger.run .t path { stroke-dasharray: 26; animation: redraw 300ms var(--ease) both; animation-delay: calc(var(--i) * 170ms + 160ms); }
@keyframes redraw { from { stroke-dashoffset: 26; } to { stroke-dashoffset: 0; } }
@keyframes scan { 0% { opacity: 0; transform: translateY(0); } 6% { opacity: 1; } 92% { opacity: 1; } 100% { opacity: 0; transform: translateY(var(--scan-end, 400px)); } }

/* ---------- Sections ---------- */
.sec { padding-top: var(--sec); }
.sec-statement { padding-top: clamp(56px, 6vw, 88px); }
.rule-head { display: flex; align-items: baseline; gap: 14px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--rule); margin-bottom: clamp(44px, 5vw, 72px); }
.rule-head .rn { color: var(--paper); }
.rule-head .rn { font-variant-numeric: oldstyle-nums; min-width: 1.6em; }

.h2 {
  font-weight: 400;
  font-size: clamp(36px, 4.1vw, 60px);
  line-height: 1.06;
  letter-spacing: -.016em;
  color: var(--paper);
  font-variation-settings: "opsz" 60;
  text-wrap: balance;
}
.h2 em { font-style: italic; }
.prose { font-size: 19px; line-height: 1.62; max-width: 60ch; text-wrap: pretty; }
.prose + .prose { margin-top: 1em; }
.prose p + p { margin-top: 1em; }
.prose-lg { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.55; font-variation-settings: "opsz" 24; }
.prose-quiet { color: var(--muted); }

/* 01 statement: wide headline, prose below, marginalia to the right */
.statement-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.statement-grid .h2 { grid-column: 1 / span 8; font-size: clamp(40px, 5vw, 72px); }
.statement-grid .prose-lg { grid-column: 1 / span 7; }
.margin-list { grid-column: 10 / span 3; grid-row: 2; align-self: start; padding-top: 8px; border-left: 1px solid var(--rule); padding-left: 22px; }
.margin-h { color: var(--muted); margin-bottom: 10px; }
.margin-list li { font-size: 21px; line-height: 1.7; color: var(--text); }

/* 02 one line */
.line-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.line-copy { grid-column: 1 / span 5; padding-right: 12px; }
.line-copy .prose { margin-top: 28px; }
.tape { grid-column: 7 / span 6; background: var(--ink-2); border-top: 2px solid rgba(239, 231, 217, .22); padding: 22px 30px 26px; position: relative; }
.tape::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 7px; background: radial-gradient(circle at 5px -1px, transparent 5px, var(--ink-2) 5.5px) 0 0 / 10px 7px repeat-x; transform: scaleY(-1); }
.tape-head { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); padding-bottom: 14px; border-bottom: 1px dashed var(--rule); }
.tape dl { font-family: var(--mono); font-variant-numeric: tabular-nums lining-nums; }
.tape dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--rule-2); }
.tape dt { font: 400 18px/1.35 var(--serif); color: var(--text); font-variation-settings: "opsz" 18; }
.tape dd { font-size: 18px; color: var(--paper); white-space: nowrap; }
.tape .op { color: var(--faint); margin-right: .6em; }
.tape .sum { border-top: 1px solid rgba(239, 231, 217, .32); }
.tape .short { border-bottom: 0; padding-top: 18px; }
.tape .short dt { font-style: italic; color: var(--paper); }
.tape .short dd { font-size: 26px; color: var(--amber); font-weight: 500; border-bottom: 1px solid var(--amber-dim); line-height: 1.2; padding-bottom: 2px; }
.tape-foot { margin-top: 12px; font-size: 16px; font-style: italic; color: var(--muted); line-height: 1.5; font-variant-numeric: lining-nums; }

/* 03 findings */
.h2-wide { max-width: 22ch; margin-bottom: clamp(40px, 4.4vw, 64px); }
.findings { border-top: 1px solid var(--rule); }
.findings li { display: grid; grid-template-columns: minmax(0, 4.2fr) minmax(0, 4.6fr) minmax(0, 3.2fr); column-gap: 32px; align-items: baseline; padding: 30px 0 28px; border-bottom: 1px solid var(--rule); }
.f-word { font-style: italic; font-size: clamp(44px, 5vw, 76px); line-height: 1; color: var(--paper); letter-spacing: -.025em; font-variation-settings: "opsz" 72; }
.f-text { font-size: 19px; line-height: 1.55; color: var(--text); max-width: 40ch; text-wrap: pretty; }
.f-fig { font: 400 14.5px/1.6 var(--mono); font-variant-numeric: tabular-nums lining-nums; color: var(--text); text-align: right; }
.f-fig b { color: var(--amber); font-weight: 500; }
.f-fig .dim { color: var(--faint); }
.f-ex { display: block; color: var(--muted); font-size: 11.5px; margin-bottom: 2px; }

/* 04 how: headline left, a numbered list of rows right, like the findings */
.how-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.how-copy { grid-column: 1 / span 5; }
.how-grid .h2 { max-width: 12ch; }
.steps { grid-column: 7 / span 6; border-top: 1px solid var(--rule); }
.steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); padding: 26px 0 28px; border-bottom: 1px solid var(--rule); }
.s-no { font-size: 30px; line-height: 1.05; color: var(--amber); font-variant-numeric: oldstyle-nums; font-variation-settings: "opsz" 36; }
.steps h3 { font-weight: 500; font-size: 23px; line-height: 1.25; color: var(--paper); font-variation-settings: "opsz" 24; text-wrap: balance; }
.steps p { margin-top: 10px; font-size: 18.5px; line-height: 1.6; color: var(--text); text-wrap: pretty; max-width: 44ch; }
.aside { margin-top: 40px; font-size: 19px; line-height: 1.55; color: var(--text); padding-top: 16px; border-top: 1px solid var(--rule-2); max-width: 30ch; }
.aside-k { color: var(--amber); display: block; margin-bottom: 4px; }

/* 05 standing */
.stand-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.stand-copy { grid-column: 1 / span 6; position: sticky; top: 120px; }
.stand-copy .prose { margin-top: 28px; }
.books { grid-column: 8 / span 5; padding-top: 6px; }
.books-h { color: var(--muted); font-weight: 400; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.books-h2 { margin-top: 44px; }
.leaders > div { display: flex; align-items: baseline; gap: 10px; padding: 11px 0 9px; border-bottom: 1px solid var(--rule-2); }
.leaders dt { font-size: 19px; color: var(--text); white-space: nowrap; }
.leaders > div::after { content: none; }
.leaders dt::after { content: ""; }
.leaders dd { margin-left: auto; font: 400 14.5px/1.4 var(--mono); color: var(--paper); text-align: right; letter-spacing: .02em; }
.leaders > div > dt + dd { position: relative; }
.leaders .lead { flex: 1; }
.wont li { position: relative; padding: 11px 0 9px 26px; border-bottom: 1px solid var(--rule-2); font-size: 19px; line-height: 28px; }
.wont li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 12px; height: 2px; background: var(--brick); }

/* 06 FAQ: all answers visible */
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.qa > div { padding: 26px 0 30px; border-top: 1px solid var(--rule); }
.sec-faq .rule-head { margin-bottom: 0; }
.qa > div:nth-child(-n+2) { border-top: 0; padding-top: 40px; }
.qa dt { font-size: clamp(22px, 1.9vw, 26px); line-height: 1.25; color: var(--paper); font-variation-settings: "opsz" 28; text-wrap: balance; }
.qa dd { margin-top: 12px; font-size: 19px; line-height: 1.6; color: var(--text); max-width: 46ch; text-wrap: pretty; }

/* ---------- Join / end card ---------- */
.join { padding-top: var(--sec); }
.double-rule { height: 5px; border-top: 2px solid rgba(239, 231, 217, .3); border-bottom: 1px solid rgba(239, 231, 217, .3); }
.join-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; padding: clamp(40px, 4.4vw, 64px) 0 clamp(80px, 9vw, 128px); }
.join-copy { grid-column: 1 / span 6; }
.join-h { margin-top: 0; font-size: clamp(40px, 4.8vw, 70px); }
.join-sub { margin-top: 24px; font-size: 20px; line-height: 1.55; max-width: 36ch; color: var(--text); }

/* The window. Abstract on purpose: light, wall, wet street, nothing drawn to look "real". */
.window-scene {
  grid-column: 8 / span 5;
  position: relative;
  height: clamp(380px, 38vw, 540px);
  overflow: hidden;
  -webkit-mask-image: radial-gradient(closest-side, #000 38%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 38%, transparent 100%);
}
.window-scene::before {
  /* clapboard wall, lit only where the window reaches it; dark wet street below */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(38% 30% at 50% 36%, rgba(255, 150, 60, .16), transparent 75%),
    repeating-linear-gradient(180deg, rgba(239, 231, 217, .03) 0 1px, transparent 1px 14px) top / 100% 64% no-repeat,
    linear-gradient(180deg, #15110d 0%, #110e0b 62%, #0b0908 66%, #0c0a08 100%);
}
.window-scene::after { content: ""; position: absolute; inset: 0; background: url(img/grain.png) 0 0 / 128px 128px; opacity: 1; mix-blend-mode: overlay; pointer-events: none; }
.win { position: absolute; left: 50%; top: 18%; width: 26%; aspect-ratio: 3 / 4; transform: translateX(-50%); }
.win-glow { position: absolute; inset: -80%; background: radial-gradient(closest-side, rgba(255, 160, 72, .26), rgba(255, 140, 50, .07) 55%, transparent 100%); transition: opacity 1600ms var(--ease); }
.win-pane {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent calc(50% - 1.5px), rgba(40, 24, 10, .92) calc(50% - 1.5px) calc(50% + 1.5px), transparent calc(50% + 1.5px)),
    linear-gradient(180deg, transparent calc(46% - 1.5px), rgba(40, 24, 10, .92) calc(46% - 1.5px) calc(46% + 1.5px), transparent calc(46% + 1.5px)),
    repeating-linear-gradient(180deg, rgba(110, 52, 12, .34) 0 1.5px, transparent 1.5px 6px) top / 100% 34% no-repeat,
    linear-gradient(180deg, rgba(90, 40, 8, .35), transparent 30%) top / 100% 36% no-repeat,
    radial-gradient(48% 40% at 30% 78%, rgba(255, 226, 180, .95), rgba(255, 190, 120, 0) 70%),
    linear-gradient(180deg, #d9792e 0%, #f0954a 45%, #f4a35c 100%);
  box-shadow: inset 0 0 22px rgba(70, 30, 6, .55), 0 0 0 4px rgba(30, 20, 12, .9), 0 0 30px 6px rgba(255, 154, 60, .30), 0 0 90px 24px rgba(255, 154, 60, .14), 0 0 220px 70px rgba(255, 154, 60, .06);
  filter: blur(1.1px) saturate(.86);
  transition: filter 1600ms var(--ease), box-shadow 1600ms var(--ease);
}
.win-sill { position: absolute; left: -12%; right: -12%; bottom: -10px; height: 3px; background: rgba(255, 190, 130, .16); }
.win-reflect {
  position: absolute; left: 50%; top: 65%; width: 26%; height: 32%;
  transform: translateX(-50%) scaleX(1.06);
  background:
    repeating-linear-gradient(180deg, rgba(255, 170, 90, .30) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, rgba(255, 154, 60, .26), transparent 90%);
  filter: blur(6px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .15), #000 14%, transparent 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .15), #000 14%, transparent 100%);
  opacity: .75;
  transition: opacity 1600ms var(--ease);
}
.lamp { position: absolute; right: 16%; top: 14%; width: 4px; height: 4px; border-radius: 50%; background: #ffe2b8; box-shadow: 0 0 12px 3px rgba(255, 200, 140, .4), 0 0 60px 22px rgba(255, 170, 90, .06); }
/* after a signup the window warms, it never goes dark */
.join.lit .win-pane { filter: blur(1.1px) saturate(1) brightness(1.08); box-shadow: inset 0 0 22px rgba(70, 30, 6, .45), 0 0 0 4px rgba(30, 20, 12, .9), 0 0 36px 8px rgba(255, 160, 70, .40), 0 0 110px 30px rgba(255, 154, 60, .20), 0 0 260px 90px rgba(255, 154, 60, .09); }
.join.lit .win-glow { opacity: 1; transform: scale(1.12); transition: transform 1600ms var(--ease); }
.join.lit .win-reflect { opacity: .95; }

/* ---------- Colophon ---------- */
.colophon { border-top: 1px solid var(--rule); padding: 44px 0 56px; }
.colophon-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.colophon-brand { grid-column: 1 / span 3; }
.wordmark--sm { font-size: 17px; }
.colophon-tag { margin-top: 6px; color: var(--muted); font-size: 17px; }
.colophon-note { grid-column: 4 / span 5; font-size: 16.5px; line-height: 1.55; color: var(--muted); max-width: 46ch; }
.colophon-meta { grid-column: 9 / span 4; color: var(--muted); font-size: 16.5px; line-height: 1.5; text-align: right; }
.colophon-meta p + p { margin-top: 2px; }
.colophon-meta a { color: var(--paper); display: inline-block; padding-block: 3px; }

@media (min-width: 1700px) { :root { --max: 1320px; } }

/* ---------- Medium ---------- */
@media (max-width: 1120px) {
  .hero-copy { grid-column: 1 / span 12; max-width: 720px; }
  .ledger { grid-column: 1 / span 12; margin-top: 64px; max-width: 760px; }
  .lede { max-width: 36ch; }
  .statement-grid .h2 { grid-column: 1 / span 11; }
  .statement-grid .prose-lg { grid-column: 1 / span 8; }
  .margin-list { grid-column: 9 / span 4; }
  .line-copy { grid-column: 1 / span 12; max-width: 640px; }
  .tape { grid-column: 1 / span 12; max-width: 640px; margin-top: 48px; }
  .stand-copy, .books { grid-column: 1 / span 12; max-width: 680px; }
  .stand-copy { position: static; }
  .how-copy, .steps { grid-column: 1 / span 12; }
  .how-grid .h2 { max-width: none; }
  .steps { margin-top: 48px; max-width: 680px; }
  .aside { max-width: 46ch; }
  .books { margin-top: 56px; }
  .join-copy { grid-column: 1 / span 7; }
  .window-scene { grid-column: 8 / span 5; }
  .masthead-strap .hide-sm { display: none; }
}

/* ---------- Phone ---------- */
@media (max-width: 720px) {
  :root { --sec: 92px; }
  body { font-size: 18px; }
  .masthead-in { height: 64px; gap: 16px; }
  .masthead-link { font-size: 17px; }
  .wordmark { font-size: 18px; letter-spacing: .2em; }
  .masthead-strap { display: none; }
  .hide-sm { display: none; }
  .hero { padding: 40px 0 72px; }
  .h1 { font-size: clamp(46px, 13.2vw, 64px); margin-top: 20px; }
  .lede { font-size: 20px; margin-top: 28px; }
  .waitlist { margin-top: 30px; }
  .waitlist-row { flex-direction: column; align-items: stretch; gap: 18px; }
  .btn { width: 100%; height: 56px; }
  .ledger { margin-top: 56px; padding: 20px 16px 16px; }
  .ledger-head { flex-direction: column; gap: 10px; align-items: flex-start; }

  /* statement as records, not a scrolling table */
  .ledger table, .ledger tbody, .ledger tr, .ledger td, .ledger th { display: block; }
  .ledger thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ledger tbody tr { display: grid; grid-template-columns: auto 1fr auto; column-gap: 14px; row-gap: 4px; padding: 13px 0 12px; }
  .ledger tbody tr.flag { padding-bottom: 6px; }
  .ledger tbody th { grid-column: 1 / span 2; grid-row: 1; padding: 0; font-size: 15px; }
  .ledger .chk { grid-column: 3; grid-row: 1; width: auto; padding: 0; }
  .ledger td.num { padding: 0; text-align: left; font-size: 13.5px; color: var(--text); white-space: nowrap; }
  .ledger td[data-k="Premium"] { display: none; }
  .ledger td[data-k="Rate"] { grid-column: 1; grid-row: 2; }
  .ledger td[data-k="Expected"] { grid-column: 2; grid-row: 2; }
  .ledger td[data-k="Paid"] { grid-column: 3; grid-row: 2; text-align: right; }
  .ledger td[data-k]::before { content: attr(data-k) " "; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: .4em; }
  .ledger .note-row { display: block; padding: 0 0 12px; }
  .ledger .note-row td { padding: 0; }
  .note { font-size: 16px; }
  .ledger-foot { flex-direction: column; gap: 4px; }
  .ledger .dup s { color: var(--text); }

  .rule-head { margin-bottom: 40px; gap: 12px; }
  .statement-grid, .line-grid, .stand-grid, .how-grid { display: block; }
  .statement-grid .h2 { font-size: 40px; }
  .statement-grid .prose-lg { margin-top: 32px; font-size: 20px; }
  .margin-list { margin-top: 36px; }
  .margin-list ul { display: flex; flex-wrap: wrap; gap: 0 18px; }
  .margin-list li { font-size: 19px; }
  .tape { padding: 18px 16px 22px; margin-top: 40px; }
  .tape dt { font-size: 17px; }
  .tape dd { font-size: 16.5px; }
  .tape .short dd { font-size: 22px; }
  .tape-head { flex-direction: column; gap: 8px; align-items: flex-start; }
  .findings li { grid-template-columns: 1fr; row-gap: 12px; padding: 26px 0 26px; }
  .f-word { font-size: 46px; }
  .f-fig { text-align: left; }
  .steps { margin-top: 36px; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); padding: 22px 0 24px; }
  .s-no { font-size: 26px; }
  .steps h3 { font-size: 22px; }
  .aside { margin-top: 28px; }
  .books { margin-top: 48px; }
  .leaders dt { font-size: 18px; }
  .qa { grid-template-columns: 1fr; }
  .qa > div { padding: 22px 0 24px; }
  .qa > div:nth-child(2) { border-top: 1px solid var(--rule); padding-top: 22px; }
  .qa > div:first-child { padding-top: 28px; }
  .join-grid { display: flex; flex-direction: column-reverse; align-items: stretch; padding-top: 24px; }
  .window-scene { height: 300px; margin: 0 -22px 8px; }
  .win { width: 24%; top: 16%; }
  .win-reflect { width: 24%; }
  .join-h { font-size: 42px; }
  .colophon-in { display: block; }
  .colophon-note { margin-top: 24px; }
  .colophon-meta { margin-top: 24px; text-align: left; }
}

/* ---------- Motion off: final state, no movement ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0ms !important; animation-delay: 0ms !important; transition-duration: 0ms !important; transition-delay: 0ms !important; }
  .scan { display: none; }
}

/* ---------- Shared CTA block and wide leaders ---------- */
.h1-tpl { font-size: clamp(44px, 5.2vw, 78px); line-height: 1.02; }
.dl { margin-top: clamp(32px, 3.4vw, 48px); }
.btn-a { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.dl-i { width: 10px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; position: relative; }
.ledger-tpl table { width: 100%; border-collapse: collapse; font: 400 14.5px/1.4 var(--mono); font-variant-numeric: tabular-nums lining-nums; color: var(--text); }
.ledger-tpl tbody tr:last-child { border-bottom: 0; }
.ledger-tpl .chk { width: 100px; }
.r-ok { color: var(--muted); font-size: 12.5px; letter-spacing: .1em; }
.v-am { color: var(--amber); }
.leaders-wide > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 20px; padding: 16px 0 14px; }
.leaders-wide dt { color: var(--paper); }
.leaders-wide dd { margin-left: 0; font: 400 18px/1.55 var(--serif); color: var(--text); text-align: left; letter-spacing: 0; text-wrap: pretty; }
.leaders-wide > div:first-child { border-top: 1px solid var(--rule); }
.join-tpl .join-copy { grid-column: 1 / span 8; }
.join-tpl .join-sub { max-width: 52ch; }
@media (max-width: 720px) {
  .h1-tpl { font-size: clamp(38px, 10.6vw, 52px); }
  .btn-a { width: 100%; justify-content: center; height: 56px; }
  .ledger-tpl table { font-size: 13px; }
  .ledger-tpl .num { padding-left: 8px; }
  .ledger-tpl td[data-k="Lines"] { display: none; }
  .ledger-tpl td[data-k="Expected"] { grid-column: 1 / span 2; }
  .ledger-tpl .chk { width: auto; }
  .leaders-wide > div { grid-template-columns: 1fr; gap: 4px; }
  .join-tpl .join-grid { display: block; }
}

/* ---------- Guides (/guides/) — everything scoped under .guide / .g-* ---------- */
.guide .g-crumbs { padding-top: clamp(40px, 5vw, 72px); font-size: 17px; color: var(--muted); font-variant-caps: all-small-caps; letter-spacing: .06em; }
.guide .g-crumbs a { color: var(--text); }
.guide .g-head { padding: 22px 0 clamp(40px, 4.4vw, 60px); border-bottom: 1px solid var(--rule); }
.g-index .g-head { padding-top: clamp(56px, 7vw, 96px); }
.guide .g-h1 { font-size: clamp(40px, 4.6vw, 68px); line-height: 1.04; margin-top: 20px; max-width: 20ch; }
.guide .g-dek { max-width: 46ch; }
.guide .g-meta { margin-top: 26px; font-size: 16.5px; color: var(--muted); font-variant-numeric: lining-nums; }
.g-k { font-family: var(--serif); font-size: 17px; font-weight: 400; font-variant-caps: all-small-caps; letter-spacing: .06em; line-height: 1.4; color: var(--amber); margin: 0 0 8px; }

.guide .g-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; padding-top: clamp(40px, 4.4vw, 64px); }
.guide .g-body { grid-column: 1 / span 8; max-width: 70ch; min-width: 0; }
.guide .g-rail { grid-column: 10 / span 3; position: sticky; top: 32px; padding-left: 22px; border-left: 1px solid var(--rule); }

.g-body > p, .g-body > ul li, .g-body > ol li { font-size: 19.5px; line-height: 1.66; text-wrap: pretty; }
.g-body > p + p { margin-top: 1em; }
.g-body > h2 { font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.15; letter-spacing: -.01em; color: var(--paper); margin: 64px 0 18px; font-variation-settings: "opsz" 40; text-wrap: balance; scroll-margin-top: 24px; }
.g-body > h3 { font-weight: 500; font-size: 22px; line-height: 1.3; color: var(--paper); margin: 36px 0 10px; font-variation-settings: "opsz" 24; }
.g-body strong { color: var(--paper); font-weight: 500; }
.g-body a { color: var(--paper); }
.g-body > ul, .g-body > ol { margin: 18px 0 8px; }
.g-body > ul li, .g-tldr li, .g-more li { position: relative; padding: 5px 0 5px 26px; }
.g-body > ul li::before, .g-tldr li::before, .g-more li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 1px; background: var(--amber-dim); }
.g-body > ol { counter-reset: g; }
.g-body > ol li { counter-increment: g; position: relative; padding: 6px 0 6px 40px; }
.g-body > ol li::before { content: counter(g); position: absolute; left: 0; top: 4px; font-size: 23px; color: var(--amber); font-variant-numeric: oldstyle-nums; font-variation-settings: "opsz" 28; }

.g-tldr { background: var(--ink-2); border-top: 2px solid rgba(239, 231, 217, .22); padding: 22px 28px 22px; margin-bottom: 40px; }
.g-tldr li { font-size: 19px; line-height: 1.6; color: var(--paper); text-wrap: pretty; }
.g-tldr li + li { margin-top: 4px; }

.g-formula { margin: 22px 0; padding: 16px 0 14px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font: 400 16px/1.5 var(--mono); color: var(--paper); font-variant-numeric: tabular-nums lining-nums; }
.g-body > p.g-formula { font-size: 16px; }
.g-note { margin-top: 28px !important; padding-left: 22px; border-left: 1px solid var(--amber-dim); color: var(--muted); font-style: italic; }

.guide .tape { margin: 36px 0 44px; max-width: 560px; }

.g-table { margin: 30px 0 36px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.g-table table { width: 100%; border-collapse: collapse; font: 400 14.5px/1.45 var(--mono); font-variant-numeric: tabular-nums lining-nums; color: var(--text); }
.g-table thead th { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 400; text-align: left; padding: 0 16px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: bottom; }
.g-table td, .g-table tbody th { padding: 11px 16px 11px 0; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--rule-2); }
.g-table td:first-child { color: var(--paper); white-space: nowrap; }
.g-table .num { text-align: right; white-space: nowrap; }
.g-table tr.g-hi td:last-child { color: var(--amber); }
.g-table tr.g-total td { border-top: 1px solid rgba(239, 231, 217, .32); border-bottom: 0; color: var(--paper); }
.g-table caption { caption-side: bottom; text-align: left; padding-top: 12px; font: italic 400 16px/1.45 var(--serif); color: var(--muted); }
.g-table-text { font: 400 17.5px/1.5 var(--serif) !important; }
.g-table-text tbody th { font-weight: 400; color: var(--paper); width: 32%; }
.g-table-text td:first-child { white-space: normal; color: var(--text); }
.g-table-text thead th { font-family: var(--mono); }

.g-cta { margin: 48px 0 8px; padding: 22px 26px 22px; border: 1px solid var(--rule); position: relative; }
.g-cta p:not(.g-k) { font-size: 19px; line-height: 1.6; }

.g-more { margin-top: 72px; padding-top: 18px; border-top: 1px solid var(--rule); }
.g-more li { font-size: 19px; line-height: 1.5; }

.g-toc { counter-reset: t; }
.g-toc li { counter-increment: t; display: grid; grid-template-columns: 26px minmax(0, 1fr); font-size: 16.5px; line-height: 1.4; padding: 6px 0; }
.g-toc li::before { content: counter(t); color: var(--faint); font-variant-numeric: oldstyle-nums; }
.g-toc a { color: var(--text); text-decoration: none; }
@media (hover: hover) { .g-toc a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--amber); } }
.g-rail-cta { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--rule-2); font-size: 16.5px; line-height: 1.5; color: var(--muted); }
.g-rail-cta a { margin-top: 8px; display: inline-flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; }
@media (hover: hover) { .g-rail-cta a:hover { color: var(--amber); } }

.g-join .join-grid { padding-top: clamp(40px, 4.4vw, 56px); }
.g-actions { margin-top: clamp(28px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.g-link { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); font-size: 19px; text-decoration: none; padding: 12px 0; }
@media (hover: hover) { .g-link:hover { color: var(--amber); } }

.g-list { border-top: 0; margin-top: 8px; }
.g-list li { display: grid; grid-template-columns: 72px minmax(0, 1fr); padding: 32px 0 34px; border-bottom: 1px solid var(--rule); max-width: 960px; }
.g-no { font-size: 30px; line-height: 1.1; color: var(--amber); font-variant-numeric: oldstyle-nums; font-variation-settings: "opsz" 36; }
.g-li-h { font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.18; color: var(--paper); font-variation-settings: "opsz" 36; text-wrap: balance; }
.g-li-h a { text-decoration: none; }
@media (hover: hover) { .g-li-h a:hover { text-decoration: underline; text-decoration-color: var(--amber); } }
.g-list p { margin-top: 10px; font-size: 19px; line-height: 1.6; max-width: 60ch; text-wrap: pretty; }
.g-list .g-li-meta { margin-top: 8px; font-size: 16.5px; color: var(--muted); }

@media (max-width: 1120px) {
  .guide .g-body { grid-column: 1 / span 12; }
  .guide .g-rail { display: none; }
}
@media (max-width: 720px) {
  .guide .g-crumbs { padding-top: 32px; }
  .guide .g-h1 { font-size: clamp(36px, 10vw, 48px); }
  .guide .g-grid { display: block; padding-top: 32px; }
  .g-body > p, .g-body > ul li, .g-body > ol li { font-size: 18.5px; }
  .g-body > h2 { font-size: 28px; margin-top: 52px; }
  .g-tldr { padding: 18px 18px 18px; margin-inline: calc(-1 * var(--pad) / 2); }
  .g-tldr li { font-size: 18px; }
  .g-table table { font-size: 13px; }
  .g-table td, .g-table tbody th { padding-right: 12px; }
  .g-table-text { font-size: 16.5px !important; }
  .g-table-text tbody th { width: auto; min-width: 7.5em; }
  .g-cta { padding: 18px 18px 20px; }
  .g-actions { flex-direction: column; align-items: stretch; }
  .g-link { justify-content: center; }
  .g-list li { grid-template-columns: 44px minmax(0, 1fr); padding: 26px 0 28px; }
  .g-no { font-size: 24px; }
  .g-li-h { font-size: 25px; }
}
.g-table .num + td:not(.num) { padding-left: 20px; }
@media (max-width: 720px) {
  .g-rec thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
  .g-rec, .g-rec tbody { display: block; }
  .g-rec tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 13px 0 12px; border-bottom: 1px solid var(--rule-2); }
  .g-rec td { display: block; padding: 0 !important; border: 0; text-align: left !important; white-space: normal; }
  .g-rec td:first-child { grid-column: 1; grid-row: 1; font-size: 14.5px; }
  .g-rec td:last-child { grid-column: 2; grid-row: 1; text-align: right !important; }
  .g-rec td:empty { display: none; }
  .g-rec td:not(:first-child):not(:last-child)::before, .g-rec td.num:last-child::before { content: attr(data-k) " "; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: .4em; }
  .g-rec tr.g-total td { border: 0; }
  .g-rec tr.g-total { border-top: 1px solid rgba(239, 231, 217, .32); }
  .g-rec caption { display: block; }
}
