/* One Good Dollar
   Direction: a warm, plain, trustworthy Canadian page. Cream paper, deep
   spruce green, a loonie gold accent, charcoal text. No gradient hero, no
   stock cliches. Type: Fraunces (display serif, warm and slightly old
   fashioned, like a shop sign) with Figtree (clear friendly sans for body
   and interface). Mobile first. */

:root {
  --paper: #FBF7EE;
  --cream: #F2E9D6;
  --cream-deep: #E4D7BC;
  --spruce: #1F4A3C;
  --spruce-deep: #143229;
  --spruce-soft: #2C6450;
  --gold: #C89B3C;
  --gold-deep: #A87D22;
  --gold-text: #7A5A12; /* gold dark enough to read on cream (contrast 5.6 to 1) */
  --gold-pale: #F3E3B8;
  --ink: #1C1A17;
  --stone: #6B665C;
  --line: rgba(28, 26, 23, .14);
  --line-light: rgba(251, 247, 238, .18);
  --white: #FFFFFF;
  --bad: #A4342A;
  --good: #1E6B3A;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Figtree', system-ui, Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 24px 60px rgba(28, 26, 23, .12);
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 36px; } }
@media (min-width: 1200px) { .wrap { padding: 0 44px; } }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  color: var(--spruce-deep);
  letter-spacing: -.015em;
  font-variation-settings: "SOFT" 60, "WONK" 0, "opsz" 72;
}
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; }
p { max-width: 62ch; }
.lede { font-size: 1.12rem; color: var(--stone); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: var(--gold-text); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.eyebrow-light { color: var(--gold); }

.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 104px 0; } }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head .lede { margin-top: .3rem; }
.section-head-light h2 { color: var(--paper); }
.section-head-light .lede { color: var(--cream-deep); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  font-weight: 700; font-size: 1rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-primary { background: var(--spruce); color: var(--paper); border-color: var(--spruce); box-shadow: 0 12px 28px rgba(31, 74, 60, .25); }
.btn-primary:hover { background: var(--spruce-deep); border-color: var(--spruce-deep); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); box-shadow: 0 12px 28px rgba(200, 155, 60, .3); }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--paper); transform: translateY(-2px); }
.btn-outline { color: var(--spruce-deep); border-color: var(--spruce); }
.btn-outline:hover { background: var(--spruce); color: var(--paper); }
.btn-outline-light { color: var(--paper); border-color: rgba(251, 247, 238, .5); }
.btn-outline-light:hover { border-color: var(--paper); background: rgba(251, 247, 238, .08); }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; box-shadow: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(28, 26, 23, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.coin {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  font-family: var(--display); font-weight: 600; font-size: 1.35rem;
  box-shadow: inset 0 0 0 3px var(--gold-deep), inset 0 0 0 5px var(--gold);
}
.brand-text { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--spruce-deep); letter-spacing: -.01em; line-height: 1; }
.brand-light .brand-text { color: var(--paper); }

.site-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--spruce-deep);
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 32px 24px;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  z-index: 49;
}
.site-nav.open { transform: translateX(0); visibility: visible; }
.site-nav { visibility: hidden; }
html { overflow-x: hidden; }
.site-nav a {
  font-family: var(--display); font-size: 1.8rem; font-weight: 500;
  color: var(--paper); padding: 12px 0; border-bottom: 1px solid var(--line-light);
}
.site-nav a.active { color: var(--gold); }
.site-nav .nav-cta { margin-top: 20px; background: var(--gold); color: var(--ink); padding: 16px 22px; border: 0; text-align: center; border-radius: 999px; font-family: var(--body); font-weight: 700; font-size: 1.1rem; }
.nav-toggle { width: 44px; height: 44px; display: grid; place-items: center; position: relative; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--spruce-deep); transition: transform .3s var(--ease), opacity .3s; position: absolute; }
.nav-toggle span:nth-child(1) { transform: translateY(-8px); }
.nav-toggle span:nth-child(3) { transform: translateY(8px); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; inset: auto; transform: none; visibility: visible; background: none; flex-direction: row; align-items: center; gap: 28px; padding: 0; }
  .site-nav a { font-family: var(--body); font-size: .98rem; font-weight: 600; color: var(--ink); padding: 6px 0; border: 0; position: relative; }
  .site-nav a.active { color: var(--gold-text); }
  .site-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
  .site-nav .nav-cta { margin: 0; background: var(--spruce); color: var(--paper); padding: 11px 20px; font-size: .95rem; }
  .site-nav .nav-cta::after { display: none; }
  .site-nav .nav-cta:hover { background: var(--gold); color: var(--ink); }
}

