:root {
  --deep: #030716;
  --navy: #08142d;
  --blue: #168bff;
  --cyan: #55e8ff;
  --violet: #8d48ff;
  --star: #f3f8ff;
  --muted: #a5b7d4;
  --line: rgba(243, 248, 255, 0.1);
  --glow: rgba(22, 139, 255, 0.45);
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: Inter, "Segoe UI", sans-serif;
  --header-h: 64px;
  --pad: clamp(1.25rem, 4vw, 5.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--deep);
  color: var(--star);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.7rem 1rem;
  background: var(--star);
  color: var(--deep);
  font-weight: 600;
}

.skip-link:focus {
  top: 0.8rem;
}

.section-shell {
  width: min(1180px, calc(100% - var(--pad) * 2));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.btn,
.btn-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    border-color 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #2a9bff 0%, var(--blue) 100%);
  color: var(--star);
  box-shadow: 0 0 0 1px rgba(85, 232, 255, 0.18),
    0 10px 30px rgba(22, 139, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(85, 232, 255, 0.35),
    0 14px 36px rgba(22, 139, 255, 0.42);
}

.btn-ghost {
  background: rgba(8, 20, 45, 0.4);
  border-color: rgba(243, 248, 255, 0.18);
  color: var(--star);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(85, 232, 255, 0.5);
  box-shadow: 0 0 24px rgba(85, 232, 255, 0.12);
}

.btn.is-pending,
.nav-buy.is-pending,
a.is-pending {
  cursor: not-allowed;
  opacity: 0.72;
}

.pending-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(3, 7, 22, 0.35);
  border: 1px solid rgba(243, 248, 255, 0.16);
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: var(--header-h);
  background: rgba(3, 7, 22, 0.28);
  border-bottom: 1px solid rgba(243, 248, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(3, 7, 22, 0.88);
  border-bottom-color: rgba(243, 248, 255, 0.12);
}

.nav-shell {
  width: min(1280px, calc(100% - 2rem));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
}

.brand-ticker {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-desktop a {
  padding: 0.55rem 0.8rem;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible {
  color: var(--star);
}

.nav-buy {
  margin-left: 0.35rem;
  padding: 0.5rem 0.95rem !important;
  border-radius: 999px;
  background: rgba(22, 139, 255, 0.16);
  color: var(--star) !important;
  border: 1px solid rgba(85, 232, 255, 0.28);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--star);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0;
  background: rgba(3, 7, 22, 0.55);
}

.nav-mobile {
  position: fixed;
  top: var(--header-h);
  right: 0;
  width: min(20rem, 86vw);
  height: calc(100dvh - var(--header-h));
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: rgba(8, 20, 45, 0.96);
  border-left: 1px solid var(--line);
}

.nav-mobile a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  color: var(--star);
  font-family: var(--font-display);
}

.nav-mobile a:hover,
.nav-mobile a:focus-visible {
  background: rgba(22, 139, 255, 0.12);
}

.nav-mobile .nav-buy {
  justify-content: center;
  margin-top: 0.5rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 1.5rem) 0 4.5rem;
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-banner {
  position: absolute;
  inset: 0;
  background:
    url("assets/banner.png") 100% 40% / cover no-repeat;
  opacity: 0.5;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3, 7, 22, 0.94) 0%,
      rgba(3, 7, 22, 0.72) 38%,
      rgba(3, 7, 22, 0.38) 68%,
      rgba(3, 7, 22, 0.62) 100%
    ),
    linear-gradient(180deg, rgba(3, 7, 22, 0.35) 0%, rgba(3, 7, 22, 0.78) 100%);
}

