/* Pennies To Them: homepage ("Modernist" redesign, design_handoff_homepage_redesign/).
   Flat, zero radius, 2px rules, flush left, Archivo throughout, near-mono red on
   light grey. Photos print in black and white; company logos keep their colours.
   Light theme only. The methodology and privacy pages use css/styles.css. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f3f2f2;
  --surface: #eae9e9;
  --ink: #201e1d;
  --ink-75: color-mix(in srgb, #201e1d 75%, transparent);
  --ink-70: color-mix(in srgb, #201e1d 70%, transparent);
  --divider: color-mix(in srgb, #201e1d 40%, transparent);
  --accent: #b97137;
  --accent-100: #f8efe7;
  --accent-600: #a5622d;
  --accent-700: #8a5126;
  --accent-800: #6b3e1c;
  --n-300: #d7d3d3;
  --n-600: #7d7979;
  --n-800: #444141;
  --shadow-md: 0 3px 10px rgba(45, 43, 43, .16);
  --shadow-lg: 0 12px 32px rgba(45, 43, 43, .22);
  --pad: clamp(20px, 5vw, 72px);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 15px; line-height: 1.55; font-weight: 400;
  text-wrap: pretty;
}
h1, h2, h3, h4 { font-family: var(--font); font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
a { color: var(--accent-700); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }
[hidden] { display: none !important; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--pad); }
.nowrap { white-space: nowrap; }
.accent { color: var(--accent); }
.muted { color: var(--ink-70); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; top: 8px; }
.grayscale { filter: grayscale(1) contrast(1.08); }
.kicker { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-700); }

/* — buttons (labels flush left, never centred) — */
.btn {
  display: inline-flex; align-items: center; justify-content: flex-start; gap: 8px;
  min-height: 40px; padding: 8px 14px; cursor: pointer; text-decoration: none;
  font-weight: 800; font-size: 15px; line-height: 1.2; color: var(--ink);
  background: transparent; border: 1px solid transparent; border-radius: 0;
}
.btn svg { display: block; flex: none; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-600); color: var(--bg); }
.btn-primary:active { background: var(--accent-700); }
.btn-secondary { border-color: var(--divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--ink) 14%, transparent); }
.btn-ghost { color: var(--accent-700); padding-inline: 8px; }
.btn-ghost:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.btn-icon { width: 40px; height: 40px; padding: 0; justify-content: center; }
.btn-lead { min-width: 200px; padding: 12px 16px; }
.btn-big { font-size: 17px; padding: 16px 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-row .btn { min-width: 76px; }
.btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer; font-weight: 600;
  color: var(--accent-700); text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--accent); }

/* — forms — */
.field > label, .field-label { display: block; font-size: 12px; margin-bottom: 6px; color: var(--ink-70); }
.label-row { display: flex !important; justify-content: space-between; align-items: center; gap: 8px; }
.input {
  width: 100%; min-height: 40px; padding: 6px 10px; font-size: 15px; color: var(--ink);
  caret-color: var(--accent); background: var(--surface);
  border: 1px solid var(--divider); border-radius: 0;
}
.input:hover { border-color: color-mix(in srgb, var(--ink) 55%, transparent); }
.input:focus-visible { border-color: var(--accent); outline-offset: 0; }
.input-lg { font-size: 22px; font-weight: 600; min-height: 52px; font-variant-numeric: tabular-nums; }
.input::placeholder { color: var(--ink-70); font-weight: 400; }
.joined { display: flex; align-items: stretch; }
.joined-symbol {
  display: flex; align-items: center; padding: 0 12px; font-weight: 600; font-size: 18px;
  background: var(--surface); border: 1px solid var(--divider); border-right: 0;
}
.joined .input { min-width: 0; }
.joined .btn { flex: none; }
.hint { font-size: 12px; margin-top: 6px; color: var(--ink-70); }
.seg { display: inline-flex; align-self: flex-start; border: 1px solid var(--divider); }
.seg-opt { position: relative; display: inline-flex; align-items: center; padding: 8px 14px; font-size: 14px; cursor: pointer; }
.seg-opt + .seg-opt { border-left: 1px solid var(--divider); }
.seg-opt input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.seg-opt:has(input:checked) { background: var(--accent); color: var(--bg); font-weight: 600; }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.tag { display: inline-flex; align-items: center; font-size: 11px; letter-spacing: 0.02em; padding: 3px 10px; }
.tag-accent { background: var(--accent-100); color: var(--accent-800); }

