/* Franklin Parish renewal site — tokens and layout. See DESIGN.md. */
:root {
  --ink: #231f20;
  --ink-soft: #4a4648;
  --paper: #ffffff;
  --ground: #eef3f6;        /* page background: cool, nearly white, from the brand blue */
  --rule: #cfd9e0;
  --brand-blue: #27aae1;
  --link: #15719a;
  --link-hover: #0f5674;
  --brand-green: #a6ce39;
  --green-deep: #8fb52a;
  --green-ink: #5b7a0e;
  --brand-red: #ed1c24;
  --measure: 46rem;
  --gutter: 16px;
  --font: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { font-size: 18px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--ground); line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
button, input, select { font: inherit; color: inherit; }
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-head { background: var(--paper); position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 var(--rule); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-top: .5rem; padding-bottom: .5rem; max-width: 64rem; }
.jumps a { white-space: nowrap; font-size: .88rem; font-weight: 600; color: var(--ink); text-decoration: none; padding: .35rem .55rem; border-radius: 4px; }
.jumps a:hover { background: var(--ground); color: var(--link-hover); }
.jumps a[href$="#calc-section"] { color: var(--link); }
@media (max-width: 720px) {
  .site-head .wrap { flex-wrap: wrap; row-gap: .2rem; }
  .site-head .date { display: none; }
  .jumps { order: 3; flex-basis: 100%; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .jumps a { font-size: .85rem; padding: .3rem .5rem; }
}
.site-head img { height: 28px; width: auto; display: block; }
.site-head .date { font-size: .9rem; color: var(--ink-soft); white-space: nowrap; }

/* Hero: the brand blue, full bleed */
.hero { background: var(--brand-blue); color: var(--ink); position: relative; overflow: hidden; }
.hero .wrap { position: relative; padding-top: 1.8rem; padding-bottom: 1.6rem; }
.hero h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 .7rem; font-weight: 700; max-width: 20ch; }
.hero p { font-size: 1.05rem; margin: 0; max-width: 34rem; }
.hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: center; }
.hero-art { height: 250px; width: auto; display: block; justify-self: end; margin: -.6rem 0; }
.hero .jump { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.btn { display: inline-block; padding: .7rem 1.15rem; border: 2px solid var(--ink); border-radius: 4px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; cursor: pointer; }
.btn:hover { background: #000; color: #fff; }
.btn.primary { background: var(--brand-green); border-color: var(--brand-green); color: var(--ink); }
.btn.primary:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--ink); }
.btn.secondary { background: transparent; color: var(--ink); }
.btn.secondary:hover { background: rgba(255,255,255,.35); color: var(--ink); }
@media (max-width: 560px) {
  .hero .wrap { padding-top: 1.2rem; padding-bottom: 1.2rem; }
  .hero-grid { grid-template-columns: 1fr 84px; gap: .6rem; align-items: start; }
  .hero-art { height: 112px; }
  .hero .jump { grid-column: 1 / -1; }
  .hero h1 { max-width: none; font-size: 1.45rem; margin-bottom: .5rem; }
  .hero p { font-size: .95rem; }
  .hero .jump { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .8rem; }
  .hero-text { display: contents; }
  .hero-grid { grid-template-areas: "h1 art" "p art" "jump jump"; }
  .hero h1 { grid-area: h1; } .hero p { grid-area: p; } .hero-art { grid-area: art; } .hero .jump { grid-area: jump; }
  .hero .btn { padding: .6rem .5rem; font-size: .95rem; text-align: center; }
  .site-head .date { font-size: .8rem; }
  .ticker li { font-size: .9rem; }
}

