:root {
  --navy: #050d28;
  --blue: #0756e7;
  --blue-bright: #1b75ff;
  --red: #ef2432;
  --red-dark: #9f071d;
  --gold: #f4ba43;
  --bone: #fff8e8;
  --ink: #020614;
  --line: rgba(255, 255, 255, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--bone);
  background: var(--navy);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 75% 22%, rgba(26, 89, 242, 0.28), transparent 34rem),
    linear-gradient(145deg, #071b50 0%, #050c27 48%, #070715 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  box-shadow: inset 0 0 140px rgba(0, 0, 0, 0.58);
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 15;
  pointer-events: none;
  opacity: 0.13;
  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='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.aurora {
  position: fixed;
  width: 46rem;
  height: 9rem;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.17;
  animation: drift 10s ease-in-out infinite alternate;
}
.aurora-one { top: 10%; left: -18rem; background: var(--red); }
.aurora-two { right: -16rem; bottom: 12%; background: var(--blue-bright); animation-delay: -4s; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--bone);
  border: 3px solid var(--ink);
  outline: 2px solid var(--bone);
  clip-path: polygon(12% 0, 88% 0, 100% 22%, 88% 86%, 50% 100%, 12% 86%, 0 22%);
  transform: rotate(-3deg);
}
.ticker-pill {
  padding: 9px 17px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  font: 800 .82rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .12em;
  color: var(--gold);
  background: rgba(0, 0, 0, .22);
}

