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

:root {
  --ink: #070917;
  --ink-soft: #0d1226;
  --ink-card: #111832;
  --paper: #f1f0e8;
  --muted: #9ba2c0;
  --line: rgba(178, 194, 244, .2);
  --orange: #ff7b27;
  --orange-hot: #ffb22e;
  --blue: #4c89ff;
  --cyan: #63eaff;
  --violet: #a97cff;
  --header-height: 76px;
  --gutter: clamp(20px, 4vw, 64px);
  --display: 'Barlow Condensed', Impact, sans-serif;
  --body: 'Chakra Petch', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  overflow-x: clip;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  line-height: 1.55;
  overflow-x: clip;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .09;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(100% - (var(--gutter) * 2), 1400px); margin-inline: auto; }
.section-shell { position: relative; isolation: isolate; }

/* Header */
.site-header {
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(160, 179, 244, .17);
  background: rgba(7, 9, 23, .84);
  backdrop-filter: blur(18px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-icon { width: 45px; height: 45px; object-fit: cover; border-radius: 50%; border: 2px solid var(--orange); box-shadow: 0 0 18px rgba(255, 123, 39, .3); }
.brand-wordmark, .footer-brand span { color: var(--paper); font: 800 19px/1 var(--display); letter-spacing: .06em; }
.brand-wordmark small, .footer-brand small { display: block; color: var(--orange); font: 700 9px/1.4 var(--body); letter-spacing: .18em; }
.site-nav { display: flex; align-items: stretch; gap: 4px; margin-left: auto; height: 100%; }
.site-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; color: var(--muted); font: 600 12px var(--body); letter-spacing: .1em; text-transform: uppercase; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s, background .2s; }
.site-nav a:first-child, .site-nav a:hover, .site-nav a:focus-visible { color: var(--paper); border-color: var(--orange); background: rgba(255, 123, 39, .07); }
.site-nav a::first-letter { color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.header-buy { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 8px; border: 1px solid var(--orange); border-radius: 4px; color: #130b08; background: var(--orange); cursor: pointer; font: 800 12px var(--body); letter-spacing: .1em; transition: transform .2s, box-shadow .2s, background .2s; }
.header-buy img { width: 27px; height: 27px; object-fit: contain; }
.header-buy:hover, .header-buy:focus-visible { background: var(--orange-hot); box-shadow: 0 0 22px rgba(255, 123, 39, .42); transform: translateY(-2px); }
.header-buy-ticker { font-size: 10px; opacity: .68; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; background: transparent; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--paper); }

/* Hero */
.hero { min-height: calc(100svh - var(--header-height)); display: grid; align-items: center; padding: clamp(55px, 8vw, 120px) 0 80px; overflow: clip; background: radial-gradient(circle at 76% 38%, rgba(59, 86, 190, .26), transparent 30%), radial-gradient(circle at 12% 52%, rgba(255, 113, 28, .09), transparent 27%), var(--ink); }
.hero::before, .hero::after { content: ''; position: absolute; pointer-events: none; border: 1px solid rgba(89, 150, 255, .12); border-radius: 50%; }
.hero::before { width: min(70vw, 920px); height: min(70vw, 920px); right: -22vw; top: 2%; }
.hero::after { width: min(46vw, 620px); height: min(46vw, 620px); right: -9vw; top: 16%; border-color: rgba(255, 126, 40, .14); }
.hero-glow { position: absolute; width: 50vw; height: 50vw; right: 10%; top: 10%; background: radial-gradient(circle, rgba(68, 103, 250, .18), transparent 67%); filter: blur(30px); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); align-items: center; gap: clamp(40px, 7vw, 120px); position: relative; z-index: 1; }
.hero-copy { max-width: 610px; }
.eyebrow, .section-kicker { margin: 0 0 15px; color: var(--orange); font: 700 12px var(--body); letter-spacing: .19em; }
.status-dot, .ticker-pulse { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; }
h1 { max-width: 700px; margin-bottom: 21px; color: var(--paper); font-size: clamp(72px, 10vw, 160px); font-weight: 900; line-height: .79; letter-spacing: -.025em; }
h1 span { display: block; color: transparent; -webkit-text-stroke: 2px var(--orange); text-shadow: 7px 7px 0 rgba(76, 137, 255, .24); }
h1 small { display: block; margin-top: 16px; color: var(--cyan); font-size: clamp(18px, 2.4vw, 34px); letter-spacing: .21em; line-height: 1; }
.hero-lead { max-width: 520px; margin-bottom: 22px; color: #bdc4df; font-size: clamp(14px, 1.25vw, 18px); }
.hero-facts { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; margin-bottom: 31px; }
.ticker-pill { display: inline-flex; align-items: center; padding: 6px 12px; color: var(--paper); border: 1px solid rgba(255, 123, 39, .65); background: rgba(255, 123, 39, .09); font: 700 13px var(--body); letter-spacing: .1em; }
.hero-fact-line { color: var(--muted); font: 600 11px var(--body); letter-spacing: .12em; }
.hero-fact-line span { color: var(--orange); font-size: 17px; }
.action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 570px; }
.action-button { min-height: 62px; display: flex; align-items: center; gap: 11px; padding: 10px 12px; position: relative; overflow: hidden; border: 1px solid rgba(158, 178, 240, .33); border-radius: 3px; color: var(--paper); background: rgba(18, 26, 55, .76); cursor: pointer; font: 700 11px var(--body); letter-spacing: .08em; text-align: left; transition: color .2s, border-color .2s, transform .2s, background .2s; }
.action-button::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--blue); }
.action-button img, .action-button .x-icon { flex: 0 0 auto; width: 34px; height: 34px; padding: 6px; border-radius: 50%; object-fit: contain; background: rgba(255,255,255,.08); fill: currentColor; }
.action-button .action-arrow { margin-left: auto; color: var(--orange); font-size: 18px; }
.action-button:hover, .action-button:focus-visible { border-color: var(--cyan); background: rgba(44, 68, 134, .45); transform: translateY(-3px); }
.action-button-primary { border-color: var(--orange); background: linear-gradient(110deg, var(--orange), #e34c26); color: #170b06; }
.action-button-primary::before { background: #fff2bb; }
.action-button-primary:hover, .action-button-primary:focus-visible { border-color: var(--orange-hot); background: linear-gradient(110deg, var(--orange-hot), var(--orange)); }
.hero-visual { min-width: 0; position: relative; display: grid; place-items: center; }
.character-frame { width: min(100%, 610px); aspect-ratio: 1; margin: 0; position: relative; overflow: hidden; border: 1px solid rgba(136, 186, 255, .62); background: #111a3a; box-shadow: 0 0 0 8px rgba(75, 131, 255, .07), 0 22px 75px rgba(0,0,0,.42), 0 0 70px rgba(64, 116, 255, .21); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
.character-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 30%, transparent 68%, rgba(255, 123, 39, .17)); pointer-events: none; mix-blend-mode: screen; }
.character-frame > img { width: 100%; height: 100%; object-fit: cover; }
.frame-top, .frame-bottom { position: absolute; left: 17px; right: 17px; z-index: 1; display: flex; align-items: center; justify-content: space-between; color: #e0e4ff; text-shadow: 0 2px 5px #090b22; font: 600 10px var(--body); letter-spacing: .13em; }
.frame-top { top: 14px; }
.frame-bottom { bottom: 14px; }
.frame-cross { color: var(--orange); font-size: 17px; }
.visual-orbit { position: absolute; border: 1px solid rgba(100, 211, 255, .32); border-radius: 50%; pointer-events: none; transform: rotate(-25deg); }
.visual-orbit-one { inset: -8% -8%; }
.visual-orbit-two { inset: 5% -15%; border-color: rgba(173, 116, 255, .28); transform: rotate(33deg); }
.visual-stamp { position: absolute; right: -24px; top: 12%; padding: 10px 9px; color: var(--ink); background: var(--orange-hot); font: 900 12px/1 var(--display); letter-spacing: .04em; transform: rotate(8deg); box-shadow: 6px 7px 0 rgba(8, 11, 30, .8); }
.visual-stamp span { display: block; margin-top: 3px; color: #fff1b0; text-align: right; }
.hero-scroll { position: absolute; bottom: 23px; left: max(var(--gutter), calc((100vw - 1400px) / 2)); color: #7780a1; font: 600 10px var(--body); letter-spacing: .16em; }
.hero-scroll span { display: inline-block; width: 28px; height: 1px; margin-right: 8px; vertical-align: middle; background: var(--orange); }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid rgba(255, 123, 39, .26); color: var(--orange); background: #10162e; white-space: nowrap; }
.marquee-track { width: max-content; padding: 13px 0; animation: ticker 28s linear infinite; font: 800 17px var(--display); letter-spacing: .16em; }
.marquee-track span { margin: 0 35px; color: var(--cyan); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Roadmap */
.roadmap { padding: clamp(80px, 11vw, 160px) 0; background: radial-gradient(circle at 90% 58%, rgba(92, 59, 181, .17), transparent 26%), linear-gradient(180deg, #0b1025, #0b1022); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 42px; }
.section-heading > p { max-width: 405px; margin-bottom: 3px; color: var(--muted); font-size: 14px; }
h2 { margin-bottom: 0; font-size: clamp(55px, 7vw, 108px); line-height: .82; letter-spacing: -.02em; }
h2 span { color: var(--orange); }
.roadmap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.roadmap-card { min-height: 330px; display: flex; flex-direction: column; padding: 21px 20px 18px; position: relative; overflow: hidden; border: 1px solid rgba(124, 154, 241, .28); background: linear-gradient(150deg, rgba(29, 41, 85, .9), rgba(12, 17, 38, .95)); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); transition: border-color .25s, transform .25s; }
.roadmap-card::after { content: ''; position: absolute; width: 100px; height: 100px; top: -41px; right: -29px; border: 1px solid rgba(98, 228, 255, .16); border-radius: 50%; }
.roadmap-card:hover { border-color: var(--orange); transform: translateY(-6px); }
.card-head { display: flex; align-items: center; justify-content: space-between; color: var(--orange); font: 700 10px var(--body); letter-spacing: .14em; }
.card-spark { color: var(--cyan); font-size: 20px; }
.card-number { margin-top: 30px; color: rgba(120, 165, 255, .21); font: 900 66px/.8 var(--display); }
.roadmap-card h3 { margin: 22px 0 12px; color: var(--paper); font-size: 28px; line-height: 1; }
.roadmap-card p { margin: 0; color: #aeb6d2; font-size: 13px; line-height: 1.62; }
.card-bottom { display: flex; justify-content: space-between; margin-top: auto; padding-top: 24px; color: var(--cyan); font: 700 10px var(--body); letter-spacing: .11em; }
.card-bottom span { color: var(--orange); font-size: 17px; line-height: .6; }

/* Chart */
.chart-section { padding: clamp(80px, 10vw, 140px) 0 clamp(90px, 12vw, 170px); background: radial-gradient(circle at 10% 55%, rgba(61, 109, 255, .12), transparent 28%), #080c1e; }
.chart-heading { margin-bottom: 32px; }
.chart-window { overflow: hidden; border: 1px solid rgba(124, 172, 255, .45); background: #0b1128; box-shadow: 0 17px 55px rgba(0, 0, 0, .32); }
.chart-toolbar { min-height: 54px; display: flex; align-items: center; gap: 18px; padding: 9px 16px; border-bottom: 1px solid var(--line); color: #aeb7d8; font: 600 11px var(--body); letter-spacing: .11em; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; display: block; border-radius: 50%; background: var(--orange); }
.window-dots i:nth-child(2) { background: var(--orange-hot); }
.window-dots i:nth-child(3) { background: var(--cyan); }
.toolbar-separator { margin-inline: 6px; color: var(--orange); }
.chart-external { min-height: 38px; display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 5px 11px; border: 1px solid var(--blue); background: rgba(76, 137, 255, .11); color: var(--paper); cursor: pointer; font: 700 10px var(--body); letter-spacing: .08em; }
.chart-external img { width: 21px; height: 21px; }
.chart-external span { color: var(--cyan); font-size: 16px; }
.chart-content { min-height: 470px; position: relative; }
#dex-frame { width: 100%; height: 470px; border: 0; background: #0b1128; }
#dex-frame[hidden], [hidden] { display: none !important; }
.chart-empty { min-height: 470px; display: grid; place-items: center; position: relative; overflow: hidden; background: linear-gradient(155deg, rgba(28, 52, 112, .39), rgba(8, 12, 29, .92)); }
.chart-grid { position: absolute; inset: 0; opacity: .34; background-image: linear-gradient(rgba(111, 145, 218, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(111, 145, 218, .18) 1px, transparent 1px); background-size: 9.09% 20%; }
.chart-line { position: absolute; inset: 16% 4% auto; width: 92%; height: 60%; opacity: .65; filter: drop-shadow(0 0 10px rgba(81, 208, 255, .7)); }
.empty-message { max-width: 390px; position: relative; padding: 35px 20px; text-align: center; }
.empty-icon { display: block; margin-bottom: 7px; color: var(--orange); font-size: 25px; }
.empty-eyebrow { display: block; color: var(--cyan); font: 700 10px var(--body); letter-spacing: .16em; }
.empty-message strong { display: block; margin: 5px 0 9px; color: var(--paper); font: 900 34px/1 var(--display); }
.empty-message p { margin: 0; color: var(--muted); font-size: 13px; }
.chart-note { margin: 15px 0 0; color: #697696; font-size: 11px; letter-spacing: .06em; }
.chart-note span { color: var(--orange); }

/* Footer and feedback */
.site-footer { border-top: 1px solid var(--line); background: #070a18; color: #78819f; font-size: 11px; }
.footer-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 9px; color: var(--paper); }
.footer-brand img { width: 37px; height: 37px; border-radius: 50%; }
.footer-brand span { font-size: 15px; }
.footer-brand small { font-size: 7px; }
.site-footer a { color: var(--orange); font: 700 10px var(--body); letter-spacing: .1em; }
.toast { visibility: hidden; opacity: 0; transform: translateY(15px); position: fixed; left: 50%; bottom: 24px; z-index: 80; max-width: min(90vw, 440px); padding: 13px 17px; border: 1px solid var(--cyan); border-radius: 4px; color: var(--paper); background: #101a38; box-shadow: 0 10px 30px rgba(0,0,0,.35); font-size: 13px; text-align: center; transition: opacity .25s, transform .25s, visibility .25s; pointer-events: none; }
.toast.is-visible { visibility: visible; opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1040px) {
  :root { --header-height: 70px; }
  .hero-grid { grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr); gap: 42px; }
  h1 { font-size: clamp(64px, 10vw, 118px); }
  .roadmap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap-card { min-height: 290px; }
}

@media (max-width: 760px) {
  .header-inner { gap: 12px; }
  .brand-wordmark { font-size: 16px; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; height: auto; flex-direction: column; padding: 9px var(--gutter) 13px; border-bottom: 1px solid var(--line); background: rgba(7, 9, 23, .98); }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 44px; border: 0; border-left: 2px solid transparent; }
  .site-nav a:first-child, .site-nav a:hover, .site-nav a:focus-visible { border-left-color: var(--orange); }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .header-buy { padding-right: 9px; }
  .header-buy-ticker { display: none; }
  .hero { padding-top: 58px; padding-bottom: 74px; }
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-copy { max-width: 600px; }
  h1 { font-size: clamp(70px, 19vw, 125px); }
  .hero-visual { width: min(100%, 590px); margin-inline: auto; }
  .visual-stamp { right: -5px; }
  .hero-scroll { display: none; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 29px; }
  .section-heading > p { max-width: 520px; }
  h2 { font-size: clamp(59px, 15vw, 96px); }
  .chart-toolbar { gap: 10px; font-size: 9px; }
  .chart-external { padding-inline: 8px; }
  .chart-external span { display: none; }
  .footer-inner { padding-block: 20px; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 32px, 1400px); }
  :root { --gutter: 16px; }
  .brand-icon { width: 38px; height: 38px; }
  .brand-wordmark { font-size: 14px; }
  .brand-wordmark small { font-size: 7px; }
  .header-buy span:first-of-type { display: none; }
  .header-buy { width: 44px; justify-content: center; padding: 6px; }
  .header-buy img { width: 30px; height: 30px; }
  .action-grid { grid-template-columns: 1fr; }
  .action-button { min-height: 58px; }
  .character-frame { width: calc(100% - 13px); }
  .visual-stamp { right: -1px; top: 9%; font-size: 10px; }
  .roadmap-grid { grid-template-columns: 1fr; gap: 12px; }
  .roadmap-card { min-height: 275px; }
  .chart-content, .chart-empty, #dex-frame { min-height: 390px; height: 390px; }
  .empty-message strong { font-size: 29px; }
  .footer-inner > :nth-child(2) { width: 100%; order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
[hidden] { display: none !important; }
