/* =========================================================
   GIANTKILL — minimal / modern / springy
   ========================================================= */
:root {
  --bg: #f5f5f8;
  --bg-2: #ececf2;
  --surface: #ffffff;
  --surface-2: #f3f3f7;
  --ink: #0b0b10;
  --ink-2: #33333d;
  --muted: #6e6e7b;
  --dim: #9a9aa6;
  --line: #e8e8ef;
  --line-2: #dcdce6;
  --red: #ff2d55;
  --red-soft: #fff1f4;
  --violet: #6d5efc;
  --mint: #00bf87;
  --sans: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --wrap: 1160px;
  --pad: clamp(18px, 4vw, 32px);
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow-1: 0 1px 2px rgba(11, 11, 16, 0.04), 0 10px 30px -24px rgba(11, 11, 16, 0.35);
  --shadow-2: 0 2px 4px rgba(11, 11, 16, 0.04), 0 24px 60px -32px rgba(11, 11, 16, 0.45);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.7;
  letter-spacing: 0.002em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(700px 460px at 88% -6%, rgba(109, 94, 252, 0.1), transparent 65%),
    radial-gradient(620px 420px at 4% 2%, rgba(255, 45, 85, 0.07), transparent 62%);
}

::selection { background: var(--ink); color: #fff; }

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.mono { font-family: var(--mono); letter-spacing: 0.01em; }
.dim { color: var(--dim); }
.muted { color: var(--muted); }
.red { color: var(--red); }
.lime { color: var(--mint); }
.nowrap { white-space: nowrap; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 12px 0 0;
  background: transparent;
  border: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
  height: 58px;
  max-width: calc(var(--wrap) - var(--pad) * 2);
  margin: 0 auto;
  padding: 0 10px 0 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(232, 232, 239, 0.9);
  border-radius: 999px;
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.nav:hover .nav-inner { box-shadow: 0 2px 6px rgba(11, 11, 16, 0.05), 0 18px 40px -28px rgba(11, 11, 16, 0.4); }
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 850;
  letter-spacing: -0.02em;
  font-size: 15px;
  text-transform: uppercase;
}
.brand-mark {
  position: relative;
  width: 18px; height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--red), #ff7a4d);
  box-shadow: 0 4px 12px -4px rgba(255, 45, 85, 0.7);
  transform: rotate(8deg);
  transition: transform 0.5s var(--spring);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.12); }
.brand em {
  font-style: normal;
  color: var(--dim);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 9px;
}
.nav-links {
  display: flex;
  gap: clamp(6px, 1.4vw, 18px);
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 550;
  color: var(--muted);
}
.nav-links a {
  padding: 7px 10px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s, transform 0.3s var(--spring);
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); transform: translateY(-1px); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav-cta { margin-left: 4px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  background: var(--surface-2);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 16px; height: 1.6px; border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--spring), opacity 0.2s;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
  --btn-bd: var(--line-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.35s var(--spring), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); border-color: var(--line-2); }
.btn:active { transform: scale(0.96); box-shadow: none; }
.btn-solid { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); font-weight: 600; }
.btn-solid:hover { --btn-bg: #24242e; --btn-bd: #24242e; transform: translateY(-2px) scale(1.02); }
.btn-red {
  --btn-bg: var(--red); --btn-fg: #fff; --btn-bd: var(--red); font-weight: 600;
  box-shadow: 0 8px 20px -10px rgba(255, 45, 85, 0.7);
}
.btn-red:hover { --btn-bg: #ff4468; --btn-bd: #ff4468; transform: translateY(-2px) scale(1.02); }
.btn-quiet { --btn-bg: transparent; --btn-fg: var(--muted); border-color: transparent; }
.btn-quiet:hover { --btn-fg: var(--ink); background: var(--surface); border-color: var(--line); }
.btn-sm { padding: 8px 13px; font-size: 11.5px; border-radius: 999px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.4; pointer-events: none; }
.btn.is-done {
  --btn-bg: var(--mint); --btn-fg: #fff; --btn-bd: var(--mint);
  animation: pop 0.45s var(--spring);
}
@keyframes pop {
  0% { transform: scale(0.9); }
  55% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 86px) 0 clamp(28px, 4vw, 46px);
  border-bottom: 0;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 130%;
  background:
    radial-gradient(560px 400px at 84% 6%, rgba(109, 94, 252, 0.2), transparent 62%),
    radial-gradient(480px 360px at 8% 0%, rgba(255, 45, 85, 0.13), transparent 60%);
  filter: blur(18px);
  animation: float 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero-glow { display: none; }
@keyframes float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-18px, 16px, 0) scale(1.04); }
}
.hero .wrap { position: relative; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px 8px 12px;
  margin: 0 0 clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-1);
  animation: rise 0.8s var(--spring) both;
}
.kicker .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 45, 85, 0.5);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 45, 85, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(255, 45, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 45, 85, 0); }
}