main { position: relative; z-index: 2; }
.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(400px, 1.06fr);
  align-items: center;
  gap: 44px;
  padding: 70px 0 86px;
}
.hero-copy { position: relative; z-index: 4; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: #a9c9ff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
}
.eyebrow span {
  width: 42px;
  height: 4px;
  background: var(--red);
  box-shadow: 0 0 14px rgba(239, 36, 50, .75);
  transform: skewX(-24deg);
}
h1, h2, h3 { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-weight: 900; }
h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(4rem, 9vw, 8.7rem);
  line-height: .76;
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: var(--bone);
  text-shadow: 5px 5px 0 var(--ink), 9px 9px 0 rgba(11, 81, 231, .65);
  transform: skewY(-2deg);
}
h1 span { display: block; color: var(--red); text-shadow: 5px 5px 0 var(--ink), 9px 9px 0 rgba(255, 255, 255, .14); }
.hero-line { margin: 30px 0 32px; font-size: clamp(1rem, 2vw, 1.3rem); color: #dbe8ff; }
.hero-line strong { color: var(--gold); }

.action-grid { display: grid; grid-template-columns: 1fr .62fr; gap: 12px; max-width: 620px; }
.comic-button {
  min-height: 74px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 14px 22px;
  border: 3px solid var(--ink);
  outline: 2px solid rgba(255,255,255,.82);
  border-radius: 6px 16px 6px 16px;
  color: white;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  font: inherit;
  box-shadow: 7px 7px 0 var(--ink), 0 0 24px rgba(21, 91, 238, .24);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
  isolation: isolate;
}
.comic-button::before {
  content: "";
  position: absolute;
  inset: -30% 70% -30% -30%;
  transform: skewX(-25deg);
  background: rgba(255,255,255,.2);
  transition: inset .3s ease;
  z-index: -1;
}
.comic-button:hover, .comic-button:focus-visible { transform: translate(-2px, -3px) rotate(-1deg); filter: saturate(1.18); box-shadow: 10px 11px 0 var(--ink); }
.comic-button:hover::before { inset: -30% -30% -30% 70%; }
.comic-button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.pump-button { background: linear-gradient(135deg, #39e790, #0a9d66); color: #00180c; }
.x-button { background: linear-gradient(145deg, #f7f5ee, #babfd0); color: var(--ink); }
.ca-button { grid-column: 1 / -1; justify-content: flex-start; text-align: left; background: linear-gradient(120deg, #0b41b6, #082873); }
.button-kicker { font-size: .65rem; font-weight: 900; letter-spacing: .12em; opacity: .68; }
.button-label { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: 1.35rem; letter-spacing: .03em; }
.x-symbol { font-family: Arial Black, sans-serif; font-size: 2rem; line-height: 1; }
.ca-value { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 .92rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; color: white; }
.copy-state { padding: 9px 13px; border: 1px solid rgba(255,255,255,.4); border-radius: 4px 10px 4px 10px; font-size: .72rem; font-weight: 900; letter-spacing: .08em; background: rgba(0,0,0,.2); }
.ca-button.is-copied { background: linear-gradient(120deg, #158454, #0a5137); }

.hero-art { --tilt-x: 0deg; --tilt-y: 0deg; position: relative; perspective: 900px; transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transition: transform .18s ease-out; }
.impact-burst {
  position: absolute;
  inset: 3% -8% -5% -5%;
  opacity: .6;
  background: repeating-conic-gradient(from 200deg at 55% 52%, transparent 0 8deg, rgba(255,255,255,.12) 8deg 9deg, transparent 9deg 19deg);
  filter: blur(.2px);
  animation: pulse 4s ease-in-out infinite;
}
.character-frame {
  position: relative;
  border: 3px solid rgba(255,255,255,.88);
  border-radius: 46% 46% 12% 12% / 17% 17% 8% 8%;
  overflow: hidden;
  clip-path: polygon(8% 0, 92% 0, 100% 11%, 98% 89%, 83% 100%, 12% 97%, 0 84%, 2% 12%);
  box-shadow: 0 0 0 8px var(--ink), 28px 34px 0 rgba(239,36,50,.5), 0 0 70px rgba(31,107,255,.58);
  background: var(--ink);
}
.character-frame img { width: 100%; display: block; aspect-ratio: 1 / 1; object-fit: cover; transform: scale(1.015); transition: transform .5s ease; }
.hero-art:hover img { transform: scale(1.045); }
.hero-badge {
  position: absolute;
  right: -22px;
  bottom: 5%;
  width: 138px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(7deg);
  clip-path: polygon(50% 0, 61% 17%, 79% 7%, 83% 28%, 100% 31%, 89% 50%, 100% 66%, 80% 72%, 77% 94%, 59% 83%, 47% 100%, 37% 82%, 17% 92%, 17% 70%, 0 62%, 12% 46%, 2% 29%, 23% 25%, 25% 5%);
  background: var(--gold);
  color: var(--ink);
  filter: drop-shadow(7px 8px 0 var(--ink));
}
.hero-badge span { font-size: .58rem; font-weight: 900; letter-spacing: .08em; }
.hero-badge strong { max-width: 90px; font-family: Impact, sans-serif; font-size: 1.05rem; line-height: .95; }

.origin {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1.1fr .9fr;
  gap: 34px;
  align-items: center;
  padding: 92px 0 70px;
  border-top: 1px solid var(--line);
}
.origin-number { font-family: Impact, sans-serif; font-size: clamp(5rem, 11vw, 10rem); line-height: 1; color: rgba(255,255,255,.06); }
.section-label { margin: 0 0 12px; color: var(--gold); font-weight: 900; letter-spacing: .14em; font-size: .72rem; }
h2 { margin: 0; font-size: clamp(2.5rem, 5.4vw, 5rem); line-height: .92; letter-spacing: -.01em; }
h2 span { color: var(--red); }
.origin-copy { font-size: 1.04rem; line-height: 1.75; color: #bdc9e6; }

.power-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.power-grid article {
  min-height: 220px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  background: linear-gradient(145deg, rgba(12, 45, 123, .72), rgba(6, 12, 35, .82));
  clip-path: polygon(0 0, 92% 0, 100% 12%, 100% 100%, 8% 100%, 0 88%);
}
.power-grid article:nth-child(2) { background: linear-gradient(145deg, rgba(160,10,33,.75), rgba(49,5,18,.85)); }
.panel-index { color: var(--gold); font: 800 .72rem/1 ui-monospace, monospace; letter-spacing: .1em; }
h3 { margin: 50px 0 8px; font-size: 2rem; letter-spacing: .02em; }
.power-grid p { margin: 0; color: #cbd7ef; line-height: 1.6; }

footer {
  min-height: 128px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 34px max(20px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: rgba(1,4,14,.55);
  color: #8997b8;
  font-size: .84rem;
}
.footer-brand { color: white; font-family: Impact, sans-serif; font-size: 1.4rem; letter-spacing: .05em; }
.footer-brand span { color: var(--red); }

@keyframes drift { to { transform: translate3d(80px, 35px, 0) scale(1.08); } }
@keyframes pulse { 50% { opacity: .32; transform: scale(.97) rotate(1deg); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 52px; }
  .hero-copy { max-width: 720px; }
  .hero-art { width: min(640px, 94%); margin: 0 auto; }
  .origin { grid-template-columns: auto 1fr; }
  .origin-copy { grid-column: 2; margin-top: 0; }
}

@media (max-width: 650px) {
  .site-header, .hero, .origin, .power-grid { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 72px; }
  .brand { font-size: .88rem; }
  .brand-mark { width: 36px; height: 36px; }
  .hero { min-height: auto; padding: 48px 0 70px; gap: 60px; }
  .eyebrow { font-size: .67rem; letter-spacing: .11em; }
  h1 { font-size: clamp(4rem, 22vw, 6rem); }
  .hero-line { margin-top: 26px; }
  .action-grid { grid-template-columns: 1fr; }
  .ca-button { grid-column: auto; min-height: 92px; flex-wrap: wrap; }
  .ca-value { flex-basis: calc(100% - 96px); }
  .copy-state { margin-left: auto; }
  .hero-badge { right: -4px; width: 110px; }
  .origin { grid-template-columns: 1fr; gap: 14px; padding-top: 70px; }
  .origin-number { position: absolute; opacity: .55; }
  .origin > div:nth-child(2), .origin-copy { grid-column: 1; position: relative; z-index: 1; }
  .origin-copy { margin-top: 12px; }
  .power-grid { grid-template-columns: 1fr; margin-bottom: 70px; }
  .power-grid article { min-height: 180px; }
  h3 { margin-top: 34px; }
  footer { flex-direction: column; align-items: flex-start; }
}

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