/* Hero */
.hero { position: relative; padding: 56px 0 64px; background: var(--paper); overflow: hidden; }
.hero-grid { display: grid; gap: 40px; }
.hero-title {
  font-size: clamp(2.7rem, 9.5vw, 5.4rem);
  font-weight: 500;
  line-height: 1.02;
  margin-bottom: 1.3rem;
}
.hero-title em { font-style: italic; color: var(--spruce-soft); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72; }
.hero-lede { font-size: 1.15rem; color: var(--stone); max-width: 52ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.2rem; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; }
.hero-facts li { display: flex; flex-direction: column; gap: 2px; }
.hero-facts strong { font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--spruce-deep); line-height: 1.1; }
.hero-facts span { font-size: .82rem; color: var(--stone); line-height: 1.3; }
.hero-media { position: relative; }
.hero-img-wrap {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3;
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 8px solid var(--cream);
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.hero-badge {
  position: absolute; left: -6px; bottom: -18px;
  width: 124px; height: 124px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  display: grid; place-content: center; text-align: center;
  box-shadow: inset 0 0 0 4px var(--gold-deep), inset 0 0 0 7px var(--gold), 0 14px 30px rgba(28, 26, 23, .18);
  font-family: var(--display);
}
.hero-badge strong { display: block; font-size: 2rem; font-weight: 600; line-height: 1; }
.hero-badge span { display: block; font-family: var(--body); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-top: 4px; }
.hero-media figcaption { margin-top: 30px; font-size: .82rem; color: var(--stone); }
@media (min-width: 900px) {
  .hero { padding: 88px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; }
  .hero-title { font-size: clamp(3.6rem, 5.6vw, 5.6rem); }
  .hero-badge { left: auto; right: -22px; bottom: 40px; width: 150px; height: 150px; }
  .hero-badge strong { font-size: 2.5rem; }
  .hero-media figcaption { margin-top: 14px; }
}

/* Plain statement strip */
.strip { background: var(--spruce-deep); color: var(--paper); padding: 26px 0; }
.strip-inner { display: grid; gap: 12px; }
.strip p { max-width: none; font-family: var(--display); font-size: 1.25rem; line-height: 1.35; }
.strip p span { color: var(--gold); }
@media (min-width: 768px) { .strip-inner { grid-template-columns: repeat(3, 1fr); gap: 32px; } .strip p { font-size: 1.2rem; } }

/* How it works */
.how { background: var(--paper); }
.steps { display: grid; gap: 24px; }
.step { position: relative; padding: 28px 24px 30px; border-top: 2px solid var(--spruce); }
.step-num { font-family: var(--display); font-size: 3.2rem; font-weight: 300; color: var(--gold-deep); line-height: 1; display: block; margin-bottom: 14px; font-variation-settings: "SOFT" 100, "opsz" 144; }
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--stone); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

/* Give */
.give { background: var(--cream); }
.give-grid { display: grid; gap: 32px; }
.charity-grid { display: grid; gap: 12px; }
.charity {
  display: flex; flex-direction: column; gap: 6px; text-align: left; width: 100%;
  background: var(--white); border: 2px solid transparent; border-radius: var(--radius-sm);
  padding: 18px 18px 16px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.charity:hover { box-shadow: 0 10px 26px rgba(28, 26, 23, .08); transform: translateY(-2px); }
.charity[aria-pressed="true"] { border-color: var(--spruce); box-shadow: 0 0 0 4px rgba(31, 74, 60, .12); }
.charity-name { font-family: var(--display); font-size: 1.15rem; font-weight: 600; color: var(--spruce-deep); line-height: 1.2; }
.charity-what { font-size: .9rem; color: var(--stone); line-height: 1.45; }
.charity-via { font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); margin-top: 6px; }
.charity-via.via-ch { color: var(--spruce-soft); }
.charity-check { position: absolute; }
.charity { position: relative; }
.charity::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--cream-deep); background: var(--white);
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.charity[aria-pressed="true"]::after { background: var(--spruce); border-color: var(--spruce); box-shadow: inset 0 0 0 4px var(--white); }
@media (min-width: 600px) { .charity-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .give-grid { grid-template-columns: 1.3fr .9fr; gap: 48px; align-items: start; } .give-panel { position: sticky; top: calc(var(--header-h) + 24px); } }

