/* Diamond Line — design system for the owner-facing pages (home, /switch).
   "The Line": graphite for money and night, ivory paper for terms, brass for the signature.
   No framework, no build step. Fonts are self-hosted (OFL). */

/* ---------- Fonts ---------- */
@font-face { font-family: "DL Serif"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url(fonts/source-serif-4-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "DL Serif"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url(fonts/source-serif-4-cyrillic-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "DL Sans"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "DL Sans"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-cyrillic-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
/* Metric-matched fallbacks keep layout still while the web fonts load. */
@font-face { font-family: "DL Serif Fallback"; src: local("Georgia"); size-adjust: 104%; ascent-override: 92%; }
@font-face { font-family: "DL Sans Fallback"; src: local("Arial"); size-adjust: 107%; ascent-override: 90%; }

/* ---------- Tokens ---------- */
:root {
  --ink-950: #0b0d10; --ink-900: #111419; --ink-850: #161a20; --ink-800: #1d222a; --ink-700: #2a3039;
  --line-dark: rgba(236, 231, 223, .12);
  --text-on-dark: #ece7df; --text-on-dark-muted: #a3aab3;
  --paper-50: #f5f0e7; --paper-100: #ebe3d5; --line-light: #d8cdb9;
  --text-on-paper: #15181c; --text-on-paper-muted: #5b6068;
  --brass-300: #e3c88f; --brass-400: #cda763; --brass-500: #b58c45; --brass-700: #7a5b22;
  --brass-metal: linear-gradient(135deg, #e9d3a1 0%, #c49a52 45%, #8a6a2f 100%);
  --app-ivory: #f4f1ea; --app-card: #ffffff;

  --serif: "DL Serif", "DL Serif Fallback", Georgia, serif;
  --sans: "DL Sans", "DL Sans Fallback", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-display-xl: clamp(2.75rem, 1.4rem + 5.6vw, 7rem);
  --fs-numeral: clamp(3.25rem, 2rem + 4.6vw, 7rem);
  --fs-display-l: clamp(2.25rem, 1.4rem + 3vw, 4.25rem);
  --fs-display-m: clamp(1.625rem, 1.25rem + 1.5vw, 2.75rem);
  --fs-title: clamp(1.2rem, 1.1rem + .3vw, 1.375rem);
  --fs-lede: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;
  --fs-eyebrow: .75rem;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 32px);
  --sec-pad: clamp(4rem, 2.5rem + 5vw, 8rem);
  --line-x: max(14px, calc((100vw - var(--wrap)) / 2 - 56px));
  --ease-out: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ink-950); color: var(--text-on-dark);
  font-family: var(--sans); font-size: var(--fs-body); line-height: 1.62;
  font-feature-settings: "lnum", "cv11"; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; margin: 0; text-wrap: balance; }
h3 { font-family: var(--sans); font-weight: 600; font-size: var(--fs-title); line-height: 1.3; letter-spacing: -.005em; }
:focus-visible { outline: 2px solid var(--brass-300); outline-offset: 3px; }
.paper :focus-visible { outline-color: var(--brass-700); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brass-400); color: var(--ink-950);
  padding: 10px 16px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass-400); margin: 0 0 1.4rem; font-feature-settings: "case"; }
