/* Firstprint
   Near-black canvas, one accent scale (Crash → Moon), generous space.
   Motion is quiet by default and springy on interaction. */

@font-face {
  font-family: 'Display Fallback';
  src: local('Arial Bold'), local('Helvetica Bold'), local('Liberation Sans Bold');
  font-weight: 600 800;
  size-adjust: 104%;
  ascent-override: 92%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  --bg: #07090f;
  --bg-2: #0b0e16;
  --surface: rgba(255, 255, 255, 0.038);
  --surface-2: rgba(255, 255, 255, 0.062);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f2f5fa;
  --muted: #8d95a6;
  --focus: #9ec5ff;

  --crash: #ff4d6a;
  --down: #ff8a5c;
  --flat: #a6b0c4;
  --up: #35e0a1;
  --moon: #ffc53d;

  --display: 'Bricolage Grotesque', 'Display Fallback', ui-sans-serif, system-ui, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --page: 1140px;

  /* Motion */
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --swift: cubic-bezier(0.4, 0, 0.2, 1);

  color-scheme: dark;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

p {
  margin: 0;
}

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

.muted {
  color: var(--muted);
}

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 28px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--bg-2);
  padding: 10px 14px;
  border-radius: var(--r-sm);
}
.skip:focus {
  left: 8px;
}

body[data-view='app'] .landing,
body[data-view='landing'] .app {
  display: none;
}

/* ------------------------------------------------------- Scroll reveal */

.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Headline lines rise from a mask */
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line > span {
  display: block;
  transform: translate3d(0, 105%, 0);
  transition: transform 1s var(--ease);
}
.is-loaded .hero-title .line > span {
  transform: none;
}
.is-loaded .hero-title .line:nth-child(2) > span {
  transition-delay: 90ms;
}
.is-loaded .hero-title .line:nth-child(3) > span {
  transition-delay: 180ms;
}

/* ------------------------------------------------------------- Buttons */

.btn {
  --lift: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid var(--line-2);
  background: transparent;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transform: translate3d(var(--mx, 0), calc(var(--my, 0px) - var(--lift)), 0) scale(var(--s, 1));
  transition: transform 0.45s var(--spring), background 0.25s var(--swift), border-color 0.25s var(--swift), box-shadow 0.35s var(--ease);
}
.btn:hover {
  --lift: 2px;
  --s: 1.02;
  background: var(--surface-2);
}
.btn:active {
  --s: 0.97;
  transition-duration: 0.12s;
}
.btn-solid {
  background: var(--text);
  border-color: var(--text);
  color: #06080d;
}
.btn-solid:hover {
  background: #fff;
  box-shadow: 0 10px 34px -12px rgba(255, 255, 255, 0.45);
}
.btn-lg {
  padding: 15px 28px;
  font-size: 17px;
}

.chip {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--moon);
  border: 1px solid color-mix(in srgb, var(--moon) 40%, transparent);
  border-radius: 999px;
  padding: 3px 10px;
}

/* ------------------------------------------------------------ Wordmark */

.wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.035em;
  text-decoration: none;
  line-height: 1;
}
.wordmark.small {
  font-size: 19px;
}
.mark {
  display: inline-grid;
  justify-items: center;
  gap: 2.5px;
  width: 15px;
  margin-right: 10px;
}
.mark i {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  transform-origin: center;
  animation: markIn 0.7s var(--spring) backwards;
}
.mark i:nth-child(1) { background: var(--moon); width: 100%; animation-delay: 0.05s; }
.mark i:nth-child(2) { background: var(--up); width: 78%; animation-delay: 0.11s; }
.mark i:nth-child(3) { background: var(--flat); width: 56%; animation-delay: 0.17s; }
.mark i:nth-child(4) { background: var(--down); width: 78%; animation-delay: 0.23s; }
.mark i:nth-child(5) { background: var(--crash); width: 100%; animation-delay: 0.29s; }
@keyframes markIn {
  from { transform: scaleX(0); }
}
.wordmark:hover .mark i {
  animation: markIn 0.55s var(--spring);
}

