/* ═══ sipad ═══
   One black field from the hero video to the footer. White pills, dark #28282a surfaces,
   Inter for reading and BubbledotICG dot-matrix for anything that should feel machine-made. */

@font-face {
  font-family: "Geist Pixel Circle";
  src: url("fonts/GeistPixel-Circle.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #8e8e8e;
  --nav-text: #2e2e2e;
  --pill-dark: #28282a;
  --sign-in-text: #c8c8c8;
  --nav-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  --trust-bg: #28282a;
  --trust-border: rgba(255, 255, 255, 0.4);
  --trust-text: #c4c2c3;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "BubbledotICG-FinePos", "Geist Pixel Circle", monospace;

  --surface: #111112;
  --surface-2: #19191b;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --body: #c9c9cb;
  --up: #d8ff6a;
  --down: #ff6a6a;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gut: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
::selection { background: #fff; color: #000; }
a { color: inherit; }
button { font: inherit; }
img { display: block; }

/* ══ HERO ══ */
.hero-wrap { position: relative; height: 100vh; height: 100dvh; min-height: 560px; overflow: hidden; }
.bg { position: absolute; inset: 0; overflow: hidden; background: #000; z-index: 0; }
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; z-index: 0; }
/* Hands the video off to the black page below without a hard edge. */
.bg-fade { position: absolute; inset: auto 0 0 0; height: 22%; background: linear-gradient(to bottom, transparent, #000); z-index: 0; }

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(16px, 2.4vh, 28px) clamp(14px, 3vw, 32px);
  padding-top: max(clamp(16px, 2.4vh, 28px), env(safe-area-inset-top));
  height: 100vh;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
}

/* ── header ── */
.header {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 28px);
  width: 100%;
  max-width: 720px;
  animation: slideDown 0.7s var(--ease) both;
}
.logo {
  flex-shrink: 0;
  width: clamp(40px, 4.4vw, 46px);
  height: clamp(40px, 4.4vw, 46px);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--nav-shadow);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease);
}
.logo img { width: 72%; height: 72%; object-fit: contain; }
.logo:hover { transform: scale(1.04); }

.nav {
  flex: 1;
  max-width: 430px;
  height: clamp(44px, 5.2vw, 48px);
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--nav-shadow);
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.nav a {
  position: relative;
  padding: 8px 10px;
  text-decoration: none;
  color: var(--nav-text);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: -0.01em;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.nav a:hover { opacity: 0.75; }
.nav a.active { opacity: 1; }
.nav a.active::after, .mobile-menu a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  border-radius: 50%;
  background: #000;
  box-shadow: -5px 0 0 #000, 5px 0 0 #000;
}

.sign-in {
  flex-shrink: 0;
  height: clamp(44px, 5.2vw, 48px);
  padding: 0 clamp(18px, 2.2vw, 24px);
  border: 0;
  border-radius: 999px;
  background: var(--pill-dark);
  color: var(--sign-in-text);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: -0.01em;
  box-shadow: var(--nav-shadow);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.sign-in:hover { background: #323234; color: #fff; transform: translateY(-1px); }

.burger, .overlay, .mobile-menu { display: none; }

/* ── hero ── */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.trust {
  --trust-size: clamp(36px, 4.5vw, 42px);
  display: inline-flex;
  align-items: center;
  margin-bottom: clamp(16px, 2.5vh, 26px);
}
.trust-av {
  position: relative;
  width: var(--trust-size);
  height: var(--trust-size);
  padding: 5px;
  border-radius: 50%;
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  transition: transform 0.35s var(--ease);
}
.trust-av > span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #fff; }
.trust-av i { color: #111; font-size: calc(var(--trust-size) * 0.34); }
.trust-av.a1 { z-index: 1; }
.trust-av.a2 { z-index: 2; margin-left: calc(var(--trust-size) * -0.42); }
.trust-av.a3 { z-index: 4; margin-left: calc(var(--trust-size) * -0.42); }
.trust:hover .a1 { transform: translateY(-2px); }
.trust:hover .a2 { transform: translateY(-4px); }
.trust:hover .a3 { transform: translateY(-2px); }
.trust-pill {
  position: relative;
  z-index: 3;
  height: var(--trust-size);
  display: inline-flex;
  align-items: center;
  margin-left: calc(var(--trust-size) * -0.42);
  padding: 0 18px 0 calc(var(--trust-size) * 0.58);
  border-radius: 999px;
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  color: var(--trust-text);
  font-weight: 500;
  font-size: clamp(12px, 1.4vw, 13.5px);
  white-space: nowrap;
}

.headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  color: #fff;
  font-size: clamp(28px, 6.2vw, 80px);
  letter-spacing: -0.04em;
  line-height: 1.12;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  /* Still solid white. The shadow only keeps it legible where the video runs bright. */
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.38), 0 0 2px rgba(0, 0, 0, 0.25);
}
.headline span {
  display: block;
  opacity: 0;
  transform: translateY(14px);
  animation: headlineFade 0.85s var(--ease) forwards;
}
.headline span:nth-child(1) { animation-delay: 0.12s; }
.headline span:nth-child(2) { animation-delay: 0.3s; }

.sub {
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.5);
  max-width: min(500px, 92%);
  margin: clamp(14px, 2.2vh, 22px) auto clamp(20px, 3.2vh, 32px);
  font-size: clamp(calc(13.5px + 2pt), calc(1.55vw + 2pt), calc(16.5px + 2pt));
  line-height: 1.55;
  font-weight: 400;
  color: #d0d0d0;
  opacity: 0.8;
  text-wrap: balance;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(11px, 1.6vh, 13px) clamp(22px, 3vw, 28px);
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(13.5px, 1.5vw, 14.5px);
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15), 0 0 22px rgba(255,255,255,0.32), 0 0 44px rgba(255,255,255,0.12);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), opacity 0.2s;
}
.cta:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 0 1px rgba(255,255,255,0.25), 0 0 30px rgba(255,255,255,0.45), 0 0 64px rgba(255,255,255,0.2); }
.cta:disabled { opacity: 0.5; cursor: default; transform: none; }