.give-panel { background: var(--spruce-deep); color: var(--paper); border-radius: var(--radius); padding: 28px 24px 30px; box-shadow: var(--shadow); }
.give-panel h3 { color: var(--paper); margin-bottom: 16px; font-size: 1.3rem; }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.amount {
  padding: 14px 6px; border-radius: var(--radius-sm); text-align: center;
  background: rgba(251, 247, 238, .08); border: 2px solid rgba(251, 247, 238, .18);
  font-family: var(--display); font-size: 1.3rem; font-weight: 600; color: var(--paper);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.amount:hover { border-color: var(--gold); }
.amount[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.amount-other { display: none; margin-bottom: 14px; }
.amount-other.show { display: block; }
.amount-other label { color: var(--cream-deep); font-size: .85rem; }
.amount-other .other-row { display: flex; align-items: center; gap: 8px; }
.amount-other .other-row span { font-family: var(--display); font-size: 1.4rem; }
.amount-other input { max-width: 160px; background: var(--paper); color: var(--ink); border: 0; }
.give-message { font-family: var(--display); font-size: 1.35rem; line-height: 1.3; color: var(--paper); margin: 8px 0 18px; min-height: 2.6em; max-width: none; }
.give-message strong { color: var(--gold); font-weight: 600; }
.give-note { font-size: .84rem; color: var(--cream-deep); margin-top: 14px; max-width: none; }
.give-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.give-fine { font-size: .82rem; color: var(--stone); margin-top: 20px; max-width: none; }
.give-fine a { text-decoration: underline; text-underline-offset: 3px; }

/* Why 100 percent is true */
.why { background: var(--paper); }
.why-grid { display: grid; gap: 40px; }
.why-copy h2 { max-width: 18ch; }
.flow { display: grid; gap: 0; margin-top: 28px; counter-reset: flow; }
.flow li { position: relative; padding: 18px 0 18px 54px; border-top: 1px solid var(--line); }
.flow li:last-child { border-bottom: 1px solid var(--line); }
.flow li::before {
  counter-increment: flow; content: counter(flow);
  position: absolute; left: 0; top: 16px;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--spruce-deep); font-family: var(--display); font-weight: 600;
}
.flow strong { display: block; color: var(--spruce-deep); font-weight: 700; }
.flow p { color: var(--stone); font-size: .97rem; }
.why-media { position: relative; }
.why-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.why-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.why-img-small { width: 56%; margin: -22% 0 0 auto; position: relative; border: 8px solid var(--paper); }
.callout { margin-top: 32px; background: var(--gold-pale); border-left: 6px solid var(--gold); padding: 20px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.callout p { max-width: none; font-size: .98rem; }
.callout strong { color: var(--spruce-deep); }
@media (min-width: 900px) { .why-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; } }

/* Shops */
.shops { background: var(--spruce); color: var(--paper); position: relative; }
.shops-grid { display: grid; gap: 40px; }
.shops-copy h2 { color: var(--paper); }
.shops-copy > p { color: var(--cream-deep); }
.shop-points { margin: 24px 0; display: grid; gap: 12px; }
.shop-points li { padding-left: 30px; position: relative; color: var(--paper); font-weight: 500; }
.shop-points li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); box-shadow: inset 0 0 0 3px var(--spruce); }
.shop-img { border-radius: var(--radius); overflow: hidden; margin-top: 28px; border: 6px solid rgba(251, 247, 238, .12); }
.shop-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.shops-copy .shop-alt { color: var(--cream-deep); font-size: .95rem; margin-top: 18px; }
.shops-copy .shop-alt a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.shop-form { background: var(--paper); color: var(--ink); padding: 28px 22px 30px; border-radius: var(--radius); border-top: 8px solid var(--gold); }
.shop-form h3 { margin-bottom: 6px; }
.shop-form .form-intro { color: var(--stone); font-size: .95rem; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; gap: 0; }
label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; color: var(--spruce-deep); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 14px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
input::placeholder, textarea::placeholder { color: #A39B90; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--spruce); box-shadow: 0 0 0 3px rgba(31, 74, 60, .18); }
textarea { resize: vertical; min-height: 100px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); }
.error { display: block; min-height: 1.1em; font-size: .8rem; color: var(--bad); margin-top: 4px; }
.form-status { margin-top: 14px; font-size: .95rem; min-height: 1.4em; max-width: none; }
.form-status.ok { color: var(--good); font-weight: 600; }
.form-status.bad { color: var(--bad); }
.form-status a { text-decoration: underline; }
.form-success { display: none; background: var(--gold-pale); border-radius: var(--radius-sm); padding: 22px; }
.form-success.show { display: block; }
.form-success h4 { font-size: 1.3rem; margin-bottom: 8px; }
.form-success p { max-width: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; gap: 0 16px; } .shop-form { padding: 34px 32px 36px; } }
@media (min-width: 960px) { .shops-grid { grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: start; } }