/* ----------------------------------------------------------------- Nav */

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  transition: transform 0.4s var(--ease), background 0.3s var(--swift), border-color 0.3s var(--swift), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav-bar.stuck {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}
.nav-bar.hide {
  transform: translate3d(0, -100%, 0);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 66px;
}
.nav-links {
  display: flex;
  gap: 2px;
  margin-right: auto;
}
.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  padding: 8px 12px;
  font-size: 15px;
  transition: color 0.25s var(--swift);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

/* ---------------------------------------------------------------- Hero */

.hero {
  position: relative;
  padding-top: 132px;
  padding-bottom: 40px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  padding-bottom: 84px;
}

/* Slow colour wash behind the hero */
.aurora {
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  pointer-events: none;
  filter: blur(74px);
  opacity: 0.5;
}
.aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  mix-blend-mode: screen;
  animation: drift 26s ease-in-out infinite;
}
.aurora span:nth-child(1) {
  width: 46vw;
  height: 46vw;
  left: -6%;
  top: 4%;
  background: radial-gradient(circle, rgba(53, 224, 161, 0.5), transparent 65%);
}
.aurora span:nth-child(2) {
  width: 40vw;
  height: 40vw;
  right: 2%;
  top: -6%;
  background: radial-gradient(circle, rgba(255, 197, 61, 0.42), transparent 65%);
  animation-delay: -9s;
}
.aurora span:nth-child(3) {
  width: 36vw;
  height: 36vw;
  right: 22%;
  top: 34%;
  background: radial-gradient(circle, rgba(255, 77, 106, 0.34), transparent 65%);
  animation-delay: -17s;
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(4%, 6%, 0) scale(1.12); }
  66% { transform: translate3d(-5%, 3%, 0) scale(0.94); }
}

.eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.dot-live {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--up);
  position: relative;
  transform: translateY(-1px);
}
.dot-live::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--up);
  opacity: 0;
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.9; }
  70%, 100% { transform: scale(1.9); opacity: 0; }
}

.hero-title {
  font-size: clamp(42px, 5.6vw, 78px);
  font-weight: 800;
  font-stretch: 84%;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.hero-title em {
  font-style: normal;
  white-space: nowrap;
  background: linear-gradient(96deg, var(--moon), var(--up) 55%, var(--flat));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--muted);
  margin: 24px 0 30px;
  max-width: 33em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* The example market */

.hero-market {
  margin: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.028));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease);
}
.hm-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.hm-title {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}
.hm-title b {
  display: block;
  font-family: var(--display);
  color: var(--text);
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}
.hm-clock {
  text-align: right;
  font-size: 12.5px;
}
.hm-clock b {
  display: block;
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--moon);
  transition: color 0.4s var(--swift);
}
.hm-question {
  margin: 18px 0 14px;
  font-size: 14.5px;
  color: var(--muted);
}

.hm-ladder {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.hm-ladder li {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--surface);
  overflow: hidden;
  font-size: 13.5px;
  transition: transform 0.5s var(--spring), background 0.4s var(--swift), opacity 0.4s var(--swift);
}
.hm-ladder li::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--share, 0%);
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 34%, transparent), color-mix(in srgb, var(--c) 12%, transparent));
  transition: width 1.1s var(--ease);
}
.hm-ladder li > * {
  position: relative;
}
.hm-ladder b {
  font-family: var(--display);
  color: var(--c);
  font-size: 15px;
}
.hm-ladder span {
  color: var(--muted);
}
.hm-ladder em {
  font-style: normal;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
}
.hm-ladder li.dim {
  opacity: 0.38;
}
.hm-ladder li.won {
  background: color-mix(in srgb, var(--c) 14%, var(--surface));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent);
  animation: pop 0.7s var(--spring);
}
@keyframes pop {
  35% { transform: scale(1.035); }
}
.hm-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

/* Ticker */

