/* givehood — white + red, quiet and editorial. */
:root {
  /* pons-warm ground: cream like ponsfamily, silver chrome mark, charity red accents */
  --bg: #faf8f3;
  --bg-soft: #f4f1ea;
  --ink: #17090c;
  --ink-2: #5f5257;
  --muted: #98898d;
  --red: #e0242e;
  --red-dark: #b8161f;
  --red-tint: #fdeeee;
  --green: #00c805; /* Robinhood green — pulse/positive accent */
  --silver: #aab9ab;
  --line: #ece7dd;
  --line-2: #dcd5c8;
  --radius: 18px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, 0.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 26px; height: 62px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; flex: 1; }
.nav-links a { padding: 7px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-links a.active { color: var(--red); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; cursor: pointer; border-radius: 999px;
  padding: 10px 20px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform 0.06s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* ---- type ---- */
.label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red);
}
.label.gray { color: var(--muted); }
h1.display {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em;
  font-size: clamp(40px, 7vw, 68px); line-height: 1.02;
}
h2.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(26px, 4vw, 38px); line-height: 1.1; }
.sub { color: var(--ink-2); font-size: 16.5px; max-width: 560px; }

/* ---- hero ---- */
.hero { padding: 84px 0 64px; text-align: center; }
.hero .sub { margin: 18px auto 30px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; }

/* ---- stats band ---- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat { padding: 26px 24px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat b { display: block; font-family: var(--font-display); font-size: 32px; font-weight: 700; letter-spacing: -0.03em; margin-top: 8px; }
.stat b .unit { font-size: 17px; color: var(--muted); font-weight: 600; margin-left: 4px; }

/* ---- sections ---- */
.section { padding: 72px 0 20px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 14px 0 26px; }

/* ---- cards ---- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.grid { display: grid; gap: 14px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

.tok { padding: 18px; display: flex; flex-direction: column; gap: 12px; transition: border-color 0.15s, box-shadow 0.15s; }
.tok:hover { border-color: var(--line-2); box-shadow: 0 10px 30px -18px rgba(224, 36, 46, 0.25); }
.tok-top { display: flex; gap: 12px; align-items: center; }
.tok-logo { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); object-fit: cover; border: 1px solid var(--line); flex: none; }
.tok-logo.placeholder { display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--red); font-size: 18px; }
.tok-sym { font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em; }
.tok-name { color: var(--muted); font-size: 12.5px; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
.tok-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--ink-2); border-top: 1px dashed var(--line); padding-top: 10px; }
.tok-row b { color: var(--ink); font-size: 13px; }
.charity-chip { display: inline-flex; align-items: center; gap: 7px; background: var(--red-tint); color: var(--red-dark); border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 600; max-width: 100%; }
.charity-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.donated-badge { color: var(--red); font-weight: 700; }

/* ---- how it works ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.step { padding: 26px; }
.step .num { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--red); }
.step h3 { font-size: 17px; letter-spacing: -0.01em; margin: 10px 0 8px; }
.step p { color: var(--ink-2); font-size: 13.5px; }

/* ---- forms ---- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 600; }
.field .hint { font-size: 12px; color: var(--muted); }
.input, textarea.input, select.input {
  border: 1px solid var(--line-2); border-radius: 12px; background: #fff;
  padding: 11px 14px; font-size: 14px; font-family: inherit; color: var(--ink);
  outline: none; width: 100%;
}
.input:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-tint); }
textarea.input { resize: vertical; min-height: 84px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.dropzone {
  border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 26px; text-align: center;
  color: var(--muted); font-size: 13px; cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--red); background: var(--red-tint); color: var(--red-dark); }
.dropzone img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; margin-bottom: 8px; }

/* charity picker */
.charity-pick { position: relative; }
.charity-pick .input { padding-right: 38px; }
.charity-chevron { position: absolute; right: 14px; top: 15px; width: 14px; height: 14px; pointer-events: none; color: var(--muted); }
.charity-head {
  position: sticky; top: 0; background: #fff; z-index: 1;
  padding: 9px 14px 7px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line);
}
.charity-foot { display: block; padding: 10px 14px; font-size: 12.5px; font-weight: 600; color: var(--red); border-top: 1px solid var(--line); }
.charity-foot:hover { background: var(--bg-soft); }
.charity-results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
  background: #fff; border: 1px solid var(--line-2); border-radius: 14px;
  max-height: 320px; overflow: auto; box-shadow: 0 18px 50px -18px rgba(23, 9, 12, 0.25);
}
.charity-result { padding: 11px 14px; cursor: pointer; border-top: 1px solid var(--line); display: flex; gap: 11px; align-items: center; }
.cr-logo { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; flex: none; background: var(--bg-soft); border: 1px solid var(--line); }
.cr-fallback { display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 13px; }
.cr-main { min-width: 0; }
.cr-main b, .cr-main span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.charity-result:first-child { border-top: none; }
.charity-result:hover { background: var(--bg-soft); }
.charity-result b { display: block; font-size: 13.5px; }
.charity-result span { font-size: 12px; color: var(--muted); }
.charity-selected {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--red-tint); border: 1px solid #f6d2d4; border-radius: 14px; padding: 12px 16px;
}
.charity-selected b { color: var(--red-dark); font-size: 14px; }
.charity-selected span { font-size: 12px; color: var(--ink-2); display: block; }

