/* JoltPay: one stylesheet, no build step. Brand colours live in :root. */

:root {
  --ink: #232c45;
  --muted: #6f7790;
  --line: #e4eafb;
  --paper: #ffffff;
  --mist: #f5f8ff;
  --tint: #dce5fd;
  --primary: #3461f0;
  --primary-deep: #2446c6;
  --primary-soft: #a1b7fb;
  --violet: #8a63f5;
  --up: #34c3b8;
  --up-ink: #17968c;
  --down: #e0464f;
  --down-ink: #cc3640;
  --amber: #f2a93b;

  --ink-06: color-mix(in srgb, var(--ink) 6%, transparent);
  --ink-12: color-mix(in srgb, var(--ink) 12%, transparent);
  --ink-40: color-mix(in srgb, var(--ink) 40%, transparent);
  --primary-08: color-mix(in srgb, var(--primary) 8%, transparent);
  --primary-16: color-mix(in srgb, var(--primary) 16%, transparent);
  --primary-ink: color-mix(in srgb, var(--primary) 78%, var(--ink));
  --up-12: color-mix(in srgb, var(--up) 12%, transparent);
  --down-12: color-mix(in srgb, var(--down) 12%, transparent);

  --font: "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 72rem;
  --gutter: 20px;
  --nav-h: 64px;
  --header-h: 140px;
  --r-lg: 28px;
  --r-md: 22px;

  --shadow-soft: 0 1px 2px 0 var(--ink-06), 0 12px 32px -12px var(--ink-12);
  --shadow-lift: 0 2px 4px 0 var(--ink-06), 0 28px 56px -18px var(--ink-40);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
code { font-family: var(--mono); }
ol, ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.show-sm { display: none; }

/* ---------- scroll progress ---------- */

.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--violet));
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}

/* ---------- header ---------- */

.top {
  position: sticky; top: 0; z-index: 50;
  padding-bottom: 12px;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.top.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 12px 30px -26px var(--ink-40); }

.nav { position: relative; height: var(--nav-h); display: flex; align-items: center; gap: 32px; }

.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--primary); color: #fff;
  box-shadow: 0 8px 16px -8px var(--primary);
  transition: transform .4s var(--pop);
}
.logo-mark svg { width: 20px; height: 20px; fill: currentColor; }
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.06); }
.logo-word { font-size: 30px; font-weight: 800; letter-spacing: -.045em; line-height: 1; color: var(--primary); }

.links { display: flex; gap: 2px; }
.links a {
  padding: 8px 12px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color .2s, background .2s;
}
.links a:hover, .links a[aria-current] { color: var(--ink); background: var(--primary-08); }

.socials { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  transition: background .2s, opacity .2s;
}
.icon-btn svg { width: 19px; height: 19px; fill: currentColor; }
.icon-btn:not(.is-off):hover { background: var(--primary-08); }
.is-off { opacity: .35; cursor: not-allowed; }

.menu { display: none; width: 40px; height: 40px; border-radius: 12px; place-items: center; }
.menu span, .menu span::before, .menu span::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .3s var(--ease), background .2s;
}
.menu span { position: relative; }
.menu span::before, .menu span::after { content: ""; position: absolute; left: 0; }
.menu span::before { top: -6px; }
.menu span::after { top: 6px; }
.menu[aria-expanded="true"] span { background: transparent; }
.menu[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* contract bar */

.ca {
  display: flex; align-items: center; gap: 16px;
  padding: 9px 9px 9px 22px;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--paper); box-shadow: var(--shadow-soft);
}
.ca-label {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--primary); white-space: nowrap;
}
.ca-value {
  flex: 1; min-width: 0;
  font-size: clamp(13px, 1.55vw, 19px); font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ca.is-pending .ca-value {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--muted);
}
.ca.is-pending .ca-value::before {
  content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%;
  background: var(--amber); animation: ping 2.2s var(--ease) infinite;
  --ring: var(--amber);
}
.ca-copy {
  padding: 8px 16px; border-radius: 12px;
  background: var(--primary-08); color: var(--primary);
  font-size: 14px; font-weight: 600;
  transition: background .2s, color .2s;
}
.ca-copy:not(:disabled):hover { background: var(--primary); color: #fff; }
.ca-copy:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- shared bits ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 600;
  transition: transform .3s var(--pop), background .2s, box-shadow .3s;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 14px 28px -14px var(--primary); }
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-2px); box-shadow: 0 18px 32px -14px var(--primary); }
.btn-ghost:hover { background: var(--primary-08); }
.btn-ico { width: 18px; height: 18px; transition: transform .3s var(--pop); }
.btn-ghost:hover .btn-ico { transform: translateX(3px); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--primary); }
.chip-live { background: var(--primary-08); border-color: var(--primary-16); color: var(--primary-ink); }
.chip-live .dot { background: var(--muted); }
[data-state="live"] .dot { background: var(--up); --ring: var(--up); animation: ping 2s var(--ease) infinite; }
[data-state="stale"] .dot { background: var(--amber); }
[data-state="error"] .dot { background: var(--down); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
}

