/* design: v2 */
/* bankswitchoffers.com, design v2 A, "Don't keep all your eggs in one basket" (design/home-v2-A.png, picked by James on
   2 Dec 2026). A bright sky-blue sky over grass hills; soft clay toys (Blender renders, renders/, public/img/clay/): a hen
   passing golden eggs between two baskets, a padlock, a piggy bank, an umbrella. Below, cream panels: the offers table with
   golden-egg amount chips, a lilac checker panel, a green "bank down" panel and a blue US panel. Playfair Display for
   headings (purple ink), Outfit for text (both OFL, self-hosted). Light surfaces in dark mode too (color-scheme: light),
   so every pair is checked once, by tests/design.test.ts. */

@font-face { font-family: "Playfair Display"; src: url("/fonts/playfair-display.woff2") format("woff2"); font-weight: 600 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/fonts/outfit.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  --brand: #59c2ff;        /* sky blue, the board's legend */
  --orange: #ff8b3d;
  --grass: #7cb342;
  --pink: #ff6faf;
  --purple: #5a2ca0;       /* headline ink */
  --bg: #d4ecb4;           /* the grass the cream panels sit on */
  --card: #fffaf1;         /* cream panels */
  --band: #fff1dc;         /* the offers table's head row */
  --text: #2d1f45;         /* body ink: a deep plum */
  --muted: #5b4d70;
  --line: #eadcc6;
  --link: #5a2ca0;
  --on-brand: #2d1f45;
  --sky-1: #3fa9f0;
  --sky-2: #7fd0ff;
  --sky-3: #bfe7ff;
  --sky-4: #e6f6ff;
  --lilac: #efe3fb;        /* the checker panel */
  --lilac-line: #d8c3f2;
  --green: #e9f5da;        /* the bank-down panel */
  --green-line: #c8e2a8;
  --blue: #e1f2ff;         /* the US panel */
  --blue-line: #b9defa;
  --ribbon: #c4317a;       /* the pink ribbon, deep enough for white words */
  --ribbon-text: #ffffff;
  --gold-1: #ffe27a;
  --gold-2: #f5b82e;
  --gold-text: #3d2400;
  --yes: #d8f0c2;
  --yes-text: #2c4a12;
  --no: #ffd9e8;
  --no-text: #6b1238;
  --btn: #5a2ca0;
  --btn-hover: #47208a;
  --btn-text: #ffffff;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 24px;
  --hdr: 104px;
  --soft: 0 10px 28px rgba(45, 31, 69, 0.12), 0 2px 6px rgba(45, 31, 69, 0.08);
  color-scheme: light;
}
@media (max-width: 760px) { :root { --hdr: 86px; --radius: 18px; } }

