:root {
  --bg: #090a09;
  --bg-soft: #111310;
  --panel: rgba(20, 23, 18, 0.76);
  --ink: #f5f2e9;
  --muted: #a7aa9f;
  --acid: #b9ff59;
  --acid-2: #87ffcf;
  --paper: #d6a064;
  --line: rgba(245, 242, 233, 0.14);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--acid); color: #0b0d09; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  z-index: 99;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  width: min(var(--max), calc(100% - 40px));
  margin: 18px auto 0;
  min-height: 66px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(9,10,9,.72);
  backdrop-filter: blur(18px);
  padding: 10px 12px 10px 16px;
  border-radius: 18px;
  position: sticky;
  top: 12px;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 850; letter-spacing: -.03em; }
.brand img { width: 34px; height: 34px; object-fit: cover; border-radius: 9px; border: 1px solid var(--line); }
.navlinks { display: flex; gap: 28px; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.navlinks a:hover { color: var(--ink); }
.mini-cta { justify-self: end; background: var(--acid); color: #0a0b0a; font-weight: 900; font-size: 12px; padding: 13px 16px; border-radius: 12px; letter-spacing: .06em; }

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 30px;
  padding: 72px 0 58px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow { color: var(--muted); font: 700 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .09em; text-transform: uppercase; display: flex; align-items: center; gap: 9px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 22px var(--acid); }
.hero h1 { margin: 22px 0 0; font-size: clamp(64px, 9vw, 132px); line-height: .78; letter-spacing: -.08em; font-weight: 950; }
.hero h1 span { color: var(--paper); -webkit-text-stroke: 1px rgba(255,255,255,.06); }
.ticker-name { margin: 25px 0 0; display: inline-block; font: 900 clamp(24px, 3vw, 42px)/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--acid); transform: rotate(-2deg); }
.lede { max-width: 660px; color: #c7c9c1; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; margin: 25px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.03);
  font: 850 12px/1 ui-sans-serif, sans-serif;
  letter-spacing: .07em;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.28); }
.btn-primary { background: var(--acid); color: #0b0d09; border-color: var(--acid); }
.btn-primary:hover { background: #cdfd8d; }
.btn-small { min-height: 42px; }

.ca-box {
  margin-top: 28px;
  border: 1px dashed rgba(185,255,89,.35);
  background: rgba(185,255,89,.035);
  min-height: 76px;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 14px 13px 16px;
  gap: 15px;
  max-width: 680px;
}
.ca-label { display: block; color: var(--muted); font-size: 10px; letter-spacing: .15em; font-weight: 900; margin-bottom: 7px; }
.ca-box code { font-size: 13px; color: var(--acid); overflow-wrap: anywhere; }
.ca-box button { border: 0; border-radius: 10px; padding: 11px 14px; font-weight: 900; cursor: pointer; background: #22261f; color: var(--ink); white-space: nowrap; }
.ca-box button:disabled { opacity: .38; cursor: not-allowed; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 610px; }
.hero-art img { width: min(650px, 105%); position: relative; z-index: 2; filter: drop-shadow(0 40px 80px rgba(0,0,0,.45)); animation: float 5.7s ease-in-out infinite; }
.halo { position: absolute; border-radius: 50%; filter: blur(2px); }
.halo-1 { width: 430px; height: 430px; background: radial-gradient(circle, rgba(185,255,89,.22), transparent 68%); animation: pulse 4s ease-in-out infinite; }
.halo-2 { width: 540px; height: 540px; border: 1px solid rgba(185,255,89,.13); box-shadow: inset 0 0 80px rgba(185,255,89,.035); }
.stamp { position: absolute; right: 2%; bottom: 8%; z-index: 3; color: var(--acid); border: 2px solid var(--acid); padding: 10px 12px; font: 900 11px/1.25 ui-monospace, monospace; letter-spacing: .08em; transform: rotate(8deg); background: rgba(9,10,9,.7); }

@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-16px) rotate(1deg); } }
@keyframes pulse { 0%,100% { transform: scale(.94); opacity: .65; } 50% { transform: scale(1.06); opacity: 1; } }

.marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--acid); color: #0b0d09; transform: rotate(-1deg) scale(1.015); }
.marquee-track { width: max-content; display: flex; gap: 36px; padding: 13px 0; animation: marquee 22s linear infinite; font: 950 14px/1 ui-monospace, monospace; letter-spacing: .08em; }
.marquee-track span::after { content: "✦"; margin-left: 36px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section-index { color: var(--muted); font: 750 11px/1 ui-monospace, monospace; letter-spacing: .14em; margin-bottom: 28px; }
.story { padding: 130px 0 120px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.story h2 { font-size: clamp(46px, 7vw, 88px); line-height: .9; letter-spacing: -.065em; margin: 0; }
.story-copy { max-width: 540px; }
.story-copy p { margin: 0 0 18px; font-size: clamp(19px, 2vw, 24px); line-height: 1.5; color: #d7d8d2; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.tags span { font: 850 11px/1 ui-monospace, monospace; border: 1px solid var(--line); border-radius: 999px; padding: 10px 12px; color: var(--acid); }

.chart-section { padding: 20px 0 110px; }
.chart-card { border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 100px rgba(0,0,0,.24); }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px 26px; border-bottom: 1px solid var(--line); }
.chart-head h2 { margin: 8px 0 0; font-size: 28px; letter-spacing: -.03em; }
.status { color: var(--muted); font: 800 10px/1 ui-monospace, monospace; letter-spacing: .14em; }
.status i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 14px var(--acid); margin-right: 8px; }
.chart-placeholder { height: 390px; position: relative; padding: 30px 24px 24px; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 58px 58px; }
.chart-placeholder svg { width: 100%; height: 100%; overflow: visible; }
.chart-placeholder .line { fill: none; stroke: var(--acid); stroke-width: 4; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 10px rgba(185,255,89,.4)); }
.chart-placeholder .area { fill: url(#fill); }
.chart-watermark { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); text-align: center; font: 800 12px/1.4 ui-monospace, monospace; letter-spacing: .08em; color: rgba(255,255,255,.52); background: rgba(9,10,9,.68); border: 1px solid var(--line); padding: 12px 14px; border-radius: 10px; backdrop-filter: blur(10px); }
.chart-watermark code { color: var(--acid); }
.axis-labels { position: absolute; left: 24px; right: 24px; bottom: 12px; display: flex; justify-content: space-between; color: #71756d; font: 800 9px/1 ui-monospace, monospace; letter-spacing: .12em; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-bottom: 120px; }
.info-card { min-height: 220px; border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; background: rgba(255,255,255,.025); }
.info-card > span { color: var(--muted); font: 800 10px/1 ui-monospace, monospace; }
.info-card h3 { margin: auto 0 10px; color: var(--muted); font: 800 11px/1 ui-monospace, monospace; letter-spacing: .14em; }
.info-card p { margin: 0; font-size: 26px; font-weight: 900; letter-spacing: -.035em; }
.accent-card { background: var(--paper); color: #15110d; border-color: transparent; transform: rotate(1.4deg); }
.accent-card h3, .accent-card > span { color: rgba(21,17,13,.65); }

.footer { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.footer-wordmark { font-size: clamp(44px, 9.8vw, 120px); font-weight: 950; letter-spacing: -.075em; line-height: .9; color: #1d201b; text-shadow: 0 1px rgba(255,255,255,.04); white-space: nowrap; overflow: hidden; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 36px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--acid); }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 18px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--bg); border-radius: 999px; padding: 10px 15px; font-weight: 900; font-size: 12px; transition: .2s ease; z-index: 200; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr auto; }
  .navlinks { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .hero-art { min-height: 480px; order: -1; }
  .hero-art img { width: min(610px, 92vw); }
  .story-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .section-shell, .topbar { width: min(100% - 22px, var(--max)); }
  .topbar { margin-top: 10px; top: 8px; min-height: 58px; border-radius: 15px; padding-left: 11px; }
  .brand span { display: none; }
  .mini-cta { font-size: 10px; padding: 12px; }
  .hero { padding: 38px 0 48px; min-height: auto; gap: 0; }
  .hero-art { min-height: 390px; }
  .stamp { right: 0; bottom: 3%; }
  .hero h1 { font-size: clamp(58px, 21vw, 92px); }
  .lede { font-size: 17px; }
  .btn { flex: 1 1 calc(50% - 10px); min-width: 142px; padding-inline: 12px; }
  .ca-box { align-items: flex-start; flex-direction: column; }
  .chart-head { align-items: flex-start; flex-direction: column; }
  .chart-placeholder { height: 320px; padding-inline: 14px; }
  .chart-watermark { width: calc(100% - 40px); }
  .story { padding: 95px 0 90px; }
  .cards { grid-template-columns: 1fr; padding-bottom: 80px; }
  .info-card { min-height: 170px; }
  .footer-wordmark { white-space: normal; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

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