/* Airbag — site styles. Night blue, one sky-blue accent, Onest for everything
   and Fraunces italic for the one word that matters. */
@font-face {
  font-family: "Onest";
  src: url("fonts/Onest.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/FrauncesItalic.ttf") format("truetype-variations");
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #070b16;
  --bg-2: #0c1222;
  --panel: rgba(150, 186, 255, 0.05);
  --panel-strong: rgba(150, 186, 255, 0.09);
  --line: rgba(150, 186, 255, 0.12);
  --line-strong: rgba(150, 186, 255, 0.22);
  --text: #eef3ff;
  --muted: #97a6c4;
  --muted-2: #5f6d8a;
  --accent: #8ec1ff;
  --accent-2: #5f8fff;
  --accent-soft: rgba(142, 193, 255, 0.14);
  --accent-ink: #061021;
  --glow: #3f7cff;
  --good: #7ee2a8;
  --bad: #ff7d8c;
  --radius: 20px;
  --radius-sm: 12px;
  --nav-h: 64px;
  --max: 1140px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.smooth { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3, .display {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.8vw, 84px); }
h2 { font-size: clamp(30px, 3.4vw, 46px); }
h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.3; font-weight: 600; }
h1 em, h2 em, .serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: linear-gradient(100deg, #ffffff 0%, var(--accent) 55%, #c7dcff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
p { margin: 0; }
.lead { font-size: 17px; color: var(--muted); max-width: 560px; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.small { font-size: 14px; }
.mono { font-variant-numeric: tabular-nums; }

.wrap { width: min(var(--max), 100% - 48px); margin: 0 auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }

/* --- top bar ---------------------------------------------------------- */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 26px;
  padding: 9px 10px 9px 18px;
  border-radius: 999px;
  background: rgba(10, 16, 30, 0.62);
  border: 1px solid rgba(150, 186, 255, 0.14);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  max-width: calc(100% - 24px);
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -0.02em; font-size: 17px; }
.brand svg { width: 22px; height: 22px; color: var(--accent); }
.nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 6px; margin-left: 6px; }
.nav .nav-menu { display: none; }
.nav-sheet { display: none; pointer-events: auto; position: absolute; top: 60px; left: 12px; right: 12px; padding: 10px; border-radius: 18px; background: #0d1426; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.nav-sheet a { display: block; padding: 12px 14px; border-radius: 12px; font-size: 16px; }
.nav-sheet a:hover, .nav-sheet a[aria-current="page"] { background: var(--panel-strong); }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-inner { gap: 10px; }
  .nav .nav-menu { display: inline-flex; }
  .nav-sheet.open { display: block; }
  .nav .btn[data-wallet] { padding: 8px 12px; }
}

/* --- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--panel-strong); color: var(--text); font-weight: 500; font-size: 15px;
  cursor: pointer; transition: transform .3s var(--ease), background .25s, border-color .25s, box-shadow .3s, opacity .2s;
  white-space: nowrap;
}
.btn:hover { background: rgba(150, 186, 255, 0.14); border-color: rgba(150, 186, 255, 0.32); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-accent {
  background: linear-gradient(180deg, #a9d2ff 0%, var(--accent) 60%, #79b3ff 100%);
  border-color: transparent; color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 28px rgba(63, 124, 255, 0.28);
}
.btn-accent:hover { background: linear-gradient(180deg, #bddcff 0%, #9ccaff 60%, #86bbff 100%); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 12px 36px rgba(63, 124, 255, 0.4); }
.btn-glass { background: rgba(10, 16, 30, 0.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn .arrow { width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,.16); display: inline-flex; align-items: center; justify-content: center; margin-right: -8px; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(2px); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--panel-strong); border-color: transparent; }
.icon-btn { width: 40px; height: 40px; padding: 0; border-radius: 50%; }

/* --- hero --------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 120px 0 100px; background: var(--bg); }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: #070c18 url("hero-poster.webp") center / cover no-repeat; }
.hero-bg canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.4s ease; }
.hero-bg canvas.on { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 48%, rgba(7, 11, 22, 0.42), rgba(7, 11, 22, 0) 100%), linear-gradient(to bottom, rgba(7,11,22,.35), rgba(7,11,22,0) 30%, rgba(7,11,22,0) 60%, var(--bg) 100%); }
.hero-inner { position: relative; z-index: 2; display: grid; gap: 28px; justify-items: center; }
.hero h1 { font-size: clamp(44px, 6.2vw, 88px); line-height: 1.02; letter-spacing: -0.03em; text-shadow: 0 10px 60px rgba(0, 0, 0, 0.45); }
.hero .lead { font-size: clamp(17px, 2vw, 20px); max-width: 560px; margin: 0 auto; color: #b7c4e0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
/* the project's coin: ticker · CA · address · copy · Pons */
.coin-pill { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; padding: 8px 10px 8px 16px; border-radius: 999px;
  border: 1px solid rgba(150,186,255,.16); background: rgba(10, 16, 30, 0.55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05); }