/* — nav — */
.nav { border-bottom: 2px solid var(--divider); }
.nav-row {
  max-width: 1200px; margin: 0 auto; padding: 12px var(--pad);
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px;
}
.nav-brand { margin-right: auto; display: flex; align-items: center; }
.nav-brand img { height: 36px; width: auto; }
.nav a:not(.nav-brand) { color: inherit; text-decoration: none; font-size: 14px; }
.nav a:not(.nav-brand):hover { color: var(--accent); }
.nav .nav-support { color: var(--accent-700); font-weight: 800; }
.nav-currency { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.nav-currency span { color: var(--ink-70); }
.nav-currency .input { width: auto; min-height: 32px; padding: 4px 8px; font-size: 14px; }

/* — 1. hero / result — */
.hero { padding-top: 56px; padding-bottom: 56px; }
.hero-head {
  display: flex; flex-wrap: wrap; gap: 8px 48px; align-items: baseline;
  padding-bottom: 20px; border-bottom: 2px solid var(--divider);
}
.hero-head h1 { font-size: 24px; line-height: 1.2; }
.hero-head p { font-size: 15px; max-width: 56ch; color: var(--ink-75); }
.hero-body { padding-top: 48px; }
.display {
  font-weight: 800; font-size: clamp(38px, 6.4vw, 88px); line-height: 1.04;
  letter-spacing: -0.025em; margin: 0 0 0 -0.05em; max-width: 16ch; overflow-wrap: anywhere;
}
#result-answer, #result-message { margin-top: 8px; max-width: none; }
.display-muted { color: var(--n-600); font-size: clamp(28px, 4.2vw, 56px); max-width: 24ch; }
.display-muted .btn { font-size: 15px; letter-spacing: 0; margin-top: 16px; }
.result-note { margin-top: 16px; font-size: 17px; font-weight: 600; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 48px; margin-top: 32px; max-width: 900px; }
.hero-meta > p { font-size: 17px; line-height: 1.55; flex: 1 1 360px; }
.hero-compare { flex: 0 1 320px; font-size: 17px; line-height: 1.55; font-weight: 600; }
.hero-compare .items { font-weight: 600; }
.hero-compare .alternates { color: var(--ink-75); font-size: 15px; margin-top: 4px; }
.item-emoji { margin-right: 4px; }
.billion-line { margin-top: 20px; font-size: 15px; padding-left: 12px; border-left: 4px solid var(--accent); max-width: 900px; }
.billion-line:empty { display: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }

/* — 2. calculator — */
.calc-grid { border-top: 2px solid var(--divider); }
/* Two halves: choices on the left, the live result card on the right. The card
   sticks to the top of the screen, so it moves down with the visitor. */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; align-items: start; }