/* Transparency */
.transparency { background: var(--paper); }
.report-grid { display: grid; gap: 28px; }
.report-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.report-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.report-card p, .report-card li { color: var(--stone); font-size: .97rem; }
.report-card ul { display: grid; gap: 8px; margin-top: 10px; }
.report-card li { padding-left: 20px; position: relative; }
.report-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.report-date { display: inline-flex; align-items: center; gap: 10px; background: var(--spruce-deep); color: var(--paper); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: .95rem; margin-top: 18px; }
.report-date span { color: var(--gold); }
@media (min-width: 768px) { .report-grid { grid-template-columns: repeat(3, 1fr); } }

/* FAQ */
.faq { background: var(--cream); }
.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq-list details { background: var(--white); border-radius: var(--radius-sm); border: 1px solid transparent; transition: border-color .25s var(--ease); }
.faq-list details[open] { border-color: var(--spruce); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative;
  font-family: var(--display); font-size: 1.15rem; font-weight: 600; color: var(--spruce-deep);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--spruce-deep); font-family: var(--body); font-weight: 700;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list .faq-body { padding: 0 20px 20px; color: var(--stone); }
.faq-list .faq-body p { max-width: none; }
.faq-list .faq-body p + p { margin-top: 10px; }
.faq-list .faq-body a { color: var(--spruce-deep); text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.site-footer { background: var(--spruce-deep); color: var(--cream-deep); padding: 56px 0 28px; }
.footer-grid { display: grid; gap: 32px; }
.footer-tag { margin-top: 16px; font-size: .95rem; max-width: 40ch; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-weight: 600; color: var(--paper); }
.footer-nav a:hover { color: var(--gold); }
.footer-note p { max-width: 44ch; font-size: .92rem; }
.footer-note p + p { margin-top: 8px; }
.footer-base {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-light);
  display: flex; flex-direction: column; gap: 8px; font-size: .85rem;
}
.footer-base p { max-width: none; }
.footer-base a:hover { color: var(--gold); }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.3fr .7fr 1fr; gap: 40px; }
  .footer-base { flex-direction: row; justify-content: space-between; }
}

/* Back to top */
.back-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--spruce-deep); color: var(--paper); font-size: 1.2rem;
  box-shadow: 0 10px 24px rgba(28, 26, 23, .2);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* Inner pages */
