/* Visual language follows design/website-preview.html. Emitted as site.<hash>.css by docs/build.py. */
:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #202522; background: #f4f1e9;
  --paper: #f4f1e9; --ink: #202522; --muted: #606761; --line: #d7d5cd;
  --teal: #287d70; --coral: #c96555; --soft: #eae7df;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.65; font-size: 17px; }
[hidden] { display: none !important; }
a { color: #246e64; }
a:focus-visible, button:focus-visible { outline: 3px solid #246e64; outline-offset: 4px; }
code { font-family: var(--mono); font-size: .92em; }
.shell { max-width: 1240px; margin: auto; padding: 0 42px; }

/* chrome */
.top { height: 80px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.brand { font-size: 14px; font-weight: 760; letter-spacing: .16em; color: var(--ink); text-decoration: none; }
.top nav { display: flex; gap: 30px; font-size: 14px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--ink); }
.help { border-top: 1px solid var(--line); margin-top: 60px; padding: 36px 0 56px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 14px; }
.help-links { display: flex; flex-wrap: wrap; gap: 20px; }
.help a { text-underline-offset: 3px; }
.legal { margin: 0; }

/* draft markers (production builds fail while any exist) */
.draft, .review-note { padding: 14px 18px; background: var(--soft); border-left: 4px solid #9b4638; margin: 24px 0; }
.draft { font-weight: 650; }
.review-note { font-size: 15px; }
.preview-banner { margin: 0; border-left: 0; border-bottom: 4px solid #9b4638; text-align: center; }

/* text pages */
.page { padding-top: 12px; padding-bottom: 24px; }
.page > * { max-width: 800px; }
.page h1 { font-size: clamp(32px, 6vw, 54px); line-height: 1.1; letter-spacing: -.02em; font-weight: 560; margin: .5em 0 .6em; }
.page h2 { font-size: 23px; margin-top: 36px; }

/* landing */
.eyebrow { font-size: 12px; letter-spacing: .17em; font-weight: 750; color: var(--muted); }
.hero { min-height: 600px; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); align-items: center; gap: 4vw; padding: 40px 0 70px; }
.hero h1 { font-weight: 560; font-size: clamp(54px, 8vw, 104px); letter-spacing: -.03em; line-height: 1; margin: 23px 0 26px; }
.lead { font-size: 19px; line-height: 1.55; max-width: 480px; color: var(--muted); margin: 0 0 14px; }
.cta { margin-top: 24px; display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: var(--paper); padding: 15px 21px; border-radius: 99px; text-decoration: none; font-size: 15px; font-weight: 650; }
.cta span { color: #a5d7ca; }
.tiny { margin: 17px 0; font: 12px var(--mono); color: var(--muted); letter-spacing: .04em; }
.hero-art { min-height: 470px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.hero-art svg { width: min(100%, 530px); overflow: visible; }
.art-caption { text-align: center; font: 12px var(--mono); letter-spacing: .12em; color: var(--muted); }
.ring { fill: none; stroke: #d5d8d0; stroke-width: 2; }
.arc { fill: none; stroke: url(#grad); stroke-width: 10; stroke-linecap: round; }
.target { fill: var(--coral); stroke: var(--paper); stroke-width: 4; }
.origin { fill: var(--teal); }
.how { padding: 80px 0 100px; background: var(--ink); color: var(--paper); }
.how .eyebrow { color: #a1aaa3; }
.how h2 { font-size: clamp(32px, 5vw, 54px); line-height: 1.05; letter-spacing: -.025em; font-weight: 560; margin: 12px 0 56px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.step { border-top: 1px solid #59615c; padding-top: 19px; }
.step .num { font: 13px var(--mono); color: #8dcbb8; }
.step h3 { font-size: 22px; font-weight: 550; letter-spacing: -.01em; margin: 31px 0 10px; }
.step p { color: #b2bbb4; line-height: 1.6; font-size: 15px; max-width: 280px; }
.download { padding: 80px 0 20px; max-width: 760px; }
.download h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; font-weight: 560; margin: 8px 0 14px; }
.download code { overflow-wrap: anywhere; }

/* donate page */
.wallets { display: grid; gap: 28px; margin: 28px 0; }
.wallet { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: start; padding: 22px; background: #fbfaf6; border: 1px solid var(--line); border-radius: 12px; }
.wallet h2 { margin: 0 0 8px; font-size: 20px; }
.wallet-label { color: var(--muted); font-weight: 500; font-size: 15px; }
.wallet-address code { display: block; font-size: 16px; overflow-wrap: anywhere; word-break: break-all; user-select: all; padding: 12px; background: var(--soft); border-radius: 8px; }
.copy { min-height: 48px; padding: 0 22px; border: 0; border-radius: 99px; background: var(--ink); color: var(--paper); font: 650 15px system-ui, sans-serif; cursor: pointer; }
.copy-status { margin-left: 12px; font-size: 14px; color: var(--muted); }
.wallet-qr { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
.qr { width: 200px; height: 200px; display: block; background: #fff; shape-rendering: crispEdges; }

@media (max-width: 760px) {
  .shell { padding: 0 23px; }
  .top { height: 68px; }
  .top nav { gap: 18px; }
  .hero { min-height: 0; grid-template-columns: minmax(0, 1fr); padding: 24px 0 48px; gap: 32px; }
  .hero-art { min-height: 0; }
  .hero-art svg { width: min(100%, 340px); }
  .hero h1 { font-size: clamp(44px, 14vw, 64px); margin: 17px 0; }
  .lead { font-size: 17px; }
  .how { padding: 60px 0; }
  .steps { grid-template-columns: 1fr; gap: 27px; }
  .step h3 { margin: 14px 0 6px; }
  .download { padding-top: 56px; }
  .help { display: block; }
  .help-links { margin-bottom: 21px; }
  .wallet { grid-template-columns: 1fr; }
  .wallet-qr { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