/* ---------- type ---------- */
body { font-family: var(--sans); font-size: 17.5px; line-height: 1.6; background: var(--bg); color: var(--text); }
main { overflow-x: clip; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; color: var(--purple); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.02; margin: 0.1em 0 0.3em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.15; margin: 1.6em 0 0.5em; }
h3 { font-size: 1.2rem; line-height: 1.25; margin: 1.2em 0 0.35em; }
a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; text-decoration-color: var(--orange); }
.wrap { max-width: 1240px; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 17px; } }
::selection { background: var(--gold-1); color: var(--text); }
.small, .cite, .checked { font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.cite q { font-style: italic; }
img.clay { display: block; height: auto; max-width: none; }
.clay-missing { display: none; }
.rays { position: absolute; width: 36px; height: 36px; pointer-events: none; }
.btn:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- header: the wordmark on its cloud, the menu a white pill on the sky ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; background: transparent; border: 0; }
.header-row { max-width: 1440px; padding: 14px clamp(16px, 3.6vw, 56px) 0; justify-content: space-between; gap: 10px 36px; align-items: flex-start; }
.brand, .brand:hover { text-decoration: none; }
.logo { position: relative; display: inline-flex; flex-direction: column; align-items: center; padding: 26px 46px 0; margin: 0 0 0 -12px; }
.logo-cloud { top: -6px !important; left: -14px !important; right: -14px !important; width: calc(100% + 28px) !important; height: calc(100% - 6px) !important; }
.logo-cloud { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 72%; max-width: none; z-index: 0; filter: drop-shadow(0 4px 8px rgba(45, 31, 69, 0.18)); }
.wordmark { position: relative; z-index: 1; font-family: var(--display); font-weight: 900; font-size: 1.85rem; line-height: 1; color: var(--purple); }
.wm-ribbon { position: relative; z-index: 2; margin-top: 6px; padding: 3px 18px 4px; background: var(--ribbon); color: var(--ribbon-text); font-family: var(--display); font-weight: 700; font-size: 1.02rem; border-radius: 10px; transform: rotate(-1.5deg); box-shadow: 0 3px 6px rgba(45, 31, 69, 0.2); }
.main-nav { margin-top: 18px; background: rgba(255, 255, 255, 0.95); border-radius: 999px; padding: 6px 12px; box-shadow: var(--soft); gap: 0 2px; }
.main-nav a { font-weight: 600; font-size: 0.98rem; color: var(--purple); padding: 8px 16px; border-radius: 999px; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--purple); background: var(--lilac); text-decoration: none; }
@media (min-width: 761px) and (max-width: 1060px) {
  :root { --hdr: 170px; }
  .header-row { flex-wrap: wrap; gap: 4px 20px; }
  .main-nav { margin-top: 4px; }
  .main-nav a { padding: 8px 12px; }
}
@media (max-width: 760px) {
  .header-row { flex-wrap: nowrap; justify-content: space-between; align-items: center; padding-top: 10px; }
  .logo { padding: 13px 28px 0; margin: -2px 0 0 -6px; }
  .wordmark { font-size: 1.2rem; }
  .wm-ribbon { font-size: 0.8rem; padding: 2px 12px 3px; margin-top: 4px; }
  .menu-btn { width: 48px; height: 44px; padding: 0; border: 0; border-radius: 14px; font-size: 0; color: transparent; background: rgba(255, 255, 255, 0.92) linear-gradient(var(--purple), var(--purple)) center 14px / 22px 3px no-repeat; box-shadow: var(--soft); position: relative; }
  .menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 13px; width: 22px; height: 3px; border-radius: 2px; background: var(--purple); }
  .menu-btn::before { top: 20.5px; }
  .menu-btn::after { top: 27px; }
  .has-menu .header-row { flex-wrap: wrap; }
  .has-menu.menu-open .main-nav { width: 100%; margin-top: 6px; border-radius: 22px; padding: 6px 16px; background: #ffffff; }
  .has-menu.menu-open .main-nav a { border-top: 1px solid var(--line); border-radius: 0; padding: 12px 4px; }
  .has-menu.menu-open .main-nav a:first-child { border-top: 0; }
  .has-menu:not(.js-menu) .main-nav { display: none; }
}