.page-hero { background: var(--cream); padding: 56px 0 48px; }
.page-hero h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); margin-bottom: .8rem; }
.page-hero .lede { max-width: 60ch; }
.page-hero .updated { margin-top: 14px; font-size: .85rem; color: var(--stone); }
.prose { padding: 56px 0 80px; }
.prose-inner { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin: 44px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin: 28px 0 8px; }
.prose p { max-width: none; margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 0; display: grid; gap: 8px; }
.prose ul li { padding-left: 22px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.prose ol { counter-reset: ol; }
.prose ol li { padding-left: 34px; position: relative; counter-increment: ol; }
.prose ol li::before { content: counter(ol) "."; position: absolute; left: 0; top: 0; font-family: var(--display); font-weight: 600; color: var(--gold-deep); }
.prose a { color: var(--spruce-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose .draft-note { background: var(--gold-pale); border-left: 6px solid var(--gold); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; margin-bottom: 28px; }
.prose table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--spruce-deep); font-weight: 700; }

/* Shops page */
.sign-grid { display: grid; gap: 32px; margin-top: 36px; }
.sign-preview { background: var(--cream); border-radius: var(--radius); padding: 28px; display: grid; place-items: center; }
.sign-preview img { width: 100%; max-width: 360px; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.sign-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.do-dont { display: grid; gap: 20px; margin: 24px 0; }
.do-dont > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.do-dont h3 { margin: 0 0 10px; }
.do-dont ul { margin: 0; }
.join-steps { display: grid; gap: 20px; margin: 24px 0 32px; }
.join-steps li { background: var(--white); border-radius: var(--radius-sm); border: 1px solid var(--line); padding: 20px 20px 20px 64px; position: relative; counter-increment: join; }
.join-steps { counter-reset: join; }
.join-steps li::before { content: counter(join); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-family: var(--display); font-weight: 600; }
.join-steps strong { display: block; color: var(--spruce-deep); margin-bottom: 4px; }
.join-steps p { color: var(--stone); font-size: .97rem; margin: 0; }
@media (min-width: 800px) { .sign-grid { grid-template-columns: .9fr 1.1fr; align-items: center; } .do-dont { grid-template-columns: 1fr 1fr; } }

/* Mobile guard: single column under 640 */
@media (max-width: 639px) {
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts li:last-child { grid-column: span 2; }
  .amounts { grid-template-columns: repeat(4, 1fr); }
}

/* Photo strip under How it works */
.places { display: grid; gap: 14px; margin-top: 48px; }
.places figure { border-radius: var(--radius); overflow: hidden; background: var(--cream); position: relative; }
.places img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.places figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; font-size: .82rem; font-weight: 600; color: var(--paper); background: linear-gradient(to top, rgba(28, 26, 23, .7), transparent); }
@media (min-width: 640px) { .places { grid-template-columns: repeat(3, 1fr); } }
.footer-note .credits { font-size: .8rem; color: rgba(228, 215, 188, .75); }

/* Country picker, added when the lists went from Canada to five countries */
.country-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.country-picker .country {
  padding: 10px 16px; border-radius: 999px;
  background: var(--white); border: 2px solid var(--cream-deep);
  font-weight: 600; font-size: .95rem; color: var(--spruce-deep);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.country-picker .country:hover { border-color: var(--spruce); }
.country-picker .country[aria-pressed="true"] { background: var(--spruce); border-color: var(--spruce); color: var(--paper); }
.charity-grid[hidden], .country-note[hidden], .elsewhere[hidden] { display: none; }
.country-note { font-size: .9rem; color: var(--stone); margin-top: 18px; max-width: none; line-height: 1.5; }
.elsewhere { background: var(--white); border-radius: var(--radius-sm); padding: 24px 22px 26px; }
.elsewhere h3 { font-size: 1.3rem; margin-bottom: 10px; }
.elsewhere p { max-width: none; color: var(--stone); margin-bottom: 12px; }
.elsewhere form { margin-top: 18px; }
.elsewhere .form-success { margin-top: 12px; }
@media (min-width: 640px) { .elsewhere { padding: 30px 30px 32px; } }

/* Charity finder, added when the lists went worldwide: region tabs, country
   list with the detected country pinned, search, cause chips, sort, and the
   location button. Mobile first; the tabs scroll sideways on phones. */
.finder { margin-bottom: 26px; }
.finder-top { display: grid; gap: 12px; margin-bottom: 16px; }
.finder-search { position: relative; }
.finder-search input { padding-left: 42px; background: var(--white); }
.finder-search::before { content: ""; position: absolute; left: 14px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border: 2px solid var(--stone); border-radius: 50%; }
.finder-search::after { content: ""; position: absolute; left: 26px; top: 50%; width: 7px; height: 2px; margin-top: 4px; background: var(--stone); transform: rotate(45deg); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn-small { padding: 11px 18px; font-size: .92rem; }
.btn-small[disabled] { opacity: .6; cursor: wait; }
.locate-status { font-size: .9rem; color: var(--stone); max-width: none; min-height: 1.4em; }
.region-tabs { display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 6px; margin: 0 -20px 14px; padding-left: 20px; padding-right: 20px; border-bottom: 1px solid var(--line); }
.region-tabs::-webkit-scrollbar { display: none; }
.region-tab { flex: 0 0 auto; white-space: nowrap; padding: 10px 14px; border-radius: 999px 999px 0 0; font-weight: 600; font-size: .92rem; color: var(--stone); border-bottom: 3px solid transparent; transition: color .25s var(--ease), border-color .25s var(--ease); }
.region-tab span { font-size: .78rem; color: var(--gold-deep); margin-left: 2px; }
.region-tab:hover { color: var(--spruce-deep); }
.region-tab[aria-pressed="true"] { color: var(--spruce-deep); border-bottom-color: var(--gold); }
.finder-filters { display: grid; gap: 12px; margin-bottom: 16px; }
.cause-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 7px 12px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--spruce-deep); background: transparent; border: 1.5px solid var(--cream-deep); transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.chip:hover { border-color: var(--spruce); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.finder-sort { display: flex; align-items: center; gap: 10px; }
.finder-sort label { margin: 0; font-size: .88rem; white-space: nowrap; }
.finder-sort select { width: auto; padding: 9px 36px 9px 12px; font-size: .92rem; background: var(--white); }
.country-picker { max-height: 260px; overflow-y: auto; padding: 2px; }
.country-picker .country .near { font-style: normal; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); margin-left: 6px; }
.country-picker .country[aria-pressed="true"] .near { color: var(--gold-pale); }
.country-picker .country .count { font-size: .8rem; font-weight: 600; color: var(--stone); margin-left: 6px; }
.country-picker .country[aria-pressed="true"] .count { color: var(--cream-deep); }
.country-picker .country-else { border-style: dashed; }
.finder-empty { font-size: .95rem; color: var(--stone); background: var(--white); border-radius: var(--radius-sm); padding: 16px 18px; margin-top: 12px; max-width: none; }
.charity-reg { font-size: .8rem; color: var(--stone); }
.charity-momo { font-size: .82rem; color: var(--spruce-deep); font-weight: 600; }
.charity-tags { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 6px; }
.charity-tags .charity-via { margin-top: 0; }
.charity-via.via-own { color: var(--spruce-soft); }
.charity-cause { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--stone); background: var(--cream); border-radius: 999px; padding: 3px 9px; }
.country-note[hidden] { display: none; }
@media (min-width: 640px) {
  .finder-top { grid-template-columns: 1fr auto; align-items: start; }
  .finder-top .locate-status { grid-column: 1 / -1; }
  .finder-filters { grid-template-columns: 1fr auto; align-items: center; }
  .region-tabs { margin: 0 0 14px; padding-left: 0; padding-right: 0; flex-wrap: wrap; overflow: visible; }
  .country-picker { max-height: none; overflow: visible; }
}

/* Giving opens soon notice, the per card give pill, and the transparency counter line */
.giving-notice { background: var(--gold-pale); border-left: 6px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 16px 20px; margin-bottom: 22px; }
.giving-notice p { max-width: none; font-size: 1rem; }
.giving-notice strong { color: var(--spruce-deep); }
.giving-notice[hidden] { display: none; }
.charity-give { display: inline-block; align-self: flex-start; margin-top: 8px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--spruce); color: var(--paper); }
.charity-give.is-closed { background: var(--cream); color: var(--stone); }
.report-note { font-size: .95rem; color: var(--stone); margin-top: 24px; max-width: none; }
.report-count { display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); color: var(--spruce-deep); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: .95rem; margin: 14px 12px 0 0; }
.report-count[hidden] { display: none; }