.calc-inputs { display: flex; flex-direction: column; margin: 0; min-width: 0; }
.calc-step { display: flex; flex-direction: column; gap: 20px; padding: 28px 0 32px; min-width: 0; }
.calc-step + .calc-step { border-top: 2px solid var(--divider); }
.result-card {
  position: sticky; top: 16px; margin-top: 28px; margin-bottom: 32px;
  display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 28px;
  background: #fff; border-top: 4px solid var(--accent); min-width: 0;
  box-shadow: 0 2px 12px rgba(45, 43, 43, .08), 0 1px 2px rgba(45, 43, 43, .06);
}
.card-display { font-weight: 800; font-size: clamp(26px, 3vw, 40px); line-height: 1.08; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.card-display.display-muted { font-size: clamp(20px, 2.2vw, 28px); color: var(--n-600); max-width: none; }
.card-explain { font-size: 15px; margin-top: 4px; }
.result-card .items { font-weight: 600; font-size: 15px; }
.result-card .alternates { color: var(--ink-75); font-size: 14px; }
.result-card .actions { margin-top: 8px; gap: 8px; }
.result-card .billion-line { margin-top: 4px; }
.step-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.step-head p { font-size: 13px; color: var(--ink-70); }
.calc h2 { font-size: 20px; display: flex; gap: 12px; align-items: baseline; }
.step-num { color: var(--accent); }

.gifts { display: flex; flex-wrap: wrap; gap: 2px; background: var(--divider); border: 2px solid var(--divider); }
.gift { flex: 1 1 230px; display: flex; flex-direction: column; background: var(--bg); }
.gift:hover, .gift:has(.gift-btn[aria-pressed="true"]) { background: var(--surface); }
.gift-btn {
  flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 18px 20px 12px; background: none; border: 0; text-align: left; cursor: pointer;
}
.gift-date { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-70); }
.gift-date::before { content: ""; width: 10px; height: 10px; background: var(--accent); display: none; }
.gift-btn[aria-pressed="true"] .gift-date::before { display: block; }
.gift-who { display: flex; align-items: center; gap: 10px; }
.gift-who span { display: flex; flex-direction: column; gap: 2px; }
.gift-name { font-size: 15px; font-weight: 600; }
.gift-role { font-size: 12px; color: var(--ink-70); }
.gift-amount { font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -0.015em; }
.gift-what { font-size: 13px; line-height: 1.45; color: var(--ink-75); }
.gift-source { padding: 0 20px 16px; font-size: 12px; }

.tile-group { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.group-head { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; font-size: 13px; }
.group-head strong { font-weight: 600; }
.group-head span { color: var(--ink-70); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 2px; }
.tile {
  position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 8px;
  padding: 8px 8px 10px; border: 0; text-align: left; cursor: pointer; background: var(--surface);
}
.tile:hover { background: var(--n-300); }
.tile[aria-pressed="true"] { background: var(--accent-100); }
.tile[aria-pressed="true"]::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent); z-index: 1; }
.tile-text { display: flex; flex-direction: column; gap: 2px; }
.tile-name { font-size: 13px; font-weight: 600; line-height: 1.25; }
.tile-role { font-size: 12px; line-height: 1.3; color: var(--ink-75); }
.tile-worth { font-size: 12px; color: var(--ink-70); font-variant-numeric: tabular-nums; }
.tile-plus { font-size: 36px; font-weight: 400; }

/* Photos: black and white, cropped near the top (faces). Initials if none. */
.photo {
  position: relative; display: grid; place-items: center; flex: none; overflow: hidden;
  background: var(--n-300); color: var(--n-800); font-weight: 800;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.08); }