.paper .eyebrow { color: var(--brass-700); }
.h2 { font-size: var(--fs-display-l); line-height: 1.04; letter-spacing: -.02em; }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--text-on-dark-muted); max-width: 40em; }
.paper .lede { color: var(--text-on-paper-muted); }
.muted { color: var(--text-on-dark-muted); }
.paper .muted { color: var(--text-on-paper-muted); }
.small { font-size: var(--fs-small); }
.nowrap { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px;
  padding: .9rem 1.6rem; border: 0; border-radius: 2px; cursor: pointer; text-decoration: none;
  font: 600 .95rem/1.2 var(--sans); letter-spacing: .01em; color: var(--ink-950);
  background: linear-gradient(110deg, var(--brass-400) 0%, var(--brass-400) 40%, #e7cf9a 50%, var(--brass-400) 60%, var(--brass-400) 100%);
  background-size: 250% 100%; background-position: 100% 0;
  transition: background-position .4s var(--ease-out), transform .2s var(--ease-out);
}
.btn:hover { background-position: 0 0; }
.btn:active { transform: translateY(1px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .55em; min-height: 52px; padding: .9rem 1.4rem;
  border: 1px solid var(--line-dark); border-radius: 2px; text-decoration: none; color: var(--text-on-dark);
  font: 500 .95rem/1.2 var(--sans); background: transparent; cursor: pointer; transition: border-color .12s, color .12s;
}
.btn-ghost:hover { border-color: var(--brass-400); color: var(--brass-300); }
.paper .btn-ghost { color: var(--text-on-paper); border-color: var(--line-light); }
.paper .btn-ghost:hover { border-color: var(--brass-700); color: var(--brass-700); }
.arrow::after { content: "→"; transition: transform .2s var(--ease-out); }
.btn:hover .arrow::after, .btn-ghost:hover .arrow::after, a:hover > .arrow::after { transform: translateX(3px); }
.link { color: var(--brass-300); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .25s var(--ease-out); }
.link:hover { background-size: 100% 1px; }
.paper .link { color: var(--brass-700); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(11, 13, 16, .72);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.hdr.is-scrolled { border-bottom-color: var(--line-dark); background: rgba(11, 13, 16, .88); }
.hdr-in { display: flex; align-items: center; gap: 24px; height: 72px; transition: height .2s var(--ease-out); }
.hdr.is-scrolled .hdr-in { height: 60px; }
.mark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-on-dark); margin-right: auto; }
.mark-dl { width: 34px; height: 34px; display: grid; place-items: center; font: 400 .8rem/1 var(--serif); letter-spacing: .08em;
  color: var(--ink-950); background: var(--brass-metal); }
.mark-name { font: 400 1.18rem/1 var(--serif); letter-spacing: .01em; }
.mark-name small { display: block; font: 500 .58rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--text-on-dark-muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: .9rem; color: var(--text-on-dark-muted); text-decoration: none; transition: color .12s; }
.nav a:hover, .nav a[aria-current] { color: var(--text-on-dark); }
.nav .lang { font-size: .78rem; letter-spacing: .12em; border: 1px solid var(--line-dark); padding: 4px 8px; }
.hdr .btn { min-height: 42px; padding: .65rem 1.1rem; font-size: .88rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--text-on-dark); width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 1px; background: currentColor; margin: 0 auto; position: relative; content: ""; transition: transform .2s; }
.nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 980px) {
  .nav-toggle { display: inline-block; }
  .hdr .hdr-cta { display: none; }
  .nav { position: fixed; inset: 60px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px;
    background: var(--ink-950); border-bottom: 1px solid var(--line-dark); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; color: var(--text-on-dark); }
  .nav .lang { align-self: flex-start; margin-top: 14px; border: 1px solid var(--line-dark); }
  .nav .btn { margin-top: 18px; color: var(--ink-950); }
}
@media (min-width: 981px) { .nav .btn { display: none; } }

/* ---------- Sections and "the Line" ---------- */
.sec { position: relative; padding-block: var(--sec-pad); overflow: clip; }
.sec.dark { background: var(--ink-950); }
.sec.dark-2 { background: var(--ink-900); }
.paper { background: var(--paper-50); color: var(--text-on-paper); }
.paper.paper-2 { background: var(--paper-100); }
.sec::before { content: ""; position: absolute; left: var(--line-x); top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, rgba(205, 167, 99, .55), rgba(205, 167, 99, .35)); transform-origin: top; }
.paper::before { background: rgba(122, 91, 34, .45); }
.node { position: absolute; left: calc(var(--line-x) - 6px); width: 13px; height: 13px; transform: rotate(45deg);
  background: var(--brass-metal); box-shadow: 0 0 0 5px var(--ink-950); }
.dark-2 .node { box-shadow: 0 0 0 5px var(--ink-900); }
.paper .node { box-shadow: 0 0 0 5px var(--paper-50); }
.paper-2 .node { box-shadow: 0 0 0 5px var(--paper-100); }
.node-num { position: absolute; left: calc(var(--line-x) + 18px); font: 500 .7rem/1 var(--sans); letter-spacing: .16em; color: var(--brass-400); }
.paper .node-num { color: var(--brass-700); }
.sec > .node { top: calc(var(--sec-pad) + .35rem); }
.sec > .node-num { top: calc(var(--sec-pad) + .3rem); display: none; }
@media (max-width: 1360px) { .sec::before, .sec > .node { display: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sec::before { animation: dl-draw linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  }
}
@keyframes dl-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Grain on graphite */
.grain { position: relative; isolation: isolate; }
.grain::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.sec-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.sec-head .lede { margin-top: 1.5rem; }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(12px); transition: opacity .36s var(--ease-out), transform .36s var(--ease-out); }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3.5rem, 2rem + 6vw, 8rem) clamp(4rem, 2rem + 6vw, 8rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 5rem); align-items: center; }
.hero h1 { font-size: var(--fs-display-xl); line-height: .98; letter-spacing: -.025em; }
.hero h1 .accent { color: var(--brass-300); }
.hero-rule { display: flex; align-items: center; gap: 10px; margin: clamp(1.75rem, 3vw, 2.5rem) 0; }
.hero-rule::before { content: ""; width: 13px; height: 13px; transform: rotate(45deg); background: var(--brass-metal); flex: none; }
.hero-rule::after { content: ""; height: 1px; flex: 1; max-width: 360px; background: linear-gradient(to right, var(--brass-400), transparent); }
.hero .lede { margin-bottom: 2rem; }
.payday { margin: 1.75rem 0 0; font-size: .92rem; color: var(--text-on-dark-muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.payday::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brass-400); box-shadow: 0 0 0 4px rgba(205, 167, 99, .18); }
.payday strong { color: var(--text-on-dark); font-weight: 600; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(205, 167, 99, .22), rgba(205, 167, 99, .06) 55%, transparent 72%); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 1rem; }
}