.starfield {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 8% 18%, rgba(243, 248, 255, 0.9), transparent),
    radial-gradient(1.4px 1.4px at 18% 72%, rgba(85, 232, 255, 0.7), transparent),
    radial-gradient(1px 1px at 32% 28%, rgba(243, 248, 255, 0.65), transparent),
    radial-gradient(1px 1px at 46% 12%, rgba(243, 248, 255, 0.55), transparent),
    radial-gradient(1.6px 1.6px at 61% 36%, rgba(141, 72, 255, 0.7), transparent),
    radial-gradient(1px 1px at 74% 16%, rgba(243, 248, 255, 0.75), transparent),
    radial-gradient(1px 1px at 83% 68%, rgba(85, 232, 255, 0.6), transparent),
    radial-gradient(1.2px 1.2px at 91% 24%, rgba(243, 248, 255, 0.8), transparent),
    radial-gradient(1px 1px at 14% 46%, rgba(243, 248, 255, 0.45), transparent),
    radial-gradient(1px 1px at 55% 82%, rgba(243, 248, 255, 0.5), transparent),
    radial-gradient(1.3px 1.3px at 28% 88%, rgba(85, 232, 255, 0.45), transparent),
    radial-gradient(1px 1px at 69% 54%, rgba(243, 248, 255, 0.4), transparent);
  animation: twinkle 9s ease-in-out infinite;
}

.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

.nebula-left {
  width: min(42vw, 480px);
  height: min(42vw, 480px);
  left: -8%;
  bottom: 4%;
  background: radial-gradient(circle, rgba(22, 139, 255, 0.18), transparent 68%);
}

.nebula-right {
  width: min(50vw, 620px);
  height: min(50vw, 620px);
  right: -6%;
  top: 8%;
  background: radial-gradient(circle, rgba(141, 72, 255, 0.2), transparent 70%);
  animation: nebulaDrift 16s ease-in-out infinite;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - var(--pad) * 2));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 1rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 1rem 0 2rem;
}

.hero-copy h1 {
  font-size: clamp(3.4rem, 10vw, 8.2rem);
}

.line-quantum,
.line-whale {
  display: block;
}

.line-whale {
  color: var(--cyan);
  text-shadow: 0 0 40px rgba(85, 232, 255, 0.28);
}

.hero-lead {
  margin-top: 1.35rem;
  max-width: 28ch;
  color: var(--star);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.hero-desc {
  margin-top: 1rem;
  max-width: 38ch;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-status {
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: 108%;
  max-width: none;
  margin-right: -3%;
  justify-self: end;
  perspective: 900px;
}

.whale-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  left: 18%;
  top: 18%;
  background: radial-gradient(
    circle,
    rgba(85, 232, 255, 0.32) 0%,
    rgba(22, 139, 255, 0.16) 36%,
    rgba(141, 72, 255, 0.1) 58%,
    transparent 72%
  );
  filter: blur(18px);
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  left: 50%;
  top: 48%;
  border: 1px solid rgba(85, 232, 255, 0.22);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) rotateX(66deg);
}

.orbit-ring-a {
  width: 78%;
  height: 46%;
  border-top-color: rgba(141, 72, 255, 0.55);
  animation: orbitTilt 32s linear infinite;
}

.orbit-ring-b {
  width: 96%;
  height: 58%;
  border-color: rgba(22, 139, 255, 0.14);
  border-left-color: rgba(85, 232, 255, 0.45);
  animation: orbitTilt 48s linear infinite reverse;
}

