/* A8之路 — design system
   Pure black ground, 鎏金 gilding. Gold is a line-weight material (rules,
   frames, the route, light itself), never a fill for large surfaces. */

:root {
  color-scheme: dark;
  --ground: #070706;
  --surface: #14110A;
  --surface-2: #1C1810;
  --gold: #C9A227;
  --gold-hi: #EBCB73;
  --gold-dim: rgba(201, 162, 39, 0.35);
  --gold-faint: rgba(201, 162, 39, 0.14);
  --ink: #EDE6D3;
  --muted: #90887A;
  --line: rgba(160, 148, 120, 0.16);
  --v-hot: #F5E1A4; --gold-2: #E8C766; --gold-5: #9A7A1C; --on-gold: #171205;
  --live: #4FCB88; --ok: #6FCF97; --warn: #E6C15A; --amber: #E39A6B; --danger: #D98383;
  --gold-rgb: 201, 162, 39; --v-hot-rgb: 245, 225, 164; --line-rgb: 160, 148, 120;
  --ok-rgb: 111, 207, 151; --danger-rgb: 217, 131, 131;
  --panel-rgb: 28, 24, 16; --deep-rgb: 12, 10, 6; --shadow-rgb: 0, 0, 0; --img-ph: rgba(160, 148, 120, 0.1);
  --serif: "Noto Serif SC", "Songti SC", serif;
  --latin-display: "Cinzel", "Times New Roman", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  --maxw: 1120px;
}

/* 浅色 · foil on linen — same tokens, moved onto paper (see members.css). */
html[data-theme="light"] {
  color-scheme: light;
  --ground: #EDE5D3; --surface: #F7F2E6; --surface-2: #FBF7EE;
  --gold: #7F6110; --gold-hi: #5C4508;
  --gold-dim: rgba(127, 97, 16, 0.45); --gold-faint: rgba(127, 97, 16, 0.12);
  --ink: #221B10; --muted: #6F6353; --line: rgba(60, 45, 20, 0.16);
  --v-hot: #5C4508; --gold-2: #A6841A; --gold-5: #6E540C; --on-gold: #FBF6EA;
  --live: #176A41; --ok: #176A41; --warn: #74580A; --amber: #A65A2E; --danger: #A8322B;
  --gold-rgb: 127, 97, 16; --v-hot-rgb: 92, 69, 8; --line-rgb: 60, 45, 20;
  --ok-rgb: 23, 106, 65; --danger-rgb: 168, 50, 43;
  --panel-rgb: 255, 255, 255; --deep-rgb: 250, 246, 237; --shadow-rgb: 60, 45, 20; --img-ph: rgba(60, 45, 20, 0.08);
}
/* chain logo in the teaser rows (assets/img/chains/) */
.chain-mark { display: inline-flex; width: 14px; height: 14px; border-radius: 50%; overflow: hidden; vertical-align: -2px; margin-left: 6px; flex: none; background: var(--img-ph); box-shadow: inset 0 0 0 1px rgba(var(--line-rgb), 0.25); }
.chain-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--on-gold); }

a { color: var(--gold-hi); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 2px;
}

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- shared type ---------- */

.eyebrow {
  font-family: var(--latin-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.display {
  font-family: var(--serif);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.latin { font-family: var(--latin-display); letter-spacing: 0.14em; }

/* thin gilded rule with a center diamond, used between sections */
.rule {
  border: none;
  height: 17px;
  margin: 0 auto;
  max-width: var(--maxw);
  position: relative;
}
.rule::before {
  content: "";
  position: absolute;
  left: 24px; right: 24px; top: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim) 20%, var(--gold-dim) 80%, transparent);
}
.rule::after {
  content: "";
  position: absolute;
  left: 50%; top: 5px;
  width: 7px; height: 7px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--ground);
  border: 1px solid var(--gold);
}

/* ---------- header ---------- */

.site-head {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--gold);
  border-radius: 9px;
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 55%, var(--gold-5) 100%);
  color: var(--on-gold);
  font-family: var(--serif);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.1;
  text-align: center;
  flex: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
}
.brand-sub {
  font-family: var(--latin-display);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted);
  display: block;
  margin-top: 1px;
}

.head-spacer { flex: 1; }

.lang-toggle {
  font-family: var(--latin-display);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--muted);
  background: none;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
}
.lang-toggle:hover { color: var(--gold-hi); border-color: var(--gold-dim); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.08em;
  padding: 13px 30px;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:hover { text-decoration: none; }

.btn-gold {
  color: var(--gold-hi);
  background: var(--gold-faint);
  border: 1px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold);
  color: var(--on-gold);
  box-shadow: 0 0 30px rgba(var(--gold-rgb), 0.35);
}
/* gilded sweep across gold buttons */
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(var(--v-hot-rgb), 0.35) 50%, transparent 58%);
  transform: translateX(-130%);
}
.btn-gold:hover::after { animation: sheen-sweep 0.9s ease; }

