:root {
  --bg: #050505;
  --bg-2: #0b0b0b;
  --steel: #c5c8cc;
  --steel-dim: #8b9098;
  --steel-deep: #3a3d42;
  --chrome-hi: #f4f6f8;
  --line: rgba(210, 214, 220, 0.16);
  --ink: #eceef1;
  --muted: #9aa0a8;
  --mx: 50%;
  --my: 40%;
  --font-word: "Exo 2", sans-serif;
  --font-display: "Anton", sans-serif;
  --font-head: "Oswald", sans-serif;
  --font-num: "Teko", sans-serif;
  --font-body: "Barlow Condensed", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at var(--mx) var(--my), rgba(180, 186, 196, 0.08), transparent 42%),
    linear-gradient(180deg, #070707 0%, #050505 40%, #080808 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  cursor: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(148deg, transparent 38%, rgba(255, 255, 255, 0.025) 38.2%, rgba(255, 255, 255, 0.025) 52%, transparent 52.2%),
    linear-gradient(-148deg, transparent 46%, rgba(0, 0, 0, 0.28) 46.2%, rgba(0, 0, 0, 0.28) 62%, transparent 62.2%);
  mix-blend-mode: soft-light;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: none;
}

.fx-canvas,
.fog,
.vignette,
.spotlight,
.scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#grain,
#dust {
  z-index: 8;
  opacity: 0.18;
}

#dust {
  opacity: 0.55;
}

.fog {
  z-index: 2;
  filter: blur(48px);
}

.fog-a {
  background: radial-gradient(420px 220px at 18% 30%, rgba(160, 166, 176, 0.16), transparent 70%);
  animation: drift 22s ease-in-out infinite;
}

.fog-b {
  background: radial-gradient(520px 260px at 82% 18%, rgba(200, 204, 212, 0.1), transparent 72%);
  animation: drift 28s ease-in-out infinite reverse;
}

.fog-c {
  background: radial-gradient(380px 200px at 60% 88%, rgba(120, 126, 136, 0.12), transparent 70%);
  animation: drift 26s ease-in-out infinite 1.4s;
}

.vignette {
  z-index: 7;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.62) 100%);
}

.spotlight {
  z-index: 3;
  background: radial-gradient(420px 420px at var(--mx) var(--my), rgba(230, 234, 240, 0.09), transparent 55%);
  transition: background 80ms linear;
}

.scanline {
  z-index: 9;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 3px,
    rgba(255, 255, 255, 0.012) 3px 4px
  );
  mix-blend-mode: overlay;
  animation: scan 9s linear infinite;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: #e8eaee;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(220, 224, 230, 0.45);
  transition: width 180ms ease, height 180ms ease, border-color 180ms ease;
}

.cursor-ring.hot {
  width: 52px;
  height: 52px;
  border-color: rgba(240, 242, 246, 0.8);
}

.chrome {
  font-family: var(--font-word);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 0%, #d7dbe0 26%, #7d828a 48%, #f2f4f6 60%, #9aa0a8 78%, #4c5056 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.word {
  font-size: 1.15rem;
}

.icon-steel {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.45) contrast(1.15) saturate(0);
}

.icon-inline {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: -2px;
  margin-right: 6px;
}

.scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #6d727a, #f3f5f7, #6d727a);
  box-shadow: 0 0 12px rgba(230, 234, 240, 0.45);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  height: 72px;
  padding: 0 28px;
  background: rgba(7, 7, 8, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.nav.scrolled {
  background: rgba(5, 5, 5, 0.98);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  min-width: 0;
}

.nav-brand .word {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  line-height: 1;
  white-space: nowrap;
}

.nav-mark {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(220, 224, 230, 0.28);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04), 0 0 18px rgba(200, 205, 214, 0.18);
}

.nav-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transform: scale(1.35);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  white-space: nowrap;
}

.nav-links a,
.mobile-drawer a {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
  transition: color 180ms ease;
}

.nav-links a:hover,
.mobile-drawer a:hover {
  color: var(--chrome-hi);
}

