@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Source+Serif+4:opsz,wght@8..60,600&display=swap');

:root {
  --ink: #e8e7df;
  --muted: #a7aaa2;
  --night: #0c1011;
  --panel: #131a1b;
  --line: #2a3736;
  --signal: #bdcd8c;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 85% 0%, #26342e 0%, var(--night) 42%), var(--night);
  color: var(--ink);
  font-family: "DM Mono", monospace;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}
a { color: inherit; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 3; background: var(--signal); color: #111; padding: .5rem .75rem; }
.site-header, main, footer { max-width: var(--max); margin: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.site-header { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1.6rem; }
.wordmark { font-weight: 500; font-size: .86rem; letter-spacing: .16em; text-decoration: none; }
.descriptor, .eyebrow, .story-number, .status, footer { font-size: .69rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.hero { min-height: 67vh; padding: clamp(5.5rem, 14vw, 10rem) 0 5.5rem; display: grid; align-content: center; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 500; line-height: 1.03; margin: 0; }
h1 { max-width: 10ch; font-family: "Source Serif 4", Georgia, serif; font-size: clamp(3.1rem, 10vw, 7.1rem); font-weight: 600; letter-spacing: -.045em; }
.lede { max-width: 52ch; font-size: clamp(1rem, 2vw, 1.18rem); color: #cbd0c9; margin: 2rem 0; }
.eyebrow { color: var(--signal); margin: 0 0 1rem; }
.button { width: fit-content; padding: .7rem 1rem; border: 1px solid var(--line); text-decoration: none; font-size: .78rem; }
.button:hover { border-color: var(--signal); color: var(--signal); }
.section { border-top: 1px solid var(--line); padding: clamp(3.5rem, 8vw, 6rem) 0; }
h2 { font-size: clamp(2.25rem, 6vw, 4.1rem); letter-spacing: -.045em; }
.section > p:not(.eyebrow), .story-card p { max-width: 58ch; color: #c3c9c2; }
.stories { display: grid; gap: 2rem; grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr); }
.story-card { padding: 1.5rem; background: linear-gradient(140deg, rgba(189,205,140,.08), rgba(255,255,255,.015)); border: 1px solid var(--line); min-height: 220px; display: flex; flex-direction: column; }
.story-card h3 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: .9rem 0 .25rem; }
.status { margin-top: auto; color: var(--signal); }
.about, .support { max-width: 720px; }
.support-card { margin-top: 2rem; padding: clamp(1.25rem, 4vw, 2rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: linear-gradient(140deg, rgba(189,205,140,.10), rgba(255,255,255,.015)); border: 1px solid var(--line); }
.support-card h3 { font-size: clamp(1.65rem, 4vw, 2.3rem); }
.support-label { margin: 0 0 .45rem; color: var(--signal); font-size: .69rem; letter-spacing: .13em; }
.wallet-address { max-width: 43ch; margin: 1rem 0; overflow-wrap: anywhere; color: #cbd0c9; font-size: .72rem; line-height: 1.75; }
.support-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.copy-button { appearance: none; background: transparent; color: var(--ink); cursor: pointer; font-family: inherit; }
.copy-button:hover { border-color: var(--signal); color: var(--signal); }
.payment-qr { width: min(150px, 32vw); height: auto; padding: .7rem; background: #f6f6f0; }
footer { border-top: 1px solid var(--line); padding-top: 1.3rem; padding-bottom: 2.25rem; display: flex; justify-content: space-between; gap: 1rem; }
@media (max-width: 620px) {
  .site-header, footer { align-items: flex-start; flex-direction: column; gap: .4rem; }
  .descriptor { display: none; }
  .stories { display: block; }
  .section-heading { margin-bottom: 2rem; }
  .support-card { align-items: flex-start; flex-direction: column; }
  .payment-qr { width: 160px; }
}