/* ---------- Phone mock (HTML) ---------- */
.phone { width: min(300px, 72vw); aspect-ratio: 9 / 19.2; border-radius: 46px; padding: 10px; background: #07080a;
  box-shadow: 0 0 0 1px #2a3039, inset 0 0 0 1px #20242b, 0 40px 80px -40px rgba(0, 0, 0, .7); position: relative; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px;
  border-radius: 20px; background: #000; z-index: 3; }
.phone-scr { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--app-ivory);
  color: #15181c; font-family: var(--sans); }
.scr { position: absolute; inset: 0; padding: 56px 16px 16px; opacity: 0; transition: opacity .28s var(--ease-in-out); }
.scr.is-on { opacity: 1; }
.scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sb { position: absolute; top: 16px; left: 28px; right: 24px; display: flex; justify-content: space-between; font: 600 .72rem/1 var(--sans); z-index: 2; }
.app-top { display: flex; align-items: center; justify-content: center; gap: 7px; font: 400 .9rem/1 var(--serif); margin-bottom: 18px; }
.app-top i { width: 18px; height: 18px; border: 1px solid #b58c45; display: grid; place-items: center; font: normal 400 .48rem/1 var(--serif); color: #b58c45; }
.app-h { font: 400 1.45rem/1.1 var(--serif); margin: 0 0 3px; }
.app-sub { font-size: .66rem; color: #6b7179; margin: 0 0 14px; }
.app-card { background: var(--app-card); border: 1px solid #e6e0d4; border-radius: 13px; padding: 12px; margin-bottom: 9px; }
.app-k { font-size: .52rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6b7179; }
.app-big { font: 400 1.5rem/1.1 var(--serif); margin: 4px 0 2px; }
.app-row { display: flex; justify-content: space-between; align-items: center; font-size: .68rem; padding: 8px 0; border-top: 1px solid #efe9de; }
.app-row:first-of-type { border-top: 0; }
.app-row b { font-weight: 600; }
.chip { display: inline-block; font-size: .56rem; font-weight: 600; padding: 3px 7px; border-radius: 20px; background: #f3e9d4; color: #6e5320; }
.chip.ok { background: #e3efe7; color: #2f5d43; }
.skel { display: inline-block; height: 7px; width: 56px; border-radius: 4px; background: #e9e3d8; vertical-align: middle; }
.app-btn { display: block; text-align: center; background: #cda763; color: #15181c; border-radius: 10px; padding: 9px; font-size: .68rem; font-weight: 600; margin-top: 10px; }
.app-tabs { position: absolute; left: 22px; right: 22px; bottom: 14px; height: 44px; border-radius: 22px; background: rgba(255,255,255,.85);
  border: 1px solid #e6e0d4; display: flex; justify-content: space-around; align-items: center; font-size: .54rem; color: #6b7179; }
.app-tabs b { color: #7a5b22; font-weight: 600; }
.phone-cap { margin-top: 18px; font-size: .78rem; color: var(--text-on-dark-muted); text-align: center; }
.paper .phone-cap { color: var(--text-on-paper-muted); }

/* Statement anatomy (inside phone) */
.st-line { display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: center; width: 100%; text-align: left;
  font: inherit; font-size: .68rem; color: inherit; padding: 8px 6px; margin: 0 -6px; border: 0; border-top: 1px solid #efe9de;
  background: transparent; border-radius: 6px; cursor: default; transition: background .12s; }
.st-line:first-child { border-top: 0; }
.st-line.is-hot { background: #f6ecd6; }
.st-total { font-weight: 700; }

/* ---------- Terms band ---------- */
.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(205, 167, 99, .5); }
.term { padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1rem, 2vw, 2rem) 0 0; position: relative; }
.term + .term { padding-left: clamp(1rem, 2vw, 2rem); border-left: 1px solid var(--line-dark); }
.term-n { font: 300 var(--fs-numeral)/.9 var(--serif); letter-spacing: -.03em; color: var(--brass-300); display: block; }
.term-n small { font-size: .38em; letter-spacing: 0; margin-left: .08em; }
.term-t { margin: 1.1rem 0 .4rem; font-weight: 600; font-size: 1rem; }
.term-d { font-size: .92rem; color: var(--text-on-dark-muted); margin: 0; max-width: 22em; }
.term-viz { margin-top: 1.4rem; height: 34px; }
.terms-note { margin-top: 2.25rem; font-size: .82rem; color: var(--text-on-dark-muted); }
.mini-cal { display: grid; grid-template-columns: repeat(7, 7px); gap: 3px; }
.mini-cal i { width: 7px; height: 7px; background: var(--ink-700); }
.mini-cal i.on { background: var(--brass-400); transform: rotate(45deg) scale(1.1); }
.scale { position: relative; height: 1px; background: var(--ink-700); margin-top: 16px; max-width: 160px; }
.scale::before { content: ""; position: absolute; left: 0; top: -4px; width: 100%; height: 9px;
  background: repeating-linear-gradient(to right, var(--ink-700) 0 1px, transparent 1px 16px); }
.scale b { position: absolute; right: 0; top: -12px; width: 1px; height: 24px; background: var(--brass-400); }
.strike { font-size: .78rem; color: var(--text-on-dark-muted); text-decoration: line-through; text-decoration-color: var(--brass-400); }
.clock { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--ink-700);
  background: conic-gradient(var(--brass-400) 0 100%, transparent 0); -webkit-mask: radial-gradient(circle, transparent 9px, #000 10px); mask: radial-gradient(circle, transparent 9px, #000 10px); }
@media (max-width: 900px) {
  .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .term:nth-child(3) { padding-left: 0; border-left: 0; }
  .term:nth-child(n+3) { border-top: 1px solid var(--line-dark); margin-top: 1.75rem; }
}

/* ---------- Month timeline ---------- */
.month { display: grid; grid-template-columns: 2.2fr 1fr 1fr; gap: 0; position: relative; margin-top: 1rem; }
.month::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-dark); }
.stop { position: relative; padding: 34px 2rem 0 0; }
.stop::before { content: ""; position: absolute; top: 1px; left: 0; width: 13px; height: 13px; transform: rotate(45deg); background: var(--ink-700); }
.stop.is-key::before { background: var(--brass-metal); }
.stop-when { font: 300 clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem)/1 var(--serif); color: var(--text-on-dark); display: block; margin-bottom: .8rem; }
.stop.is-key .stop-when { color: var(--brass-300); }
.stop p { color: var(--text-on-dark-muted); font-size: .97rem; max-width: 26em; }
@media (max-width: 760px) {
  .month { grid-template-columns: 1fr; }
  .month::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .stop { padding: 0 0 2rem 34px; }
}

/* ---------- App showcase ---------- */
.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); }
.chapters { display: grid; gap: 0; }
.chapter { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 2rem 0; border-top: 1px solid var(--line-light); }
.chapter:first-child { border-top: 0; }
.chapter .k { font: 500 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-700); margin-bottom: 1rem; }
.chapter h3 { font: 300 var(--fs-display-m)/1.1 var(--serif); letter-spacing: -.015em; margin-bottom: 1rem; }
.chapter p { color: var(--text-on-paper-muted); max-width: 30em; }
.chapter ul { margin: .5rem 0 0; padding: 0; list-style: none; }
.chapter li { padding: .45rem 0 .45rem 1.4rem; position: relative; color: var(--text-on-paper); }
.chapter li::before { content: ""; position: absolute; left: 0; top: 1em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--brass-500); }
.sticky-phone { position: sticky; top: 110px; height: fit-content; display: grid; justify-items: center; padding-top: 2rem; }
.sticky-phone .phone { width: 300px; }
.app-note { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.app-note p { margin: 0; color: var(--text-on-paper-muted); max-width: 38em; }
.phones-row { display: none; }
@media (max-width: 900px) {
  .app-grid { grid-template-columns: 1fr; }
  .sticky-phone { display: none; }
  .chapter { min-height: 0; padding: 2.25rem 0; }
  .phones-row { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 18px; margin: 1.5rem calc(-1 * var(--gutter)) 0; padding-inline: var(--gutter); }
  .phones-row figure { flex: none; scroll-snap-align: center; margin: 0; }
  .phones-row .phone { width: 68vw; max-width: 280px; }
  .phones-row .scr { opacity: 1; }
  .phones-row figcaption { text-align: center; font-size: .82rem; color: var(--text-on-paper-muted); margin-top: 10px; }
}

/* ---------- Term sheet ---------- */
.sheet { background: var(--paper-50); border: 1px solid var(--line-light); padding: clamp(1.25rem, 3vw, 3rem); box-shadow: 0 30px 60px -45px rgba(21, 24, 28, .45); }
.sheet-top { display: flex; justify-content: space-between; gap: 1rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-on-paper-muted); padding-bottom: 1rem; border-bottom: 1px solid var(--text-on-paper); }
.sheet table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.sheet caption { text-align: left; }
.sheet th, .sheet td { text-align: left; vertical-align: top; padding: 1.15rem 1rem 1.15rem 0; border-bottom: 1px solid var(--line-light); }
.sheet thead th { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-on-paper-muted); font-weight: 600; padding-top: 1.4rem; }
.sheet tbody th { font-weight: 600; width: 18%; }
.sheet td.typ { color: var(--text-on-paper-muted); width: 36%; }
.sheet td.dl { font-weight: 500; position: relative; padding-left: 1.6rem; }
.sheet td.dl::before { content: ""; position: absolute; left: 0; top: 1.55rem; width: 8px; height: 8px; transform: rotate(45deg); background: var(--brass-500); }
.sheet thead th.dl-h { color: var(--brass-700); padding-left: 1.6rem; }
.sheet-sign { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; font-size: .8rem; color: var(--text-on-paper-muted); }
.sheet-sign span:first-child { font-family: var(--serif); font-size: 1rem; color: var(--text-on-paper); border-top: 1px solid var(--text-on-paper); padding-top: .5rem; }
@media (max-width: 760px) {
  .sheet thead { display: none; }
  .sheet tr { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line-light); }
  .sheet th, .sheet td { display: block; border: 0; padding: .2rem 0; width: auto !important; }
  .sheet td.typ::before { content: attr(data-label) ": "; font-weight: 600; }
  .sheet td.dl { padding-left: 1.3rem; }
  .sheet td.dl::before { top: .65rem; }
}

/* ---------- Switch relay ---------- */
.relay { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; margin: 1rem 0 3rem; }
.relay::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(to right, var(--brass-400), rgba(205, 167, 99, .25)); }
.leg { position: relative; padding: 36px 1.5rem 0 0; }
.leg::before { content: ""; position: absolute; top: 1px; left: 0; width: 13px; height: 13px; transform: rotate(45deg); background: var(--brass-metal); }
.leg h3 { font: 300 clamp(1.4rem, 1.1rem + 1vw, 2rem)/1.1 var(--serif); margin-bottom: .7rem; }
.leg p { color: var(--text-on-dark-muted); font-size: .95rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.review { border: 1px solid rgba(205, 167, 99, .45); padding: clamp(1.5rem, 3vw, 2.5rem); background: rgba(205, 167, 99, .04); }
.review h3 { font: 300 var(--fs-display-m)/1.1 var(--serif); margin-bottom: 1rem; }
.marked { position: relative; background: var(--paper-50); color: var(--text-on-paper); padding: 1.1rem 1.2rem; margin: 1.25rem 0; font-size: .82rem; }
.marked div { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px dashed var(--line-light); }
.marked div:last-child { border-bottom: 0; }
.marked em { font-family: var(--serif); font-style: normal; color: var(--brass-700); font-size: .86rem; }
@media (max-width: 900px) {
  .relay { grid-template-columns: 1fr 1fr; gap: 2rem 0; }
  .relay::before { display: none; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .relay { grid-template-columns: 1fr; } }

/* ---------- Furnishing ---------- */
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.pack { background: var(--paper-50); padding: clamp(1.5rem, 2.5vw, 2.25rem); display: flex; flex-direction: column; }
.pack.is-mid { background: #fffaf0; box-shadow: inset 0 0 0 1px var(--brass-500); }
.swatch { display: flex; margin-bottom: 1.5rem; }
.swatch i { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--paper-50); margin-left: -8px; }
.swatch i:first-child { margin-left: 0; }
.pack h3 { font: 400 1.9rem/1.1 var(--serif); margin-bottom: .6rem; }
.pack p { color: var(--text-on-paper-muted); font-size: .97rem; }
.pack ul { list-style: none; padding: 0; margin: .5rem 0 1.5rem; font-size: .95rem; }
.pack li { padding: .35rem 0 .35rem 1.3rem; position: relative; }
.pack li::before { content: ""; position: absolute; left: 0; top: .95em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--brass-500); }
.pack .price { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line-light); font-size: .88rem; color: var(--text-on-paper-muted); }
.pack-foot { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.pack-foot p { margin: 0; max-width: 40em; color: var(--text-on-paper-muted); }
@media (max-width: 900px) { .packs { grid-template-columns: 1fr; } }

/* ---------- Care list, facts ---------- */
.care { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 5rem); }
.care div { padding: 1.2rem 0; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 2.2rem 1fr; }
.care b { font: 400 .78rem/1.8 var(--sans); color: var(--brass-400); letter-spacing: .1em; }
.care span { font-size: 1.05rem; }
.care small { display: block; color: var(--text-on-dark-muted); font-size: .9rem; margin-top: .2rem; }
@media (max-width: 760px) { .care { grid-template-columns: 1fr; } }
.hallmark { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 2rem 0; }
.seal { width: 96px; height: 96px; display: grid; place-items: center; background: var(--brass-metal); color: var(--ink-950); font: 400 1.5rem/1 var(--serif); letter-spacing: .08em;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.25rem 2rem; margin: 0; }
.facts dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-on-dark-muted); margin-bottom: .35rem; }
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.12rem; }
@media (max-width: 600px) { .hallmark { grid-template-columns: 1fr; } .seal { width: 72px; height: 72px; font-size: 1.1rem; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--text-on-paper); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { list-style: none; cursor: pointer; padding: 1.35rem 3rem 1.35rem 0; position: relative; font: 400 clamp(1.15rem, 1.05rem + .4vw, 1.4rem)/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1px solid var(--brass-700); border-bottom: 1px solid var(--brass-700);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .ans { padding: 0 0 1.5rem; color: var(--text-on-paper-muted); max-width: 44em; }

/* ---------- Estimate form ---------- */
.est { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .est { grid-template-columns: 1fr; } }
.est-card { background: var(--ink-850); border: 1px solid var(--line-dark); padding: clamp(1.25rem, 3vw, 2.5rem); }
.steps-ind { display: flex; gap: 10px; align-items: center; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-on-dark-muted); margin-bottom: 1.5rem; }
.steps-ind b { color: var(--brass-300); font-weight: 600; }
.fset { border: 0; padding: 0; margin: 0 0 1.4rem; min-width: 0; }
.fset legend, .fld label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .55rem; padding: 0; }
.fld { margin-bottom: 1.1rem; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 52px; font: 400 16px/1.4 var(--sans); color: var(--text-on-dark);
  background: var(--ink-950); border: 1px solid var(--ink-700); border-radius: 2px; padding: .8rem .9rem; transition: border-color .12s; }
