/* iPaidThis — receipt-ledger design system
   Paper white / ink navy / stamp red. Numbers always mono. */

:root {
  --paper: #FBF9F3;
  --paper-raised: #FFFFFF;
  --ink: #2C3E48;          /* body: deep warm slate, not black */
  --display: #175A68;      /* headlines & primary actions: petrol ledger-ink */
  --display-deep: #114551;
  --ink-2: #52646E;
  --ink-mut: #7E8C94;
  --rule: #E3E0D4;
  --stamp: #D23D2D;
  --paid: #6D28D9;
  --stamp-soft: #FBEAE5;
  --corp: #2456C6;
  --indie: #0CA678;
  --neutral: #8A93A6;
  --focus: #176578;
  --maxw: 1080px;
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Public Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 16.5px;
}

/* Long-form reading prose is justified for clean edges. No hyphenation, so
   words never break mid-way (e.g. "actually" stays whole). Hero/section
   intros, headings, labels, mono, tables and cards keep left alignment. */
.guide section > p,
.faqitem p,
.guidesources p,
.prose p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: manual;
  -webkit-hyphens: manual;
}
.lede em { white-space: nowrap; }

::selection { background: var(--stamp-soft); }
a { color: #176578; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

/* ---------- dev banner ---------- */
.devbanner {
  background: repeating-linear-gradient(-45deg, #FFF3CD, #FFF3CD 14px, #FCE9A8 14px, #FCE9A8 28px);
  border-bottom: 1px solid #E3CB6E;
  padding: 10px 20px;
  font-size: 14px;
  text-align: center;
}

/* ---------- header ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--maxw); margin: 0 auto; padding: 22px 20px;
}
.wordmark {
  font-family: var(--font-display); font-weight: 900; font-size: 24px;
  color: var(--display); text-decoration: none; letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
}
.wordmark .tld { color: var(--ink-mut); font-weight: 500; }
.wordmark .paidword { color: var(--paid); }
.stampmark {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  color: var(--stamp); border: 2px solid var(--stamp); border-radius: 4px;
  padding: 2px 7px; transform: rotate(-6deg);
}
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.top nav a:hover { color: var(--ink); }

/* mega-menu (Prices) */
.mm { position: relative; }
.mm-toggle { background: transparent; border: 0; padding: 0; font: inherit; font-weight: 500; font-size: 15px; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.mm-toggle:hover, .mm[data-open] .mm-toggle { color: var(--ink); }
.mm-caret { font-size: 11px; transition: transform .15s; }
.mm[data-open] .mm-caret { transform: rotate(180deg); }
.mm-panel { position: absolute; left: 0; top: 100%; margin-top: 12px; z-index: 70; background: var(--paper-raised); border: 1px solid var(--rule); border-radius: 14px; box-shadow: 0 20px 48px -20px rgba(23,36,43,.5); padding: 24px 28px; width: 660px; max-width: 92vw; }
.mm-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.mm-cols { column-count: 3; column-gap: 34px; }
.mm-col { break-inside: avoid; -webkit-column-break-inside: avoid; margin-bottom: 18px; }
.mm-col:last-child { margin-bottom: 0; }
.mm-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mut); margin-bottom: 10px; font-weight: 600; }
.mm-col a { display: block; padding: 6px 0; font-size: 15px; color: var(--ink); font-weight: 500; transform-origin: left center; transition: transform .12s ease, color .12s; }
.mm-col a:hover { color: var(--display); font-weight: 600; transform: scale(1.07); }
.mm-foot { display: flex; align-items: center; gap: 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
.mm-foot a { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--display); }
.mm-foot .mm-share { background: var(--paid); color: #fff; padding: 9px 15px; border-radius: 8px; }
.mm-foot .mm-share:hover { background: #571fbd; color: #fff; }
.mm-foot .mm-contact { margin-left: auto; }
.navtoggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 8px 6px; flex-direction: column; gap: 5px; }
.navtoggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.top[data-nav-open] .navtoggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.top[data-nav-open] .navtoggle span:nth-child(2) { opacity: 0; }
.top[data-nav-open] .navtoggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (min-width: 861px) {
  .mm-panel { transform: translateY(-6px); opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s; }
  .mm[data-open] .mm-panel { transform: translateY(0); opacity: 1; visibility: visible; }
  .mm[data-open] .mm-panel[hidden] { display: block; }
}
@media (max-width: 860px) {
  .top { flex-wrap: wrap; }
  .navtoggle { display: flex; order: 2; margin-left: auto; }
  .ccswitch { order: 3; margin-left: 12px; }
  #sitenav { order: 4; flex-basis: 100%; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding-top: 10px; margin-top: 8px; border-top: 1px solid var(--rule); }
  .top[data-nav-open] #sitenav { display: flex; }
  #sitenav > a, .mm-toggle { padding: 12px 2px; font-size: 16px; width: 100%; text-align: left; }
  .navcta { text-align: center !important; margin-top: 8px; }
  .mm { position: static; width: 100%; }
  .mm-panel { position: static; width: auto; max-width: none; margin-top: 0; box-shadow: none; border: 0; border-radius: 0; padding: 6px 0 6px 12px; background: transparent; }
  .mm-panel::before { display: none; }
  .mm-cols { column-count: 2; column-gap: 16px; }
}
.navcta {
  font-family: var(--font-mono); color: var(--paid) !important; font-weight: 600 !important;
  border: 2px solid var(--paid); border-radius: 6px; padding: 7px 14px;
}
.navcta:hover { background: var(--paid); color: #fff !important; }

.crumb { max-width: var(--maxw); margin: 0 auto; padding: 0 20px 8px; font-size: 13.5px; color: var(--ink-mut); }
.crumb a { color: var(--ink-mut); }

main { max-width: var(--maxw); margin: 0 auto; padding: 0 20px 80px; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px;
  align-items: center; padding: 64px 0 72px;
}
.eyebrow {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.16em; color: var(--stamp); margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(38px, 5.2vw, 58px);
  line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 22px;
  color: var(--display);
}
/* "receipts" gets a hand-drawn stamp-red underline that draws in on load,
   then the word gently breathes (grow/shrink). */
.animword {
  position: relative;
  display: inline-block;
  color: var(--paid);
  transform-origin: left bottom;
  animation: wordBreathe 3.6s ease-in-out 1.1s infinite;
}
/* Underline sits under the word only (stops short of the full-stop), and the
   word scales from its left edge so it never grows into the period. */
.animword::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.18em;
  bottom: 0.02em;
  height: 0.1em;
  background: var(--paid);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  animation: underlineDraw 0.7s cubic-bezier(0.6, 0, 0.2, 1) 0.4s forwards;
}
@keyframes underlineDraw { to { transform: scaleX(1); } }
@keyframes wordBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}
@media (prefers-reduced-motion: reduce) {
  .animword { animation: none; }
  .animword::after { transform: scaleX(1); animation: none; }
}
.lede { font-size: 19px; color: var(--ink-2); max-width: 46ch; }
.cta-row { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 13px 22px; border-radius: 8px; border: 2px solid transparent;
}
.btn.primary { background: var(--display); color: #FDFCF8; }
.btn.primary:hover { background: var(--display-deep); }
.btn.stampbtn {
  font-family: var(--font-mono); color: var(--paid); border-color: var(--paid); background: transparent;
}
.btn.stampbtn:hover { background: var(--paid); color: #fff; }
.btn.big { font-size: 18px; padding: 16px 28px; width: 100%; text-align: center; }
.btn.btn-wide { padding-left: 34px; padding-right: 34px; font-size: 17px; }

/* ---------- the receipt (signature) ---------- */
.receipt {
  position: relative;
  background: var(--paper-raised);
  font-family: var(--font-mono);
  padding: 26px 24px 20px;
  max-width: 340px; justify-self: center;
  box-shadow: 0 1px 2px rgba(22,33,58,0.08), 0 12px 32px rgba(22,33,58,0.10);
  transform: rotate(1.6deg);
  animation: receiptsettle .55s ease .9s both;
  /* perforated bottom edge */
  -webkit-mask: linear-gradient(#000 0 0) top/100% calc(100% - 10px) no-repeat,
    radial-gradient(circle at 8px 0, transparent 6px, #000 6.5px) bottom/16px 10px repeat-x;
  mask: linear-gradient(#000 0 0) top/100% calc(100% - 10px) no-repeat,
    radial-gradient(circle at 8px 0, transparent 6px, #000 6.5px) bottom/16px 10px repeat-x;
}
.r-head { display: flex; flex-direction: column; gap: 2px; border-bottom: 1.5px dashed var(--rule); padding-bottom: 12px; margin-bottom: 12px; }
.r-store { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; }
.r-mut, .receipt .r-line.r-mut span { color: var(--ink-mut); font-size: 12.5px; }
.r-line { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 4px 0; }
.r-num { font-variant-numeric: tabular-nums; font-weight: 500; }
.r-total {
  display: flex; justify-content: space-between; border-top: 1.5px dashed var(--rule);
  margin-top: 10px; padding-top: 12px; padding-bottom: 14px;
  font-weight: 600; font-size: 17px; letter-spacing: 0.04em;
}
.r-total .r-num { color: var(--paid); font-weight: 700; }
.r-stamp {
  position: absolute; top: 40%; left: 50%;
  transform: translate(-50%, -50%) rotate(-14deg);
  font-family: var(--font-mono); font-weight: 600; font-size: 34px; letter-spacing: 0.18em;
  color: var(--stamp); border: 4px double var(--stamp); border-radius: 8px;
  padding: 6px 18px; opacity: 0.82; mix-blend-mode: multiply; pointer-events: none;
}
.r-cap { font-family: var(--font-body); font-size: 12px; color: var(--ink-mut); padding-top: 4px; }

/* ---------- stats band ---------- */
.statsband {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--rule); border-block: 1px solid var(--rule); margin: 8px 0 26px;
}
.stat { background: var(--paper); padding: 26px 22px; }
.stat-v { font-family: var(--font-mono); font-size: 30px; font-weight: 600; letter-spacing: -0.01em; }
.stat-l { font-size: 14px; color: var(--ink-2); margin-top: 6px; max-width: 32ch; }
.src {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  color: #176578; text-decoration: none; border-bottom: 1px dotted #176578;
}

/* ---------- sections ---------- */
section { margin-top: 64px; }
h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.02em; margin-bottom: 10px; color: var(--display); }
.sub { color: var(--ink-2); max-width: none; margin-bottom: 26px; }

/* ---------- tables ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper-raised); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
th {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-mut); text-align: left;
  padding: 14px 16px; border-bottom: 1.5px solid var(--rule);
}
td { padding: 13px 16px; border-bottom: 1px dashed var(--rule); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #F6F3E8; }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
th.num { text-align: right; }
.th-help, .fieldhelp { cursor: help; -webkit-tap-highlight-color: transparent; white-space: nowrap; }
.fieldhelp { display: inline; }
.th-help::after, .fieldhelp::after {
  content: "i"; display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; margin-left: 6px; border-radius: 50%;
  background: var(--indie); color: #fff; font-family: var(--font-body);
  font-size: 10px; font-weight: 700; font-style: normal; line-height: 1;
  vertical-align: middle; position: relative; top: -1px; box-shadow: 0 1px 2px rgba(12,166,120,.4);
}
.th-help:hover, .fieldhelp:hover { color: var(--display); }
.th-help:hover::after, .fieldhelp:hover::after { filter: brightness(1.08); transform: scale(1.12); }
.strong { font-weight: 600; }
.proclink { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--stamp-soft); }
.proclink:hover { border-bottom-color: var(--stamp); }
.species {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-mut); margin-left: 8px;
}
.rownote { display: block; font-size: 12.5px; color: var(--ink-mut); margin-top: 2px; }
.samplerow td { color: var(--ink-mut); }

.chip {
  display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em; padding: 3px 9px; border-radius: 20px; white-space: nowrap;
}
.chip-corporate { background: #E8EDFB; color: #1A3F94; }
.chip-independent { background: #E3F6EF; color: #077252; }
.chip-unknown { background: #EDEFF2; color: #555E70; }
.chip-src { background: #F1EEE2; color: var(--ink-2); font-weight: 500; }
.chip-sample { background: #FFF3CD; color: #7A5D00; }

/* ---------- charts ---------- */
.chartblock { margin: 34px 0; }
.chartblock h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin-bottom: 12px; }
.mut { color: var(--ink-mut); font-weight: 400; }
.small { font-size: 13px; }
.legend { display: flex; gap: 18px; margin-bottom: 8px; flex-wrap: wrap; }
.lg { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink-2); }
.lg i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
svg.strip { width: 100%; height: auto; display: block; background: var(--paper-raised); border: 1px solid var(--rule); border-radius: 10px; }
.grid { stroke: #EBE8DC; stroke-width: 1; }
.tick { font-family: var(--font-mono); font-size: 11px; fill: var(--ink-mut); }
.lane { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; }
.laneline { stroke: #F2EFE3; stroke-width: 1; }
.medline { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 4 4; }
.medlabel { font-family: var(--font-mono); font-size: 11px; font-weight: 600; fill: var(--ink); }
.medline.med-list { stroke: #8A93A6; }
.medlabel.med-list { fill: #8A93A6; }
.medline.med-paid { stroke: var(--paid); stroke-dasharray: 5 3; }
.medlabel.med-paid { fill: var(--paid); font-weight: 700; }
.dot { stroke: var(--paper-raised); stroke-width: 2; cursor: pointer; }
.dot:hover { stroke: var(--ink); }
.val { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; fill: var(--ink); }
.barlist { fill: var(--neutral); }
.barpaid { fill: var(--paid); }
.spark { display: block; }

/* the gap: advertised list vs actually paid */
.gapblock { border: 1.5px solid var(--rule); background: var(--paper-raised); border-radius: 14px; padding: 18px 22px 16px; }
.gapcard { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin: 8px 0 12px; }
.gap-cell { display: flex; flex-direction: column; gap: 4px; }
.gap-cell:last-child { text-align: right; align-items: flex-end; }
.gap-lbl { font-size: 12px; color: var(--ink-mut); font-family: var(--font-mono); letter-spacing: .02em; }
.gap-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(26px, 4vw, 40px); line-height: 1; }
.gap-list { color: var(--ink-2); }
.gap-paid { color: var(--paid); }
.gap-n { font-size: 11px; color: var(--ink-mut); font-family: var(--font-mono); }
.gap-mid { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0 4px; }
.gap-arrow { font-size: 24px; line-height: 1; font-weight: 800; }
.gap-mid.up .gap-arrow, .gap-mid.up .gap-delta { color: var(--stamp); }
.gap-mid.same .gap-arrow, .gap-mid.same .gap-delta { color: var(--neutral); }
.gap-mid.down .gap-arrow, .gap-mid.down .gap-delta { color: var(--indie); }
.gap-delta { font-family: var(--font-mono); font-size: 12px; font-weight: 700; white-space: nowrap; text-align: center; }
.gap-line { font-size: 15px; line-height: 1.5; margin: 2px 0 10px; color: var(--ink); }
.gap-note { margin-top: 8px; }
@media (max-width: 560px) { .gap-num { font-size: 25px; } .gapcard { gap: 8px; } .gap-arrow { font-size: 18px; } }

/* list vs paid: table columns, dots, sample rows */
.advcell { color: var(--ink-mut); }
.celldash { color: var(--rule); }
.cellsub { display: block; font-size: 10.5px; color: var(--ink-mut); font-family: var(--font-mono); letter-spacing: .02em; }
.rowquote { display: block; font-size: 11px; color: var(--ink-mut); font-family: var(--font-mono); font-weight: 500; }
.lg-sep { border-left: 1px solid var(--rule); padding-left: 14px; margin-left: 6px; }
.dotmark { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dotmark.filled { background: var(--ink-2); }
.dotmark.hollow { background: var(--paper); border: 2.5px solid var(--ink-2); }
.dot-list { cursor: pointer; }
.dotfilter { display: inline-flex; gap: 3px; background: var(--paper-raised); border: 1.5px solid var(--display); border-radius: 999px; padding: 3px; margin: 4px 0 14px; }
.df-btn { border: 0; background: transparent; border-radius: 999px; padding: 6px 16px; font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--ink); cursor: pointer; transition: background .12s; }
.df-btn:hover { background: var(--paper); }
.df-btn.active { background: var(--display); color: #fff; }
.strip.f-list .dot-paid, .strip.f-paid .dot-list { display: none; }
.strip.f-list .lane-paid, .strip.f-paid .lane-list { display: none; }
.strip.f-list .med-paid, .strip.f-paid .med-list { display: none; }
.chip-sample { background: #FDE7C8; color: #8A5300; border: 1px solid #E7B860; font-weight: 700; letter-spacing: .04em; }
.row-sample td { background: rgba(253, 231, 200, .28); }

/* quoted vs actually paid (per-bill gap) */
.qgap { margin: 34px 0; border: 1.5px solid var(--rule); background: var(--paper-raised); border-radius: 14px; padding: 20px 22px; }
.qgap h2 { font-family: var(--font-display); font-weight: 800; font-size: 21px; margin-bottom: 4px; }
.qgap-lead { color: var(--ink-2); margin-bottom: 14px; }
.qgap-list { list-style: none; display: grid; gap: 12px; }
.qgap-item { border: 1px solid var(--rule); border-radius: 11px; padding: 12px 14px; background: var(--paper); }
.qgap-item.qgap-sample { border-style: dashed; }
.qgap-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-family: var(--font-mono); }
.qgap-k { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mut); }
.qgap-q { font-size: 17px; color: var(--ink-2); }
.qgap-p { font-size: 19px; font-weight: 700; color: var(--paid); }
.qgap-arrow { font-size: 18px; font-weight: 800; }
.qgap-arrow.up, .qgap-d.up { color: var(--stamp); }
.qgap-arrow.same, .qgap-d.same { color: var(--neutral); }
.qgap-arrow.down, .qgap-d.down { color: var(--indie); }
.qgap-d { font-weight: 800; font-size: 15px; }
.qgap-note { margin: 8px 0 2px; color: var(--ink); font-size: 14px; line-height: 1.5; }
.qgap-meta { color: var(--ink-mut); font-size: 12px; font-family: var(--font-mono); }
.qgap-name { color: var(--ink); font-weight: 700; }

/* preview-only sample banner */
.samplebanner { margin: 18px 0; padding: 12px 16px; background: #FDF3E0; border: 1px solid #E7B860; border-radius: 10px; font-size: 14px; color: #6E4A00; line-height: 1.5; }
.samplebanner .chip-sample { vertical-align: middle; }

/* prominent quote ask on the submit form */
.quoteask { border: 1.5px solid var(--indie); background: color-mix(in srgb, var(--indie) 7%, var(--paper)); border-radius: 12px; padding: 14px 16px; margin: 6px 0; }
.quoteask-lead { font-size: 14.5px; color: var(--ink); margin-bottom: 10px; line-height: 1.5; }
.tag-gold { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-mono); font-weight: 700; color: var(--indie); border: 1px solid var(--indie); border-radius: 10px; padding: 1px 7px; }
.sparktrack { stroke: #EFECDF; stroke-width: 2; stroke-linecap: round; }
.sparkrange { stroke: #A9AFC0; stroke-width: 4; stroke-linecap: round; }
.sparkmed, .sparkdot { fill: var(--ink); stroke: #fff; stroke-width: 1; }
.sparkrange.spark-list { stroke: #8A93A6; }
.sparkrange.spark-paid { stroke: var(--paid); }
.sparkdot.spark-list { fill: #8A93A6; }
.sparkdot.spark-paid { fill: var(--paid); }
.rangecell { min-width: 170px; }
.cellpaid { color: var(--paid); font-weight: 700; }
.delta { font-weight: 700; }
.delta-up { color: var(--stamp); }
.delta-down { color: var(--indie); }
.celllist { color: #8A93A6; font-weight: 700; }

.tooltip {
  position: fixed; z-index: 50; pointer-events: none;
  background: var(--display-deep); color: #FDFCF8;
  font-family: var(--font-mono); font-size: 12.5px;
  padding: 7px 11px; border-radius: 6px; max-width: 320px;
  box-shadow: 0 6px 18px rgba(22,33,58,0.25);
}

/* ---------- how / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.step {
  background: var(--paper-raised); border: 1px solid var(--rule); border-radius: 10px; padding: 24px;
}
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-2); }

/* ---------- manifesto ---------- */
.manifesto { text-align: center; padding: 26px 0 10px; }
.manifesto blockquote { margin: 0 auto; }
.manifesto blockquote p {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(21px, 2.8vw, 28px);
  letter-spacing: -0.015em; line-height: 1.3; max-width: 32ch; margin: 0 auto 26px;
}
.manifesto .btn { display: block; width: fit-content; max-width: 100%; margin: 6px auto 0; }

/* ---------- procedure page ---------- */
.prochead { padding-top: 30px; }
.prochead h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 4.2vw, 44px); letter-spacing: -0.02em; margin-bottom: 14px; color: var(--display); }
.prochead .lede { max-width: 72ch; }
.bigfigs { display: flex; gap: 40px; margin-top: 28px; flex-wrap: wrap; }
.bf-v { font-family: var(--font-mono); font-weight: 600; font-size: 30px; display: block; }
.bf-v.bf-paid { color: var(--paid); }
.bf-l { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mut); }
.submitpanel {
  background: var(--stamp-soft); border: 1.5px dashed var(--stamp); border-radius: 12px;
  padding: 30px; margin: 44px 0 26px; text-align: center;
}
.submitpanel h2 { font-size: 24px; margin-bottom: 8px; }
.submitpanel p { color: var(--ink-2); max-width: 52ch; margin: 0 auto 18px; }
.method { font-size: 13.5px; color: var(--ink-mut); max-width: 74ch; margin-top: 20px; }
.guidelink { margin-top: 22px; }
.guidelink a { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--display); text-decoration: none; border-bottom: 2px solid var(--stamp-soft); }
.guidelink a:hover { border-bottom-color: var(--stamp); }

/* ---------- guides index: search + filter ---------- */
.guidesindex { padding-top: 20px; }
.guidesindex h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.02em; margin-bottom: 12px; color: var(--display); }
.guidefilters { position: sticky; top: 0; z-index: 30; background: var(--paper); margin: 12px 0 20px; padding: 14px 0 12px; box-shadow: 0 1px 0 var(--rule), 0 8px 12px -10px rgba(44,62,72,.15); }
.guidesearch { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
#guidesearch {
  width: 100%; font-family: var(--font-body); font-size: 16.5px; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--rule); border-radius: 10px; background: var(--paper-raised);
}
#guidesearch:focus { border-color: var(--display); outline: none; }
.catchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.catchip {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.02em;
  padding: 7px 14px; border-radius: 20px; border: 1.5px solid var(--rule);
  background: var(--paper-raised); color: var(--ink-2); cursor: pointer;
}
.catchip:hover { border-color: var(--display); color: var(--display); }
.catchip.active { background: var(--display); border-color: var(--display); color: #FDFCF8; }
.guidegrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-content: start; min-height: 65vh; }
.guidecard {
  background: var(--paper-raised); border: 1px solid var(--rule); border-radius: 12px; padding: 22px 22px 20px;
  display: flex; flex-direction: column;
}
.guidecard[hidden] { display: none; }
.gc-cat { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stamp); margin-bottom: 10px; }
.guidecard h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.15; margin-bottom: 8px; }
.guidecard h3 a { color: var(--ink); text-decoration: none; }
.guidecard h3 a:hover { color: var(--display); }
.guidecard p { font-size: 14.5px; color: var(--ink-2); }
.gc-stat { margin-top: auto; padding-top: 12px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-mut); }
.gc-stat strong { color: var(--display); }
.noresults { margin-top: 24px; color: var(--ink-2); }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 34px; }
.pg-btn { font-family: var(--font-mono); font-weight: 600; font-size: 14px; color: var(--display); background: var(--paper-raised); border: 1.5px solid var(--rule); border-radius: 8px; padding: 9px 16px; cursor: pointer; transition: border-color .12s, color .12s; }
.pg-btn:hover:not(:disabled) { border-color: var(--paid); color: var(--paid); }
.pg-btn:disabled { opacity: .4; cursor: default; }
.pg-info { font-family: var(--font-mono); font-size: 13px; color: var(--ink-mut); min-width: 120px; text-align: center; }

/* ---------- share bar ---------- */
.sharewrap { margin: 34px 0 10px; }
.sharelabel { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--display); margin-bottom: 12px; }
.submitpanel .sharelabel { margin-top: 22px; font-size: 15px; }
.sharebar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.sharebtn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  padding: 9px 15px; border-radius: 8px; border: 1.5px solid var(--rule);
  background: var(--paper-raised); color: var(--ink-2); text-decoration: none; cursor: pointer;
}
.sharebtn:hover { border-color: var(--display); color: var(--display); }
.sharebtn svg { display: block; }
/* WhatsApp is the primary share action (brand green). */
.share-wa { background: #25D366; border-color: #25D366; color: #fff; }
.share-wa:hover { background: #1da851; border-color: #1da851; color: #fff; }
.share-native { border-color: var(--display); color: var(--display); }
.share-copy.copied { border-color: var(--indie); color: var(--indie); }

/* ---------- related guides ---------- */
.relatedguides { border-top: 1px solid var(--rule); padding-top: 24px; }
.relatedlist { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.relatedlist a { color: var(--display); text-decoration: none; font-weight: 500; border-bottom: 1px solid transparent; }
.relatedlist a:hover { border-bottom-color: var(--display); }
.relatedmore { margin-top: 16px; font-family: var(--font-mono); font-size: 14px; }
.relatedmore a { color: var(--stamp); text-decoration: none; }

/* ---------- form: consent, honeypot, error ---------- */
.consentcheck { align-items: flex-start !important; font-size: 13.5px !important; color: var(--ink-2); line-height: 1.45; }
.consentcheck input { margin-top: 3px; flex: 0 0 auto; }
.consentcheck span { flex: 1 1 auto; }
.consentcheck a { color: var(--display); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formerror { background: #FBEAE5; border: 1.5px solid var(--stamp); border-radius: 8px; padding: 11px 14px; font-size: 14.5px; color: #8A2018; }

/* ---------- guide pages: two-column with right sidebar ---------- */
.guidewrap {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 52px;
  align-items: start;
}
.guide { max-width: none; margin: 0; padding-top: 30px; }
.guidesidebar { padding-top: 34px; }
.gs-inner { position: sticky; top: 24px; }
.gs-search { position: relative; margin-bottom: 18px; }
#gsSearch {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  padding: 11px 14px; border: 1.5px solid var(--rule); border-radius: 9px; background: var(--paper-raised);
}
#gsSearch:focus { border-color: var(--display); outline: none; }
.gs-cta {
  background: var(--stamp-soft); border: 1.5px dashed var(--stamp); border-radius: 11px;
  padding: 18px; margin-bottom: 22px;
}
.gs-cta-h { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: var(--ink); margin-bottom: 4px; }
.gs-cta-p { font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.gs-cta .btn { font-size: 14px; padding: 9px 16px; }
.gs-label { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mut); margin-bottom: 12px; }
.gs-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.gs-list li { display: flex; flex-direction: column; gap: 2px; }
.gs-list a { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.3; }
.gs-list a:hover { color: var(--display); }
.gs-cat { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mut); }
.gs-none { font-size: 13.5px; color: var(--ink-2); }
.gs-all { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); font-family: var(--font-mono); font-size: 13px; }
.gs-all a { color: var(--stamp); text-decoration: none; }
@media (max-width: 900px) {
  .guidewrap { grid-template-columns: 1fr; gap: 8px; }
  .guidesidebar { padding-top: 0; border-top: 2px solid var(--rule); margin-top: 24px; }
  .gs-inner { position: static; }
}

.guide-legacy-anchor {}
.guidehead h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 16px; color: var(--display); }
/* Guide lede fills its 720px column (the narrow 46ch cap looks lopsided here). */
.guide .lede { max-width: none; font-size: 18.5px; line-height: 1.5; }
.byline { font-size: 14px; color: var(--ink-mut); margin-top: 14px; }
.byline a { color: var(--display); }
.guide section { margin-top: 40px; }
.guide h2 { font-family: var(--font-display); font-weight: 800; font-size: 25px; margin-bottom: 14px; color: var(--display); }
.shortanswer {
  background: #EAF3F1; border-left: 4px solid var(--indie); border-radius: 8px;
  padding: 20px 22px; margin-top: 30px;
}
.sa-label { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--indie); margin-bottom: 8px; }
.sa-body { font-size: 18px; color: var(--ink); }
.sa-cta { margin-top: 12px; font-size: 15px; }
.takeaways ul, .paylesssection ul { padding-left: 0; list-style: none; }
.takeaways li, .paylesssection li {
  position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink-2);
}
.takeaways li::before, .paylesssection li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  font-family: var(--font-mono); font-weight: 600; color: var(--indie);
}
.realbill-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.realbill {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 16px;
  background: var(--paper-raised); border: 1px solid var(--rule); border-radius: 10px; padding: 16px 18px;
}
.rb-price { font-family: var(--font-mono); font-weight: 600; font-size: 22px; color: var(--display); grid-row: span 2; align-self: center; }
.rb-quote { font-size: 15.5px; color: var(--ink); font-style: italic; }
.rb-meta { font-family: var(--font-mono); font-size: 12px; color: var(--ink-mut); }
.faqitem { border-top: 1px dashed var(--rule); padding-top: 16px; margin-top: 16px; }
.faqitem h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.faqitem p { color: var(--ink-2); }