.btn-ghost {
  color: var(--muted);
  background: transparent;
  border: 1px solid rgba(var(--line-rgb), 0.35);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--muted); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* candle-lit black: faint warm glow upper right, vignette below */
  background:
    radial-gradient(1100px 650px at 78% 8%, rgba(var(--gold-rgb), 0.07), transparent 62%),
    radial-gradient(900px 600px at 10% 95%, rgba(var(--gold-rgb), 0.04), transparent 60%),
    var(--ground);
}

.fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.route-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero h1 {
  font-size: clamp(52px, 8vw, 96px);
  margin: 18px 0 6px;
}
/* living gilding: the gradient itself slowly breathes */
.hero h1 .gilded {
  background: linear-gradient(100deg, var(--gold) 10%, var(--v-hot) 38%, var(--gold) 55%, var(--gold-5) 78%, var(--gold-2) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-latin {
  font-family: var(--latin-display);
  font-weight: 600;
  font-size: clamp(15px, 2vw, 20px);
  letter-spacing: 0.42em;
  color: var(--ink);
  margin-bottom: 26px;
}

.hero-tagline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--gold-hi);
  margin-bottom: 14px;
}

.hero-desc {
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 36px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* the pass, framed like an exhibit; JS adds 3D tilt */
.hero-card {
  position: relative;
  justify-self: center;
  width: min(340px, 78vw);
  perspective: 900px;
}
.hero-card .card-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gold-dim);
  border-radius: 14px;
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, box-shadow 0.3s;
  box-shadow:
    0 30px 80px rgba(var(--shadow-rgb), 0.7),
    0 0 60px rgba(var(--gold-rgb), 0.12);
  will-change: transform;
}
.hero-card .card-frame img { border-radius: 13px; }
/* traveling sheen across the card face */
.hero-card .card-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(var(--v-hot-rgb), 0.16) 50%, transparent 60%);
  transform: translateX(-130%);
  pointer-events: none;
}
.hero-card::after {
  /* echo frame, offset like a mounting mat */
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid var(--gold-faint);
  border-radius: 18px;
  pointer-events: none;
}
.hero-card figcaption {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* ---------- live stats ---------- */

.stats {
  padding: 68px 0 60px;
}
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat {
  border: 1px solid var(--line);
  border-top: 1px solid var(--gold-dim);
  background: linear-gradient(180deg, rgba(var(--panel-rgb), 0.75), rgba(var(--panel-rgb), 0.25));
  padding: 26px 28px 22px;
  border-radius: 4px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.stat:hover {
  border-color: var(--gold-dim);
  box-shadow: 0 12px 40px rgba(var(--shadow-rgb), 0.5), 0 0 30px rgba(var(--gold-rgb), 0.08);
  transform: translateY(-3px);
}
.stat .tier-latin {
  font-family: var(--latin-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--gold);
}
.stat .num {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 44px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  margin: 6px 0 2px;
}
.stat .num .of { font-size: 20px; font-weight: 700; color: var(--muted); }
.stat .cap { font-size: 13px; color: var(--muted); }

/* ---------- tiers ---------- */

.section { padding: 80px 0; }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(30px, 4vw, 40px);
  margin: 12px 0 14px;
}
.section-head p { color: var(--muted); }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.tier-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(var(--panel-rgb), 0.6), rgba(var(--deep-rgb), 0.25));
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
}
.tier-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dim);
  box-shadow: 0 24px 60px rgba(var(--shadow-rgb), 0.55), 0 0 40px rgba(var(--gold-rgb), 0.1);
}
.tier-card.vvip { border-color: var(--gold-dim); box-shadow: 0 0 40px rgba(var(--gold-rgb), 0.08); }

.tier-card .img-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-bottom: 22px;
}
.tier-card .img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(var(--v-hot-rgb), 0.14) 50%, transparent 60%);
  transform: translateX(-130%);
  pointer-events: none;
}
.tier-card:hover .img-frame::after { animation: sheen-sweep 1s ease; }
.tier-card .img-frame img { transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1); }
.tier-card:hover .img-frame img { transform: scale(1.04); }