.ticker {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track {
  display: flex;
  gap: 46px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
@keyframes marquee {
  to { transform: translate3d(-50%, 0, 0); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  color: color-mix(in srgb, var(--text) 70%, var(--bg));
  white-space: nowrap;
}
.ticker-item i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-2);
}

/* ------------------------------------------------------------ Sections */

.section {
  padding: 120px 0 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}
.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 800;
  font-stretch: 90%;
}
.section-head .sub {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  max-width: 46em;
}
.section-head.center .sub {
  margin-left: auto;
  margin-right: auto;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.steps li {
  background: var(--bg);
  padding: 30px 26px 34px;
  transition: background 0.4s var(--swift);
}
.steps li:hover {
  background: var(--bg-2);
}
.step-n {
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.steps h3 {
  font-size: 21px;
  margin: 22px 0 10px;
}
.steps p {
  color: var(--muted);
  font-size: 15px;
}

/* Scale cards */
.scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.scale-card {
  position: relative;
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 26px 20px 24px;
  overflow: hidden;
  transition: transform 0.5s var(--spring), background 0.4s var(--swift);
}
.scale-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.scale-card.in::before {
  transform: scaleX(1);
}
.scale-card:hover {
  background: var(--surface-2);
  transform: translateY(-4px);
}
.scale-pct {
  font-size: 13px;
  color: var(--muted);
}
.scale-card b {
  display: block;
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: -0.03em;
  color: var(--c);
  margin: 6px 0 12px;
}
.scale-card p {
  color: var(--muted);
  font-size: 14.5px;
}

/* Fairness cards with pointer-follow highlight */
.fair-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.tilt {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.5s var(--spring), border-color 0.4s var(--swift);
}
.tilt::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(240px circle at var(--px, 50%) var(--py, 0%), rgba(255, 255, 255, 0.09), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--swift);
  pointer-events: none;
}
.tilt:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}
.tilt:hover::after {
  opacity: 1;
}
.tilt h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.tilt p {
  color: var(--muted);
  font-size: 15px;
}

/* Big stats */
.big-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 40px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.big-stats dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 58px);
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(170deg, var(--text) 35%, color-mix(in srgb, var(--text) 68%, var(--bg)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.big-stats dt {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
}

/* Exchange tiles */
.exchange-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}
.ex-tile {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.5s var(--spring), background 0.35s var(--swift), border-color 0.35s var(--swift);
}
.ex-tile:hover {
  background: var(--surface-2);
  border-color: var(--line);
  transform: translateY(-3px);
}
.ex-tile b {
  font-family: var(--display);
  font-size: 16.5px;
}
.ex-tile small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}
.monogram {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  background: var(--surface-2);
}

