@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif-latin-400-italic.woff2) format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif-latin-400-normal.woff2) format("woff2");
}

:root {
  --bg: #08090a;
  --bg-2: #0e1011;
  --panel: rgba(255, 255, 255, .035);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --fg: #f3f2ee;
  --fg-2: #c9c8c2;
  --muted: #8b8a85;
  --accent: #5be39a;
  --accent-2: #2fbf74;
  --accent-ink: #04170c;
  --warn-bg: #2d2408;
  --warn-fg: #f2d27c;
  --radius: 18px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  color: var(--fg);
  font: 16px/1.55 var(--sans);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 520px at 50% -120px, rgba(91, 227, 154, .13), transparent 70%),
    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 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    var(--bg);
  display: flex;
  flex-direction: column;
}
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.test-banner {
  background: var(--warn-bg); color: var(--warn-fg);
  font-size: 13px; text-align: center; padding: 8px 16px;
}

/* Header */
.top {
  width: 100%; max-width: 1040px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 14px; letter-spacing: -.01em; color: var(--fg); }
.logo svg { width: 28px; height: 28px; color: var(--accent); flex: none; }
.logo-1 { font-family: var(--serif); font-style: italic; font-size: 22px; fill: currentColor; }
.lang select {
  appearance: none; background: var(--panel); color: var(--fg-2);
  border: 1px solid var(--line); border-radius: 999px;
  font: 600 12px/1 var(--sans); letter-spacing: .06em;
  padding: 8px 28px 8px 12px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238b8a85' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
}

main { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; flex: 1; }
section { padding: 56px 0; border-top: 1px solid var(--line); }
section.hero { border-top: 0; }
.label {
  font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}

/* Hero */
.hero { text-align: center; padding: 40px 0 72px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--fg-2);
  border: 1px solid var(--line); background: var(--panel);
  padding: 6px 12px 6px 10px; border-radius: 999px;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(91, 227, 154, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(91, 227, 154, .55); } 70% { box-shadow: 0 0 0 9px rgba(91, 227, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 227, 154, 0); } }

.counter { margin: 34px 0 30px; }
.odometer {
  display: inline-flex; justify-content: center;
  font-weight: 750; font-size: clamp(72px, 19vw, 168px); letter-spacing: -.055em; line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  filter: drop-shadow(0 0 28px rgba(91, 227, 154, .28));
}
.odo-digit { display: inline-block; height: 1em; overflow: hidden; }
.odo-strip { display: flex; flex-direction: column; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.odo-strip span, .odo-sym { display: block; height: 1em; }
.counter-caption { color: var(--muted); font-size: 15px; margin-top: 14px; min-height: 1.5em; }
.counter-caption b { color: var(--fg); font-weight: 600; }

h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 7vw, 68px); line-height: 1.04; letter-spacing: -.015em;
  max-width: 15ch; margin: 0 auto;
}
h1 em { color: var(--accent); }
.sub { color: var(--fg-2); margin: 20px auto 0; max-width: 38ch; font-size: 18px; }

.cta { margin-top: 38px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.give {
  appearance: none; border: 0; cursor: pointer;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  font: 800 20px/1 var(--sans); letter-spacing: .05em;
  padding: 22px 56px; border-radius: 999px;
  box-shadow: 0 10px 40px -8px rgba(91, 227, 154, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.give:hover { transform: translateY(-1px); box-shadow: 0 16px 50px -8px rgba(91, 227, 154, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.give:active { transform: translateY(1px) scale(.98); }
.give:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.give.small { font-size: 15px; padding: 13px 24px; box-shadow: none; }
.link { background: none; border: 0; color: var(--fg-2); font: inherit; font-size: 14px; cursor: pointer; padding: 4px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.link:hover { color: var(--fg); text-decoration-color: var(--accent); }
.fine { color: var(--muted); font-size: 13px; }

/* Live feed */
.feed-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.feed-list li {
  display: flex; align-items: center; gap: 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; font-size: 14px;
}
.feed-list li.new { animation: rise .6s ease both; border-color: rgba(91, 227, 154, .45); }
.feed-list li.empty { grid-column: 1 / -1; justify-content: center; color: var(--muted); }
.flag { font-size: 22px; line-height: 1; width: 26px; text-align: center; flex: none; }
.feed-who { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-when { color: var(--muted); font-size: 12px; flex: none; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Board */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; display: flex; flex-direction: column; gap: 4px;
}
.stat-value { font-size: clamp(28px, 4.4vw, 40px); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat-label { color: var(--muted); font-size: 13px; }

.goal { margin-top: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px 18px; }
.goal-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--fg-2); margin-bottom: 28px; }
.goal-count { font-variant-numeric: tabular-nums; color: var(--fg); font-weight: 600; }
.track { position: relative; height: 10px; background: rgba(255, 255, 255, .06); border-radius: 999px; }
.fill { position: absolute; inset: 0 auto 0 0; width: 0; min-width: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); box-shadow: 0 0 18px rgba(91, 227, 154, .45); transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.tick { position: absolute; top: -6px; bottom: -6px; width: 1px; background: var(--line-2); }
.tick i { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font: 600 11px/1 var(--sans); font-style: normal; color: var(--muted); }
.tick.end i { left: auto; right: 0; transform: none; }
.tick.end { right: 0; }
.goal-note { color: var(--muted); font-size: 12px; margin-top: 14px; }
.updated { color: var(--muted); font-size: 12px; margin-top: 14px; text-align: center; }

/* Countries */
.country-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; row-gap: 4px; }
.country-list li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; position: relative; }
.country-list li.empty { grid-column: 1 / -1; display: block; color: var(--muted); border: 0; }
.country-n { font-variant-numeric: tabular-nums; color: var(--fg-2); font-size: 14px; }
.country-bar { position: absolute; left: 38px; bottom: -1px; height: 2px; background: var(--accent); border-radius: 2px; opacity: .8; }

/* How */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.step-n { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--accent); line-height: 1; display: block; margin-bottom: 14px; }
.steps h3 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; margin-bottom: 6px; }
.steps p { color: var(--fg-2); font-size: 15px; }

/* Facts */
.facts ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.facts li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; color: var(--fg-2); }
.facts li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font-size: 17px; font-weight: 550; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 300; font-size: 24px; color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--accent); }
.faq details p { color: var(--fg-2); padding: 0 0 20px; max-width: 64ch; }