/* submit page: reassurance ("what happens next" + FAQ) */
.submitnext, .submitfaq { margin-top: 46px; }
.submitnext h2, .submitfaq h2 { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--display); margin-bottom: 16px; }
.nextsteps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 12px; }
.nextsteps li { position: relative; padding: 15px 18px 15px 58px; background: var(--paper-raised); border: 1px solid var(--rule); border-radius: 12px; counter-increment: step; color: var(--ink-2); }
.nextsteps li strong { color: var(--ink); }
.nextsteps li::before { content: counter(step); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--paid); color: #fff; font-family: var(--font-mono); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.submitfaq .faqitem:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.guidesources { background: var(--paper-raised); border: 1px solid var(--rule); border-radius: 12px; margin-top: 44px; padding: 22px 26px; }
.guidesources h2 { font-size: 17px; margin-bottom: 10px; }
.guidesources p { font-size: 13.5px; line-height: 1.65; color: var(--ink-mut); max-width: 74ch; text-align: left; }
.guidesources p + p { margin-top: 10px; }
.guidesources a { color: var(--display); font-weight: 500; }

/* ---------- submit page ---------- */
.submitpage, .aboutpage { max-width: 660px; margin: 0 auto; padding-top: 30px; }
.submitpage h1, .aboutpage h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(32px, 4.5vw, 46px); letter-spacing: -0.02em; margin-bottom: 14px; color: var(--display); }
.billform { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.receipt-form {
  background: var(--paper-raised); padding: 30px 28px 26px;
  border: 1px solid var(--rule); border-radius: 4px;
  box-shadow: 0 1px 2px rgba(22,33,58,0.06), 0 10px 28px rgba(22,33,58,0.07);
}
/* hidden attribute must win over the label display rule below */
[hidden] { display: none !important; }
.billform label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14.5px; }
.billform input, .billform select, .billform textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  padding: 11px 12px; border: 1.5px solid var(--rule); border-radius: 8px; background: var(--paper);
}
.billform input:focus, .billform select:focus, .billform textarea:focus { border-color: var(--corp); outline: none; }
.formrow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.totalfield input {
  font-family: var(--font-mono); font-size: 26px; font-weight: 600; text-align: right;
}
.check { flex-direction: row !important; align-items: center; gap: 10px !important; font-weight: 500 !important; }
.check input { width: 18px; height: 18px; }
.warnbox {
  background: #FFF6E5; border: 1.5px solid #E3B961; border-radius: 8px;
  padding: 12px 14px; font-size: 14.5px; color: #6B4E00;
}
.stamped { text-align: center; padding: 60px 0; position: relative; }
.big-stamp { position: static; display: inline-block; transform: rotate(-8deg); margin-bottom: 26px; animation: stampin 0.25s cubic-bezier(0.2, 2.2, 0.4, 1) both; }
@keyframes stampin { from { transform: rotate(-8deg) scale(2.4); opacity: 0; } to { transform: rotate(-8deg) scale(1); opacity: 0.82; } }
.stamped h2 { margin-bottom: 10px; }
.stamped p { color: var(--ink-2); margin-bottom: 24px; }
.social-proof { font-family: var(--font-mono); font-size: 15px; font-weight: 600; color: var(--indie) !important; margin-bottom: 14px !important; }
.submitcount { font-family: var(--font-mono); font-size: 13.5px; color: var(--indie); margin-top: -6px; margin-bottom: 18px; }