.coin-pill-ticker { font-weight: 600; letter-spacing: -0.01em; }
.coin-pill-label { font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
.coin-pill-soon { color: var(--muted); padding-right: 6px; }
.coin-pill-ca { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--text); }
.coin-pill-ca .short { display: none; }
.coin-pill-copy, .coin-pill-link { font: inherit; font-size: 13px; font-weight: 500; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--panel-strong); color: var(--text); cursor: pointer; transition: background .2s, border-color .2s; }
.coin-pill-copy:hover, .coin-pill-link:hover { background: rgba(150,186,255,.16); border-color: rgba(150,186,255,.32); }
.coin-pill-link { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.coin-pill-link:hover { background: #a9d2ff; }
@media (max-width: 900px) { .coin-pill-ca .full { display: none; } .coin-pill-ca .short { display: inline; } }
.coin-progress { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.coin-progress[hidden] { display: none; }
.coin-progress b { color: var(--text); font-weight: 600; }
.coin-progress-bar { width: 180px; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.coin-progress-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); box-shadow: 0 0 12px rgba(142,193,255,.6); transition: width .8s var(--ease); }
@media (max-width: 480px) { .coin-progress { flex-direction: column; gap: 8px; } }
.coin-buyback { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.coin-buyback[hidden] { display: none; }
.coin-buyback b { color: var(--text); font-weight: 600; }
.coin-buyback a { color: var(--accent); }
.row-progress { display: flex; align-items: center; gap: 10px; margin-top: 7px; font-size: 12px; color: var(--muted); }
.row-progress .progress { width: 120px; height: 5px; }
@media (max-width: 480px) { .coin-pill { gap: 8px; padding: 8px 10px; font-size: 13px; } }

/* latest payouts, scrolling along the bottom of the hero */
.paid-strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: stretch; gap: 0; border-top: 1px solid rgba(150,186,255,.1); background: rgba(7, 11, 22, 0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 13px; overflow: hidden; }
.paid-strip[hidden] { display: none; }
.paid-total { flex: none; display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-right: 1px solid rgba(150,186,255,.1); color: var(--muted); white-space: nowrap; }
.paid-total strong { color: var(--text); font-weight: 600; }
.paid-live { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(126,226,168,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(126,226,168,0); } 100% { box-shadow: 0 0 0 0 rgba(126,226,168,0); } }
.paid-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.paid-run { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.paid-strip:hover .paid-run { animation-play-state: paused; }
.paid-item { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; white-space: nowrap; color: var(--muted); border-right: 1px solid rgba(150,186,255,.08); }
.paid-item strong { color: var(--text); font-weight: 600; }
.paid-item .paid-who { color: var(--text); }
.paid-item .paid-coin { color: var(--accent); }
.paid-item .paid-ago { color: var(--muted-2); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .paid-run { animation: none; } }

/* --- inner page heads --------------------------------------------------- */
.page-head { padding: 150px 0 44px; position: relative; }
.page-head h1 { font-size: clamp(36px, 4.6vw, 60px); }
.page-glow { position: absolute; left: 0; right: 0; top: 0; height: 70vh; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 0%, rgba(63, 124, 255, 0.22), rgba(63, 124, 255, 0) 70%), radial-gradient(30% 40% at 85% 10%, rgba(142, 193, 255, 0.10), rgba(142, 193, 255, 0) 70%); }

/* --- sections ------------------------------------------------------------ */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.glow { position: absolute; pointer-events: none; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55;
  background: radial-gradient(closest-side, rgba(63, 124, 255, 0.28), rgba(63, 124, 255, 0)); }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: clamp(32px, 5vw, 60px); }
.section-head .lead { font-size: 16px; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; gap: 14px; } }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(150, 186, 255, 0.07), rgba(150, 186, 255, 0.03));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color .35s, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0) 40%); }
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(142,193,255,.06); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card .icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(142,193,255,.18); }
.card .icon svg { width: 22px; height: 22px; }