.pill-num {
  display: inline-grid; place-items: center;
  min-width: 34px; height: 28px; padding: 0 10px; border-radius: 999px;
  background: var(--primary-08); color: var(--primary);
  font-size: 13px; font-weight: 700;
}

.up { color: var(--up-ink); }
.down { color: var(--down-ink); }

/* ---------- hero ---------- */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 9vw, 112px);
  background:
    radial-gradient(55% 70% at 12% 8%, var(--tint) 0%, transparent 70%),
    radial-gradient(45% 55% at 92% 25%, color-mix(in srgb, var(--violet) 11%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, var(--mist), var(--paper));
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--ink-12) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 78%);
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}
.hero-mark {
  position: absolute; right: -1vw; bottom: -.2em;
  font-size: clamp(7rem, 20vw, 18rem); font-weight: 800; letter-spacing: -.06em; line-height: 1;
  color: var(--primary); opacity: .055;
  pointer-events: none; user-select: none;
}

.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 {
  margin: 24px 0 20px;
  font-size: clamp(2.75rem, 6.4vw, 4.8rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02;
}
.hero h1 em { display: block; font-style: normal; color: var(--primary); }
.lede { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 33rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 22px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* phone */

.device-wrap { position: relative; justify-self: center; padding-left: 104px; }
.device {
  position: relative;
  width: min(320px, 84vw);
  padding: 26px 18px 18px;
  border: 12px solid var(--ink); border-radius: 46px;
  background: var(--paper); box-shadow: var(--shadow-lift);
}
.device::before {
  content: ""; position: absolute; top: 9px; left: 50%;
  width: 74px; height: 6px; border-radius: 6px;
  background: var(--line); transform: translateX(-50%);
}
.device-head h3 { font-size: 21px; }
.device-head small { color: var(--muted); font-size: 13px; }

.pulse { margin-top: 10px; min-height: 300px; }
.pulse li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.pulse li:first-child { border-top: 0; }
.pr-name { flex: 1; min-width: 0; }
.pr-name b, .pr-price b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.pr-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-name small, .pr-price small { display: block; font-size: 12px; }
.pr-name small { color: var(--muted); }
.pr-price { text-align: right; font-variant-numeric: tabular-nums; }

.device-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.device-foot a { color: var(--primary); font-weight: 600; }

.float {
  position: absolute; z-index: 2;
  padding: 14px 18px; border-radius: 20px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  animation: bob 7s ease-in-out infinite;
}
.float b { display: block; font-size: 22px; font-weight: 700; line-height: 1.2; }
.float small { color: var(--muted); font-size: 12px; white-space: nowrap; }
/* Anchored by the right edge so each card only overlaps the phone's bezel, whatever its width. */
.float-a { top: 52px; right: calc(100% - 126px); }
.float-b { bottom: 70px; right: calc(100% - 118px); animation-delay: -3.5s; }

/* avatars */

.av {
  --s: 36px;
  width: var(--s); height: var(--s); flex: none;
  display: grid; place-items: center; overflow: hidden;
  border-radius: 50%; background: var(--tint);
  font-size: 12px; font-weight: 700; color: var(--primary-ink);
}
.av img { width: 100%; height: 100%; object-fit: cover; }
.av-fallback { background: hsl(var(--hue, 225) 85% 93%); color: hsl(var(--hue, 225) 55% 36%); }

/* skeletons */

.sk {
  display: inline-block; height: 12px; border-radius: 6px; vertical-align: middle;
  background: linear-gradient(90deg, var(--line) 0%, var(--mist) 50%, var(--line) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
.av.sk-av { background: var(--line); }

/* ---------- ticker ---------- */

.ticker {
  overflow: hidden;
  padding: 14px 0;
  border-block: 1px solid var(--line);
  background: var(--paper);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ticker-track { display: flex; width: max-content; min-height: 26px; animation: marquee var(--dur, 60s) linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick { display: inline-flex; align-items: center; gap: 10px; padding-right: 44px; font-size: 15px; white-space: nowrap; }
.tick .av { --s: 24px; font-size: 9px; }
.tick b { font-weight: 600; }
.tick span { font-variant-numeric: tabular-nums; }
.tick small { font-size: 13px; font-weight: 600; }

/* ---------- sections ---------- */

.section { padding: clamp(72px, 10vw, 112px) 0; }
.tinted { background: linear-gradient(180deg, var(--tint), color-mix(in srgb, var(--tint) 35%, var(--paper))); }

.head { max-width: 42rem; margin-bottom: 48px; }
.head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: block; margin-bottom: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--primary);
}
.head h2, .why h2, .band h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; }
.head p { margin-top: 14px; color: var(--muted); }
.fine { margin-top: 28px; font-size: 13px; color: var(--muted); }
.center-text { text-align: center; }

/* ---------- market board ---------- */

.board { padding: 20px; border-radius: var(--r-lg); }
.board-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }

.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--primary-08); }
.seg button {
  padding: 8px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--muted);
  transition: background .25s, color .25s, box-shadow .25s;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-soft); }

