/* Look: "organic" (rounded, soft, shapes borrowed from leaves), chosen by Seb 2026-09-18.
   Colours come from Mandy's portrait: hedge green, linen off-white, one warm clay accent (decoration only).
   Every text colour is tested at 7:1 or better against --bg and --panel (tests/test_build.py).
   Fonts are self-hosted (site/fonts, SIL Open Font Licence): Fraunces for headings, Courier Prime italic for small
   typed labels, Nunito Sans for text. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Courier Prime"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/courier-prime-italic.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/nunito-sans.woff2") format("woff2"); }
/* Fallbacks sized to match, so the page does not jump when the real fonts arrive */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); size-adjust: 108%; ascent-override: 92%; descent-override: 24%; }
@font-face { font-family: "Nunito Sans Fallback"; src: local("Segoe UI"), local("Helvetica Neue"), local("Arial"); size-adjust: 102%; }

:root {
  color-scheme: light;   /* one look, whatever the device setting (Seb, 2026-09-29) */
  --bg: #f5f0e6; --text: #1f2a24; --muted: #3f4f45; --accent: #264e39; --rule: #d9d3c7; --panel: #fbf7ef;
  --warm: #c98b6b; --error: #8f2415; --tint: #c6dccd;
  /* colour bands (design from the proof of concept, Seb 2026-09-29): text on them is always --text */
  --reed: #dde5d3; --lake: #d5e2e3; --sand: #ecdfc6; --cream: #fbf7ef;
  --measure: 66rem; --prose: 40rem; --step: 1.5rem; --radius: 22px;
  --edge: max(1.25rem, (100% - var(--measure)) / 2);   /* left and right margin that lines content up with the header */
  --pebble: 58% 42% 55% 45% / 46% 54% 46% 54%;
  --shadow: 0 10px 30px rgb(29 42 34 / 0.10);
  --sans: "Nunito Sans", "Nunito Sans Fallback", system-ui, sans-serif;
  --serif: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --type: "Courier Prime", "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); line-height: 1.65; overflow-wrap: break-word; }
/* Header, colour bands and footer run edge to edge; everything else lines up in one column inside them */
.wrap { max-width: var(--measure); margin-inline: auto; padding-inline: 1.25rem; }
main { display: flow-root; }
main > * { margin-inline: var(--edge); }
main > h2, main > h3, main > p, main > ul, main > ol, main > blockquote, main > table { max-width: var(--prose); }   /* left-aligned on the column */

h1, h2, h3 { font-family: var(--serif); font-weight: 800; font-variation-settings: "SOFT" 100; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; margin-block: calc(var(--step) * 1.5) var(--step); }
h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-block: calc(var(--step) * 1.75) calc(var(--step) / 2); }
h3 { font-size: 1.25rem; margin-block: var(--step) calc(var(--step) / 3); }
.label { font: 800 0.78rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.typed { font-family: var(--type); font-style: italic; font-size: 1.1rem; }
p, ul, ol, blockquote, picture { margin-block: 0 var(--step); }
main ul, main ol { padding-inline-start: 1.25rem; }
main li { margin-block-end: 0.4rem; }
.lead { font-size: 1.15rem; }
.eyebrow { margin: 0; color: var(--accent); font: 800 0.78rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999rem; padding: 0.5rem 1rem; background: var(--panel); border-radius: 99px; z-index: 1; }
.skip:focus { left: 1.25rem; top: 0.5rem; }

/* Header: a reed band. Language picker, lowercase wordmark and waitlist link on one line; the menu in a pill beneath. */
.masthead { background: var(--reed); }
.masthead .wrap { padding-block: 1.3rem 1.1rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0 1rem; }
.site-name { grid-column: 2; grid-row: 1; margin: 0; font: 800 clamp(1.7rem, 4vw, 2.4rem)/1 var(--serif); font-variation-settings: "SOFT" 100;
  letter-spacing: -0.01em; text-transform: lowercase; }
.site-name a { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 0.45rem; }
.site-name a:hover { text-decoration: underline; }
.logo { width: 1.1em; height: 1.1em; flex: none; color: var(--accent); fill: currentColor; }   /* placeholder sprout until a real logo exists */
@media (forced-colors: active) { .logo { color: CanvasText; } }
nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.1rem 0.2rem; }
nav a { display: inline-block; padding: 0.45rem 0.5rem; min-height: 24px; border-radius: 99px; text-decoration: none; color: var(--text);
  font: 800 0.7rem/1.4 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; }