.photo-40 { width: 40px; height: 40px; font-size: 13px; }
.photo-64 { width: 64px; height: 64px; font-size: 18px; }
.photo-tile { aspect-ratio: 1; font-size: 20px; }
.leaf { position: absolute; top: 4px; right: 4px; width: 16px; height: 16px; z-index: 2; filter: drop-shadow(0 0 1px #fff); }
.leaf-inline { width: 14px; height: 14px; display: inline-block; vertical-align: -1px; margin-left: 4px; }
.leaf-heading { width: 24px; height: 24px; display: inline-block; vertical-align: -2px; margin-left: 6px; }

.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.logos img { width: auto; max-width: 120px; object-fit: contain; object-position: left center; }
.logos-20 img { height: 20px; }
.logos-16 img { height: 16px; max-width: 96px; }
.logos-20 img.logo-tall { height: 32px; }
.logos-16 img.logo-tall { height: 26px; }
.logo-text { font-size: 13px; font-weight: 600; color: var(--ink-75); }

.selected { display: flex; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--divider); }
.selected-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.selected-name { font-size: 20px; font-weight: 700; line-height: 1.2; }
.selected-role { font-size: 14px; }
.selected-worth { font-size: 13px; color: var(--ink-75); }
.custom { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 16px; max-width: 520px; }
.field-gave { max-width: 460px; }
.field-gave .btn-row { margin-bottom: 10px; }
#money-presets { margin-top: 10px; }
#money-presets .btn { min-width: 0; font-size: 14px; padding-inline: 10px; }
.privacy-note { font-size: 13px; display: flex; gap: 8px; align-items: center; color: var(--ink-75); }

/* — 3. tax card — */
.tax-card { border-top: 2px solid var(--divider); padding: 28px 0 40px; max-width: 760px; }
.tax-card .seg { margin-bottom: 18px; }
.tax-card h3 { font-size: 24px; margin-bottom: 14px; }
.tax-card p { margin: 0 0 12px; font-size: 17px; }
.tax-card strong { font-weight: 800; }
.tax-card .tax-keep { font-size: 20px; font-weight: 800; color: var(--accent-700); }
.tax-card .tax-example { font-size: 14px; color: var(--ink-75); }
.tax-card details { margin-top: 8px; border-top: 1px solid var(--divider); padding-top: 12px; }
.tax-card summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--accent-700); width: fit-content; }
.tax-card details ul { margin: 12px 0 0; padding-left: 1.1em; font-size: 14px; color: var(--ink-75); }
.tax-card details li { margin-bottom: 8px; }

/* — 4. share — */
.share { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; border-top: 2px solid var(--divider); }
.share-text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.share h2 { font-size: 32px; }
.share-text > p:not(.kicker) { font-size: 15px; max-width: 44ch; }
.share-url { margin-top: 8px; }
.share-url .input { min-height: 44px; font-size: 14px; }
.share-url .btn { min-width: 112px; }
.share-on { font-size: 13px; font-weight: 600; margin-top: 8px; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink);
  border: 1px solid var(--divider);
}
.social a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.share-status { font-size: 14px; min-height: 1.5em; }
.share-preview { flex: 1.4 1 420px; margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.share-preview canvas { width: 100%; height: auto; aspect-ratio: 1200 / 630; box-shadow: var(--shadow-md); background: var(--surface); }
.share-preview figcaption { font-size: 12px; color: var(--ink-70); }

/* — 5. support (Ko-fi): deliberately prominent — */
.support {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
  padding-top: 40px; padding-bottom: 40px; margin-bottom: 56px;
  background: var(--accent-100); border-top: 4px solid var(--accent);
}
.support h2 { font-size: 32px; margin: 4px 0 8px; }
.support p:not(.kicker) { font-size: 17px; max-width: 52ch; }

/* — purchases — */
.latest { padding-bottom: 48px; }
.latest h2 { font-size: 24px; margin-bottom: 16px; }
.buys-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; background: var(--divider); border-block: 2px solid var(--divider); }
.buy { background: var(--bg); padding: 14px 0; display: flex; flex-direction: column; gap: 4px; }
.buy-title { font-size: 15px; }
.buy-scale { font-size: 15px; }
.buy-note { font-size: 13px; color: var(--ink-75); }
.buy-links { font-size: 13px; }
.buys-status { font-size: 13px; }
.buys-status:empty { display: none; }

