/* ──────────────────────────────────────────────────────────────
   The Last Bill — shared stylesheet
   A financial-document aesthetic. Cream paper, ink, red stamp.
   ──────────────────────────────────────────────────────────── */

:root {
  /* Paper + ink */
  --paper: #F4EFE6;
  --paper-deep: #ECE5D6;
  --paper-card: #FBF7EE;
  --paper-edge: rgba(122, 102, 81, 0.16);

  --ink: #14110D;
  --ink-soft: #2C241C;
  --ink-faint: #5A4D3E;
  --muted: #7A6651;
  --muted-light: #A39079;

  /* Accent — red stamp ink */
  --stamp: #9A2A2A;
  --stamp-deep: #7A1A1A;
  --stamp-soft: rgba(154, 42, 42, 0.08);

  /* Rule lines (faint pencil-blue ledger feel for some surfaces) */
  --rule: rgba(122, 102, 81, 0.18);
  --rule-strong: rgba(60, 48, 36, 0.28);
  --ledger-blue: rgba(110, 132, 158, 0.32);

  /* Type */
  --serif-display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --serif-body: 'Newsreader', Georgia, 'Times New Roman', serif;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', 'Menlo', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--paper); }

body {
  font-family: var(--serif-body);
  color: var(--ink);
  font-size: 18.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "onum";
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Paper grain — very subtle. Cool not warm. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.18;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.18 0 0 0 0 0.14 0 0 0 0 0.09 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Fine watermark rule across the page — barely there */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background-image: repeating-linear-gradient(
    transparent 0,
    transparent 31px,
    var(--ledger-blue) 31px,
    var(--ledger-blue) 32px
  );
  opacity: 0.06;
}

::selection { background: var(--ink); color: var(--paper); }

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

/* Tabular numerals everywhere a number lives */
.num, .mono, .receipt, .ledger, .calc, .pricing-stamp,
input[type="number"], input[type="text"],
table.examples td, table.ledger-table td, table.ledger-table th {
  font-feature-settings: "tnum", "lnum";
  font-variant-numeric: tabular-nums lining-nums;
}

/* ──────────────────────────────────────────────────────────────
   Layout shell
   ──────────────────────────────────────────────────────────── */
.page { position: relative; z-index: 1; }

.column {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px;
}
.column--wide { max-width: 880px; }
.column--narrow { max-width: 580px; }

section { padding: clamp(56px, 8vw, 104px) 0; }
section + section { border-top: 1px solid var(--paper-edge); }

/* ──────────────────────────────────────────────────────────────
   Top wordmark + nav
   ──────────────────────────────────────────────────────────── */
.topbar {
  position: absolute;
  top: 28px; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 28px;
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }

.wordmark {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.005em;
  color: var(--ink);
  font-variation-settings: "opsz" 24, "SOFT" 30;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}
.wordmark::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--stamp);
  border-radius: 50%;
  margin-left: 4px;
  transform: translateY(-9px);
}

.topnav {
  display: flex;
  gap: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.topnav a {
  text-decoration: none;
  color: inherit;
  transition: color 0.18s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.topnav a:hover { color: var(--ink); border-bottom-color: var(--stamp); }
.topnav a.current { color: var(--ink); }

/* ──────────────────────────────────────────────────────────────
   Eyebrow + section tags
   ──────────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.section-tag {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-tag .num { color: var(--stamp); font-weight: 500; }
.section-tag::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* ──────────────────────────────────────────────────────────────
   Headlines + body type
   ──────────────────────────────────────────────────────────── */
h1 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 25;
  font-size: clamp(40px, 6.6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
}
h2 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-variation-settings: "opsz" 72, "SOFT" 30;
  font-size: clamp(28px, 3.8vw, 38px);
  line-height: 1.06;
  letter-spacing: -0.018em;
  margin-bottom: 26px;
  color: var(--ink);
}
h3 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-variation-settings: "opsz" 36, "SOFT" 30;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin-bottom: 12px;
}