.hero-float {
  position: relative;
  animation: whaleFloat 7.5s ease-in-out infinite;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 98%),
    radial-gradient(ellipse 74% 92% at 50% 40%, #000 60%, transparent 88%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, #000 70%, transparent 98%),
    radial-gradient(ellipse 74% 92% at 50% 40%, #000 60%, transparent 88%);
  mask-composite: intersect;
}

.scroll-cue {
  position: absolute;
  left: var(--pad);
  bottom: 1.4rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

/* Narrative */
.narrative {
  position: relative;
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 0%, rgba(141, 72, 255, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(8, 20, 45, 0.35), transparent 30%),
    var(--deep);
}

.editorial-title {
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
}

.editorial-title span,
.community-title span,
.identity-copy h2 span {
  display: block;
  text-wrap: balance;
}

.narrative-copy {
  max-width: 42rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.origin-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 4.2rem;
}

.origin-block {
  padding: 0.2rem 0 0;
}

.origin-index {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--violet);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.origin-block h3 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  text-transform: uppercase;
}

.origin-block p {
  max-width: 22ch;
  margin-top: 0.85rem;
  color: var(--muted);
}

.origin-grid > .origin-block:last-child {
  text-align: right;
}

.origin-grid > .origin-block:last-child p {
  margin-left: auto;
}

.origin-join {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
}

.origin-atom {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 24px var(--cyan);
  position: relative;
}

.origin-atom::before,
.origin-atom::after {
  content: "";
  position: absolute;
  inset: -22px;
  border: 1px solid rgba(85, 232, 255, 0.35);
  border-radius: 50%;
}

.origin-atom::after {
  inset: -34px -12px;
  transform: rotate(28deg);
  border-color: rgba(141, 72, 255, 0.4);
  animation: atomSpin 18s linear infinite;
}

.origin-merge {
  margin-top: 3.4rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 6.4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-transform: uppercase;
}

.origin-merge span {
  background: linear-gradient(90deg, var(--star) 0%, var(--cyan) 55%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.origin-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Identity */
.identity {
  --art-w: 50%;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(92vh, 880px);
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(22, 139, 255, 0.1), transparent 70%),
    var(--navy);
  overflow: hidden;
}

.identity::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  height: 120px;
  background: linear-gradient(180deg, var(--deep), transparent);
  pointer-events: none;
}

.identity-art {
  position: relative;
  z-index: 0;
  min-height: 560px;
}

.identity-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.identity-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 52%, rgba(8, 20, 45, 0.7) 82%, var(--navy) 100%),
    linear-gradient(0deg, var(--navy) 0%, transparent 22%);
  pointer-events: none;
}

.identity-orbits {
  position: absolute;
  left: var(--art-w);
  top: 50%;
  z-index: 1;
  width: 0;
  height: 0;
  pointer-events: none;
}

.id-orbit {
  position: absolute;
  left: 0;
  top: 0;
  aspect-ratio: 1;
  border: 1px solid rgba(85, 232, 255, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.id-orbit-a {
  width: clamp(220px, 26vw, 400px);
  border-top-color: rgba(85, 232, 255, 0.55);
  animation: orbitSpin 36s linear infinite;
}

.id-orbit-b {
  width: clamp(320px, 40vw, 620px);
  border-color: rgba(141, 72, 255, 0.14);
  border-right-color: rgba(141, 72, 255, 0.5);
  animation: orbitSpin 56s linear infinite reverse;
}

.id-orbit-c {
  width: clamp(440px, 56vw, 860px);
  border-color: rgba(243, 248, 255, 0.06);
}

.identity-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  padding: clamp(4rem, 7vw, 6.5rem) var(--pad) clamp(4rem, 7vw, 6.5rem)
    clamp(1.5rem, 4vw, 4rem);
}

.identity-copy h2 {
  font-size: clamp(2.2rem, 3.7vw, 3.6rem);
  text-transform: uppercase;
}

.identity-accent {
  color: var(--cyan);
  text-shadow: 0 0 36px rgba(85, 232, 255, 0.25);
}

.identity-desc {
  max-width: 38rem;
  margin-top: 1.4rem;
  color: var(--muted);
}

.identity-traits {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.identity-traits li {
  display: grid;
  gap: 0.2rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
}

.identity-traits li:last-child {
  border-bottom: 1px solid var(--line);
}

.trait-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trait-note {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Community */
.community {
  position: relative;
  isolation: isolate;
  padding: clamp(6rem, 12vw, 10rem) 0;
  overflow: hidden;
  background: var(--deep);
}

.community-atmosphere {
  position: absolute;
  inset: 0 -45% 0 0;
  z-index: -2;
  background: url("assets/banner.png") center 40% / cover no-repeat;
  opacity: 0.85;
}

.community::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(3, 7, 22, 0.94) 0%,
      rgba(3, 7, 22, 0.78) 40%,
      rgba(3, 7, 22, 0.25) 72%,
      rgba(3, 7, 22, 0.45) 100%
    ),
    linear-gradient(
      180deg,
      var(--navy) 0%,
      transparent 22%,
      transparent 78%,
      var(--deep) 100%
    );
  pointer-events: none;
}

.community-shell {
  position: relative;
}

.community-title {
  max-width: 14ch;
  font-size: clamp(2.3rem, 6.4vw, 5.8rem);
  text-transform: uppercase;
}

.community-copy {
  max-width: 34rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

/* Chart */
.chart-section {
  padding: clamp(5rem, 9vw, 7.5rem) 0;
  background:
    radial-gradient(ellipse 40% 50% at 0% 80%, rgba(22, 139, 255, 0.08), transparent 60%),
    var(--deep);
}

.chart-intro h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  text-transform: uppercase;
}

.chart-copy {
  margin-top: 0.9rem;
  color: var(--muted);
}

.chart-frame {
  position: relative;
  margin-top: 2.2rem;
  min-height: min(62vh, 640px);
  border: 1px solid rgba(85, 232, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(8, 20, 45, 0.55), rgba(3, 7, 22, 0.92));
  overflow: hidden;
}

.chart-placeholder {
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  background:
    radial-gradient(ellipse 40% 50% at 50% 42%, rgba(22, 139, 255, 0.1), transparent 70%);
}

.chart-signal {
  position: relative;
  width: 84px;
  height: 84px;
  margin-bottom: 1.4rem;
}

.chart-signal span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(85, 232, 255, 0.22);
  border-radius: 50%;
}

