/* ============================================================
   $RUN — styles
   ============================================================ */
:root {
  --bg: #06050a;
  --bg-2: #0b0912;
  --panel: rgba(16, 12, 26, .82);
  --line: rgba(255, 255, 255, .09);
  --text: #ece9f5;
  --muted: #8d88a3;
  --yellow: #fcee0a;
  --cyan: #02d7f2;
  --pink: #ff2a6d;
  --orange: #ff6b1a;
  --violet: #7b2cff;
  --font-display: "Dela Gothic One", "Chakra Petch", system-ui, sans-serif;
  --font-head: "Chakra Petch", system-ui, sans-serif;
  --font-mono: "Share Tech Mono", ui-monospace, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1400px;
  --cut: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

html.overdrive {
  --yellow: #ff2a6d;
  --pink: #fcee0a;
  --cyan: #b6ff00;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-head);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
::selection { background: var(--yellow); color: #000; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg, canvas { display: block; }
code { font-family: var(--font-mono); }
mark { background: var(--yellow); color: #000; padding: 0 .25em; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.c-yellow { color: var(--yellow); }
.c-cyan { color: var(--cyan); }
.c-pink { color: var(--pink); }
.c-muted { color: var(--muted); }

html.has-cursor, html.has-cursor * { cursor: none !important; }

/* ============ GLOBAL FX ============ */
.fx-scanlines, .fx-noise, .fx-speed, .fx-flash { position: fixed; inset: 0; pointer-events: none; }
.fx-scanlines {
  z-index: 90;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0) 0 2px, rgba(0, 0, 0, .22) 2px 3px);
  mix-blend-mode: multiply;
  opacity: .55;
}
.fx-noise {
  z-index: 91;
  inset: -50%;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%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)'/%3E%3C/svg%3E");
  animation: noise 1s steps(6) infinite;
}
@keyframes noise {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-8%, 4%); }
  40% { transform: translate(6%, -6%); }
  60% { transform: translate(-4%, 8%); }
  80% { transform: translate(8%, 2%); }
  100% { transform: translate(0, 0); }
}
.fx-speed {
  z-index: 89;
  inset: -30%;
  opacity: 0;
  background: repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg 3deg, rgba(255, 255, 255, .6) 3deg 3.35deg, transparent 3.35deg 7deg);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 32%, #000 70%);
  mask-image: radial-gradient(circle at 50% 50%, transparent 32%, #000 70%);
  will-change: opacity, transform;
}
.fx-flash { z-index: 95; background: #fff; opacity: 0; }
.fx-flash.is-on { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }

.progress {
  position: fixed; top: 0; left: 0; z-index: 70;
  height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--pink), var(--yellow));
  transform-origin: 0 50%; transform: scaleX(0);
  box-shadow: 0 0 12px var(--yellow);
}

/* sparks on click */
.spark {
  position: fixed; z-index: 99; width: 9px; height: 2px; pointer-events: none;
  transform: translate(-50%, -50%) rotate(var(--r));
  animation: spark .55s var(--ease) forwards;
}
@keyframes spark {
  to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--r)) scaleX(.2); opacity: 0; }
}

/* ============ CURSOR ============ */
.cursor { display: none; }
html.has-cursor .cursor { display: block; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0; transition: opacity .3s; }
html.has-cursor .cursor.is-visible { opacity: 1; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; will-change: transform; }
.cursor__dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--yellow);
  box-shadow: 0 0 10px var(--yellow);
}
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  display: grid; place-items: center;
}
.cursor__ring::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(252, 238, 10, .7);
  clip-path: polygon(0 0, 30% 0, 30% 2px, 2px 2px, 2px 30%, 0 30%, 0 0, 100% 0, 100% 30%, calc(100% - 2px) 30%, calc(100% - 2px) 2px, 70% 2px, 70% 0, 100% 0, 100% 100%, 70% 100%, 70% calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) 70%, 100% 70%, 100% 100%, 0 100%, 0 70%, 2px 70%, 2px calc(100% - 2px), 30% calc(100% - 2px), 30% 100%, 0 100%);
  transition: transform .35s var(--ease), border-color .3s;
}
.cursor.is-hover .cursor__ring::before { transform: scale(1.6) rotate(45deg); border-color: var(--cyan); }
.cursor.is-down .cursor__ring::before { transform: scale(.7); }
.cursor__label {
  position: absolute; left: 34px; top: 30px; white-space: nowrap;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em;
  color: #000; background: var(--yellow); padding: 2px 6px;
  opacity: 0; transform: translateX(-6px); transition: .25s var(--ease);
}
.cursor.has-label .cursor__label { opacity: 1; transform: none; }

/* ============ GLITCH ============ */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  pointer-events: none;
  text-shadow: none;
  clip-path: inset(100% 0 0 0);
}
.glitch::before { color: var(--cyan); animation: glitchA 3.4s infinite steps(1); }
.glitch::after { color: var(--pink); animation: glitchB 2.9s infinite steps(1); }
.glitch.is-burst::before { animation-duration: .5s; }
.glitch.is-burst::after { animation-duration: .45s; }
@keyframes glitchA {
  0% { clip-path: inset(12% 0 70% 0); transform: translate(-.05em, -.01em); }
  3% { clip-path: inset(62% 0 14% 0); transform: translate(.04em, .01em); }
  6% { clip-path: inset(38% 0 44% 0); transform: translate(-.03em, 0); }
  9%, 100% { clip-path: inset(100% 0 0 0); transform: none; }
}
@keyframes glitchB {
  0% { clip-path: inset(70% 0 8% 0); transform: translate(.05em, .01em); }
  4% { clip-path: inset(20% 0 64% 0); transform: translate(-.04em, -.01em); }
  8% { clip-path: inset(48% 0 30% 0); transform: translate(.03em, 0); }
  11%, 100% { clip-path: inset(100% 0 0 0); transform: none; }
}