/* position: relative keeps the absolutely positioned sr-only header inside the scroller,
   otherwise it escapes to the page edge and widens the mobile layout viewport. */
.table-wrap { position: relative; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th {
  padding: 14px 12px; text-align: left; white-space: nowrap;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--line);
}
td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .2s; }
tbody tr:not(.is-skeleton):hover { background: var(--mist); }

.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td.num { font-weight: 600; }
.rank { width: 40px; color: var(--muted); }
.tok a, .tok-sk { display: flex; align-items: center; gap: 12px; }
.tok b { display: block; line-height: 1.3; }
.tok small { display: block; max-width: 18ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--muted); }
.tok a:hover b { color: var(--primary); }

.chg { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 14px; }
.chg.up { background: var(--up-12); }
.chg.down { background: var(--down-12); }

.copy { width: 52px; text-align: right; }
.copy-btn {
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-grid; place-items: center;
  background: var(--primary-08); color: var(--primary);
  transition: background .2s, color .2s, transform .3s var(--pop);
}
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn:hover { background: var(--primary); color: #fff; }
.copy-btn.is-done { background: var(--up); color: #fff; transform: scale(1.08); }

.board-empty { padding: 36px 12px; text-align: center; color: var(--muted); }
.board-empty b { display: block; color: var(--ink); margin-bottom: 4px; }
.board-note { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- roadmap ---------- */

.road { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.stages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stage { padding: 24px; transition: transform .35s var(--pop), box-shadow .35s; }
.stage:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.stage h3 { margin: 18px 0 8px; font-size: 20px; }
.stage p { font-size: 15px; color: var(--muted); }

.orbit-wrap { display: grid; justify-items: center; gap: 28px; }
.orbit { position: relative; width: min(330px, 76vw); aspect-ratio: 1; }
.orbit-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px dashed var(--primary-soft);
  animation: spin 50s linear infinite;
}
.orbit-node {
  position: absolute; translate: -50% -50%;
  padding: 7px 16px; border-radius: 999px;
  background: var(--primary); color: #fff;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 10px 20px -10px var(--primary);
  animation: spin 50s linear infinite reverse;
}
.orbit-core {
  position: absolute; inset: 24%;
  display: grid; place-content: center; text-align: center;
  border-radius: 50%; background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow-lift);
}
.orbit-core b { font-size: 22px; }
.orbit-core small { max-width: 11ch; margin-inline: auto; font-size: 12px; line-height: 1.35; color: var(--muted); }
.orbit-note { font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- flow ---------- */

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-lg); }
.step-n {
  width: 38px; height: 38px; margin-bottom: 8px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary); color: #fff; font-weight: 700;
  box-shadow: 0 10px 20px -10px var(--primary);
}
.step h3 { font-size: 20px; }
.step p { flex: 1; font-size: 15px; color: var(--muted); }