.chart-signal span:nth-child(1) {
  animation: spin 14s linear infinite;
  border-top-color: var(--cyan);
}

.chart-signal span:nth-child(2) {
  inset: 12px;
  animation: spin 20s linear infinite reverse;
  border-left-color: var(--violet);
}

.chart-signal span:nth-child(3) {
  inset: 26px;
  background: radial-gradient(circle, var(--cyan), transparent 64%);
  border: 0;
}

.chart-placeholder-kicker {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.chart-placeholder h3 {
  margin: 0.55rem 0 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.chart-placeholder p {
  max-width: 38rem;
  margin-bottom: 1.4rem;
  color: var(--muted);
}

.chart-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.chart-embed {
  display: block;
  width: 100%;
  height: min(62vh, 640px);
  border: 0;
  background: #0b1224;
}

/* Contract */
.contract {
  padding: clamp(5rem, 9vw, 7.5rem) 0 5rem;
}

.contract h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  text-transform: uppercase;
}

.contract-lead {
  max-width: 38rem;
  margin-top: 1rem;
  color: var(--muted);
}

.token-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2.4rem 0 0;
  border-bottom: 1px solid var(--line);
}

.token-specs > div {
  min-width: 0;
  padding: 1.2rem 1.1rem 1.2rem 0;
  border-top: 1px solid var(--line);
}

.token-specs .token-ca {
  grid-column: 1 / -1;
}

