:root {
  --ink: #07101d;
  --ink-lift: #0b1728;
  --sky: #a5dcff;
  --blue: #46b7ff;
  --blue-deep: #1775d4;
  --cream: #fff4e3;
  --cream-dim: #d7cfc4;
  --line: rgba(199, 226, 249, 0.18);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Syne", sans-serif;
  --mono: "DM Mono", monospace;
  --page: min(1160px, calc(100% - 80px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--cream);
  background: var(--ink);
  font-family: var(--sans);
}

a { color: inherit; text-decoration: none; }

button { font: inherit; }

.page-grain {
  position: fixed;
  z-index: 10;
  inset: 0;
  opacity: 0.25;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  z-index: -1;
  width: 700px;
  height: 700px;
  top: calc(var(--y, -400px) - 350px);
  left: calc(var(--x, -400px) - 350px);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(42, 141, 223, 0.12), transparent 66%);
  transition: top .25s ease-out, left .25s ease-out;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 82px;
  padding: 0 max(40px, calc((100% - 1160px) / 2));
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7, 16, 29, 0.92), rgba(7, 16, 29, 0.72));
  backdrop-filter: blur(16px);
}

.brand { width: 144px; height: 45px; display: flex; align-items: center; }
.brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; filter: brightness(1.45) contrast(1.05); }