p { margin-bottom: 18px; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }
p.lede {
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
}
em { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 80; }

/* ──────────────────────────────────────────────────────────────
   CTA — bracketed monospace
   ──────────────────────────────────────────────────────────── */
.cta {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
  position: relative;
  transition: color 0.18s ease;
  font-weight: 500;
}
.cta .bracket {
  color: var(--stamp);
  transition: color 0.18s ease, transform 0.18s ease;
}
.cta:hover { color: var(--stamp-deep); }
.cta:hover .bracket { color: var(--stamp-deep); }
.cta:hover .bracket.l { transform: translateX(-3px); }
.cta:hover .bracket.r { transform: translateX(3px); }
.cta:focus-visible {
  outline: 1px dashed var(--stamp);
  outline-offset: 8px;
  border-radius: 2px;
}

.cta--lg { font-size: 16px; }

/* ──────────────────────────────────────────────────────────────
   Hero
   ──────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: clamp(110px, 14vw, 150px);
  padding-bottom: clamp(60px, 9vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-inner { width: 100%; }

.hero h1 .rotator {
  display: inline-block;
  position: relative;
}
.hero h1 .rotator-bracket {
  color: var(--stamp);
  font-style: normal;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 0;
}
.hero h1 .rotator-word {
  display: inline-block;
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80;
  color: var(--ink);
  transition: opacity 0.4s ease, transform 0.4s ease;
  min-width: 0.5em;
}
.hero h1 .rotator-word.fading {
  opacity: 0;
  transform: translateY(-4px);
}

.hero-sub {
  font-family: var(--serif-body);
  font-size: clamp(17px, 1.95vw, 20px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 580px;
  margin-top: 24px;
  margin-bottom: 48px;
}

/* ──────────────────────────────────────────────────────────────
   The calculator + receipt — the conversion engine
   ──────────────────────────────────────────────────────────── */
.calc-rig {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
  margin-top: 6px;
}

/* Left side: input + summary */
.calc-pad {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 4px;
}

.calc-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.calc-label::before {
  content: "";
  display: block;
  width: 18px; height: 1px;
  background: var(--ink);
  opacity: 0.4;
}

.calc-input-wrap {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 4px;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 8px;
  max-width: 280px;
}
.calc-input-wrap .currency {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 36px;
  color: var(--ink-faint);
  font-variation-settings: "opsz" 72, "SOFT" 20;
  line-height: 1;
}
.calc-input {
  font-family: var(--serif-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 20;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  padding: 0;
  font-feature-settings: "tnum", "lnum";
  font-variant-numeric: tabular-nums lining-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.calc-input::-webkit-outer-spin-button,
.calc-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.calc-input::placeholder { color: var(--muted-light); opacity: 0.6; }
.calc-input-wrap .per {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
  margin-left: 4px;
  white-space: nowrap;
}

.calc-tool-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 280px;
}
.calc-tool-wrap .calc-label { margin-bottom: 4px; }

.calc-select {
  font-family: var(--serif-body);
  font-size: 17px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-strong);
  padding: 8px 22px 8px 0;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%237A6651' stroke-width='1.2' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  width: 100%;
  font-feature-settings: "kern", "liga";
}
.calc-select:focus { border-bottom-color: var(--ink); }

/* Output summary block */
.calc-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 11px;
  column-gap: 18px;
  padding: 22px 0 20px;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
.calc-summary .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: center;
}
.calc-summary .val {
  font-family: var(--serif-display);
  font-variation-settings: "opsz" 36, "SOFT" 30;
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  text-align: right;
  font-feature-settings: "tnum", "lnum";
  font-variant-numeric: tabular-nums lining-nums;
}
.calc-summary .val.zero {
  color: var(--stamp);
  font-style: italic;
  font-variation-settings: "opsz" 36, "SOFT" 100;
  font-weight: 400;
}
.calc-summary .row-fee .val {
  font-size: 24px;
  letter-spacing: -0.01em;
}