.nav-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  justify-self: end;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav .btn {
  min-height: 40px;
  padding: 0 16px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.icon-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(230, 234, 240, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  flex: 0 0 40px;
  border: 1px solid var(--line);
  background: #111214;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: #e6e8ec;
}

.nav-toggle span:first-child { top: 14px; }
.nav-toggle span:last-child { bottom: 14px; }

.mobile-drawer {
  position: fixed;
  top: 72px;
  left: 16px;
  right: 16px;
  z-index: 59;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  background: rgba(8, 8, 8, 0.98);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.mobile-drawer[hidden] {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, border-color 200ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-steel {
  background: #111214;
  color: var(--steel);
}

.btn-chrome {
  background: linear-gradient(180deg, #f3f5f7, #9ea4ac 45%, #dfe3e8 70%, #7c8188);
  color: #141414;
  border-color: #d7dbe0;
  box-shadow: 0 10px 30px rgba(180, 186, 196, 0.16);
}

.btn-chrome .icon-steel {
  filter: grayscale(1) brightness(0.25) contrast(1.2);
}

.btn-ghost {
  background: transparent;
  color: var(--steel);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 36px 80px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-geometry {
  position: absolute;
  inset: 8% 6%;
  border: 1px solid rgba(210, 214, 220, 0.08);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  animation: facet 8s ease-in-out infinite;
}

.hero-orbit {
  position: absolute;
  width: min(72vw, 760px);
  aspect-ratio: 1;
  pointer-events: none;
}

.ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(210, 214, 220, 0.12);
  border-radius: 50%;
}

.ring-a { animation: spin 28s linear infinite; }
.ring-b {
  inset: 7%;
  border-style: dashed;
  animation: spin 40s linear infinite reverse;
}
.ring-c {
  inset: 16%;
  border-color: rgba(210, 214, 220, 0.22);
  animation: pulse 4.6s ease-in-out infinite;
}

.hero-stage {
  position: relative;
  z-index: 4;
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-statue {
  position: relative;
  transform-style: preserve-3d;
}

.hero-statue img {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  filter: contrast(1.05) saturate(0.15);
  animation: breath 6.5s ease-in-out infinite;
}

.statue-glow {
  position: absolute;
  inset: 18% 12% 8%;
  background: radial-gradient(circle, rgba(210, 216, 224, 0.16), transparent 68%);
  filter: blur(24px);
  animation: pulse 5s ease-in-out infinite;
}

.hero-copy {
  position: relative;
}

.kicker {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--steel-dim);
}

.wordmark {
  margin: 0;
  font-size: clamp(72px, 11vw, 132px);
  line-height: 0.82;
  animation: shimmer 4.8s linear infinite;
  background-size: 220% 100%;
}

.tagline {
  margin: 14px 0 28px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d9dde3;
  text-shadow: 0 0 24px rgba(220, 224, 230, 0.18);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.plate {
  min-width: 132px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    #0c0d0f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.plate span,
.ca-chip span,
.stat-list span,
.join-card span,
.step-num,
.idx {
  font-family: var(--font-num);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-dim);
}

.plate span {
  display: block;
  font-size: 13px;
}

.plate strong,
.stat-list strong,
.join-card strong {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.ca-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.ca-chip code {
  font-family: var(--font-body);
  color: var(--steel);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-chip em {
  font-style: normal;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chrome-hi);
}

.section {
  position: relative;
  z-index: 4;
  padding: 110px 36px;
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 42px;
}

.idx {
  display: block;
  font-size: 28px;
}

.section-head h2 {
  margin: 4px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(46px, 7vw, 78px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.92;
}

.section-lead {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 22px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
}

.about-copy h3 {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-copy p {
  margin: 0 0 16px;
  color: #c5c9cf;
}

.about-panel {
  border: 1px solid var(--line);
  padding: 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), transparent 46%),
    #0a0b0d;
}

.lock-rig {
  position: relative;
  height: 110px;
  margin-bottom: 24px;
}

.lock-body {
  position: absolute;
  left: 50%;
  top: 48px;
  width: 72px;
  height: 54px;
  transform: translateX(-50%);
  border-radius: 8px;
  background: linear-gradient(180deg, #d8dce2, #6f747c 55%, #b7bcc3);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.lock-body::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #1a1b1e;
}

.lock-shackle {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 44px;
  height: 48px;
  transform: translateX(-50%);
  border: 8px solid #c8ccd2;
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  transform-origin: 80% 100%;
  animation: latch 5.5s ease-in-out infinite;
}

.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stat-list li {
  padding: 12px;
  border: 1px solid var(--line);
}

.stat-list span {
  display: block;
  font-size: 14px;
}

.buy-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  position: relative;
  padding: 24px 20px 22px;
  border: 1px solid var(--line);
  background: rgba(12, 13, 15, 0.86);
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(#f0f2f5, #6c7178);
  transform: scaleY(0);
  transform-origin: top;
  animation: rise 1.4s ease forwards;
}

.step-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #101114;
}

.step-icon img {
  width: 26px;
  height: 26px;
}

.step-num {
  font-size: 30px;
}

.step h3 {
  margin: 6px 0 10px;
  font-family: var(--font-head);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.chart-frame {
  position: relative;
  height: min(760px, 78vh);
  border: 1px solid var(--line);
  background: #0a0a0a;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.chart-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.chart-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}

.banner-frame {
  margin: 0 0 28px;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.banner-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  animation: bannerDrift 18s ease-in-out infinite;
}

.join-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.join-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.join-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 234, 240, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.join-card img {
  width: 28px;
  height: 28px;
}

.foot {
  position: relative;
  z-index: 4;
  padding: 36px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.foot .word {
  font-size: 28px;
}

.foot p {
  margin: 8px 0 0;
  color: var(--steel-dim);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: reveal 0.9s ease forwards;
  animation-play-state: paused;
}

.reveal.in {
  animation-play-state: running;
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4%, -3%, 0) scale(1.08); }
}

@keyframes scan {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes breath {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.015); }
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes latch {
  0%, 55%, 100% { transform: translateX(-50%) rotate(0deg); }
  70% { transform: translateX(-50%) rotate(-18deg); }
}

@keyframes rise {
  to { transform: scaleY(1); }
}

@keyframes reveal {
  to { opacity: 1; transform: none; }
}

@keyframes facet {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}

@keyframes bannerDrift {
  0%, 100% { transform: scale(1.02) translateX(0); }
  50% { transform: scale(1.06) translateX(-1.2%); }
}

@media (max-width: 1100px) {
  .nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-stage,
  .about-grid,
  .buy-steps,
  .join-links {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 108px;
  }

  .wordmark {
    font-size: 72px;
  }
}

@media (max-width: 720px) {
  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .nav-enter {
    display: none;
  }

  .nav,
  .section,
  .hero,
  .foot {
    padding-left: 18px;
    padding-right: 18px;
  }

  .banner-frame {
    aspect-ratio: 3 / 1;
  }

  .chart-frame {
    height: 560px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