/* ---------- buttons, chips ---------- */
.btn { display: inline-block; background: var(--btn); color: var(--btn-text); border: 0; border-radius: 999px; font-family: var(--sans); font-weight: 700; font-size: 1.05rem; padding: 11px 26px; cursor: pointer; text-decoration: none; box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.22), inset 0 -3px 0 rgba(0, 0, 0, 0.14), 0 6px 14px rgba(90, 44, 160, 0.3); }
.btn:hover { background: var(--btn-hover); color: var(--btn-text); text-decoration: none; }
.egg { display: inline-flex; align-items: center; justify-content: center; min-width: 4.4em; padding: 6px 14px; border-radius: 50% / 46%; background: radial-gradient(ellipse at 35% 28%, #fff6c4 0, var(--gold-1) 28%, var(--gold-2) 100%); color: var(--gold-text); font-family: var(--display); font-weight: 900; font-size: 1.45rem; line-height: 1; box-shadow: inset 0 -3px 0 rgba(150, 90, 0, 0.25), 0 3px 6px rgba(150, 90, 0, 0.25); white-space: nowrap; }
.pill { display: inline-block; padding: 3px 14px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; }
.pill-yes { background: var(--yes); color: var(--yes-text); }
.pill-no { background: var(--no); color: var(--no-text); }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px 6px 34px; border-radius: 999px; font-weight: 600; position: relative; margin: 0 6px 6px 0; }
.chip::before { content: ""; position: absolute; left: 8px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: #ffffff; }
.chip-good { background: var(--yes); color: var(--yes-text); }
.chip-good::before { box-shadow: inset 0 0 0 2px #4f8a1f; background: #4f8a1f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.chip-warn { background: var(--no); color: var(--no-text); }
.chip-warn::before { background: #c4317a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v6' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'/%3E%3Ccircle cx='10' cy='14.6' r='1.5' fill='%23fff'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* ---------- the sky (home hero) ---------- */
.sky { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, var(--sky-1) 0, var(--sky-2) 220px, var(--sky-3) 440px, var(--sky-4) 100%); padding-top: var(--hdr); }
.sky .cloud { position: absolute; z-index: -1; }
.sky .c-1 { width: 220px; left: 30%; top: 100px; }
.sky .c-2 { width: 160px; right: 4%; top: 150px; opacity: 0.85; }
.sky .c-3 { width: 260px; left: -60px; top: 380px; opacity: 0.8; }
.sky .hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 150px; min-width: 1000px; z-index: 0; }
.hero-in { position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 3.6vw, 56px) 90px; display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 0 24px; align-items: center; min-height: 520px; }
.hero-card { position: relative; z-index: 4; background: rgba(255, 250, 241, 0.97); border-radius: 46px 52px 48px 40px; padding: 30px 34px 28px; box-shadow: var(--soft); }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); margin: 0 0 14px; }
.hero-sub { font-size: 1.14rem; line-height: 1.5; margin: 0; max-width: 30em; color: var(--text); }
.hero .r-1 { left: -18px; top: 26px; transform: rotate(-10deg); }
.hero .r-2 { right: 18px; top: 92px; transform: rotate(150deg); }
.stage { position: relative; height: 440px; }
.stage .clay { position: absolute; filter: drop-shadow(0 12px 14px rgba(45, 31, 69, 0.22)); }
.stage .s-hero { width: min(780px, 112%); left: 50%; bottom: -60px; transform: translateX(-50%); z-index: 2; }
.stage .s-sign { position: absolute; left: 50%; top: 0; margin-left: -40px; z-index: 3; background: #fff6e4; border: 5px solid #c98a4a; border-radius: 14px; padding: 2px 22px; font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 5vw, 4.2rem); color: var(--purple); transform: rotate(4deg); box-shadow: var(--soft); line-height: 1.1; }
.stage .s-sign small { display: block; font-family: var(--sans); font-weight: 600; font-size: 0.9rem; color: var(--text); text-align: center; margin-top: -4px; }
.stage .s-umbrella { width: 150px; right: -2%; bottom: 120px; z-index: 1; transform: rotate(10deg); }
.stage .s-padlock { width: 110px; left: 2%; bottom: 10px; z-index: 3; }
.stage .s-coins { width: 120px; left: 30%; bottom: -10px; z-index: 3; }
.stage .s-piggy { width: 140px; right: 10%; bottom: -6px; z-index: 3; }
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding-bottom: 70px; }
  .stage { height: 360px; max-width: 640px; width: 100%; margin: 0 auto; }
  .sky .c-1 { left: 60%; top: 80px; }
}
@media (max-width: 600px) {
  .hero-card { padding: 22px 20px 20px; border-radius: 30px; }
  .hero h1 { font-size: 2.45rem; }
  .hero-sub { font-size: 1.02rem; }
  .stage { height: 270px; }
  .stage .s-sign { font-size: 2.3rem; right: 2%; padding: 2px 14px; }
  .stage .s-umbrella { width: 92px; bottom: 90px; }
  .stage .s-padlock { width: 72px; }
  .stage .s-coins, .stage .s-piggy { width: 82px; }
  .sky .c-3 { display: none; }
}