/* Share */
.share { text-align: center; padding-bottom: 72px; }
.big-q { font-family: var(--serif); font-style: italic; font-size: clamp(32px, 6vw, 56px); line-height: 1.1; max-width: 18ch; margin: 0 auto 40px; }
.share .label { margin-bottom: 10px; }
.share-sub { color: var(--fg-2); margin-bottom: 24px; }
.share-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--panel); border: 1px solid var(--line-2); color: var(--fg);
  font: 500 14px/1 var(--sans); text-decoration: none;
  padding: 11px 16px; border-radius: 999px; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.chip:hover { border-color: var(--accent); background: rgba(91, 227, 154, .08); }
.chip.done { border-color: var(--accent); color: var(--accent); }

footer {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  max-width: 1040px; width: 100%; margin: 0 auto; padding: 24px 20px calc(28px + env(safe-area-inset-bottom));
  color: var(--muted); font-size: 13px; border-top: 1px solid var(--line);
}
footer a { color: var(--fg-2); text-decoration: none; }
footer a:hover { color: var(--fg); }

/* Dialogs */
dialog {
  border: 1px solid var(--line-2); border-radius: 22px;
  background: var(--bg-2); color: var(--fg);
  width: min(440px, calc(100vw - 32px)); padding: 0; margin: auto;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
}
dialog[open] { animation: pop .22s cubic-bezier(.2, .8, .2, 1); }
dialog::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(4px); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.dlg { padding: 26px; }
.dlg h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; margin-bottom: 10px; }
.dlg-note { color: var(--fg-2); font-size: 14px; margin-bottom: 16px; }
.dlg-note.small { font-size: 12px; color: var(--muted); }
.dlg-error { color: #ff8f8f; font-size: 14px; margin-top: 10px; }
#tsWidget { min-height: 65px; }
.dlg-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.ghost {
  background: none; border: 1px solid var(--line-2); color: var(--fg);
  font: 500 15px/1 var(--sans); padding: 13px 20px; border-radius: 999px; cursor: pointer;
}
.ghost:hover { border-color: var(--fg-2); }
.thanks { font-size: 18px; font-weight: 600; margin-bottom: 8px; }

.qr { background: #fff; border-radius: 14px; padding: 12px; width: 216px; height: 216px; margin: 4px auto 18px; }
.qr svg { display: block; width: 100%; height: 100%; }
.bank { display: grid; gap: 10px; margin-bottom: 14px; }
.bank > div { display: grid; grid-template-columns: 92px 1fr; gap: 8px; align-items: center; }
.bank dt { color: var(--muted); font-size: 13px; }
.bank dd { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-width: 0; }
.bank dd span { overflow-wrap: anywhere; }
.mono { font-family: var(--mono); font-size: 14px; }
.copy {
  flex: none; background: none; border: 1px solid var(--line-2); color: var(--fg);
  font: 500 12px/1 var(--sans); padding: 6px 10px; border-radius: 999px; cursor: pointer;
}
.copy.done { color: var(--accent); border-color: var(--accent); }

#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2147483647; }

/* Small screens */
@media (max-width: 760px) {
  section { padding: 44px 0; }
  .hero { padding: 24px 0 56px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .facts ul, .country-list { grid-template-columns: 1fr; }
  .give { width: 100%; max-width: 360px; }
  .sub { font-size: 17px; }
  .logo span { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Text pages (privacy) */
.doc { max-width: 720px; padding-top: 32px; padding-bottom: 64px; }
.doc h1 { text-align: left; max-width: none; margin: 0 0 12px; }
.doc .sub { margin: 0 0 40px; max-width: none; }
.doc .label { margin: 36px 0 12px; }
.doc p, .doc li { color: var(--fg-2); }
.doc ul { padding-left: 20px; display: grid; gap: 8px; }
.doc b { color: var(--fg); font-weight: 600; }
.doc .back { margin-top: 48px; }
.doc .back a { color: var(--accent); text-decoration: none; }