.calc-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.calc-fineprint {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.5;
}

/* ──────────────────────────────────────────────────────────────
   Receipt artifact — styled paper card with PAID IN FULL stamp
   ──────────────────────────────────────────────────────────── */
.receipt {
  position: relative;
  background: var(--paper-card);
  border: 1px solid var(--rule-strong);
  padding: 32px 30px 28px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  box-shadow:
    0 1px 0 rgba(20, 17, 13, 0.04),
    0 24px 50px -32px rgba(20, 17, 13, 0.30),
    0 8px 18px -14px rgba(20, 17, 13, 0.18);
  /* Slight pin-in-the-corner tilt */
  transform: rotate(-0.6deg);
  transform-origin: 30% 0%;
}
.receipt::before {
  /* Perforated top strip */
  content: "";
  position: absolute;
  top: -1px; left: 14px; right: 14px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink-faint) 0 4px,
    transparent 4px 8px
  );
  opacity: 0.32;
}
.receipt::after {
  /* Bottom serrated edge — like a torn receipt */
  content: "";
  position: absolute;
  bottom: -8px; left: 0; right: 0;
  height: 8px;
  background:
    linear-gradient(135deg, transparent 50%, var(--paper-card) 50%) 0 0 / 10px 8px repeat-x,
    linear-gradient(45deg, transparent 50%, var(--paper-card) 50%) 0 0 / 10px 8px repeat-x;
  filter: drop-shadow(0 1px 0 rgba(20, 17, 13, 0.10));
}

.receipt-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--rule-strong);
}
.receipt-vendor {
  font-family: var(--serif-display);
  font-weight: 500;
  font-variation-settings: "opsz" 36, "SOFT" 25;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.05;
}
.receipt-vendor-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.receipt-meta {
  text-align: right;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.7;
}
.receipt-meta strong {
  color: var(--ink);
  font-weight: 500;
  display: block;
  font-size: 11px;
}

.receipt-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 4px 0;
  align-items: baseline;
}
.receipt-row .desc { color: var(--ink-soft); }
.receipt-row .desc small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.receipt-row .amt {
  color: var(--ink);
  font-weight: 500;
  font-feature-settings: "tnum", "lnum";
  font-variant-numeric: tabular-nums lining-nums;
}
.receipt-rule {
  border-top: 1px solid var(--rule-strong);
  margin: 12px 0;
}
.receipt-rule.dashed {
  border-top: 1px dashed var(--rule-strong);
}

.receipt-recurring {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  padding: 4px 0 6px;
}
.receipt-recurring .dotline {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  letter-spacing: 0.4em;
  color: var(--muted-light);
  margin-top: 2px;
  font-size: 10px;
}

.receipt-total {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 2px solid var(--ink);
  align-items: baseline;
}
.receipt-total .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}
.receipt-total .amt {
  font-family: var(--serif-display);
  font-variation-settings: "opsz" 72, "SOFT" 25;
  font-weight: 500;
  font-size: 30px;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1;
  font-feature-settings: "tnum", "lnum";
  font-variant-numeric: tabular-nums lining-nums;
}

.receipt-foot {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* The PAID IN FULL stamp overlay */
.stamp {
  position: absolute;
  top: 38%;
  right: -14px;
  width: 220px;
  height: 110px;
  pointer-events: none;
  transform: rotate(-12deg) scale(0.4);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
  z-index: 2;
}
.stamp.landed {
  transform: rotate(-12deg) scale(1);
  opacity: 0.92;
}

/* Pre-state badge — "UNPAID — RECURRING" small overlay */
.unpaid {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-light);
  border: 1px dashed var(--muted-light);
  padding: 4px 8px;
  transform: rotate(2deg);
  transition: opacity 0.25s ease;
}
.receipt.is-paid .unpaid { opacity: 0; }

/* ──────────────────────────────────────────────────────────────
   Math sections — examples table + cumulative ledger
   ──────────────────────────────────────────────────────────── */