.tier-card .tier-latin {
  font-family: var(--latin-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.3em;
  color: var(--gold-hi);
}
.tier-card .supply {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin: 4px 0 18px;
}
.tier-card ul { list-style: none; margin-top: auto; }
.tier-card li {
  padding: 9px 0 9px 22px;
  position: relative;
  font-size: 15px;
  border-top: 1px solid var(--line);
}
.tier-card li::before {
  content: "";
  position: absolute;
  left: 2px; top: 17px;
  width: 6px; height: 6px;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
}

/* ---------- mint radar teaser ---------- */

.radar-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  min-height: 60px;
}
.radar-preview:empty::before {
  content: "";
  grid-column: 1 / -1;
  height: 60px;
}
.rp-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(var(--panel-rgb), 0.4), rgba(var(--panel-rgb), 0.1));
}
.rp-img { width: 40px; height: 40px; border-radius: 6px; overflow: hidden; flex: none; border: 1px solid var(--line); background: var(--surface); display: flex; align-items: center; justify-content: center; }
.rp-img img { width: 100%; height: 100%; object-fit: cover; }
.rp-ph { font-family: var(--serif); font-weight: 900; color: var(--muted); font-size: 14px; }
.rp-nm { flex: 1; min-width: 0; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-ch { display: block; font-family: var(--latin-display); font-size: 10px; letter-spacing: 0.16em; color: var(--gold); text-transform: uppercase; margin-top: 2px; }
.rp-pr { font-family: var(--mono); font-size: 13px; color: var(--gold-hi); flex: none; }
.rp-score { font-family: var(--mono); font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); flex: none; }
.rp-score.g-A { color: var(--ok); border-color: rgba(var(--ok-rgb), 0.5); background: rgba(var(--ok-rgb), 0.08); }
.rp-score.g-B { color: var(--gold-hi); border-color: var(--gold-dim); background: rgba(var(--gold-rgb), 0.08); }
.rp-score.g-C { color: var(--warn); } .rp-score.g-D { color: var(--amber); } .rp-score.g-F { color: var(--danger); border-color: rgba(var(--danger-rgb), 0.5); }

@media (max-width: 700px) { .radar-preview { grid-template-columns: 1fr; } }