/* Roadmap */
.roadmap {
  list-style: none;
  padding: 0;
  margin: 0 0 0 7px;
  border-left: 1px solid var(--line);
}
.roadmap li {
  position: relative;
  padding: 0 0 40px 34px;
  max-width: 700px;
}
.roadmap li::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-2);
}
.roadmap li.is-live::before {
  background: var(--up);
  border-color: var(--up);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--up) 18%, transparent);
}
.roadmap li.is-next::before {
  border-color: var(--moon);
}
.roadmap .status {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.roadmap .is-live .status { color: var(--up); }
.roadmap .is-next .status { color: var(--moon); }
.roadmap h3 {
  font-size: 22px;
  margin: 8px 0 8px;
}
.roadmap p {
  color: var(--muted);
}

/* FAQ */
.faq-list {
  max-width: 840px;
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 44px 22px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  position: relative;
  transition: color 0.25s var(--swift);
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:hover {
  color: #fff;
}
.faq-list summary::after,
.faq-list summary::before {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 13px;
  height: 1.5px;
  background: var(--muted);
  transition: transform 0.45s var(--spring);
}
.faq-list summary::before {
  transform: rotate(90deg);
}
.faq-list details[open] summary::before {
  transform: rotate(0deg);
}
.faq-list details p {
  color: var(--muted);
  padding: 0 44px 24px 0;
  max-width: 64ch;
  animation: fadeUp 0.5s var(--ease);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(-6px); }
}

/* CTA */
.cta-band {
  margin-top: 130px;
  border-top: 1px solid var(--line);
  background: radial-gradient(120% 160% at 50% 0%, rgba(53, 224, 161, 0.08), transparent 60%), var(--bg-2);
}
.cta-inner {
  padding: 84px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-inner h2 {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
}
.footer-inner {
  padding: 38px 28px 48px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-inner p {
  margin-top: 12px;
  font-size: 14px;
  max-width: 46em;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: flex-start;
}
.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
  transition: color 0.25s var(--swift);
}
.footer-links a:hover {
  color: var(--text);
}

/* ================================================================== App */

.app {
  animation: appIn 0.5s var(--ease);
}
@keyframes appIn {
  from { opacity: 0; transform: translateY(8px); }
}

.app-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.app-bar-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 66px;
}
.app-tabs {
  display: flex;
  gap: 2px;
  margin-right: auto;
  position: relative;
}
.app-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  white-space: nowrap;
  transition: color 0.25s var(--swift), background 0.25s var(--swift);
}
.app-tabs a:hover {
  color: var(--text);
}
.app-tabs a[aria-current='page'] {
  color: var(--text);
  background: var(--surface-2);
}
.soon {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--moon);
  border: 1px solid color-mix(in srgb, var(--moon) 38%, transparent);
  border-radius: 999px;
  padding: 1px 7px;
}
.btn-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.app-main {
  padding: 44px 28px 110px;
  min-height: 72vh;
}
.app-main:focus {
  outline: none;
}
.page-title {
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.page-lede {
  color: var(--muted);
  margin: 14px 0 32px;
  max-width: 44em;
  font-size: 17px;
}

.data-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted);
}
.data-note.offline .dot-live {
  background: var(--down);
}
.data-note.offline .dot-live::after {
  display: none;
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
}
.summary-stats > div {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 18px;
}
.summary-stats dt {
  font-size: 13px;
  color: var(--muted);
}
.summary-stats dd {
  margin: 6px 0 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.toolbar-left {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.input,
.select {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  transition: border-color 0.25s var(--swift), background 0.25s var(--swift);
}
.input:hover,
.select:hover {
  background: var(--surface-2);
}
.input:focus,
.select:focus {
  border-color: var(--line-2);
  outline: none;
}

/* Exchange table */
.ex-table {
  width: 100%;
  border-collapse: collapse;
}
.ex-table th {
  text-align: left;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.ex-table td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.ex-table tbody tr {
  cursor: pointer;
  transition: background 0.2s var(--swift);
}
.ex-table tbody tr:hover {
  background: var(--surface);
}
.ex-table tbody tr.row-in td {
  animation: rowIn 0.5s var(--ease) backwards;
}
@keyframes rowIn {
  from { opacity: 0; transform: translateY(8px); }
}
.ex-table .right {
  text-align: right;
}
.ex-name {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}
.ex-name b {
  font-family: var(--display);
  font-size: 16.5px;
  display: block;
}
.ex-name small {
  color: var(--muted);
  font-size: 12.5px;
}
.num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
}
.rank {
  color: var(--muted);
  width: 34px;
  font-family: var(--display);
}

.trust {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
}
.trust-bar {
  width: 56px;
  height: 5px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.trust-bar i {
  display: block;
  height: 100%;
  width: calc(var(--t) * 10%);
  background: linear-gradient(90deg, color-mix(in srgb, var(--up) 60%, transparent), var(--up));
  animation: growX 0.9s var(--ease) backwards;
}
@keyframes growX {
  from { transform: scaleX(0); transform-origin: left; }
}

.radar-pill {
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.radar-pill.on {
  color: var(--up);
  background: color-mix(in srgb, var(--up) 12%, transparent);
}
.radar-pill.off {
  color: var(--muted);
  background: var(--surface-2);
}

.skeleton {
  display: inline-block;
  width: 74px;
  height: 15px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--surface), var(--surface-2), var(--surface));
  background-size: 200% 100%;
  animation: shimmer 1.3s linear infinite;
}
@keyframes shimmer {
  to { background-position: -200% 0; }
}

/* Exchange detail */
.back {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 22px;
  font-size: 15px;
  transition: transform 0.35s var(--spring), color 0.25s;
}
.back:hover {
  color: var(--text);
  transform: translateX(-3px);
}
.detail-head {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.detail-head .monogram {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  font-size: 27px;
}
.detail-head .actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
}
.detail-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 32px 0 42px;
}
.detail-stats > div {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 20px;
}
.detail-stats dt {
  font-size: 13px;
  color: var(--muted);
}
.detail-stats dd {
  margin: 8px 0 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
}
.detail-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.panel h2 {
  font-size: 22px;
  margin-bottom: 14px;
}
.panel + .panel {
  margin-top: 30px;
}
.panel-box {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 20px;
}
.panel-box p + p,
.panel-box ul {
  margin-top: 12px;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  padding: 7px 0 7px 26px;
  position: relative;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 15px;
  width: 10px;
  height: 5px;
  border-left: 1.8px solid var(--up);
  border-bottom: 1.8px solid var(--up);
  transform: rotate(-45deg);
}
.pairs .num {
  font-size: 15px;
}
.pairs td a {
  text-decoration: none;
}
.pairs td a:hover {
  text-decoration: underline;
}
.table-scroll {
  overflow-x: auto;
}

/* Coming soon */
.soon-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: center;
  padding-top: 24px;
}
.soon-page h1 {
  font-size: clamp(40px, 5.4vw, 70px);
  font-weight: 800;
  font-stretch: 88%;
  letter-spacing: -0.045em;
}
.soon-page .lede {
  color: var(--muted);
  font-size: 18.5px;
  margin: 20px 0 26px;
  max-width: 32em;
}
.soon-page .check-list {
  margin-bottom: 30px;
}
.soon-badge {
  display: inline-block;
  margin-bottom: 20px;
}
.preview-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.028));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: 0 40px 80px -44px rgba(0, 0, 0, 0.9);
}
.preview-card .hm-ladder li::before {
  width: var(--share);
}
.radar-preview {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.radar-preview li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.radar-preview b {
  font-family: var(--display);
  font-size: 18px;
}
.radar-preview small {
  color: var(--muted);
  grid-column: 1 / -1;
}
.blur-rows {
  filter: blur(3px);
  opacity: 0.5;
  user-select: none;
}

.empty {
  padding: 52px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
}

#toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 24px) scale(0.96);
  opacity: 0;
  z-index: 60;
  background: var(--text);
  color: #06080d;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  pointer-events: none;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  transition: opacity 0.3s var(--ease), transform 0.5s var(--spring);
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

/* ------------------------------------------------------------ Responsive */

@media (max-width: 1000px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 72px;
  }
  .hero {
    padding-top: 120px;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .scale {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }
  .fair-grid,
  .big-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detail-cols,
  .soon-page {
    grid-template-columns: 1fr;
  }
  .detail-stats,
  .summary-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .wrap {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
  }
  .nav-inner {
    justify-content: space-between;
    height: 60px;
  }
  .hero {
    padding-top: 104px;
  }
  .aurora {
    filter: blur(56px);
    opacity: 0.4;
  }
  .aurora span {
    animation: none;
  }
  .hero-title {
    font-size: clamp(38px, 11vw, 56px);
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.05em;
    margin-bottom: 18px;
  }
  .hero .lede {
    font-size: 16.5px;
  }
  .hero-actions .btn-lg {
    flex: 1 1 auto;
    padding: 14px 20px;
  }
  .hero-market {
    padding: 20px;
  }
  .section {
    padding-top: 88px;
  }
  .section-head {
    margin-bottom: 36px;
  }
  .steps,
  .fair-grid {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    padding: 56px 20px;
  }
  .app-main {
    padding: 28px 20px 96px;
  }
  .app-bar-inner {
    height: auto;
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 10px 0 8px;
  }
  .app-tabs {
    order: 3;
    width: calc(100% + 20px);
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -10px;
  }
  .app-bar .btn-disabled {
    display: none;
  }
  .toolbar {
    align-items: flex-start;
  }
  .trending-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .trend-card {
    width: 152px;
    padding: 12px;
  }
  .ex-name .monogram {
    display: none;
  }
  .hide-sm {
    display: none;
  }
  .ex-table td {
    padding: 13px 8px;
  }
  .ex-table th {
    padding: 10px 8px;
  }
  .detail-head .actions {
    margin-left: 0;
    width: 100%;
  }
  .hm-ladder li {
    grid-template-columns: 54px 1fr auto;
    padding: 11px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal,
  .hero-title .line > span {
    opacity: 1;
    transform: none;
  }
  .aurora {
    display: none;
  }
}

/* --------------------------------------------------------- Practice market */

.try-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  padding: 24px;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.95);
}
.try-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.try-score {
  text-align: right;
  font-size: 12.5px;
  color: var(--muted);
}
.try-score b {
  display: block;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  transition: transform 0.5s var(--spring), color 0.3s;
}
.try-score.bump b {
  transform: scale(1.25);
  color: var(--up);
}