/* Facts ticker: ink band, slow scroll */
.ticker { background: var(--ink); color: #fff; overflow: hidden; border-top: 4px solid var(--brand-green); }
.ticker .track { display: flex; width: max-content; animation: tick 70s linear infinite; will-change: transform; }
@media (hover: hover) { .ticker:hover .track, .ticker:focus-within .track { animation-play-state: paused; } }
.ticker ul { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker li { padding: .7rem 1.6rem .7rem 0; white-space: nowrap; font-size: .95rem; }
.ticker li::after { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--brand-green); border-radius: 50%; margin-left: 1.6rem; vertical-align: middle; }
.ticker li b { font-weight: 700; color: #fff; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker .track { animation: none; width: auto; }
  .ticker ul { flex-wrap: wrap; }
  .ticker ul + ul { display: none; }
  .ticker li { white-space: normal; }
}

/* Sections */
section { padding: 2.2rem 0 1.6rem; scroll-margin-top: calc(var(--head-h, 48px) + 4px); }
#calc { scroll-margin-top: calc(var(--head-h, 48px) + 8px); }
#calc-section { scroll-margin-top: var(--head-h, 48px); }
section h2 { font-size: 1.6rem; line-height: 1.2; margin: 0 0 .9rem; letter-spacing: -0.005em; }
section h2::before { content: ""; display: block; width: 3rem; height: 5px; background: var(--brand-green); margin-bottom: .7rem; }
section h3 { font-size: 1.15rem; margin: 1.4rem 0 .4rem; }
section p { max-width: 36rem; }
.lede { color: var(--ink-soft); }
.note { font-size: .92rem; color: var(--ink-soft); }
.flag { display: inline-block; font-size: .78rem; padding: .1rem .45rem; border: 1px solid var(--rule); border-radius: 3px; color: var(--ink-soft); background: var(--paper); vertical-align: middle; font-weight: 400; }
.flag.draft { border-color: #e2b93b; background: #fff8e1; color: #6b4f00; }
.panel { background: var(--paper); border-radius: 8px; padding: 1.1rem var(--gutter) 1.2rem; }

/* Tables */
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: .6rem 1rem .6rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th:last-child, td:last-child { padding-right: 0; }
th { font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
td.num, th.num { text-align: right; white-space: nowrap; }
.ballot td:first-child a { font-weight: 600; }
.ballot .body { color: var(--ink-soft); font-size: .88rem; display: block; }
.ballot tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {
  .ballot thead { display: none; }
  .ballot tr { display: grid; grid-template-columns: 1fr auto; gap: 0 .5rem; padding: .6rem 0; border-bottom: 1px solid var(--rule); }
  .ballot td { border: 0; padding: 0; }
  .ballot td.term { grid-column: 1 / -1; font-size: .9rem; color: var(--ink-soft); }
}

/* Calculator */
.calc { background: var(--paper); border-radius: 8px; padding: 1.3rem var(--gutter) 1.4rem; }
.calc h2 { margin-top: 0; }
.calc h2::before { display: none; }
.modes { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 1rem; }
.modes label { padding: .5rem .85rem; border: 2px solid var(--link); border-radius: 4px; color: var(--link); cursor: pointer; font-weight: 600; background: var(--paper); }
.modes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.modes input:checked + label { background: var(--link); color: #fff; }
.modes input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 2px; }
.mode-panel { display: none; }
.mode-panel.active { display: block; }
.field { margin: .8rem 0; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: .3rem; }
.field input[type="text"], .field input[type="number"], .field select { width: 100%; max-width: 26rem; padding: .6rem .7rem; border: 2px solid var(--ink); border-radius: 4px; background: var(--paper); }
.field .hint { font-size: .9rem; color: var(--ink-soft); margin: .25rem 0 0; }
fieldset { border: 0; padding: 0; margin: .8rem 0; }
.choices { display: grid; gap: .35rem; }
.choices label { display: flex; gap: .55rem; align-items: baseline; font-weight: 400; cursor: pointer; }
.choices input { width: 1.1rem; height: 1.1rem; accent-color: var(--link); flex: none; transform: translateY(2px); }
.two-col { display: grid; grid-template-columns: 1fr; gap: 0 1.5rem; }
@media (min-width: 640px) { .two-col { grid-template-columns: 1fr 1fr; } }
details.more { margin: .6rem 0; }
details.more summary { cursor: pointer; color: var(--link); font-weight: 600; }
.parcel-facts { background: var(--ground); border-radius: 6px; padding: .7rem .9rem; margin-top: .6rem; font-size: .95rem; }
.parcel-facts dl { display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; margin: 0; }
.parcel-facts dt { color: var(--ink-soft); }
.parcel-facts dd { margin: 0; font-variant-numeric: tabular-nums; }

/* The ledger */
.ledger { background: var(--paper); border: 2px solid var(--ink); border-radius: 8px; padding: 1rem var(--gutter) 1.1rem; margin-top: 1.2rem; }
.ledger h3 { margin: 0 0 .2rem; font-size: 1.2rem; }
.ledger .for { color: var(--ink-soft); margin: 0 0 .8rem; font-size: .95rem; }
.ledger table { font-size: .98rem; }
.ledger th { border-bottom: 2px solid var(--ink); }
.ledger td.what { color: var(--ink-soft); font-size: .9rem; }
.ledger td.what:not(:empty)::before { content: ""; display: inline-block; width: .55rem; height: .55rem; background: var(--brand-green); margin-right: .4rem; border-radius: 1px; }
.ledger tr.total td { border-top: 3px solid var(--brand-green); border-bottom: 0; font-weight: 700; padding-top: .7rem; }
.ledger tr.sales td { border-bottom: 0; padding-top: .9rem; }
.ledger .big { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.01em; }
.ledger .zero { color: var(--green-ink); }
.ledger .foot { margin: .9rem 0 0; font-size: .9rem; color: var(--ink-soft); }
.ledger .foot p { margin: .3rem 0; }
@media (max-width: 560px) {
  .ledger td.what, .ledger th.what, .ledger th.mills, .ledger td.mills { display: none; }
  .ledger td.num { white-space: normal; }
  .ledger .big { font-size: 1.25rem; }
  .ledger table { font-size: .95rem; }
}

/* What it pays for: two columns of white panels on desktop, rate large */
.items-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 720px) { .items-grid { grid-template-columns: 1fr 1fr; } }
.item { background: var(--paper); border-radius: 8px; padding: 1.1rem var(--gutter) 1.1rem; }
.item h3 { margin: 0 0 .1rem; font-size: 1.15rem; }
.item .rate { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; margin: .2rem 0 .1rem; font-variant-numeric: tabular-nums; }
.item .rate small { font-size: .95rem; font-weight: 400; color: var(--ink-soft); letter-spacing: 0; margin-left: .3rem; }
.item .meta { color: var(--ink-soft); font-size: .88rem; margin: 0 0 .6rem; }
.item p { font-size: .98rem; }
.item ul { margin: .3rem 0 .5rem 1.1rem; padding: 0; font-size: .95rem; }
.item li { margin: .15rem 0; }
.item .cost { background: var(--ground); display: inline-block; padding: .3rem .6rem; border-radius: 4px; font-size: .92rem; margin-top: .3rem; }
.item details { margin-top: .5rem; font-size: .92rem; }
.item details summary { color: var(--link); cursor: pointer; }
.item blockquote { margin: .6rem 0 0; padding-left: .8rem; border-left: 3px solid var(--brand-red); }
.item blockquote cite { display: block; font-style: normal; font-size: .9rem; color: var(--ink-soft); }
.expires { color: var(--brand-red); font-weight: 600; }
#expires .items-grid { grid-template-columns: 1fr; }

/* Charts */
.chart { margin: 1rem 0 1.4rem; background: var(--paper); border-radius: 8px; padding: 1rem var(--gutter); }
.chart svg { width: 100%; height: auto; display: block; }
.chart .cap { font-size: .9rem; color: var(--ink-soft); margin: .6rem 0 0; }

/* Myths */
.myth { background: var(--paper); border-radius: 8px; padding: 0 var(--gutter); margin-bottom: .5rem; }
.myth-q { width: 100%; text-align: left; background: none; border: 0; padding: .85rem 0; cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--ink); }
.myth-ic { flex: none; width: 22px; height: 22px; position: relative; }
.myth-ic::before, .myth-ic::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--link); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .3s ease; }
.myth-ic::before { width: 14px; height: 2px; }
.myth-ic::after { width: 2px; height: 14px; }
.myth.open .myth-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.ans-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s cubic-bezier(.2,.7,.2,1); }
.myth.open .ans-wrap { grid-template-rows: 1fr; }
.ans-wrap > .ans { overflow: hidden; min-height: 0; }
.myth .ans p { margin: 0 0 .5rem; }
.myth .ans p:first-child { margin-top: .1rem; }
.myth .ans p:last-child { padding-bottom: .9rem; }
.myth .src { font-size: .88rem; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .ans-wrap, .myth-ic::before, .myth-ic::after { transition: none; } }

