:root {
  --bg: #061964;
  --blue-900: #032778;
  --blue-700: #0077d9;
  --blue-500: #00a8ff;
  --blue-300: #78dcff;
  --ink: #ffffff;
  --muted: #c9efff;
  --panel: rgba(255, 255, 255, .13);
  --panel-strong: rgba(255, 255, 255, .2);
  --line: rgba(255, 255, 255, .34);
  --shadow: 0 24px 80px rgba(0, 35, 140, .36), inset 0 1px 0 rgba(255, 255, 255, .2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(120, 220, 255, .55), transparent 25%),
    radial-gradient(circle at 76% 8%, rgba(255, 255, 255, .22), transparent 22%),
    linear-gradient(160deg, #00a8ff 0%, #008ee8 36%, #0756c7 68%, #061964 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before,
body::after,
.orbital-field,
.signal-dust {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -4;
  background:
    linear-gradient(120deg, transparent 0 46%, rgba(255, 255, 255, .15) 47% 48%, transparent 49%),
    linear-gradient(45deg, transparent 0 47%, rgba(255, 255, 255, .12) 48% 49%, transparent 50%);
  background-size: 160px 160px, 220px 220px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 78%);
}

body::after {
  z-index: -3;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .82) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(120, 220, 255, .55) 0 1px, transparent 2px);
  background-position: 0 0, 36px 22px;
  background-size: 96px 96px, 148px 148px;
  animation: drift 26s linear infinite;
  opacity: .58;
}

.orbital-field {
  z-index: -2;
  background:
    radial-gradient(ellipse at 50% 12%, transparent 0 29%, rgba(255, 255, 255, .34) 30%, transparent 31%),
    radial-gradient(ellipse at 50% 16%, transparent 0 42%, rgba(120, 220, 255, .28) 43%, transparent 44%),
    radial-gradient(circle at 80% 72%, rgba(255, 255, 255, .16), transparent 18%);
}

.signal-dust {
  z-index: -1;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .08), transparent 32%, rgba(2, 21, 82, .32));
}

a,
button {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

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

main {
  width: min(1320px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 54px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(4, 72, 176, .46);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.brand,
.nav-links,
.hero-actions,
.ticker-strip,
.social-strip,
.mini-stats {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 10px;
  color: white;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 2px solid white;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 26px rgba(120, 220, 255, .75);
}

.nav-links {
  gap: 8px;
}

.nav-links a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  color: white;
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.nav-links a:hover,
.button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .24);
  box-shadow: 0 14px 34px rgba(0, 55, 160, .3);
}

.button.primary {
  background: white;
  color: #0477db;
}

.button.secondary {
  background: rgba(0, 16, 72, .25);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(520px, 1.28fr);
  gap: 30px;
  align-items: center;
  min-height: calc(100vh - 100px);
  padding: 48px 0 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #e7fbff;
  font-size: .8rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(4.2rem, 11vw, 9.6rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: .82;
  text-transform: uppercase;
  text-shadow: 0 18px 42px rgba(0, 38, 120, .28);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.6vw, 4.6rem);
  line-height: .94;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 24px;
  color: white;
  font-size: clamp(1rem, 1.9vw, 1.32rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 10px;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 8%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .32);
  filter: blur(58px);
}

.hero-visual img,
.panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

.ticker-strip,
.social-strip {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 62px;
}

.ticker-strip span,
.social-strip a,
.social-strip span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  color: white;
  font-size: .83rem;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.identity-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 70px;
}

.logo-card {
  display: grid;
  place-items: center;
  padding: 20px;
}

.logo-card img {
  width: min(100%, 360px);
  border-radius: 28px;
}

.identity-copy,
.contract-panel {
  padding: clamp(22px, 4vw, 44px);
}

.identity-copy p {
  max-width: 780px;
}

.mini-stats {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.mini-stats span {
  display: grid;
  min-width: 148px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .14);
  color: white;
  font-weight: 900;
}

.mini-stats strong {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: .72rem;
  text-transform: uppercase;
}

.contract-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 72px;
}

.contract-panel h2 {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(1.28rem, 3.3vw, 3.15rem);
}

.section-heading {
  margin-bottom: 22px;
}

.chart-section,
.art-section,
.steps {
  margin-bottom: 74px;
}

.chart-frame {
  overflow: hidden;
  padding: 8px;
}

.chart-frame iframe {
  display: block;
  width: 100%;
  min-height: 620px;
  border: 0;
  border-radius: 16px;
  background: #061126;
}

.art-grid,
.step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.art-card {
  overflow: hidden;
}

.art-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.art-card div {
  display: grid;
  gap: 4px;
  padding: 18px;
}

.art-card strong {
  font-size: 1.2rem;
}

.art-card span {
  color: var(--muted);
  font-weight: 800;
}

.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-grid article {
  padding: 22px;
}

.step-grid span {
  display: inline-flex;
  margin-bottom: 36px;
  color: white;
  font-size: 2.2rem;
  font-weight: 950;
}

.social-strip {
  margin-bottom: 0;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  max-width: min(420px, calc(100vw - 36px));
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 18px;
  background: rgba(3, 39, 120, .9);
  color: white;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-96px, -96px, 0);
  }
}

@media (max-width: 980px) {
  .topbar,
  .hero,
  .identity-grid,
  .contract-panel,
  .art-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
    align-items: flex-start;
    border-radius: 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .contract-panel .button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  main {
    width: min(100% - 18px, 1320px);
    padding-top: 9px;
  }

  .topbar {
    gap: 10px;
  }

  .brand span {
    font-size: .92rem;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .nav-links a,
  .button {
    min-height: 40px;
    padding: 9px 12px;
    font-size: .75rem;
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 5.4rem);
  }

  .hero-visual img {
    min-height: 210px;
  }

  .chart-frame iframe {
    min-height: 520px;
  }

  .step-grid span {
    margin-bottom: 18px;
  }
}