/* — 6. tables — */
.rich { padding-bottom: 72px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding-top: 28px; border-top: 2px solid var(--divider); }
.section-head h2 { font-size: 32px; }
.section-head a { font-size: 14px; }
.table-note { font-size: 14px; margin: 12px 0 20px; max-width: 72ch; color: var(--ink-75); }
.table-wrap { position: relative; overflow-x: auto; overflow-y: hidden; } /* relative: keeps screen-reader-only text inside the scroll box */
.table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.table th {
  text-align: left; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 60%, transparent);
  padding: 8px; border-bottom: 2px solid var(--divider); vertical-align: bottom;
}
.table td { padding: 8px; border-bottom: 1px solid var(--divider); vertical-align: middle; }
.table tbody tr:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table th.num { text-align: right; }
.table .rank { width: 48px; color: var(--ink-70); font-variant-numeric: tabular-nums; }
.table .worth { font-weight: 600; }
.th-info { display: inline-flex; align-items: center; gap: 6px; justify-content: flex-end; }
.info-btn {
  width: 20px; height: 20px; flex: none; display: inline-grid; place-items: center; padding: 0; cursor: pointer;
  border: 1px solid var(--divider); background: var(--bg); font-size: 11px; font-weight: 800; color: var(--ink);
  letter-spacing: 0; text-transform: none;
}
.info-btn:hover { background: var(--ink); color: var(--bg); }
.person-cell { display: flex; align-items: center; gap: 12px; }
.person-text { display: flex; flex-direction: column; gap: 2px; }
.person-name { font-weight: 600; }
.ticker-value { font-variant-numeric: tabular-nums; }
.is-down { color: var(--accent-700); }
.data-line { font-size: 12px; color: var(--ink-70); margin-top: 12px; }

/* — footer — */
.footer { border-top: 2px solid var(--divider); }
.footer-row { padding-top: 28px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 13px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer .fine { color: var(--ink-70); max-width: 70ch; }

/* — pop-up — */
.dialog {
  width: min(560px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 0; border: 0;
  background: var(--bg); color: var(--ink); box-shadow: var(--shadow-lg); border-top: 4px solid var(--accent);
}
.dialog::backdrop { background: color-mix(in srgb, #2d2b2b 50%, transparent); }
.dialog-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 20px 20px 12px; position: sticky; top: 0; background: var(--bg);
}
.dialog-title { font-size: 22px; padding-top: 6px; }
.dialog-body { padding: 0 20px 24px; font-size: 15px; display: flex; flex-direction: column; gap: 12px; }
.dialog-body h3 { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 8px; }
.dialog-body .math { font-size: 17px; }
.earn-group { border-top: 1px solid var(--divider); padding-top: 8px; }
.earn-what { font-size: 13px; color: var(--ink-70); margin-bottom: 4px; }
.earn-rows { margin: 0; }
.earn-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.earn-rows dt { margin: 0; }
.earn-rows dd { margin: 0; font-weight: 800; text-align: right; }
.earn-rows div + div dd { color: var(--accent-700); }
.fine-print { font-size: 13px; color: var(--ink-75); }

/* — result bar while in the calculator — */
.mini-result {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--pad); background: var(--ink); color: var(--bg);
  box-shadow: 0 -3px 10px rgba(45, 43, 43, .16);
}
.mini-result p { font-weight: 800; font-size: 17px; line-height: 1.25; min-width: 0; }
.mini-result p strong { color: #ff9783; }
.mini-result .btn { flex: none; }

.noscript { max-width: 1200px; margin: 24px auto; padding: 16px var(--pad); background: var(--accent-100); }

/* — phones — */
/* One column: the result card follows the choices, and the bar at the bottom shows it meanwhile. */
@media (max-width: 899px) {
  .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .result-card { position: static; margin-top: 0; }
}
@media (min-width: 900px) {
  .mini-result { display: none !important; }
}
@media (max-width: 720px) {
  .hero { padding-top: 32px; padding-bottom: 40px; }
  .hero-body { padding-top: 32px; }
  .btn-lead { min-width: 0; }
  .share { padding-top: 48px; padding-bottom: 48px; }
  .share h2, .support h2, .section-head h2 { font-size: 26px; }
  .gift-amount { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