.fld textarea { min-height: 96px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--brass-400); }
.fld [aria-invalid="true"] { border-color: #e08a76; }
.fld .hint { font-size: .8rem; color: var(--text-on-dark-muted); margin-top: .35rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label, .opt label { position: relative; cursor: pointer; }
.seg input, .opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; min-height: 46px; padding: 0 1rem; border: 1px solid var(--ink-700); font-size: .92rem; transition: border-color .12s, background .12s; }
.seg input:checked + span { border-color: var(--brass-400); background: rgba(205, 167, 99, .12); color: var(--brass-300); }
.seg input:focus-visible + span, .opt input:focus-visible + span { outline: 2px solid var(--brass-300); outline-offset: 2px; }
.opt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt span { display: block; min-height: 64px; padding: .8rem .9rem; border: 1px solid var(--ink-700); font-size: .92rem; line-height: 1.35; transition: border-color .12s, background .12s; }
.opt span small { display: block; color: var(--text-on-dark-muted); font-size: .78rem; margin-top: .2rem; }
.opt input:checked + span { border-color: var(--brass-400); background: rgba(205, 167, 99, .1); }
@media (max-width: 480px) { .opt { grid-template-columns: 1fr; } }
.checks { display: grid; gap: .55rem; margin-bottom: 1.2rem; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; font-size: .9rem; line-height: 1.5; color: var(--text-on-dark-muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brass-400); cursor: pointer; }
.check strong { color: var(--text-on-dark); font-weight: 500; }
.promise { display: flex; gap: .7rem; align-items: center; font-size: .9rem; color: var(--text-on-dark-muted); margin: 1.2rem 0; }
.promise strong { color: var(--brass-300); font-weight: 600; }
.form-nav { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.err-sum { display: none; border: 1px solid #e08a76; color: #f0b3a5; padding: .75rem 1rem; font-size: .9rem; margin-bottom: 1rem; }
.err-sum.is-on { display: block; }
.form-legal { font-size: .78rem; color: var(--text-on-dark-muted); margin: 1rem 0 0; }
.form-done { border: 1px solid rgba(205, 167, 99, .5); padding: 1.75rem; }
.form-done h3 { font: 300 var(--fs-display-m)/1.1 var(--serif); margin-bottom: .75rem; }
.form-done code { font: 600 1rem/1 ui-monospace, Menlo, monospace; color: var(--brass-300); }
.form-done ol { padding-left: 1.2rem; color: var(--text-on-dark-muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.step[hidden] { display: none; }

/* ---------- Audiences, footer ---------- */
.aud { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.aud > div { background: var(--ink-900); padding: clamp(1.5rem, 3vw, 2.5rem); }
.aud h3 { font: 300 1.75rem/1.15 var(--serif); margin-bottom: .75rem; }
.aud p { color: var(--text-on-dark-muted); }
.aud .links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .92rem; }
@media (max-width: 760px) { .aud { grid-template-columns: 1fr; } }
.ftr { background: #08090b; padding: 4rem 0 6rem; font-size: .88rem; color: var(--text-on-dark-muted); }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem 3rem; }
.ftr h4 { font: 600 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text-on-dark); margin: 0 0 1rem; }
.ftr a { color: var(--text-on-dark-muted); text-decoration: none; display: block; padding: .25rem 0; }
.ftr a:hover { color: var(--brass-300); }
.ftr .engr { font-family: var(--serif); font-size: 1.05rem; color: var(--text-on-dark); line-height: 1.5; margin-bottom: 1rem; }
.ftr-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .8rem; }
@media (max-width: 760px) { .ftr-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile CTA ---------- */
.mcta { position: fixed; z-index: 40; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translate(-50%, 140%);
  transition: transform .3s var(--ease-out); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .7); white-space: nowrap; }
.mcta.is-on { transform: translate(-50%, 0); }
@media (min-width: 901px) { .mcta { display: none; } }

@media (prefers-contrast: more) { :root { --line-dark: rgba(236, 231, 223, .3); } }
@media print { .hdr, .mcta, .nav-toggle { display: none; } body { background: #fff; color: #000; } }

/* ---------- /switch: path toggle, notice planner, swimlane, checklist ---------- */
.paths { display: inline-flex; border: 1px solid var(--line-dark); padding: 4px; gap: 4px; margin-bottom: 2rem; flex-wrap: wrap; }
.paths button { font: 500 .9rem/1.2 var(--sans); color: var(--text-on-dark-muted); background: transparent; border: 0; padding: .7rem 1rem; min-height: 44px; cursor: pointer; }
.paths button[aria-pressed="true"] { background: var(--brass-400); color: var(--ink-950); }
[data-path="switch"] [data-show="keys"], [data-path="keys"] [data-show="switch"] { display: none !important; }
.planner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.planner > div { background: var(--paper-50); padding: 1.5rem; }
.planner label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .5rem; }
.planner input { width: 100%; min-height: 52px; font: 16px/1.4 var(--sans); padding: .75rem .9rem; border: 1px solid var(--line-light); background: #fff; color: var(--text-on-paper); border-radius: 2px; }
.planner output { display: block; font: 300 clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem)/1.1 var(--serif); color: var(--text-on-paper); margin-top: .25rem; }
.planner .note { font-size: .82rem; color: var(--text-on-paper-muted); margin: .6rem 0 0; }
.checks3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.checks3 h3 { font: 400 1.35rem/1.2 var(--serif); margin-bottom: .5rem; }
.checks3 p { color: var(--text-on-paper-muted); font-size: .97rem; }
.lane { display: grid; grid-template-columns: 9rem 1fr 1fr; border-top: 1px solid var(--line-dark); }
.lane > div { padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--line-dark); }
.lane .hd { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-on-dark-muted); font-weight: 600; }
.lane .st { font: 400 1.1rem/1.3 var(--serif); color: var(--brass-300); }
.lane .you { color: var(--text-on-dark-muted); }
.lane .us { color: var(--text-on-dark); }
.doclist { list-style: none; padding: 0; margin: 0; max-width: 680px; border-top: 1px solid var(--text-on-paper); }
.doclist li { border-bottom: 1px solid var(--line-light); }
.doclist label { display: grid; grid-template-columns: 26px 1fr; gap: .9rem; align-items: start; padding: 1.1rem 0; cursor: pointer; }
.doclist input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--brass-700); }
.doclist strong { display: block; font-weight: 600; }
.doclist span span { color: var(--text-on-paper-muted); font-size: .92rem; }
.doclist input:checked + span strong { text-decoration: line-through; text-decoration-color: var(--brass-500); }
@media (max-width: 900px) {
  .planner, .checks3 { grid-template-columns: 1fr; }
  .lane { grid-template-columns: 1fr; }
  .lane .hd { display: none; }
  .lane > div { border-bottom: 0; padding: .35rem 0; }
  .lane .st { padding-top: 1.2rem; border-top: 1px solid var(--line-dark); }
  .lane .you::before { content: attr(data-label) " · "; font-weight: 600; }
  .lane .us::before { content: attr(data-label) " · "; font-weight: 600; color: var(--brass-300); }
}

/* ---------- Company home: audience doors, photo pair, standards ---------- */
.doors { display: grid; border-top: 1px solid rgba(205, 167, 99, .5); width: 100%; }
.door { display: grid; grid-template-columns: 2.4rem 1fr auto; gap: .25rem 1rem; align-items: baseline; padding: 1.5rem 0;
  border-bottom: 1px solid var(--line-dark); text-decoration: none; color: inherit; transition: padding .3s var(--ease-out), background-color .3s; }
.door b { font: 400 .78rem/1.9 var(--sans); color: var(--brass-400); letter-spacing: .1em; }
.door strong { font: 300 clamp(1.4rem, 1.15rem + .9vw, 2rem)/1.15 var(--serif); letter-spacing: -.01em; }
.door small { grid-column: 2; display: block; color: var(--text-on-dark-muted); font-size: .92rem; line-height: 1.5; }
.door i { grid-row: 1 / span 2; grid-column: 3; align-self: center; font-style: normal; color: var(--brass-300); font-size: 1.3rem;
  transition: transform .3s var(--ease-out); }
.door:hover, .door:focus-visible { padding-left: .6rem; background: linear-gradient(to right, rgba(205, 167, 99, .07), transparent 70%); }
.door:hover i, .door:focus-visible i { transform: translateX(6px); }
.door-foot { margin-top: 1.25rem; font-size: .85rem; color: var(--text-on-dark-muted); }
.door-foot a { color: var(--brass-300); text-decoration: none; }

.co-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.co-text p { color: var(--text-on-paper-muted); font-size: 1.08rem; }
.co-text p:first-child { color: var(--text-on-paper); font: 300 var(--fs-display-m)/1.22 var(--serif); letter-spacing: -.01em; margin-bottom: 1.5rem; }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photos figure { margin: 0; }
.photos figure:nth-child(2) { margin-top: 3.5rem; }
.photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.9) contrast(1.03); }
.photos figcaption { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-on-paper-muted); margin-top: .6rem; }
.facts-paper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2rem; margin: clamp(3rem, 5vw, 4.5rem) 0 0;
  padding-top: 1.75rem; border-top: 1px solid var(--text-on-paper); }