nav a:hover { background: var(--panel); text-decoration: none; }
nav a[aria-current] { background: var(--accent); color: var(--bg); border: 2px solid transparent; padding: calc(0.45rem - 2px) calc(0.5rem - 2px); }   /* transparent edge shows in High Contrast mode */
.langs { grid-column: 1; grid-row: 1; justify-self: start; margin: 0; }
.langs a { padding-inline: 0.6rem; letter-spacing: 0.1em; }
.langs a[aria-current] { background: none; color: var(--text); padding: calc(0.45rem - 2px) calc(0.6rem - 2px); text-decoration: underline; text-underline-offset: 0.3em; }
header .header-cta { grid-column: 3; grid-row: 1; justify-self: end; min-height: 2.6rem; padding: 0.45rem 1.1rem; box-shadow: none; }
.nav-wide { grid-column: 1 / -1; margin-block-start: 1rem; }
.nav-wide ul { width: fit-content; max-width: 100%; margin-inline: auto; justify-content: center; padding: 0.25rem; border: 2px solid var(--accent); border-radius: 2rem; }

/* Fees at a glance: row headers name each item, the price sits right */
table { width: calc(100% - 2 * var(--edge)); margin-block: var(--step); border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); }
caption { text-align: start; font: 800 1.15rem/1.3 var(--serif); padding-block-end: 0.6rem; }
th, td { text-align: start; vertical-align: top; padding: 0.7rem 1.1rem; border-block-end: 1px solid var(--rule); }
tbody tr:last-child > * { border-block-end: 0; }
thead th { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
tbody th { font-weight: 400; hyphens: auto; overflow-wrap: anywhere; }   /* "Kennismakingsgesprek" is wider than a 320px phone column */
td, thead th:last-child { text-align: end; }
td { font-weight: 800; }

/* Phones: the page links fold into a native "Menu" (no script), so the page starts on the first screen */
.menu { display: none; }
.menu summary { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; padding: 0.35rem 1.1rem;
  border: 2px solid var(--accent); border-radius: 99px; color: var(--accent); font-weight: 700; cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 0.45em; height: 0.45em; border-right: 2px solid; border-bottom: 2px solid;
  transform: translateY(-0.15em) rotate(45deg); }
.menu[open] summary::after { transform: translateY(0.1em) rotate(-135deg); }
.menu nav ul { flex-direction: column; }
.menu nav a { display: block; min-height: 44px; padding: 0.55rem 1rem; }
@media (max-width: 40rem) {
  /* Name on its own line; then Menu on the left and the other language on the right */
  .masthead .wrap { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0.5rem; padding-block: 1rem 0.9rem; }   /* Menu and language fit one line at 320px */
  .site-name { flex-basis: 100%; text-align: center; font-size: clamp(1.3rem, 7vw, 1.8rem); }   /* one line even at 320px */
  .nav-wide { display: none; }
  .menu { display: block; order: 1; }
  .menu[open] { flex-basis: 100%; }   /* open: the list takes the full width and the language link follows it */
  header .header-cta { order: 2; }
  .langs { order: 3; margin-inline-start: auto; margin-block-start: 0.35rem; }
  .langs a { padding-inline: 0.45rem; }
  .langs li:has(a[aria-current]) { display: none; }   /* phones show only the other language */
  header:has(.menu[open]) .langs { margin-inline-start: 0.4rem; }   /* open: sits under the list, lined up with it */
  .menu nav a { letter-spacing: 0.1em; }
}

/* Phones of ordinary height: a slim waitlist bar replaces the header link. Hidden at high zoom (short viewports),
   and scroll padding keeps keyboard focus clear of it (WCAG 2.2 AA, focus not obscured). */
.sticky-cta { display: none; }
@media (max-width: 40rem) and (min-height: 500px) {
  header .header-cta { display: none; }
  .sticky-cta { display: block; position: fixed; inset: auto 0 0 0; z-index: 10; margin: 0;
    padding: 0.6rem 1.25rem calc(0.6rem + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--rule); }
  .sticky-cta .cta { display: flex; box-shadow: none; }
  .sticky-cta[hidden] { display: none; }
  html { scroll-padding-bottom: 6rem; }
  body { padding-bottom: 5.5rem; }
}

/* ---- Home page: colour bands that run edge to edge and meet on waves (proof of concept, Seb 2026-09-29) ---- */
main > .band { margin-inline: 0; }
.band { position: relative; }
.band-sand { background: var(--sand); }
.band-lake { background: var(--lake); }
.band-reed { background: var(--reed); }
.band-accent { background: var(--accent); color: var(--bg); }
section.band { padding-block: clamp(3rem, 7vw, 5rem); }
.band h2 { margin-block-start: 0; }
.center { text-align: center; }
.center p { max-width: 42rem; margin-inline: auto; }
.deco { position: absolute; pointer-events: none; }

/* Hero: text and form, the portrait on a sand pebble with a sprig; ripples behind */
.hero-band { overflow: hidden; }
.hero { display: grid; gap: 2rem; align-items: center; padding-block: 2rem 3rem; position: relative; }
@media (min-width: 52rem) { .hero { grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); padding-block: 3rem 4rem; } }
.hero > * { min-width: 0; }
.hero h1 { margin-block: 0.8rem 1.2rem; font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
.hero .lead { max-width: 34rem; }
.hero .signup, .hero .crisis { max-width: 34rem; }
.hero .crisis { margin-block-start: 1.4rem; border-left: 3px solid var(--warm); border-radius: 0 var(--radius) var(--radius) 0; }
.hero-photo { position: relative; width: min(22rem, 100% - 3rem); justify-self: center; isolation: isolate; }
.hero-photo picture { margin: 0; }
.hero-photo picture::before { background: var(--sand); }
.ripple { width: 13rem; left: -7rem; top: -3.5rem; opacity: 0.7; }
@media (max-width: 52rem) { .ripple { display: none; } }   /* on phones it would sit on the eyebrow */
.hero-photo .sprig { width: 5.5rem; right: -2.4rem; bottom: 1.5rem; }

/* A still line under the hero: the practice's words over a single wave */
.tagline { background: var(--panel); padding-block: 1.1rem; text-align: center; }
.tagline p { margin: 0 auto; padding-inline: 1.25rem; font: italic 400 1.05rem/1.4 var(--type); color: var(--accent); }
.wave-line { display: block; width: min(34rem, 80%); height: 14px; margin: 0.5rem auto 0; }

/* Four topics: a small drawing, a heading, one line and a leaf button each */
.features { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; gap: 3rem clamp(2rem, 6vw, 5rem); }
@media (min-width: 40rem) { .features { grid-template-columns: 1fr 1fr; } }
.feature { display: grid; justify-items: center; align-content: start; gap: 0.75rem; margin: 0; }
.feature .icon { width: 3.4rem; height: 3.4rem; }
.feature h3 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.feature p { margin: 0; max-width: 24rem; }

/* What therapy with me is like: a straight-edged photo with a clay brushstroke and a sprig, beside the text */
.intro { display: grid; gap: 2.5rem clamp(2.5rem, 7vw, 6rem); align-items: center; }
@media (min-width: 52rem) { .intro { grid-template-columns: 0.85fr 1.15fr; } }
.intro h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.snap { position: relative; isolation: isolate; margin: 0 auto; width: min(20rem, 100% - 3rem); }
.snap .frame { aspect-ratio: 4 / 5; margin: 0; }
.snap .swash { z-index: -1; left: -22%; top: -9%; width: 64%; }
.snap .sprig { right: -15%; bottom: -12%; width: 36%; }
.duo { display: grid; gap: 0 clamp(2rem, 6vw, 5rem); margin-block-start: clamp(2.5rem, 6vw, 4rem); }
@media (min-width: 52rem) { .duo { grid-template-columns: 1fr 1fr; } }
.duo h2 { margin-block: var(--step) 0.6rem; }

/* Quote band: Mandy's own words on hedge green */
.quote { text-align: center; }
blockquote { margin: 0; padding: 0; border: 0; }
.quote blockquote { max-width: 40rem; margin-inline: auto; }
.quote blockquote p { margin: 0; font: 800 clamp(1.5rem, 3.2vw, 2.2rem)/1.35 var(--serif); font-variation-settings: "SOFT" 100; text-wrap: balance; }
.quote cite { display: block; margin-block-start: 1rem; font-style: normal; }

/* What happens next: a real sequence, so the steps are numbered, each on a small hedge pebble */
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 2.5rem clamp(1.5rem, 4vw, 3rem); counter-reset: step; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: step; display: grid; justify-items: center; align-content: start; gap: 0.7rem; margin: 0; overflow-wrap: anywhere; }   /* "kennismakingsgesprek" under WCAG text spacing at 320px */
.step::before { content: counter(step); display: grid; place-items: center; width: 3rem; height: 2.8rem; border-radius: var(--pebble);
  background: var(--accent); color: var(--bg); font: 800 1.2rem/1 var(--serif); font-variation-settings: "SOFT" 100; }