.examples-wrap {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  margin-top: 30px;
  margin-bottom: 12px;
}
table.examples {
  width: 100%;
  border-collapse: collapse;
  font-feature-settings: "tnum", "lnum";
  font-variant-numeric: tabular-nums lining-nums;
}
table.examples thead th {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  text-align: right;
  padding: 14px 10px 12px;
  border-bottom: 1px solid var(--rule-strong);
}
table.examples thead th:first-child { text-align: left; }
table.examples tbody td {
  padding: 18px 10px;
  border-bottom: 1px solid var(--rule);
  text-align: right;
  font-family: var(--mono);
  font-size: 14.5px;
  color: var(--ink);
}
table.examples tbody tr:last-child td { border-bottom: none; }
table.examples tbody td:first-child {
  text-align: left;
  font-family: var(--serif-display);
  font-size: 17px;
  font-weight: 500;
  font-variation-settings: "opsz" 24, "SOFT" 30;
  letter-spacing: -0.005em;
}
table.examples tbody td.zero {
  color: var(--stamp);
  font-style: italic;
  font-family: var(--serif-body);
}
table.examples tbody tr:hover td {
  background: var(--paper-card);
}

.examples-foot {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
}

/* Cumulative cost-of-waiting ledger */
.ledger {
  background: var(--paper-card);
  border: 1px solid var(--rule-strong);
  padding: 0;
  margin-top: 32px;
  position: relative;
}
.ledger::before {
  content: "";
  position: absolute;
  top: -1px; left: 18px; right: 18px;
  height: 2px;
  background: var(--ink);
}
.ledger-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 14px;
  border-bottom: 1px solid var(--rule-strong);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--muted);
}
.ledger-title strong { color: var(--ink); font-weight: 500; }

table.ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-feature-settings: "tnum", "lnum";
  font-variant-numeric: tabular-nums lining-nums;
}
table.ledger-table th {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  text-align: right;
  padding: 12px 18px 10px;
  border-bottom: 1px solid var(--rule);
}
table.ledger-table th:first-child { text-align: left; }
table.ledger-table td {
  padding: 13px 18px;
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--ink);
  text-align: right;
  border-bottom: 1px solid var(--rule);
  font-feature-settings: "tnum", "lnum";
  font-variant-numeric: tabular-nums lining-nums;
}
table.ledger-table td:first-child {
  text-align: left;
  color: var(--muted);
  letter-spacing: 0.04em;
}
table.ledger-table td.lb { color: var(--stamp); }
table.ledger-table td.lb.flat { color: var(--muted); }
table.ledger-table td.savings {
  font-weight: 500;
  color: var(--ink);
}
table.ledger-table tr:last-child td {
  border-bottom: none;
  background: rgba(154, 42, 42, 0.04);
  border-top: 2px solid var(--ink);
}
table.ledger-table tr:last-child td:first-child {
  color: var(--ink);
  font-family: var(--serif-display);
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  text-transform: none;
}
table.ledger-table tr:last-child td.savings {
  color: var(--stamp);
  font-size: 16px;
}

.ledger-note {
  padding: 14px 24px;
  background: var(--paper);
  border-top: 1px solid var(--rule-strong);
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
}
.ledger-note .arr { color: var(--stamp); margin-right: 4px; font-style: normal; }

/* ──────────────────────────────────────────────────────────────
   Pull quote / "for who"
   ──────────────────────────────────────────────────────────── */
.for-who {
  text-align: center;
  padding: clamp(72px, 11vw, 120px) 0;
  background: var(--paper-deep);
  border-top: 1px solid var(--paper-edge);
  border-bottom: 1px solid var(--paper-edge);
}
.for-who p {
  font-family: var(--serif-display);
  font-weight: 400;
  font-variation-settings: "opsz" 72, "SOFT" 80;
  font-style: italic;
  font-size: clamp(22px, 3vw, 31px);
  line-height: 1.28;
  letter-spacing: -0.012em;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto;
}
.for-who p::before,
.for-who p::after {
  content: "";
  display: block;
  width: 40px; height: 1px;
  background: var(--stamp);
  margin: 22px auto;
}
.for-who p::before { margin-top: 0; margin-bottom: 28px; }