/* ---------- the ground: panels on grass ---------- */
.ground { position: relative; padding: 0 clamp(12px, 2.2vw, 32px) 40px; margin-top: -30px; z-index: 2; }
.ground-in { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 1060px) { .ground-in { grid-template-columns: 1fr; } }
.panel { background: var(--card); border-radius: 28px; padding: 22px clamp(16px, 2vw, 26px); box-shadow: var(--soft); border: 1.5px solid rgba(255, 255, 255, 0.8); min-width: 0; }
.panel h2 { margin: 0 0 12px; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.panel-lilac { background: var(--lilac); border-color: var(--lilac-line); }
.panel-green { background: var(--green); border-color: var(--green-line); }
.panel-blue { background: var(--blue); border-color: var(--blue-line); }
.side { display: grid; gap: 18px; min-width: 0; }
.ribbon { position: relative; display: inline-block; margin: 0 0 16px 4px; padding: 8px 24px 9px; background: var(--ribbon); color: var(--ribbon-text); font-family: var(--display); font-weight: 800; font-size: clamp(1.25rem, 2.4vw, 1.75rem); border-radius: 14px; transform: rotate(-1deg); box-shadow: 0 3px 8px rgba(45, 31, 69, 0.15); line-height: 1.15; }
.panel h2.ribbon { color: var(--ribbon-text); margin-bottom: 16px; }
.with-art { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.with-art .clay { width: 96px; }
.numbered { list-style: none; counter-reset: n; padding: 0; margin: 0; }
.numbered li { counter-increment: n; position: relative; padding: 3px 0 3px 34px; }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: 5px; width: 24px; height: 24px; border-radius: 50%; background: var(--ribbon); color: #ffffff; font-weight: 700; font-size: 0.86rem; display: grid; place-items: center; }

/* the offers table */
.offers { width: 100%; border-collapse: separate; border-spacing: 0 8px; font-size: 0.96rem; }
.offers thead th { background: var(--band); font-weight: 700; font-size: 0.86rem; text-align: left; padding: 10px 12px; color: var(--text); }
.offers thead th:first-child { border-radius: 14px 0 0 14px; }
.offers thead th:last-child { border-radius: 0 14px 14px 0; }
.offers tbody td { background: #ffffff; padding: 10px 12px; vertical-align: middle; }
.offers tbody td:first-child { border-radius: 16px 0 0 16px; font-family: var(--display); font-weight: 800; font-size: 1.16rem; color: var(--purple); }
.offers tbody td:last-child { border-radius: 0 16px 16px 0; }
.offers .steps-cell { font-size: 0.9rem; line-height: 1.35; }
.offers td:nth-child(5), .offers td:nth-child(6) { white-space: nowrap; }
.offers .ends-soon { color: var(--no-text); font-weight: 700; }
.offers .bank-sub { display: block; font-family: var(--sans); font-weight: 500; font-size: 0.82rem; color: var(--muted); }
@media (max-width: 760px) {
  .offers td:nth-child(5), .offers td:nth-child(6) { white-space: normal; }
  .offers thead { display: none; }
  .offers, .offers tbody, .offers tr, .offers td { display: block; width: 100%; }
  .offers tr { background: #ffffff; border-radius: 18px; margin: 0 0 12px; padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; box-shadow: 0 2px 6px rgba(45, 31, 69, 0.08); }
  .offers tbody td { padding: 0; background: none; border-radius: 0 !important; }
  .offers td[data-l]::before { content: attr(data-l) ": "; font-weight: 600; color: var(--muted); }
  .offers td.amount-cell { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .offers td:not(.amount-cell):not(:first-child) { grid-column: 1 / -1; }
}

/* the checker */
.checker { margin: 0 0 6px; }
.checker-pair { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 0 0 12px; }
.checker label { flex: 1 1 11rem; display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 0.9rem; }
.checker-and { font-family: var(--display); font-weight: 700; padding-bottom: 10px; color: var(--purple); }
@media (max-width: 520px) { .checker-and { display: none; } }
.checker select, .calc select, .calc input[type="text"], .calc input[type="number"] { width: 100%; font: inherit; font-size: 1rem; font-weight: 600; padding: 10px 14px; border: 2px solid var(--lilac-line); border-radius: 14px; background: #ffffff; color: var(--text); }
.checker select, .calc select { appearance: none; background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235a2ca0' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; padding-right: 36px; }
.checker.is-live .btn { display: none; }
.answer { background: #ffffff; border-radius: 18px; padding: 14px 18px 8px; margin-top: 12px; box-shadow: 0 2px 8px rgba(45, 31, 69, 0.08); }
.answer p { margin: 0 0 8px; }
.answer-head { font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--purple); line-height: 1.25; }
.page-body .checker { background: var(--lilac); border: 1.5px solid var(--lilac-line); border-radius: var(--radius); padding: 18px 20px; }

/* family tree */
.tree { background: var(--card); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--soft); margin: 0 0 20px; }
.tree-root { display: inline-block; margin: 0 0 12px; padding: 6px 20px; border-radius: 12px; background: var(--gold-1); color: var(--gold-text); font-family: var(--display); font-weight: 800; font-size: 1.2rem; }
.tree-licences { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 3px solid #c98a4a; }
.tree-licences > li { position: relative; padding: 6px 0 10px 18px; }
.tree-licences > li::before { content: ""; position: absolute; left: -18px; top: 20px; width: 28px; height: 3px; background: #c98a4a; }
.tree-licences > li.is-this .tree-licence b { background: var(--yes); border-radius: 6px; padding: 0 6px; }
.tree-licence { margin: 0 0 4px; }
.tree-licence .frn, .tree-limit { font-size: 0.86rem; color: var(--muted); }
.tree-limit { display: block; }
.tree-brands { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.tree-brands span { padding: 3px 12px; border-radius: 999px; background: var(--green); border: 1.5px solid var(--green-line); font-weight: 600; font-size: 0.92rem; }
.tree-brands span.is-this { background: var(--grass); border-color: #5f8f2c; color: #1d2d0b; }
.tree-src { margin: 4px 0 0; font-size: 0.82rem; color: var(--muted); }

/* calculators */
.calc { background: var(--lilac); border: 1.5px solid var(--lilac-line); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 24px; }
.calc-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; margin: 0 0 10px; }
.calc-row.us { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) 90px; }
.calc label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 0.88rem; }
.calc label.tick { flex-direction: row; align-items: center; padding-bottom: 12px; }
.calc-result table { width: 100%; border-collapse: collapse; background: #ffffff; border-radius: 16px; overflow: hidden; font-size: 0.94rem; margin-top: 8px; }
.calc-result th, .calc-result td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.calc-result th { background: var(--band); font-size: 0.84rem; }
.calc-result tr.is-over td { background: var(--no); color: var(--no-text); }
.calc-total { font-weight: 700; margin: 10px 0 0; }
@media (max-width: 640px) { .calc-row, .calc-row.us { grid-template-columns: 1fr 1fr; } .calc-row label:first-child { grid-column: 1 / -1; } }

/* lists */
.cols { columns: 2 16rem; column-gap: 28px; padding-left: 1.1em; }
.cols li { break-inside: avoid; margin: 0 0 6px; }
.outages { list-style: none; padding: 0; }
.outages li { background: var(--card); border-radius: 16px; padding: 10px 16px; margin: 0 0 10px; box-shadow: 0 2px 6px rgba(45, 31, 69, 0.06); }
.outages li b { color: var(--purple); }
.status-box { background: var(--green); border: 1.5px solid var(--green-line); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 20px; }
.status-main { font-family: var(--display); font-weight: 800; font-size: 1.3rem; margin: 0 0 4px; }
.status-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 8px; }
.status-list li { background: var(--card); border-radius: 14px; padding: 8px 14px; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.steps { padding-left: 1.3em; }
.steps li { margin: 0 0 8px; }
.said { padding-left: 1.1em; }
.said li { margin: 0 0 10px; }
.lede-answer { font-size: 1.2rem; font-weight: 500; background: var(--card); border-left: 6px solid var(--grass); border-radius: 0 18px 18px 0; padding: 14px 18px; }
.offer-card { background: var(--card); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--soft); margin: 0 0 20px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 20px; align-items: center; }
.offer-card .egg { font-size: 2rem; grid-row: span 2; }
.offer-card p { margin: 0; }

/* ---------- inner pages: a sky head with a clay spot ---------- */
.article-wrap { position: relative; max-width: 1240px; padding-top: 0; }
.crumbs { position: absolute; z-index: 3; top: calc(var(--hdr) + 18px); left: 24px; right: 24px; margin: 0; font-size: 0.88rem; color: var(--text); }
.crumbs a { color: var(--purple); font-weight: 600; }
@media (max-width: 600px) { .crumbs { left: 16px; } }
.page-head { position: relative; isolation: isolate; max-width: none; margin: 0 calc(50% - 50vw) 34px; padding: calc(var(--hdr) + 56px) max(24px, calc(50vw - 596px)) 110px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath d='M0 50C200 10 380 20 560 46s420 26 600-10 220-30 280-20v94H0z' fill='%238cc152'/%3E%3Cpath d='M0 80c200-30 380-20 560 6s420 20 600-10 220-20 280-14v48H0z' fill='%237cb342'/%3E%3C/svg%3E") center bottom / 100% 110px no-repeat, linear-gradient(180deg, var(--sky-1) 0, var(--sky-2) 180px, var(--sky-3) 360px, var(--sky-4) 100%); }
.page-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-top: 0; }
.page-head .lede { color: var(--text); font-size: 1.16rem; line-height: 1.5; max-width: 34em; }
.page-head .byline, .page-head .byline a { color: var(--text); font-size: 0.86rem; }
.page-head-text { background: rgba(255, 250, 241, 0.94); border-radius: 34px; padding: 22px 28px; box-shadow: var(--soft); }
.page-head.has-art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 10px 40px; align-items: center; }
.page-head-art { position: relative; z-index: 1; }
.head-scene { position: relative; height: 240px; }
.head-scene .clay { position: absolute; filter: drop-shadow(0 10px 12px rgba(45, 31, 69, 0.2)); }
.head-scene .h-main { width: 220px; left: 10%; bottom: 0; }
.head-scene .h-side { width: 110px; right: 4%; bottom: 4px; }
.page.has-toc .page-head { grid-column: 1 / -1; }
/* the kit's contents grid is narrower than the page; fill it so the sky head reaches both edges */
@media (min-width: 1100px) { .page.has-toc { grid-template-columns: minmax(0, 1fr) 260px; column-gap: 48px; } }
.page-body { max-width: 840px; }
.page-body > h2 { display: inline-block; font-size: 1.42rem; margin: 1.6em 0 0.6em; padding: 7px 18px 6px; border-radius: 14px; background: var(--band); }
.page-body .faqs { background: var(--card); border-radius: var(--radius); padding: 6px 22px; box-shadow: var(--soft); }
.faqs details { border-bottom: 1.5px solid var(--line); padding: 10px 0; }
.faqs details:last-child { border-bottom: 0; }
.faqs summary { font-weight: 650; cursor: pointer; }
.faqs summary::marker { color: var(--ribbon); }
.toc { background: var(--card); border: 0; border-radius: 18px; box-shadow: 0 2px 8px rgba(45, 31, 69, 0.08); }
.toc-title { font-family: var(--display); font-weight: 800; color: var(--purple); }
.toc a { color: var(--text); }
@media (max-width: 760px) {
  .page-head { padding: calc(var(--hdr) + 46px) 16px 80px; }
  .crumbs { top: calc(var(--hdr) + 8px); }
  .page-head.has-art { grid-template-columns: 1fr; }
  .head-scene { height: 150px; order: -1; }
  .head-scene .h-main { width: 140px; left: 4%; }
  .head-scene .h-side { width: 76px; }
  .page-head h1 { font-size: 2.2rem; }
  .page-head .lede { font-size: 1.04rem; }
  .page-head-text { padding: 18px 18px; border-radius: 24px; }
}
.article-wrap > .page:not(:has(.page-head)) { padding-top: calc(var(--hdr) + 30px); }

/* ---------- footer: grass ---------- */
.site-footer { position: relative; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 40C220 0 420 10 620 36s420 20 560-8 200-24 260-16v78H0z' fill='%237cb342'/%3E%3C/svg%3E") center top / 100% 90px no-repeat, linear-gradient(180deg, transparent 0, transparent 88px, #dcebc6 88px); color: var(--text); margin-top: 60px; padding-top: 120px; font-size: 0.92rem; border: 0; }
.site-footer a, .site-footer h2, .site-footer h3, .site-footer p { color: var(--text); }
.footer-col h2 { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.08em; }
.site-footer .small, .site-footer .footer-note, .footer-legal p { color: var(--text); }
.footer-legal::before { border-color: #b7cf98; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.home-more { max-width: 900px; padding-bottom: 20px; }
.pill-maybe { background: var(--gold-1); color: var(--gold-text); }