.mock { margin-top: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.mock small {
  display: block; margin-bottom: 4px;
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.mock b { font-size: 16px; font-weight: 600; }
.mock-amount b { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.caret {
  display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px;
  background: var(--primary); animation: blink 1s steps(1) infinite;
}
.mock-done {
  display: flex; align-items: center; gap: 12px;
  background: var(--up-12); border-color: color-mix(in srgb, var(--up) 45%, transparent);
  color: var(--up-ink); font-weight: 600;
}
.check { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--up); color: #fff; }
.check svg { width: 15px; height: 15px; }
.step.in .check { animation: pop .6s var(--pop) .5s both; }

/* ---------- engine ---------- */

.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pipe { position: relative; padding: 22px; }
.pipe h3 { margin: 16px 0 6px; font-size: 18px; }
.pipe p { font-size: 14px; color: var(--muted); }
.pipe:not(:last-child)::after {
  content: ""; position: absolute; top: 34px; right: -13px; z-index: 1;
  width: 10px; height: 10px;
  border-top: 2px solid var(--primary-soft); border-right: 2px solid var(--primary-soft);
  transform: rotate(45deg);
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.stat { padding: 24px; }
.stat b {
  display: block; overflow-wrap: anywhere;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
  color: var(--primary);
}
.stat small { font-size: 14px; color: var(--muted); }
.tagline { margin-top: 40px; text-align: center; font-weight: 600; }

/* ---------- why ---------- */

.why { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.why-copy .lede { margin-top: 16px; }
.why-copy .small { margin-top: 18px; font-size: 15px; color: var(--muted); max-width: 33rem; }

.reg { padding: 24px; border-radius: var(--r-lg); }
.reg h3 { margin-bottom: 8px; font-size: 18px; }
.reg dl { margin: 0; }
.reg-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.reg-row dt { font-size: 14px; color: var(--muted); }
.reg-row dd { margin: 0; min-width: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.reg-row dd a:hover { color: var(--primary); }
.reg-row .mono { font-family: var(--mono); font-size: 13px; }
.pending { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--muted); }
.pending::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px dashed currentColor; }

/* ---------- faq ---------- */

.faq { max-width: 46rem; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  padding: 0 24px; border-radius: 20px;
  background: var(--paper); border: 1px solid var(--line);
  transition: box-shadow .25s, border-color .25s;
}
.faq details[open] { border-color: var(--primary-16); box-shadow: var(--shadow-soft); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: 17px; font-weight: 600;
  list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 30px; height: 30px; flex: none; border-radius: 50%;
  background: var(--primary-08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1.5v9M1.5 6h9' stroke='%233461f0' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: rotate .3s var(--ease);
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding-bottom: 22px; color: var(--muted); }

/* ---------- follow band ---------- */

.band {
  position: relative; overflow: hidden;
  padding: clamp(72px, 9vw, 104px) 0;
  background: var(--primary); color: #fff; text-align: center;
}
.band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, #fff 16%, transparent) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 90% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(70% 90% at 50% 50%, #000, transparent);
}
.band .wrap { position: relative; }
.band .eyebrow { color: color-mix(in srgb, #fff 72%, transparent); }
.band p { max-width: 36rem; margin: 14px auto 0; color: color-mix(in srgb, #fff 84%, transparent); }
.band-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.pill-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; border-radius: 999px;
  background: #fff; color: var(--primary); font-weight: 600;
  transition: transform .3s var(--pop), box-shadow .3s;
}
.pill-link svg { width: 18px; height: 18px; fill: currentColor; }
.pill-link:not(.is-off):hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgb(0 0 0 / .45); }
.pill-link.is-off { opacity: .55; }

/* ---------- footer ---------- */

.foot { padding: 56px 0 32px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; }
.foot-tag { margin: 10px 0 18px; font-size: 14px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--muted); }
.foot-links a:hover { color: var(--ink); }
.foot-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}

/* ---------- toast ---------- */

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 80;
  padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
  opacity: 0; translate: -50% 16px; pointer-events: none;
  transition: opacity .3s var(--ease), translate .3s var(--ease);
}
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0; translate: 0 24px;
  transition: opacity .7s var(--ease) var(--d, 0s), translate .7s var(--ease) var(--d, 0s), transform .35s var(--pop), box-shadow .35s;
}
.js [data-reveal].in { opacity: 1; translate: 0 0; }

/* ---------- keyframes ---------- */

@keyframes ping {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ring, var(--up)) 55%, transparent); }
  80%, 100% { box-shadow: 0 0 0 8px transparent; }
}
@keyframes bob { 50% { translate: 0 -10px; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pop { 0% { scale: .4; opacity: 0; } 100% { scale: 1; opacity: 1; } }

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipe:last-child { grid-column: 1 / -1; }
  .pipe::after { display: none; }
}

@media (max-width: 960px) {
  .hero-grid, .road, .why { grid-template-columns: 1fr; }
  .device-wrap { padding-left: 0; }
  .hide-md { display: none; }
}

@media (max-width: 860px) {
  .menu { display: grid; }
  .links {
    position: absolute; top: calc(var(--nav-h) - 4px); left: 0; right: 0; z-index: 5;
    display: none; flex-direction: column; gap: 2px; padding: 10px;
    background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lift);
  }
  .links.open { display: flex; }
  .links a { padding: 12px 16px; font-size: 16px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .steps3, .stages, .stats { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .ca { gap: 12px; padding-left: 16px; }
  .board { padding: 12px; }
  td, th { padding-inline: 8px; }
  .tok small { max-width: 12ch; }
}

@media (max-width: 520px) {
  .board { padding: 8px; }
  table { font-size: 14px; }
  td, th { padding-inline: 6px; }
  .rank, .tok small { display: none; }
  .tok a { gap: 8px; }
  .tok .av { --s: 28px; }
  .chg { padding: 2px 7px; font-size: 13px; }
  .copy { width: 40px; }
  .copy-btn { width: 32px; height: 32px; }
  .ca.is-pending .ca-value { white-space: normal; font-size: 14px; line-height: 1.3; }
  .pipeline { grid-template-columns: 1fr; }
  .float { display: none; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* Narrow phones: the copy column goes so price and change stay readable without sideways scrolling. */
@media (max-width: 420px) {
  .copy { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
}
