/* Make It Hapin — public styles (first pass, 2026-10-17; ready for Marc's design pass).
   Warm cream, five bright colours (coral, sun, teal, sky, plum) and the copper penny. Self-hosted fonts (Fraunces for
   headings, Figtree for text), no inline styles (strict CSP), no images: every picture is SVG or CSS.
   Mobile first; also checked for a PC and Samsung DeX in Firefox. Motion is decoration only and switches off for
   anyone whose device asks for reduced motion. admin.css builds on the tokens and base styles here. */
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+25B2-25BC, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-ext.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-italic.woff2') format('woff2'); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --bg: #FFF8EF; --paper: #FFFFFF; --ink: #2A2340; --ink-2: #4A4260; --muted: #6B6480;
  --line: #EDE3D6; --line-2: #F6EEE3;
  /* The five colours. *-ink is the darker shade for text and white-on-colour buttons (WCAG AA). */
  --coral: #EE6A4D; --coral-ink: #C2412A; --coral-soft: #FFE6DF;
  --sun: #FFB830; --sun-ink: #8A5A00; --sun-soft: #FFF0CC;
  --teal: #13A39E; --teal-ink: #0B6B68; --teal-soft: #DDF5F3;
  --sky: #3E8FE0; --sky-ink: #1F5FA6; --sky-soft: #E2EEFC;
  --plum: #8657C4; --plum-ink: #5E3797; --plum-soft: #EFE6FA;
  --penny: #E8833A; --penny-light: #FFD08A; --penny-dark: #B85D1E;
  /* admin.css uses --accent for links, focus and primary buttons. */
  --accent: var(--teal-ink); --accent-dark: #084E4C; --accent-tint: var(--teal-soft); --accent-ink: #FFFFFF;
  --ok: #2F7D4F; --ok-tint: #E4F2E8; --warn: #8A5300; --warn-tint: #FCF0D9; --bad: #B4400B; --bad-tint: #FDEBD8;
  --shadow-sm: 0 1px 2px rgba(42,35,64,.06), 0 2px 6px rgba(42,35,64,.04);
  --shadow: 0 1px 2px rgba(42,35,64,.05), 0 14px 34px -10px rgba(42,35,64,.16);
  --shadow-lg: 0 2px 4px rgba(42,35,64,.04), 0 30px 60px -20px rgba(42,35,64,.28);
  --radius: 20px;
  --f-body: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --f-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --spring: linear(0, .25 7%, .7 16%, 1.05 28%, 1.12 35%, 1.06 46%, .99 60%, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--f-head); font-optical-sizing: auto; line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.6vw, 3.6rem); font-weight: 750; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
