/* yuhm door (yuhm.kohsi.net). One stylesheet for every page.
   Brand: warm-white ground with a meadow wash at the top, cacao ink, garden-green actions with the offset shadow, Baloo 2 display,
   DM Sans body, produce colours on stickers. Mobile first; works with JS off and without :has().
   Naming: block__element--modifier. Blocks: topbar lockup langlink kicker door garden flow sect
   want ask pick field stepper money chips note who reach hp send btn errsum fielderr calm envelope
   you view tabbar tab step state news letter ticket empty seeds passport level ladder rung stamp
   patch punchcard hole invite choices toggle setlist setrow setnote setview readonly meform pair
   getlink foot hills hand. Email mockups have their own mail.css.
   Utilities: vh sprite ic skip.
   Phones (< 760px): join (JS on) and the private page are an app shell: 100dvh, nothing scrolls
   down, a pinned Next button / a bottom tab bar, safe-area insets. JS off, join is the long page. */

/* ---------- fonts (self-hosted, OFL) ---------- */
@font-face { font-family: 'Baloo 2'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/baloo-2-latin-700.woff2') format('woff2'); 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+FEFF, U+FFFD; }
@font-face { font-family: 'Baloo 2'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/baloo-2-latin-800.woff2') format('woff2'); 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+FEFF, U+FFFD; }
@font-face { font-family: 'Baloo 2'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/baloo-2-latin-ext-700.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Baloo 2'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/baloo-2-latin-ext-800.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/dm-sans-latin.woff2') format('woff2'); }

/* ---------- tokens ---------- */
:root {
  /* the ground: a clean warm white page, a soft meadow wash at the top, white cards */
  --ground: #fffdf8; --ground-wash: #eef5e2; --card: #ffffff;
  --meadow: #e3edcc; --meadow-hi: #eef3dd;
  --cacao: #46312a; --word: #4a332a; --body: #5d5348; --muted: #6e5d4b; --soft: #7d6b57;
  --line: #e4dccb; --line-strong: #d3c6aa; --field-line: #8d7862;
  --green: #2d6b50; --green-deep: #1f4a37; --green-ink: #fff8e8; --green-tint: #e9f2dc; --green-wash: #f2f8e8;
  --coral: #d45f43; --amber: #d97706; --focus: #b45309;
  --olive: #5c7d45; --sage: #7ea35a; --tomato: #e2603f; --corn: #f0b429; --honey: #f0a63a;
  --tint-food: #e8f1d6; --tint-help: #fce2d5; --tint-give: #fcefc2; --tint-updates: #fff4dd; --tint-honey: #fdeccb;
  --paper: #fcfaf4; /* waiting steps, empty states: a hair warmer than a card */
  --error: #a63c1e; --error-deep: #8a2f17; --error-tint: #fbe6df; --error-line: #e3a28d;
  --display: 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
  --text: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --push: 0 4px 0 var(--green-deep), 0 10px 22px #2d6b5040;
  --gutter: 16px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  color: var(--body); font: 400 16.5px/1.55 var(--text);
  background: linear-gradient(var(--ground-wash), var(--ground)) top / 100% 340px no-repeat, var(--ground);
  overflow-x: hidden;
}
main { flex: 1 0 auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--cacao); line-height: 1.05; text-wrap: balance; }
a { color: var(--green); text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 10; padding: 12px 16px; border-radius: 12px; background: var(--cacao); color: var(--green-ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- top bar ---------- */
.topbar { width: min(1160px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 14px 0 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--word); text-decoration: none; border-radius: 12px; }
.lockup__mark { width: 42px; height: auto; flex: none; transition: transform .4s var(--ease); }
a.lockup:hover .lockup__mark { transform: rotate(-7deg) scale(1.06); }
.lockup__copy { display: flex; flex-direction: column; }
.lockup__word { font: 800 25px/1 var(--display); color: var(--word); letter-spacing: .004em; }
.lockup__tag { margin-top: 2px; font: 600 10.5px/1.2 var(--text); letter-spacing: .09em; text-transform: uppercase; color: var(--soft); }
.langlink { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px 0 11px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--green); font: 600 15px/1 var(--text); text-decoration: none; white-space: nowrap; }
.langlink .ic { width: 18px; height: 18px; }
.langlink:hover { border-color: #a9c489; background: var(--green-wash); }

/* ---------- shared headings ---------- */
.kicker { display: inline-flex; align-items: center; gap: 9px; color: #5c6b44; font: 700 12.5px/1.2 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.kicker__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px #d977061f; flex: none; }
.sect__h { display: block; font: 800 clamp(1.6rem, 6.4vw, 1.9rem)/1.05 var(--display); color: var(--cacao); letter-spacing: -.008em; }
.sect__h--row { margin-bottom: 14px; }
.sect__hint { display: block; margin-top: 4px; color: var(--muted); font-size: 15.5px; }
.sub-h { margin: 22px 0 10px; font: 700 13px/1.2 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   join.html: one form, one screen at a time (.js), or one long page (.no-js)
   ============================================================ */
.door { width: min(1160px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 18px 0 44px; }
.door__intro { position: relative; }
.door__h1 { margin-top: 12px; font-weight: 800; font-size: clamp(2.3rem, 9.6vw, 3.3rem); line-height: .98; letter-spacing: -.015em; }
.door__lede { margin-top: 12px; max-width: 34ch; font-size: 18px; line-height: 1.5; color: var(--body); }
.door__form { margin-top: 30px; max-width: 580px; }

/* the garden: brand illustration, wide screens only */
.garden { display: none; }

/* ---------- the flow: bar, screens, pinned foot ---------- */
.flow__bar { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.flow__back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-left: -6px; padding: 0 12px 0 6px; border: 0; border-radius: 12px; background: none; color: var(--green); font: 700 16px/1 var(--text); }
.flow__back .ic { width: 20px; height: 20px; stroke-width: 2.4; }
.flow__back:hover { background: var(--green-wash); }
.flow__kicker { font-size: 11px; letter-spacing: .07em; line-height: 1.25; text-wrap: balance; max-width: 60%; }
.door[data-flow-at="wants"] .flow__back { display: none; }
.door:not([data-flow-at="wants"]) .flow__kicker { display: none; }
.flow__progress { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font: 600 14px/1 var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.flow__dots { display: inline-flex; align-items: center; gap: 5px; }
.flow__dot { width: 8px; height: 8px; border-radius: 999px; background: var(--line-strong); transition: width .3s var(--ease), background .3s var(--ease); }
.flow__dot--done { background: var(--sage); }
.flow__dot--now { width: 22px; background: var(--green); }
.flow__body { display: flex; flex-direction: column; gap: 16px; }
.flow__h { display: flex; align-items: center; gap: 12px; font: 800 clamp(1.55rem, 6.6vw, 1.9rem)/1.06 var(--display); color: var(--cacao); letter-spacing: -.008em; }
.flow__h:focus { outline: none; }
.flow__chip { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 46% 54% 52% 48% / 54% 46% 56% 44%; }
.flow__chip .ic { width: 23px; height: 23px; }
.flow__chip--food { background: var(--olive); color: #fdfbf2; }
.flow__chip--help { background: var(--tomato); color: #fff4ec; }
.flow__chip--give { background: var(--corn); color: var(--cacao); }

/* JS off: the screens stack into the long page; Next and the bar are not needed */
.no-js .flow__bar, .no-js .flow__next { display: none; }
.no-js .flow__step + .flow__step { margin-top: 34px; }
.no-js .flow__step--food, .no-js .flow__step--help, .no-js .flow__step--give { padding: 20px 16px; border-radius: 22px; background: var(--card); border: 2px solid var(--line); }
.no-js .flow__step--who .flow__foot { margin-top: 30px; }
/* where :has() exists, a choice's questions show only while it is ticked */
@supports selector(:has(*)) {
  .no-js .door__form:not(:has(#want-food:checked)) .flow__step--food,
  .no-js .door__form:not(:has(#want-help:checked)) .flow__step--help,
  .no-js .door__form:not(:has(#want-give:checked)) .flow__step--give { display: none; }
}

/* entering screen: a short slide in the direction of travel (none under reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .flow__step--fwd { animation: yuhm-in-fwd .34s var(--ease) both; }
  .flow__step--back { animation: yuhm-in-back .34s var(--ease) both; }
}
@keyframes yuhm-in-fwd { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes yuhm-in-back { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

/* ---------- the four sticker tick cards ---------- */
.sect { display: block; margin: 0 0 14px; }
.sect__hint { margin-top: 3px; font-size: 14.5px; line-height: 1.35; }
.sect { margin-bottom: 12px; }
.wants { display: grid; gap: 10px; }
.wants > .fielderr { margin: -4px 0 2px; }
/* while "pick at least one" shows, it takes the hint's place */
.wants:has(> .fielderr:not([hidden])) .sect__hint { display: none; }
/* "Already signed up? Get your link" under Next on the first screen */
.flow__again { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 6px; color: var(--muted); font-size: 15px; line-height: 1.3; }
.flow__again a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-weight: 700; }
.no-js .flow__again { justify-content: flex-start; margin-top: 6px; }
.want { position: relative; --tilt: 0deg; --tint: var(--tint-updates); --edge: #e3c98f; }
.want--updates { --tilt: -.7deg; --tint: var(--tint-updates); --edge: #e3c98f; }
.want--food { --tilt: .6deg; --tint: var(--tint-food); --edge: #b7cf93; }
.want--help { --tilt: -.5deg; --tint: var(--tint-help); --edge: #e8b29a; }
.want--give { --tilt: .8deg; --tint: var(--tint-give); --edge: #dfc067; }
.want__input { position: absolute; top: 20px; left: 20px; width: 1px; height: 1px; opacity: 0; margin: 0; }
.want__card {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 30px; align-items: center; gap: 12px;
  min-height: 66px; padding: 9px 12px 9px 11px;
  background: var(--tint); border: 3px solid var(--card); border-radius: 20px;
  box-shadow: 0 0 0 2px var(--edge), 0 2px 0 2px #46312a24, 0 12px 16px -14px #46312a8c;
  transform: rotate(var(--tilt)); cursor: pointer; user-select: none;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease);
}
.want__card:hover { transform: rotate(0) translateY(-2px); }
.want__chip { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 46% 54% 52% 48% / 54% 46% 56% 44%; }
.want__chip .ic { width: 24px; height: 24px; stroke-width: 2.1; }
.want--updates .want__chip { background: var(--honey); color: var(--cacao); }
.want--food .want__chip { background: var(--olive); color: #fdfbf2; }
.want--help .want__chip { background: var(--tomato); color: #fff4ec; }
.want--give .want__chip { background: var(--corn); color: var(--cacao); }
.want__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.want__title { font: 800 18.5px/1.08 var(--display); color: var(--cacao); letter-spacing: -.004em; }
.want__line { font-size: 14px; line-height: 1.32; color: var(--body); }
.want__tick { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2.5px solid var(--cacao); background: var(--card); color: var(--green-ink); transition: background .2s var(--ease), border-color .2s var(--ease); }
.want__tick .ic { width: 18px; height: 18px; stroke-width: 3; opacity: 0; transform: scale(.4); transition: opacity .2s var(--ease), transform .3s var(--ease); }
.want__input:checked + .want__card { transform: rotate(0); box-shadow: 0 0 0 3px var(--cacao), 0 12px 16px -14px #46312a99; }
.want__input:checked + .want__card .want__tick { background: var(--green); border-color: var(--green); }
.want__input:checked + .want__card .want__tick .ic { opacity: 1; transform: scale(1); }
.want__input:focus-visible + .want__card { outline: 3px solid var(--focus); outline-offset: 4px; }

.note { display: flex; gap: 10px; align-items: flex-start; padding: 10px 13px; border-radius: 14px; font-size: 15px; line-height: 1.42; font-weight: 500; }
.note .ic { width: 20px; height: 20px; margin-top: 1px; }
.note--promise { background: var(--green-tint); color: #2b4a2c; }
.note--pledge { background: var(--tint-give); color: #54400e; }

/* ---------- questions, pills, fields ---------- */
.ask { display: flex; flex-direction: column; gap: 6px; }
.ask__legend { display: block; font: 700 17.5px/1.2 var(--display); color: var(--cacao); }
fieldset.ask > .ask__legend { margin-bottom: 8px; }
.hint { font-size: 14px; line-height: 1.38; color: var(--muted); }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; display: inline-flex; }
.pick__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.pick__face {
  display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 8px 15px 8px 11px;
  background: var(--card); color: var(--cacao); border: 2px solid var(--cacao); border-radius: 14px;
  font-weight: 600; font-size: 16px; line-height: 1.2; box-shadow: 0 3px 0 var(--cacao);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease), background .18s var(--ease);
  pointer-events: none;
}
.pick__mark { position: relative; width: 20px; height: 20px; flex: none; border: 2px solid var(--cacao); border-radius: 50%; background: var(--card); }
.pick--checkbox .pick__mark { border-radius: 6px; }
.pick__input:checked + .pick__face { background: var(--meadow); transform: translateY(2px); box-shadow: 0 1px 0 var(--cacao); }
.pick__input:checked + .pick__face .pick__mark { background: var(--green); border-color: var(--green); }
.pick--radio .pick__input:checked + .pick__face .pick__mark::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--green-ink); }
.pick--checkbox .pick__input:checked + .pick__face .pick__mark::after { content: ''; position: absolute; left: 5px; top: 1px; width: 6px; height: 11px; border: solid var(--green-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(42deg); }
.pick__input:focus-visible + .pick__face { outline: 3px solid var(--focus); outline-offset: 4px; }
.pick:hover .pick__face { background: #fbf2dc; }
.pick:hover .pick__input:checked + .pick__face { background: var(--meadow); }

.field {
  width: 100%; min-height: 50px; padding: 11px 14px; border: 2px solid var(--field-line); border-radius: 14px;
  background: var(--card); color: var(--cacao); font-size: 17px; line-height: 1.3;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field:focus { border-color: var(--green); box-shadow: 0 0 0 3px #2d6b5026; }
.field:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
select.field {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--cacao) 50%), linear-gradient(135deg, var(--cacao) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}
.stepper { display: flex; align-items: center; gap: 10px; max-width: 320px; }
.stepper__select { flex: 1 1 auto; text-align: center; font-weight: 700; }
.stepper__btn { flex: none; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--cacao); background: var(--card); color: var(--cacao); box-shadow: 0 3px 0 var(--cacao); transition: transform .14s var(--ease), box-shadow .14s var(--ease); }
.stepper__btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--cacao); }
.stepper__btn:disabled { opacity: .4; cursor: default; }
.stepper__btn .ic { stroke-width: 2.6; }
.money-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.money { position: relative; flex: 0 0 116px; }
.money__sign { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font: 800 19px/1 var(--display); color: var(--cacao); pointer-events: none; }
.money__input { padding-left: 32px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.no-js .chips { display: none; }
.chip { min-height: 46px; min-width: 58px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--line-strong); background: var(--card); color: var(--cacao); font: 700 16px/1 var(--display); }
.chip:hover { border-color: var(--cacao); }
.chip[aria-pressed="true"] { background: var(--cacao); border-color: var(--cacao); color: var(--green-ink); }

/* ---------- who are you ---------- */
.who { display: grid; gap: 14px; }
.who > .sect { margin-bottom: 8px; }
.ask--field { gap: 5px; }
.reach { display: flex; flex-direction: column; gap: 4px; }
.reach__legend { float: left; width: 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.reach__legend + * { clear: both; }
.reach--error .reach__hint { display: none; }
.reach__pair { display: grid; gap: 12px; margin-top: 6px; }
.reach__pair .ask__legend { font: 700 16px/1.2 var(--text); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- send ---------- */
.send { display: flex; flex-direction: column; gap: 10px; }
.send__after { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 14px; line-height: 1.4; }
.send__after .ic { width: 17px; height: 17px; margin-top: 1px; color: var(--green); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 10px 22px; border: 0; border-radius: 16px;
  background: var(--green); color: var(--green-ink); box-shadow: var(--push);
  font: 700 18px/1.1 var(--display); letter-spacing: .01em; text-align: center; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn .ic { width: 20px; height: 20px; stroke-width: 2.4; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--green-deep), 0 14px 26px #2d6b5045; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--green-deep); }
.btn[aria-disabled="true"] { opacity: .75; cursor: progress; }
.btn--go { min-height: 56px; font-size: 20px; width: 100%; }
.btn--small { min-height: 44px; padding: 8px 16px; font-size: 16.5px; border-radius: 14px; box-shadow: 0 3px 0 var(--green-deep); }
.btn--small:hover { box-shadow: 0 4px 0 var(--green-deep); }
.btn--soft { background: var(--card); color: var(--green); border: 2px solid var(--green); box-shadow: 0 4px 0 #c9d8c7; }
.btn--soft:hover { background: var(--green-wash); box-shadow: 0 6px 0 #c9d8c7; }
.btn--soft:active { box-shadow: 0 2px 0 #c9d8c7; }
.btn--line { background: var(--card); color: var(--green); border: 2px solid var(--green); box-shadow: 0 3px 0 #c9d8c7; }
.btn--line:hover { background: var(--green-wash); box-shadow: 0 4px 0 #c9d8c7; }
.btn--ink { background: var(--cacao); color: var(--green-ink); box-shadow: 0 4px 0 #2a1c17, 0 10px 22px #46312a33; }
.btn--ink:hover { box-shadow: 0 6px 0 #2a1c17, 0 14px 26px #46312a40; }
.btn--ink:active { box-shadow: 0 2px 0 #2a1c17; }
.btn--quiet { min-height: 44px; padding: 6px 4px; background: none; box-shadow: none; color: var(--muted); font: 600 15px/1.2 var(--text); text-decoration: underline; text-underline-offset: 3px; }
.btn--quiet:hover, .btn--quiet:active { transform: none; box-shadow: none; color: var(--cacao); }

/* ---------- errors ---------- */
.errsum { margin-bottom: 26px; padding: 16px 18px 14px; border-radius: 20px; background: var(--error-tint); border: 2px solid var(--error-line); }
.errsum:focus { outline: 3px solid var(--focus); outline-offset: 4px; }
.js .errsum { display: none; } /* in the flow the bad field's own screen opens, its error beside it */
.errsum__title { display: flex; align-items: center; gap: 9px; font: 800 21px/1.15 var(--display); color: var(--error-deep); }
.errsum__title .ic { width: 24px; height: 24px; }
.errsum__list { margin-top: 8px; display: grid; }
.errsum__list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--error-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.fielderr { display: flex; gap: 7px; align-items: flex-start; color: var(--error); font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.fielderr .ic { width: 18px; height: 18px; margin-top: 1px; }
.ask--error .field, .field[aria-invalid="true"] { border-color: #c2482a; background: #fffaf7; }
.reach--error { margin: 0 -10px; padding: 8px 10px 10px; border-radius: 16px; background: #fdf1ec; box-shadow: inset 0 0 0 2px var(--error-line); }

/* ============================================================
   the one-message pages: in check out gone lost slow paused oops confirmed unsubscribed leave
   ============================================================ */
.calm { width: min(560px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: clamp(28px, 8vh, 80px) 0 48px; display: grid; place-items: start center; }
.calm__card { width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.envelope { position: relative; width: 136px; height: 136px; margin-bottom: 8px; display: grid; place-items: center; border-radius: 54% 46% 58% 42% / 50% 56% 44% 50%; background: var(--meadow); }
.envelope__mark { width: 88px; height: auto; }
.envelope__badge { position: absolute; right: -4px; bottom: 6px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--green-ink); border: 3px solid var(--ground); }
.envelope__badge .ic { width: 22px; height: 22px; }
.calm__h1 { font-weight: 800; font-size: clamp(2.3rem, 9vw, 3.2rem); line-height: 1; letter-spacing: -.012em; }
.calm__lede { font-size: 19px; line-height: 1.5; color: var(--cacao); max-width: 30ch; }
.calm__tip { font-size: 15.5px; color: var(--muted); max-width: 36ch; }
.calm__card .btn--soft { margin-top: 12px; }
.calm__card--leave { gap: 16px; }
.calm__card--leave .calm__lede { max-width: 34ch; font-size: 18px; }
.calm__actions { width: 100%; max-width: 360px; margin-top: 10px; }
.calm__actions .btn { width: 100%; min-height: 56px; }
.backlink { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 8px; font-weight: 600; }
.backlink .ic { width: 18px; height: 18px; }
.calm__detail { font-size: 15.5px; line-height: 1.5; color: var(--body); max-width: 34ch; }
.calm__actions > .btn { width: 100%; }
.calm__also { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 6px; color: var(--muted); font-size: 15px; }
.calm__also a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-weight: 700; }
/* in.html: one email field */
.calm__card--form { gap: 10px; }
.getlink { width: 100%; max-width: 400px; margin-top: 6px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.getlink__line { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 14.5px; line-height: 1.4; }
.getlink__line .ic { width: 17px; height: 17px; margin-top: 1px; color: var(--green); }

/* ============================================================
   you.html (the private page): four views behind tabs, switched by CSS :target
   ============================================================ */
.you { width: min(1080px, 100% - 2 * var(--gutter)); margin: 0 auto; display: flex; flex-direction: column; }
.you__t { display: contents; } /* box-less :target wrappers: #steps #news #seeds #you */
.you__hi { font-weight: 800; font-size: clamp(1.75rem, 7.4vw, 2.6rem); line-height: 1.04; letter-spacing: -.012em; margin-top: 10px; }
#news:target .you__hi, #seeds:target .you__hi, #you:target .you__hi, .you__t--set:target .you__hi { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.you__views { display: flex; flex-direction: column; }
.view { display: none; flex-direction: column; min-height: 0; }
.view--steps, #news:target .view--news, #seeds:target .view--seeds, #you:target .view--you { display: flex; }
#news:target .view--steps, #seeds:target .view--steps, #you:target .view--steps, .you__t--set:target .view--steps { display: none; }
/* the settings screens under the You tab (#you-*): each opens on its own, You stays the current tab */
#you-choices:target .view--you-choices, #you-me:target .view--you-me, #you-lang:target .view--you-lang, #you-seeds:target .view--you-seeds, #you-out:target .view--you-out { display: flex; }
.view__h { padding: 12px 0 10px; font: 800 clamp(1.45rem, 6vw, 1.85rem)/1.08 var(--display); color: var(--cacao); letter-spacing: -.008em; }
.view__h:focus { outline: none; }

/* the tab bar: in-page links; the current one is marked by :target (JS adds aria-current) */
.tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; padding: 4px 2px; border-radius: 14px; color: var(--muted); font: 700 12.5px/1.15 var(--text); letter-spacing: .02em; text-decoration: none; text-align: center; }
.tab__pill { display: grid; place-items: center; width: 54px; height: 30px; border-radius: 999px; transition: background .2s var(--ease); }
.tab__pill .ic { width: 22px; height: 22px; }
.tab:hover .tab__pill { background: var(--green-wash); }
.tab--steps, #news:target .tab--news, #seeds:target .tab--seeds, #you:target .tab--you, .you__t--set:target .tab--you { color: var(--green-deep); }
.tab--steps .tab__pill, #news:target .tab--news .tab__pill, #seeds:target .tab--seeds .tab__pill, #you:target .tab--you .tab__pill, .you__t--set:target .tab--you .tab__pill { background: var(--meadow); box-shadow: inset 0 0 0 1.5px #b9d29c; }
#news:target .tab--steps, #seeds:target .tab--steps, #you:target .tab--steps, .you__t--set:target .tab--steps { color: var(--muted); }
#news:target .tab--steps .tab__pill, #seeds:target .tab--steps .tab__pill, #you:target .tab--steps .tab__pill, .you__t--set:target .tab--steps .tab__pill { background: none; box-shadow: none; }

/* next steps */
.steps { display: grid; gap: 10px; align-content: start; }
.step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px 13px 12px; border-radius: 20px; background: var(--card); border: 1.5px solid var(--line); }
.step__disc { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.step__disc .ic { width: 21px; height: 21px; }
.step__body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.step__title { font: 700 18px/1.22 var(--display); color: var(--cacao); }
.step__sub { font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.step__form { margin-top: 6px; }
.state { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font: 700 12px/1.6 var(--text); letter-spacing: .06em; text-transform: uppercase; }
.step--todo { border: 2px solid var(--cacao); box-shadow: 0 3px 0 var(--cacao); }
.step--todo .step__disc { color: var(--green); background: var(--green-tint); }
.step--todo .step__disc .ic { stroke-width: 2.4; }
.state--todo { background: var(--cacao); color: var(--green-ink); }
.step--waiting { background: var(--paper); border: 1.5px dashed var(--line-strong); }
.step--waiting .step__disc { color: #7a5410; background: var(--tint-honey); }
.state--waiting { background: var(--tint-honey); color: #6b4a12; }
.step--done { background: var(--green-wash); border-color: #c4d8ae; }
.step--done .step__disc { color: var(--green-ink); background: var(--green); }
.step--done .step__disc .ic { stroke-width: 3; width: 20px; height: 20px; }
.step--done .step__title { font-weight: 700; color: #3c4a33; }
.state--done { background: #d6e8c4; color: #2a4f33; }

/* what's new */
.news { display: grid; gap: 4px; }
.news .sub-h { margin: 4px 0 8px; }
.news__part + .news__part .sub-h { margin-top: 18px; }
.letters { display: grid; gap: 10px; }
.letter__link { display: flex; flex-direction: column; gap: 3px; padding: 13px 15px 12px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--line); color: inherit; text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.letter__link:hover { border-color: #a9c489; transform: translateY(-1px); }
.letter__date { display: inline-flex; align-items: center; gap: 7px; font: 600 13px/1.3 var(--text); color: var(--muted); }
.letter__date .ic { width: 16px; height: 16px; color: var(--honey); stroke-width: 2.2; }
.letter__title { font: 700 19px/1.15 var(--display); color: var(--cacao); }
.letter__body { font-size: 14.5px; line-height: 1.42; color: var(--body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.letter__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--green); font-weight: 700; font-size: 15px; }
.letter__more .ic { width: 17px; height: 17px; }
.tickets { display: grid; gap: 12px; }
.ticket { filter: drop-shadow(0 2px 0 #46312a2e) drop-shadow(0 10px 12px #46312a1f); }
.ticket__paper {
  --stub: 62px; background: var(--card); border-radius: 20px; overflow: hidden;
  -webkit-mask: radial-gradient(circle 11px at 0 calc(100% - var(--stub)), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% calc(100% - var(--stub)), #0000 97%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 11px at 0 calc(100% - var(--stub)), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% calc(100% - var(--stub)), #0000 97%, #000) right / 51% 100% no-repeat;
}
.ticket__head { padding: 11px 16px 10px; display: flex; flex-direction: column; gap: 2px; }
.ticket--run .ticket__head { background: var(--tint-food); }
.ticket--gathering .ticket__head { background: var(--tint-give); }
.ticket__kind { font: 700 12px/1.4 var(--text); letter-spacing: .1em; text-transform: uppercase; color: #4f5e3a; }
.ticket--gathering .ticket__kind { color: #6b4a12; }
.ticket__title { font: 800 21px/1.08 var(--display); color: var(--cacao); }
.ticket__facts { padding: 11px 16px 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; }
.ticket__facts div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ticket__facts dt { display: flex; align-items: center; gap: 5px; font: 700 11.5px/1.3 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ticket__facts dt .ic { width: 14px; height: 14px; }
.ticket__facts dd { font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--cacao); }
.ticket__stub { height: var(--stub); margin: 0 14px; border-top: 2px dashed var(--line-strong); display: flex; align-items: center; justify-content: flex-end; }
.ticket__stub .btn .ic { width: 17px; height: 17px; }
.ticket__said { display: flex; align-items: center; gap: 8px; width: 100%; font-weight: 600; font-size: 14.5px; line-height: 1.3; color: var(--body); }
.ticket__said .ic { width: 20px; height: 20px; flex: none; color: var(--green); }
.ticket__said--asked { color: #2a4f33; }
.ticket__said--asked .ic { width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: var(--green); color: var(--green-ink); stroke-width: 3; }

/* the honest empty state */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 20px 24px; border-radius: 20px; border: 2px dashed var(--line-strong); background: var(--paper); }
.empty__mark { width: 60px; height: 60px; margin-bottom: 2px; }
.empty__title { font: 700 20px/1.2 var(--display); color: var(--cacao); }
.empty__body { font-size: 15.5px; line-height: 1.45; color: var(--muted); max-width: 34ch; }

/* seeds */
.seeds { display: grid; gap: 14px; }
.seeds__main { display: grid; gap: 12px; }
.seeds__side { container-type: inline-size; }
.seeds .sub-h { margin: 0 0 8px; }
.passport { position: relative; padding: 14px 14px 10px; border-radius: 22px; background: var(--card); border: 2px solid var(--cacao); }
.passport::before { content: ''; position: absolute; inset: 5px; border: 1.5px dashed var(--line-strong); border-radius: 16px; pointer-events: none; }
.level { position: relative; display: flex; align-items: center; gap: 12px; }
.level__mark { width: 56px; height: 56px; flex: none; padding: 5px; border-radius: 50%; background: var(--meadow); }
.level__copy { min-width: 0; }
.level__name { font: 800 26px/1 var(--display); color: var(--cacao); }
.level__count { margin-top: 3px; font-size: 14.5px; line-height: 1.35; color: var(--muted); }
.level__count strong { color: var(--green); font-weight: 700; }
.ladder { position: relative; margin-top: 10px; padding-top: 8px; border-top: 1.5px dashed var(--line-strong); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.rung { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 3px 0 2px; border-radius: 12px; }
.rung__mark { width: 28px; height: 28px; }
.rung__at { font: 700 11.5px/1.2 var(--text); color: var(--muted); font-variant-numeric: tabular-nums; }
.rung:not(.rung--past):not(.rung--now) .rung__mark { opacity: .38; filter: grayscale(1); }
.rung--now { background: var(--meadow); box-shadow: inset 0 0 0 2px var(--olive); }
.rung--now .rung__at { color: #2e4a2a; }
.stamps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
@container (min-width: 300px) { .stamps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stamp { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1px; }
.patch { width: 100%; max-width: 76px; height: auto; margin-bottom: 3px; }
.patch__stitch { stroke: #3b2922; stroke-width: 1.6; stroke-dasharray: 4 3.5; opacity: .6; }
.patch__t { font: 800 11px var(--display); letter-spacing: 2.2px; text-transform: uppercase; fill: #3b2922; }
.patch__icon { fill: none; stroke: #3b2922; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.patch--earned { transform: rotate(-6deg); filter: drop-shadow(0 3px 0 #3b292229); }
.stamp:nth-child(2) .patch--earned { transform: rotate(5deg); }
.patch--open .patch__edge { stroke: #b6a383; stroke-width: 2; stroke-dasharray: 5 4; }
.patch--open .patch__stitch { opacity: 0; }
.patch--open .patch__t { fill: #a8957a; }
.patch--open .patch__icon { stroke: #a8957a; }
.stamp__name { font: 700 14px/1.12 var(--display); color: var(--cacao); }
.stamp__when { font-size: 12px; line-height: 1.3; color: var(--muted); }
.stamp:not(.stamp--earned) .stamp__name { color: var(--muted); }
.punchcard { padding: 10px 14px 12px; border-radius: 20px; background: var(--card); border: 1.5px solid var(--line); }
.holes { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
.hole { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.hole__dot { width: 100%; max-width: 28px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; border: 2px dashed #bfae90; background: var(--ground); }
.hole__dot .ic { width: 62%; height: 62%; stroke-width: 3; }
.hole--on .hole__dot { border: 2px solid var(--green); background: var(--green); color: var(--green-ink); }
.hole__d { margin-top: 2px; font: 700 14px/1 var(--display); color: var(--cacao); font-variant-numeric: tabular-nums; }
.hole__m { font: 700 10.5px/1.2 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.punchcard__note { margin-top: 8px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.seeds__foot { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 14px; }
.seeds__thanks { flex: 1 1 200px; font-size: 14px; line-height: 1.4; color: var(--body); }

/* the one calm invitation (helper or giver, seeds off) */
.invite { display: flex; flex-direction: column; gap: 10px; padding: 20px 18px 18px; border-radius: 22px; background: #fff3dc; border: 2px dashed #e0b95c; }
.invite__mark { width: 58px; height: 58px; padding: 5px; border-radius: 50%; background: var(--card); }
.invite__h { font: 800 24px/1.1 var(--display); color: var(--cacao); }
.invite__body { font-size: 15.5px; line-height: 1.5; color: var(--body); }
.invite__actions { margin-top: 6px; display: flex; gap: 10px; }
.btn--half { flex: 1 1 0; min-width: 0; width: auto; min-height: 54px; font-size: 18px; padding: 8px 10px; }

/* your choices, language, forget me */
.choices { display: flex; flex-direction: column; gap: 12px; }
.choices__set { display: grid; gap: 7px; }
.toggle { position: relative; display: block; }
.toggle__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.toggle__face { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 12px 6px 8px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); transition: border-color .2s var(--ease), background .2s var(--ease); }
.toggle__chip { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 46% 54% 52% 48% / 54% 46% 56% 44%; }
.toggle__chip .ic { width: 20px; height: 20px; }
.toggle__chip--updates { background: var(--honey); color: var(--cacao); }
.toggle__chip--food { background: var(--olive); color: #fdfbf2; }
.toggle__chip--help { background: var(--tomato); color: #fff4ec; }
.toggle__chip--give { background: var(--corn); color: var(--cacao); }
.toggle__label { flex: 1 1 auto; min-width: 0; font-weight: 600; font-size: 16px; line-height: 1.25; color: var(--cacao); }
.toggle__switch { position: relative; flex: none; width: 52px; height: 32px; border-radius: 999px; border: 2px solid var(--cacao); background: var(--card); transition: background .2s var(--ease); }
.toggle__switch::after { content: ''; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--cacao); transition: transform .24s var(--ease), background .2s var(--ease); }
.toggle__input:checked + .toggle__face { border-color: #b9d29c; background: var(--green-wash); }
.toggle__input:checked + .toggle__face .toggle__switch { background: var(--green); border-color: var(--green); }
.toggle__input:checked + .toggle__face .toggle__switch::after { transform: translateX(20px); background: var(--green-ink); }
.toggle__input:focus-visible + .toggle__face { outline: 3px solid var(--focus); outline-offset: 4px; }
.btn--save { width: 100%; min-height: 52px; font-size: 19px; }
.you__private { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--muted); }
.you__private .ic { width: 17px; height: 17px; margin-top: 1px; color: var(--green); }
.view--you .hand { color: #4f5e3a; }

/* settings home: rows that open their own screens */
.view--you .view__body > * + * { margin-top: 12px; }
.setlist { border-radius: 20px; background: var(--card); border: 1.5px solid var(--line); box-shadow: 0 1px 0 #46312a0d; overflow: hidden; }
.setlist > li + li { border-top: 1.5px solid var(--line); }
.setrow { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 7px 10px 7px 12px; color: var(--cacao); text-decoration: none; }
.setrow:hover { background: var(--green-wash); }
.setrow:focus-visible { outline-offset: -3px; border-radius: 18px; }
.setrow__ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--green-tint); color: var(--green-deep); }
.setrow__ic .ic { width: 20px; height: 20px; }
.setrow__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.setrow__t { font: 700 17px/1.2 var(--display); color: var(--cacao); }
.setrow__s { font-size: 13.5px; line-height: 1.3; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.setrow__go { width: 20px; height: 20px; color: var(--muted); }
.setrow--forget .setrow__ic { background: var(--error-tint); color: var(--error-deep); }
.setrow--forget:hover { background: #fdf3ef; }
.setnote { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px 12px 12px; font-size: 14.5px; line-height: 1.4; color: var(--body); }
.setnote .ic { width: 20px; height: 20px; flex: none; margin: 1px 8px 0 8px; color: var(--green); }

/* a settings screen: Back to #you, a heading, the one thing it changes */
.view__back { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 4px 0 -6px -6px; padding: 0 12px 0 6px; border-radius: 12px; color: var(--green); font: 700 16px/1 var(--text); text-decoration: none; }
.view__back .ic { width: 20px; height: 20px; stroke-width: 2.4; }
.view__back:hover { background: var(--green-wash); }
.setview__p { font-size: 16px; line-height: 1.5; color: var(--body); max-width: 40ch; }
.setview__act { margin-top: 16px; }
.setview__act .btn { width: 100%; }
.meform { display: flex; flex-direction: column; gap: 12px; }
.readonly { padding: 10px 14px 11px; border-radius: 16px; background: var(--paper); border: 1.5px dashed var(--line-strong); }
.readonly__k { font: 700 16px/1.2 var(--text); color: var(--cacao); }
.readonly__v { margin-top: 2px; font-size: 16.5px; font-weight: 600; color: var(--cacao); overflow-wrap: anywhere; }
.readonly__v--none { font-weight: 400; color: var(--muted); }
.readonly__note { margin-top: 2px; font-size: 13.5px; line-height: 1.35; color: var(--muted); }
/* two buttons, one field: the pressed one is the current value */
.pair { display: grid; gap: 10px; }
.pair__btn { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 16px 8px 12px; border-radius: 16px; border: 2px solid var(--cacao); background: var(--card); color: var(--cacao); box-shadow: 0 3px 0 var(--cacao); font: 700 18px/1.2 var(--display); text-align: left; transition: transform .14s var(--ease), box-shadow .14s var(--ease), background .18s var(--ease); }
.pair__btn:hover { background: var(--green-wash); }
.pair__btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--cacao); }
.pair__tick { width: 26px; height: 26px; padding: 3px; border-radius: 50%; border: 2px solid var(--cacao); stroke-width: 3; color: transparent; }
.pair__btn[aria-pressed="true"] { background: var(--meadow); transform: translateY(2px); box-shadow: 0 1px 0 var(--cacao); }
.pair__btn[aria-pressed="true"] .pair__tick { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.view--you-seeds .pair, .view--you-lang .pair { margin-top: 4px; }
.view--you-seeds .setview__p { margin-bottom: 14px; }

/* ---------- footer ---------- */
.foot { margin-top: auto; }
.hills { line-height: 0; overflow: hidden; }
.hills svg { display: block; width: 106%; margin-left: -3%; height: clamp(56px, 10vw, 130px); }
.foot__band { background: var(--meadow); padding: 4px 0 34px; }
.foot__inner { width: min(1160px, 100% - 2 * var(--gutter)); margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.foot__line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.foot__tagline { font: 700 19px/1.2 var(--display); color: #3f5d2c; }
.foot__city { font-size: 14px; color: #4f5e3a; }
.hand { display: inline-flex; align-items: center; gap: 9px; font: 700 12px/1.3 var(--text); letter-spacing: .1em; text-transform: uppercase; color: #4f5e3a; }
.hand__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px #d9770624; flex: none; }

/* ============================================================
   phones: an app shell. One screen, nothing scrolls down; the screen's own
   list may scroll inside it while the header and the pinned button/tabs stay.
   ============================================================ */
@media (max-width: 759.98px) {
  .js .page--join, .page--you { height: 100vh; height: 100dvh; min-height: 0; }
  .js .page--join .topbar, .page--you .topbar, .page--calm .topbar { flex: none; padding: max(6px, env(safe-area-inset-top)) 0 0; }
  .js .page--join .lockup, .page--you .lockup, .page--calm .lockup { min-height: 44px; }
  .js .page--join .lockup__mark, .page--you .lockup__mark, .page--calm .lockup__mark { width: 38px; }
  .js .page--join .lockup__word, .page--you .lockup__word, .page--calm .lockup__word { font-size: 23px; }

  /* join */
  .js .page--join .foot { display: none; }
  .js .door { flex: 1 1 auto; min-height: 0; width: 100%; padding: 0; display: flex; flex-direction: column; }
  .js .door__intro { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .js .door__form { flex: 1 1 auto; min-height: 0; margin: 0; max-width: none; display: flex; flex-direction: column; }
  .js .flow__bar { flex: none; padding: 2px var(--gutter) 0; }
  .js .flow__step { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
  .js .flow__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px var(--gutter) 12px; gap: 12px; }
  .js .flow__foot { flex: none; padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom)); background: var(--ground); border-top: 1.5px solid var(--line); }
  .js .flow__foot .send { gap: 7px; }
  .js .flow__foot .btn--go { min-height: 52px; }
  .js .flow__step--wants .flow__foot { padding-top: 8px; padding-bottom: max(0px, env(safe-area-inset-bottom)); }
  .js .flow__step--wants .flow__foot .btn--go { min-height: 50px; }
  .js .flow__again { font-size: 14px; }
  .js .wants { gap: 8px; }
  .js .want__card { min-height: 62px; }
  /* who are you, error state: the same screen, packed tighter so it still fits */
  .js .flow__step--who:has(.fielderr:not([hidden])) .who { gap: 8px; }
  .js .flow__step--who:has(.fielderr:not([hidden])) .who > .sect { margin-bottom: 0; }
  .js .flow__step--who:has(.fielderr:not([hidden])) .reach--error { padding: 6px 10px 8px; }
  .js .flow__step--who:has(.fielderr:not([hidden])) .reach__pair { gap: 6px; margin-top: 2px; }
  .js .flow__step--who:has(.fielderr:not([hidden])) .field { min-height: 44px; padding-block: 8px; }
  .js .flow__step--who:has(.fielderr:not([hidden])) .ask--field { gap: 3px; }
  .js .flow__step--who:has(.fielderr:not([hidden])) .flow__body { padding-top: 0; padding-bottom: 2px; }
  .js .flow__step--who:has(.fielderr:not([hidden])) .flow__foot { padding-top: 8px; }
  .js .send__after { font-size: 13px; line-height: 1.35; }
  .js .flow__h { font-size: 1.5rem; }
  .js .flow__chip { width: 38px; height: 38px; }
  .js .who { gap: 11px; }
  .js .who > .sect { margin-bottom: 4px; }
  .js .flow__step--who .flow__body { padding-bottom: 6px; }
  .js .field { min-height: 46px; padding-block: 9px; }
  .js .stepper__btn { width: 46px; height: 46px; }
  .js .reach__pair { gap: 10px; margin-top: 4px; }
  .js .pick__face { padding: 8px 13px 8px 10px; gap: 8px; }

  /* calm pages: one screen on a small phone */
  .calm { padding: 18px 0 22px; }
  .envelope { width: 108px; height: 108px; margin-bottom: 2px; }
  .envelope__mark { width: 70px; }
  .calm__card--form .envelope { width: 84px; height: 84px; }
  .calm__card--form .envelope__mark { width: 56px; }
  .calm__card--form .envelope__badge { width: 38px; height: 38px; right: -8px; bottom: 0; }
  .calm__card--form .envelope__badge .ic { width: 19px; height: 19px; }
  .calm__card--form .calm__h1 { font-size: 2.1rem; }
  .calm__card { gap: 12px; }
  .calm__lede { font-size: 18px; }
  .page--calm .hills svg { height: 36px; }
  .page--calm .foot__band { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .page--calm .foot__inner { gap: 6px; }
  .page--calm .foot__tagline { font-size: 16px; }
  .page--calm .foot__band { padding-top: 0; }

  /* seeds, compact */
  .seeds, .seeds__main { gap: 8px; }
  .view__h { font-size: 1.35rem; }
  .seeds__foot { flex-wrap: nowrap; }
  .seeds__thanks { flex: 1 1 0; }
  .seeds__foot .btn--quiet { white-space: nowrap; }
  .hole__dot { max-width: 22px; }
  .seeds .sub-h { margin-bottom: 6px; font-size: 12px; }
  .rung { padding: 2px 0 1px; }
  .passport { padding: 11px 12px 8px; }
  .level__mark { width: 48px; height: 48px; padding: 4px; }
  .level__name { font-size: 23px; }
  .level__count { font-size: 13.5px; }
  .ladder { margin-top: 8px; padding-top: 6px; }
  .rung__mark { width: 24px; height: 24px; }
  .punchcard { padding: 8px 12px 10px; }
  .punchcard .sub-h { margin-bottom: 6px; }
  .hole__dot { max-width: 24px; }
  .hole__d { font-size: 13px; }
  .punchcard__note { margin-top: 6px; font-size: 13px; }
  .patch { max-width: 56px; margin-bottom: 1px; }
  .stamp__name { font-size: 13px; }
  .stamp__when { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* the patch shows earned or not; the date stays for screen readers */
  .level__name { font-size: 22px; }
  .hole__m { font-size: 10px; }
  .js .note { font-size: 14px; padding: 9px 12px; }
  .want__card { padding-block: 8px; }
  .stamps { gap: 8px 6px; }
  .seeds__foot { margin-top: 6px; }
  .seeds__thanks { font-size: 13px; }

  /* the You tab, compact */
  .toggle__face { min-height: 48px; padding-block: 4px; }
  .toggle__chip { width: 34px; height: 34px; }
  .choices { gap: 10px; }
  .choices__set { gap: 6px; }
  .btn--save { min-height: 48px; }
  .you__private { font-size: 13px; }
  .setrow { min-height: 52px; padding-block: 5px; }
  .setrow__ic { width: 34px; height: 34px; }
  .setrow__t { font-size: 16.5px; }
  .setnote { padding-block: 9px 10px; font-size: 13.5px; }
  .view--you .view__body > * + * { margin-top: 10px; }
  .view--sub .view__h { padding-top: 6px; }
  .meform { gap: 10px; }

  /* you */
  .page--you .you { flex: 1 1 auto; min-height: 0; width: 100%; }
  .page--you .you__hi { margin: 8px var(--gutter) 0; }
  .you__views { flex: 1 1 auto; min-height: 0; padding: 0 var(--gutter); }
  .view { flex: 1 1 auto; }
  .view__h { flex: none; padding: 10px 0 8px; }
  .view__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0 -8px; padding: 2px 8px 16px; }
  .tabbar { order: 3; flex: none; padding: 4px 6px max(4px, env(safe-area-inset-bottom)); background: var(--card); border-top: 1.5px solid var(--line); box-shadow: 0 -8px 20px -16px #46312a66; }
}

/* ============================================================
   wider screens
   ============================================================ */
@media (min-width: 560px) {
  :root { --gutter: 28px; }
  .no-js .btn--go { width: auto; min-width: 280px; align-self: flex-start; }
  .btn--half { flex: 0 1 220px; }
  .calm__actions .btn { width: 100%; }
}
@media (min-width: 760px) {
  /* join: the same flow, one screen at a time, in a centered card */
  .js .door { position: relative; display: flex; flex-direction: column; align-items: center; padding: 6px 0 40px; }
  .js .door__intro { position: static; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .js .door__h1 { margin-top: 8px; font-size: clamp(2.4rem, 4.2vw, 3.1rem); }
  .js .door__lede { max-width: 62ch; margin-top: 8px; font-size: 18px; }
  .js .flow__kicker { display: none; }
  .js .door__form { position: relative; z-index: 1; width: min(560px, 100%); min-height: 540px; margin-top: 22px; max-width: none; padding: 16px 28px 26px; display: flex; flex-direction: column; background: var(--card); border: 2px solid var(--cacao); border-radius: 28px; box-shadow: 0 5px 0 var(--cacao), 0 34px 50px -34px #46312a80; }
  .js .flow__bar { margin-bottom: 6px; }
  .js .flow__step { flex: 1 1 auto; display: flex; flex-direction: column; }
  .js .flow__body { flex: 1 1 auto; }
  .js .flow__foot { padding-top: 18px; }
  .js .flow__body { gap: 13px; }
  .js .who { gap: 12px; }
  .js .field { min-height: 46px; padding-block: 9px; }
  .js .reach__pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 10px 14px; margin-top: 4px; }
  .js .reach__pair .ask--field { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 5px; }
  .js .reach__pair .ask__legend { grid-row: 1; }
  .js .reach__pair .hint { grid-row: 2; }
  .js .reach__pair .field { grid-row: 3; align-self: end; }
  .js .note { font-size: 14.5px; padding: 9px 12px; }
  .js .flow__foot .send { gap: 8px; }
  .js .page--join .hills svg { height: 64px; }
  .js .page--join .foot__band { padding-bottom: 22px; }

  /* you: tabs as a pill row on top; each view lays out in two columns */
  .page--you .you { padding: 6px 0 48px; }
  .tabbar { order: -1; align-self: flex-start; display: flex; gap: 4px; margin-top: 8px; padding: 4px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); }
  .tab { flex-direction: row; gap: 6px; min-height: 44px; padding: 0 16px 0 6px; border-radius: 999px; font-size: 15px; letter-spacing: 0; }
  .tab__pill { width: 36px; height: 32px; }
  .tab__pill .ic { width: 20px; height: 20px; }
  .tab--steps, #news:target .tab--news, #seeds:target .tab--seeds, #you:target .tab--you, .you__t--set:target .tab--you { background: var(--meadow); }
  #news:target .tab--steps, #seeds:target .tab--steps, #you:target .tab--steps, .you__t--set:target .tab--steps { background: none; }
  .tab--steps .tab__pill, #news:target .tab--news .tab__pill, #seeds:target .tab--seeds .tab__pill, #you:target .tab--you .tab__pill, .you__t--set:target .tab--you .tab__pill { box-shadow: none; }
  .page--you .you__hi { margin-top: 18px; }
  .view__h { padding: 18px 0 14px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
  .news { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .news__part + .news__part .sub-h { margin-top: 4px; }
  .seeds { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  .patch { max-width: 96px; }
  .stamp__name { font-size: 15.5px; }
  .invite { max-width: 640px; }
  .view--you, .view--sub { max-width: 600px; }
  .btn--save { width: auto; align-self: flex-start; padding-inline: 34px; }
  .you--three .view--steps .steps { max-width: none; }
}
@media (min-width: 1000px) {
  :root { --gutter: 40px; }
  .garden__s { position: absolute; line-height: 0; }
  .garden__s svg { width: 100%; height: auto; }

  /* JS off: the long page beside a sticky intro, as before */
  .no-js .door { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(40px, 6vw, 96px); align-items: start; padding-top: 36px; }
  .no-js .door__intro { position: sticky; top: 28px; }
  .no-js .door__h1 { font-size: clamp(3.4rem, 5.4vw, 4.8rem); }
  .no-js .door__lede { font-size: 20px; }
  .no-js .door__form { margin-top: 0; }
  .no-js .garden { display: block; position: relative; height: 330px; margin-top: 34px; max-width: 480px; }
  .no-js .garden__blob { position: absolute; inset: 8% 6% 4%; background: var(--ground-wash); border-radius: 54% 46% 58% 42% / 50% 56% 44% 50%; }
  .no-js .garden__bowl { position: absolute; left: 18%; top: 18%; width: 64%; line-height: 0; filter: drop-shadow(0 18px 22px #4c633321); }
  .no-js .garden__mark { width: 100%; height: auto; }
  .no-js .garden__s--tomato { left: 0; top: 2%; width: 82px; }
  .no-js .garden__s--sun { right: 12%; top: -4%; width: 58px; }
  .no-js .garden__s--carrot { right: 0; top: 30%; width: 74px; }
  .no-js .garden__s--corn { right: 8%; bottom: -2%; width: 78px; }
  .no-js .garden__s--sprout { left: 6%; bottom: 4%; width: 64px; }

  /* JS on: the stickers settle around the card */
  .js .garden { display: block; position: absolute; inset: 0; pointer-events: none; }
  .js .garden__blob, .js .garden__bowl { display: none; }
  .js .garden__s--sun { left: calc(50% - 420px); top: 190px; width: 62px; }
  .js .garden__s--tomato { left: calc(50% - 470px); top: 330px; width: 88px; }
  .js .garden__s--sprout { left: calc(50% - 400px); top: 500px; width: 68px; }
  .js .garden__s--carrot { right: calc(50% - 440px); top: 230px; width: 78px; }
  .js .garden__s--corn { right: calc(50% - 470px); top: 420px; width: 84px; }
}

/* ---------- motion: only when welcome ---------- */
@media (prefers-reduced-motion: no-preference) {
  .garden__blob { animation: yuhm-blob 12s ease-in-out infinite; }
  .garden__s { animation: yuhm-bob 6s ease-in-out infinite alternate; }
  .garden__s--sun { animation-delay: -2s; }
  .garden__s--carrot { animation-delay: -4s; }
  .garden__s--corn { animation-delay: -1s; }
  .patch--earned { animation: yuhm-thunk .52s var(--ease) both; }
}
@keyframes yuhm-blob { 0%, 100% { border-radius: 54% 46% 58% 42% / 50% 56% 44% 50%; } 50% { border-radius: 46% 54% 44% 56% / 58% 46% 54% 42%; } }
@keyframes yuhm-bob { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(-8px) rotate(3deg); } }
@keyframes yuhm-thunk { from { opacity: 0; scale: 1.5; } to { opacity: 1; scale: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .want__card { transform: none; }
}
@media (forced-colors: active) {
  .want__input:checked + .want__card, .pick__input:checked + .pick__face { outline: 3px solid Highlight; }
  .tab[aria-current="page"] { outline: 2px solid Highlight; }
}

/* ==========================================================================
   Added in the port to the live pages (states the mockup had no screen for)
   ========================================================================== */
/* the choices screen: each want's questions sit under its toggle, shown while it is on */
.choice { display: flex; flex-direction: column; gap: 10px; }
.choice__more { display: flex; flex-direction: column; gap: 12px; margin: 0 0 8px; padding: 12px 12px 14px; border-radius: 16px; background: var(--paper); border: 1.5px solid var(--line); }
.choice--food .choice__more .note, .choice--give .choice__more .note { margin: 0; }
@supports selector(:has(*)) {
  .choice:has(.toggle__input:not(:checked)) .choice__more { display: none; }
}
.choice__more[hidden] { display: none; }
/* "Saved." after a settings form: a quiet line that does not move the layout */
.notice { position: fixed; z-index: 5; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--green-deep); color: var(--green-ink); font-weight: 600; font-size: 15px; line-height: 1.2; box-shadow: 0 6px 18px rgba(70, 49, 42, .18); pointer-events: none; }
.notice .ic { width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .notice { animation: notice-out 4.5s ease forwards; }
  @keyframes notice-out { 0%, 75% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
}
/* seats left on a run ticket, and the all-done line above the steps */
.ticket__spots { margin: -4px 16px 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.steps__all { margin-bottom: 10px; font-weight: 600; color: var(--green-deep); }
.view .errsum { margin-bottom: 14px; }
/* Forget me says what is kept: on a small phone the card tightens so the page still fits */
@media (max-width: 759.98px) {
  .calm__card--leave, .page--gone .calm__card { gap: 8px; }
  .calm__card--leave .calm__lede, .page--gone .calm__lede { font-size: 16.5px; line-height: 1.4; }
  .page--gone .calm__detail { font-size: 14.5px; line-height: 1.42; }
  .calm__card--leave .calm__detail { font-size: 14.5px; line-height: 1.42; }
  .calm__card--leave .calm__tip { font-size: 14.5px; }
}
