:root {
  --paper: oklch(0.966 0.013 85);
  --paper-2: oklch(0.935 0.017 85);
  --ink: oklch(0.21 0.03 272);
  --ink-2: oklch(0.42 0.025 272);
  --rule: oklch(0.21 0.03 272 / 0.16);
  --navy: oklch(0.2 0.13 268);
  --navy-2: oklch(0.26 0.14 268);
  --navy-line: oklch(0.96 0.02 268 / 0.16);
  --accent: oklch(0.8 0.15 172);
  --accent-deep: oklch(0.52 0.11 172);
  --on-navy: oklch(0.95 0.015 85);
  --on-navy-2: oklch(0.78 0.03 268);

  --serif: "EB Garamond", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --gut: clamp(16px, 4vw, 56px);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
button, input { font: inherit; color: inherit; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 12px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover { background: oklch(0.85 0.14 172); }
.btn-ghost { border-color: var(--navy-line); color: var(--on-navy); }
.btn-ghost:hover { border-color: var(--on-navy-2); }
.btn-ghost-dark { border-color: var(--rule); color: var(--ink); }
.btn-sm { padding: .6em 1.1em; font-size: 14px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 14px var(--gut);
  color: var(--on-navy);
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.top .logo { height: 40px; width: auto; }
.top .logo-b { display: none; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; opacity: .82; }
.nav a:hover { opacity: 1; }
.top.light { background: oklch(0.966 0.013 85 / 0.92); backdrop-filter: blur(10px); color: var(--ink); box-shadow: 0 1px 0 var(--rule); }
.top.light .logo-w { display: none; }
.top.light .logo-b { display: block; }

/* type helpers */
.eyebrow, .num, .step-k, .lbl, .w-k, .src, .why-n {
  font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
.num { color: var(--accent-deep); margin-bottom: 18px; }
.num-light { color: var(--accent); }

/* hero */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 100%, var(--navy-2), var(--navy) 60%);
  color: var(--on-navy);
  display: grid; grid-template-rows: 1fr auto;
  padding: 120px var(--gut) 0;
}
.hero-chamber {
  position: absolute; left: 50%; bottom: 118px; transform: translateX(-50%);
  width: min(1500px, 118vw); aspect-ratio: 2 / 1.02; max-height: calc(100% - 150px);
  -webkit-mask-image: radial-gradient(46% 58% at 50% 40%, transparent 42%, #000 92%);
  mask-image: radial-gradient(46% 58% at 50% 40%, transparent 42%, #000 92%);
}
.hero-in { position: relative; max-width: 1000px; margin: 0 auto; text-align: center; padding-top: 2vh; }
.hero .eyebrow { color: var(--on-navy-2); margin-bottom: 22px; }
.hero h1 { font-size: clamp(54px, 9vw, 128px); line-height: .95; letter-spacing: -0.025em; }
.hero h1 em { color: var(--accent); font-style: italic; }
.hero-lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--on-navy-2); max-width: 580px; margin: 26px auto 0; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.hero-legend { position: absolute; right: var(--gut); bottom: 150px; display: grid; gap: 6px; font: 500 12px var(--mono); color: var(--on-navy-2); }
.sw { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.sw-lit { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.sw-base { background: oklch(0.95 0.015 85 / 0.45); }

.facts {
  position: relative; margin: 0 calc(var(--gut) * -1); padding: 22px var(--gut) 20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px;
  border-top: 1px solid var(--navy-line);
  background: oklch(0.17 0.11 268 / 0.7); backdrop-filter: blur(6px);
}
.facts div { display: flex; gap: 14px; align-items: baseline; }
.facts dt { font: 500 34px/1 var(--serif); color: var(--on-navy); }
.facts dd { margin: 0; font-size: 14px; color: var(--on-navy-2); line-height: 1.4; }
.facts .src { grid-column: 1 / -1; margin-top: 14px; color: oklch(0.62 0.04 268); text-transform: none; letter-spacing: 0; font-size: 11.5px; }
.facts cite { font-style: italic; }

/* section heads */
section { padding: clamp(80px, 11vw, 150px) var(--gut); }
.sec-head { max-width: var(--max); margin: 0 auto 56px; }
.sec-head h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1.02; max-width: 16ch; }
.sec-lede { margin-top: 18px; max-width: 54ch; color: var(--ink-2); font-size: 18px; }
.sec-lede a { color: var(--accent-deep); }

/* scrolly */
.work { padding-bottom: 40px; }
.scrolly { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 56px; }
.stage { position: sticky; top: 80px; height: calc(100vh - 110px); grid-column: 2; grid-row: 1; display: grid; place-items: center; }
.stage canvas { width: 100%; height: 100%; }
.stage-labels { position: absolute; inset: 0; pointer-events: none; }
.slabel {
  position: absolute; transform: translate(-50%, -100%);
  font: 500 11px/1.25 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  background: var(--paper); padding: 3px 6px; border: 1px solid var(--rule); white-space: nowrap;
  opacity: 0; transition: opacity .5s ease;
}
.slabel.on { opacity: 1; }
.slabel.big { text-align: center; font: 500 clamp(22px, 2.4vw, 32px)/1.05 var(--serif); text-transform: none; letter-spacing: 0; border: 0; background: none; padding: 0; }
.slabel.big b { color: var(--accent-deep); font-weight: 500; }
.steps { grid-column: 1; grid-row: 1; list-style: none; margin: 0; padding: 0 0 30vh; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .4s ease; }
.step.on { opacity: 1; }
.step-k { color: var(--accent-deep); margin-bottom: 14px; }
.step h3 { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.08; margin-bottom: 16px; }
.step p:not(.step-k) { color: var(--ink-2); }
.more { margin-top: 18px; font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--accent-deep); align-self: flex-start; padding-bottom: 2px; }
.more::after { content: " →"; }

/* give */
.give { background: var(--navy); color: var(--on-navy); }
.give-in { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr minmax(0, 620px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.give-copy { position: sticky; top: 110px; }
.give-copy h2 { font-size: clamp(40px, 5vw, 66px); line-height: 1; margin-bottom: 22px; }
.give-copy > p { color: var(--on-navy-2); font-size: 18px; max-width: 40ch; }
.assure { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; font-size: 15px; color: var(--on-navy-2); }
.assure li { padding-left: 26px; position: relative; }
.assure li::before { content: ""; position: absolute; left: 0; top: .45em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.panel { position: relative; background: var(--paper); color: var(--ink); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -30px oklch(0 0 0 / .55); }
.panel-sec { padding: 28px clamp(20px, 3vw, 34px); }
.panel-sec + .panel-sec { border-top: 1px solid var(--rule); background: var(--paper-2); }
fieldset { border: 0; margin: 0 0 22px; padding: 0; }
.lbl { color: var(--ink-2); margin-bottom: 10px; display: block; }

.freq { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 999px; padding: 4px; margin-bottom: 24px; }
.freq button { position: relative; z-index: 1; border: 0; background: none; padding: 11px; font-weight: 600; cursor: pointer; border-radius: 999px; transition: color .25s; }
.freq button[aria-checked="true"] { color: var(--on-navy); }
.freq-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--navy); border-radius: 999px; transition: transform .35s cubic-bezier(.3,.7,.2,1); }
.freq.monthly .freq-pill { transform: translateX(100%); }

.chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.chips button {
  border: 1px solid var(--rule); background: var(--paper); border-radius: 10px; padding: 14px 4px;
  font: 500 20px/1 var(--serif); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s;
}
.chips button:hover { border-color: var(--ink-2); }
.chips button[aria-pressed="true"] { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.custom { display: flex; align-items: center; gap: 6px; margin-top: 8px; border: 1px solid var(--rule); border-radius: 10px; padding: 0 14px; background: var(--paper); }
.custom:focus-within { border-color: var(--navy); }
.custom .cur { font: 500 20px var(--serif); color: var(--ink-2); }
.custom input { flex: 1; border: 0; background: none; padding: 13px 0; outline: none; font-size: 16px; min-width: 0; }
.custom .per { font-size: 14px; color: var(--ink-2); }
.hint { font-size: 14px; color: var(--ink-2); margin-top: 10px; min-height: 1.4em; }
.hint b { color: var(--ink); font-weight: 600; }

.desig { display: flex; flex-wrap: wrap; gap: 8px; }
.desig button { border: 1px solid var(--rule); background: var(--paper); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 500; cursor: pointer; }
.desig button[aria-pressed="true"] { border-color: var(--accent-deep); background: oklch(0.8 0.15 172 / 0.18); color: oklch(0.32 0.08 172); }

.extras { border-top: 1px solid var(--rule); padding-top: 14px; margin-bottom: 14px; }
.extras summary { cursor: pointer; font-size: 14px; font-weight: 600; list-style: none; }
.extras summary::before { content: "+ "; color: var(--accent-deep); }
.extras[open] summary::before { content: "− "; }
.extras-in { display: grid; gap: 12px; margin-top: 14px; }

.fld { display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
.fld input { border: 1px solid var(--rule); border-radius: 10px; padding: 12px 14px; background: var(--paper); color: var(--ink); font-size: 16px; outline: none; }
.fld input:focus { border-color: var(--navy); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }

.cover { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.cover input { accent-color: var(--navy); width: 18px; height: 18px; margin: 1px 0 0; }
.cover b { color: var(--ink); }

.btn-give { width: 100%; padding: 1.05em; font-size: 17px; background: var(--navy); color: var(--on-navy); }
.btn-give:hover { background: var(--navy-2); }
.or { display: flex; align-items: center; gap: 12px; margin: 14px 0; font-size: 13px; color: var(--ink-2); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.or[hidden], .pp-note[hidden], .pp-wrap[hidden] { display: none !important; }
.pp-note { font-size: 13px; color: var(--ink-2); margin-top: 8px; text-align: center; display: none; }
.monthly-on .pp-wrap, .monthly-on .or { display: none; }
.monthly-on .pp-note { display: block; }
.summary { margin-top: 16px; font-size: 14px; color: var(--ink-2); text-align: center; }

.thanks { position: absolute; inset: 0; background: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; gap: 14px; }
.thanks[hidden] { display: none; }
.thanks canvas { width: min(420px, 90%); aspect-ratio: 2 / 1.05; }
.thanks h3 { font-size: 34px; }
.thanks p { color: var(--ink-2); max-width: 36ch; margin-bottom: 8px; }

/* why */
.why-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.why-grid article { padding: 28px 32px 0 0; }
.why-grid article + article { padding-left: 32px; border-left: 1px solid var(--rule); }
.why-n { color: var(--accent-deep); margin-bottom: 28px; }
.why-grid h3 { font-size: 28px; margin-bottom: 12px; }
.why-grid p:not(.why-n) { color: var(--ink-2); }

/* ways */
.ways { background: var(--paper-2); }
.ways-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.ways-grid article { background: var(--paper); padding: 26px 24px 30px; display: grid; gap: 10px; align-content: start; font-size: 15px; color: var(--ink-2); }
.ways-grid b { color: var(--ink); font-weight: 600; }
.w-k { color: var(--ink); font-weight: 500; margin-bottom: 6px; display: block; }
.ways-grid article .w-k { font: 500 24px/1.1 var(--serif); letter-spacing: 0; text-transform: none; }
address { font-style: normal; color: var(--ink); font: 500 18px/1.35 var(--serif); padding: 12px 14px; border-left: 2px solid var(--accent-deep); background: var(--paper-2); }
.w-s { font-size: 13px; }

/* faq */
.faq-list { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--ink); }
.sec-head:has(+ .faq-list) { max-width: 880px; }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 500 22px/1.25 var(--serif); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 26px var(--sans); color: var(--accent-deep); transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 40px 24px 0; color: var(--ink-2); max-width: 68ch; }
.faq-list a { color: var(--accent-deep); }

/* footer */
.foot { background: var(--navy); color: var(--on-navy-2); padding: 64px var(--gut) 40px; font-size: 14px; }
.foot-in { max-width: var(--max); margin: 0 auto; display: grid; gap: 28px; }
.foot .logo { height: 46px; width: auto; }
.foot-in > p:first-of-type { max-width: 70ch; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 28px; border-top: 1px solid var(--navy-line); }
.foot .w-k { color: var(--on-navy); margin-bottom: 8px; }
.foot a { color: var(--on-navy); }
.foot-c { font: 500 11px var(--mono); letter-spacing: .06em; }

/* reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1000px) {
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .give-in { grid-template-columns: 1fr; }
  .give-copy { position: static; }
  .ways-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid article, .why-grid article + article { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}
@media (max-width: 760px) {
  .top .logo { height: 32px; }
  .hero { padding-top: 104px; }
  .hero-chamber { width: 170vw; bottom: 250px; }
  .hero-legend { display: none; }
  .facts { grid-template-columns: 1fr; gap: 12px; }
  .facts dt { font-size: 28px; min-width: 76px; }
  .scrolly { grid-template-columns: 1fr; gap: 0; }
  .stage { grid-column: 1; top: 64px; height: 52vh; z-index: 0; }
  .steps { grid-column: 1; position: relative; z-index: 1; margin-top: -10vh; }
  .step { min-height: 90vh; justify-content: flex-end; padding-bottom: 6vh; opacity: 1; }
  .step > * { background: var(--paper); }
  .step { background: linear-gradient(to bottom, transparent 55%, var(--paper) 72%); }
  .chips { grid-template-columns: repeat(3, 1fr); }
  .row2 { grid-template-columns: 1fr; }
  .ways-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .freq-pill, .btn { transition: none; }
}

/* networks list, seal, thank-you ref */
.nets { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 15px; line-height: 1.35; color: var(--ink-2); }
.nets li { display: grid; grid-template-columns: 96px 1fr; align-items: baseline; }
.nets b { display: inline-block; min-width: 92px; font: 500 12px var(--mono); letter-spacing: .06em; color: var(--accent-deep); }
.slabel b { color: var(--accent-deep); font-weight: 500; margin-right: 4px; }
.seal { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--navy-line); text-decoration: none; }
.seal-slot { flex: none; width: 76px; height: 76px; border-radius: 50%; border: 1px dashed var(--on-navy-2); display: grid; place-items: center; text-align: center; font: 500 9px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--on-navy-2); padding: 8px; }
.seal img { width: 76px; height: auto; }
.seal-t { font-size: 14px; color: var(--on-navy-2); line-height: 1.4; }
.seal-t b { display: block; color: var(--on-navy); font-weight: 600; font-size: 15px; }
.seal:hover .seal-t b { text-decoration: underline; }
.seal-foot { margin-top: 0; }
.ty-ref { font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.thanks p b { color: var(--ink); }

/* live payments */
.pe-live { min-height: 120px; margin-bottom: 18px; }
.pay-error:empty { display: none; }
.pay-error:focus { outline: none; }
.pay-error { margin: -6px 0 14px; padding: 10px 12px; border-radius: 10px; background: oklch(0.93 0.05 25); color: oklch(0.42 0.14 25); font-size: 14px; }
.btn-give:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.pp-wrap { min-height: 48px; }
.secure { margin-top: 8px; font-size: 12px; color: var(--ink-2); text-align: center; }
.manage { display: flex; gap: 8px; margin: 0 40px 10px 0; max-width: 520px; }
.manage input { flex: 1; min-width: 0; border: 1px solid var(--rule); border-radius: 999px; padding: 10px 16px; background: var(--paper); font-size: 15px; }
.manage-msg { padding: 0 40px 20px 0; font-size: 14px; color: var(--ink-2); min-height: 1em; }