/* ──────────────────────────────────────────────────────────────
   "What we replace" — typeset list
   ──────────────────────────────────────────────────────────── */
.replace-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
  row-gap: 14px;
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.replace-list .item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dotted var(--rule-strong);
}
.replace-list .item .name {
  font-family: var(--serif-display);
  font-weight: 500;
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.replace-list .item .cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ──────────────────────────────────────────────────────────────
   "What it isn't"
   ──────────────────────────────────────────────────────────── */
.isnt-list {
  list-style: none;
  border-left: 2px solid var(--stamp);
  padding-left: 28px;
  margin: 12px 0 28px;
}
.isnt-list li {
  font-family: var(--serif-display);
  font-weight: 400;
  font-variation-settings: "opsz" 36, "SOFT" 30;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-bottom: 8px;
}
.isnt-list li:last-child { margin-bottom: 0; }
.isnt-handoff {
  font-style: italic;
  font-family: var(--serif-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  padding-left: 30px;
  max-width: 540px;
}

/* ──────────────────────────────────────────────────────────────
   Bio strip
   ──────────────────────────────────────────────────────────── */
.bios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 14px;
}
.bio {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bio-portrait {
  width: 56px; height: 70px;
  background: linear-gradient(170deg, var(--paper-card) 0%, var(--paper-deep) 100%);
  border: 1px solid var(--rule-strong);
  position: relative;
  overflow: hidden;
  margin-bottom: 4px;
}
.bio-portrait::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 60 80' xmlns='http://www.w3.org/2000/svg'><ellipse cx='30' cy='32' rx='13' ry='15' fill='%237A6651' opacity='0.45'/><path d='M5 80 Q5 56, 17 50 L43 50 Q55 56, 55 80 Z' fill='%237A6651' opacity='0.45'/></svg>");
  background-size: cover;
  background-position: center;
  opacity: 0.7;
}
.bio-name {
  font-family: var(--serif-display);
  font-weight: 500;
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.bio-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.bio-text {
  font-family: var(--serif-body);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.cred-strip {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--rule-strong);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.8;
}
.cred-strip .arr { color: var(--stamp); margin-right: 6px; }

/* ──────────────────────────────────────────────────────────────
   Pricing block
   ──────────────────────────────────────────────────────────── */
.pricing {
  background: var(--paper-card);
  border: 1px solid var(--rule-strong);
  padding: clamp(34px, 5vw, 56px) clamp(28px, 4vw, 48px);
  margin-top: 12px;
  position: relative;
}
.pricing::before {
  content: "";
  position: absolute;
  top: -1px; left: 16px; right: 16px;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--stamp) 0 8px, transparent 8px 14px);
  opacity: 0.55;
}
.pricing-stamp {
  font-family: var(--serif-display);
  font-variation-settings: "opsz" 144, "SOFT" 25;
  font-weight: 400;
  font-size: clamp(46px, 7vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 20px;
}
.pricing-stamp em {
  font-style: italic;
  color: var(--stamp);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.pricing-eq {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.pricing-fine {
  font-family: var(--serif-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 30px;
}
.pricing-fine strong { color: var(--ink); font-weight: 500; }

/* ──────────────────────────────────────────────────────────────
   FAQ
   ──────────────────────────────────────────────────────────── */
.faq {
  margin-top: 14px;
}
.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.faq-item:first-child { border-top: 1px solid var(--rule); }
.faq-q {
  font-family: var(--serif-display);
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 8px;
  display: flex;
  gap: 14px;
  letter-spacing: -0.005em;
}
.faq-q .q {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  color: var(--stamp);
  padding-top: 8px;
  flex: 0 0 18px;
  letter-spacing: 0.1em;
}
.faq-a {
  font-family: var(--serif-body);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  padding-left: 32px;
}

/* ──────────────────────────────────────────────────────────────
   CTA reprise
   ──────────────────────────────────────────────────────────── */
.reprise {
  text-align: center;
  padding: clamp(80px, 12vw, 130px) 0;
  background: var(--paper-deep);
  border-top: 1px solid var(--paper-edge);
  position: relative;
}
.reprise .receipt-mini {
  width: 280px;
  margin: 0 auto 40px;
  position: relative;
  font-size: 11px;
  padding: 22px 22px 18px;
  transform: rotate(-1.5deg);
  transform-origin: 50% 0%;
}
.reprise h2 {
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 14px;
}
.reprise p {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  color: var(--ink-soft);
  margin-bottom: 36px;
}
.reprise .cta { font-size: 16px; }

/* ──────────────────────────────────────────────────────────────
   Footer + postmark
   ──────────────────────────────────────────────────────────── */
footer {
  padding: 40px 0 64px;
  border-top: 1px solid var(--rule-strong);
  position: relative;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
.foot-word {
  font-family: var(--serif-display);
  font-weight: 500;
  font-variation-settings: "opsz" 36, "SOFT" 30;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: baseline;
}
.foot-word::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--stamp);
  border-radius: 50%;
  margin-left: 4px;
  transform: translateY(-9px);
}
.foot-lines {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  line-height: 1.95;
  color: var(--muted);
  text-transform: uppercase;
}
.foot-lines a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: color 0.18s ease, border-bottom-color 0.18s ease;
  padding-bottom: 1px;
}
.foot-lines a:hover {
  color: var(--ink);
  border-bottom-color: var(--stamp);
}
.foot-disc {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
  max-width: 460px;
  line-height: 1.5;
}

/* The hand-stamped postmark */
.postmark {
  width: 116px;
  height: 116px;
  position: relative;
  transform: rotate(-9deg);
  flex-shrink: 0;
  align-self: end;
}
.postmark svg { width: 100%; height: 100%; display: block; }

/* ──────────────────────────────────────────────────────────────
   Forms (used on /start/)
   ──────────────────────────────────────────────────────────── */
.form {
  background: var(--paper-card);
  border: 1px solid var(--rule-strong);
  padding: clamp(28px, 4vw, 44px);
  margin-top: 30px;
  position: relative;
}
.form::before {
  content: "";
  position: absolute;
  top: -1px; left: 18px; right: 18px;
  height: 2px;
  background: var(--ink);
}
.form-row {
  margin-bottom: 26px;
}
.form-row label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--serif-body);
  font-size: 17px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-strong);
  padding: 10px 0;
  outline: none;
  font-feature-settings: "kern", "liga", "tnum", "lnum";
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-bottom-color: var(--ink); }
.form-row textarea {
  min-height: 100px;
  resize: vertical;
  font-family: var(--serif-body);
  line-height: 1.55;
}
.form-row select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%237A6651' stroke-width='1.2' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  cursor: pointer;
}