code { font-family: var(--f-mono); font-size: .9em; background: var(--line-2); padding: .05em .35em; border-radius: 5px; }
hr { border: 0; border-top: 2px dashed var(--line); margin: 2rem 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--ink); }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.fine { font-size: .875rem; color: var(--muted); }
.center { text-align: center; }
.eyebrow { font-family: var(--f-body); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink); margin: 0 0 .8rem; }
.eyebrow a { color: inherit; }
.lead { font-size: clamp(1.1rem, 1.9vw, 1.28rem); color: var(--ink-2); max-width: 40rem; }
.stack { display: flex; flex-direction: column; gap: .95rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 60; border-radius: 8px; }
.skip:focus { left: 8px; top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { flex: none; }
.ic.fill path { fill: currentColor; }
.ic.big { width: 34px; height: 34px; stroke-width: 1.6; }

/* ---------- buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap; min-height: 46px; padding: 0 1.2rem; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-size: .98rem; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s, border-color .2s, color .2s; }
.btn .ic { width: 18px; height: 18px; }
.btn:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.coral { background: var(--coral-ink); border-color: var(--coral-ink); color: #fff; box-shadow: 0 8px 20px -8px rgba(194,65,42,.7); }
.btn.coral:hover { background: #A93620; border-color: #A93620; color: #fff; }
.btn.teal, .btn.primary { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; box-shadow: 0 8px 20px -8px rgba(11,107,104,.7); }
.btn.teal:hover, .btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn.sun { background: var(--sun); border-color: var(--sun); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(138,90,0,.6); }
.btn.sun:hover { background: #FFC75A; border-color: #FFC75A; }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); background: rgba(255,255,255,.7); }
.btn.big { min-height: 56px; padding: 0 1.6rem; font-size: 1.05rem; }
.btn.small { min-height: 40px; padding: 0 .95rem; font-size: .92rem; }
.btn.block { width: 100%; }
.btn.danger { border-color: var(--bad); color: var(--bad); }
.btn.danger:hover { background: var(--bad); color: #fff; }
.btnrow { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
/* "Help us build it" on the home page: taller, with the simple logo inside, and a gentle pulse (see Motion). */
.btn.build-btn { min-height: 66px; padding: 0 1.5rem 0 .55rem; gap: .55rem; font-size: 1.08rem; border-color: var(--teal); background: var(--paper); }
.btn.build-btn:hover { border-color: var(--teal-ink); color: var(--ink); }
.btn.build-btn .btn-mark { width: 50px; height: 50px; transition: transform .6s var(--spring); }
.btn.build-btn:hover .btn-mark { transform: rotate(-30deg); }

/* ---------- the ribbon: "a charity in the making" */
.ribbon { background: var(--ink); color: #FFF4E2; font-size: .9rem; }
.ribbon .wrap { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; padding-top: .55rem; padding-bottom: .55rem; }
.ribbon .ic { width: 18px; height: 18px; color: var(--sun); }
.ribbon span { flex: 1 1 18rem; }
.ribbon a { color: var(--sun); font-weight: 800; white-space: nowrap; }
.ribbon a:hover { color: #fff; }

/* ---------- header, brand and the menu (a <details>: site.js keeps it open on wide screens) */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255,248,239,.9); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 70px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand .mark { width: 44px; height: 44px; transition: transform .6s var(--spring); }
.brand:hover .mark { transform: rotate(-30deg); }
.brand .dmark { display: none; width: auto; height: 46px; }
.foot .brand .dmark { display: block; height: 52px; }
/* The domino row where there's room (tablets, and wide screens once the menu fits beside it); the simple logo on phones. */
@media (min-width: 640px) and (max-width: 979px), (min-width: 1140px) { .top .brand .dmark { display: block; } .top .brand .mark-sm { display: none; } }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-words small { font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.wordmark { font-family: var(--f-head); font-weight: 800; font-size: 1.32rem; letter-spacing: -.02em; white-space: nowrap; }
.wordmark em { font-style: italic; color: var(--coral-ink); }
/* The logo (icons.js): brick penny, white heart; the arrow along the bottom is the green domino's teal, the one pushing
   the falling domino is sky. dmark = the domino row. */
.mk-coin { fill: var(--coral-ink); }
.mk-heart { fill: #fff; }
.mk-arc { fill: none; stroke-width: 5; stroke-linecap: round; }
.mk-arc.mk-low { stroke: var(--teal); } .mk-head.mk-low { fill: var(--teal); }
.mk-arc.mk-push { stroke: var(--sky); } .mk-head.mk-push { fill: var(--sky); }
.dm-ground { fill: #E0D6C8; }
.dm-d1 { fill: var(--coral); } .dm-d2 { fill: var(--sun); } .dm-d3 { fill: var(--teal); } .dm-d4 { fill: var(--sky); } .dm-d5 { fill: var(--plum); }
.mark.big { width: 56px; height: 56px; }
.mark.huge { width: 84px; height: 84px; }
.brand.light { color: #fff; }
.brand.light .wordmark em { color: var(--sun); }
.brand.light .brand-words small { color: rgba(255,255,255,.7); }

.menu > summary { list-style: none; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .9rem; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); font-weight: 800; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-in { display: flex; flex-direction: column; gap: .2rem; }
.menu-in > a { color: var(--ink); text-decoration: none; font-weight: 700; padding: .65rem .8rem; border-radius: 12px; }
.menu-in > a:hover { background: var(--sun-soft); }
.menu-in > a.on { color: var(--coral-ink); }
/* Stats stands out: a plum pill with a sparkle. */
/* Stats stands out as a button: black text on sun yellow, a black outline, and the same shadow and lift as
   "Get help" and "Give" (.btn). */
.menu-in > a.hot { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; background: var(--sun); color: var(--ink); border: 2px solid var(--ink); border-radius: 99px; font-weight: 800; box-shadow: 0 8px 20px -8px rgba(138,90,0,.7); transition: transform .25s var(--ease-out), background-color .2s; }
.menu-in > a.hot .ic { width: 16px; height: 16px; }
.menu-in > a.hot:hover { background: #FFC75A; color: var(--ink); transform: translateY(-2px); }
.menu-in > a.hot:active { transform: translateY(0) scale(.98); }
.menu-in > a.hot.on { background: var(--sun); color: var(--ink); }
.menu-acts { display: flex; flex-wrap: wrap; gap: .45rem; padding: .4rem .3rem 0; }
@media (max-width: 979px) {
  .menu[open] .menu-in { position: absolute; right: 0; top: calc(100% + 6px); width: min(320px, calc(100vw - 32px)); background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: .7rem; box-shadow: var(--shadow-lg); }
}
@media (min-width: 980px) and (max-width: 1139px) { .brand-words small { display: none; } .menu-acts .btn.ghost { display: none; } }
@media (min-width: 980px) {
  .menu > summary { display: none; }
  .menu-in { flex-direction: row; align-items: center; gap: .1rem; }
  .menu-in > a { padding: .5rem .6rem; font-size: .95rem; position: relative; white-space: nowrap; }
  .menu-in > a.on:not(.hot)::after { content: ''; position: absolute; left: .7rem; right: .7rem; bottom: .25rem; height: 3px; border-radius: 3px; background: var(--coral); }
  .menu-in > a.hot { padding: 0 .95rem; margin: 0 .3rem; }
  .menu-acts { padding: 0 0 0 .6rem; flex-wrap: nowrap; }
}
@media (max-width: 420px) { .wordmark { font-size: 1.12rem; } .brand .mark { width: 34px; height: 34px; } .brand-words small { font-size: .58rem; } }
.nudge { background: var(--warn-tint); color: var(--ink); font-size: .95rem; padding: .6rem 0; border-bottom: 1px solid #EBD9B5; }

/* ---------- home: hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(60% 70% at 95% 10%, rgba(255,184,48,.32), transparent 60%),
  radial-gradient(50% 60% at 0% 100%, rgba(19,163,158,.18), transparent 60%),
  radial-gradient(40% 50% at 60% 110%, rgba(238,106,77,.18), transparent 60%), var(--bg); }
.hero-in { display: grid; gap: 1.5rem; align-items: center; padding-top: clamp(2.2rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.15fr .85fr; gap: 2.5rem; } }
.hero h1 { font-size: clamp(2.5rem, 6.6vw, 4.3rem); line-height: 1.04; margin-bottom: .3em; }
.hero-brand { font-family: var(--f-head); font-size: clamp(1.7rem, 3.8vw, 2.5rem); font-weight: 750; line-height: 1.1; margin: 0 0 1.1rem; isolation: isolate; }
.hero-brand .hl { font-style: normal; letter-spacing: .03em; }
.hl { font-style: italic; color: var(--coral-ink); position: relative; white-space: nowrap; }
.hl::after { content: ''; position: absolute; left: -.05em; right: -.05em; bottom: .02em; height: .22em; background: var(--sun); opacity: .55; border-radius: 6px; z-index: -1; }
.hero .lead { margin-bottom: 1.6rem; }
.hero-art { width: 100%; max-width: 500px; justify-self: center; overflow: visible; }
.ha-shadow { fill: rgba(42,35,64,.08); }
.ha-d { stroke: rgba(42,35,64,.12); stroke-width: .5; }
.ha-d.d1 { fill: var(--coral); } .ha-d.d2 { fill: var(--sun); } .ha-d.d3 { fill: var(--teal); } .ha-d.d4 { fill: var(--sky); } .ha-d.d5 { fill: var(--plum); }
.ha-pip { fill: #fff; opacity: .92; }
.ha-spark path { fill: var(--sun); }

/* ---------- bands and section headings */
.band { padding: clamp(2.8rem, 7vw, 5rem) 0; }
.band + .band { padding-top: 0; }
.section-title { text-align: center; }
.section-lead { text-align: center; color: var(--ink-2); max-width: 44rem; margin: 0 auto 2rem; font-size: 1.1rem; }
.band .eyebrow { text-align: center; }
.edge { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band.edge + .band { padding-top: clamp(2.8rem, 7vw, 5rem); }
.cards3 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.edge-card { border-radius: var(--radius); padding: 1.5rem; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; border: 1px solid transparent; transition: transform .3s var(--ease-out), box-shadow .3s; }
.edge-card h3 { font-size: 1.45rem; }
.edge-card p { margin: 0; }
.edge-card.coral { background: var(--coral-soft); } .edge-card.coral h3 { color: var(--coral-ink); }
.edge-card.sun { background: var(--sun-soft); } .edge-card.sun h3 { color: var(--sun-ink); }
.edge-card.teal { background: var(--teal-soft); } .edge-card.teal h3 { color: var(--teal-ink); }
.edge-card.link:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.edge-card .more, .role-card .more, .post-card .more { margin-top: auto; padding-top: 1rem; font-weight: 800; display: inline-flex; align-items: center; gap: .35rem; color: var(--ink); }
.edge-card .more .ic, .role-card .more .ic, .post-card .more .ic { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.edge-card:hover .more .ic, .role-card:hover .more .ic, .post-card:hover .more .ic { transform: translateX(4px); }
.stats-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); margin-top: 1.5rem; }
.edge-stat { margin: 0; padding: 1.2rem 1.3rem; border-radius: var(--radius); border: 2px dashed var(--line); }
.edge-stat b { display: block; font-family: var(--f-head); font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1; color: var(--plum-ink); margin-bottom: .4rem; }
.edge-stat figcaption { color: var(--ink-2); }
.edge-stat a { display: block; margin-top: .45rem; font-size: .8rem; color: var(--muted); }

/* ---------- the four steps */
.steps { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); counter-reset: s; }
.step { position: relative; background: var(--paper); border-radius: var(--radius); padding: 1.6rem 1.4rem 1.4rem; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step-n { position: absolute; top: -14px; right: 18px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff; }
.step p { margin: 0; color: var(--ink-2); }
.step .ic.big { margin-bottom: .6rem; }
.step.coral .step-n { background: var(--coral-ink); } .step.coral .ic { color: var(--coral-ink); }
.step.sun .step-n { background: var(--sun-ink); } .step.sun .ic { color: var(--sun-ink); }
.step.teal .step-n { background: var(--teal-ink); } .step.teal .ic { color: var(--teal-ink); }
.step.sky .step-n { background: var(--sky-ink); } .step.sky .ic { color: var(--sky-ink); }

/* ---------- "have a penny, leave a penny" */
.penny { padding: clamp(1rem, 4vw, 2rem) 0; }
.penny-in { display: grid; gap: 1rem; }
@media (min-width: 800px) { .penny-in { grid-template-columns: 1fr 1fr; } }
.penny-half { border-radius: 28px; padding: clamp(1.6rem, 4vw, 2.6rem); color: #fff; position: relative; overflow: hidden; }
.penny-half.take { background: linear-gradient(140deg, #F07A55, #C2412A); }
.penny-half.leave { background: linear-gradient(140deg, #18ADA7, #0B6B68); }
.penny-half h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.penny-half h2 span { display: block; font-style: italic; color: var(--sun-soft); }
.penny-half p { margin: 0; font-size: 1.08rem; max-width: 30rem; }
.penny-coin { position: absolute; right: -14px; top: -14px; opacity: .35; transform: rotate(18deg); }
.penny-coin .mark { width: 130px; height: 130px; }

/* ---------- roles we're looking for */
.build { background: linear-gradient(180deg, var(--bg), var(--sun-soft) 40%, var(--bg)); }
.progress { height: 14px; max-width: 520px; margin: 0 auto; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.progress .bar { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--coral), var(--sun), var(--teal)); }
.bar.w0 { width: 3%; } .bar.w1 { width: 10%; } .bar.w2 { width: 20%; } .bar.w3 { width: 30%; } .bar.w4 { width: 40%; } .bar.w5 { width: 50%; }
.bar.w6 { width: 60%; } .bar.w7 { width: 70%; } .bar.w8 { width: 80%; } .bar.w9 { width: 90%; } .bar.w10 { width: 100%; }
.progress-l { text-align: center; color: var(--ink-2); margin: .6rem 0 2rem; }
.roles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); margin-bottom: 2rem; }
.role-card { --c: var(--coral-ink); display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); padding: 1.35rem 1.4rem; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-top: 6px solid var(--c); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease-out), box-shadow .3s; }
.role-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.role-card h3 { margin: .7rem 0 .45rem; }
.role-card p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.role-card .more { color: var(--c); }
.role-card.filled { opacity: .78; }
.area-legal { --c: var(--plum-ink); } .area-money { --c: var(--teal-ink); } .area-governance { --c: var(--sky-ink); } .area-funding { --c: var(--coral-ink); }
.area-operations { --c: var(--sun-ink); } .area-community { --c: #B03A78; } .area-tech { --c: #3F5BBF; } .area-other { --c: var(--ink-2); }
.role-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; font-weight: 800; letter-spacing: .02em; padding: .2rem .65rem; border-radius: 99px; background: var(--line-2); color: var(--ink-2); }
.tag .ic { width: 14px; height: 14px; }
.tag.hot { background: var(--coral-soft); color: var(--coral-ink); }
.tag.ok { background: var(--ok-tint); color: #1F5534; }
.area-title { margin: 2.2rem 0 1rem; font-size: 1.5rem; }
.seek-intro { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); margin: 2rem 0 1rem; }
.seek-card { background: var(--paper); border-radius: var(--radius); padding: 1.4rem; border: 1px solid var(--line); }
.seek-card h2 { font-size: 1.3rem; margin: .5rem 0 .4rem; }
.seek-card p { margin: 0; color: var(--ink-2); }
.seek-card:nth-child(1) .ic { color: var(--plum-ink); } .seek-card:nth-child(2) .ic { color: var(--sky-ink); } .seek-card:nth-child(3) .ic { color: var(--penny-dark); }
.callout { text-align: center; background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(1.6rem, 4vw, 2.6rem); margin: 2rem 0 4rem; }
.callout h2 { color: #fff; }
.role-page { display: grid; gap: 2rem; padding-top: 2rem; padding-bottom: 4rem; }
@media (min-width: 900px) { .role-page { grid-template-columns: 1.1fr .9fr; align-items: start; } .role-page aside { position: sticky; top: 96px; } }
.role-meta { display: flex; flex-wrap: wrap; gap: .4rem; }

/* ---------- numbers */
.impact-band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band.impact-band + .band { padding-top: clamp(2.8rem, 7vw, 5rem); }
.metrics { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); margin-bottom: 1.8rem; }
.metric { border-radius: var(--radius); padding: 1.3rem 1.2rem; display: flex; flex-direction: column; gap: .2rem; }
.metric b { font-family: var(--f-head); font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.05; }
.metric span { font-weight: 750; }
.metric small { color: var(--ink-2); font-size: .85rem; margin-top: .25rem; }
.metric.t0 { background: var(--coral-soft); } .metric.t0 b { color: var(--coral-ink); }
.metric.t1 { background: var(--teal-soft); } .metric.t1 b { color: var(--teal-ink); }
.metric.t2 { background: var(--sun-soft); } .metric.t2 b { color: var(--sun-ink); }
.metric.t3 { background: var(--sky-soft); } .metric.t3 b { color: var(--sky-ink); }
.metric.t4 { background: var(--plum-soft); } .metric.t4 b { color: var(--plum-ink); }
.progress-panel { margin-bottom: 1rem; }
.progress-panel .progress { margin: 1rem 0; max-width: none; }

/* ---------- news */
.posts { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); margin-bottom: 2rem; }
.post-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); padding: 1.4rem; text-decoration: none; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease-out), box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.post-card time { font-size: .82rem; font-weight: 800; color: var(--sky-ink); text-transform: uppercase; letter-spacing: .08em; }
.post-card h3 { margin: .45rem 0; font-size: 1.35rem; }
.post-card p { margin: 0; color: var(--ink-2); }

/* ---------- newsletter sign-ups */
.signup-in { display: grid; gap: 1.4rem; align-items: center; background: linear-gradient(130deg, var(--plum-ink), #3B2470); color: #fff; border-radius: 28px; padding: clamp(1.6rem, 4vw, 2.6rem); }
@media (min-width: 860px) { .signup-in { grid-template-columns: 1fr 1fr; } }
.signup-in h2 { color: #fff; }
.signup-in p { margin: 0; color: #EDE4FA; }
.subscribe { display: flex; flex-direction: column; gap: .6rem; }
.subscribe-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.subscribe-row input { flex: 1 1 14rem; border-radius: 999px; }
.subscribe small { color: inherit; opacity: .8; font-size: .82rem; }
.signup-box { background: var(--sky-soft); border-radius: 28px; padding: clamp(1.4rem, 4vw, 2.2rem); margin: 2rem 0 4rem; }
.signup-box.small { margin: 2.5rem 0 0; }
.signup-box h2 { font-size: 1.5rem; }

/* ---------- inner pages */
.phead { padding: clamp(2rem, 6vw, 3.8rem) 0 clamp(1.8rem, 5vw, 3rem); border-bottom: 1px solid var(--line); }
.phead h1 { max-width: 20ch; }
.phead.coral { background: linear-gradient(160deg, var(--coral-soft), var(--bg)); } .phead.coral .eyebrow { color: var(--coral-ink); }
.phead.sun { background: linear-gradient(160deg, var(--sun-soft), var(--bg)); } .phead.sun .eyebrow { color: var(--sun-ink); }
.phead.teal { background: linear-gradient(160deg, var(--teal-soft), var(--bg)); } .phead.teal .eyebrow { color: var(--teal-ink); }
.phead.sky { background: linear-gradient(160deg, var(--sky-soft), var(--bg)); } .phead.sky .eyebrow { color: var(--sky-ink); }
.phead.plum { background: linear-gradient(160deg, var(--plum-soft), var(--bg)); } .phead.plum .eyebrow { color: var(--plum-ink); }
.phead + .wrap { padding-top: 2rem; }
.prose-page { padding-bottom: 3rem; }
.prose-page > h2, .prose-page article > h2 { margin-top: 2.2rem; }
.prose-page ul, .prose-page ol { padding-left: 1.3rem; }
.prose-page li { margin-bottom: .45rem; }
.prose-page blockquote, .post blockquote { margin: 1.6rem 0; padding: 1.2rem 1.4rem; border-left: 6px solid var(--sun); background: var(--sun-soft); border-radius: 0 18px 18px 0; font-size: 1.1rem; }
.prose-page blockquote p { margin: 0; }
.post .prose-page { padding-top: 2rem; font-size: 1.1rem; }
.values { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.value { border-radius: var(--radius); padding: 1.3rem; }
.value h3 { margin: .5rem 0 .3rem; }
.value p { margin: 0; color: var(--ink-2); }
.value.coral { background: var(--coral-soft); } .value.coral .ic { color: var(--coral-ink); }
.value.sun { background: var(--sun-soft); } .value.sun .ic { color: var(--sun-ink); }
.value.teal { background: var(--teal-soft); } .value.teal .ic { color: var(--teal-ink); }
.value.sky { background: var(--sky-soft); } .value.sky .ic { color: var(--sky-ink); }
.value.plum { background: var(--plum-soft); } .value.plum .ic { color: var(--plum-ink); }
.prose-page .timeline { list-style: none; padding: 0; margin: 1rem 0 2rem; border-left: 3px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.2rem 1.4rem; display: flex; flex-direction: column; }
.timeline li::before { content: ''; position: absolute; left: -10px; top: .3rem; width: 17px; height: 17px; border-radius: 50%; background: var(--paper); border: 3px solid var(--line); }
.timeline li.now::before { background: var(--coral); border-color: var(--coral-ink); }
.timeline b { font-family: var(--f-head); font-size: 1.1rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 0 1.1rem; margin-bottom: .6rem; }
.faq summary { cursor: pointer; font-weight: 800; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--coral-ink); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1rem; color: var(--ink-2); }
.notice-box { display: flex; gap: 1rem; align-items: flex-start; background: var(--sun-soft); border: 2px solid #F7D98A; border-radius: var(--radius); padding: 1.3rem; margin: 0 0 1.5rem; }
.notice-box .ic { color: var(--sun-ink); }
.notice-box h2 { font-size: 1.3rem; margin: 0 0 .4rem; }
.notice-box p { margin: 0; }
.help-list { list-style: none; padding: 0 !important; display: grid; gap: .6rem; }
.help-list li { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: 14px; padding: .85rem 1rem; margin: 0 !important; }
.thanks { text-align: center; }
.thanks .ic { color: var(--coral-ink); }
.two { display: grid; gap: .95rem; }
@media (min-width: 620px) { .two { grid-template-columns: 1fr 1fr; } }
.request-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.request-form fieldset > legend { font-family: var(--f-head); font-size: 1.25rem; font-weight: 700; margin-bottom: .6rem; padding: 0; }
.request-form fieldset.choice-list > legend { font-family: var(--f-body); font-size: .95rem; font-weight: 700; margin-bottom: .45rem; }
.narrow > .panel, .narrow > .form-err, .narrow > .form-ok { margin-bottom: 1rem; }
.narrow { padding-bottom: 3rem; }

/* tables (your requests; tables in news posts) and checklists in text */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tbl th, .tbl td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
ul.checks { list-style: none; padding-left: 0 !important; }
ul.checks li { display: flex; gap: .55rem; align-items: flex-start; }
ul.checks .box { flex: none; width: 20px; height: 20px; margin-top: .2rem; border: 2px solid var(--muted); border-radius: 6px; display: grid; place-items: center; font-size: .75rem; font-weight: 900; color: #fff; }
ul.checks li.done .box { background: var(--ok); border-color: var(--ok); }
ul.checks li.done > span:last-child { color: var(--muted); text-decoration: line-through; }

/* ---------- Stats (/stats): a word-cloud view and a list view of the same facts, and the numbered sources */
.stats-page { padding-bottom: 3rem; }
.stats-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; margin: 0 0 1.4rem; }
.stats-tools[hidden] { display: none; }
.seg { display: inline-flex; gap: .3rem; padding: .25rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.seg .btn { border-color: transparent; background: transparent; }
.seg .btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.stats-tools .btn .ic { width: 16px; height: 16px; }
.stats-views[data-view="list"] .cloud, .stats-views[data-view="cloud"] .stats-list { display: none; }

.cloud { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.1rem 1.4rem; padding: 1.5rem .5rem 2.5rem; }
.ci { --c: var(--coral-ink); --bg: transparent; position: relative; display: inline-flex; flex-direction: column; align-items: center; text-align: center; max-width: 19rem; padding: .7rem .9rem; border-radius: 20px; color: var(--ink); text-decoration: none; background: var(--bg); transition: transform .35s var(--spring), background-color .2s; }
.ci:hover, .ci:focus-visible { transform: rotate(0) scale(1.06); background: var(--paper); color: var(--ink); box-shadow: var(--shadow); z-index: 2; }
.ci b { font-family: var(--f-head); font-weight: 800; line-height: 1; color: var(--c); letter-spacing: -.02em; white-space: nowrap; }
.ci .ci-text { font-size: .92rem; line-height: 1.35; color: var(--ink-2); margin-top: .35rem; }
/* The mini headline wears its figure's colour (--c: coral, teal, sun, sky or plum, all dark enough for white text). */
.ci-label { font-style: normal; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--c); border-radius: 99px; padding: .2rem .65rem; margin-bottom: .45rem; }
.ci sup { position: absolute; top: .35rem; right: .45rem; font-size: .68rem; font-weight: 800; color: var(--muted); }
.ci.w5 b { font-size: clamp(3rem, 7vw, 4.6rem); } .ci.w5 { max-width: 21rem; }
.ci.w4 b { font-size: clamp(2.4rem, 5.4vw, 3.5rem); }
.ci.w3 b { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.ci.w2 b { font-size: 1.7rem; } .ci.w2 .ci-text { font-size: .86rem; }
.ci.w1 b { font-size: 1.35rem; } .ci.w1 .ci-text { font-size: .82rem; } .ci.w1 { max-width: 15rem; }
.ci.t0 { --c: var(--coral-ink); } .ci.t1 { --c: var(--teal-ink); } .ci.t2 { --c: var(--sun-ink); } .ci.t3 { --c: var(--sky-ink); } .ci.t4 { --c: var(--plum-ink); }
.ci.tilt0 { transform: rotate(-3deg); } .ci.tilt1 { transform: rotate(2deg); } .ci.tilt2 { transform: rotate(0); } .ci.tilt3 { transform: rotate(-1.5deg); } .ci.tilt4 { transform: rotate(3deg); }
.ci-headline { --bg: var(--paper); border: 1.5px solid var(--line); max-width: 17rem; }
.ci-headline .ci-text { font-family: var(--f-head); font-style: italic; font-weight: 700; font-size: 1.08rem; color: var(--c); margin: 0; }
.ci-headline small, .ci-quote small { margin-top: .35rem; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ci-quote { max-width: 18rem; }
.ci-quote q { font-family: var(--f-head); font-size: 1.15rem; line-height: 1.3; color: var(--ink); quotes: '“' '”'; }
.ci-quote q::before, .ci-quote q::after { color: var(--c); font-size: 1.6em; line-height: 0; vertical-align: -.3em; }

.stats-list h2 { margin-top: 2.2rem; font-size: 1.45rem; }
.stats-list h2:first-child { margin-top: .5rem; }
.sl { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.sl li { display: grid; grid-template-columns: minmax(5.5rem, auto) 1fr; gap: .9rem; align-items: baseline; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: .75rem 1rem; }
.sl-fig { font-family: var(--f-head); font-size: 1.45rem; color: var(--plum-ink); white-space: nowrap; }
.sl-label { color: var(--ink); }
.sl-news li { grid-template-columns: 1fr; }
.sl-news cite { font-family: var(--f-head); font-style: italic; font-weight: 700; }
.sl-quotes { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.sl-quotes figure { margin: 0; background: var(--plum-soft); border-radius: 16px; padding: 1rem 1.2rem; }
.sl-quotes blockquote { margin: 0 0 .5rem; font-family: var(--f-head); font-size: 1.12rem; }
.sl-quotes blockquote p { margin: 0; }
.sl-quotes blockquote p::before { content: '“'; } .sl-quotes blockquote p::after { content: '”'; }
.sl-quotes figcaption { font-size: .88rem; color: var(--ink-2); }
.sl-quotes figure.para > p { margin: 0 0 .5rem; font-family: var(--f-head); font-size: 1.05rem; font-style: italic; }
.ci-para .ci-text { font-family: var(--f-head); font-style: italic; font-size: 1.02rem; color: var(--ink); margin: 0; }
.cite { font-size: .8rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.sources { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 2px dashed var(--line); }
.refs { padding-left: 1.6rem; font-size: .9rem; color: var(--ink-2); }
.refs li { margin-bottom: .45rem; overflow-wrap: anywhere; scroll-margin-top: 100px; }
.refs li:target { background: var(--sun-soft); border-radius: 8px; }
.stats-hint { margin: 0; color: var(--muted); font-size: .9rem; }
a.sl-fig, a.sl-label, .sl-news cite a, .sl-quotes a { color: inherit; text-decoration: none; }
a.sl-fig:hover, a.sl-label:hover, .sl-news cite a:hover, .sl-quotes a:hover { text-decoration: underline; text-decoration-color: var(--plum); }

/* The card that opens over the Stats page (a <dialog>). Its colour (--c) matches the item's. */
.pop { border: 0; padding: 0; width: min(34rem, calc(100vw - 32px)); max-height: calc(100dvh - 40px); border-radius: 26px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto; }
.pop::backdrop { background: rgba(42, 35, 64, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.pop-x { position: absolute; top: .8rem; right: .8rem; z-index: 1; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font: inherit; font-size: 1.5rem; line-height: 1; color: var(--ink); cursor: pointer; }
.pop-x:hover { background: var(--ink); color: #fff; }
.pop-in { --c: var(--coral-ink); padding: 1.7rem 1.6rem 1.3rem; border-top: 10px solid var(--c); }
.pop-in.t0 { --c: var(--coral-ink); } .pop-in.t1 { --c: var(--teal-ink); } .pop-in.t2 { --c: var(--sun-ink); } .pop-in.t3 { --c: var(--sky-ink); } .pop-in.t4 { --c: var(--plum-ink); }
.pop-in .ci-label { display: inline-block; }
.pop-fig { font-family: var(--f-head); font-weight: 800; font-size: clamp(3rem, 11vw, 4.4rem); line-height: 1; color: var(--c); margin: .5rem 0 .6rem; }
.pop-head { font-size: 1.3rem; line-height: 1.3; margin: .6rem 3rem .4rem 0; }
.pop-head q { quotes: '“' '”'; }
.pop-in h3 { font-family: var(--f-body); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c); margin: 1.2rem 0 .3rem; }
.pop-in > p { margin: 0 0 .6rem; }
.pop-by { color: var(--muted); font-weight: 700; }
.pop-src { margin-top: 1.4rem; padding-top: 1rem; border-top: 2px dashed var(--line); font-size: .9rem; color: var(--ink-2); }
.pop-src p { margin: 0 0 .6rem; }
.pop-src-h { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pop-src .btnrow { margin: .8rem 0 0; }
.pop-all { font-size: .9rem; font-weight: 700; }
/* ‹ 12 of 75 › along the bottom of the card; it stays in view while a long card scrolls. */
.pop-nav { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .6rem .9rem; background: var(--paper); border-top: 1px solid var(--line); }
.pop-step { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.pop-step:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.pop-step .ic { width: 20px; height: 20px; }
.pop-count { font-size: .85rem; font-weight: 700; color: var(--muted); }

/* ---------- forms */
.field { display: flex; flex-direction: column; gap: .35rem; }
.field > span { font-weight: 700; font-size: .95rem; }
.field small { color: var(--muted); font-size: .85rem; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="date"], input:not([type]), textarea, select {
  font: inherit; color: var(--ink); background: var(--paper); border: 2px solid #E0D6C8; border-radius: 14px; min-height: 48px; padding: .55rem .9rem; width: 100%; transition: border-color .2s, box-shadow .2s; }
textarea { line-height: 1.5; }
input:hover, textarea:hover, select:hover { border-color: #C9BCA9; }
input:focus, textarea:focus, select:focus { border-color: var(--sky); outline: none; box-shadow: 0 0 0 4px var(--sky-soft); }
.code-input { font-family: var(--f-mono); font-size: 1.3rem; letter-spacing: .2em; }
.check { display: flex; align-items: flex-start; gap: .6rem; font-weight: 600; cursor: pointer; }
.check span { line-height: 1.45; }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--coral-ink); flex: none; }
.choice-list { display: flex; flex-direction: column; gap: .5rem; }
fieldset.choice-list { border: 0; padding: 0; margin: 0; min-width: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { background: var(--bad-tint); color: #7A2A05; border-radius: 14px; padding: .75rem 1rem; font-weight: 650; margin-bottom: 1rem; }
.form-ok { background: var(--ok-tint); color: #1F5534; border-radius: 14px; padding: .75rem 1rem; font-weight: 650; margin: 1rem 0; }
.panel { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.panel h2 { font-size: 1.3rem; margin: 0; }
.panel p { margin: 0; }
.panel .btn { align-self: flex-start; }
.offer-form .btn.coral { align-self: stretch; }
.chip { display: inline-block; font-size: .78rem; font-weight: 800; border-radius: 999px; padding: .15rem .6rem; background: var(--line-2); color: var(--ink-2); vertical-align: middle; }
.chip.ok { background: var(--ok-tint); color: #1F5534; }
.chip.warn { background: var(--warn-tint); color: var(--warn); }

/* ---------- account pages */
.auth-wrap { display: flex; justify-content: center; padding-top: clamp(1.5rem, 6vw, 4rem); padding-bottom: 4rem; }
.auth-card { width: 100%; max-width: 30rem; background: var(--paper); border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.3rem); }
.auth-card h1 { font-size: 1.9rem; }
.auth-card.center { text-align: center; }
.auth-card form + .fine, .auth-card form + form { margin-top: 1rem; }
.auth-mark { margin-bottom: .6rem; }
.acct { padding-top: 2rem; padding-bottom: 4rem; }
.acct-head { margin-bottom: 1rem; }
.acct-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); align-items: start; }
.danger-zone { border-color: #F1C7A8; }

/* ---------- footer */
.foot { background: var(--ink); color: #E9E4F5; padding: 3rem 0 2rem; margin-top: 2rem; }
.foot a { color: #fff; }
.foot a:hover { color: var(--sun); }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.3fr .7fr .7fr 1.3fr; } }
.foot-brand p { margin: 1rem 0 0; color: #CFC8E3; max-width: 26rem; }
.foot-col { display: flex; flex-direction: column; gap: .45rem; }
.foot-col a { text-decoration: none; font-weight: 650; }
.foot h2 { font-family: var(--f-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin: 0 0 .5rem; }
.foot-news input { background: #fff; }
.foot-fine { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .86rem; color: #BDB5D3; }
.foot-fine p { margin: 0 0 .6rem; }
.crisis { display: flex; gap: .55rem; align-items: flex-start; background: rgba(255,255,255,.07); border-radius: 14px; padding: .8rem 1rem; color: #fff; font-size: .92rem; }
.crisis .ic { width: 18px; height: 18px; color: var(--coral); margin-top: .15rem; }

/* =====================================================================================================
   Motion: decoration only, and all of it off for people who ask their device for reduced motion.
   ===================================================================================================== */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  /* The first domino rocks gently against the penny. */
  .ha-tip { transform-box: view-box; transform-origin: 24px 70px; animation: rock 4.5s ease-in-out infinite; }
  .ha-spark path { transform-box: fill-box; transform-origin: center; animation: twinkle 3s ease-in-out infinite; }
  .ha-spark path + path { animation-delay: 1.2s; }
  @keyframes rock { 0%, 100% { transform: rotate(26deg); } 50% { transform: rotate(23deg); } }
  .pop[open] { animation: pop-open .35s var(--spring); }
  .pop[open]::backdrop { animation: fade-in .25s ease-out; }
  @keyframes pop-open { from { opacity: 0; scale: .92; } to { opacity: 1; scale: 1; } }
  .pop-body.from-next { animation: slide-from-right .28s var(--ease-out); }
  .pop-body.from-prev { animation: slide-from-left .28s var(--ease-out); }
  @keyframes slide-from-right { from { opacity: 0; translate: 36px 0; } to { opacity: 1; translate: 0 0; } }
  @keyframes slide-from-left { from { opacity: 0; translate: -36px 0; } to { opacity: 1; translate: 0 0; } }
  @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
  /* "Help us build it" breathes, and a soft teal ring swells out from it. `scale` (not `transform`) so the hover lift
     still works; it stops while the pointer is on it. */
  .btn.build-btn { animation: build-pulse 2.6s ease-in-out infinite; }
  .btn.build-btn:hover, .btn.build-btn:focus-visible { animation: none; }
  @keyframes build-pulse {
    0% { scale: 1; box-shadow: 0 0 0 0 rgba(19,163,158,.45); }
    45% { scale: 1.04; }
    70% { box-shadow: 0 0 0 16px rgba(19,163,158,0); }
    100% { scale: 1; box-shadow: 0 0 0 0 rgba(19,163,158,0); }
  }
  @keyframes twinkle { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: .6; opacity: .5; } }
  @supports (animation-timeline: view()) {
    .step, .role-card, .edge-card, .metric, .post-card, .value { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes rise { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .ribbon, .top, .foot, .subscribe, .signup-box, .signup, .btn { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  /* Stats: always the list and every source on paper, whichever view is on screen. */
  .stats-tools, .stats-views .cloud { display: none !important; }
  .stats-views .stats-list { display: block !important; }
  .phead { background: none !important; padding: 0 0 .6rem; border: 0; }
  .sl li { break-inside: avoid; border-color: #ccc; }
  .sl-quotes figure { break-inside: avoid; background: none; border: 1px solid #ccc; }
  .stats-list h2 { break-after: avoid; }
  .cite { color: inherit; }
  .refs { font-size: 9pt; }
  .refs a { color: inherit; text-decoration: none; }
}