.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); }
.main-nav a, .to-top {
  position: relative;
  color: var(--cream-dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  transition: color .25s ease;
}
.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--blue);
  transition: transform .25s ease;
}
.main-nav a:hover { color: var(--cream); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-buy {
  justify-self: end;
  display: inline-flex;
  gap: 15px;
  align-items: center;
  padding: 11px 14px 11px 18px;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .15em;
  transition: background .25s, transform .25s;
}
.header-buy svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.header-buy:hover { transform: translateY(-2px); background: var(--sky); }

.menu-toggle { display: none; }

.section { width: 100%; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  min-height: 100svh;
  padding: 145px max(40px, calc((100% - 1160px) / 2)) 78px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 42%, rgba(41, 116, 195, .23), transparent 42%),
    linear-gradient(145deg, #07101d 0%, #0c1a2b 100%);
}

.hero-grid-lines { position: absolute; inset: 0; opacity: .6; background-image: linear-gradient(90deg, transparent 0 49.94%, var(--line) 50%, transparent 50.07%), linear-gradient(0deg, transparent 0 49.94%, var(--line) 50%, transparent 50.07%); background-size: 25% 100%, 100% 34%; pointer-events: none; }
.hero-halo { position: absolute; width: min(70vw, 980px); aspect-ratio: 1; right: -10vw; top: 50%; border: 1px solid rgba(165, 220, 255, .12); border-radius: 50%; transform: translateY(-43%); box-shadow: 0 0 0 90px rgba(73, 162, 241, .025), 0 0 0 180px rgba(73, 162, 241, .02); }

.hero-copy { position: relative; z-index: 2; min-width: 0; align-self: center; max-width: 510px; padding-bottom: 26px; }
.eyebrow { display: flex; gap: 9px; align-items: center; margin: 0 0 22px; color: var(--sky); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; }
.eyebrow span { width: 22px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { margin-bottom: 22px; font-family: var(--serif); font-weight: 700; line-height: .88; letter-spacing: -.065em; }
h1 { font-size: clamp(60px, 8.3vw, 118px); }
h1 em, h2 em { color: var(--sky); font-weight: 700; }
.hero-blurb { max-width: 390px; margin-bottom: 31px; color: var(--cream-dim); font-size: 14px; line-height: 1.75; }

.hero-actions { display: grid; width: min(100%, 390px); }
.platform-link {
  display: grid;
  grid-template-columns: 23px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 49px;
  padding: 7px 13px;
  border-top: 1px solid var(--line);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  transition: padding .25s ease, color .25s ease, background .25s ease;
}
.platform-link:last-child { border-bottom: 1px solid var(--line); }
.platform-link img { width: 20px; height: 20px; object-fit: contain; }
.platform-x svg { width: 20px; height: 20px; fill: currentColor; }
.platform-link b { color: #66819c; font-size: 9px; font-weight: 400; }
.platform-link:hover { padding-left: 20px; color: var(--sky); background: rgba(109, 184, 239, .08); }
.platform-buy { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.platform-buy img { filter: none; }
.platform-buy:hover { color: var(--ink); background: var(--sky); }
.platform-buy b { color: var(--blue-deep); }

.hero-art { position: relative; z-index: 1; display: grid; place-items: center; min-height: 570px; }
.cat-image { position: relative; z-index: 2; width: min(92%, 600px); max-height: 70vh; object-fit: contain; object-position: center; filter: drop-shadow(0 24px 35px rgba(0,0,0,.34)); }
.orbit { position: absolute; z-index: 0; width: min(63vw, 650px); aspect-ratio: 1; border: 1px solid rgba(181, 226, 255, .28); border-radius: 50%; }
.orbit-one { transform: rotate(-14deg) scaleY(.56); }
.orbit-two { width: min(50vw, 520px); transform: rotate(68deg) scaleY(.56); border-color: rgba(70, 183, 255, .15); }
.hero-sticker { position: absolute; z-index: 3; color: var(--ink); background: var(--cream); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; box-shadow: 5px 5px 0 var(--blue); transform: rotate(-8deg); }
.sticker-top { top: 19%; right: 10%; padding: 12px 16px; }
.sticker-bottom { bottom: 13%; left: 7%; padding: 13px 15px; transform: rotate(5deg); }
.hero-tag { position: absolute; z-index: 3; right: 4%; bottom: 5%; display: flex; flex-direction: column; gap: 3px; margin: 0; color: var(--cream); font-family: var(--mono); font-size: 13px; letter-spacing: .1em; }
.hero-tag span { color: var(--sky); font-size: 9px; text-transform: uppercase; }

.scroll-cue { position: absolute; z-index: 3; bottom: 29px; left: max(40px, calc((100% - 1160px) / 2)); display: flex; gap: 13px; align-items: center; color: var(--cream-dim); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.scroll-cue i { position: relative; display: block; width: 47px; height: 1px; overflow: hidden; background: var(--line); }
.scroll-cue i::after { position: absolute; inset: 0; content: ""; background: var(--sky); animation: slide-line 2.1s ease-in-out infinite; }

.roadmap { position: relative; padding: 145px max(40px, calc((100% - 1160px) / 2)) 126px; overflow: hidden; background: var(--cream); color: var(--ink); }
.roadmap::before { position: absolute; top: -13vw; right: -7vw; width: 42vw; aspect-ratio: 1; border: 1px solid rgba(7, 16, 29, .12); border-radius: 50%; content: ""; box-shadow: 0 0 0 60px rgba(7, 16, 29, .025), 0 0 0 120px rgba(7, 16, 29, .025); }
.section-heading { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .72fr; column-gap: 110px; align-items: end; margin-bottom: 70px; }
.section-heading .eyebrow { grid-column: 1 / -1; color: var(--blue-deep); }
.section-heading h2 { margin: 0; font-size: clamp(55px, 7.2vw, 102px); }
.section-heading > p:last-child { max-width: 360px; margin: 0 0 5px; color: #526275; font-size: 14px; line-height: 1.75; }

.roadmap-list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(7, 16, 29, .18); }
.roadmap-card { position: relative; min-height: 365px; padding: 30px; overflow: hidden; border-right: 1px solid rgba(7, 16, 29, .18); background: var(--cream); transition: color .3s ease, background .3s ease, transform .3s ease; }
.roadmap-card:last-child { border: 0; }
.roadmap-card:hover { z-index: 2; color: var(--cream); background: var(--ink); transform: translateY(-9px); }
.phase { position: relative; z-index: 1; display: flex; justify-content: space-between; color: #54718e; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.phase span { color: var(--blue-deep); }
.roadmap-card h3 { position: relative; z-index: 1; max-width: 235px; margin: 87px 0 15px; font-family: var(--serif); font-size: 31px; line-height: .95; letter-spacing: -.05em; }
.roadmap-card > p:not(.phase) { position: relative; z-index: 1; max-width: 245px; margin: 0; color: #596878; font-size: 13px; line-height: 1.65; transition: color .3s ease; }
.roadmap-card:hover > p:not(.phase) { color: var(--cream-dim); }
.card-mark { position: absolute; right: -22px; bottom: -69px; color: #e7dfd3; font-family: var(--serif); font-size: 181px; font-style: italic; font-weight: 700; line-height: 1; transition: color .3s ease; }
.roadmap-card:hover .card-mark { color: #122943; }

.roadmap-aside { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; margin-top: 24px; padding: 27px 31px; color: var(--cream); background: var(--blue-deep); }
.roadmap-aside p { grid-column: 1; margin: 0; font-family: var(--mono); font-size: 9px; letter-spacing: .15em; }
.roadmap-aside strong { grid-column: 1; font-family: var(--serif); font-size: 23px; line-height: 1; letter-spacing: -.04em; }
.roadmap-aside span { grid-column: 2; grid-row: 1 / span 2; font-family: var(--serif); font-size: 56px; }

.chart { position: relative; padding: 145px max(40px, calc((100% - 1160px) / 2)) 130px; background: var(--ink); }
.chart::before { position: absolute; width: 300px; height: 300px; top: 15%; left: -140px; border-radius: 50%; content: ""; background: #0d315e; filter: blur(110px); opacity: .75; }
.chart-intro { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .72fr; column-gap: 110px; align-items: end; margin-bottom: 68px; }
.chart-intro .eyebrow { grid-column: 1 / -1; }
.chart-intro h2 { margin: 0; font-size: clamp(54px, 7.3vw, 102px); }
.chart-intro > p:last-child { max-width: 370px; margin: 0 0 4px; color: var(--cream-dim); font-size: 14px; line-height: 1.75; }
code { color: var(--sky); font-family: var(--mono); font-size: .85em; }

.chart-frame { position: relative; z-index: 1; border: 1px solid var(--line); background: #07111e; box-shadow: 20px 22px 0 rgba(25, 95, 159, .2); }
.chart-frame-head { display: flex; justify-content: space-between; align-items: center; min-height: 58px; padding: 0 19px; border-bottom: 1px solid var(--line); }
.chart-brand { display: flex; gap: 10px; align-items: center; color: var(--cream); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; }
.chart-brand img { width: 18px; height: 18px; border-radius: 4px; object-fit: contain; }
.chart-brand span { padding: 3px 5px; color: var(--sky); border: 1px solid rgba(165, 220, 255, .3); font-size: 8px; }
.chart-frame-head a { color: var(--sky); font-family: var(--mono); font-size: 9px; letter-spacing: .11em; }
.chart-frame-head a span { font-size: 14px; }
.chart-embed-wrap { display: grid; height: 620px; background: #07111e; }
.chart-embed-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }
.chart-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; margin: 0; color: var(--cream-dim); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; }

.site-footer { display: flex; justify-content: space-between; align-items: center; width: var(--page); min-height: 110px; margin: auto; border-top: 1px solid var(--line); color: #66819c; }
.footer-logo { display: flex; width: 115px; height: 41px; align-items: center; }
.footer-logo img { width: 100%; height: 100%; object-fit: contain; object-position: left center; opacity: .75; }
.site-footer p { margin: 0; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.to-top:hover { color: var(--sky); }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.roadmap-card[data-reveal]:nth-child(2) { transition-delay: .12s; }
.roadmap-card[data-reveal]:nth-child(3) { transition-delay: .24s; }

@keyframes slide-line { 0% { transform: translateX(-110%); } 52%, 100% { transform: translateX(110%); } }

@media (max-width: 820px) {
  :root { --page: min(calc(100% - 40px), 1160px); }
  .site-header { grid-template-columns: 1fr auto; min-height: 70px; padding: 0 20px; }
  .brand { width: 125px; height: 38px; }
  .header-buy { display: none; }
  .menu-toggle { position: absolute; z-index: 2; top: 13px; right: 0; display: grid; gap: 6px; width: 40px; padding: 9px 0 9px 13px; border: 0; color: var(--cream); background: none; cursor: pointer; }
  .menu-toggle span { display: block; width: 27px; height: 2px; background: currentColor; transition: transform .25s ease; }
  .menu-toggle.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: absolute; top: 69px; right: 0; left: 0; display: grid; gap: 0; max-height: 0; overflow: hidden; border-bottom: 0 solid var(--line); background: rgba(7, 16, 29, .97); transition: max-height .35s ease, border .35s ease; }
  .main-nav.is-open { max-height: 180px; border-bottom-width: 1px; }
  .main-nav a { padding: 17px 0; border-top: 1px solid var(--line); text-align: center; }
  .main-nav a::after { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 121px 20px 55px; }
  .hero-copy { max-width: 500px; padding: 0; }
  h1 { font-size: clamp(46px, 12.4vw, 64px); letter-spacing: -.075em; }
  .hero-blurb { margin-bottom: 25px; }
  .hero-actions { width: 100%; }
  .hero-art { min-height: 425px; margin-top: 5px; }
  .cat-image { width: min(100%, 490px); max-height: 490px; }
  .orbit { width: min(104vw, 570px); }
  .sticker-top { top: 13%; right: 4%; }
  .sticker-bottom { bottom: 9%; left: 0; }
  .hero-tag { right: 2%; bottom: 0; }
  .scroll-cue { display: none; }
  .roadmap, .chart { padding: 95px 20px; }
  .section-heading, .chart-intro { display: block; margin-bottom: 44px; }
  .section-heading .eyebrow, .chart-intro .eyebrow { margin-bottom: 18px; }
  .section-heading h2, .chart-intro h2 { margin-bottom: 25px; font-size: clamp(54px, 15.8vw, 83px); }
  .section-heading > p:last-child, .chart-intro > p:last-child { margin: 0; }
  .roadmap-list { grid-template-columns: 1fr; }
  .roadmap-card { min-height: 275px; border-right: 0; border-bottom: 1px solid rgba(7, 16, 29, .18); }
  .roadmap-card:last-child { border-bottom: 0; }
  .roadmap-card h3 { margin-top: 55px; }
  .card-mark { font-size: 142px; bottom: -54px; }
  .roadmap-aside { padding: 24px; }
  .chart-frame { box-shadow: 10px 12px 0 rgba(25, 95, 159, .2); }
  .chart-frame-head { padding: 0 13px; }
  .chart-brand { gap: 7px; font-size: 8px; }
  .chart-frame-head a { font-size: 8px; }
  .chart-embed-wrap { height: 500px; }
  .site-footer { flex-wrap: wrap; gap: 20px; min-height: 145px; padding: 30px 0; }
  .site-footer p { order: 3; width: 100%; font-size: 8px; }
}

@media (max-width: 390px) {
  .hero { padding-top: 110px; }
  h1 { font-size: 44px; }
  .hero-art { min-height: 380px; }
  .sticker-top { font-size: 8px; }
  .sticker-bottom { font-size: 8px; }
  .roadmap-aside strong { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

[hidden] { display: none !important; }