.facts-paper dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-on-paper-muted); margin-bottom: .4rem; font-weight: 600; }
.facts-paper dd { margin: 0; font-family: var(--serif); font-size: 1.1rem; line-height: 1.35; color: var(--text-on-paper); }
.facts-paper dd small { display: block; font-family: var(--sans); font-size: .82rem; color: var(--text-on-paper-muted); margin-top: .25rem; }
.owner-cta { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; margin-top: 2.75rem; }
.paper .links { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2rem; font-size: .95rem; }
.paper .link { color: var(--brass-700); }
.std { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(2rem, 4vw, 4rem); }
.std > div { border-top: 1px solid var(--line-dark); padding: 1.5rem 0 2rem; }
.std h3 { font: 400 1.3rem/1.25 var(--serif); margin-bottom: .5rem; }
.std p { color: var(--text-on-dark-muted); font-size: .96rem; margin: 0; }
.std a { color: var(--brass-300); }
.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin-top: 3rem; }
.routes a { background: var(--ink-950); padding: 1.75rem; text-decoration: none; display: block; transition: background-color .25s; }
.routes a:hover, .routes a:focus-visible { background: var(--ink-850); }
.routes b { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-400); margin-bottom: .6rem; font-weight: 600; }
.routes strong { display: block; font: 300 1.45rem/1.2 var(--serif); margin-bottom: .4rem; }
.routes span { color: var(--text-on-dark-muted); font-size: .92rem; }
@media (max-width: 900px) {
  .co-grid { grid-template-columns: 1fr; }
  .facts-paper { grid-template-columns: 1fr 1fr; }
  .facts-paper > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .std, .routes { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .facts-paper { grid-template-columns: 1fr; } .photos figure:nth-child(2) { margin-top: 2rem; } }

/* ---------- Review fixes 08.11: numerals, hero size, quick estimate ---------- */
.term-n, .sheet table, .payday, .app-big, .st-line, .planner output, .stop-when, .facts dd, .promise { font-variant-numeric: tabular-nums lining-nums; }
.hero h1 { font-size: clamp(2.6rem, 1.5rem + 4vw, 5.25rem); }
.est .h2 { margin-bottom: 1.25rem; }
.pack h3 small { display: block; font: 500 .7rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text-on-paper-muted); margin-top: .2rem; }
.month-k { margin: clamp(3rem, 5vw, 4.5rem) 0 1.25rem; }
.quick { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) auto; gap: .75rem; align-items: end; max-width: 40rem; margin-top: .5rem; }
.quick label { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--text-on-dark-muted); margin-bottom: .4rem; }
.quick input, .quick select { width: 100%; min-height: 52px; font: 16px/1.3 var(--sans); padding: .75rem .9rem; color: var(--text-on-dark);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(236, 231, 223, .28); border-radius: 2px; }
.quick select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--brass-300) 50%), linear-gradient(135deg, var(--brass-300) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem; }
.quick select option { color: #111; }
.quick input:focus, .quick select:focus { outline: 2px solid var(--brass-300); outline-offset: 1px; border-color: transparent; }
.quick .btn { min-height: 52px; white-space: nowrap; }
.quick-alt { margin-top: 1rem; font-size: .9rem; color: var(--text-on-dark-muted); }
@media (max-width: 640px) { .quick { grid-template-columns: 1fr 1fr; } .quick > div:first-child { grid-column: 1 / -1; } .quick .btn { grid-column: 1 / -1; } }