/* ============ BUTTONS ============ */
.btn {
  --bg: var(--yellow); --fg: #06050a;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 26px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg); background: var(--bg);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: color .25s, background .25s, transform .3s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateX(130%); }
.btn:hover { animation: btnGlitch .28s steps(2) 1; }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
@keyframes btnGlitch {
  0% { text-shadow: 2px 0 var(--pink), -2px 0 var(--cyan); }
  50% { text-shadow: -2px 0 var(--pink), 2px 0 var(--cyan); }
  100% { text-shadow: none; }
}
.btn--ghost { --bg: var(--cyan); --fg: var(--cyan); }
.btn--ghost::after {
  content: ""; position: absolute; inset: 1px; z-index: -1;
  background: #08070e;
  clip-path: polygon(0 0, calc(100% - var(--cut) + .6px) 0, 100% calc(var(--cut) - .6px), 100% 100%, calc(var(--cut) - .6px) 100%, 0 calc(100% - var(--cut) + .6px));
  transition: background .25s;
}
.btn--ghost:hover { --fg: #06050a; }
.btn--ghost:hover::after { background: transparent; }
.btn--sm { padding: 10px 16px; font-size: 12px; --cut: 9px; }
.btn--lg { padding: 19px 32px; font-size: 16px; }
.btn--xl { padding: 22px 34px; font-size: 18px; width: 100%; }

/* ============ LOADER ============ */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.loader__slices { position: absolute; inset: 0; display: flex; flex-direction: column; }
.loader__slices i { flex: 1; background: var(--bg); transition: transform .7s var(--ease-io); }
.loader.is-done .loader__slices i:nth-child(odd) { transform: translateX(-101%); }
.loader.is-done .loader__slices i:nth-child(even) { transform: translateX(101%); }
.loader.is-done .loader__slices i:nth-child(1) { transition-delay: .05s; }
.loader.is-done .loader__slices i:nth-child(2) { transition-delay: .1s; }
.loader.is-done .loader__slices i:nth-child(3) { transition-delay: .15s; }
.loader.is-done .loader__slices i:nth-child(4) { transition-delay: .2s; }
.loader.is-done .loader__slices i:nth-child(5) { transition-delay: .25s; }
.loader.is-done .loader__slices i:nth-child(6) { transition-delay: .3s; }
.loader__inner { position: relative; width: min(560px, calc(100vw - 32px)); font-family: var(--font-mono); color: var(--muted); }
.loader.is-done .loader__inner { animation: loaderOut .35s steps(3) forwards; }
@keyframes loaderOut { 50% { transform: translateX(10px) skewX(-10deg); opacity: .6; } 100% { opacity: 0; transform: scaleY(.02); } }
.loader__logo {
  font-family: var(--font-display); font-size: clamp(64px, 16vw, 120px); line-height: 1;
  color: var(--yellow); transform: skewX(-8deg); margin-bottom: 18px;
  text-shadow: 0 0 30px rgba(252, 238, 10, .4);
}
.loader__log { margin: 0 0 18px; min-height: 9.5em; font-size: 13px; line-height: 1.55; white-space: pre-wrap; font-family: var(--font-mono); }
.loader__log span { display: block; }
.loader__log i { font-style: normal; opacity: .35; }
.loader__log b { color: var(--cyan); font-weight: 400; }
.loader__bar { height: 3px; background: rgba(255, 255, 255, .08); }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--yellow); box-shadow: 0 0 14px var(--yellow); transition: width .25s; }
.loader__meta { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; letter-spacing: .2em; }
.loader__meta b { color: var(--yellow); font-weight: 400; }
.loader__skip { animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--gutter);
  transition: transform .45s var(--ease), background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(6, 5, 10, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: flex; align-items: baseline; gap: 8px; }