/* Homepage hero: quote-vs-paid receipt with a stamp that lands on load */
.qpcard { position: relative; align-self: center; justify-self: center; width: 100%; max-width: 380px; background: #fff; border: 1px solid #E5E0D5; border-radius: 14px; padding: 22px 24px 20px; box-shadow: 0 18px 40px -22px rgba(44,62,72,.4); font-family: var(--font-mono); }
.qp-head { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; letter-spacing: .1em; color: #7A8592; border-bottom: 1px dashed #E5E0D5; padding-bottom: 12px; margin-bottom: 8px; }
.qp-store { font-weight: 600; color: #2C3E48; }
.qp-row { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; }
.qp-row span:first-child { font-size: 14px; letter-spacing: .02em; }
.qp-quote { color: #8A93A6; }
.qp-quote .qp-num { font-size: 18px; text-decoration: line-through; text-decoration-color: #C7B7B2; }
.qp-paid { border-top: 1px solid #E5E0D5; margin-top: 2px; padding-top: 13px; color: var(--paid); font-weight: 700; }
.qp-paid span:first-child { font-size: 15px; }
.qp-paid .qp-num { font-size: 30px; color: var(--paid); letter-spacing: -.01em; }
.qp-gap { margin-top: 8px; font-size: 12.5px; font-weight: 600; color: #D23D2D; }
.qp-arrow { display: inline-block; margin-right: 2px; }
.qp-cap { margin-top: 16px; padding-right: 94px; font-family: var(--font-body); font-size: 12px; line-height: 1.55; color: #7A8592; }
.qp-stamp { position: absolute; top: auto; bottom: 28px; right: 16px; border: 3px double #D23D2D; color: #D23D2D; border-radius: 8px; padding: 4px 15px; font-size: 26px; font-weight: 800; letter-spacing: .14em; transform: rotate(-9deg); transform-origin: center; animation: qpstamp .68s cubic-bezier(.2,1.5,.35,1) .55s both; }
@keyframes qpstamp { 0% { opacity: 0; transform: rotate(22deg) scale(3); } 55% { opacity: 1; transform: rotate(-14deg) scale(.86); } 78% { transform: rotate(-6deg) scale(1.06); } 100% { opacity: 1; transform: rotate(-9deg) scale(1); } }
.qpcard { animation: qpsettle .5s ease 1s both; }
@keyframes qpsettle { 0%, 100% { transform: translateY(0) rotate(0); } 35% { transform: translateY(3px) rotate(.25deg); } }
/* same one-time "giggle" settle for the vertical-hub receipt graphic (rests at rotate(1.6deg)) */
@keyframes receiptsettle { 0% { transform: rotate(1.6deg) translateY(0); } 30% { transform: rotate(2.2deg) translateY(4px); } 62% { transform: rotate(1.2deg) translateY(-2px); } 100% { transform: rotate(1.6deg) translateY(0); } }
.coversection { margin-top: -40px; }
/* Hub receipt PAID stamp lands on load (keeps its centring translate) */
.receipt .r-stamp { animation: rstampland .5s cubic-bezier(.34,1.4,.5,1) .35s both; }
@keyframes rstampland {
  0% { opacity: 0; transform: translate(-50%,-50%) rotate(-14deg) scale(1.55); }
  60% { opacity: .82; transform: translate(-50%,-50%) rotate(-14deg) scale(.93); }
  100% { opacity: .82; transform: translate(-50%,-50%) rotate(-14deg) scale(1); }
}
/* Quoted-vs-paid delta hint on the submit form */
/* Bottom-align so both inputs line up even though Quoted has an "(optional)" line */
.paidrow { align-items: end; }
/* In the paired row, Actually paid matches Quoted in size (red border marks it as the key one) */
.paidrow .totalfield input { border-color: var(--stamp); font-family: var(--font-body); font-size: 16px; font-weight: 600; text-align: left; }
.deltahint { font-family: var(--font-mono); font-size: 14px; font-weight: 600; margin: -6px 0 14px; }
.deltahint.over { color: var(--stamp); }
.deltahint.under { color: var(--indie); }
.turnstile-wrap { margin: 6px 0 2px; min-height: 65px; }
.submitpage .lede { max-width: none; }
.pickhint { margin: -6px 0 4px; }

/* country switcher (flag dropdown, Amazon-style) */
.ccswitch { position: relative; margin-left: 12px; flex-shrink: 0; }
.flagimg { display: block; width: 22px; height: auto; border-radius: 2.5px; box-shadow: 0 0 0 1px rgba(23,36,43,.14); }
.cc-flag { display: inline-flex; }
.cc-toggle { display: inline-flex; align-items: center; gap: 7px; background: var(--paper-raised); border: 1.5px solid var(--rule); border-radius: 999px; padding: 5px 12px 5px 7px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .03em; color: var(--ink); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.cc-toggle:hover { border-color: var(--display); box-shadow: 0 2px 10px -5px rgba(23,36,43,.45); }
.cc-code { line-height: 1; }
.cc-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--ink-mut); }
.cc-menu { position: absolute; right: 0; top: calc(100% + 9px); background: var(--paper-raised); border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 18px 42px -16px rgba(23,36,43,.5); padding: 6px; min-width: 224px; z-index: 60; }
.cc-menu::before { content: ""; position: absolute; top: -6px; right: 20px; width: 11px; height: 11px; background: var(--paper-raised); border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); transform: rotate(45deg); }
.cc-item { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; background: transparent; border: 0; border-radius: 8px; padding: 9px 11px; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; }
.cc-item:hover { background: var(--paper); }
.cc-item .flagimg { width: 27px; }
.cc-name { flex: 1; }
.cc-current, .cc-item.cc-current .cc-name { font-weight: 700; }
.cc-tick { color: var(--indie); font-weight: 800; }
.cc-soon { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mut); font-family: var(--font-mono); border: 1px solid var(--rule); border-radius: 10px; padding: 1px 7px; }
.cc-item[data-soon] { cursor: default; color: var(--ink-mut); }
.cc-item[data-soon]:hover { background: transparent; }
.cc-item[data-soon] .flagimg { filter: grayscale(.6); opacity: .7; }

/* country chooser (root) */
.chooser { max-width: 720px; margin: 48px auto; text-align: center; padding: 0 20px; }
.chooser h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(32px, 5vw, 52px); color: var(--display); margin-bottom: 14px; letter-spacing: -0.02em; }
.chooser .lede { max-width: 46ch; margin: 0 auto 32px; }
.cc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.cc-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 20px; background: var(--paper-raised); border: 1.5px solid var(--rule); border-radius: 14px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
.cc-card:hover { border-color: var(--display); transform: translateY(-2px); box-shadow: 0 12px 28px -16px rgba(23,36,43,.4); }
.cc-card-flag .flagimg { width: 64px; border-radius: 5px; box-shadow: 0 2px 9px -2px rgba(23,36,43,.32), 0 0 0 1px rgba(23,36,43,.1); }
.cc-card-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.cc-card-go { font-family: var(--font-mono); font-size: 13px; color: var(--display); font-weight: 600; }
.cc-card-soon { opacity: .6; }
.cc-card-soon .cc-card-go { color: var(--ink-mut); }
.cc-card-soon .flagimg { filter: grayscale(.5); }
@media (max-width: 860px) { .ccswitch { margin-left: auto; } .cc-menu { min-width: 190px; } }
@media (prefers-reduced-motion: reduce) { .qp-stamp, .qpcard, .receipt, .receipt .r-stamp { animation: none; } }

/* Related guides on procedure pages */
.procguides { margin: 30px 0 6px; }
.procguides h2 { font-family: var(--font-display); font-weight: 800; font-size: 22px; margin-bottom: 14px; color: var(--display); }
.pg-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pg-list li { margin: 0; }
.pg-list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; height: 100%; padding: 14px 16px; background: var(--paper-raised); border: 1px solid var(--rule); border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 14.5px; line-height: 1.35; text-decoration: none; transition: border-color .15s, transform .15s; }
.pg-list a:hover { border-color: var(--display); transform: translateY(-1px); }
.pg-arrow { color: var(--display); flex-shrink: 0; }
@media (max-width: 620px) { .pg-list { grid-template-columns: 1fr; } }

/* "What we cover" cards: even auto-fit grid, equal height, CTAs bottom-aligned */
.coversteps { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); align-items: stretch; }
.coversteps .step { display: flex; flex-direction: column; }
.coversteps .step .stepcta { margin-top: auto; margin-bottom: 0; padding-top: 16px; }

/* Homepage movement band */
.movement { max-width: 1040px; margin: 12px auto 0; padding: 44px 0 10px; text-align: center; }
.movement .mv-eyebrow { display: block; width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; text-align: center; white-space: nowrap; font-size: 11px; letter-spacing: 0.05em; }
@media (max-width: 620px) { .movement .mv-eyebrow { white-space: normal; font-size: 11.5px; } }
.movement h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(22px, 2.6vw, 27px); letter-spacing: -0.02em; line-height: 1.12; color: var(--display); margin: 10px 0 20px; white-space: nowrap; }
@media (max-width: 1080px) {
  .movement h2 { white-space: normal; font-size: clamp(24px, 5.5vw, 32px); }
}
.mv-red { color: var(--stamp); }
.movement p { font-size: 16.5px; line-height: 1.68; color: var(--ink-2); max-width: 60ch; margin: 0 auto 18px; text-align: left; }
.mv-kicker { font-family: var(--font-display) !important; font-weight: 700 !important; font-size: 20px !important; color: var(--ink) !important; text-align: center !important; max-width: none !important; margin: 14px auto 4px !important; }
.movement .btn { display: block; width: fit-content; max-width: 100%; margin: 22px auto 0; }
@media (max-width: 620px) { .movement p { font-size: 15.5px; } }

/* ---------- about ---------- */
.prose h2 { font-size: 24px; margin: 34px 0 10px; }
.prose p { margin-bottom: 14px; color: var(--ink-2); }
.prose ul { padding-left: 22px; color: var(--ink-2); }
.prose li { margin-bottom: 10px; }
.prose strong { color: var(--ink); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--rule); margin-top: 56px; background: var(--paper-raised); }
.foot-inner { max-width: var(--maxw); margin: 0 auto; padding: 44px 20px 28px; font-size: 14px; color: var(--ink-2); }
.foot-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand { max-width: 320px; }
.foot-wm { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 900; font-size: 20px; color: var(--display); text-decoration: none; letter-spacing: -0.02em; }
.foot-wm .paidword { color: var(--paid); }
.foot-wm .stampmark { color: var(--stamp); border-color: var(--stamp); }
.foot-wm .tld { color: var(--ink-mut); font-weight: 500; }
.foot-tag { font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.08em; color: var(--paid); margin: 14px 0 8px; }
.foot-blurb { font-size: 13.5px; line-height: 1.6; color: var(--ink-mut); }
.foot-flag { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); }
.foot-flag .flagimg { width: 22px; }
.foot-col h4 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mut); margin-bottom: 14px; font-weight: 600; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-col { min-width: 0; }
.foot-col a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.foot-col a:hover { color: var(--display); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-mut); }
.foot-legal { display: flex; gap: 10px; align-items: center; }
.foot-legal a { color: var(--ink-mut); text-decoration: none; }
.foot-legal a:hover { color: var(--display); text-decoration: underline; }
.foot-dot { color: var(--rule); }
.legalpage .prose h2 { margin-top: 26px; font-size: 20px; }
@media (max-width: 820px) {
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .foot-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 480px) {
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding: 40px 0 52px; }
  .receipt { justify-self: start; transform: rotate(1deg); }
  .statsband { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .top { flex-wrap: wrap; gap: 10px 14px; padding: 16px 20px; }
  .top nav { gap: 14px; font-size: 14px; }
  .top nav a { font-size: 14px; }
  .nav-secondary { display: none; }
  .formrow { grid-template-columns: 1fr; }
  .bigfigs { gap: 24px; }
  .guidegrid { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .wordmark { font-size: 20px; }
  .top nav { gap: 10px; }
  .navcta { padding: 6px 10px; }
}