.step h3 { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.step p { margin: 0; }
.fee { margin-block-start: 2.8rem; display: grid; justify-items: center; gap: 0.9rem; }
.fee p { margin: 0; }
.fee-amount { font: 800 2.2rem/1 var(--serif); font-variation-settings: "SOFT" 100; }

/* Common questions: three short answers side by side on wide screens */
.questions > h2 { margin-block-end: 1.5rem; }
.questions { display: grid; gap: 0 clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 52rem) { .questions { grid-template-columns: repeat(3, 1fr); } .questions > h2, .questions > .sign-off { grid-column: 1 / -1; } }
.qa h3 { margin-block-start: 0; }
.sign-off { margin-block: var(--step) 0; }

/* Visually hidden, still read aloud (e.g. the end of "Read more about anxiety") */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Photo placements. Two patterns, alternated and set at different depths per page,
   so the eye is not trained to one spot. Both work for a real <picture> and for the
   panel placeholder that stands in until the shot exists. */
.photo-placeholder { display: grid; place-items: center; padding: 1.5rem; background: var(--panel);
  color: var(--muted); font-size: 0.9rem; text-align: center; }
.photo-band img, .photo-side img { display: block; width: 100%; height: auto; object-fit: cover; box-shadow: var(--shadow); }

/* Band: the full width of the page, landscape, breaking the column of text */
.photo-band { max-width: none; margin-block: calc(var(--step) * 2); }
.photo-band, .photo-band img { aspect-ratio: 5 / 2; border-radius: var(--radius); }
@media (max-width: 40rem) { .photo-band, .photo-band img { aspect-ratio: 3 / 2; } }

/* Side: a section and a portrait photo side by side, image left or right, stacking on a phone */
.with-photo { display: grid; gap: 1.5rem 2.5rem; max-width: none; margin-block: calc(var(--step) * 1.5); }
.with-photo > div > :first-child { margin-block-start: 0; }
.with-photo > div > :last-child { margin-block-end: 0; }
.photo-side, .photo-side img { aspect-ratio: 4 / 5; border-radius: 58% 42% 55% 45% / 46% 54% 46% 54%; }
@media (min-width: 46rem) {
  .with-photo { grid-template-columns: 1fr 17rem; align-items: center; }
  .with-photo-start { grid-template-columns: 17rem 1fr; }
  .with-photo-start > .photo-side { order: -1; }
}
@media (max-width: 46rem) { .photo-side { max-width: 15rem; margin-inline: auto; } }

/* Portrait: leaf-shaped, on a soft blob */
picture { display: block; position: relative; margin-inline: 1rem; }
picture::before { content: ""; position: absolute; inset: -6% -8% -4% -6%; background: var(--panel); z-index: -1;
  border-radius: 45% 55% 40% 60% / 55% 40% 60% 45%; }
picture img { display: block; width: 100%; height: auto; border-radius: 58% 42% 55% 45% / 46% 54% 46% 54%; box-shadow: var(--shadow); }
main > picture { max-width: 18rem; }
@media (min-width: 46rem) { main > picture { float: inline-end; margin: 0.4rem var(--edge) var(--step) 2rem; } }

/* The button: a hedge pill with a leaf. On hover a clay ripple spreads once and the leaf unfurls (still under reduced motion). */
.cta { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 3rem; padding: 0.6rem 1.5rem;
  background: var(--accent); color: var(--bg); border-radius: 999px; border: 2px solid transparent; box-shadow: var(--shadow);
  font: 800 0.8rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.cta:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.cta .leaf { width: 1.05em; height: 1.05em; flex: none; fill: currentColor; transform-origin: 20% 80%; }
@media (prefers-reduced-motion: no-preference) {
  .cta .leaf { transition: transform 0.35s ease; }
  .cta:hover .leaf, .cta:focus-visible .leaf { transform: rotate(-28deg) scale(1.12); }
  .cta:hover::after, .cta:focus-visible::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--warm);
    animation: ripple 0.7s ease-out forwards; pointer-events: none; }
  @keyframes ripple { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(1.18, 1.45); } }
}