.nav__mark { font-family: var(--font-display); font-size: 26px; color: var(--yellow); transform: skewX(-8deg); line-height: 1; }
.nav__jp { font-size: 12px; color: var(--pink); letter-spacing: .2em; }
.nav__links { display: flex; gap: clamp(10px, 1.6vw, 26px); }
.nav__links a {
  position: relative; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: color .25s; padding: 6px 0;
}
.nav__links a i { font-style: normal; font-family: var(--font-mono); font-size: 10px; color: var(--yellow); margin-right: 5px; opacity: .7; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.sfx { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em; color: var(--muted); transition: color .2s, border-color .2s; }
.sfx em { font-style: normal; }
.sfx__bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.sfx__bars i { width: 2px; height: 3px; background: currentColor; }
.sfx[aria-pressed="true"] { color: var(--yellow); border-color: rgba(252, 238, 10, .4); }
.sfx[aria-pressed="true"] .sfx__bars i { animation: eq .8s ease-in-out infinite alternate; }
.sfx__bars i:nth-child(2) { animation-delay: -.3s !important; }
.sfx__bars i:nth-child(3) { animation-delay: -.6s !important; }
.sfx__bars i:nth-child(4) { animation-delay: -.15s !important; }
@keyframes eq { from { height: 2px; } to { height: 12px; } }
.nav__burger { display: none; width: 40px; height: 40px; position: relative; border: 1px solid var(--line); }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--yellow); transition: transform .3s var(--ease), top .3s; }
.nav__burger span:first-child { top: 15px; }
.nav__burger span:last-child { top: 23px; }
.nav.is-open .nav__burger span:first-child { top: 19px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 19px; transform: rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; display: flex; align-items: center; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
html.overdrive .hero__canvas { filter: hue-rotate(-70deg) saturate(1.4); }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 5, 10, .82) 0%, rgba(6, 5, 10, .35) 45%, transparent 70%),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%);
}
.hud { position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 2px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; color: var(--muted); padding: 10px 14px; }
.hud b { color: var(--text); font-weight: 400; }
.hud::before { content: ""; position: absolute; width: 12px; height: 12px; border: 1px solid var(--yellow); }
.hud--tl { top: 86px; left: var(--gutter); }
.hud--tl::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud--tr { top: 86px; right: var(--gutter); text-align: right; }
.hud--tr::before { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud--bl { bottom: 34px; left: var(--gutter); }
.hud--bl::before { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud--br { bottom: 34px; right: var(--gutter); text-align: right; }
.hud--br::before { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hero__vert {
  position: absolute; z-index: 3; top: 50%; left: 12px; transform: translateY(-50%);
  writing-mode: vertical-rl; font-family: var(--font-mono); font-size: 11px; letter-spacing: .4em; color: rgba(255, 255, 255, .28);
}
.hero__content { position: relative; z-index: 4; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 60px var(--gutter) 0; will-change: transform, opacity; }
.hero__eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em; color: var(--cyan); }
.chip { background: var(--pink); color: #fff; padding: 2px 8px; font-size: 12px; }
.hero__title {
  margin: 0; display: flex; align-items: flex-start; gap: .04em;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(120px, 25vw, 340px); line-height: .82; letter-spacing: -.02em;
  color: var(--yellow);
  text-shadow: 0 0 60px rgba(252, 238, 10, .35);
  transform-style: preserve-3d; will-change: transform;
}
.hero__title .glitch { transform: skewX(-8deg); clip-path: inset(0 0 100% 0); }
.hero.is-in .hero__title .glitch { animation: titleIn 1s var(--ease-io) forwards; }
@keyframes titleIn { from { clip-path: inset(0 0 100% 0); transform: skewX(-8deg) translateY(30px); } to { clip-path: inset(-10% -10% -10% -10%); transform: skewX(-8deg); } }
.hero__jp {
  writing-mode: vertical-rl; font-size: .2em; letter-spacing: .12em; margin-top: .12em;
  color: transparent; -webkit-text-stroke: 1.5px var(--pink); text-shadow: none;
  opacity: 0; transform: translateY(-20px); transition: opacity .8s .6s, transform .8s .6s var(--ease);
}
.hero.is-in .hero__jp { opacity: 1; transform: none; }
.hero__tag { max-width: 560px; margin: 26px 0 32px; font-size: clamp(17px, 1.6vw, 20px); color: #cfcadf; }
.hero__tag strong { color: var(--text); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__tag, .hero__ctas, .ca-pill, .hero__eyebrow { opacity: 0; transform: translateY(20px); transition: opacity .8s, transform .8s var(--ease); }
.hero.is-in .hero__eyebrow { opacity: 1; transform: none; transition-delay: .1s; }
.hero.is-in .hero__tag { opacity: 1; transform: none; transition-delay: .45s; }
.hero.is-in .hero__ctas { opacity: 1; transform: none; transition-delay: .6s; }
.hero.is-in .ca-pill { opacity: 1; transform: none; transition-delay: .75s; }
.ca-pill {
  margin-top: 22px; display: inline-flex; align-items: center; max-width: 100%;
  border: 1px solid var(--line); background: rgba(6, 5, 10, .6); backdrop-filter: blur(6px);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em;
}
.ca-pill > * { padding: 8px 12px; }
.ca-pill__k { background: var(--line); color: var(--yellow); }
.ca-pill code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.ca-pill__c { color: var(--cyan); border-left: 1px solid var(--line); transition: background .2s, color .2s; }
.ca-pill:hover .ca-pill__c { background: var(--cyan); color: #000; }
.hero__scroll { position: absolute; z-index: 4; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .3em; color: var(--muted); }
.hero__scroll i { width: 1px; height: 44px; background: linear-gradient(var(--yellow), transparent); animation: drip 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ============ TAPES ============ */
.tapes { position: relative; z-index: 5; height: 190px; margin: -95px 0 -40px; overflow: clip; pointer-events: none; }
.tape { position: absolute; left: -5%; width: 110%; top: 50%; padding: 12px 0; overflow: hidden; }
.tape--yellow { background: var(--yellow); color: #06050a; transform: translateY(-50%) rotate(-3deg); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.tape--pink { background: var(--pink); color: #fff; transform: translateY(-50%) rotate(2.2deg); opacity: .92; }
.tape__track { display: flex; width: max-content; white-space: nowrap; will-change: transform; font-weight: 700; font-size: 17px; letter-spacing: .18em; text-transform: uppercase; }
.tape__track span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; }
.tape__track b { font-family: var(--font-display); font-weight: 400; letter-spacing: .05em; }
.tape__track em { font-style: normal; opacity: .55; }

/* ============ SECTIONS ============ */
.section { position: relative; max-width: var(--maxw); margin: 0 auto; padding: clamp(90px, 12vw, 160px) var(--gutter); }
.section__head { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .22em; color: var(--muted); }
.section__idx { color: var(--yellow); }
.section__line { flex: 0 0 56px; height: 1px; background: var(--yellow); }
.section__label { color: var(--text); }
.section__jp { margin-left: auto; color: var(--pink); letter-spacing: .3em; }
.h2 {
  margin: 0 0 28px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(32px, 7.4vw, 104px); line-height: .95; letter-spacing: -.01em; text-transform: uppercase;
  overflow-wrap: break-word;
}
.split-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: end; margin-bottom: 48px; }
.split-head .h2 { margin: 0; }
.lede { margin: 0; color: #bdb8cc; font-size: 18px; max-width: 520px; }
.lede code { color: var(--yellow); background: rgba(252, 238, 10, .08); padding: 1px 6px; }
.lede b { color: var(--text); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* panel */
.panel { position: relative; background: var(--panel); border: 1px solid var(--line); }
.panel::before, .panel::after { content: ""; position: absolute; width: 16px; height: 16px; pointer-events: none; border: 2px solid var(--yellow); z-index: 2; }
.panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.panel::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.panel__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase;
}
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--pink); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); animation: blink 1.2s steps(2) infinite; }

/* ============ 01 PROTOCOL ============ */
.statement {
  margin: 0 0 80px; max-width: 1180px;
  font-size: clamp(26px, 3.7vw, 52px); line-height: 1.16; font-weight: 600; letter-spacing: -.01em;
}
.statement .w { color: rgba(236, 233, 245, .13); transition: color .35s; }
.statement .w.on { color: var(--text); }
.statement .w.hl.on { color: var(--yellow); text-shadow: 0 0 24px rgba(252, 238, 10, .35); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 28px; transition: border-color .3s, transform .4s var(--ease), background .3s; }
.pillar:hover { border-color: rgba(252, 238, 10, .45); transform: translateY(-6px); background: rgba(24, 18, 38, .9); }
.pillar__top { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--muted); }
.pillar__num { color: var(--yellow); }
.pillar__jp { color: var(--pink); }
.pillar__icon { width: 56px; height: 56px; margin: 30px 0 22px; color: var(--cyan); transition: transform .4s var(--ease); }
.pillar:hover .pillar__icon { transform: scale(1.1) rotate(-6deg); filter: drop-shadow(0 0 10px var(--cyan)); }
.pillar h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; }
.pillar p { margin: 0; color: #aaa5bb; }

/* ============ 02 HOOK ============ */
.hook { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; }
.hook__svgwrap { padding: 10px 6px 0; }
#flowSvg { width: 100%; height: auto; overflow: visible; }
#flowSvg text { font-family: var(--font-mono); fill: var(--text); letter-spacing: .08em; }
#flowSvg .t-sub { fill: var(--muted); font-size: 11px; }
#flowSvg .grid line { stroke: rgba(255, 255, 255, .04); }
#flowSvg .flow { fill: none; stroke: rgba(252, 238, 10, .55); stroke-width: 2; stroke-dasharray: 4 9; animation: dash 1.2s linear infinite; }
#flowSvg .flow--ret { stroke: rgba(255, 255, 255, .3); }
@keyframes dash { to { stroke-dashoffset: -26; } }
#flowSvg .node rect, #flowSvg .node polygon { fill: #0d0a17; stroke: rgba(255, 255, 255, .18); stroke-width: 1.2; transition: stroke .3s, fill .3s; }
#flowSvg .node.is-hit rect { stroke: var(--yellow); fill: #1d1708; }
#flowSvg .out.is-hit rect { fill: rgba(255, 255, 255, .06); }
#flowSvg .hook-core polygon.outer { fill: #140f04; stroke: var(--yellow); stroke-width: 2; }
#flowSvg .hook-core polygon.inner { fill: none; stroke: rgba(252, 238, 10, .35); stroke-dasharray: 3 5; transform-box: fill-box; transform-origin: center; animation: spin 14s linear infinite; }
#flowSvg .hook-core .big { font-family: var(--font-display); font-size: 26px; fill: var(--yellow); letter-spacing: 0; }
#flowSvg .hook-core { transform-box: fill-box; transform-origin: center; }
#flowSvg .hook-core.is-pulse { animation: pulse .5s var(--ease); }
#flowSvg .hook-ring { fill: none; stroke: var(--yellow); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
#flowSvg .hook-ring.is-on { animation: ring .7s ease-out; }
#flowSvg .float { font-size: 12px; animation: floatUp 1.2s ease-out forwards; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 40% { transform: scale(1.12); } }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes floatUp { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(-26px); } }
.hook__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 22px; border-top: 1px solid var(--line); }
.hook__stats { display: flex; gap: 30px; font-family: var(--font-mono); }
.hook__stats small { display: block; font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.hook__stats b { font-weight: 400; font-size: 20px; color: var(--yellow); }

.calc { display: flex; flex-direction: column; }
.calc__tabs { display: flex; gap: 2px; }
.calc__tabs button { padding: 4px 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); border: 1px solid transparent; }
.calc__tabs button[aria-selected="true"] { color: #000; background: var(--cyan); }
.calc__body { padding: 22px 20px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.calc__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.calc__input { display: flex; align-items: center; gap: 8px; border-bottom: 2px solid var(--yellow); padding-bottom: 6px; }
.calc__input span { font-family: var(--font-display); font-size: 30px; color: var(--yellow); }
.calc__input input { flex: 1; min-width: 0; width: 100%; background: none; border: 0; outline: 0; color: var(--text); font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 42px); -moz-appearance: textfield; caret-color: var(--yellow); }
.calc__input input::-webkit-outer-spin-button, .calc__input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(90deg, var(--yellow) var(--p, 50%), rgba(255, 255, 255, .12) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 3px; background: rgba(255, 255, 255, .12); }
input[type="range"]::-moz-range-progress { height: 3px; background: var(--yellow); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7.5px; background: var(--yellow); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 0; background: var(--yellow); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.calc__presets { display: flex; flex-wrap: wrap; gap: 6px; }
.calc__presets button { padding: 5px 10px; border: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; color: var(--muted); transition: .2s; }
.calc__presets button:hover, .calc__presets button.is-active { color: #000; background: var(--yellow); border-color: var(--yellow); }
.calc__big { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.calc__big small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.calc__big b { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.3vw, 30px); color: var(--yellow); }
.calc__big b.c-muted { color: #cfcadf; }
.calc__split { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.calc__split li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 14px; }
.calc__split li span { color: #cfcadf; }
.calc__split li span small { color: var(--muted); font-family: var(--font-mono); margin-left: 6px; }
.calc__split li b { font-family: var(--font-mono); font-weight: 400; }
.calc__split .bar { grid-column: 1 / -1; }
.bar { height: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--c, var(--yellow)); box-shadow: 0 0 10px var(--c, var(--yellow)); transition: width 1.1s var(--ease); }

/* ============ 03 RUNNERS ============ */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1200px; }
.card { --accent: var(--cyan); position: relative; outline: none; }
.card__inner {
  position: relative; height: 100%;
  padding: 18px 18px 16px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 14%, #0f0c18) 0%, #0b0913 55%);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .3s;
  will-change: transform;
}
.card:hover .card__inner, .card:focus-visible .card__inner { border-color: var(--accent); }
.card:focus-visible .card__inner { outline: 2px solid var(--accent); outline-offset: -4px; }
.card__glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .16), transparent 45%); mix-blend-mode: screen; }
.card:hover .card__glare { opacity: 1; }
.card__corner { position: absolute; top: 0; right: 0; width: 31px; height: 2px; background: var(--accent); transform-origin: 0 0; transform: translate(-22px, 0) rotate(45deg); }
.card__top { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.card__status { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }
.card__status i { width: 6px; height: 6px; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: blink 1.4s steps(2) infinite; }
.card__holo { width: 100%; height: 190px; margin: 6px 0 4px; transform: translateZ(40px); }
.card__jp { font-size: 13px; letter-spacing: .3em; color: var(--accent); transform: translateZ(30px); }
.card__name { margin: 2px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: .02em; transform: translateZ(50px); }
.card__name.glitch::before, .card__name.glitch::after { animation: none; }
.card:hover .card__name.glitch::before { animation: glitchA .7s infinite steps(1); }
.card:hover .card__name.glitch::after { animation: glitchB .6s infinite steps(1); }
.card__cls { margin: 6px 0 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; transform: translateZ(25px); }
.card__desc { margin: 0 0 16px; font-size: 14px; color: #b3aec4; min-height: 6.2em; }
.card__stats { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.card__stats li { display: grid; grid-template-columns: 64px 1fr 26px; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.card__stats li b { font-weight: 400; color: var(--text); text-align: right; }
.card__stats .bar i { --c: var(--accent); }
.card.in .card__stats .bar i { width: var(--v); }
.card__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--muted); transition: color .3s; }
.card:hover .card__foot { color: var(--accent); }
.card__foot svg { transition: transform .3s var(--ease); }
.card:hover .card__foot svg { transform: translateX(4px); }

/* ============ 04 TERMINAL ============ */
.term-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: 540px; gap: 20px; }
.term { overflow: hidden; display: flex; flex-direction: column; height: 100%; min-height: 0; background: rgba(6, 5, 10, .92); }
.term__dots { display: flex; gap: 6px; }
.term__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); }
.term__dots i:nth-child(2) { background: var(--yellow); }
.term__dots i:nth-child(3) { background: var(--cyan); }
.term__body { position: relative; flex: 1 1 auto; min-height: 0; overflow-y: scroll; padding: 16px 18px 20px; font-family: var(--font-mono); font-size: 14px; line-height: 1.6; color: #cdd6e4; scrollbar-width: thin; scrollbar-color: var(--yellow) rgba(255, 255, 255, .06); overscroll-behavior: contain; }
.term__body::-webkit-scrollbar, .feed__list::-webkit-scrollbar { width: 8px; }
.term__body::-webkit-scrollbar-track, .feed__list::-webkit-scrollbar-track { background: rgba(255, 255, 255, .06); }
.term__body::-webkit-scrollbar-thumb, .feed__list::-webkit-scrollbar-thumb { background: var(--yellow); }
.term__out > div { white-space: pre-wrap; word-break: break-word; min-height: 1.6em; }
.term__out .ascii { font-family: ui-monospace, "Cascadia Mono", Consolas, "DejaVu Sans Mono", Menlo, monospace; font-size: clamp(7px, 1.25vw, 12px); line-height: 1.15; color: var(--yellow); white-space: pre; text-shadow: 0 0 12px rgba(252, 238, 10, .45); overflow-x: auto; }
.term__out .cmd { color: var(--text); }
.term__out .cmd span { color: var(--yellow); }
.term__out .dim { color: #6f6a85; }
.term__out .ok { color: var(--cyan); }
.term__out .err { color: var(--pink); }
.term__out .hi { color: var(--yellow); }
.term__out .k { color: var(--yellow); display: inline-block; min-width: 13ch; }
.term__out a { color: var(--cyan); text-decoration: underline; }
.term__line { display: flex; align-items: center; gap: 10px; }
.term__prompt { color: var(--yellow); white-space: nowrap; }
.term__line input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; caret-color: var(--yellow); }
.term__rain { position: absolute; left: 0; right: 0; bottom: 0; top: 43px; width: 100%; height: calc(100% - 43px); pointer-events: none; opacity: 0; transition: opacity .6s; }
.term__rain.is-on { opacity: 1; }
.term__hint { color: rgba(255, 255, 255, .25); }

.feed { display: flex; flex-direction: column; overflow: hidden; height: 100%; min-height: 0; }
.feed__list { list-style: none; margin: 0; padding: 10px 0; flex: 1 1 auto; min-height: 0; overflow-y: auto; font-family: var(--font-mono); font-size: 12.5px; scrollbar-width: thin; scrollbar-color: var(--yellow) rgba(255, 255, 255, .06); overscroll-behavior: contain; }
.feed__list li { display: grid; grid-template-columns: auto auto 1fr; gap: 10px; padding: 6px 16px; border-bottom: 1px solid rgba(255, 255, 255, .03); animation: feedIn .5s var(--ease); }
.feed__list li time { color: #5d5873; }
.feed__list li b { font-weight: 400; color: var(--c); }
.feed__list li span { color: #c7c2d6; }
@keyframes feedIn { from { opacity: 0; transform: translateX(-14px); background: rgba(252, 238, 10, .08); } to { opacity: 1; transform: none; } }
.feed__note { margin: 0; padding: 10px 16px 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.chips button { padding: 6px 12px; border: 1px solid var(--line); color: var(--cyan); transition: .2s; }
.chips button:hover { background: var(--cyan); color: #000; border-color: var(--cyan); }

/* ============ 05 TOKENOMICS ============ */
.toko { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 50px; align-items: center; }
.toko__chart { position: relative; max-width: 480px; width: 100%; margin: 0 auto; aspect-ratio: 1; }
#donut { width: 100%; height: 100%; overflow: hidden; }
#donut .seg { transition: stroke-dasharray 1.4s var(--ease), stroke-width .3s var(--ease), opacity .3s; }
#donut.has-active .seg { opacity: .3; }
#donut.has-active .seg.is-active { opacity: 1; stroke-width: 46; }
#donut .ticks line { stroke: rgba(255, 255, 255, .15); }
#donut .orbit { transform-box: view-box; transform-origin: 200px 200px; animation: spin 40s linear infinite; }
.toko__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.toko__center small { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--muted); }
.toko__center b { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 3vw, 34px); color: var(--text); line-height: 1.2; }
.toko__center span { font-family: var(--font-mono); font-size: 13px; color: var(--yellow); letter-spacing: .2em; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 26px; }
.stat { padding: 18px 18px 16px; }
.stat small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.stat b { display: block; margin: 6px 0 2px; font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.1; color: var(--yellow); overflow-wrap: anywhere; }
.stat > span { font-size: 13px; color: var(--muted); }
.stat--wide { grid-column: 1 / -1; }
.stat--wide b { white-space: nowrap; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.legend li { display: grid; grid-template-columns: 14px 1fr auto auto; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid transparent; transition: border-color .25s, background .25s; }
.legend li.is-active { border-color: var(--line); background: rgba(255, 255, 255, .03); }
.legend li i { width: 14px; height: 14px; background: var(--c); box-shadow: 0 0 10px var(--c); clip-path: polygon(0 0, 100% 0, 100% 60%, 60% 100%, 0 100%); }
.legend li span { font-weight: 600; letter-spacing: .04em; }
.legend li small { font-family: var(--font-mono); color: var(--muted); }
.legend li b { font-family: var(--font-display); font-weight: 400; color: var(--c); min-width: 3ch; text-align: right; }

/* ============ 06 ROADMAP ============ */
.roadmap { position: relative; }
.roadmap__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.roadmap__head { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 60px var(--gutter) 0; }
.roadmap__head .split-head { margin-bottom: 0; }
.roadmap__track { display: flex; gap: 24px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.ep {
  --a: var(--muted);
  position: relative; flex: 0 0 min(420px, 78vw); min-height: 400px; overflow: hidden;
  padding: 26px 26px 24px; display: flex; flex-direction: column;
  background: #0c0a14; border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  transition: border-color .4s, transform .5s var(--ease);
}
.ep[data-status="live"] { --a: var(--pink); }
.ep[data-status="next"] { --a: var(--cyan); }
.ep.is-active { border-color: color-mix(in srgb, var(--a) 70%, transparent); transform: translateY(-8px); }
.ep__burst {
  position: absolute; inset: -50%; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: repeating-conic-gradient(from 0deg at 75% 30%, color-mix(in srgb, var(--a) 22%, transparent) 0deg 4deg, transparent 4deg 12deg);
  -webkit-mask-image: radial-gradient(circle at 75% 30%, #000 0%, transparent 55%);
  mask-image: radial-gradient(circle at 75% 30%, #000 0%, transparent 55%);
  animation: spin 60s linear infinite;
}
.ep.is-active .ep__burst { opacity: 1; }
.ep__num { position: absolute; right: -6px; bottom: -30px; font-family: var(--font-display); font-size: 210px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .08); pointer-events: none; }
.ep.is-active .ep__num { -webkit-text-stroke-color: color-mix(in srgb, var(--a) 40%, transparent); }
.ep__head { position: relative; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; }
.ep__tag { color: var(--yellow); }
.ep__status { padding: 3px 8px; color: var(--a); border: 1px solid currentColor; }
.ep[data-status="live"] .ep__status { background: var(--pink); color: #fff; border-color: var(--pink); animation: blink 1.6s steps(2) infinite; }
.ep__jp { position: relative; margin-top: 34px; font-size: 14px; letter-spacing: .3em; color: var(--a); }
.ep__title { position: relative; margin: 6px 0 14px; font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 3.6vw, 50px); line-height: .98; text-transform: uppercase; }
.ep p { position: relative; margin: 0 0 16px; color: #b3aec4; }
.ep__list { position: relative; list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-family: var(--font-mono); font-size: 13px; color: #cfcadf; }
.ep__list li::before { content: "▸ "; color: var(--a); }
.ep[data-status="locked"] .ep__list li { color: var(--muted); }
.roadmap__bar { width: calc(100% - var(--gutter) * 2); max-width: calc(var(--maxw) - var(--gutter) * 2); margin: 0 auto; height: 2px; background: var(--line); }
.roadmap__bar i { display: block; height: 100%; width: 100%; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px var(--yellow); }
.roadmap.is-stacked .roadmap__sticky { position: relative; height: auto; overflow: visible; padding: 90px 0; }
.roadmap.is-stacked .roadmap__track { flex-direction: column; width: auto; }
.roadmap.is-stacked .ep { flex: none; min-height: 0; }
.roadmap.is-stacked .ep__burst { opacity: .5; }
.roadmap.is-stacked .roadmap__bar { display: none; }

/* ============ 07 BUY ============ */
.buy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.step { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step:first-child { border-top: 1px solid var(--line); }
.step__n { font-family: var(--font-display); font-size: 40px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--yellow); transition: color .3s; }
.step:hover .step__n { color: var(--yellow); }
.step h3 { margin: 4px 0 4px; font-size: 21px; letter-spacing: .04em; text-transform: uppercase; }
.step p { margin: 0; color: #aaa5bb; }
.step p b { color: var(--text); font-weight: 600; }
.buybox__body { padding: 26px 24px; display: flex; flex-direction: column; gap: 18px; }
.buybox__body small { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--muted); }
.buybox__ca { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; background: rgba(0, 0, 0, .35); border: 1px dashed rgba(252, 238, 10, .35); }
.buybox__ca code { flex: 1; min-width: 0; font-size: 14px; color: var(--yellow); overflow-wrap: anywhere; }
.buybox__meta { margin: 0; display: grid; gap: 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; }
.buybox__meta div { display: flex; justify-content: space-between; gap: 12px; }
.buybox__meta dt { color: var(--muted); }
.buybox__meta dd { margin: 0; }
.buybox__meta a { color: var(--cyan); }
.buybox__meta a:hover { color: var(--yellow); }
.buybox__warn { display: flex; gap: 12px; margin: 0; font-size: 14px; color: #aaa5bb; }
.buybox__warn b { flex: 0 0 22px; height: 22px; display: grid; place-items: center; background: var(--pink); color: #fff; font-family: var(--font-mono); }
.buybox__links { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; }
.buybox__links a { color: var(--cyan); transition: color .2s; }
.buybox__links a:hover { color: var(--yellow); }

/* ============ FAQ ============ */
.faq { border-top: 1px solid var(--line); max-width: 980px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; text-align: left; font-size: clamp(18px, 2vw, 24px); font-weight: 600; letter-spacing: .02em; transition: color .25s; }
.faq__q:hover { color: var(--yellow); }
.faq__q i { position: relative; flex: 0 0 22px; height: 22px; }
.faq__q i::before, .faq__q i::after { content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 2px; background: var(--yellow); transition: transform .35s var(--ease); }
.faq__q i::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] i::after { transform: rotate(0); }
.faq__q[aria-expanded="true"] i::before { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0 0 24px; max-width: 760px; color: #b3aec4; font-size: 17px; }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }

/* ============ FOOTER ============ */
.footer { position: relative; overflow: hidden; padding: 40px var(--gutter) 30px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg) 0%, #0d0716 100%); }
.footer__big { display: flex; align-items: flex-start; justify-content: center; gap: 2vw; margin: 0 auto; max-width: var(--maxw); }
.footer__run {
  position: relative; font-family: var(--font-display); font-size: clamp(120px, 30vw, 420px); line-height: .85;
  color: transparent; -webkit-text-stroke: 2px rgba(252, 238, 10, .5); transform: skewX(-8deg);
  transition: color .5s, -webkit-text-stroke-color .5s;
}
.footer__big:hover .footer__run { color: var(--yellow); -webkit-text-stroke-color: var(--yellow); text-shadow: 0 0 80px rgba(252, 238, 10, .3); }
.footer__jp { writing-mode: vertical-rl; font-size: clamp(22px, 4vw, 56px); color: var(--pink); letter-spacing: .1em; margin-top: 2vw; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; max-width: var(--maxw); margin: 40px auto 0; padding-top: 30px; border-top: 1px solid var(--line); }
.footer__claim { margin: 0 0 18px; font-family: var(--font-display); font-size: 30px; line-height: 1.05; text-transform: uppercase; }
.footer nav { display: flex; flex-direction: column; gap: 8px; }
.footer nav small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .25em; color: var(--yellow); margin-bottom: 4px; }
.footer nav a { color: #b3aec4; transition: color .2s, transform .2s; }
.footer nav a:hover { color: var(--text); transform: translateX(4px); }
.footer__bottom { max-width: var(--maxw); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__bottom p { margin: 0 0 10px; max-width: 820px; }
.footer__meta { display: flex; justify-content: space-between; gap: 20px; font-family: var(--font-mono); letter-spacing: .1em; max-width: none !important; }
.footer__konami { opacity: .3; transition: opacity .3s, color .3s; }
.footer__konami:hover { opacity: 1; color: var(--yellow); }

/* ============ MODAL ============ */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(4, 3, 8, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fadeIn .3s; }
.modal__panel { --accent: var(--cyan); position: relative; width: min(900px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #0b0913; animation: crtOn .5s var(--ease-io); }
.modal__panel::before, .modal__panel::after { border-color: var(--accent); }
@keyframes crtOn { 0% { transform: scale(1, .005); filter: brightness(3); } 45% { transform: scale(1, .005); } 100% { transform: none; filter: none; } }
@keyframes fadeIn { from { opacity: 0; } }
.modal.is-closing .modal__panel { animation: crtOff .3s var(--ease-io) forwards; }
.modal.is-closing .modal__backdrop { animation: fadeIn .3s reverse forwards; }
@keyframes crtOff { 60% { transform: scale(1, .005); filter: brightness(3); } 100% { transform: scale(0, .005); } }
.modal__close { width: 30px; height: 30px; color: var(--text); border: 1px solid var(--line); transition: .2s; }
.modal__close:hover { background: var(--pink); border-color: var(--pink); }
.modal__body { display: grid; grid-template-columns: 1fr 1.15fr; }
.modal__visual { position: relative; min-height: 320px; border-right: 1px solid var(--line); background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%); }
.modal__visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.modal__jp { position: absolute; left: 16px; top: 16px; writing-mode: vertical-rl; font-size: 22px; letter-spacing: .2em; color: var(--accent); }
.modal__info { padding: 26px 26px 24px; }
.modal__cls { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--accent); text-transform: uppercase; }
.modal__title { margin: 4px 0 12px; font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 6vw, 64px); line-height: 1; }
.modal__info p { margin: 0 0 18px; color: #b3aec4; }
.modal__stats { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.modal__stats li { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.modal__stats li div { display: flex; justify-content: space-between; margin-bottom: 4px; }
.modal__stats li b { color: var(--text); font-weight: 400; }
.modal__stats .bar i { --c: var(--accent); }
.modal__log { margin: 0; min-height: 10.5em; padding: 12px 14px; background: rgba(0, 0, 0, .4); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6; color: #b9c3d3; white-space: pre-wrap; }
.modal__log .ok { color: var(--accent); }

/* ============ TOAST ============ */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 96;
  max-width: calc(100vw - 32px);
  padding: 12px 20px; background: var(--yellow); color: #06050a;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transform: translate(-50%, calc(100% + 60px)); opacity: 0; transition: transform .45s var(--ease), opacity .3s;
  pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hook { grid-template-columns: minmax(0, 1fr); }
  .nav__links { gap: 14px; }
  .nav__links a i { display: none; }
}
@media (max-width: 1000px) {
  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 4px;
    padding: 80px var(--gutter) 40px;
    background: rgba(6, 5, 10, .97);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav.is-open { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__links a { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 9vw, 54px); letter-spacing: 0; color: var(--text); padding: 2px 0; }
  .nav__links a i { display: inline; font-size: 13px; vertical-align: top; }
  .nav__links a::after { display: none; }
  .nav__burger { display: block; }
  .split-head { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .h2 { font-size: clamp(32px, 9.4vw, 72px); }
  .term-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: 500px 380px; }
  .toko { grid-template-columns: minmax(0, 1fr); }
  .buy { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hud--tr, .hud--br, .hud--bl, .hero__vert { display: none; }
  .hud--tl { top: 74px; }
  .hud--bl { bottom: 80px; }
  .hero { align-items: flex-end; padding-bottom: 120px; }
  .hero__content { padding-top: 0; }
  .hero__eyebrow { font-size: 11px; letter-spacing: .12em; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__scroll { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card__desc { min-height: 0; }
  .sfx em { display: none; }
  .nav__actions .btn--sm { display: none; }
  .modal__body { grid-template-columns: 1fr; }
  .modal__visual { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
  .term-grid { grid-template-rows: 440px 360px; }
  .term__body { font-size: 13px; }
  .term__hint { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .calc__big { grid-template-columns: 1fr; }
  .section__jp { display: none; }
  .tape__track { font-size: 14px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__meta { flex-direction: column; gap: 6px; }
  .step { gap: 16px; }
}

@media (max-height: 760px) and (min-width: 721px) {
  .hud--bl, .hud--br { display: none; }
}

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