/* ── stats ── */
.stats {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 920px;
  padding-bottom: max(0px, env(safe-area-inset-bottom));
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.stat-ic { font-family: var(--font-display); font-size: clamp(22px, 3vw, 33px); color: #fff; line-height: 1; margin-bottom: 4px; }
.stat-v { font-size: clamp(18px, 2.2vw, 26px); font-weight: 500; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.stat-l { color: var(--muted); font-size: clamp(11px, 1.2vw, 12.5px); }

/* ── entrance ── */
.anim { opacity: 0; transform: translateY(22px) scale(0.98); filter: blur(6px); animation: reveal 0.85s var(--ease) forwards; animation-delay: var(--d, 0s); }
.sub.anim { animation-name: revealSub; }
.anim-pulse { opacity: 0; transform: translateY(22px) scale(0.98); filter: blur(6px); animation: revealPulse 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.headline.anim { opacity: 1; transform: none; filter: none; animation: none; }

@keyframes slideDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
@keyframes headlineFade { to { opacity: 1; transform: none; } }
@keyframes reveal { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes revealSub { to { opacity: 0.8; transform: none; filter: blur(0); } }
@keyframes revealPulse {
  0% { opacity: 0; transform: translateY(22px) scale(0.98); filter: blur(6px); }
  60% { opacity: 1; transform: translateY(0) scale(1.03); filter: blur(0); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes menuIn { from { opacity: 0; transform: translate(-50%, -10px) scale(0.97); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes linkIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ══ SECTIONS BELOW THE FOLD ══
   One black field. Everything below the hero speaks in dots: LED boards for anything live,
   BubbledotICG for headings, Inter for reading. Glass only where the video shows through. */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: clamp(96px, 13vw, 168px) 0 0; }
.eyebrow { margin: 0 0 22px; color: var(--muted); font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: #fff; box-shadow: -5px 0 0 #fff, 5px 0 0 #fff; margin: 0 6px 0 5px; }
.dot { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 6.2vw, 76px); line-height: 1.04; letter-spacing: -0.05em; color: #fff; text-wrap: balance; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-note { max-width: 380px; margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; text-wrap: pretty; }
.state { padding: 48px 24px; color: var(--muted); font-size: 15px; line-height: 1.6; text-align: center; grid-column: 1 / -1; }
.state b { color: #fff; font-weight: 500; }
.state a { color: #fff; }

.rv { opacity: 0; transform: translateY(26px); filter: blur(5px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.rv.in { opacity: 1; transform: none; filter: none; }

/* ── LED board frame ── */
.board-frame {
  position: relative;
  padding: 14px clamp(14px, 2vw, 22px) clamp(16px, 2vw, 22px);
  border-radius: 26px;
  background: #050506;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 30px 80px -30px rgba(0,0,0,0.9);
}
.board-frame canvas { display: block; width: 100%; }
.board-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--muted); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.board-top span:nth-child(2) { margin-right: auto; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,0.8); animation: blink 2.4s ease-in-out infinite; }
.live-dot.off { background: #555; box-shadow: none; animation: none; }
@keyframes blink { 50% { opacity: 0.35; } }
.board-note { margin-top: 14px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.board-note:empty { display: none; }
.board-note a { color: #fff; }

/* ── story (pinned) ── */
.story { position: relative; height: 340vh; margin-top: clamp(40px, 6vw, 80px); }
.story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.story-in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.beats { position: relative; min-height: 270px; }
.beat { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(30px); filter: blur(6px); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease), filter 0.6s var(--ease); pointer-events: none; }
.beat.past { transform: translateY(-30px); }
.beat.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.beat p { margin: 22px 0 0; max-width: 420px; color: var(--body); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; }
.story-prog { display: flex; gap: 8px; margin-top: 8px; }
.story-prog i { width: 28px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.14); transition: background 0.4s, width 0.4s var(--ease); }
.story-prog i.on { background: #fff; width: 48px; }

/* ── ticker ── */
.ticker { display: block; width: 100%; margin: 0 0 clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; box-sizing: content-box; }

/* ── coins ── */
.filter { display: flex; gap: 6px; flex-wrap: wrap; }
.filter button, .chips button {
  height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2);
  background: transparent; color: var(--body); font-size: 13px; font-weight: 500; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter button:hover, .chips button:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.filter button[aria-selected="true"], .chips button[aria-checked="true"] { background: #fff; color: #000; border-color: #fff; }

.coins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.coin {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 22px;
  border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(180deg, #0d0d0e, #080809);
  text-decoration: none; overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.coin::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at var(--mx, 50%) -20%, rgba(255,255,255,0.07), transparent 70%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.coin:hover { border-color: rgba(255,255,255,0.22); transform: translateY(-3px); }
.coin:hover::after { opacity: 1; }
.coin-top { display: flex; align-items: center; gap: 14px; min-width: 0; }
.coin-top svg { flex-shrink: 0; }
.coin-top > div { min-width: 0; }
.coin-sym { display: block; font-family: var(--font-display); font-size: 26px; letter-spacing: -0.05em; line-height: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin-top small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin-line { margin: 0; color: var(--body); font-size: 14.5px; line-height: 1.5; min-height: 44px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.coin-pair { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; height: 30px; padding: 0 13px 0 4px; border-radius: 999px; background: var(--pill-dark); border: 1px solid rgba(255,255,255,0.14); font-size: 12.5px; color: var(--trust-text); max-width: 100%; }
.coin-pair i { width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; font: 400 10px var(--font-display); font-style: normal; flex-shrink: 0; }
.coin-pair span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dots { display: grid; grid-template-columns: repeat(40, 1fr); gap: 3px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: #1c1c1f; }
.dots i.on { background: #fff; box-shadow: 0 0 6px rgba(255,255,255,0.5); }
.coin-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.coin-meta b { color: #fff; font-weight: 500; }

/* ── launch over video, in glass ── */
.launch-sec { position: relative; margin-top: clamp(96px, 13vw, 168px); padding: clamp(96px, 12vw, 150px) 0; overflow: hidden; }
.launch-bg { position: absolute; inset: 0; z-index: 0; }
.launch-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.15) scaleX(-1); filter: saturate(1.15) brightness(0.8); }
.launch-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.35) 22%, rgba(0,0,0,0.35) 78%, #000 100%); }
.launch-in { position: relative; z-index: 1; }
.launch-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.launch-head .sec-note { color: #cfcfd2; }
.glass {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(20px, 3vw, 36px);
  padding: clamp(18px, 2.6vw, 32px); border-radius: 34px;
  background: rgba(18, 18, 20, 0.42);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), inset 0 0 0 1px rgba(255,255,255,0.03), 0 40px 120px -40px rgba(0,0,0,0.9);
  backdrop-filter: blur(26px) saturate(1.4); -webkit-backdrop-filter: blur(26px) saturate(1.4);
  position: relative;
}
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(600px 300px at var(--gx, 30%) var(--gy, 0%), rgba(255,255,255,0.10), transparent 60%); }
.glass.lg-on { background: rgba(14, 14, 16, 0.5); }
.launch-form { display: flex; flex-direction: column; gap: 18px; position: relative; }
.launch-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.launch-form legend, .launch-form label { position: relative; color: #b4b4b8; font-size: 13px; font-weight: 500; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.launch-form legend { margin-bottom: 12px; }
.launch-form label .count { position: absolute; right: 0; top: 0; font-weight: 400; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { background: rgba(0,0,0,0.25); }
.field {
  width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid rgba(255,255,255,0.14); border-radius: 15px;
  background: rgba(0,0,0,0.45); color: #fff; font: 400 15px var(--font-sans); outline: none; resize: none;
  transition: border-color 0.2s, background 0.2s;
}
.field::placeholder { color: #6a6a6e; }
.field:focus { border-color: rgba(255,255,255,0.55); background: rgba(0,0,0,0.6); }
.row2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.eth-in { position: relative; }
.eth-in span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; }
.hint { margin: -8px 0 0; color: #9a9a9e; font-size: 13px; line-height: 1.5; }
.cta--wide { width: 100%; padding: 16px 22px; font-size: 15px; }
.msg { display: none; padding: 14px 16px; border-radius: 15px; background: rgba(0,0,0,0.5); font-size: 14px; line-height: 1.55; color: var(--body); overflow-wrap: anywhere; }
.msg.on { display: block; }
.msg.err { color: #ffb4b4; }
.msg.ok { background: #fff; color: #000; }
.msg.ok a { color: #000; font-weight: 600; }

.launch-preview { display: flex; flex-direction: column; gap: 16px; position: relative; }
.board-frame--inset { background: rgba(0,0,0,0.72); }
.preview-dl { margin: 0; display: flex; flex-direction: column; }
.preview-dl div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 2px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13.5px; }
.preview-dl dt { color: #9a9a9e; }
.preview-dl dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 500; text-align: right; }
.preview-tag { margin: 0; padding: 0 2px; color: #6f6f73; font: 11.5px ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }

/* ── curve ── */
.curve { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
.curve-plot { padding: 22px 22px 14px; border-radius: 26px; background: #050506; border: 1px solid rgba(255,255,255,0.08); }
.curve-plot canvas { display: block; width: 100%; height: clamp(200px, 26vw, 300px); }
.curve-axis { display: flex; justify-content: space-between; margin-top: 12px; color: var(--muted); font-size: 12px; }
.curve-ctl { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(20px, 2.6vw, 30px); border-radius: 26px; border: 1px solid var(--line); background: var(--surface); }
.curve-ctl label { color: var(--muted); font-size: 15px; }
.curve-ctl label b { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: 26px; letter-spacing: -0.04em; display: block; margin: 6px 0 2px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, #fff var(--p, 10%), rgba(255,255,255,0.14) var(--p, 10%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,0.14); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: #fff; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,0.12), 0 0 18px rgba(255,255,255,0.5); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; }
.curve-read { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.curve-read div { display: flex; flex-direction: column; gap: 4px; }
.curve-read dt { color: var(--muted); font-size: 12px; }
.curve-read dd { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.facts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { padding: 20px 18px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.04em; }
.facts span { color: var(--muted); font-size: 13px; line-height: 1.45; }

/* ── plainly + faq ── */
.pf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.pf-side .sec-note { margin-top: 22px; }
.ledger { margin-top: 32px; border-top: 1px solid var(--line); }
.ledger div { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ledger p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.55; }
.tag { justify-self: start; padding: 4px 10px 3px; border-radius: 999px; background: #fff; color: #000; font: 400 12px var(--font-display); letter-spacing: -0.02em; }
.tag--off { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 26px; color: var(--muted); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: #fff; }
.faq p { margin: 0 0 24px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

/* ── closer ── */
.closer { position: relative; margin-top: clamp(110px, 15vw, 190px); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.closer-bg { position: absolute; inset: 0; z-index: 0; }
.closer-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleY(-1); }
.closer-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.25) 70%, rgba(0,0,0,0.9) 100%); }
.closer-in { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; text-align: center; padding: 120px var(--gut) 60px; }
.closer .dot { font-size: clamp(42px, 8.6vw, 112px); text-shadow: 0 2px 30px rgba(0,0,0,0.35); }
.foot { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,0.12); padding: 28px 0 max(28px, env(safe-area-inset-bottom)); background: rgba(0,0,0,0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: start; }
.foot-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 16px; }
.logo--sm { width: 32px; height: 32px; }
.foot p { margin: 0; color: #a0a0a4; font-size: 12.5px; line-height: 1.6; max-width: 620px; }
.foot-links { display: flex; gap: 18px; font-size: 13px; }
.foot-links a { color: var(--body); text-decoration: none; }
.foot-links a:hover { color: #fff; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 50; padding: 12px 18px; border-radius: 999px; background: #fff; color: #000; font-size: 14px; font-weight: 500; box-shadow: 0 10px 40px rgba(0,0,0,0.5); transition: opacity 0.3s, transform 0.3s var(--ease); max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ══ RESPONSIVE ══ */
@media (max-width: 960px) {
  .coins { grid-template-columns: repeat(2, 1fr); }
  .glass, .curve, .pf { grid-template-columns: 1fr; }
  .launch-preview { order: -1; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts li:nth-child(4) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+4) { border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {

  .header { justify-content: space-between; max-width: none; }
  .nav, .header > .sign-in { display: none; }
  .logo { width: 48px; height: 48px; }
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--pill-dark);
    box-shadow: var(--nav-shadow);
    cursor: pointer;
    position: relative;
    z-index: 5;
    transition: background 0.25s;
  }
  .burger span { display: block; width: 18px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s, background 0.25s; }
  .burger[aria-expanded="true"] { background: #fff; }
  .burger[aria-expanded="true"] span { background: #000; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .overlay:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 2; background: rgba(0,0,0,0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: overlayIn 0.28s ease both; }
  .mobile-menu:not([hidden]) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: fixed;
    z-index: 4;
    top: calc(max(16px, env(safe-area-inset-top)) + 60px);
    left: 50%;
    width: min(340px, calc(100vw - 28px));
    padding: 22px 18px 20px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    transform: translateX(-50%);
    animation: menuIn 0.38s var(--ease) both;
  }
  .mobile-menu a { position: relative; padding: 14px 10px 18px; text-align: center; text-decoration: none; color: var(--nav-text); font-weight: 500; font-size: 17px; opacity: 0.55; animation: linkIn 0.4s var(--ease) both; animation-delay: calc(0.06s + var(--i) * 0.05s); }
  .mobile-menu a.active { opacity: 1; }
  .mobile-menu a.active::after { bottom: 8px; }
  .mobile-menu .sign-in { display: block; width: 100%; margin-top: 10px; height: 48px; animation: linkIn 0.4s var(--ease) both; animation-delay: calc(0.06s + var(--i) * 0.05s); }

  .headline { letter-spacing: -0.08em; line-height: 1.05; font-size: clamp(28px, 9.4vw, 60px); }
  .trust-pill { font-size: 12px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .story { height: 320vh; }
  .story-in { grid-template-columns: 1fr; gap: 28px; }
  .story-board { order: -1; }
  .beats { min-height: 210px; }
  .coins { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; gap: 18px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .facts li:nth-child(even) { border-left: 1px solid var(--line); padding-left: 16px; }
  .facts li:first-child, .facts li:nth-child(2) { border-top: 0; }
  .facts li:nth-child(4) { border-left: 1px solid var(--line); padding-left: 16px; }
  .glass { border-radius: 28px; }
  .launch-sec { padding: 72px 0; }
}

@media (max-width: 420px) {
  .trust { --trust-size: 34px; }
  .headline { letter-spacing: -0.09em; line-height: 1.04; }
  .row2 { grid-template-columns: 1fr; }
}

@media (max-height: 700px) and (min-width: 721px) {
  .trust { margin-bottom: 12px; }
  .sub { margin: 10px auto 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim, .anim-pulse, .headline span, .header, .rv, .beat { animation: none !important; transition: none !important; filter: none !important; }
  .anim, .anim-pulse, .headline span, .header, .rv { opacity: 1 !important; transform: none !important; }
  .sub.anim { opacity: 0.8 !important; }
  .live-dot { animation: none; }
}

/* AI picker chips and pairing pills carry the AI's real logo on a white disc */
.chips button { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px 0 5px; height: 38px; font-size: 13.5px; }
.ai-mark { display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; background: #fff; font-style: normal; }
.chips .ai-mark { width: 28px; height: 28px; }
.ai-mark img { width: 58%; height: 58%; object-fit: contain; display: block; }
.chips button[aria-checked="true"] .ai-mark { box-shadow: 0 0 0 1px rgba(0,0,0,0.12); }
.coin-pair .ai-mark { width: 22px; height: 22px; }
.cp-tags .coin-pair .ai-mark { width: 26px; height: 26px; }
.trust-av img { width: 52%; height: 52%; object-fit: contain; display: block; }

/* X link: icon-only, sits at the end of the nav pill */
.nav a.nav-x { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; background: #000; color: #fff; opacity: 1; transition: transform 0.25s var(--ease); }
.nav a.nav-x:hover { transform: scale(1.06); }
.nav a.nav-x::after { display: none; }
.foot-links a[aria-label] { display: inline-flex; align-items: center; }
.cp-x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pill-dark); color: #fff; }