/* Waves: where one colour band meets the next, with a thin hedge line along the curve */
.edge { line-height: 0; background: var(--to); }
.edge svg { display: block; width: 100%; height: clamp(22px, 3.4vw, 46px); }
.edge .fill { fill: var(--from); }
.edge .line { fill: none; stroke: var(--accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.edge.flip svg { transform: scaleX(-1); }
main > .edge { margin-inline: 0; }
.from-bg { --from: var(--bg); } .from-panel { --from: var(--panel); } .from-reed { --from: var(--reed); } .from-lake { --from: var(--lake); } .from-sand { --from: var(--sand); } .from-accent { --from: var(--accent); }
.to-bg { --to: var(--bg); } .to-panel { --to: var(--panel); } .to-reed { --to: var(--reed); } .to-lake { --to: var(--lake); } .to-sand { --to: var(--sand); } .to-accent { --to: var(--accent); }

/* Waitlist signup: one field, laid out like milkroad.com (Seb, 2026-09-29). Grid, so the error and the typo hint
   sit straight under the field. Phones: field and button stacked, both full width. Wider: side by side, level.
   Works without script. The label stays visible (their placeholder-only field would fail WCAG). */
.signup { display: grid; gap: 0.75rem 1rem; align-items: center; margin-block: var(--step); max-width: var(--prose); }
.signup[hidden] { display: none; }
.signup label { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.signup .form-error { color: var(--text); font-weight: 700; }
.signup .cta { justify-self: stretch; min-height: 3rem; padding-block: 0.6rem; }
@media (min-width: 30rem) {
  .signup { grid-template-columns: 1fr auto; }
  .signup > :not(input, button) { grid-column: 1 / -1; }
  .signup > button { grid-area: 2 / 2; }
  .signup > input, .signup > button { align-self: stretch; }
}
/* the offset tint is decoration; the 2px edge carries the 3:1 contrast a field outline needs */
.signup input { min-width: 0; min-height: 3rem; padding: 0.6rem 1.25rem; font: inherit; color: var(--text);
  background: var(--bg); border: 2px solid var(--accent); border-radius: 20px; box-shadow: 3px 3px 0 var(--tint); }
.signup p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.signup [role=status]:empty { display: none; }
.signup .field-error { color: var(--error); font-weight: 700; }
/* :user-invalid only matches once someone has typed and moved on, so nobody is told off while starting */
.signup input:user-invalid, .signup input[aria-invalid=true] { border-color: var(--error); }
.signup [role=status] { color: var(--text); }
.signup [role=status] button, .signup-done [data-again] { font: inherit; font-weight: 700; color: var(--accent); background: none; border: 0; padding: 0.2rem 0.3rem;
  min-height: 24px; text-decoration: underline; cursor: pointer; }


/* Footer: a reed band after a wave; the sprout mark, the practice line, crisis numbers, links, review date */
.site-foot { background: var(--reed); color: var(--text); }
.site-foot .wrap { display: grid; justify-items: center; gap: 1.1rem; padding-block: 2.2rem 2.6rem; text-align: center; }
.site-foot p { margin: 0; }
a[href^="mailto:"] { overflow-wrap: anywhere; }   /* one long word; WCAG text spacing at 320px */
.foot-mark { display: grid; justify-items: center; gap: 0.5rem; font: 800 1.35rem/1 var(--serif); font-variation-settings: "SOFT" 100; text-transform: lowercase; }
.foot-mark svg { width: 2.4rem; height: 2.4rem; padding: 0.7rem; box-sizing: content-box; border-radius: var(--pebble); background: var(--accent); color: var(--bg); fill: currentColor; }
.start { font-size: 1.05rem; max-width: 36rem; }
.crisis { background: var(--panel); padding: 1rem 1.1rem; border-radius: var(--radius); color: var(--text); }
.site-foot .crisis { max-width: 40rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.1rem 1.4rem; }
.footer-links a { display: inline-block; padding-block: 0.35rem; min-height: 24px; font: 800 0.75rem/1.6 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-links:empty { display: none; }
.reviewed { font-size: 0.85rem; margin: 0; }

@media (prefers-reduced-motion: no-preference) { a { transition: text-decoration-thickness 0.15s ease-out, background-color 0.15s ease-out; } }
@media print {
  nav, .skip, .start, .cta, .menu, .sticky-cta, .edge { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; }
  .site-foot, .band { box-shadow: none; background: none; }
}

/* After joining: the form gives way to a short celebration (waitlist.js), same as the thank-you pages without script */
.signup-done { margin-block: var(--step); max-width: var(--prose); }
.signup-done-title { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 0.4rem; }
.signup-done p { margin-block: 0 0.6rem; }

/* Celebration: a tick that draws itself and eight leaves floating up, about 1.5s. Still under reduced motion. */
.celebrate { position: relative; width: 4rem; height: 4rem; margin-block: 0.5rem 1rem; }
.celebrate svg { display: block; width: 100%; height: 100%; }
.celebrate circle { fill: var(--accent); }
.celebrate path { fill: none; stroke: var(--bg); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 36; stroke-dashoffset: 36; animation: celebrate-draw 0.5s 0.2s ease-out forwards; }
.celebrate i { position: absolute; inset-block-start: 50%; inset-inline-start: 50%; width: 0.8rem; height: 0.5rem;
  margin: -0.25rem 0 0 -0.4rem; border-radius: 0 100%; background: var(--accent); opacity: 0;
  animation: celebrate-leaf 1.5s 0.15s ease-out forwards; }
.celebrate i:nth-of-type(even) { background: var(--warm); animation-delay: 0.3s; }
.celebrate i:nth-of-type(1) { --a: -80deg; } .celebrate i:nth-of-type(2) { --a: -58deg; }
.celebrate i:nth-of-type(3) { --a: -36deg; } .celebrate i:nth-of-type(4) { --a: -12deg; }
.celebrate i:nth-of-type(5) { --a: 12deg; } .celebrate i:nth-of-type(6) { --a: 36deg; }
.celebrate i:nth-of-type(7) { --a: 58deg; } .celebrate i:nth-of-type(8) { --a: 80deg; }
@keyframes celebrate-draw { to { stroke-dashoffset: 0; } }
@keyframes celebrate-leaf {
  0% { opacity: 0; transform: rotate(var(--a)) translateY(0) rotate(0); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a)) translateY(-5rem) rotate(160deg); }
}
@media (prefers-reduced-motion: reduce) {
  .celebrate i { display: none; }
  .celebrate path { animation: none; stroke-dashoffset: 0; }
}
