:root {
  --bg: #ECEBE7;
  --ink: #2B2B2B;
  --muted: #7A7874;
  --faint: #A9A7A1;
  --line: rgba(43, 43, 43, 0.14);
  --line-strong: rgba(43, 43, 43, 0.32);
  --accent: #6A0F16;           /* from the WATE logo */
  --accent-soft: rgba(106, 15, 22, 0.08);

  --sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', 'Songti SC', serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .6, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
p, h1, h2, h3, dl, dd, ul, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

.mono { font-family: var(--mono); font-size: .92em; letter-spacing: 0; word-break: break-all; }
.muted { color: var(--muted); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 var(--gutter);
  background: rgba(236, 235, 231, 0);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.nav.scrolled {
  background: rgba(236, 235, 231, .88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .14em; font-size: 13px; }
.nav-links { display: flex; gap: clamp(20px, 3vw, 40px); }
.nav-links a, .nav-toggle {
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); opacity: .7; transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px 0; cursor: pointer; font-family: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  border: 1px solid var(--ink); border-radius: 0; background: transparent;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), opacity .25s;
}
.btn-line:hover { background: var(--ink); color: var(--bg); }
.btn-solid { background: var(--accent); border-color: var(--accent); color: #F4F1EC; }
.btn-solid:hover { background: #540B11; border-color: #540B11; }
.btn-solid:disabled { opacity: .35; cursor: not-allowed; }
.btn-quiet { min-height: 36px; padding: 0 14px; border-color: var(--line-strong); font-size: 10px; }
.btn-quiet:hover { border-color: var(--ink); }
.link { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 32px;
}
.hero-inner { max-width: var(--max); width: 100%; margin: auto; }
.hero-mark { width: 44px; height: 44px; margin-bottom: 40px; }
.hero-title {
  font-weight: 500;
  font-size: clamp(64px, 13vw, 184px);
  line-height: .9; letter-spacing: -.045em;
  margin-left: -.04em;
}
.hero-claim {
  margin-top: 28px;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15;
  color: var(--accent);
}
.hero-def { margin-top: 44px; max-width: 34em; }
.hero-def .zh { font-size: clamp(16px, 1.5vw, 19px); letter-spacing: .06em; }
.hero-def .en { margin-top: 6px; font-size: 14px; color: var(--muted); }
.hero-statement {
  margin: 44px 0 52px; max-width: 30em;
  font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; font-weight: 400;
}
.hero-facts {
  width: 100%; max-width: var(--max); margin: 64px auto 0;
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Sections ---------- */
.section {
  display: grid; grid-template-columns: 1fr 3fr; gap: 48px;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(96px, 14vw, 176px) var(--gutter);
  border-top: 1px solid var(--line);
}
.label {
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); padding-top: .5em;
}
.body { max-width: 760px; }

.h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.25; font-weight: 400; letter-spacing: -.015em; }
.display { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.04; font-weight: 500; letter-spacing: -.035em; }
.lead { font-size: clamp(20px, 2.1vw, 26px); line-height: 1.4; letter-spacing: -.01em; }
.lead strong { font-weight: 500; }
.lead + .lead { margin-top: 8px; }
.small { margin-top: 32px; max-width: 32em; font-size: 14px; color: var(--muted); }

/* Idea */
.negations { margin-top: 56px; }
.negations li { padding: 18px 0; border-top: 1px solid var(--line); font-size: 17px; }
.negations li:last-child { border-bottom: 1px solid var(--line); }
.simply { margin-top: 56px; font-size: 14px; color: var(--muted); }
.here {
  margin-top: 8px;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(56px, 8vw, 104px); line-height: 1; letter-spacing: -.01em;
  color: var(--accent);
}
.zh-note { margin-top: 40px; font-size: 13px; letter-spacing: .08em; color: var(--muted); }

/* First 500 */
.alloc { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.alloc div { padding: 18px 20px 0 0; }
.alloc dt, .kv dt, .fact dt, .footer-links dt {
  font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.alloc dd { margin-top: 8px; font-size: 17px; font-weight: 500; letter-spacing: -.005em; }
.terms { margin-top: 64px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.nos li { font-size: 15px; line-height: 2; }
.nos li::before { content: '—'; color: var(--faint); margin-right: 12px; }
.terms p { font-size: 15px; color: var(--muted); }
.purpose {
  margin-top: 80px; padding-left: 24px; border-left: 1px solid var(--accent);
  font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35;
}

.join { margin-top: 96px; padding: clamp(28px, 4vw, 48px); background: rgba(255, 255, 255, .34); border: 1px solid var(--line); }
.join-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.join-head h3 { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.counter { min-width: 180px; text-align: right; }
.counter-num { display: block; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.counter-num b { font-family: var(--sans); font-weight: 400; font-size: 40px; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.counter-label { display: block; margin-top: 2px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.counter-bar { margin-top: 12px; height: 1px; background: var(--line); }
.counter-bar i { display: block; height: 1px; width: 0; background: var(--accent); transition: width 1.2s var(--ease); }

.step { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.step[hidden] { display: none; }
.fine { font-size: 12.5px; color: var(--muted); max-width: 36em; }
.wallet-choice { display: flex; flex-wrap: wrap; gap: 10px; }
.wallet-choice .btn { min-height: 40px; }
.wallet-choice .btn img { width: 18px; height: 18px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 12px 32px; width: 100%; padding: 4px 0 8px; }
.kv div { display: contents; }
.kv dd { font-size: 15px; }
.kv dd.wrong { color: var(--accent); }
.turnstile:empty { display: none; }
.sign-info { font-size: 13px; color: var(--muted); max-width: 34em; }
.sign-info summary { cursor: pointer; letter-spacing: .02em; }
.sign-info .quote { margin: 12px 0; padding-left: 14px; border-left: 1px solid var(--line-strong); color: var(--ink); }
.sign-info ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.sign-info li::before { content: '✕'; margin-right: 6px; font-size: 10px; color: var(--accent); }
.done-title { font-family: var(--serif); font-style: italic; font-size: clamp(44px, 6vw, 64px); line-height: 1; color: var(--accent); }
.done-text { font-size: 17px; }
.done-addr { color: var(--muted); font-size: 13px; }
.join-error { margin-top: 20px; font-size: 13px; color: var(--accent); }

/* Transparency */
.facts {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.fact { padding: 24px 24px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact dd { margin-top: 18px; font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.fact small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.fact:first-child, .fact-contract { grid-column: 1 / -1; }
@media (min-width: 961px) { .fact:first-child { grid-column: span 2; } }
.fact-contract dd { font-size: clamp(14px, 1.7vw, 19px); font-weight: 400; }
.fact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.warn { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 13px; font-weight: 500; color: var(--accent); }
.warn i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Liquidity */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.pair { margin-top: 28px; font-size: 11.5px; color: var(--faint); }

/* Disclaimer */
.section-disclaimer { padding-top: 96px; padding-bottom: 96px; }
.disclaimer-title { font-size: 17px; font-weight: 500; }
.disclaimer { margin-top: 12px; max-width: 40em; font-size: 14px; line-height: 1.75; color: var(--muted); }

/* ---------- Footer ---------- */
.footer {
  display: grid; grid-template-columns: 1fr 3fr; gap: 48px;
  max-width: var(--max); margin: 0 auto;
  padding: 72px var(--gutter) 40px;
  border-top: 1px solid var(--ink);
}
.footer-brand img { margin-bottom: 16px; }
.footer-name { font-weight: 600; letter-spacing: .14em; font-size: 13px; }
.footer-claim { margin-top: 4px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--accent); }
.footer-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.footer-links dd { margin-top: 6px; font-size: 14px; }
.footer-links a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.footer-links a:hover { background-size: 100% 1px; }
.footer-foot { grid-column: 1 / -1; margin-top: 72px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 30;
  transform: translate(-50%, 8px); opacity: 0; pointer-events: none;
  padding: 10px 18px; background: var(--ink); color: var(--bg);
  font-size: 12px; letter-spacing: .06em;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Motion: one quiet fade ---------- */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .counter-bar i { transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .section, .footer { grid-template-columns: 1fr; gap: 28px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .footer-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Phone ---------- */
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .nav { height: 56px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 56px 0 auto 0;
    flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; }
  .nav-links a { padding: 16px 0; border-top: 1px solid var(--line); font-size: 12px; opacity: 1; }
  .nav-links a:first-child { border-top: 0; }

  .hero { padding-top: 104px; padding-bottom: 24px; }
  .hero-mark { width: 36px; height: 36px; margin-bottom: 32px; }
  .hero-def { margin-top: 32px; }
  .hero-statement { margin: 32px 0 40px; }
  .hero-facts { margin-top: 48px; letter-spacing: .14em; line-height: 1.8; }

  .section { padding-top: 88px; padding-bottom: 88px; }
  .alloc { grid-template-columns: 1fr; }
  .alloc div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .alloc dd { margin-top: 0; font-size: 15px; text-align: right; }
  .terms { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
  .purpose { margin-top: 56px; padding-left: 18px; }
  .join { margin-top: 64px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-left: 0; border-right: 0; }
  .join-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .counter { text-align: left; width: 100%; }
  .step .btn-solid { width: 100%; }
  .kv { grid-template-columns: 1fr; gap: 4px; }
  .kv dd { margin-bottom: 12px; }
  .facts { grid-template-columns: 1fr; }
  .fact dd { margin-top: 10px; }
  .actions .btn { flex: 1 1 140px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-foot { margin-top: 48px; }
}