.hero-title {
  font-size: clamp(40px, 8.2vw, 108px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 900;
  margin: 0 0 clamp(20px, 2.6vw, 28px);
  animation: rise 0.9s var(--spring) 0.05s both;
}
.hero-title .line {
  display: flex;
  align-items: baseline;
  gap: 0.22em;
  flex-wrap: wrap;
}
.hero-title em {
  font-style: normal;
  font-size: 0.62em;
  letter-spacing: -0.02em;
  color: var(--red);
  font-weight: 850;
}
.glitch { position: relative; display: inline-block; }
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.glitch::before { color: var(--red); }
.glitch::after { color: var(--violet); }
.hero-title:hover .glitch::before { opacity: 0.9; animation: glitch-a 0.45s steps(2, end) infinite; }
.hero-title:hover .glitch::after { opacity: 0.55; animation: glitch-b 0.38s steps(2, end) infinite; }
@keyframes glitch-a {
  0%, 100% { clip-path: inset(0 0 68% 0); transform: translate(5px, 0); }
  45% { clip-path: inset(40% 0 32% 0); transform: translate(-4px, 1px); }
}
@keyframes glitch-b {
  0%, 100% { clip-path: inset(62% 0 0 0); transform: translate(-5px, 0); }
  50% { clip-path: inset(12% 0 64% 0); transform: translate(4px, -1px); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.hero-sub {
  font-size: clamp(16.5px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 42ch;
  margin: 0 0 clamp(24px, 3.2vw, 34px);
  animation: rise 0.9s var(--spring) 0.12s both;
}
.hero-sub strong { color: var(--ink); font-weight: 650; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(30px, 4vw, 44px);
  animation: rise 0.9s var(--spring) 0.18s both;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  animation: rise 0.9s var(--spring) 0.24s both;
}
.hero-meta > div { padding: 16px 20px; border-left: 1px solid var(--line); }
.hero-meta > div:first-child { border-left: 0; }
.hero-meta dt {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
  margin-bottom: 5px;
}
.hero-meta dd {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 850;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.hero-side { display: none; }
@media (min-width: 1320px) {
  .hero-side {
    display: block;
    position: absolute;
    right: 0;
    top: 96px;
    width: 250px;
    z-index: 2;
  }
}
.side-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 15px 14px 12px;
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  animation: rise 0.9s var(--spring) 0.3s both;
}
.side-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 8px;
  padding: 0 6px;
}
.side-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(0, 191, 135, 0.12);
  animation: pulse 2.8s infinite;
}
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.side-list li {
  display: flex;
  align-items: baseline;
  gap: 1px;
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 12px;
  transition: background 0.2s, transform 0.35s var(--spring);
}
.side-list li:hover { background: #fff; transform: translateX(2px); }
.side-list a { font-weight: 650; }
.side-list a:hover { color: var(--red); }
.side-list span { color: var(--dim); font-size: 10.5px; margin-left: 3px; }
.side-foot {
  margin-top: 9px;
  padding: 9px 6px 2px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.09em;
  color: var(--dim);
}

/* ---------- ticker ---------- */
.ticker {
  margin: 6px 0 0;
  border: 0;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 30px;
  padding: 10px 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: slide 52s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span::before { content: "•"; margin-right: 10px; color: var(--red); }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 92px) 0; border-bottom: 0; }
.section + .section { padding-top: 0; }
.section.alt { background: transparent; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(14px, 4vw, 48px);
  align-items: end;
  margin-bottom: clamp(26px, 4vw, 40px);
}
.sec-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 14px;
}
.sec-index::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.section-head .lead {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
  max-width: 50ch;
  margin: 0;
}
.section-head .lead strong { color: var(--ink); font-weight: 600; }

/* ---------- manifesto ---------- */
.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(20px, 3.5vw, 48px);
  align-items: start;
}
.prose p {
  font-size: clamp(15.5px, 1.4vw, 17px);
  line-height: 1.85;
  color: var(--ink-2);
  margin-bottom: 1.05em;
}
.prose p strong { color: var(--ink); font-weight: 650; }
.prose .strike { color: var(--dim); text-decoration: line-through; }
.prose .mark {
  background: linear-gradient(135deg, var(--red), #ff6b5f);
  color: #fff;
  padding: 2px 7px;
  border-radius: 7px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-weight: 600;
}
.refuse { margin: 0; padding: 0; display: grid; gap: 9px; }
.refuse li {
  list-style: none;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  transition: transform 0.4s var(--spring), box-shadow 0.3s, border-color 0.2s;
}
.refuse li:hover { transform: translateX(5px); border-color: var(--line-2); box-shadow: var(--shadow-1); }
.refuse li::before {
  counter-increment: r;
  content: "0" counter(r);
  font-size: 10.5px;
  font-weight: 650;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 999px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
}
.refuse { counter-reset: r; }
.refuse-note {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--dim);
  text-transform: uppercase;
}