.token-specs dt {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.token-specs dd {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.token-ca dd {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.ca-value {
  min-width: 0;
  color: var(--muted);
}

.ca-value.is-live {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--star);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  font-weight: 500;
}

.btn-copy {
  flex: 0 0 auto;
  min-width: 88px;
  background: transparent;
  border-color: rgba(243, 248, 255, 0.16);
  color: var(--star);
}

.btn-copy:hover:not(:disabled) {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-copy:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.btn-copy.is-copied {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Footer */
.site-footer {
  padding: 3rem 0 2.4rem;
  border-top: 1px solid var(--line);
  background: #02050f;
}

.footer-shell {
  width: min(1180px, calc(100% - var(--pad) * 2));
  margin: 0 auto;
}

.brand-footer img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand-footer span {
  font-family: var(--font-display);
  font-weight: 700;
}

.footer-mark {
  margin-top: 1rem;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-disclaimer {
  max-width: 46rem;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-family: var(--font-display);
}

.footer-nav a:hover {
  color: var(--star);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  z-index: 120;
  transform: translateX(-50%);
  max-width: min(32rem, calc(100% - 2rem));
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(85, 232, 255, 0.28);
  background: rgba(8, 20, 45, 0.94);
  color: var(--star);
  font-size: 0.95rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* Motion */
.hero-enter,
.hero-enter-whale {
  animation: riseFade 0.95s ease both;
}

.hero-enter-delay-1 { animation-delay: 0.1s; }
.hero-enter-delay-2 { animation-delay: 0.22s; }
.hero-enter-delay-3 { animation-delay: 0.32s; }
.hero-enter-delay-4 { animation-delay: 0.42s; }
.hero-enter-delay-5 { animation-delay: 0.5s; }

.hero-enter-whale {
  animation-name: whaleEnter;
  animation-duration: 1.25s;
  animation-delay: 0.18s;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes riseFade {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes whaleEnter {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes whaleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes orbitSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbitTilt {
  from {
    transform: translate(-50%, -50%) rotateX(66deg) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotateX(66deg) rotate(360deg);
  }
}

@keyframes atomSpin {
  from {
    transform: rotate(28deg);
  }
  to {
    transform: rotate(388deg);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes nebulaDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-18px, 12px, 0);
  }
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleX(0.75);
    transform-origin: left;
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    width: min(860px, calc(100% - var(--pad) * 2));
  }

  .hero-visual {
    width: min(92vw, 720px);
    margin: 0 auto;
    justify-self: center;
  }

  .hero-copy {
    max-width: none;
    text-align: left;
  }

  .identity {
    --art-h: clamp(360px, 92vw, 820px);
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .identity-art {
    min-height: 0;
    height: var(--art-h);
  }

  .identity-art img {
    object-position: 50% 12%;
  }

  .identity-art::after {
    background:
      linear-gradient(0deg, var(--navy) 0%, rgba(8, 20, 45, 0.6) 16%, transparent 38%);
  }

  .identity-orbits {
    left: 50%;
    top: var(--art-h);
  }

  .id-orbit-c {
    display: none;
  }

  .identity-copy {
    max-width: none;
    margin-top: -2.5rem;
    padding: 0 var(--pad) clamp(4rem, 9vw, 6rem);
  }

  .identity-copy h2 {
    font-size: clamp(2.1rem, 7vw, 3.8rem);
  }

  .origin-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .origin-grid > .origin-block:last-child {
    text-align: left;
  }

  .origin-grid > .origin-block:last-child p {
    margin-left: 0;
  }

  .origin-join {
    width: 100%;
    height: 64px;
  }
}

@media (max-width: 860px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-bottom: 5.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 16vw, 5.2rem);
  }

  .hero-actions .btn {
    flex: 1 1 220px;
  }

  .token-specs {
    grid-template-columns: minmax(0, 1fr);
  }

  .token-ca dd {
    flex-wrap: wrap;
  }

  .community-atmosphere {
    inset: 0 -120% 0 0;
  }

  .community::after {
    background:
      linear-gradient(180deg, var(--navy) 0%, rgba(3, 7, 22, 0.7) 20%, rgba(3, 7, 22, 0.78) 80%, var(--deep) 100%);
  }

  .scroll-cue {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 340px) {
  .brand-text {
    display: none;
  }
}

@media (max-width: 390px) {
  .hero-visual {
    width: min(100%, 420px);
  }

  .community-actions .btn,
  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 320px) {
  .hero-copy h1 {
    font-size: 2.55rem;
  }

  .editorial-title,
  .community-title,
  .origin-merge {
    font-size: 2.1rem;
  }

  .identity-copy h2 {
    font-size: 1.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-enter,
  .hero-enter-whale,
  .hero-float,
  .starfield,
  .nebula-right,
  .orbit-ring,
  .id-orbit,
  .origin-atom::after,
  .chart-signal span,
  .scroll-line {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .btn-ghost:hover,
  .btn-primary:hover {
    transform: none;
  }
}
