@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg: #080a0e;
  --paper: #f2f4f7;
  --muted: #9aa3b1;
  --line: #242a34;
  --blue: #356bff;
  --orange: #f28c39;
  --mono: 'DM Mono', monospace;
  --sans: 'Manrope', sans-serif;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--paper); font: 1rem/1.6 var(--sans); }
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .035;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 4.5rem 4.5rem; mask-image: linear-gradient(to bottom, black, transparent 80%);
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
img { max-width: 100%; }
section { scroll-margin-top: 7.5rem; }
.section-wrap { max-width: 90rem; margin-inline: auto; padding-inline: clamp(1.375rem, 6vw, 6rem); }

/* Header: the mobile navigation stays visible on its own row. */
.site-header {
  position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center;
  gap: .625rem 1rem; min-height: 4.875rem; padding: .75rem clamp(1.375rem, 4vw, 4rem);
  border-bottom: 1px solid #ffffff1f; background: #080a0ee8; backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: .625rem; }
.brand img { width: 2.625rem; height: 2.625rem; object-fit: contain; }
.brand span { font: 600 .625rem/1.3 var(--mono); letter-spacing: .055em; }
.brand b { color: #6d93ff; }
.site-nav {
  order: 3; width: 100%; display: flex; justify-content: center; gap: 1.5rem;
  color: var(--muted); font: 500 .75rem var(--mono); letter-spacing: .06em; text-transform: uppercase;
}
.site-nav a { display: grid; place-items: center; min-height: 2.75rem; border-bottom: 1px solid transparent; }
.site-nav a.active, .site-nav a:hover { color: var(--paper); border-color: var(--blue); }
.site-header > .button { margin-left: auto; }

/* Shared project actions. */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: .5rem .625rem; border: 1px solid var(--line); background: #0d1016;
  font: 500 .75rem/1.35 var(--mono); letter-spacing: .015em; text-transform: uppercase;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.button:hover { border-color: var(--blue); background: #121a2a; transform: translateY(-2px); }
.button img { width: 1.375rem; height: 1.375rem; object-fit: contain; flex-shrink: 0; }
.button-small { min-height: 2.75rem; padding-inline: .75rem; }
.button-small img { width: 1.125rem; height: 1.125rem; }
.button-buy { border-color: var(--blue); background: var(--blue); color: #fff; }
.button-buy:hover { background: #487aff; }
.action-buy { background: var(--paper); border-color: var(--paper); color: var(--bg); }
.action-buy:hover { background: #d6e1ff; }

/* First screen. The headline scales with its own column. */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  gap: 2.5rem; padding-block: 3.5rem 4.5rem;
}
.hero-copy { min-width: 0; container-type: inline-size; }
.eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: .625rem; color: var(--muted);
  font: 500 .75rem/1.5 var(--mono); letter-spacing: .065em; text-transform: uppercase;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 14px #f28c3966; }
.ticker { color: #6d93ff; }
.hero h1 { margin: 2rem 0; font: 700 clamp(3.5rem, 18.5vw, 9.5rem)/.85 var(--display); letter-spacing: -.035em; }
@supports (font-size: 1cqw) { .hero h1 { font-size: 21.6cqw; } }
.hero h1 span, .hero h1 strong { display: block; }
.hero h1 strong { color: var(--blue); text-shadow: 0 0 40px #356bff28; }
.hero-lede { max-width: 32rem; margin: 0 0 1.75rem; color: #aeb5c0; }
.action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; max-width: 29rem; }
.hero-note { margin-top: 1.25rem; color: #858e9c; font: .75rem/1.6 var(--mono); }
.hero-art { width: 100%; max-width: 34rem; margin: 0; justify-self: center; }
.art-frame { position: relative; aspect-ratio: 1; padding: .625rem; border: 1px solid #303744; background: #050608; }
.art-frame::before, .art-frame::after { content: ''; position: absolute; width: 1.625rem; height: 1.625rem; border: solid var(--blue); z-index: 1; }
.art-frame::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.art-frame::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.art-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-art figcaption { display: flex; align-items: center; gap: .75rem; margin-top: .75rem; color: #939cab; font: .6875rem/1.5 var(--mono); letter-spacing: .07em; }
.hero-art figcaption span { color: #6d93ff; }
.hero-art figcaption i { flex: 1; height: 1px; background: var(--line); }

/* Roadmap. */
.roadmap, .chart-section { padding-block: 4.5rem 5.5rem; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.125rem; }
.section-heading .eyebrow { align-self: start; margin-top: .375rem; }
.section-heading h2 { margin: 0; font: 600 clamp(3.5rem, 7vw, 6.5rem)/.95 var(--display); letter-spacing: -.02em; }
.section-heading h2 em { font-style: normal; color: var(--blue); }
.section-heading > p:last-child { max-width: 28rem; margin: 0; color: var(--muted); }
.roadmap-line { height: 1px; margin-top: 3.25rem; background: linear-gradient(90deg, var(--blue), var(--line) 60%); }
.phases { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
.phase { position: relative; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.phase::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.phase-index { color: #6d93ff; font: 500 .9375rem var(--mono); }
.phase-state { margin-block: 1.5rem; color: var(--muted); font: 500 .75rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.phase h3 { margin: 0 0 1rem; font: 600 2.125rem/1.05 var(--display); }
.phase > p:not(.phase-state) { color: var(--muted); max-width: 30rem; }
.phase ul { list-style: none; margin: 1.5rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); color: #b7bfca; font: .8125rem/1.5 var(--mono); }
.phase li { padding-block: .375rem; }
.phase li::before { content: '+'; margin-right: .5rem; color: var(--orange); }

/* Embedded market window and persistent external fallback. */
.chart-heading { margin-bottom: 3rem; }
.chart-window { border: 1px solid #303744; background: #0a0d12; box-shadow: 0 20px 80px #0007; }
.window-bar { display: flex; align-items: center; gap: .75rem; min-height: 3rem; padding: .75rem; border-bottom: 1px solid var(--line); color: #939dab; font: .6875rem/1.4 var(--mono); }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #343b46; }
.window-dots i:first-child { background: #86594b; }
.window-address { margin-inline: auto; }
.window-address span { color: #8a95a5; }
.window-lock { color: #6d93ff; }
.chart-body { display: grid; place-items: center; min-height: 22rem; background: linear-gradient(135deg, #356bff09, transparent 40%); }
.chart-body iframe { display: block; width: 100%; height: 30rem; border: 0; background: #0a0d12; }
.chart-empty { max-width: 26rem; padding: 2rem 1.25rem; text-align: center; }
.empty-chart-icon { display: block; margin: 0 auto 1rem; object-fit: contain; }
.chart-empty h3 { margin: 0 0 .625rem; font: 600 2rem/1.15 var(--display); }
.chart-empty p { margin: 0; color: var(--muted); font-size: .9375rem; }
.chart-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; padding: .875rem; border-top: 1px solid var(--line); }
.chart-footer > span { color: var(--muted); font: .75rem/1.5 var(--mono); }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.5rem clamp(1.375rem, 6vw, 6rem); border-top: 1px solid var(--line); color: #939cab; font: .75rem/1.5 var(--mono); }
.toast { position: fixed; bottom: 1.5rem; left: 50%; z-index: 20; width: max-content; max-width: calc(100% - 2rem); padding: .75rem 1rem; background: var(--paper); color: var(--bg); font: 500 .8125rem/1.5 var(--mono); opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity .25s ease, transform .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(15px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (min-width: 768px) {
  .site-header { flex-wrap: nowrap; gap: 2rem; padding-block: 0; }
  .site-nav { order: initial; width: auto; margin-inline: auto; gap: 2rem; }
  .site-nav a { min-height: 4.875rem; }
  .site-header > .button { margin-left: 0; }
  section { scroll-margin-top: 4.875rem; }
  .button { padding-inline: 1rem; }
  .phases { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
  .roadmap, .chart-section { padding-block: 7rem; }
  .chart-body { min-height: 26rem; }
  .chart-body iframe { height: 34rem; }
  .chart-footer { justify-content: space-between; padding-inline: 1.25rem; }
}
@media (min-width: 1024px) {
  .hero { min-height: calc(100svh - 4.875rem); grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); padding-block: 5rem; }
  .hero-art { justify-self: end; }
  .section-heading { grid-template-columns: .65fr 1.6fr 1fr; gap: 2rem; align-items: end; }
  .section-heading > p:last-child { max-width: 20rem; }
  .roadmap-line { margin-top: 4.5rem; }
  .chart-section { padding-top: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .toast, .js .reveal { transition: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Keep the empty state and live chart in the same reserved space. */
.chart-body{height:30rem}.chart-body iframe{height:100%;border:0}
[aria-disabled="true"]{opacity:.55;cursor:default}
@media(max-width:767px){.chart-body{height:26rem}}
[hidden]{display:none!important}