/* signing summary */
.sign-summary { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.sign-summary .srow { display: flex; justify-content: space-between; font-size: 13.5px; padding: 7px 0; border-bottom: 1px dashed var(--line-2); }
.sign-summary .srow:last-child { border-bottom: none; }
.sign-summary .srow b.red { color: var(--red); }

/* status stepper */
.status-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-size: 13.5px; }
.status-box .ok { color: #0d7a3f; }
.status-box .err { color: var(--red-dark); white-space: pre-wrap; }

/* ---- token page ---- */
.tk-head { display: flex; gap: 18px; align-items: center; padding: 40px 0 26px; flex-wrap: wrap; }
.tk-logo { width: 74px; height: 74px; border-radius: 20px; border: 1px solid var(--line); object-fit: cover; background: var(--bg-soft); }
.tk-pays { color: var(--ink-2); font-size: 14.5px; margin-top: 4px; }
.tk-pays b { color: var(--red); }
.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 10px 0 26px; }
.statcard { padding: 18px 20px; }
.statcard b { display: block; font-family: var(--font-display); font-size: 23px; font-weight: 700; letter-spacing: -0.02em; margin-top: 6px; }
.statcard .unit { font-size: 13px; color: var(--muted); font-weight: 600; }

.kv { padding: 6px 22px; }
.kv .krow { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.kv .krow:last-child { border-bottom: none; }
.kv .krow span { color: var(--muted); }
.kv .krow a.mono:hover, a.txlink:hover { color: var(--red); }
.mono { font-family: ui-monospace, "Cascadia Code", Menlo, monospace; font-size: 12.5px; }

/* cycles */
.cycle { padding: 18px 20px; margin-bottom: 12px; }
.cycle-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; }
.chip.done { background: #e8f7ee; color: #0d7a3f; }
.chip.active { background: #fff7e6; color: #9a6b00; }
.chip.held { background: var(--red-tint); color: var(--red-dark); }
.cycle-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cstep { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 12.5px; color: var(--ink-2); }
.cstep.done { border-color: #cdeeda; background: #f3fbf6; color: #0d7a3f; }
.cstep.pending { border-style: dashed; color: var(--muted); }
.cstep a { font-weight: 600; }
.cstep a:hover { color: var(--red); }
.cycle-amount { font-family: var(--font-display); font-weight: 700; font-size: 17px; }

/* donations feed */
.feed-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 13.5px; }
.feed-row:first-child { border-top: none; }
.feed-row .who b { color: var(--ink); }
.feed-row .who span { color: var(--muted); font-size: 12px; display: block; }
.feed-amt { font-weight: 700; color: var(--red); white-space: nowrap; }

/* charities page */
.char-card { padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.char-head { display: flex; gap: 12px; align-items: center; }
.char-logo { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; flex: none; background: var(--bg-soft); border: 1px solid var(--line); }
.char-card h3 { font-size: 15.5px; letter-spacing: -0.01em; }
.char-card .loc { color: var(--muted); font-size: 12px; }
.char-card p { color: var(--ink-2); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.char-card .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.char-card .uses { font-size: 12px; color: var(--muted); }

/* misc */
.notice { background: var(--red-tint); border: 1px solid #f6d2d4; color: var(--red-dark); border-radius: 14px; padding: 12px 16px; font-size: 13px; }
.footer { border-top: 1px solid var(--line); margin-top: 90px; padding: 34px 0 44px; color: var(--muted); font-size: 12.5px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.empty { text-align: center; color: var(--muted); padding: 46px 20px; font-size: 14px; }
.skeleton { background: linear-gradient(90deg, var(--bg-soft), #f7eeee, var(--bg-soft)); background-size: 200% 100%; animation: sk 1.2s infinite linear; border-radius: 12px; }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .row2 { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: none; }
}

/* ---- metallic editorial refresh ---- */
:root {
  --bg: #f5f7f2;
  --bg-soft: #e9eee7;
  --ink: #111310;
  --ink-2: #555a55;
  --muted: #818b83;
  --red: #e32636;
  --red-dark: #b71927;
  --red-tint: #fff0f1;
  --green: #00c805;
  --silver: #aab9ab;
  --silver-light: #f4f7f1;
  --silver-dark: #52695a;
  --pearl-white: #fbfdf9;
  --pearl-fog: #dce4d9;
  --pearl-mid: #b7c4b6;
  --pearl-edge: #415949;
  --line: rgba(46, 65, 52, 0.12);
  --line-2: rgba(46, 65, 52, 0.21);
  --radius: 20px;
  --shadow-soft: 0 20px 50px -38px rgba(17, 19, 16, 0.48);
  --shadow-lift: 0 26px 70px -42px rgba(17, 19, 16, 0.6);
}

html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 4%, rgba(255, 255, 255, 1) 0, rgba(255, 255, 255, 0) 36%),
    linear-gradient(180deg, #fbfcf9 0%, var(--bg) 52%, #edf1eb 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.32;
  background-image:
    repeating-linear-gradient(115deg, transparent 0, transparent 38px, rgba(47, 69, 54, 0.022) 39px, transparent 40px),
    linear-gradient(90deg, rgba(255,255,255,0.58), transparent 28%, transparent 72%, rgba(240,246,239,0.52));
}
::selection { background: rgba(0, 200, 5, 0.18); color: var(--ink); }

.wrap { max-width: 1160px; padding-left: 28px; padding-right: 28px; }

/* nav */
.nav {
  background: rgba(249, 251, 247, 0.8);
  border-bottom-color: rgba(48, 68, 54, 0.09);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
}
.nav-inner { position: relative; height: 72px; gap: 18px; }
.nav-logo { gap: 0; font-size: 17px; flex: 1; }
.nav-links {
  flex: none;
  margin: 0;
  padding: 4px;
  gap: 2px;
  border: 1px solid rgba(48,68,54,0.09);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(246,249,244,0.8), rgba(216,224,215,0.67));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.nav-links a { padding: 8px 15px; font-size: 13px; color: #4f5550; }
.nav-links a:hover { background: rgba(255,255,255,0.72); color: var(--ink); }
.nav-links a.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 20px -15px rgba(17,19,16,0.9), inset 0 0 0 1px rgba(33,38,34,0.06);
}
.nav-inner > .btn { margin-left: auto; }
.menu-btn { display: none; flex: 0 0 38px; width: 38px; height: 38px; padding: 0; }
.menu-btn svg { display: block; flex: 0 0 20px; width: 20px; height: 20px; }

/* buttons */
.btn {
  min-height: 40px;
  padding: 10px 21px;
  border: 1px solid transparent;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn-dark {
  color: #f7f8f6;
  background: linear-gradient(145deg, #262a26 0%, #0e100e 78%);
  border-color: rgba(0,0,0,0.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 12px 28px -18px rgba(0,0,0,0.9);
}
.btn-dark:hover { background: linear-gradient(145deg, #333833, #111411); }
.btn-red {
  background: linear-gradient(145deg, #202420, #0e100e 80%);
  color: #fff;
  border-color: rgba(0,0,0,0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 16px 32px -22px rgba(0,0,0,0.9);
}
.btn-red:hover { background: linear-gradient(145deg, #323732, #121512); }
.btn-ghost {
  background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(229,235,227,0.72));
  color: var(--ink);
  border-color: rgba(33,38,34,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 12px 28px -24px rgba(17,19,16,0.8);
}
.btn-ghost:hover { background: linear-gradient(145deg, #fff, #e5ece3); border-color: rgba(46,65,52,0.32); }
.btn-sm { min-height: 34px; padding: 7px 14px; }
.btn:focus-visible, a:focus-visible, .input:focus-visible, .dropzone:focus-visible {
  outline: 3px solid rgba(0, 200, 5, 0.22);
  outline-offset: 3px;
}

/* typography */
.label { color: #696f6b; letter-spacing: 0.16em; }
.label::before { content: ""; display: inline-block; width: 13px; height: 1px; margin: 0 8px 3px 0; background: linear-gradient(90deg, var(--silver-dark), var(--silver-light)); }
.label.gray { color: var(--muted); }
h1.display {
  max-width: 940px;
  margin-inline: auto;
  font-size: clamp(48px, 8vw, 88px);
  letter-spacing: -0.065em;
  color: var(--ink);
  background: linear-gradient(110deg, #0d0f0d 12%, #4f5e53 42%, #101310 62%, #829387 83%, #171a17 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2.display { letter-spacing: -0.045em; font-size: clamp(30px, 4.3vw, 46px); }
.sub { color: #5c625d; font-size: 16px; line-height: 1.72; }

/* hero */
.hero { position: relative; padding: 104px 28px 74px; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 240px;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(166, 184, 169, 0.24), rgba(255,255,255,0) 68%);
  pointer-events: none;
  z-index: -1;
}
.hero .label { margin-bottom: 15px; }
.hero .sub { margin: 22px auto 30px; max-width: 650px; }
.hero-cta { gap: 10px; }
.hero-cta .btn { min-height: 48px; padding-inline: 25px; }

.route-rail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 34px auto 0;
  padding: 8px 10px;
  border: 1px solid rgba(46,65,52,0.12);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255,255,255,0.82), rgba(221,229,219,0.56));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
  color: #5f6560;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.route-rail .route-node { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.route-rail .route-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 70% 22%, #fff 0 18%, transparent 38%), linear-gradient(145deg, var(--pearl-white), var(--pearl-mid) 72%, #829487);
  color: #273229;
  border: 1px solid rgba(65,89,73,0.18);
  box-shadow: inset 0 1px 1px #fff, inset 0 -1px 2px rgba(65,89,73,0.22), 0 6px 12px -9px #203027;
  font-size: 9px;
}
.route-rail .route-arrow { color: #a2a8a3; font-size: 13px; }
.integration-state {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 7px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 11.5px;
}
.integration-state .status-dot { width: 6px; height: 6px; border-radius: 50%; background: #d29726; box-shadow: 0 0 0 4px rgba(210,151,38,0.1); }
.integration-state.live .status-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(0,200,5,0.1); }

/* stats */
.stats {
  border-color: rgba(46,65,52,0.11);
  background: linear-gradient(180deg, rgba(250,252,248,0.72), rgba(228,234,226,0.62));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}
.stats-inner { grid-template-columns: repeat(4, 1fr); }
.stat { min-width: 0; padding: 28px 18px; border-left-color: rgba(33,38,34,0.1); }
.stat .label::before { display: none; }
.stat b { font-size: 34px; }

/* sections and cards */
.section { padding-top: 86px; }
.section-head { margin-top: 16px; margin-bottom: 28px; }
.card {
  position: relative;
  background: radial-gradient(circle at 82% 10%, rgba(255,255,255,0.9) 0 8%, transparent 27%), linear-gradient(148deg, rgba(253,254,251,0.95) 0%, rgba(237,242,235,0.9) 64%, rgba(211,221,211,0.8) 100%);
  border-color: rgba(46,65,52,0.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), var(--shadow-soft);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,0.4), transparent 24%, transparent 76%, rgba(78,103,86,0.06));
}
.tok { gap: 14px; padding: 20px; transform: translateZ(0); }
.tok:hover { border-color: rgba(33,38,34,0.24); box-shadow: inset 0 1px 0 #fff, var(--shadow-lift); transform: translateY(-2px); }
.tok-logo, .tk-logo { border-color: rgba(33,38,34,0.14); box-shadow: inset 0 1px 0 #fff; }
.charity-chip { background: rgba(255,240,241,0.78); border: 1px solid rgba(227,38,54,0.11); }
.donated-badge, .feed-amt { color: #147339; }
.steps { gap: 16px; }
.step { min-height: 246px; padding: 28px; }
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #263229;
  background: radial-gradient(circle at 70% 20%, #fff 0 15%, transparent 36%), linear-gradient(145deg, #f9fcf7 5%, #b8c6b7 58%, #eef3ec 100%);
  border: 1px solid rgba(61,84,68,0.22);
  box-shadow: inset 0 1px 1px #fff, inset 0 -1px 2px rgba(65,89,73,0.2), 0 12px 20px -16px rgba(31,50,37,0.9);
}
.step h3 { margin-top: 28px; font-size: 19px; }
.step p { line-height: 1.68; }

/* working surfaces */
.input, textarea.input, select.input {
  min-height: 46px;
  background: rgba(255,255,255,0.78);
  border-color: rgba(33,38,34,0.15);
  box-shadow: inset 0 1px 2px rgba(17,19,16,0.035), 0 1px 0 rgba(255,255,255,0.85);
}
.input:hover { border-color: rgba(33,38,34,0.25); }
.input:focus { border-color: #667a6b; box-shadow: 0 0 0 4px rgba(95,122,102,0.12); }
.dropzone {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255,255,255,0.42);
  border-color: rgba(71,78,73,0.22);
}
.dropzone:hover, .dropzone.drag { border-color: #6f8374; background: rgba(248,251,247,0.78); color: var(--ink); }
.charity-results { background: rgba(255,255,255,0.97); backdrop-filter: blur(18px); }
.charity-result:hover { background: #f1f2ef; }
.sign-summary {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 78% 14%, rgba(255,255,255,0.98) 0 9%, transparent 28%), linear-gradient(145deg, #fbfdf9 0%, #bdcabc 52%, #edf3eb 100%);
  border-color: rgba(57,81,64,0.24);
  box-shadow: inset 0 1px 1px #fff, inset 0 -2px 4px rgba(65,89,73,0.13), var(--shadow-lift);
}
.sign-summary::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 30%, rgba(255,255,255,0.62) 46%, transparent 61%);
}
.sign-summary > * { position: relative; }
.status-box { background: rgba(255,255,255,0.62); }
.notice { background: rgba(255,240,241,0.7); }
.cycle, .char-card, .statcard { overflow: hidden; }

.footer {
  margin-top: 110px;
  padding: 42px 0 50px;
  background: rgba(224,231,222,0.56);
  border-top-color: rgba(46,65,52,0.11);
}
.footer-inner { align-items: flex-start; }
.footer-brand { max-width: 520px; color: #5c625d; }
.footer-brand b { display: block; margin-bottom: 5px; color: var(--ink); font-size: 14px; }
.footer-route { text-align: right; line-height: 1.8; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 860px) {
  .nav-links { margin-right: auto; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-top: 1px solid var(--line); border-left: none; }
  .stat:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .nav-inner { height: 64px; }
  .nav-logo span { display: inline; }
  .nav-logo { flex: 1; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border-radius: 18px;
    background: rgba(247,247,243,0.97);
    box-shadow: 0 24px 60px -28px rgba(0,0,0,0.65), inset 0 1px 0 #fff;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 11px 13px; border-radius: 12px; }
  .menu-btn { display: inline-flex; }
  .nav-inner > #connectBtn { margin-left: 0; }
  .hero { padding-top: 82px; padding-bottom: 62px; }
  h1.display { font-size: clamp(36px, 12vw, 54px); letter-spacing: -0.06em; white-space: nowrap; }
  .hero .sub { font-size: 15px; }
  .route-rail { border-radius: 18px; flex-wrap: wrap; max-width: 380px; padding: 10px 12px; }
  .route-rail .route-arrow { transform: rotate(90deg); }
  .section { padding-top: 68px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .step { min-height: auto; }
  .footer-route { text-align: left; }
  .tk-head { padding-top: 30px; }
  .kv .krow { flex-direction: column; gap: 4px; }
  .mono { overflow-wrap: anywhere; }
}

@media (max-width: 480px) {
  .nav-inner > #connectBtn { max-width: 118px; overflow: hidden; }
  .hero-cta { flex-direction: column; align-items: stretch; max-width: 300px; margin-inline: auto; }
  .stats-inner { grid-template-columns: 1fr 1fr; padding-left: 0; padding-right: 0; }
  .stat { padding: 22px 10px; }
  .stat b { font-size: 28px; }
  .stat .label { font-size: 9px; }
  .route-rail { display: grid; grid-template-columns: 1fr; justify-items: start; width: 100%; max-width: 270px; }
  .route-rail .route-arrow { display: none; }
  .feed-row { align-items: flex-start; flex-direction: column; }
  .char-card .foot { align-items: flex-start; flex-direction: column; }
}