.form-deposit {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}
.form-deposit-amt {
  font-family: var(--serif-display);
  font-variation-settings: "opsz" 72, "SOFT" 25;
  font-weight: 500;
  font-size: 38px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-deposit-amt .dollar {
  font-size: 22px;
  vertical-align: 12px;
  color: var(--stamp);
  margin-right: 2px;
}
.form-deposit-amt em {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 16px;
  color: var(--muted);
  font-variation-settings: normal;
  font-weight: 400;
  margin-left: 4px;
  letter-spacing: 0;
}
.form-deposit-fine {
  font-family: var(--serif-body);
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.55;
}

.btn-deposit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--paper);
  background: var(--ink);
  text-decoration: none;
  padding: 14px 22px;
  border: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn-deposit:hover {
  background: var(--stamp);
  transform: translateY(-1px);
}
.btn-deposit .arr { transition: transform 0.18s ease; }
.btn-deposit:hover .arr { transform: translateX(3px); }

/* ──────────────────────────────────────────────────────────────
   How-it-works — 6-week timeline
   ──────────────────────────────────────────────────────────── */
.timeline {
  margin-top: 12px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 14px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--rule-strong);
}
.tl-item {
  position: relative;
  padding-left: 50px;
  padding-bottom: 32px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 9px; top: 8px;
  width: 11px; height: 11px;
  background: var(--paper);
  border: 2px solid var(--stamp);
  border-radius: 50%;
}
.tl-item .tl-week {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stamp);
  margin-bottom: 6px;
  font-weight: 500;
}
.tl-item .tl-title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-variation-settings: "opsz" 36, "SOFT" 30;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.008em;
}
.tl-item .tl-body {
  font-family: var(--serif-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ──────────────────────────────────────────────────────────────
   Proof — case + quotes
   ──────────────────────────────────────────────────────────── */
.case {
  background: var(--paper-card);
  border: 1px solid var(--rule-strong);
  padding: clamp(26px, 3.6vw, 40px);
  margin-bottom: 24px;
  position: relative;
}
.case-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stamp);
  margin-bottom: 10px;
  font-weight: 500;
}
.case-title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-variation-settings: "opsz" 36, "SOFT" 30;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.008em;
  margin-bottom: 14px;
  line-height: 1.2;
}
.case-body {
  font-family: var(--serif-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-strong);
}
.case-stat .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.case-stat .val {
  font-family: var(--serif-display);
  font-variation-settings: "opsz" 36, "SOFT" 25;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-feature-settings: "tnum", "lnum";
  font-variant-numeric: tabular-nums lining-nums;
}
.case-stat .val.savings { color: var(--stamp); }