.split { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, rgba(150, 186, 255, 0.05), rgba(150, 186, 255, 0.02)); }
.split > div { padding: 34px 30px; border-right: 1px solid var(--line); }
.split > div:last-child { border-right: 0; }
.split .num { font-size: clamp(40px, 4.2vw, 56px); letter-spacing: -0.045em; line-height: 1; font-weight: 600; }
.split .num.accent { color: var(--accent); text-shadow: 0 0 40px rgba(142, 193, 255, 0.35); }
.split .who { margin-top: 10px; color: var(--text); font-weight: 500; }
.split .what { color: var(--muted); font-size: 14px; margin-top: 4px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split > div { border-right: 0; border-bottom: 1px solid var(--line); } .split > div:last-child { border-bottom: 0; } }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; color: var(--muted); font-weight: 500; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .r { text-align: right; }

.kv { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 500; }
.kv-row { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv-row:last-child { border-bottom: 0; }
.kv-row > span:first-child { color: var(--muted); }

/* --- coin rows ------------------------------------------------------------ */
.coin-list { display: grid; gap: 10px; }
.coin-row {
  display: grid; grid-template-columns: 44px 1.6fr 1fr 1fr 1fr auto; gap: 16px; align-items: center;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel);
  transition: border-color .3s, background .3s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
.coin-row:hover { border-color: var(--line-strong); background: var(--panel-strong); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.coin-row .logo { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-2); object-fit: cover; display: grid; place-items: center; font-weight: 600; color: var(--muted); overflow: hidden; }
.coin-row .name { font-weight: 500; }
.coin-row .sym { color: var(--muted); font-size: 13px; }
.coin-row .stat b { display: block; font-weight: 500; }
.coin-row .stat span { color: var(--muted); font-size: 12px; }
@media (max-width: 760px) { .coin-row { grid-template-columns: 40px 1fr auto auto; gap: 12px; padding: 12px 14px; } .coin-row .stat.hide-m { display: none; } }

.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; color: var(--muted); cursor: pointer; font-size: 14px; white-space: nowrap; transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--panel-strong); color: var(--text); }

/* --- forms ------------------------------------------------------------- */
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; }
.input, textarea.input {
  font: inherit; width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: rgba(4, 8, 18, 0.5); color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(142, 193, 255, 0.15); }