/* ---------- funds ---------- */
.funds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.fund {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 30px);
  min-height: 196px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.45s var(--spring), box-shadow 0.35s, border-color 0.2s;
}
.fund:hover {
  transform: translateY(-5px) scale(1.006);
  box-shadow: var(--shadow-2);
  border-color: transparent;
}
.fund-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  color: var(--dim);
  text-transform: uppercase;
}
.fund-top b { color: var(--red); font-weight: 650; }
.fund h3 { font-size: clamp(18px, 2.1vw, 23px); letter-spacing: -0.03em; }
.fund p { color: var(--muted); font-size: 13.5px; line-height: 1.7; margin: 0; }
.fund .tag {
  margin-top: auto;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
  border-radius: 999px;
  padding: 5px 10px;
}

.declaration {
  position: relative;
  margin-top: 16px;
  border: 1px solid #ffd7de;
  border-radius: var(--r-lg);
  background:
    radial-gradient(600px 200px at 100% 0%, rgba(255, 45, 85, 0.1), transparent 70%),
    #fff;
  padding: clamp(22px, 3vw, 32px);
  overflow: hidden;
}
.declaration::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(var(--red), #ff8a5c);
}
.declaration .label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 999px;
  padding: 5px 10px;
  margin-bottom: 12px;
}
.declaration .label::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%; background: var(--red);
}
.declaration p { font-size: clamp(16px, 1.7vw, 20px); line-height: 1.55; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.declaration small { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; }

/* ---------- wallets ---------- */
.wallets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.wallet {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.45s var(--spring), box-shadow 0.35s, border-color 0.2s;
}
.wallet:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.wallet-head { display: flex; align-items: center; gap: 9px; }
.wallet-net { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.wallet-kind {
  margin-left: auto;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--dim);
  background: var(--surface-2);
  border-radius: 999px;
  padding: 4px 8px;
  text-transform: uppercase;
}
.wallet-addr {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink-2);
  word-break: break-all;
  margin: 0;
  min-height: 2.6em;
  background: var(--surface-2);
  border-radius: var(--r-sm);
  padding: 9px 11px;
}
.wallet-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.wallet .icon {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
  flex: 0 0 auto;
}
.wallet-note {
  grid-column: 1 / -1;
  font-size: 11.5px;
  color: var(--dim);
  line-height: 1.7;
  padding: 4px 6px 0;
  margin: 0;
}

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(18px, 2.4vw, 26px);
  transition: transform 0.45s var(--spring), box-shadow 0.35s;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.stat-label {
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 10px;
}
.stat-num {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 900;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat-sub { font-size: 11.5px; color: var(--muted); margin-top: 8px; }

.bars {
  display: grid;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 20px;
}
.bar-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  font-weight: 550;
  color: var(--muted);
}
.bar-track { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), #ff7a5c);
  width: 0;
  transition: width 0.9s var(--ease);
}
.bar-row:nth-child(2n) .bar-fill { background: linear-gradient(90deg, var(--violet), #8f7bff); }
.bar-row b { color: var(--ink); text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }

/* ---------- archive ---------- */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.search {
  flex: 1 1 230px;
  min-width: 170px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 14px;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.search:focus-within { background: #fff; border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 45, 85, 0.12); }
.search input { flex: 1; border: 0; background: transparent; padding: 11px 0; outline: none; font-size: 13.5px; }
.search input::placeholder { color: var(--dim); }
.chip-group { display: flex; gap: 5px; flex-wrap: wrap; }
.chip {
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s var(--spring);
}
.chip:hover { color: var(--ink); background: var(--surface-2); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); animation: pop 0.4s var(--spring); }
@media (min-width: 901px) {
  #sortChips { margin-left: auto; padding-left: 10px; border-left: 1px solid var(--line); }
}

.rows { display: block; }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.row:last-child { border-bottom: 0; }
.row:hover { background: #fbfbfd; }
.row-main { min-width: 0; }
.row-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 5px; }
.row-title { font-size: clamp(15px, 1.6vw, 17.5px); font-weight: 700; letter-spacing: -0.02em; }
.row-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  font-size: 11px;
  color: var(--dim);
}
.row-meta span { display: inline-flex; align-items: center; gap: 4px; }
.row-actions { display: flex; align-items: center; gap: 6px; }

.badge {
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface-2);
  white-space: nowrap;
}
.badge[data-p="chatgpt"] { color: #00785a; background: rgba(0, 191, 135, 0.1); }
.badge[data-p="claude"] { color: #b34a00; background: rgba(255, 122, 60, 0.12); }
.badge[data-p="gemini"] { color: #2b53d6; background: rgba(80, 110, 255, 0.1); }
.badge[data-p="grok"] { color: #33333d; background: #ececf2; }
.badge[data-p="deepseek"] { color: #6236d9; background: rgba(109, 94, 252, 0.12); }
.badge[data-p="qwen"] { color: #007a9e; background: rgba(0, 174, 214, 0.1); }
.badge[data-p="kimi"] { color: #8a5b00; background: rgba(255, 190, 60, 0.16); }
.badge-lime { color: #00785a; background: rgba(0, 191, 135, 0.1); }

.empty { padding: 52px 24px; text-align: center; color: var(--dim); font-size: 13px; }
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  background: #fbfbfd;
  font-size: 11.5px;
  color: var(--muted);
}

/* ---------- upload ---------- */
.upload-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr);
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
}
.upload-grid > div:first-child {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(18px, 2.6vw, 28px);
  box-shadow: var(--shadow-1);
}
.drop {
  position: relative;
  display: block;
  border: 1.5px dashed #dcdce6;
  border-radius: var(--r-lg);
  background: var(--surface-2);
  padding: clamp(26px, 3.6vw, 38px) 22px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.4s var(--spring);
  margin-bottom: 18px;
}
.drop:hover, .drop.is-drag {
  border-color: var(--red);
  background: var(--red-soft);
  transform: scale(1.006);
}
.drop-icon {
  width: 44px; height: 44px;
  margin: 0 auto 12px;
  display: grid; place-items: center;
  font-size: 20px;
  color: var(--red);
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-1);
  transition: transform 0.45s var(--spring);
}
.drop:hover .drop-icon { transform: translateY(3px) scale(1.06); }
.drop-title { font-size: 15.5px; font-weight: 650; margin-bottom: 5px; }
.drop-hint { font-size: 11px; color: var(--dim); letter-spacing: 0.02em; }
.drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.fileline {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border-radius: var(--r-sm);
  padding: 10px 13px;
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 16px;
}
.fileline strong { color: var(--ink); font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fileline .x {
  margin-left: auto;
  cursor: pointer;
  color: var(--dim);
  background: none;
  border: 0;
  font-size: 14px;
  width: 22px; height: 22px;
  border-radius: 50%;
}
.fileline .x:hover { background: #e6e6ee; color: var(--ink); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.field label .req { color: var(--red); }
.field input[type="text"],
.field select,
.field textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  padding: 11px 13px;
  font-size: 13.5px;
  outline: none;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 19px, calc(100% - 12px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  background: #fff;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 45, 85, 0.12);
}
.field .hint { font-size: 10.5px; color: var(--dim); }

.check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 14px;
  background: var(--surface-2);
  border-radius: var(--r-md);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}
.check input { margin-top: 2px; accent-color: var(--red); width: 16px; height: 16px; }
.check b { color: var(--ink); font-weight: 600; }

.progress { height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin: 16px 0 9px; display: none; }
.progress.on { display: block; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), #ff7a5c); border-radius: 999px; transition: width 0.25s var(--ease); }
.form-msg { font-size: 12px; min-height: 18px; }
.form-msg.err { color: var(--red); }
.form-msg.ok { color: var(--mint); }

.result {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  margin-top: 16px;
  display: none;
  animation: pop 0.45s var(--spring);
}
.result.on { display: block; }
.result h4 { font-size: 14px; margin-bottom: 6px; letter-spacing: -0.01em; }
.result .mono { font-size: 11.5px; color: var(--muted); word-break: break-all; }
.result .row-actions { margin-top: 12px; }

.rules { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 24px); }
.rules h3 { font-size: 14px; margin-bottom: 12px; letter-spacing: -0.01em; }
.rules ol, .rules ul { margin: 0; padding-left: 17px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.rules li { margin-bottom: 8px; }
.rules li b { color: var(--ink); font-weight: 600; }
.rules .warn {
  margin-top: 14px;
  padding: 12px;
  border-radius: var(--r-sm);
  background: var(--red-soft);
  font-size: 11.5px;
  line-height: 1.7;
  color: #c4193c;
}

/* ---------- domains ---------- */
.domains {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.domain {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  flex-wrap: wrap;
  transition: background 0.2s;
}
.domain:last-child { border-bottom: 0; }
.domain:hover { background: #fbfbfd; }
.domain .idx { color: var(--dim); font-size: 11px; font-variant-numeric: tabular-nums; }
.domain a { font-weight: 600; letter-spacing: -0.01em; }
.domain a:hover { color: var(--red); }
.domain .punc { color: var(--dim); font-size: 10.5px; margin-left: auto; }

/* ---------- announcements ---------- */
.ann-list { display: grid; gap: 10px; }
.ann {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
  transition: transform 0.4s var(--spring), box-shadow 0.3s;
}
.ann:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }
.ann[data-level="fund"] { box-shadow: inset 3px 0 0 var(--mint); }
.ann[data-level="warn"] { box-shadow: inset 3px 0 0 var(--red); }
.ann[data-level="action"] { box-shadow: inset 3px 0 0 var(--violet); }
.ann-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.ann-head h3 { font-size: 14.5px; letter-spacing: -0.01em; }
.ann-head time { margin-left: auto; font-size: 10.5px; color: var(--dim); }
.ann p { color: var(--muted); font-size: 13.5px; white-space: pre-wrap; margin: 0; line-height: 1.7; }

/* ---------- faq ---------- */
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 6px 22px; box-shadow: var(--shadow-1); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer;
  padding: 17px 38px 17px 0;
  position: relative;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  list-style: none;
  transition: color 0.2s;
}
.faq summary:hover { color: var(--red); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 2px; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  font-size: 15px;
  color: var(--muted);
  transition: transform 0.35s var(--spring), background 0.2s;
}
.faq details[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); background: var(--ink); color: #fff; }
.faq .a { padding: 0 30px 19px 0; color: var(--muted); font-size: 13.5px; line-height: 1.75; max-width: 78ch; }
.faq .a strong { color: var(--ink); font-weight: 600; }

/* ---------- band ---------- */
.band {
  padding: clamp(40px, 6vw, 64px) 0;
  border: 0;
  background: transparent;
}
.band-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(500px 220px at 90% 0%, rgba(255, 45, 85, 0.5), transparent 65%),
    radial-gradient(460px 240px at 10% 100%, rgba(109, 94, 252, 0.55), transparent 65%),
    #0b0b10;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.band h2 { font-size: clamp(24px, 3.4vw, 38px); letter-spacing: -0.04em; max-width: 20ch; }
.band .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.band .btn { --btn-bg: #fff; --btn-fg: #0b0b10; --btn-bd: #fff; }
.band .btn-quiet { --btn-bg: rgba(255, 255, 255, 0.08); --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.18); }

/* ---------- page head ---------- */
.pagehead { padding: clamp(34px, 5vw, 60px) 0 clamp(22px, 3vw, 34px); border-bottom: 0; position: relative; overflow: hidden; }
.pagehead h1 {
  font-size: clamp(34px, 6.6vw, 78px);
  line-height: 1.06;
  letter-spacing: -0.05em;
  margin: 0 0 14px;
}
.pagehead h1 em { font-style: normal; color: #c3c3cf; }
.pagehead .lead { color: var(--muted); max-width: 58ch; font-size: 15px; margin: 0; }
.crumbs {
  display: flex; gap: 7px;
  font-size: 11px; color: var(--dim);
  margin-bottom: 16px;
}
.crumbs a { padding: 4px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); transition: color .2s, transform .3s var(--spring); }
.crumbs a:hover { color: var(--red); transform: translateY(-1px); }
.crumbs span { align-self: center; }

/* ---------- footer ---------- */
.footer { padding: clamp(36px, 5vw, 60px) 0 0; background: transparent; border-top: 0; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.7fr));
  gap: 24px;
  padding-bottom: 30px;
}
.footer h4 {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 12px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13px; color: var(--muted); }
.footer ul a { transition: color .2s, transform .3s var(--spring); display: inline-block; }
.footer ul a:hover { color: var(--ink); transform: translateX(3px); }
.footer-brand p { color: var(--muted); font-size: 13px; max-width: 34ch; margin: 12px 0 0; line-height: 1.7; }
.wordmark {
  font-size: clamp(48px, 13vw, 172px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: #e7e7ee;
  white-space: nowrap;
  overflow: hidden;
  padding: 10px 0 0;
  user-select: none;
}
.legal {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding: 16px 0 22px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--dim);
}

/* ---------- modal / toast ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(11, 11, 16, 0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.modal.on { display: flex; animation: fade 0.25s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal-panel {
  width: min(720px, 100%);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 100px -40px rgba(11, 11, 16, 0.6);
  animation: modal-in 0.45s var(--spring);
  overflow: hidden;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.modal-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 13.5px; letter-spacing: -0.01em; }
.modal-head .x {
  margin-left: auto;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border: 0; border-radius: 50%;
  cursor: pointer; color: var(--muted); font-size: 13px;
  transition: transform 0.35s var(--spring), background 0.2s, color 0.2s;
}
.modal-head .x:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.modal-body { padding: 16px; overflow: auto; background: #fbfbfd; }
.modal-body pre {
  margin: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--ink-2);
  white-space: pre-wrap;
  word-break: break-word;
}
.modal-foot {
  display: flex; gap: 10px; align-items: center;
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  font-size: 11px; color: var(--dim);
}
.modal-foot .row-actions { margin-left: auto; }
.qr-box { display: grid; place-items: center; gap: 14px; padding: 22px 18px; background: #fff; }
.qr-box .qr { background: #fff; padding: 12px; line-height: 0; border: 1px solid var(--line); border-radius: var(--r-md); }
.qr-box .qr svg { width: min(220px, 56vw); height: auto; display: block; }
.qr-box .addr {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  word-break: break-all;
  text-align: center;
  max-width: 44ch;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px) scale(0.94);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 550;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-2);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.45s var(--spring);
}
.toast.on { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 0.55s var(--ease), transform 0.8s var(--spring);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (scripting: none) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .wallets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 900px) {
  .manifesto { grid-template-columns: 1fr; }
  .upload-grid { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-meta > div { border-left: 0; border-top: 1px solid var(--line); }
  .hero-meta > div:nth-child(-n+2) { border-top: 0; }
  .hero-meta > div:nth-child(2n) { border-left: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .funds { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 70px; left: var(--pad); right: var(--pad);
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-2);
    font-size: 13px;
    animation: modal-in 0.35s var(--spring);
  }
  .nav.open .nav-links a { padding: 11px 14px; border-radius: var(--r-sm); }
  .row { grid-template-columns: 1fr; align-items: start; }
  .row-actions { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .wallets { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer { padding-top: 28px; }
  .kicker { white-space: nowrap; font-size: 9.5px; letter-spacing: 0.05em; padding: 7px 12px 7px 10px; }
  .hero-title .line { display: block; }
  .hero-title em {
    display: block;
    font-size: 0.34em;
    letter-spacing: 0.04em;
    margin: 8px 0 3px;
  }
  .domain .punc { margin-left: 0; width: 100%; }
  .band-inner { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