/* ──────────────────────────────────────────────────────────────
   Misc — privacy/terms boilerplate body
   ──────────────────────────────────────────────────────────── */
.legal-body h2 { margin-top: 36px; font-size: 24px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { font-size: 16.5px; line-height: 1.6; }
.legal-body ul {
  padding-left: 24px;
  margin: 16px 0;
}
.legal-body li {
  font-family: var(--serif-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

/* ──────────────────────────────────────────────────────────────
   Responsive
   ──────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  body { font-size: 17.5px; }
  .column { padding: 0 22px; }
  .topbar { padding: 0 22px; top: 22px; }
  .topnav { gap: 14px; font-size: 10px; }

  .calc-rig {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .calc-input { font-size: 46px; }
  .calc-input-wrap .currency { font-size: 30px; }

  .receipt {
    transform: rotate(-0.4deg);
    padding: 26px 22px 24px;
    font-size: 12.5px;
  }
  .stamp {
    width: 180px; height: 90px;
    right: -10px;
  }
  .receipt-vendor { font-size: 18px; }
  .receipt-total .amt { font-size: 26px; }

  .replace-list { grid-template-columns: 1fr; }
  .bios { grid-template-columns: 1fr; gap: 22px; }
  .case-stats { grid-template-columns: 1fr; gap: 12px; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .postmark { align-self: start; transform: rotate(-9deg) scale(0.85); }

  table.examples { font-size: 13px; }
  table.examples thead th { font-size: 9.5px; padding: 12px 8px 10px; }
  table.examples tbody td { padding: 14px 8px; font-size: 13px; }
  table.examples tbody td:first-child { font-size: 15px; }

  table.ledger-table th { font-size: 9.5px; padding: 11px 12px 9px; }
  table.ledger-table td { font-size: 12.5px; padding: 11px 12px; }

  .pricing { padding: 32px 26px; }
  .pricing-stamp { font-size: 44px; }
}

@media (max-width: 420px) {
  .calc-input { font-size: 40px; }
  .calc-input-wrap .currency { font-size: 26px; }
  .stamp { width: 150px; height: 75px; right: -6px; }
  table.ledger-table .col-savings,
  table.ledger-table .col-savings-h { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