.input::placeholder { color: var(--muted-2); }
textarea.input { min-height: 110px; resize: vertical; }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-prefix .input { padding-left: 30px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { background: var(--accent-soft); color: var(--text); border-color: var(--accent); }
.help { font-size: 13px; color: var(--muted-2); }
.logo-drop { width: 140px; height: 140px; padding: 0; border-radius: 16px; border: 1px dashed var(--line-strong); display: grid; place-items: center; align-content: center; gap: 4px; text-align: center; color: var(--muted); font: inherit; font-size: 14px; font-weight: 500; overflow: hidden; background: rgba(4, 8, 18, 0.4); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.logo-drop small { display: block; font-size: 11px; font-weight: 400; color: var(--muted-2); }
.logo-drop:hover { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.logo-drop img { width: 100%; height: 100%; object-fit: cover; }

.review { position: sticky; top: 96px; }
.review .big { font-size: 38px; letter-spacing: -0.04em; line-height: 1; font-weight: 600; }
.review .big small { font-size: 16px; color: var(--muted); letter-spacing: 0; margin-left: 6px; font-weight: 500; }
.bar { height: 6px; border-radius: 999px; overflow: hidden; display: flex; background: var(--line); }
.bar i { display: block; height: 100%; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 8px; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: 1px; }

/* --- chart ------------------------------------------------------------ */
.chart-card { padding: 18px 18px 14px; }
.chart-bar { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.chart-bar .tabs button { padding: 6px 11px; font-size: 13px; }
.chart-wrap { position: relative; height: 380px; }
.chart-wrap canvas { width: 100%; height: 100%; display: block; cursor: crosshair; }
.chart-read { min-height: 18px; margin: 0 0 6px 2px; font-size: 12px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.chart-read b { color: var(--text); font-weight: 500; }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.chart-empty[hidden] { display: none; }
@media (max-width: 640px) { .chart-wrap { height: 280px; } .chart-bar { flex-direction: column; } }
button.pill { background: transparent; cursor: pointer; font: inherit; font-size: 12px; }
button.pill:hover { color: var(--text); border-color: var(--line-strong); }

/* --- trade box --------------------------------------------------------- */
.chart-row { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
@media (max-width: 1000px) { .chart-row { grid-template-columns: 1fr; } }
.trade-card { padding: 20px; }
.trade-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); margin-bottom: 16px; }
.trade-tabs button { border: 0; background: transparent; padding: 9px; border-radius: 999px; color: var(--muted); cursor: pointer; font-weight: 600; }
.trade-tabs button[data-side="buy"][aria-selected="true"] { background: rgba(126, 226, 168, 0.16); color: var(--good); }
.trade-tabs button[data-side="sell"][aria-selected="true"] { background: rgba(255, 125, 140, 0.16); color: var(--bad); }
.trade-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.trade-input { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(4, 8, 18, 0.5); transition: border-color .2s, box-shadow .2s; }
.trade-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(142, 193, 255, 0.15); }
.trade-input input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 22px; font-weight: 600; outline: none; }
.trade-input span { color: var(--muted); font-weight: 500; white-space: nowrap; }
.trade-quick { margin-top: 10px; }
.trade-quick .chip { padding: 6px 11px; font-size: 13px; }
.trade-out { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.trade-out b { font-size: 18px; }
.trade-meta { margin-top: 6px; }
.trade-slip { margin-top: 12px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.trade-slip .slip { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 3px 9px; font: inherit; font-size: 12px; cursor: pointer; }
.trade-slip .slip[aria-pressed="true"] { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
#t-warn .notice { margin-top: 12px; }

/* --- misc ---------------------------------------------------------------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.pill.good { color: var(--good); border-color: rgba(126, 226, 168, .3); }
.pill.bad { color: var(--bad); border-color: rgba(255, 125, 140, .3); }
.notice { padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--panel); font-size: 14px; color: var(--muted); }
.notice.warn { border-color: rgba(142, 193, 255, .4); color: var(--text); }
.notice.err { border-color: rgba(255, 125, 140, .4); color: var(--text); }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(20px); opacity: 0; padding: 12px 18px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 14px; z-index: 60; transition: .3s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; transition: color .2s; }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; font-weight: 300; transition: transform .35s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; max-width: 720px; }
.footer { padding: 56px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--text); }
.addr { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.progress { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); border-radius: 999px; transition: width .6s var(--ease); }
.skeleton { background: linear-gradient(90deg, var(--panel), var(--panel-strong), var(--panel)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 8px; color: transparent !important; }
@keyframes shimmer { to { background-position: -200% 0; } }
.two-col { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.two-col > *, .grid-2 > *, .grid-3 > *, .card { min-width: 0; }
.links-grid { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.links-grid .field { margin-bottom: 12px; }
@media (max-width: 560px) { .links-grid { grid-template-columns: 1fr; } }
.coin-form { display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: start; }
@media (max-width: 560px) { .coin-form { grid-template-columns: 1fr; gap: 14px; } .logo-drop { width: 110px; height: 110px; } }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .review { position: static; } }
.docs-layout { display: grid; grid-template-columns: 220px 1fr; gap: 60px; }
.docs-nav { position: sticky; top: 100px; display: grid; gap: 10px; font-size: 14px; color: var(--muted); align-self: start; }
.docs-nav a { transition: color .2s; }
.docs-nav a:hover { color: var(--text); }
.docs h2 { font-size: 26px; margin: 52px 0 14px; }
.docs h2:first-child { margin-top: 0; }
.docs p, .docs li { color: var(--muted); max-width: 720px; }
.docs ul { padding-left: 20px; }
.docs li { margin: 6px 0; }
.docs code { font-family: ui-monospace, Menlo, monospace; font-size: 13px; background: var(--panel-strong); padding: 2px 6px; border-radius: 6px; color: var(--text); }
.docs .box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 18px 0; background: var(--panel); }
@media (max-width: 860px) { .docs-layout { grid-template-columns: 1fr; gap: 28px; } .docs-nav { position: static; display: flex; flex-wrap: wrap; gap: 14px; } }

/* --- motion ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg canvas { display: none; }
}
