:root {
  color-scheme: dark;
  --ink: #f8fbff;
  --muted: #b7c0cc;
  --paper: #f3efe7;
  --night: #101316;
  --panel: #171b20;
  --line: rgba(248, 251, 255, 0.14);
  --teal: #17c6a3;
  --blue: #3767ff;
  --gold: #f2c14e;
  --rose: #e85d75;
  --shadow: rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--night);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(16, 19, 22, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.02rem;
}

.brand img {
  display: block;
  width: 40px;
  height: 40px;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
}

nav a:hover,
nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - 160px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(58px, 7vw, 86px) clamp(20px, 6vw, 80px) clamp(30px, 5vw, 52px);
  background: #101316;
}

#market-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 19, 22, 0.52);
  pointer-events: none;
}

.hero-content,
.launch-strip {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: min(920px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: clamp(0.78rem, 1.4vw, 0.92rem);
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.9;
  font-weight: 900;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

p {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.7;
}

.hero-copy {
  width: min(680px, 100%);
  color: #dfe7f1;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 800;
  border: 1px solid var(--line);
}

.button.primary {
  color: #101316;
  background: var(--gold);
  border-color: var(--gold);
}

.button.secondary {
  color: var(--ink);
  background: rgba(248, 251, 255, 0.08);
}

.launch-strip {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin-top: clamp(36px, 5vw, 58px);
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: 0 18px 50px var(--shadow);
}

.launch-strip div,
.facts-grid article,
.utility-list article {
  background: rgba(23, 27, 32, 0.92);
}

.launch-strip div {
  min-height: 88px;
  padding: 20px;
}

.launch-strip span,
.facts-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.launch-strip strong,
.facts-grid strong {
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.band {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 6vw, 80px);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.two-column,
.launch-layout,
.rail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(36px, 7vw, 84px);
  align-items: start;
}

.utility-band {
  background: #f3efe7;
  color: #171b20;
}

.utility-band p,
.utility-band .eyebrow,
.utility-band .text-link {
  color: #384251;
}

.utility-list {
  display: grid;
  gap: 14px;
}

.rail-band {
  background: #101316;
}

.rail-steps {
  display: grid;
  gap: 16px;
}

.rail-steps article {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.rail-steps span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-weight: 900;
}

.rail-steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.utility-list article {
  min-height: 124px;
  padding: 24px;
  border: 1px solid rgba(16, 19, 22, 0.12);
  border-radius: 8px;
  background: #fffaf0;
}

.utility-list p {
  color: #596170;
}

.token-band {
  background: #171b20;
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 34px;
}

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

.facts-grid article {
  min-height: 118px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.facts-grid .address {
  overflow-wrap: anywhere;
}

.launch-band {
  background: #101316;
}

.timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  min-height: 76px;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(248, 251, 255, 0.05);
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #101316;
  background: var(--teal);
  font-weight: 900;
}

.safety-band {
  color: #171b20;
  background: var(--paper);
}

.safety-band p,
.safety-band .eyebrow {
  color: #384251;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: #1746cc;
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 6vw, 80px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #101316;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}

.link-row .text-link {
  margin-top: 0;
}

.document-page {
  background:
    linear-gradient(180deg, rgba(23, 27, 32, 0.96), rgba(16, 19, 22, 1) 38%),
    var(--night);
}

.doc-hero {
  padding: clamp(72px, 10vw, 126px) clamp(20px, 6vw, 80px) clamp(50px, 7vw, 86px);
  border-bottom: 1px solid var(--line);
}

.doc-hero h1 {
  width: min(980px, 100%);
  max-width: 13ch;
  font-size: clamp(3.2rem, 8vw, 7rem);
}

.doc-hero p {
  width: min(760px, 100%);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.doc-section {
  padding: clamp(50px, 7vw, 88px) clamp(20px, 6vw, 80px);
}

.doc-section > * {
  width: min(980px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.doc-section.alt {
  color: #171b20;
  background: var(--paper);
}

.doc-section.alt p,
.doc-section.alt li,
.doc-section.alt .text-link {
  color: #384251;
}

.doc-section h2 {
  font-size: clamp(2rem, 5vw, 4.25rem);
}

.doc-list {
  display: grid;
  gap: 12px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.doc-grid article {
  min-height: 120px;
  padding: 22px;
  background: rgba(23, 27, 32, 0.94);
}

.doc-section.alt .doc-grid {
  border-color: rgba(23, 27, 32, 0.16);
  background: rgba(23, 27, 32, 0.16);
}

.doc-section.alt .doc-grid article {
  background: #fffaf1;
}

.doc-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.doc-section.alt .doc-grid span {
  color: #5c6674;
}

.doc-grid strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.address-block {
  overflow-wrap: anywhere;
  padding: 22px;
  color: #101316;
  background: var(--gold);
  border-radius: 6px;
  font-weight: 900;
}

@media (max-width: 840px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    position: static;
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    gap: 14px 24px;
    font-size: 0.88rem;
  }

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

  h1 {
    max-width: 100%;
    font-size: clamp(3.05rem, 13vw, 4.15rem);
    line-height: 0.96;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .launch-strip {
    margin-top: 34px;
  }

  .launch-strip,
  .facts-grid,
  .doc-grid,
  .two-column,
  .launch-layout,
  .rail-layout {
    grid-template-columns: 1fr;
  }

  .launch-strip div,
  .facts-grid article {
    min-height: 82px;
  }

  .site-footer {
    flex-direction: column;
  }
}

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