.try-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: 26px;
  margin-top: 22px;
  align-items: stretch;
}

.try-chart {
  position: relative;
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  min-height: 220px;
}
.try-chart.idle::after {
  content: 'The 72 hours draw here once you pick.';
  position: absolute;
  inset: auto 0 18px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}
.try-chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.try-base {
  stroke: var(--line-2);
  stroke-dasharray: 4 6;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.try-path {
  stroke: var(--c, var(--flat));
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.4s var(--swift);
}
.try-move {
  position: absolute;
  right: 16px;
  top: 14px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.03em;
  color: var(--c, var(--muted));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--spring);
}
.try-move.show {
  opacity: 1;
  transform: none;
}

.try-side {
  display: flex;
  flex-direction: column;
}
.try-q {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 12px;
}
.try-picks {
  display: grid;
  gap: 6px;
}
.try-picks button {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: var(--surface);
  cursor: pointer;
  font-size: 13.5px;
  transition: transform 0.4s var(--spring), background 0.25s var(--swift), border-color 0.25s var(--swift), opacity 0.3s;
}
.try-picks button b {
  font-family: var(--display);
  font-size: 15px;
  color: var(--c);
}
.try-picks button span {
  color: var(--muted);
}
.try-picks button em {
  font-style: normal;
  font-family: var(--display);
  font-weight: 700;
  color: var(--muted);
  min-width: 42px;
  text-align: right;
}
.try-picks button:hover:not(:disabled) {
  background: var(--surface-2);
  transform: translateX(3px);
}
.try-picks button:active:not(:disabled) {
  transform: scale(0.985);
}
.try-picks button[aria-checked='true'] {
  border-color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, var(--surface));
}
.try-picks button:disabled {
  cursor: default;
}
.try-picks.locked button:not([aria-checked='true']) {
  opacity: 0.4;
}
.try-picks button.win {
  border-color: var(--c);
  box-shadow: inset 0 0 0 1px var(--c);
  animation: pop 0.7s var(--spring);
}