/* Long registration numbers and mobile money codes must wrap inside the cards on phones */
.give-grid > * { min-width: 0; }
.charity, .charity-grid { min-width: 0; }
.charity-name, .charity-what, .charity-reg, .charity-momo, .country-note { overflow-wrap: anywhere; }
.country-charities { list-style: none; margin: 0 0 24px; padding: 0; }
.country-charity { padding: 16px 0; border-top: 1px solid var(--line); }
.country-charity h3 { margin: 0 0 6px; font-size: 1.15rem; }
.country-charity p { margin: 0 0 4px; }
.country-qr-wrap { margin: 8px 0 28px; }
.country-qr { display: block; width: 160px; height: 160px; border: 6px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.country-index { list-style: none; margin: 0 0 24px; padding: 0; columns: 2; column-gap: 24px; }
.country-index li { break-inside: avoid; padding: 6px 0; border-top: 1px solid var(--line); }
.country-index .count { font-size: .78rem; color: var(--stone); margin-left: 6px; }
@media (min-width: 720px) { .country-index { columns: 3; } }
.shop-directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.shop-place h3 { font-size: 1.05rem; margin: 0 0 6px; }
.shop-place ul { list-style: none; margin: 0; padding: 0; }
.shop-place li { padding: 6px 0; border-top: 1px solid var(--cream-deep, #E4D7BC); }
.shop-since { font-size: .78rem; color: var(--stone); margin-left: 6px; }
.shop-tag { font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); margin-left: 6px; }
