/* NeighborTable · one stylesheet. Colors and type:
   Peaks Sky: a familiar blue for actions and trust, warm clay for progress, DM Sans for everything. */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=JetBrains+Mono:wght@500&display=swap');

:root {
  /* Peaks Sky: a steady, familiar blue for actions and trust,
     warm clay for progress, warm cream pages. */
  --primary: #2F5D8C;        /* buttons, links, focus */
  --primary-dark: #22476B;
  --primary-bg: #EAF1F8;
  /* Progress reads as opportunity, not urgency: the fill is sky blue at the start
     and turns green as it nears the goal, so "almost there" is visible at a glance. */
  --fill-start: #4A86C5;
  --fill-mid: #2B8F86;
  --fill-end: #23885A;
  --track: #ECE8E0;
  --progress: #2B8F86;       /* single-color uses: legend, dots */
  --progress-dark: #1F6B5E;  /* vouch badge text */
  --progress-bg: #E3F2EE;    /* vouch badge */
  --stripe-1: #8DB8E0;       /* "confirming" stripes */
  --stripe-2: #CFE2F3;
  --green: #15803D;          /* covered: always green, in any palette */
  --green-bg: #DCFCE7;
  --amber: #B45309;
  --amber-bg: #FEF3C7;
  --red: #B91C1C;
  --red-bg: #FEE2E2;
  --page: #FAF8F4;
  --sand: #F1EEE7;
  --sand-dark: #E4DFD5;
  --ink: #1D2733;
  --ink-2: #3B4653;
  --ink-3: #5F6B78;
  --ink-4: #8C96A1;
  --border: #E1E8EF;
  --border-strong: #C9D6E3;
  --radius: 16px;
  --sans: 'DM Sans', -apple-system, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); background: var(--page); color: var(--ink); font-size: 16px; line-height: 1.55; }
a { color: var(--primary-dark); }
img, svg { display: block; }
/* ── Type scale: exactly four heading sizes, used the same way on every page ──
   .display  hero headline (home, how it works)          52px
   h1        page title                                   40px
   h2        section inside a page                        26px
   h3        group or card title                          18px      */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.4px; font-weight: 600; }
.display { font-size: clamp(36px, 6vw, 52px); }
h1 { font-size: clamp(30px, 5vw, 40px); margin: 0 0 12px; }
h2 { font-size: clamp(22px, 3vw, 26px); margin: 48px 0 12px; }
h3 { font-size: 18px; margin: 32px 0 8px; }
p { margin: 0 0 1em; }
/* Rhythm: the first thing in any block never adds space above itself,
   the last thing never adds space below. Cards in a row are 12px apart. */
