/* Airbag — site styles. One accent, warm near-black, cream type. */
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("fonts/InterTight.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0e0c0b;
  --bg-2: #141110;
  --panel: rgba(255, 246, 236, 0.035);
  --panel-strong: rgba(255, 246, 236, 0.06);
  --line: rgba(255, 246, 236, 0.1);
  --line-strong: rgba(255, 246, 236, 0.18);
  --text: #f4efe7;
  --muted: #a89f95;
  --muted-2: #6f6760;
  --accent: #ff7a2f;
  --accent-soft: rgba(255, 122, 47, 0.14);
  --accent-ink: #1b0b03;
  --good: #7fd69a;
  --bad: #ff6b6b;
  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 64px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  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: "Inter Tight", "Inter", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 7.6vw, 92px); }
h2 { font-size: clamp(34px, 4.6vw, 58px); }
h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
.lead { font-size: 18px; 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% - 40px); margin: 0 auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }

/* --- top bar ---------------------------------------------------------- */
.nav {
  position: fixed; top: 16px; 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: 28px;
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  background: rgba(20, 16, 15, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  max-width: calc(100% - 24px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; font-size: 18px; }
.brand svg { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.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: #171311; 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: 12px; }
  .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 .25s var(--ease), background .25s, border-color .25s, opacity .2s;
  white-space: nowrap;
}
.btn:hover { background: rgba(255, 246, 236, 0.1); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #ff8a47; }
.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,.18); display: inline-flex; align-items: center; justify-content: center; margin-right: -8px; }
.btn-ghost { background: 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 80px; }
.hero canvas, .hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(14,12,11,.25), rgba(14,12,11,.1) 45%, var(--bg) 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: grid; gap: 26px; justify-items: center; }
.hero .eyebrow { font-size: 14px; color: var(--muted); }
.hero .lead { font-size: clamp(17px, 2vw, 20px); max-width: 620px; margin: 0 auto; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.float { position: absolute; z-index: 1; pointer-events: none; will-change: transform; filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }
.float img, .float svg { width: 100%; height: auto; }
@media (max-width: 900px) { .float { display: none; } }

/* --- sections ------------------------------------------------------------ */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head .lead { font-size: 17px; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; gap: 16px; } }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.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 {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: border-color .3s, background .3s;
}
.card:hover { border-color: var(--line-strong); background: var(--panel-strong); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }

.split { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.split > div { padding: 30px 28px; border-right: 1px solid var(--line); }
.split > div:last-child { border-right: 0; }
.split .num { font-family: "Inter Tight", sans-serif; font-size: clamp(44px, 5vw, 64px); letter-spacing: -0.04em; line-height: 1; font-weight: 500; }
.split .who { margin-top: 8px; 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: 14px; background: var(--panel);
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.coin-row:hover { border-color: var(--line-strong); background: var(--panel-strong); transform: translateY(-1px); }
.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; } .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); }
.tabs button { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; color: var(--muted); cursor: pointer; font-size: 14px; }
.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(0,0,0,.25); color: var(--text); outline: none; transition: border-color .2s;
}
.input:focus { border-color: var(--accent); }
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; }
.chip[aria-pressed="true"] { background: var(--panel-strong); color: var(--text); border-color: var(--text); }
.help { font-size: 13px; color: var(--muted-2); }
.logo-drop { width: 140px; height: 140px; border-radius: 16px; border: 1px dashed var(--line-strong); display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 13px; overflow: hidden; background: rgba(0,0,0,.2); }
.logo-drop img { width: 100%; height: 100%; object-fit: cover; }

.review { position: sticky; top: 96px; }
.review .big { font-family: "Inter Tight", sans-serif; font-size: 44px; letter-spacing: -0.04em; line-height: 1; font-weight: 500; }
.review .big small { font-size: 16px; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.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; }

/* --- 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(127, 214, 154, .3); }
.pill.bad { color: var(--bad); border-color: rgba(255, 107, 107, .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(255, 122, 47, .4); color: var(--text); }
.notice.err { border-color: rgba(255, 107, 107, .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: 20px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; max-width: 720px; }
.footer { padding: 60px 0 40px; 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; }
.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: 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; } }
.page-head { padding: 140px 0 40px; }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); }
.two-col { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
@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:hover { color: var(--text); }
.docs h2 { font-size: 30px; margin: 56px 0 16px; }
.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; }
@media (max-width: 860px) { .docs-layout { grid-template-columns: 1fr; } .docs-nav { position: static; display: flex; flex-wrap: wrap; gap: 14px; } }

/* --- motion ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@keyframes floaty { 0%, 100% { transform: translate3d(0, 0, 0) rotate(-3deg); } 50% { transform: translate3d(0, -16px, 0) rotate(2deg); } }
@keyframes floaty2 { 0%, 100% { transform: translate3d(0, 0, 0) rotate(4deg); } 50% { transform: translate3d(0, -22px, 0) rotate(-1deg); } }
.floaty { animation: floaty 9s ease-in-out infinite; }
.floaty2 { animation: floaty2 11s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .floaty, .floaty2 { animation: none; }
  .hero canvas { display: none; }
}