/* How it works */
.steps { margin: .5rem 0 0 1.2rem; padding: 0; }
.steps li { margin: .35rem 0; max-width: 36rem; }
.example { background: var(--paper); border-radius: 8px; padding: .9rem var(--gutter); margin: 1rem 0; max-width: 36rem; }
.example table { font-size: .95rem; }

/* Footer */
footer { background: var(--ink); color: #d9d6d7; padding: 1.8rem 0 2.6rem; font-size: .92rem; }
footer a { color: #fff; }
footer p { margin: .5rem 0; max-width: 40rem; }
footer .disclaimer { border-left: 3px solid var(--brand-green); padding-left: .8rem; color: #fff; }
footer .note { color: #b9b5b6; }

/* Item page */
.crumb { font-size: .92rem; margin: 1rem 0 0; }
.item-head { padding: 1.2rem 0 1rem; }
.item-head h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); line-height: 1.15; margin: .2rem 0 .4rem; }
.item-head .meta { color: var(--ink-soft); }
.rate-row { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin: .8rem 0 0; }
.rate-row div { font-variant-numeric: tabular-nums; }
.rate-row b { display: block; font-size: 1.5rem; letter-spacing: -0.01em; }
.rate-row span { font-size: .9rem; color: var(--ink-soft); }

/* Facts tiles under the hero */
.facts { padding: 1.4rem 0 .4rem; }
.facts-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 720px) { .facts-grid { grid-template-columns: 1fr 1fr; } }
.tile { background: var(--paper); border-radius: 8px; padding: 1.1rem var(--gutter) 1rem; display: flex; flex-direction: column; gap: .4rem; }
.tile-green { background: var(--brand-green); }
.tile-green .tile-cap { color: var(--ink-soft); }
.hero-num { font-size: clamp(2.4rem, 7vw, 3.2rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hero-num small { font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-left: .4rem; color: var(--ink-soft); }
.tile-lead { margin: 0; font-size: 1.05rem; line-height: 1.35; max-width: none; }
.tile-cap { margin: .2rem 0 0; font-size: .85rem; color: var(--ink-soft); max-width: none; }
.propbar { width: 100%; height: auto; margin: .3rem 0; }
.twobar { width: 100%; max-width: 320px; height: auto; margin: .3rem 0; }
.donut-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.donut { width: 168px; height: 168px; flex: none; }
.legend { list-style: none; margin: 0; padding: 0; font-size: .95rem; display: grid; gap: .45rem; flex: 1 1 10rem; }
.legend li { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: .6rem; font-variant-numeric: tabular-nums; }
.legend li b { font-weight: 700; }
.legend .sw { width: 14px; height: 14px; border-radius: 3px; }

/* Wizard */
.calc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.progress { font-size: .9rem; color: var(--ink-soft); white-space: nowrap; }
.q { font-size: 1.35rem; font-weight: 700; line-height: 1.25; margin: .3rem 0 .9rem; max-width: 30rem; }
.tiles { display: grid; grid-template-columns: 1fr; gap: .6rem; }
@media (min-width: 560px) { .tiles { grid-template-columns: 1fr 1fr; } .tiles-3 { grid-template-columns: 1fr 1fr 1fr; } }
.tile-btn { text-align: left; padding: .95rem 1rem; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); font-weight: 600; cursor: pointer; line-height: 1.3; min-height: 3.6rem; }
.tile-btn:hover { background: var(--brand-green); border-color: var(--brand-green); }
.tile-btn:active { transform: translateY(1px); }
.alt { margin-top: 1rem; display: grid; gap: .3rem; }
.alt details summary { color: var(--link); font-weight: 600; cursor: pointer; padding: .3rem 0; }
.field.inline { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin: .4rem 0; }
.field.inline input, .field.inline select { max-width: 16rem; }
.btn.small { padding: .5rem .8rem; font-size: .95rem; }
.back { margin: 1rem 0 0; font-size: .95rem; }

/* Result */
.result-head { display: grid; gap: .3rem; margin: .2rem 0 1rem; }
.result-head p { margin: 0; font-size: 1.1rem; max-width: 34rem; }
.result-head.zero .hero-num { color: var(--green-ink); }
.keep-table { border-top: 3px solid var(--brand-green); }
.keep-table td { padding: .7rem .6rem .7rem 0; }
.keep-table td.keep b { display: block; font-weight: 600; line-height: 1.3; }
.keep-table td.keep .note, .keep-table td.num .note { display: block; font-size: .82rem; }
.keep-table td.num { font-weight: 700; font-size: 1.05rem; min-width: 7rem; }
.keep-table tr.sales td { border-bottom: 0; }
.result-foot { margin-top: 1rem; }
.result-foot p { max-width: none; }

/* Subscription comparison */
.subs-wrap { margin-top: .6rem; max-width: 30rem; }
.tile-green .subs-wrap { background: rgba(255,255,255,.55); border-radius: 6px; padding: .6rem .7rem .2rem; }
.tile-green .subs-wrap .note { color: var(--ink-soft); }
.subs-line { margin: 0 0 .3rem; font-size: 1rem; }
.subs { width: 100%; height: auto; }

/* Inflation callout */
.inflation-callout { margin-top: .9rem; border-left: 4px solid var(--brand-green); padding-left: .9rem; }
.inflation-callout p { max-width: 36rem; margin: .3rem 0; }

/* How it works flow */
.flow { display: grid; grid-template-columns: 1fr; gap: .4rem; margin: .4rem 0 1.2rem; max-width: 36rem; }
.flow-step { background: var(--paper); border-radius: 8px; padding: .7rem var(--gutter); display: grid; gap: .1rem; }
.flow-step b { font-size: 1.4rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.flow-k { font-weight: 600; font-size: .92rem; }
.flow-s { font-size: .85rem; color: var(--ink-soft); }
.flow-op { font-weight: 700; color: var(--link); padding: 0 var(--gutter); font-size: 1.05rem; }
.flow-end { border-left: 6px solid var(--brand-green); }
@media (min-width: 720px) {
  .flow { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; max-width: none; }
  .flow-op { align-self: center; padding: 0 .2rem; text-align: center; }
}

/* Punch line */
.punch { margin: .3rem 0 .2rem; font-size: 1.35rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.005em; max-width: none; }
.punch b { font-weight: 700; }
.tile-green .punch { background: var(--ink); color: #fff; display: inline-block; padding: .45rem .7rem; border-radius: 6px; font-size: 1.15rem; }
.result-head .punch { color: var(--link); }

/* Dollar bills */
.bills { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .bills { grid-template-columns: 1fr 1fr; } }
.bill { width: 100%; height: auto; display: block; }
.bill-label { margin: .4rem 0 0; font-size: .95rem; line-height: 1.35; max-width: none; }
.bill-label b { font-size: 1.2rem; }

.howsame { display: grid; grid-template-columns: 1fr; gap: .6rem; margin: .4rem 0 1rem; }
@media (min-width: 720px) { .howsame { grid-template-columns: 1fr 1fr; gap: 1rem; } }
.howsame p { background: var(--paper); border-radius: 8px; padding: .8rem var(--gutter); margin: 0; max-width: none; font-size: .98rem; }

/* Swipeable cards */
.swipe-wrap { position: relative; }
.swipe { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .2rem var(--gutter) .6rem; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
.swipe::-webkit-scrollbar { display: none; }
.swipe:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.card { flex: 0 0 86%; scroll-snap-align: center; background: var(--paper); border-radius: 10px; padding: 1rem var(--gutter) 1.1rem; display: flex; flex-direction: column; gap: .4rem; }
.card-art { width: 100%; max-width: 240px; margin: 0 auto; }
.card-art svg { width: 100%; height: auto; display: block; }
.card-body { display: flex; flex-direction: column; gap: .25rem; }
.card-n { font-size: .8rem; color: var(--ink-soft); }
.card h3 { margin: 0; font-size: 1.1rem; line-height: 1.25; }
.card-big { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; margin: .2rem 0 .1rem; font-variant-numeric: tabular-nums; }
.card-big small { font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--ink-soft); }
.card p { margin: 0; font-size: .95rem; max-width: none; }
.card-mill { background: var(--paper); color: var(--ink); }
.card-mill .card-n, .card-mill .card-big small { color: var(--ink-soft); }
.card-zero .card-big { color: var(--green-ink); }
.arrow { display: none; }
@media (min-width: 720px) {
  .swipe { margin: 0; padding: .2rem 0 .6rem; gap: 1rem; }
  .card { flex: 0 0 100%; scroll-snap-align: start; flex-direction: row; align-items: center; gap: 1.5rem; padding: 1.4rem 1.6rem; min-height: 15rem; }
  .card-art { flex: 0 0 38%; max-width: 300px; margin: 0; }
  .card-body { flex: 1 1 auto; }
  .card h3 { font-size: 1.3rem; }
  .card-big { font-size: 2.6rem; }
  .card p { font-size: 1.02rem; max-width: 30rem; }
  .arrow { display: grid; place-items: center; position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font-size: 1.8rem; line-height: 1; cursor: pointer; z-index: 2; padding: 0 0 4px; }
  .arrow:hover { background: var(--brand-green); border-color: var(--brand-green); }
  .arrow-l { left: -22px; } .arrow-r { right: -22px; }
}
.dots { display: flex; gap: .4rem; justify-content: center; margin: .2rem 0 1rem; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--rule); }
.dots span.on { background: var(--ink); }

.tile-pre { margin: 0; font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.tile-green .tile-pre { color: var(--ink); }

.btn.pulse { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(166, 206, 57, .7); }
  50% { box-shadow: 0 0 0 12px rgba(166, 206, 57, 0); }
}
@media (prefers-reduced-motion: reduce) { .btn.pulse { animation: none; } }

/* Nudge: the next arrow bobs until the strip is first moved; on phones the first card peeks a sliver of the next */
@media (prefers-reduced-motion: no-preference) {
  .swipe-wrap.fresh .arrow-r { animation: nudge 1.6s ease-in-out infinite; }
  @keyframes nudge { 0%, 100% { transform: translate(0, -50%); } 50% { transform: translate(6px, -50%); } }
  .swipe-wrap.fresh .swipe { animation: peek 3.2s ease-in-out .6s infinite; }
  @keyframes peek { 0%, 55%, 100% { translate: 0 0; } 18%, 38% { translate: -22px 0; } }
}
.arrow-r::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--brand-green); opacity: 0; }
.swipe-wrap.fresh .arrow-r::after { animation: ring 1.6s ease-out infinite; }
@keyframes ring { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }

/* Calculator motion */
.stage { animation: stage-in .32s cubic-bezier(.2,.7,.2,1) both; }
.stage.back { animation-name: stage-in-back; }
@keyframes stage-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes stage-in-back { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.tile-btn { transition: transform .12s ease, background .12s ease, border-color .12s ease; }
.tile-btn:hover { transform: translateY(-2px); }
.tile-btn.pressed { background: var(--brand-green); border-color: var(--brand-green); transform: scale(.97); }
.tiles .tile-btn { animation: tile-in .35s ease both; }
.tiles .tile-btn:nth-child(2) { animation-delay: .05s; } .tiles .tile-btn:nth-child(3) { animation-delay: .1s; }
.tiles .tile-btn:nth-child(4) { animation-delay: .15s; } .tiles .tile-btn:nth-child(5) { animation-delay: .2s; } .tiles .tile-btn:nth-child(6) { animation-delay: .25s; }
@keyframes tile-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* The walk */
.walk { display: grid; gap: .5rem; justify-items: center; text-align: center; padding: .4rem 0 .2rem; }
.walk-art { width: min(100%, 300px); animation: art-in .5s cubic-bezier(.2,.7,.2,1) both; }
.walk-art svg { width: 100%; height: auto; display: block; }
@keyframes art-in { from { opacity: 0; transform: scale(.9) translateY(10px); } to { opacity: 1; transform: none; } }
.walk-keep { margin: 0; font-size: 1.25rem; font-weight: 600; line-height: 1.3; max-width: 26rem; animation: stage-in .4s .1s ease both; }
.walk-num { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; justify-content: center; }
.walk-num .hero-num { font-size: clamp(2.6rem, 9vw, 3.6rem); }
.walk-num small { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.about { font-size: 1.1rem; font-weight: 600; color: var(--ink-soft); }
.walk-meta { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.walk-bar { width: min(100%, 320px); height: 6px; background: var(--ground); border-radius: 3px; overflow: hidden; margin-top: .4rem; }
.walk-bar span { display: block; height: 100%; width: 0; background: var(--brand-green); }
.walk-bar span.run { animation: fill 5.2s linear forwards; }
@keyframes fill { to { width: 100%; } }
.walk-ctl { display: flex; align-items: center; gap: 1rem; margin-top: .2rem; }
.walk-ctl a { font-size: .92rem; }
.result-head .hero-num .about { font-size: 1.1rem; }
@media (prefers-reduced-motion: reduce) {
  .stage, .tiles .tile-btn, .walk-art, .walk-keep { animation: none; }
  .tile-btn { transition: none; }
}

/* Value tiles */
.tile-btn.value { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: .6rem; padding: .7rem .8rem; min-height: 4.2rem; }
.vt-house { width: 56px; height: 44px; transform: scale(var(--sc, 1)); transform-origin: bottom center; transition: transform .2s ease; }
.tile-btn.value:hover .vt-house { transform: scale(calc(var(--sc, 1) * 1.08)); }
.vt-txt { display: flex; flex-direction: column; line-height: 1.15; }
.vt-txt b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.vt-pre { font-size: .82rem; font-weight: 500; color: var(--ink-soft); }
@media (min-width: 560px) { .value-tiles { grid-template-columns: 1fr 1fr 1fr; } }

/* What it pays for: picture cards */
.pay-grid { display: grid; grid-template-columns: 1fr; gap: .9rem; }
@media (min-width: 720px) { .pay-grid { grid-template-columns: 1fr 1fr; } }
.pay { display: grid; grid-template-columns: 1fr; background: var(--paper); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.pay:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--rule); color: var(--ink); }
.pay-art { background: var(--ground); padding: .6rem 1.4rem 0; }
.pay-art svg { width: 100%; max-width: 260px; height: auto; display: block; margin: 0 auto; }
.pay-body { padding: .9rem var(--gutter) 1rem; display: grid; gap: .45rem; }
.pay-top { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font-size: .8rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: var(--brand-blue); color: var(--ink); }
.chip.quiet { background: var(--ground); color: var(--ink-soft); font-weight: 600; }
.chip.red { background: var(--brand-red); color: #fff; }
.pay h3 { margin: .1rem 0 0; font-size: 1.15rem; line-height: 1.3; }
.pay ul { margin: 0 0 0 1.1rem; padding: 0; font-size: .92rem; color: var(--ink-soft); }
.pay li { margin: .1rem 0; }
.pay-cost { margin: .2rem 0 0; font-size: .95rem; }
.pay-more { color: var(--link); font-weight: 600; font-size: .92rem; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 560px) { .pay-art { padding: .4rem 2rem 0; } .pay-art svg { max-width: 200px; } }

#ballot { display: block; position: relative; top: -70px; visibility: hidden; }

/* Cards: no colored top rims. One quiet hairline, color lives in the art and the chips. */
.calc, .card, .pay, .item, .tile, .chart, .myth, .howsame p, .flow-step { border: 1px solid var(--rule); }
.calc { border-color: var(--ink); border-width: 2px; }
.card-mill { border-color: var(--ink); }
.pay:hover { box-shadow: 0 6px 0 var(--rule); }
.tile-green { border-color: var(--green-deep); }
.ledger { border-width: 1px; border-color: var(--rule); }

/* Option A: hard offset shadow. Flat, crisp, no blur. Cards sit like paper on a desk. */
:root { --ground: #e6edf2; --rule: #cfd9e0; }
.pay, .tile, .card, .chart, .myth, .howsame p, .bill-wrap, .calc, .item, .flow-step { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); border-radius: 8px; }
.tabbed { margin-top: 0; }
.tab { display: none; }
.card.tabbed .card-n { display: inline; }
.pay { overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.pay:hover { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 var(--ink); }
.pay .pay-art { border-radius: 0; }
.tile-green { box-shadow: 6px 6px 0 var(--green-ink); border-color: var(--green-ink); }
.card-mill { box-shadow: 6px 6px 0 var(--ink); border-color: var(--ink); }
.ledger { border: 0; box-shadow: none; }
.facts-grid, .pay-grid, .items-grid, .howsame, .bills { gap: 1.2rem; }
.myth { margin-bottom: .9rem; }
.swipe { padding-top: .4rem; padding-right: 8px; padding-bottom: 12px; }

/* Lookup */
.lookup-cta { margin: 0 0 .6rem; }
.tile-btn.lookup-open { width: 100%; display: grid; gap: .15rem; background: var(--brand-green); border-color: var(--brand-green); }
.tile-btn.lookup-open span { font-weight: 500; font-size: .92rem; color: var(--ink-soft); }
.or { margin: .2rem 0 .6rem; font-size: .9rem; color: var(--ink-soft); }
.modes.small label { font-size: .9rem; padding: .35rem .7rem; }
.modes-soon { align-self: center; font-size: .82rem; color: var(--ink-soft); padding-left: .3rem; }
.vt-share { font-size: .78rem; color: var(--ink-soft); font-weight: 500; }
.suggest { display: grid; gap: .4rem; margin-top: .4rem; }
.sug { text-align: left; background: var(--paper); border: 2px solid var(--rule); border-radius: 6px; padding: .6rem .8rem; cursor: pointer; display: grid; gap: .1rem; }
.sug:hover { border-color: var(--ink); }
.sug b { font-weight: 700; }
.sug span { font-size: .88rem; color: var(--ink-soft); }
.sug.parcel { border-left: 6px solid var(--brand-green); }
.sug.all { border-left: 6px solid var(--brand-blue); }

/* Calculating interstitial */
.calcing { display: grid; justify-items: center; text-align: center; gap: .6rem; padding: 1.6rem 0 1.2rem; transition: opacity .25s ease, transform .25s ease; }
.calcing.out { opacity: 0; transform: translateY(-8px); }
.ring { width: 64px; height: 64px; border-radius: 50%; border: 6px solid var(--ground); border-top-color: var(--brand-green); animation: spin 1s linear infinite; position: relative; }
.ring span { position: absolute; inset: 10px; border-radius: 50%; border: 6px solid transparent; border-top-color: var(--brand-blue); animation: spin 1.6s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.calcing-line { margin: 0; font-size: 1.15rem; font-weight: 700; }
.calcing-steps { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; gap: .25rem; font-size: .92rem; color: var(--ink-soft); text-align: left; }
.calcing-steps li { opacity: .45; transition: opacity .2s ease; }
.calcing-steps li::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--rule); margin-right: .5rem; vertical-align: middle; }
.calcing-steps li.on { opacity: 1; color: var(--ink); }
.calcing-steps li.on::before { background: var(--brand-blue); }
.calcing-steps li.done { opacity: .9; }
.calcing-steps li.done::before { background: var(--brand-green); }

.donut-wide { width: 100%; max-width: 470px; height: auto; display: block; margin: 0 auto; }
.tile-donut { align-items: center; text-align: center; }
.tile-donut .tile-lead, .tile-donut .tile-cap { text-align: center; }

/* Calculator band */
.calc-band { background: var(--brand-blue); padding: 2rem 0 2.4rem; }
.calc-band .wrap { max-width: 50rem; }
.calc-intro { color: var(--ink); margin-bottom: 1.1rem; }
.calc-intro h2 { margin: 0; font-size: clamp(1.7rem, 5vw, 2.3rem); line-height: 1.1; }
.calc-intro h2::before { background: var(--ink); }
.calc-sub { margin: .1rem 0 .7rem; font-size: 1.1rem; font-weight: 600; }
.calc-intro p { max-width: 38rem; margin: 0; font-size: 1.05rem; }
.calc-band .calc { box-shadow: 6px 6px 0 var(--ink); }
.calc-head { display: flex; justify-content: flex-end; min-height: 1.2rem; }

/* Doors */
.doors { display: grid; grid-template-columns: 1fr; gap: .8rem; }
@media (min-width: 640px) { .doors { grid-template-columns: 1.25fr 1fr; } }
.door { text-align: left; padding: 1.1rem 1.1rem 1.2rem; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); cursor: pointer; display: grid; gap: .25rem; min-height: 6.4rem; transition: transform .12s ease, background .12s ease; }
.door b { font-size: 1.25rem; line-height: 1.2; }
.door span { font-size: .95rem; color: var(--ink-soft); font-weight: 400; }
.door.primary { background: var(--brand-green); border-color: var(--brand-green); }
.door.primary span { color: var(--ink); }
.door:hover { transform: translateY(-2px); }
.door.pressed { transform: scale(.98); }

/* Typed tiles (Door 2, question 1) */
.tile-btn.typed { display: grid; gap: .1rem; }
.tile-btn.typed span { font-weight: 400; font-size: .88rem; color: var(--ink-soft); }
.check { display: flex; align-items: center; gap: .5rem; margin: .4rem 0 .8rem; font-weight: 500; }
.check input { width: 1.1rem; height: 1.1rem; accent-color: var(--link); }

/* Sticky phone CTA */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta { display: block; position: fixed; left: 50%; bottom: 14px; transform: translate(-50%, 90px); background: var(--brand-green); color: var(--ink); font-weight: 700; padding: .75rem 1.3rem; border-radius: 999px; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); text-decoration: none; z-index: 30; transition: transform .25s ease; }
  .sticky-cta.show { transform: translate(-50%, 0); }
}

/* Steady calculator: a floor on the panel height so steps don't collapse the page under the reader */
#wizard { min-height: 18rem; transition: min-height .3s ease; }
@media (max-width: 560px) { #wizard { min-height: 20rem; } }
html, body { overflow-anchor: none; }

/* Same money: room to breathe */
.howsame p { padding: 1.2rem 1.4rem 1.3rem; line-height: 1.6; font-size: 1rem; }
.howsame p b { display: block; margin-bottom: .35rem; font-size: 1.08rem; }
.bill-wrap { padding: 1rem 1.1rem 1.1rem; background: var(--paper); }
.bill-label { margin-top: .7rem; }
.howsame, .bills { row-gap: 1.4rem; }

/* Calculator band: deeper blue, white text, so the intro reads */
.calc-band { background: var(--link); }
.calc-intro { color: #fff; }
.calc-intro h2::before { background: var(--brand-green); }
.calc-intro .calc-sub { color: #e6f3fa; }
.calc-band .calc { box-shadow: 6px 6px 0 var(--ink); }

/* Calculator band: bright brand blue, white text; the panel gets more presence than the other callouts */
.calc-band { background: var(--brand-blue); padding: 2.2rem 0 2.8rem; }
.calc-intro { color: #fff; }
.calc-intro h2 { font-weight: 700; text-shadow: 0 1px 0 rgba(0,0,0,.15); }
.calc-intro h2::before { background: #fff; }
.calc-intro .calc-sub { color: #fff; font-weight: 700; }
.calc-intro p { font-weight: 600; font-size: 1.08rem; text-shadow: 0 1px 0 rgba(0,0,0,.12); }
.calc-band .calc { border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); padding: 1.6rem 1.4rem 1.8rem; border-radius: 10px; }
@media (max-width: 560px) { .calc-band .calc { padding: 1.3rem 1rem 1.5rem; box-shadow: 7px 7px 0 var(--ink); } }
.gate-lead { margin: 0 0 1rem; font-size: 1.02rem; line-height: 1.5; max-width: 36rem; }

/* Calculator intro: titles in ink, the explanation in white, with air between them */
.calc-intro h2 { color: var(--ink); text-shadow: none; }
.calc-intro h2::before { background: var(--ink); }
.calc-intro .calc-sub { color: var(--ink); font-weight: 700; margin-bottom: 1rem; }
.calc-intro p:not(.calc-sub) { color: #fff; font-weight: 600; text-shadow: 0 1px 0 rgba(0,0,0,.15); margin-top: .2rem; }
.calc-intro { margin-bottom: 1.4rem; }

/* Rate card: two numbers and a less-than sign */
.tile-rate { align-items: center; text-align: center; }
.tile-rate .tile-lead, .tile-rate .tile-cap { text-align: center; }
.rate-vs { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: .6rem 0 .4rem; flex: 1; }
.rate-side { display: grid; justify-items: center; gap: .1rem; }
.rate-side b { font-size: clamp(1.9rem, 5.2vw, 2.5rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rate-side span { font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.rate-side:first-child b { color: var(--link); }
.rate-lt { font-size: clamp(1.9rem, 5.2vw, 2.5rem); font-weight: 700; color: var(--green-ink); line-height: 1; padding-bottom: 1.2rem; }

/* Icons in the result rows */
.keep-table td.art { width: 3.6rem; padding-right: .6rem; vertical-align: middle; }
.keep-table td.art svg { width: 3.4rem; height: auto; display: block; background: var(--ground); border: 2px solid var(--ink); border-radius: 6px; }
@media (max-width: 420px) { .keep-table td.art { width: 3rem; } .keep-table td.art svg { width: 2.8rem; } }
@media (max-width: 480px) {
  .keep-table td { padding: .6rem .4rem .6rem 0; }
  .keep-table td.num { min-width: 4.6rem; font-size: .98rem; }
  .keep-table td.art { width: 2.6rem; padding-right: .5rem; vertical-align: top; padding-top: .75rem; }
  .keep-table td.art svg { width: 2.4rem; }
  .keep-table td.keep b { font-size: .95rem; }
}

/* Calculator title block stays in frame while the calculator scrolls */
:root { --head-h: 48px; }
.calc-intro { position: sticky; top: var(--head-h); z-index: 5; background: var(--brand-blue); padding: .7rem 14px .8rem; margin: -.7rem -14px 1rem; }
.calc-intro .calc-sub { font-size: clamp(1.3rem, 4vw, 1.7rem); line-height: 1.2; margin: .15rem 0 0; }
@media (max-width: 560px) { .calc-intro { padding: .5rem 14px .6rem; } .calc-intro h2 { font-size: 1.15rem; } .calc-intro .calc-sub { font-size: 1.12rem; } }

/* One box size through the walk; a reserved, scrolling suggestion area in the lookup */
#wizard.locked { overflow: hidden; }
.suggest { height: 12rem; overflow-y: auto; align-content: start; padding-right: .2rem; }


/* Item page: illustration beside the title */
.item-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem 1.6rem; align-items: center; }
.item-art { background: var(--ground); border: 2px solid var(--ink); border-radius: 10px; box-shadow: 6px 6px 0 var(--ink); padding: .8rem 1.4rem 0; max-width: 300px; }
.item-art svg { width: 100%; height: auto; display: block; }
@media (min-width: 720px) { .item-head { grid-template-columns: 300px minmax(0, 1fr); } }
@media (max-width: 719px) { .item-art { max-width: 240px; padding: .6rem 1.2rem 0; } }

.zero-big { font-size: 1.7em; font-weight: 700; color: var(--green-ink); line-height: 1; vertical-align: -0.08em; padding: 0 .08em; }

/* What's on the ballot as a swipe strip, sized like the how-it-works cards */
.pay-swipe .pay { flex: 0 0 86%; scroll-snap-align: center; }
@media (min-width: 720px) {
  .pay-swipe .pay { flex: 0 0 100%; scroll-snap-align: start; grid-template-columns: 38% minmax(0, 1fr); align-items: stretch; min-height: 15rem; }
  .pay-swipe .pay-art { display: flex; align-items: center; justify-content: center; padding: 1rem 1.4rem; }
  .pay-swipe .pay-art svg { max-width: 300px; }
  .pay-swipe .pay-body { padding: 1.2rem 1.6rem 1.2rem 1.4rem; align-content: center; }
}

/* Fact tiles: equal tracks and equal rows */
.facts-grid { grid-auto-rows: 1fr; }
@media (min-width: 720px) { .facts-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Key term under each how-it-works heading */
.card-term { margin: -.1rem 0 .1rem; font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--link); }
.card-mill .card-term { color: var(--link); }

/* Section rhythm: alternate backgrounds so each part reads as its own band */
:root { --tint-green: #eef5d6; }
#facts { background: var(--ground); }
#how { background: var(--paper); padding-bottom: 2.2rem; }
#funds { background: var(--ground); padding-bottom: 2.2rem; }
#expires { background: var(--paper); }
#same-rate { background: var(--tint-green); }
#same-rate h2::before { background: var(--ink); }
#compare { background: var(--paper); }
#myths { background: var(--ground); }
#facts, #how, #funds, #expires, #same-rate, #compare, #myths { padding-top: 2.6rem; }
#how, #expires, #same-rate, #compare, #myths { padding-bottom: 2.4rem; }

/* In the swipe strip, a hover must not move the card: the strip clips anything that crosses its edge */
.pay-swipe .pay:hover { transform: none; box-shadow: 8px 8px 0 var(--ink); }
.pay-swipe { padding-top: .4rem; padding-bottom: 14px; }

/* Phone menu: the section links fold into a hamburger */
.menu-btn { display: none; }
@media (max-width: 720px) {
  .site-head .wrap { flex-wrap: nowrap; position: relative; }
  .menu-btn { display: grid; gap: 5px; width: 44px; height: 44px; padding: 0; place-content: center; background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; cursor: pointer; margin-left: auto; }
  .menu-btn span { display: block; width: 20px; height: 3px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .jumps { display: none; position: absolute; top: 100%; left: 0; right: 0; order: 0; flex-basis: auto; margin: 0; padding: .4rem var(--gutter) .8rem; background: var(--paper); border-bottom: 2px solid var(--ink); box-shadow: 0 8px 0 rgba(35,31,32,.08); }
  .jumps.open { display: grid; gap: .1rem; }
  .jumps a { font-size: 1.05rem; padding: .7rem .5rem; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .jumps a:last-child { border-bottom: 0; }
}

/* Who-carries legend under the stacked bar */
.legend { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1.4rem; }
.legend li { display: grid; grid-template-columns: 1rem minmax(0, 1fr) auto; align-items: center; gap: .55rem; font-size: .95rem; }
.legend i { width: 1rem; height: 1rem; border-radius: 3px; border: 2px solid var(--ink); display: block; }
.legend b { font-variant-numeric: tabular-nums; }
@media (max-width: 639px) { .legend { grid-template-columns: 1fr; } .legend li { font-size: 1rem; } .chart { padding: 1rem .8rem; } }

/* Franklin Facts wordmark in the header */
.wordmark { display: inline-flex; align-items: baseline; gap: .28rem; text-decoration: none; line-height: 1; white-space: nowrap; }
.wordmark .wm-a { font-weight: 700; font-size: 1.25rem; color: var(--ink); letter-spacing: -0.01em; }
.wordmark .wm-b { position: relative; display: inline-block; font-weight: 800; font-size: 1.25rem; color: var(--brand-blue); letter-spacing: -0.01em; padding-bottom: .2rem; }
.wm-stroke { position: absolute; left: -3%; bottom: -.5rem; width: 108%; height: .9rem; display: block; pointer-events: none; }
.wordmark:hover .wm-b { color: var(--link); }
@media (max-width: 720px) { .wordmark .wm-a, .wordmark .wm-b { font-size: 1.15rem; } }

/* Section titles: green underline instead of the short bar above */
section h2::before, .calc-intro h2::before, #same-rate h2::before { display: none; }
section h2 { display: inline-block; border-bottom: 5px solid var(--brand-green); padding-bottom: .3rem; }
.calc-intro h2 { display: inline-block; font-size: clamp(2rem, 6vw, 2.9rem); border-bottom: 6px solid var(--brand-green); padding-bottom: .25rem; }
@media (max-width: 560px) { .calc-intro h2 { font-size: 1.5rem; } }

/* Phone calculator button: always on screen */
@media (max-width: 720px) { .sticky-cta { transform: translate(-50%, 0); white-space: nowrap; padding: .7rem 1.2rem; } }

/* Phone pass 2026-10-14: hero layout, menu motion, even line spacing */
@media (max-width: 720px) {
  .hero .wrap { padding-top: 1.3rem; padding-bottom: 1.3rem; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "h1" "p" "art" "jump"; gap: .8rem; }
  .hero h1 { font-size: 1.65rem; line-height: 1.18; margin-bottom: 0; }
  .hero p { font-size: .97rem; line-height: 1.5; }
  .hero-art { height: auto; width: min(52%, 200px); justify-self: center; margin: 0; }
  .hero .jump { grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .1rem; }
  .hero .btn { padding: .8rem .4rem; font-size: .92rem; white-space: nowrap; display: flex; align-items: center; justify-content: center; }
}
.site-head { background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); }
@media (max-width: 720px) {
  .jumps { display: grid; gap: .1rem; visibility: hidden; opacity: 0; transform: translateY(-10px); pointer-events: none;
           transition: opacity .32s cubic-bezier(.32,.72,0,1), transform .32s cubic-bezier(.32,.72,0,1), visibility 0s linear .32s;
           background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); }
  .jumps.open { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; transition-delay: 0s; }
  .menu-btn { transition: background .2s ease, border-color .2s ease; }
  .menu-btn span { transition: transform .32s cubic-bezier(.32,.72,0,1), opacity .2s ease; }
}
@media (prefers-reduced-motion: reduce) { .jumps, .menu-btn span { transition: none; } }
.zero-big { line-height: .75; }

/* Compare charts: bars grow from the left when the chart comes into view */
.chart rect.bar { transform: scaleX(0); transform-box: fill-box; transform-origin: left center; transition: transform .9s cubic-bezier(.32,.72,0,1); }
.chart.drawn rect.bar { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .chart rect.bar { transform: none; transition: none; } }

/* Question groups */
.myth-group { margin-bottom: 1.6rem; }
.myth-group-title { margin: 0 0 .7rem; font-size: 1.05rem; font-weight: 700; color: var(--ink-soft); letter-spacing: .01em; }

/* More room under the facts tiles before the next section */
#facts { padding-bottom: 3.2rem; }