.try-result {
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted);
  min-height: 48px;
}
.try-result b {
  font-family: var(--display);
  font-size: 19px;
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}
.try-result.win b {
  color: var(--up);
}
.try-result.lose b {
  color: var(--down);
}
#try-again {
  margin-top: auto;
  align-self: flex-start;
}
.try-note {
  text-align: center;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
}

/* Confetti burst on a correct call */
.spark {
  position: fixed;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 50;
  animation: spark 1s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes spark {
  to {
    transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot));
    opacity: 0;
  }
}

/* ------------------------------------------------------------- Trending */

.trending {
  margin-bottom: 34px;
}
.trending-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.trending-head h2 {
  font-size: 20px;
}
.trend-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  -webkit-mask-image: linear-gradient(90deg, #000 94%, transparent);
  mask-image: linear-gradient(90deg, #000 94%, transparent);
}
.trend-row::-webkit-scrollbar {
  display: none;
}
.trend-card {
  flex: none;
  width: 176px;
  padding: 14px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid transparent;
  transition: background 0.3s var(--swift), border-color 0.3s var(--swift), transform 0.4s var(--spring);
  animation: rowIn 0.5s var(--ease) backwards;
}
.trend-card:hover {
  background: var(--surface-2);
  border-color: var(--line);
  transform: translateY(-3px);
}
.trend-rank {
  font-size: 12px;
  color: var(--muted);
}
.trend-sym {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  margin: 6px 0 2px;
}
.trend-name {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trend-cap {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .try-body {
    grid-template-columns: 1fr;
  }
  .try-chart {
    min-height: 170px;
  }
  .try-card {
    padding: 18px;
  }
  #try-again {
    align-self: stretch;
  }
}