:is(h1, h2, h3, label, p):first-child { margin-top: 0; }
:is(.card, .notice, form) > :last-child { margin-bottom: 0; }
.card + .card, .card + form, form + .card { margin-top: 12px; }
.eyebrow + h1 { margin-top: 0; }
.lede-sm { color: var(--ink-3); max-width: 620px; }
.section { margin-top: 56px; }
.row-between { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.row-between > :is(h2, h3, p) { margin: 0; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.stack-sm > * + * { margin-top: 12px; }
.stack-sm > * { margin-bottom: 0; }
.span-all { grid-column: 1 / -1; }
.pre { white-space: pre-line; }
*:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
/* Narrow pages keep a readable 680px column, but start at the same left edge as the logo. */
.narrow { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow > * { max-width: 680px; }
.page { padding-top: 48px; }
.eyebrow, .label { font-family: var(--sans); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin: 0 0 6px; }
.muted { color: var(--ink-3); }
.small { font-size: 15px; }
.tiny { font-size: 13px; }
.accent { color: var(--primary); }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── header / footer ───────────────────────────────────────────── */
.site-head { border-bottom: 1px solid var(--border); background: #fff; position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 18px; }
.logo-mark { width: 28px; height: 28px; border-radius: 10px; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--card-line, #EEE6D8), 0 4px 10px -6px rgba(34, 71, 107, .5); }
.logo-mark svg { display: block; border-radius: 10px; }
.wordmark { letter-spacing: -.2px; }
.wordmark b { color: var(--primary); font-weight: 800; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--sand); }
.nav a.cta { background: var(--primary); color: #fff; font-weight: 600; }
.nav a.cta:hover { background: var(--primary-dark); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border-strong); background: #fff; color: var(--ink); cursor: pointer; place-items: center; }
.menu-panel { display: none; border-top: 1px solid var(--border); background: #fff; padding: 8px 20px 16px; }
.menu-panel a { display: block; padding: 12px 0; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--sand); }
.site-head.open .menu-panel { display: block; }
@media (max-width: 720px) { .nav a.opt { display: none; } .menu-btn { display: grid; } }

.site-foot { border-top: 1px solid var(--border); margin-top: 80px; padding: 36px 0 48px; background: #fff; font-size: 15px; color: var(--ink-3); }
.site-foot .wrap { display: grid; gap: 22px; grid-template-columns: 1.4fr 1fr; }
.site-foot a { color: var(--ink-2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 720px) { .site-foot .wrap { grid-template-columns: 1fr; } }

.tip-door { border: 1px solid var(--border); background: var(--primary-bg); border-radius: var(--radius); padding: 16px 18px; color: var(--ink-2); }
.tip-door strong { color: var(--ink); }
.tip-door a { font-weight: 600; }

/* ── buttons & forms ───────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; min-height: 44px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font: 600 15px/1 var(--sans); cursor: pointer; text-decoration: none; background: var(--primary); color: #fff; white-space: nowrap; transition: background .15s, transform .15s; }
.btn:hover { background: var(--primary-dark); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: #fff; color: var(--ink-2); border-color: var(--border-strong); }
.btn.ghost:hover { background: var(--sand); }
.btn.danger { background: #fff; color: var(--red); border-color: #F3C4C4; }
.btn.danger:hover { background: var(--red-bg); }
.btn.small { min-height: 36px; padding: 0 16px; font-size: 15px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
* + .btn-row { margin-top: 16px; }
form .btn.block, form > .btn { margin-top: 20px; }

label { display: block; font-weight: 600; font-size: 15px; margin: 18px 0 6px; }
label .hint { display: block; font-weight: 400; color: var(--ink-3); font-size: 13px; margin-top: 2px; }
input[type=text], input[type=email], input[type=number], select, textarea {
  width: 100%; font: 16px var(--sans); color: var(--ink); padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 10px; background: #fff;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--border-strong); border-color: var(--primary); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--primary); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice button { text-align: left; background: #fff; border: 2px solid var(--border); border-radius: var(--radius); padding: 18px; cursor: pointer; font: inherit; color: inherit; }
.choice button[aria-pressed=true] { border-color: var(--primary); background: var(--primary-bg); }
.choice button b { display: block; font-size: 18px; margin-bottom: 4px; }
@media (max-width: 560px) { .choice { grid-template-columns: 1fr; } }

.notice { border-radius: 10px; padding: 12px 14px; font-size: 15px; margin: 14px 0; }
.notice.err { background: var(--red-bg); color: var(--red); }
.notice.ok { background: var(--green-bg); color: var(--green); }
.notice.info { background: var(--primary-bg); color: var(--ink-2); border: 1px solid var(--border); }
.notice.warn { background: var(--amber-bg); color: var(--amber); }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.stack > * + * { margin-top: 14px; }

/* ── hero ──────────────────────────────────────────────────────── */
.hero { padding: 48px 0 32px; }
.hero p.lede { font-size: 18px; color: var(--ink-2); max-width: 600px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.trust span { display: inline-flex; gap: 7px; align-items: center; }
.trust span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--progress); }

/* ── board ─────────────────────────────────────────────────────── */
.filters { display: grid; gap: 10px; margin: 20px 0 20px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-row > span { width: 44px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
@media (max-width: 560px) { .filter-row > span { width: 100%; } }
.chip { display: inline-flex; align-items: center; box-sizing: border-box; min-height: 36px; border: 1px solid var(--border-strong); background: #fff; color: var(--ink-2); padding: 0 14px; border-radius: 999px; font: 500 15px/1 var(--sans); cursor: pointer; }
.chip[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.need { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.need:hover { border-color: var(--border-strong); box-shadow: var(--lift); transform: translateY(-2px); }
.need-top { display: flex; gap: 12px; align-items: flex-start; }
.need h3 { margin: 0 0 3px; font-size: 18px; line-height: 1.2; min-height: 2.4em; }
.need .who { font-size: 13px; color: var(--ink-3); }
.need-bar { margin-top: auto; }
.thumb { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; flex: none; border: 1px solid var(--border); }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.badge.vouch { background: var(--progress-bg); color: var(--progress-dark); }
.badge.charity { background: var(--primary-bg); color: var(--primary-dark); }
.badge.covered { background: var(--green-bg); color: var(--green); }
.badge.closed { background: var(--sand); color: var(--ink-3); }
.badge.wait { background: var(--amber-bg); color: var(--amber); }
.badge.link { background: var(--sand); color: var(--ink-2); }
.need.is-covered { background: linear-gradient(0deg, #fff, #fff), var(--green-bg); }
.empty { text-align: center; padding: 50px 20px; border: 2px dashed var(--border-strong); border-radius: var(--radius); color: var(--ink-3); }

/* ── the bar ───────────────────────────────────────────────────── */
.bar { height: 12px; border-radius: 999px; background: var(--track); overflow: hidden; display: flex; }
/* The gradient is sized to the whole track, so a short bar shows only the blue start
   and a nearly full bar reaches the green end. --fill is the filled percent (set by script). */
.bar .solid { --fill: 100; background: linear-gradient(90deg, var(--fill-start), var(--fill-mid) 55%, var(--fill-end)); background-size: calc(100% * 100 / max(var(--fill), 1)) 100%; background-position: left center; transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.bar .pend { background: repeating-linear-gradient(-45deg, var(--stripe-1) 0 6px, var(--stripe-2) 6px 12px); box-shadow: inset 0 0 0 1px var(--stripe-1); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.bar.big { height: 18px; }
.bar-label { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink-2); margin-top: 7px; gap: 10px; }
.bar-label b { color: var(--ink); font-variant-numeric: tabular-nums; }
.bar-label .near { color: var(--fill-end); font-weight: 600; }
.legend { display: flex; gap: 14px; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
.legend i { display: inline-block; width: 12px; height: 8px; border-radius: 3px; margin-right: 5px; vertical-align: 0; }

/* ── need page ─────────────────────────────────────────────────── */
.need-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.need-kicker .eyebrow { margin: 0; }
.need-page { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-areas: "top aside" "rest aside"; grid-template-rows: auto 1fr; gap: 28px; align-items: start; padding-top: 48px; }
.np-top { grid-area: top; } .np-rest { grid-area: rest; } .np-aside { grid-area: aside; }
@media (max-width: 860px) { .need-page { grid-template-columns: 1fr; grid-template-areas: "top" "aside" "rest"; gap: 24px; } }
.give-list { display: grid; gap: 10px; }
.give-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; border: 1px solid var(--border-strong); background: #fff; border-radius: var(--radius); padding: 14px 16px; font: 600 16px var(--sans); color: var(--ink); text-decoration: none; cursor: pointer; }
.give-btn:hover { border-color: var(--primary); background: var(--primary-bg); }
.give-btn small { font-weight: 500; color: var(--ink-3); font-size: 13px; }
.tag-auto { color: var(--progress-dark); }
.recent { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.recent li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--sand); }

/* ── manage ────────────────────────────────────────────────────── */
.mrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--sand); font-size: 15px; flex-wrap: wrap; }
.copy { font-family: var(--mono); font-size: 13px; background: var(--sand); padding: 10px 12px; border-radius: 10px; word-break: break-all; }
details.more { margin-top: 10px; }
details.more summary { cursor: pointer; font-weight: 600; color: var(--primary-dark); }

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq details { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--primary); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

.never { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.never div { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px; font-size: 15px; }
.never b { display: block; margin-bottom: 4px; }

/* ═══════════════════════════════════════════════════════════════
   The walkthrough animation
   Three places on a little stage: the giver, the board, the recipient's
   own wallet. Money travels around the board, never through it.
   ═══════════════════════════════════════════════════════════════ */
.wt { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--lift); }
.wt-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.wt-step { border: 0; background: var(--sand); border-radius: 10px; padding: 10px 10px 9px; text-align: left; font: 500 13px var(--sans); color: var(--ink-3); cursor: pointer; position: relative; overflow: hidden; }
.wt-step b { display: block; color: var(--ink-2); font-size: 15px; }
.wt-step .fill { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--primary); }
.wt-step[aria-current=step] { background: var(--primary-bg); color: var(--ink-2); }
.wt-step[aria-current=step] b { color: var(--primary-dark); }
.wt-step.done .fill { width: 100%; background: var(--border-strong); }
@media (max-width: 560px) { .wt-step { font-size: 0; padding: 10px 6px; } .wt-step b { font-size: 13px; } }

.wt-stage { position: relative; height: 330px; border-radius: 16px; background:
  radial-gradient(circle at 1px 1px, #EDE9FE 1px, transparent 0) 0 0 / 18px 18px, var(--page); overflow: hidden; }
.wt.portrait .wt-stage { height: 590px; }
.wt-node { position: absolute; transform: translate(-50%, -50%); text-align: center; }
.wt-node .ico { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 8px; background: #fff; border: 1px solid var(--border-strong); box-shadow: var(--lift); transition: transform .4s, box-shadow .4s; }
.wt-node .lbl { font-weight: 600; font-size: 15px; }
.wt-node .sub { font-size: 12px; color: var(--ink-3); }
.wt-node.pulse .ico { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(200, 105, 60, .16); }

/* the board in the middle */
.wt-board { position: absolute; transform: translate(-50%, -50%); width: 250px; }
.wt-board .frame { border: 2px dashed var(--border-strong); border-radius: 16px; padding: 10px; background: rgba(255, 255, 255, .7); transition: border-color .4s; }
.wt-board .cap { font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; display: flex; justify-content: space-between; }
.wt-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 11px; opacity: 0; transform: translateY(18px) scale(.96); transition: opacity .5s, transform .6s cubic-bezier(.2, .9, .3, 1.2), background .5s, border-color .5s; position: relative; }
.wt-card.in { opacity: 1; transform: none; }
.wt-card .t { font-weight: 600; font-size: 13px; }
.wt-card .w { font-size: 12px; color: var(--ink-3); margin-bottom: 7px; }
.wt-card .bar { height: 9px; }
.wt-card .nums { display: flex; justify-content: space-between; font-size: 12px; margin-top: 5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.wt-stamp { display: inline-block; margin: 0 0 8px; background: var(--progress-bg); color: var(--progress-dark); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--stripe-2); white-space: nowrap; transform: scale(0); transform-origin: left center; transition: transform .45s cubic-bezier(.2, .9, .3, 1.4); }
.wt-stamp.in { transform: scale(1); }
.wt.portrait .cap span:last-child { display: none; }
.wt-card.covered { background: #F0FDF4; border-color: #86EFAC; }
.wt-done { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; color: var(--green); font-size: 15px; background: rgba(240, 253, 244, .92); border-radius: 10px; opacity: 0; transition: opacity .5s; }
.wt-card.covered .wt-done { opacity: 1; }
.wt-ring { position: absolute; inset: -6px; border-radius: 16px; border: 2px solid var(--green); opacity: 0; }
.wt-card.covered .wt-ring { animation: ring 1.4s ease-out 2; }
@keyframes ring { from { opacity: .8; transform: scale(.96); } to { opacity: 0; transform: scale(1.12); } }

.wt-never { position: absolute; transform: translate(-50%, -50%); font-size: 12px; font-weight: 600; color: var(--primary-dark); background: var(--primary-bg); border: 1px solid var(--border-strong); padding: 5px 10px; border-radius: 999px; white-space: nowrap; opacity: 0; transition: opacity .4s; }
.wt-never.in { opacity: 1; }

.wt-coin { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FDE68A, #F59E0B); border: 2px solid #fff; box-shadow: var(--lift); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #78350F; pointer-events: none; }
.wt-ping { position: absolute; margin: -14px 0 0 -40px; width: 80px; height: 28px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; pointer-events: none; box-shadow: var(--lift); }
.wt-ping.note { background: #fff; color: var(--ink); border: 1px solid var(--border-strong); }
.wt-trail { position: absolute; inset: 0; pointer-events: none; }
.wt-trail path { fill: none; stroke: #FCD34D; stroke-width: 2.5; stroke-dasharray: 2 7; stroke-linecap: round; opacity: 0; transition: opacity .4s; }
.wt-trail path.in { opacity: 1; }
.wt-trail path.ping { stroke: var(--border-strong); }

.wt-caption { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 14px; min-height: 48px; }
.wt-caption p { margin: 0; font-size: 16px; color: var(--ink-2); max-width: 720px; transition: opacity .3s; }
.wt-caption p b { color: var(--ink); }
.wt-play { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink-2); }
.wt-play:hover { background: var(--sand); }

@media (prefers-reduced-motion: reduce) {
  .wt *, .bar .solid, .bar .pend, .need { transition: none !important; animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   The live board, with the story of one card told beside it
   ═══════════════════════════════════════════════════════════════ */
.lb { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .lb { grid-template-columns: 1fr; } }
.lb-story { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--lift); }
.lb-board { background: repeating-linear-gradient(135deg, #F7F5F0 0 10px, #F3F1EB 10px 20px); border: 2px dashed var(--border-strong); border-radius: 16px; padding: 18px; }
.lb-board .lb-card { pointer-events: none; }
.lb-example { display: inline-block; background: var(--ink); color: #fff; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 1px; padding: 3px 9px; border-radius: 999px; }
.lb-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink-3); padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.lb-live { display: inline-flex; align-items: center; gap: 6px; letter-spacing: .5px; text-transform: none; }
.lb-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: lbpulse 2s infinite; }
@keyframes lbpulse { 50% { opacity: .35; } }
.lb-col { margin-top: 14px; }
.lb-col-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.lb-col-head span:last-child { font-weight: 500; letter-spacing: 0; text-transform: none; }
.lb-open, .lb-done { display: grid; gap: 8px; min-height: 20px; }
.lb-card { border: 1px solid var(--border); border-radius: 16px; padding: 12px 14px; background: #fff; transition: opacity .5s, transform .5s cubic-bezier(.2, .9, .3, 1.2), border-color .4s, box-shadow .4s, background .5s; }
.lb-card.new { opacity: 0; transform: translateY(-12px) scale(.97); }
.lb-card.focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-bg); }
.lb-card.covered { background: #F3FBF5; border-color: #A7DDB6; box-shadow: none; }
.lb-card.covered .bar .solid { background: var(--green); }
.lb-done .lb-card { padding: 9px 14px; }
.lb-done .lb-card .lb-w, .lb-done .lb-card .lb-badge, .lb-done .lb-card .bar { display: none; }
.lb-t { font-weight: 600; font-size: 15px; }
.lb-w { font-size: 13px; color: var(--ink-3); margin-bottom: 6px; }
.lb-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-bottom: 8px; transform-origin: left center; transition: transform .45s cubic-bezier(.2, .9, .3, 1.4), opacity .3s; }
.lb-badge.vouch { background: var(--progress-bg); color: var(--progress-dark); }
.lb-badge.charity { background: var(--primary-bg); color: var(--primary-dark); }
.lb-badge.later { transform: scale(0); opacity: 0; height: 0; margin: 0; padding: 0; }
.lb-card .bar { height: 9px; }
.lb-nums { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); margin-top: 5px; font-variant-numeric: tabular-nums; }
.lb-nums b { color: var(--ink); }

.lb-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.lb-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.lb-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; transition: background .35s; position: relative; }
.lb-steps li:not(:last-child)::after { content: ''; position: absolute; left: 23px; top: 36px; bottom: -10px; width: 2px; background: var(--border); }
.lb-steps .dot { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--sand); color: var(--ink-3); transition: background .35s, color .35s, transform .35s; position: relative; z-index: 1; }
.lb-steps b { display: block; font-size: 15px; color: var(--ink-3); transition: color .35s; }
.lb-steps small { display: block; font-size: 13px; color: var(--ink-4); line-height: 1.4; }
.lb-steps li.past .dot { background: var(--primary-bg); color: var(--primary); }
.lb-steps li.past b { color: var(--ink-2); }
.lb-steps li.on { background: var(--primary-bg); }
.lb-steps li.on .dot { background: var(--primary); color: #fff; transform: scale(1.08); }
.lb-steps li.on b { color: var(--ink); }
.lb-steps li.on small { color: var(--ink-2); }

.lb-flow { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; margin: 14px 0 0; padding: 0 4px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s, opacity .4s, margin .4s; }
.lb-flow.show { max-height: 120px; opacity: 1; }
.lb-who { text-align: center; font-size: 12px; color: var(--ink-3); }
.lb-who .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin: 0 auto 3px; border: 1px solid var(--border-strong); background: #fff; }
.lb-who .giver { color: var(--primary); }
.lb-who .wallet { color: var(--progress-dark); }
.lb-path { position: relative; height: 40px; border-bottom: 2px dashed #F2C66B; margin-bottom: 18px; }
.lb-coin { position: absolute; left: 0; bottom: -13px; width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FDE68A, #F59E0B); border: 2px solid #fff; box-shadow: var(--lift); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #78350F; opacity: 0; }
.lb-flow.go .lb-coin { animation: lbcoin 1.7s cubic-bezier(.45, 0, .2, 1) forwards; }
@keyframes lbcoin { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 24px); opacity: 0; } }
.lb-via { position: absolute; left: 50%; top: 6px; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: var(--ink-2); background: var(--sand); padding: 2px 9px; border-radius: 999px; }
.lb-not { grid-column: 1 / -1; text-align: center; font-size: 12px; color: var(--ink-3); border: 1px dashed var(--border-strong); border-radius: 999px; padding: 4px 10px; justify-self: center; }
.lb-not b { color: var(--primary-dark); }
.lb-say { margin: 14px 0 0; font-size: 16px; color: var(--ink-2); min-height: 72px; }
.lb-say b { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .lb * { transition: none !important; animation: none !important; } }
@media (max-width: 860px) {
  .lb-story { order: -1; padding: 14px; }
  .lb-open .lb-card:nth-child(n+3) { display: none; }
  .lb-steps { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .lb-steps li { flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 6px 2px; }
  .lb-steps li::after { display: none; }
  .lb-steps small { display: none; }
  .lb-steps b { font-size: 12px; line-height: 1.2; }
  .lb-say { min-height: 96px; font-size: 16px; }
  .lb-done .lb-card { padding: 8px 12px; }
}

/* small spacing helpers (the only ones; no one-off pixel values on pages) */
.mt { margin-top: 24px; }
.mt-sm { margin-top: 12px; }
.tight { margin-bottom: 0; }
.measure { max-width: 620px; }
.story { font-size: 18px; white-space: pre-line; }
.give-note { margin: -2px 4px 2px; }
.section-head { margin-bottom: 16px; }
.group { margin-top: 32px; }

.whats { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.whats summary { cursor: pointer; color: var(--primary-dark); font-weight: 600; list-style: none; }
.whats summary::-webkit-details-marker { display: none; }
.whats p { margin: 6px 0 0; }
.link-btn { background: none; border: 0; padding: 0; font: 600 15px var(--sans); color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.made-by { margin-top: 14px; font-size: 15px; color: var(--ink-3); }

/* ═══════════════════════════════════════════════════════════════
   Icons (Phosphor), illustration, and the small moments of feedback
   ═══════════════════════════════════════════════════════════════ */
.ph { display: inline-block; flex: none; vertical-align: -0.2em; }
/* duotone: the soft fill is Phosphor's own 20% layer, tinted by the icon's color */
.icon-tile { width: 44px; height: 44px; border-radius: 16px; display: grid; place-items: center; background: var(--primary-bg); color: var(--primary); flex: none; }
.icon-tile.green { background: var(--progress-bg); color: var(--progress-dark); }

/* hero: words on the left, the neighbors on the right */
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; }
.hero-art { width: 100%; height: auto; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 8px; } .hero-art { max-width: 460px; order: -1; margin: -12px 0 4px; } }

/* trust row: icon + words, same size and spacing everywhere */
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.trust span { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
.trust span::before { content: none; }
.trust .ph { color: var(--progress-dark); }

/* badges carry an icon */
.badge .ph { width: 15px; height: 15px; }

/* hover and tap: line icons fill in, so it's clear what you can press */
.swap .on { display: none; }
.swap:hover .off, .swap:focus-visible .off { display: none; }
.swap:hover .on, .swap:focus-visible .on { display: inline-block; }

/* bar milestones: 25 / 50 / 75 marks that light up as the bar passes them */
.bar { position: relative; }
.bar .tick { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, .85); z-index: 1; }
.bar .tick.past { background: rgba(255, 255, 255, .55); }
.bar:not(.big) .tick { display: none; }

/* a real line of recent gifts on the homepage */
.activity { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 15px; color: var(--ink-2); max-width: max-content; min-height: 44px; }
.activity .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; animation: lbpulse 2s infinite; }
.activity .msg { transition: opacity .35s; }
.activity a { color: inherit; }

/* covered: a short, gentle celebration that plays once */
.celebrate { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.celebrate i { position: absolute; top: -20px; width: 12px; height: 12px; border-radius: 3px; opacity: 0; animation: fall 2.4s cubic-bezier(.2, .6, .4, 1) forwards; }
@keyframes fall { 0% { opacity: 0; transform: translateY(0) rotate(0); } 10% { opacity: 1; } 100% { opacity: 0; transform: translateY(85vh) rotate(540deg); } }
.stamp { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green); border: 3px solid var(--green); border-radius: 10px; padding: 6px 14px; transform: rotate(-4deg); background: #F3FBF5; }
.stamp.pop { animation: pop .6s cubic-bezier(.2, .9, .3, 1.5); }
@keyframes pop { from { transform: rotate(-4deg) scale(.3); opacity: 0; } to { transform: rotate(-4deg) scale(1); opacity: 1; } }

/* pass it on: the tip panel (same pattern as Sherwood Digital and Digital Lutheran Church) */
.tipd { position: fixed; inset: 0; margin: auto; height: fit-content; width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: var(--lift); overflow: auto; }
.tipd::backdrop { background: rgba(29, 39, 51, .6); }
.tipd-in { padding: 24px; }
.tipd-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.tipd-close { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border-strong); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); flex: none; }
.tipd-well { margin-top: 16px; border-radius: 16px; background: var(--sand); min-height: 120px; overflow: hidden; }
.tipd-well iframe { display: block; width: 100%; height: 600px; border: 0; }
.tipd-well p { padding: 14px; margin: 0; font-size: 15px; color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) { .celebrate { display: none; } .stamp.pop, .activity .dot { animation: none; } }

.empty-art { display: block; max-width: 300px; height: auto; margin: 0 auto 12px; }
.note { display: flex; gap: 8px; align-items: flex-start; } .note .ph { margin-top: 2px; color: var(--primary); }
.empty-art.left { margin-left: 0; }
.give-left { display: flex; gap: 12px; align-items: center; text-align: left; }
.give-left .ph { color: var(--primary); }

/* hero: a real need card filling up, a covered one behind it, the latest gift arriving */
.hero-cards { position: relative; height: 340px; }
.hero-cards .need { position: absolute; width: min(340px, 82%); }
.hc-back { right: 0; top: 0; transform: rotate(3deg); }
.hc-front { left: 0; top: 78px; transform: rotate(-2deg); box-shadow: var(--lift); z-index: 1; }
.hc-front:hover { transform: rotate(-2deg) translateY(-3px); }
.hc-toast { position: absolute; left: 8%; bottom: 0; z-index: 2; box-shadow: var(--lift); }
.hc-example { pointer-events: none; }
.hc-front { overflow: visible; }
.hc-tag { position: absolute; right: 14px; top: -11px; z-index: 2; }
.empty-icon { margin: 0 auto 12px; }
@media (max-width: 860px) {
  .hero-cards { height: auto; display: grid; gap: 12px; margin-top: 20px; }
  .hero-cards .need, .hc-toast { position: static; width: auto; transform: none; }
  .hero-cards .need { position: relative; }
  .hc-back { display: none; }
  .hc-toast { max-width: 100%; }
}
.share-msg { margin: 0 0 4px; padding: 12px 14px; background: var(--sand); border-radius: 10px; font-size: 15px; color: var(--ink-2); }
.share-row { margin-top: 12px; }
.share-row .btn .ph { margin-right: -2px; }
.row-gap { flex: 1; }
.edit-form { border-top: 1px solid var(--sand); padding-top: 4px; }
.made-by + .made-by { margin-top: 4px; }
.perks { display: grid; gap: 14px; margin-top: 16px; }
.perk { display: flex; gap: 14px; align-items: flex-start; }
.perk b { display: block; font-size: 16px; }
.perk p { margin: 2px 0 0; color: var(--ink-2); font-size: 15px; }

/* guided Ko-fi connection */
.kofi-setup { border: 2px solid var(--primary); }
.kofi-setup h3 { margin-top: 0; }
.ksteps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 16px; }
.kstep { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.kstep input { margin-top: 8px; }
.knum { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 15px; display: grid; place-items: center; }
.copy-row { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.copy-row .copy { flex: 1; min-width: 0; overflow-wrap: anywhere; margin: 0; }
.kwait { color: var(--primary-dark); font-weight: 600; margin-top: 8px; }

/* ── app on phones: bottom tab bar ───────────────────────────────────────── */
.tabbar { display: none; }
@media (max-width: 720px) {
  .tabbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: #fff; border-top: 1px solid var(--border); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 50px;
    font-size: 12px; font-weight: 600; color: var(--ink-3); text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .tabbar a.on { color: var(--primary); font-weight: 700; }
  .tabbar a:active { transform: scale(.96); }
  body.has-tabs { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  body.has-tabs .site-head .cta { display: none; }
  body.has-tabs .site-foot { padding-bottom: 24px; }
}

/* ── install card ────────────────────────────────────────────────────────── */
.install { display: grid; grid-template-columns: 44px 1fr 36px; gap: 12px; align-items: start; }
.install .icon-tile { width: 44px; height: 44px; border-radius: 10px; background: none; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--card-line, #EEE6D8); }
.install-x { width: 36px; height: 36px; border: 0; background: transparent; color: var(--ink-3); border-radius: 10px; display: grid; place-items: center; cursor: pointer; }
.install-x:hover { background: var(--sand); }

/* ── sign-up wizard: one question per screen ─────────────────────────────── */
.wiz { max-width: 560px; }
.wiz-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.wiz-back { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.wiz-count { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink-3); }
.wiz-spacer { width: 44px; }
.wiz-dots { display: grid; gap: 6px; margin-bottom: 28px; }
.wiz-dots span { height: 6px; border-radius: 999px; background: var(--sand-dark); transition: background .25s; }
.wiz-dots span.on { background: var(--primary); }
h1.wq, h2.wq { font-size: 28px; line-height: 1.15; margin: 0 0 10px; }
h2.wq { font-size: 22px; margin-top: 32px; }
.wstep label { margin-top: 18px; }
.big-input { font-size: 22px !important; min-height: 56px; margin-top: 16px; }
.money-input { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--primary); border-radius: 16px; padding: 0 18px; height: 72px; margin-top: 20px; }
.money-input span { font-size: 36px; font-weight: 700; color: var(--ink-3); }
.money-input input { border: 0 !important; outline: none; box-shadow: var(--lift); font-size: 36px !important; font-weight: 700; padding: 0 !important; background: transparent; min-height: 0; }
.chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.chip { min-height: 44px; border-radius: 10px; border: 1px solid var(--border-strong); background: #fff; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--primary); }
.chip[aria-pressed="true"] { border: 2px solid var(--primary); background: var(--primary-bg); color: var(--primary-dark); }
.share-slot:empty { display: none; }
.wiz-nav { margin-top: 28px; }
.btn.big { min-height: 56px; font-size: 18px; border-radius: 16px; }
@media (max-width: 720px) {
  .wiz-nav { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--page) 30%); padding-top: 18px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── recipient home ──────────────────────────────────────────────────────── */
.home-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.home-card h2 { margin: 0; font-size: 22px; line-height: 1.25; }
.home-amount { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.home-amount b { font-size: 28px; }
.home-amount small { font-size: 16px; color: var(--ink-3); font-weight: 500; }
.home-share { min-height: 52px; font-size: 18px; border-radius: 16px; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.checklist li { display: flex; gap: 10px; align-items: center; }
.checklist .tick { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; box-sizing: border-box; }
.checklist .done .tick { background: var(--fill-end); color: #fff; }
.checklist .todo .tick { border: 2px solid var(--primary); color: var(--primary); }
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.feed li { display: flex; justify-content: space-between; gap: 12px; background: var(--page); border-radius: 10px; padding: 10px 12px; font-size: 15px; }
.home-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.home-actions .row-gap { flex: 1; }

/* ── my gifts ────────────────────────────────────────────────────────────── */
.gift-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.gift-item { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; text-decoration: none; color: inherit; }
.gift-item:hover { border-color: var(--border-strong); }
.gift-item .row-between { gap: 12px; }


/* ── no lone words at the end of a line ──────────────────────────────────── */
h1, h2, h3, .lp-h1, .lp-h2, summary { text-wrap: balance; }
p, li, .bar-label { text-wrap: pretty; }

/* ── landing page ────────────────────────────────────────────────────────── */
.btn.lg { min-height: 52px; padding: 0 24px; font-size: 18px; }
.btn.light { background: #fff; color: var(--primary-dark); }
.btn.light:hover { background: var(--primary-bg); }
.btn.outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn.outline-light:hover { background: rgba(255, 255, 255, .1); }
/* the little ✓ icon in lists. Not on .notice: "notice ok" is a green message and must keep its full width */
.ok:not(.notice) { width: 24px; height: 24px; flex: none; border-radius: 10px; background: var(--progress-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6B5E' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }

.lp-hero { padding: 56px 0 72px; }
.lp-hero-in { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.lp-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.lp-copy .label { margin: 0; }
.lp-h1 { margin: 0; font-size: clamp(40px, 6vw, 60px); line-height: 1.05; letter-spacing: -.02em; font-weight: 700; }
.lp-lede { margin: 0; font-size: 18px; color: var(--ink-2); max-width: 30em; }
.promises { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--ink-2); }
.promises li { display: flex; align-items: center; gap: 8px; }
.lp-maker { margin: 0; font-size: 15px; color: var(--ink-3); max-width: 34em; }

.try { flex: 1 1 380px; min-width: 0; max-width: 460px; display: flex; flex-direction: column; gap: 12px; }
.try-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--lift); }
.try-top { align-items: center; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: var(--sand); padding: 4px 10px; border-radius: 999px; }
.try-title { margin: 0 0 2px; font-size: 22px; line-height: 1.2; }
.try-toast { margin-top: 0; }

.photo-band { position: relative; min-height: 360px; display: flex; align-items: flex-end; color: #fff;
  background: linear-gradient(90deg, rgba(20, 30, 42, .72) 0%, rgba(20, 30, 42, .35) 45%, rgba(20, 30, 42, 0) 70%),
    linear-gradient(180deg, rgba(20, 30, 42, 0) 35%, rgba(20, 30, 42, .7) 100%), #22476B url('/img/table-band.jpg') center 40% / cover no-repeat; }
.photo-band p { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.photo-band .wrap { width: 100%; padding-top: 32px; padding-bottom: 32px; box-sizing: border-box; }
.photo-line { margin: 0; font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; line-height: 1.15; max-width: 640px; }
.photo-sub { margin: 8px 0 0; font-size: 18px; max-width: 560px; color: #E8EEF5; }

.lp-section { padding-top: 72px; }
.lp-last { padding-bottom: 8px; }
.lp-h2 { margin: 0; font-size: clamp(28px, 4vw, 34px); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
.narrow-h { max-width: 22ch; }
.lp-desc { margin: 10px 0 24px; color: var(--ink-2); max-width: 46em; }

.cat-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px 24px; padding: 2px 20px; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip { flex: none; white-space: nowrap; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border-strong); background: #fff; color: var(--ink); font: 600 15px var(--sans); cursor: pointer; }
.cat-chip:hover { border-color: var(--primary); }
.cat-chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.day-one { padding: 24px; }
.day-one h3 { margin: 0 0 8px; font-size: 22px; }
.day-one p { color: var(--ink-2); max-width: 40em; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
@media (max-width: 560px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .step { min-height: 0; padding: 16px; }
  .step[aria-pressed="true"] { padding: 15px; }
  .step-title { font-size: 16px; }
}
.step { text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px; min-height: 132px; border-radius: 16px; border: 1px solid var(--border); background: #fff; color: var(--ink); font: inherit; cursor: pointer; }
.step:hover { border-color: var(--border-strong); }
.step[aria-pressed="true"] { border: 2px solid var(--primary); padding: 19px; box-shadow: var(--lift); }
.step-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; background: var(--primary-bg); color: var(--primary); }
.step[aria-pressed="true"] .step-num { background: var(--primary); color: #fff; }
.step-title { font-weight: 700; font-size: 18px; }
.step-sub { font-size: 15px; color: var(--ink-3); }
.step-story { margin-top: 12px; background: var(--primary-bg); border-radius: 16px; padding: 24px; font-size: 18px; line-height: 1.5; }

.lp-band { margin-top: 72px; background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 72px; padding-bottom: 72px; }
.lp-photo { flex: 1 1 380px; min-width: 0; width: 100%; max-width: 520px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.lp-split-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.perks-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; line-height: 26px; }
.perks-list li { display: flex; gap: 12px; align-items: flex-start; }
.perks-list .ok { margin-top: 1px; }
.lp-join { margin-top: 28px; }
.lp-join-note { margin-top: 12px; }

.lp-faq { max-width: 760px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 0 20px; }
.faq-item + .faq-item { margin-top: 10px; }
.faq-item:first-of-type { margin-top: 24px; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 18px; padding: 16px 0; min-height: 24px; }
.faq-item p { margin: 0 0 16px; color: var(--ink-2); }

.closing { background: var(--primary); color: #fff; border-radius: 16px; padding: clamp(28px, 5vw, 44px) clamp(22px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.closing-copy { flex: 1 1 420px; min-width: 0; }
.closing-copy p { margin: 10px 0 0; font-size: 18px; color: #E8EEF5; }
.photo-credit { margin: 16px 0 0; }

/* About page banner */
.about-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 16px; margin: 8px 0 32px; }

/* ── giver thank-you ─────────────────────────────────────────────────────── */
.thanks-card .btn-row { margin-top: 16px; }
.thanks-body .share { margin-top: 12px; }

/* ── phones: sticky Give button and the give sheet ───────────────────────── */
.give-sticky { display: none; }
.give-sheet { display: none; }
@media (max-width: 860px) {
  .give-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--border); box-shadow: var(--lift); transition: transform .25s; }
  body.has-tabs .give-sticky { bottom: var(--tabbar-h, 64px); padding-bottom: 10px; }
  .give-sticky.hide { transform: translateY(160%); }
  .give-sticky-in { display: flex; gap: 12px; align-items: center; max-width: 640px; margin: 0 auto; }
  .give-sticky-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .give-sticky-text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .give-sticky .btn { min-width: 110px; min-height: 48px; }
  .give-sheet[open] { display: block; position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: none; max-height: 88vh; overflow: auto; border: 0; border-radius: 24px 24px 0 0; padding: 10px 16px calc(20px + env(safe-area-inset-bottom)); background: #fff; animation: sheet-up .25s ease-out; }
  .give-sheet::backdrop { background: rgba(29, 39, 51, .45); }
  .give-sheet .give-card { border: 0; padding: 8px 4px 0; }
  .sheet-grip { width: 44px; height: 5px; border-radius: 999px; background: var(--sand-dark); margin: 4px auto 6px; }
  .sheet-x { position: absolute; right: 12px; top: 10px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--sand); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
}
@keyframes sheet-up { from { transform: translateY(40%); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .give-sheet[open] { animation: none; } .give-sticky { transition: none; } }

/* ── the board: list and detail side by side on tablets ──────────────────── */
.board-page { padding-top: 40px; }
.board-page h1 { margin: 0; }
.board-split { display: grid; grid-template-columns: 1fr; gap: 24px; }
.board-list { display: flex; flex-direction: column; gap: 10px; }
.board-row { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px; text-decoration: none; color: inherit; }
.board-row:hover { border-color: var(--border-strong); }
.board-row.on { border: 2px solid var(--primary); padding: 15px; background: var(--primary-bg); }
.board-row-text { display: flex; flex-direction: column; min-width: 0; }
.board-row-text b { font-size: 18px; line-height: 1.25; }
.board-row .who { font-size: 13px; color: var(--ink-3); }
.board-detail { display: none; }
@media (min-width: 900px) {
  .board-split { grid-template-columns: minmax(320px, 400px) 1fr; align-items: start; }
  .board-list { max-height: calc(100vh - 140px); overflow: auto; position: sticky; top: 84px; padding: 2px; }
  .board-detail { display: block; position: sticky; top: 84px; }
  .board-detail-in { display: flex; flex-direction: column; gap: 16px; }
  .board-detail-in > * { margin: 0; }
  .board-detail .story { font-size: 18px; line-height: 1.6; }
}

/* ── church lobby display ────────────────────────────────────────────────── */
body.lobby { background: var(--primary-dark); color: #fff; margin: 0; min-height: 100vh; }
.lobby-in { min-height: 100vh; box-sizing: border-box; padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; gap: clamp(20px, 3vw, 40px); }
.lobby-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.lobby-brand { display: flex; align-items: center; gap: 14px; }
.lobby-mark { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: none; display: grid; place-items: center; flex: none; }
.lobby-kicker { margin: 0; color: #CFE2F3; font-weight: 600; font-size: clamp(14px, 1.4vw, 17px); }
.lobby-title { margin: 0; font-weight: 700; font-size: clamp(20px, 2.4vw, 30px); }
.lobby-count { margin: 0; color: #CFE2F3; font-size: clamp(13px, 1.3vw, 16px); }
.lobby-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 30vw, 380px); gap: clamp(24px, 4vw, 56px); align-items: center; }
.lobby-need { display: flex; flex-direction: column; gap: clamp(12px, 1.6vw, 20px); }
.lobby-need h1 { margin: 0; font-size: clamp(40px, 6vw, 76px); line-height: 1.04; letter-spacing: -.02em; color: #fff; }
.lobby-who { margin: 0; font-size: clamp(18px, 2.2vw, 28px); color: #CFE2F3; }
.lobby .bar { height: clamp(18px, 2vw, 28px); background: rgba(255, 255, 255, .18); }
.lobby .bar-label { color: #E8EEF5; font-size: clamp(18px, 2.2vw, 28px); margin-top: 12px; }
.lobby .bar-label b { color: #fff; }
.lobby .bar-label, .lobby .bar-label span { color: #E8EEF5; }
.lobby-in:has(.lobby-full) .lobby-dots { margin-right: 230px; }
.lobby .bar-label .near { color: #9FE3C3; }
.lobby-card { background: #fff; color: var(--ink); border-radius: 16px; padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.lobby-qr { width: 100%; max-width: 280px; aspect-ratio: 1; }
.lobby-qr svg { width: 100%; height: 100%; display: block; }
.lobby-card-h { margin: 6px 0 0; font-size: clamp(18px, 1.8vw, 24px); font-weight: 700; }
.lobby-card p:last-child { margin: 0; color: var(--ink-2); }
.lobby-dots { display: grid; gap: 12px; }
.lobby-dots span { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .3); }
.lobby-dots span.on { background: #fff; }
.lobby-loading { color: #CFE2F3; }
.lobby-full { position: fixed; right: 20px; bottom: 20px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .1); color: #fff; font: 600 15px var(--sans); cursor: pointer; }
@media (max-width: 760px) { .lobby-main { grid-template-columns: 1fr; } .lobby-card { max-width: 360px; } }

/* ── neighborly layer ─────────────────────────────────────────────
   A kitchen-table feel: warm paper, a blue gingham edge like a picnic
   tablecloth, soft shadows instead of hard lines, and friendly object
   icons (Fluent Emoji Flat). UI controls keep the simple line icons. */
:root {
  --page: #FAF6EF;
  --warm-tint: #F5EEE3;
  --card-line: #EEE6D8;
  --lift: 0 1px 0 rgba(90, 66, 30, .04), 0 10px 28px -16px rgba(90, 66, 30, .22);
  --lift-hover: 0 1px 0 rgba(90, 66, 30, .05), 0 16px 34px -16px rgba(34, 71, 107, .30);
  --gingham-ink: rgba(74, 134, 197, .42);
}
body {
  background-color: var(--page);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .26 0 0 0 0 .12 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* gingham: two see-through stripes crossing make the checks */
.gingham, .site-head::before, .site-foot::before, .thanks-card::before {
  background-color: #fff;
  background-image:
    repeating-linear-gradient(90deg, var(--gingham-ink) 0 var(--sq, 6px), transparent var(--sq, 6px) calc(var(--sq, 6px) * 2)),
    repeating-linear-gradient(0deg, var(--gingham-ink) 0 var(--sq, 6px), transparent var(--sq, 6px) calc(var(--sq, 6px) * 2));
}
.site-head { border-bottom-color: var(--card-line); }
.site-head::before { content: ''; display: block; height: 6px; --sq: 6px; }
.site-foot { position: relative; border-top: 0; background: #FFFDF9; }
.site-foot::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; --sq: 8px; }

.card, .need, .home-card, .gift-item, .step, .try-card { border-color: var(--card-line); box-shadow: var(--lift); }
.card, .need, .home-card, .step { border-radius: 16px; }
.need:hover, .gift-item:hover, .step:hover { border-color: var(--card-line); box-shadow: var(--lift-hover); }
.step[aria-pressed="true"] { border-color: var(--primary); }
.thumb { border-color: var(--card-line); border-radius: 16px; }
.btn:not(.ghost):not(.danger) { box-shadow: var(--lift); }
.btn.ghost { border-color: var(--card-line); box-shadow: var(--lift); }
.cat-chip { border-color: var(--card-line); box-shadow: var(--lift); }
.empty { border-color: var(--card-line); background: #FFFDF9; }
.day-one-obj { display: block; margin-bottom: 8px; }
.day-one h3 { margin-top: 0; }

/* the thank-you note: a white card with a tablecloth edge */
.thanks-card { position: relative; overflow: hidden; margin-top: 32px; background: #fff; color: var(--ink); border: 1px solid var(--card-line); border-radius: 16px; padding: 34px 28px 28px; box-shadow: var(--lift); }
.thanks-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 12px; --sq: 6px; --gingham-ink: rgba(35, 136, 90, .38); }
.thanks-art { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.thanks-obj { width: 76px; height: 76px; border-radius: 16px; display: grid; place-items: center; background: var(--green-bg); }
.sticker { display: inline-block; padding: 6px 14px; border-radius: 6px; background: #FFF1B8; color: #6B4E0E; font-weight: 700; font-size: 15px; letter-spacing: .02em; transform: rotate(-4deg); box-shadow: var(--lift); }
.thanks-card .thanks-h { margin: 0 0 8px; font-size: clamp(26px, 4vw, 32px); color: var(--ink); }
.thanks-card p { margin: 0 0 10px; max-width: 40em; color: var(--ink-2); }
.thanks-card p:first-of-type { font-size: 18px; color: var(--ink); }
.thanks-card .btn-row { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .sticker { transform: none; } }

/* ── links, on purpose ─────────────────────────────────────────────
   Three kinds only: buttons for actions, arrow links for "go read more",
   and soft underlines for the rare link inside a sentence. */
a { text-decoration-color: rgba(47, 93, 140, .35); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); text-decoration: none; }
.arrow-link::after { content: ''; width: 16px; height: 16px; flex: none; background: currentColor; transition: transform .15s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.arrow-link.out::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E"); }
.arrow-link:hover { color: var(--primary-dark); }
.arrow-link:hover::after { transform: translateX(3px); }
.arrow-link.out:hover::after { transform: translate(2px, -2px); }
a.arrow-link.mt { display: inline-flex; margin-top: 16px; }
.mt-lg { margin-top: 36px; }

/* ── footer ───────────────────────────────────────────────────── */
.site-foot { padding: 48px 0 0; font-size: 15px; color: var(--ink-2); }
.site-foot .wrap { display: block; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--primary); }
.site-foot .wrap.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot-brand p { margin: 14px 0 0; max-width: 30em; line-height: 1.5; }
.foot-brand .logo { font-size: 18px; }
.foot-promise { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 600; }
.foot-promise svg { flex: none; color: var(--primary); margin-top: 1px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col .label { margin: 4px 0 4px; }
.foot-col a { font-weight: 500; }
#tip-slot:empty { display: none; }
.tip-door { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; background: var(--warm-tint); border: 0; border-radius: 16px; padding: 18px 22px; color: var(--ink-2); }
.tip-door p { margin: 0; flex: 1 1 360px; }
.tip-door strong { color: var(--ink); }
.tip-door .btn { flex: none; color: var(--ink); background: #fff; }
.tip-door .btn svg { color: #C2410C; }
.site-foot .wrap.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; margin-top: 36px; padding-top: 19px; padding-bottom: 28px; background: linear-gradient(var(--card-line), var(--card-line)) center top / calc(100% - 40px) 1px no-repeat; font-size: 13px; color: var(--ink-3); }
.foot-bottom p { margin: 0; }
.foot-bottom a { color: var(--ink-3); text-decoration: underline; text-decoration-color: transparent; }
.foot-bottom a:hover { text-decoration-color: currentColor; }
@media (max-width: 860px) { .site-foot .wrap.foot-grid { grid-template-columns: repeat(3, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-foot .wrap.foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; } }

/* ── about: who made this ─────────────────────────────────────── */
.maker-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 18px; }
.maker { position: relative; display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--card-line); border-radius: 16px; padding: 18px 44px 18px 18px; text-decoration: none; color: var(--ink); box-shadow: var(--lift); transition: box-shadow .15s, transform .15s; }
.maker:hover { box-shadow: var(--lift-hover); transform: translateY(-2px); }
.maker .label { margin: 0; }
.maker b { font-size: 18px; line-height: 1.25; }
.maker-sub { font-size: 15px; color: var(--ink-3); line-height: 1.4; }
.maker::after { content: ''; position: absolute; top: 18px; right: 18px; width: 16px; height: 16px; background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ── charities: good to know ──────────────────────────────────── */
.know-list { display: grid; gap: 12px; margin-top: 14px; }
.know { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--card-line); border-radius: 16px; padding: 18px; box-shadow: var(--lift); }
.know b { display: block; font-size: 16px; margin-top: 2px; }
.know p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.know .arrow-link { margin-top: 10px; font-size: 15px; }

/* ── phones: comfortable tap targets ─────────────────────────────────────────
   Footer links were about 23px tall; 44px is the comfortable minimum for a thumb.
   The two hero buttons share one width so they read as a pair. */
@media (max-width: 720px) {
  .foot-col { gap: 0; }
  .foot-col a { display: flex; align-items: center; min-height: 44px; }
  .foot-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 520px) {
  .lp-hero .btn-row .btn { flex: 1 1 100%; }
}

/* ── Continue with Google ──────────────────────────────────────────────────── */
.google-box { display: grid; gap: 10px; justify-items: start; margin: 6px 0 4px; }
.g-btn { min-height: 44px; width: 100%; max-width: 320px; }
.or-line { display: flex; align-items: center; gap: 12px; width: 100%; margin: 8px 0 0; color: var(--ink-3); font-size: 15px; }
.or-line::before, .or-line::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── Give with PayPal: pick an amount, then PayPal ─────────────────────────── */
.give-pp { display: grid; gap: 10px; }
.give-pp .chips { margin-top: 0; }
.give-money { height: 52px; margin-top: 0; border-radius: 10px; padding: 0 14px; }
.give-money span { font-size: 22px; }
.give-money input { font-size: 22px !important; }

/* ── page frame: the footer always sits at the bottom, however short the page ── */
body:not(.lobby) { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body:not(.lobby) > * { flex-shrink: 0; }
body:not(.lobby) > main { flex: 1 0 auto; width: 100%; }

/* ── setup card (Connect PayPal / Ko-fi): calm, credible, one clear action ───── */
.setup-card { padding: 28px 24px; display: grid; gap: 12px; }
.setup-card .eyebrow { margin: 0; }
.setup-h { margin: 0; font-size: 28px; line-height: 1.2; }
.setup-steps { list-style: none; margin: 6px 0 4px; padding: 14px 16px; display: grid; gap: 10px; background: var(--sand, #F4EDE2); border-radius: 16px; }
.ss { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.ss-dot { width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 50%; }
.ss.done { color: var(--ink-3); }
.ss.done .ss-dot { color: var(--green, #23885A); }
.ss.wait .ss-dot { border: 2px dashed var(--ink-3); }
.ss.now { color: var(--ink); font-weight: 700; }
.ss.now .ss-dot { border: 2px solid var(--primary); box-shadow: inset 0 0 0 4px #fff; background: var(--primary); }
/* PayPal's own button colors, so people recognize where they're going */
.btn-paypal { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; margin-top: 4px; border: 0; border-radius: 999px;
  background: #FFC439; color: #111; font: 700 18px/1 var(--sans); cursor: pointer; transition: filter .15s, transform .15s; }
.btn-paypal:hover { filter: brightness(.96); }
.btn-paypal:active { transform: scale(.99); }
.btn-paypal:disabled { opacity: .7; cursor: wait; }
.trust { display: flex; gap: 8px; align-items: flex-start; margin: 2px 0 0; font-size: 13px; color: var(--ink-3); }
.trust span { color: var(--green, #23885A); margin-top: 1px; }
.setup-alt { margin: 6px 0 0; padding-top: 14px; border-top: 1px solid var(--card-line, #EEE6D8); font-size: 15px; color: var(--ink-3); text-align: center; }

/* home-screen card: title on its own line, button under it (no overlap) */
.install > div { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.install > div > b { display: block; }
.install .btn.mt-sm { margin-top: 0; }
.pp-form { display: grid; gap: 10px; }
.pp-label { font-weight: 600; font-size: 15px; margin: 4px 0 0; }
.pp-form input { min-height: 52px; font-size: 18px; }
.give-chips .chip { flex-direction: column; justify-content: center; line-height: 1.1; gap: 2px; }
.give-chips .chip small { font-size: 12px; font-weight: 500; color: var(--ink-3); }

/* ── checkout-style give box: amount → short receipt → PayPal's buttons ─────── */
.co-receipt { display: grid; gap: 4px; padding: 10px 0; border-top: 1px solid var(--card-line, #EEE6D8); border-bottom: 1px solid var(--card-line, #EEE6D8); font-size: 15px; }
.co-receipt > div { display: flex; justify-content: space-between; color: var(--ink-2); }
.co-receipt .co-total { color: var(--ink); font-weight: 700; margin-top: 2px; }
.co-free { color: var(--green, #23885A); font-weight: 600; }
.co-buttons:empty { display: none; }
.co-buttons { min-height: 48px; }
.co-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 2px 0 0; font-size: 13px; color: var(--ink-3); }
.co-secure span { color: var(--green, #23885A); display: inline-flex; }

/* ── My page: Home · Gifts · Settings (account-dashboard layout) ──────────── */
.mp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mp-head h1 { font-size: clamp(26px, 6vw, 34px); }
.mp-add { flex: none; gap: 6px; }
.mp-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--card-line, #EEE6D8); margin: 8px 0 18px; overflow-x: auto; }
.mp-tab { appearance: none; border: 0; background: none; padding: 10px 0; font: 600 15px var(--sans); color: var(--ink-3); border-bottom: 2.5px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; }
.mp-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--primary); }
.mp-panel { display: grid; gap: 14px; }
.mp-panel > h2 { margin: 10px 0 -4px; font-size: 18px; }
.mp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mp-tile { background: #fff; border: 1px solid var(--card-line, #EEE6D8); border-radius: 16px; padding: 12px 14px; display: grid; gap: 2px; }
.mp-tile span { font-size: 13px; color: var(--ink-3); }
.mp-tile b { font-size: 22px; line-height: 1.2; color: var(--ink); }
.mp-need { display: grid; gap: 8px; }
.mp-facts { margin: 0; }
.mp-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.mp-actions .btn { gap: 6px; }
.mp-menu { position: relative; margin-left: auto; }
.mp-menu > summary { list-style: none; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); border: 1px solid var(--card-line, #EEE6D8); background: #fff; }
.mp-menu > summary::-webkit-details-marker { display: none; }
.mp-menu[open] > summary { background: var(--sand); }
.mp-menu-list { position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 20; min-width: 220px; background: #fff; border: 1px solid var(--card-line, #EEE6D8); border-radius: 16px; padding: 6px; box-shadow: var(--lift); display: grid; }
.mp-menu-item { appearance: none; border: 0; background: none; text-align: left; padding: 11px 12px; border-radius: 10px; font: 500 15px var(--sans); color: var(--ink); cursor: pointer; }
.mp-menu-item:hover { background: var(--sand); }
.mp-menu-item.danger { color: var(--red, #B3261E); border-top: 1px solid var(--card-line, #EEE6D8); border-radius: 0 0 10px 10px; margin-top: 4px; }
.mp-gifts-head { align-items: center; }
.mp-gifts-head b { font-size: 22px; }
.mp-feed { list-style: none; margin: 0; padding: 4px 18px; }
.mp-feed li { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--card-line, #EEE6D8); }
.mp-feed li:last-child { border-bottom: 0; }
.mp-feed li.is-muted { opacity: .7; }
.mp-feed-who { min-width: 0; }
.mp-feed-when { display: block; margin-top: 2px; }
.mp-feed-amt { text-align: right; display: grid; justify-items: end; gap: 2px; white-space: nowrap; }
.mp-accounts { padding: 4px 18px; }
.mp-account { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--card-line, #EEE6D8); flex-wrap: wrap; }
.mp-account:last-child { border-bottom: 0; }
.mp-account-r { display: flex; gap: 14px; align-items: center; }
.mp-ok { color: var(--green, #23885A); font-weight: 600; }
.mp-tool { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.mp-empty { text-align: center; display: grid; gap: 8px; justify-items: center; padding: 28px 20px; }
@media (max-width: 520px) { .mp-tile b { font-size: 18px; } .mp-tile { padding: 10px 12px; } .mp-head { align-items: center; } }


/* ── design system (one layer on top: flat buttons, one card shadow, flat money bar) ── */
:root {
  --lift: 0 1px 2px rgba(29, 39, 51, .05), 0 8px 24px -14px rgba(29, 39, 51, .18);
  --lift-hover: 0 1px 2px rgba(29, 39, 51, .06), 0 12px 28px -14px rgba(29, 39, 51, .24);
}
.btn, .btn:not(.ghost):not(.danger), .btn.ghost, .btn-paypal, .give-btn, .mp-add { box-shadow: none; }
.btn.ghost { border-color: var(--border-strong, #D9D2C5); }
.bar .solid { background: var(--primary); background-size: auto; }
.lb-card.covered .bar .solid, .is-covered .bar .solid { background: var(--green); }

/* ── money is the hero: big amounts on big bars, aligned digits everywhere money shows ── */
.bar-label b, .co-receipt, .mp-tile b, .mp-feed-amt, .mp-gifts-head b, .give-amt { font-variant-numeric: tabular-nums; }
.bar-label.big { align-items: baseline; }
.bar-label.big > span:first-child { font-size: 15px; color: var(--ink-3); }
.bar-label.big b { font-size: 28px; line-height: 1.1; letter-spacing: -.01em; margin-right: 2px; }
.co-total span:last-child { font-size: 18px; }
.mp-gifts-head b { font-size: 28px; }

/* ── homepage demo: the same pieces as the real give box ── */
.try-card .give-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.try-card .btn-paypal { margin-top: 2px; }
.try-pay { margin: 0; text-align: center; font-size: 13px; color: var(--ink-3); }

/* ── phones: the demo comes right after the headline and buttons ── */
@media (max-width: 860px) {
  .lp-hero-in { flex-direction: column; gap: 20px; }
  .lp-copy { display: contents; }
  .lp-copy > .label { order: 1; } .lp-copy > .lp-h1 { order: 2; } .lp-copy > .lp-lede { order: 3; } .lp-copy > .btn-row { order: 4; }
  .lp-hero-in > .try { order: 5; max-width: none; width: 100%; flex: none; }
  .lp-copy > .promises { order: 6; } .lp-copy > .lp-maker { order: 7; }
}

/* ── thank-you: a calm check instead of an object and a tilted sticker ── */
.thanks-obj { width: 56px; height: 56px; border-radius: 16px; color: var(--green); }
.thanks-label { font-weight: 700; font-size: 15px; color: var(--green); }

/* ── photo band: lighter. The photo stays; the words sit on a cream card, not dark shading ── */
.photo-band { color: var(--ink); background: #E8E2D6 url('/img/table-band.jpg') center 40% / cover no-repeat; min-height: 320px; }
.photo-band p { text-shadow: none; }
.photo-band .wrap { padding-bottom: 24px; }
.photo-band .photo-line, .photo-band .photo-sub { max-width: 520px; }
.photo-band .photo-line { background: rgba(250, 246, 239, .94); padding: 18px 22px 4px; border-radius: 16px 16px 0 0; display: block; width: fit-content; font-size: clamp(22px, 3vw, 28px); }
.photo-band .photo-sub { background: rgba(250, 246, 239, .94); padding: 4px 22px 18px; border-radius: 0 0 16px 16px; margin-top: 0; color: var(--ink-2); font-size: 16px; width: fit-content; }
/* big amounts: "$216 of $300" stays on one line; the status moves under it when space is tight */
.bar-label.big { flex-wrap: wrap; row-gap: 2px; }
.bar-label.big > span { white-space: nowrap; }

/* ── button standard (one system, like PayPal's) ──────────────────────────────
   Primary  = navy pill · Secondary = white pill with a thin border · PayPal = yellow pill (PayPal only)
   Sizes    = large 52/18 · regular 44/16 · small 36/15 · all weight 600, all in the site font
   Icon     = 44px circle (menu, back, pause, ⋯) · Chips (amount pickers) keep 10px corners: they choose, not act */
:where(button, input, select, textarea) { font: inherit; }
.btn { min-height: 44px; padding: 0 22px; font-size: 16px; font-weight: 600; border-radius: 999px; }
.btn.small { min-height: 36px; padding: 0 16px; font-size: 15px; }
.btn.lg, .btn.big { min-height: 52px; padding: 0 26px; font-size: 18px; border-radius: 999px; }
.btn.ghost { color: var(--ink); }
.btn-paypal { min-height: 52px; font-size: 18px; font-weight: 600; }
.menu-btn, .wiz-back, .wt-play, .mp-menu > summary { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border-strong); background: #fff; color: var(--ink); }
.install-x { width: 44px; height: 44px; border-radius: 999px; }
.faq summary, .faq-item summary { font-weight: 600; font-size: 18px; }
.chip { font-weight: 600; }

/* ── "Put this on your website" (widget code on My page) ── */
.embed-panel { display: grid; gap: 10px; border-top: 1px solid var(--card-line, #EEE6D8); padding-top: 14px; margin-top: 6px; }
.embed-preview { width: 100%; max-width: 420px; height: 320px; border: 0; background: transparent; }
.embed-code { display: grid; gap: 6px; justify-items: start; }
.embed-code pre { white-space: pre-wrap; word-break: break-all; margin: 0; width: 100%; }
.mp-tool-wrap { display: grid; gap: 4px; }
.mp-tool-wrap > .mp-tool { padding: 0; }

/* "A neighbor's work": its own section after the basic needs */
.lane-head { padding-top: 20px; margin-top: 8px; border-top: 1px solid var(--border); }
.lane-head h3 { margin: 0 0 2px; }
.board-list .lane-head, #list .lane-head { padding: 18px 4px 6px; }

/* Sign-in card (find.html): one centered card, PayPal-style */
.signin-wrap { display: flex; justify-content: center; align-items: flex-start; padding: 48px 16px 64px; box-sizing: border-box; }
.signin-card { width: 100%; max-width: 420px; padding: 36px 32px 28px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.signin-card h1 { font-size: 28px; line-height: 1.2; margin: 4px 0 0; }
.signin-card .muted { margin: 0; font-size: 16px; }
.signin-mark { width: 48px; height: 48px; }
.signin-google { width: 100%; display: flex; justify-content: center; margin-top: 6px; }
.signin-google .g-btn { max-width: 320px; display: flex; justify-content: center; }
.signin-form { width: 100%; display: grid; gap: 8px; text-align: left; margin: 0; }
.signin-form .or-line { margin: 0 0 2px; }
.signin-form label { font-weight: 600; font-size: 15px; }
.signin-form input { width: 100%; }
.signin-form .btn { margin-top: 8px; }
.btn-block { width: 100%; }
.signin-card .notice { width: 100%; text-align: left; margin: 0; }
.signin-foot { margin: 10px 0 0; padding-top: 18px; border-top: 1px solid var(--border); width: 100%; font-size: 15px; color: var(--ink-3); }
.signin-foot a { font-weight: 600; }
@media (max-width: 480px) { .signin-wrap { padding-top: 24px; } .signin-card { padding: 28px 20px 22px; } }

/* Place pages (/places, /places/az/flagstaff): sent as finished HTML for search */
.place .place-wide, .place .grid { max-width: none; }
.place-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-2); font-size: 16px; margin: 14px 0 0; }
.place-stats b { color: var(--ink); font-size: 18px; }
.place-av { font-weight: 700; font-size: 18px; color: var(--primary-dark); background: var(--primary-bg); }
.place-list { list-style: none; padding: 0; margin: 8px 0 0; }
.place-list li { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.place-list a { font-weight: 600; font-size: 18px; }
.place-list span { color: var(--ink-3); font-size: 14px; }
.place-covered { padding-left: 1.2em; color: var(--ink-2); }
.place-covered li { margin: 4px 0; } .place-covered li::marker { content: '✓  '; color: var(--green); }
.place-covered span { color: var(--ink-3); }
.place-steps { padding-left: 1.3em; color: var(--ink-2); } .place-steps li { margin: 8px 0; }
.place h2 { margin-top: 40px; }