/* ---------- AI engine showcase ---------- */
.grade-demos { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin-bottom: 40px; }
.grade-card { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; background: linear-gradient(180deg, rgba(var(--panel-rgb), 0.5), rgba(var(--deep-rgb), 0.2)); overflow: hidden; }
.grade-card.good { border-top: 2px solid var(--ok); }
.grade-card.bad { border-top: 2px solid var(--danger); }
.grade-card::before { content: ""; position: absolute; top: -40%; right: -20%; width: 240px; height: 240px; border-radius: 50%; pointer-events: none; }
.grade-card.good::before { background: radial-gradient(circle, rgba(var(--ok-rgb), 0.12), transparent 65%); }
.grade-card.bad::before { background: radial-gradient(circle, rgba(var(--danger-rgb), 0.13), transparent 65%); }
.gc-top { display: flex; align-items: baseline; gap: 8px; position: relative; }
.gc-score { font-family: var(--mono); font-size: 40px; font-weight: 700; line-height: 1; color: var(--ink); }
.grade-card.good .gc-score { color: var(--ok); } .grade-card.bad .gc-score { color: var(--danger); }
.gc-of { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-right: auto; }
.gc-grade { font-family: var(--latin-display); font-size: 30px; font-weight: 700; color: var(--ok); }
.gc-grade.f { color: var(--danger); }
.gc-verdict { font-family: var(--sans); font-weight: 700; font-size: 11px; padding: 4px 11px; border-radius: 12px; border: 1px solid; align-self: center; }
.gc-verdict.buy { color: var(--ok); border-color: var(--ok); background: rgba(var(--ok-rgb), 0.1); }
.gc-verdict.avoid { color: var(--danger); border-color: var(--danger); background: rgba(var(--danger-rgb), 0.1); }
.gc-name { font-family: var(--serif); font-weight: 700; font-size: 16px; color: var(--ink); margin: 14px 0 6px; display: flex; align-items: center; gap: 8px; }
.gc-chain { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.gc-verified { color: var(--ok); font-size: 12px; }
.gc-fake { font-family: var(--sans); font-size: 11px; color: var(--danger); border: 1px solid rgba(var(--danger-rgb), 0.5); border-radius: 4px; padding: 1px 6px; }
.gc-desc { color: var(--muted); font-size: 13px; line-height: 1.55; margin-bottom: 12px; }
.gc-flags { display: flex; flex-wrap: wrap; gap: 7px; }
.gc-clean { font-size: 12.5px; color: var(--ok); }
.gc-flags .flag { font-size: 12px; color: var(--danger); border: 1px solid rgba(var(--danger-rgb), 0.4); background: rgba(var(--danger-rgb), 0.07); border-radius: 5px; padding: 3px 9px; }
.grade-vs { font-family: var(--latin-display); font-size: 14px; letter-spacing: 0.14em; color: var(--gold); opacity: 0.7; }

.ai-livecap { display: flex; align-items: center; gap: 8px; font-family: var(--latin-display); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.hl-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px var(--live); animation: hl-pulse 1.6s ease-in-out infinite; flex: none; }
@keyframes hl-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.cap-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.cap { border: 1px solid var(--line); border-left: 2px solid var(--gold-dim); border-radius: 10px; padding: 22px 22px 20px; background: linear-gradient(180deg, rgba(var(--panel-rgb), 0.4), rgba(var(--deep-rgb), 0.12)); transition: border-color .2s, transform .2s; }
.cap:hover { border-left-color: var(--gold); transform: translateY(-3px); }
.cap-ic { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: rgba(var(--gold-rgb), 0.1); border: 1px solid var(--gold-dim); color: var(--gold-hi); font-size: 20px; margin-bottom: 14px; }
.cap h3 { font-family: var(--serif); font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.cap p { color: var(--muted); font-size: 13px; line-height: 1.55; }

/* hero live pill */
.hero-live { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 20px; padding: 7px 14px; border: 1px solid var(--gold-dim); border-radius: 20px; background: rgba(var(--gold-rgb), 0.06); font-size: 13px; color: var(--muted); }
.hero-live:hover { border-color: var(--gold); color: var(--ink); text-decoration: none; }
.hero-live b { color: var(--gold-hi); font-family: var(--mono); }

@media (prefers-reduced-motion: reduce) { .hl-dot, .cap:hover { animation: none; transform: none; } }
@media (max-width: 820px) {
  .grade-demos { grid-template-columns: 1fr; }
  .grade-vs { display: none; }
  .cap-cards { grid-template-columns: 1fr; }
}

/* ---------- about ---------- */

.about .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.about-quote {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.4;
  border-left: 2px solid var(--gold);
  padding-left: 28px;
}
.about-quote .latin-line {
  display: block;
  font-family: var(--latin-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-top: 18px;
}
.about-body p { color: var(--muted); margin-bottom: 18px; }
.about-body strong { color: var(--ink); font-weight: 500; }

/* ---------- steps (a real sequence) ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  padding: 26px 26px 30px;
  border-top: 1px solid var(--gold-dim);
  background: linear-gradient(180deg, rgba(var(--panel-rgb), 0.45), transparent);
  transition: background 0.3s;
}
.step:hover { background: linear-gradient(180deg, rgba(var(--panel-rgb), 0.8), transparent); }
.step .n {
  font-family: var(--latin-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 0.2em;
}
.step h3 { font-family: var(--serif); font-weight: 700; font-size: 20px; margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: 15px; }

.enter-cta { margin-top: 48px; text-align: center; }

/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  padding: 44px 0 56px;
  margin-top: 40px;
}
.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
}
.contract {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
  word-break: break-all;
}
.foot-links { display: flex; gap: 26px; }

/* ---------- scroll reveals (JS adds .in) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: var(--rd, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- motion ---------- */

@keyframes sheen-sweep { to { transform: translateX(130%); } }

@media (prefers-reduced-motion: no-preference) {
  .route-line {
    stroke-dasharray: 2400;
    stroke-dashoffset: 2400;
    animation: route-draw 2.8s cubic-bezier(0.5, 0, 0.2, 1) 0.3s forwards;
  }
  .route-station {
    opacity: 0;
    animation: station-in 0.7s ease forwards;
  }
  .route-station:nth-of-type(2) { animation-delay: 1.2s; }
  .route-station:nth-of-type(3) { animation-delay: 2.0s; }
  .route-station:nth-of-type(4) { animation-delay: 2.8s; }
  .hero-fade { opacity: 0; transform: translateY(14px); animation: rise-in 0.9s ease 0.15s forwards; }
  .hero-card { opacity: 0; animation: rise-in 1.1s ease 0.5s forwards; }
  .hero h1 .gilded { animation: gild-breathe 7s ease-in-out infinite; }
  .hero-card .card-frame::after { animation: sheen-sweep 2.4s ease 1.8s; }
  .hero-card:hover .card-frame::after { animation: sheen-sweep 1.1s ease; }
}

@keyframes route-draw { to { stroke-dashoffset: 0; } }
@keyframes station-in { to { opacity: 1; } }
@keyframes rise-in { to { opacity: 1; transform: none; } }
@keyframes gild-breathe {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fx-canvas { display: none; }
  .route-pulse { display: none; }
  .btn-gold::after, .card-frame::after, .img-frame::after { display: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 940px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 130px; gap: 48px; }
  .hero-card { order: -1; width: min(260px, 70vw); }
  .stats .wrap, .tiers, .steps { grid-template-columns: 1fr; }
  .about .wrap { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 520px) {
  .brand-name { font-size: 16px; }
  .btn { width: 100%; text-align: center; }
  .hero-ctas { flex-direction: column; }
}
