:root {
  color-scheme: dark;
  --bg: #020609;
  --bg-2: #071015;
  --ink: #f4fbf8;
  --muted: #9fb3b2;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.26);
  --cyan: #43d6df;
  --cyan-2: #0b9aa6;
  --gold: #e0bd71;
  --green: #5de0aa;
  --panel: rgba(255, 255, 255, 0.055);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(67, 214, 223, 0.06), transparent 28rem),
    var(--bg);
}

body::selection {
  color: #001216;
  background: var(--cyan);
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  color: var(--ink);
  background: linear-gradient(180deg, rgba(2, 6, 9, 0.82), rgba(2, 6, 9, 0));
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan);
  font-size: 0.9rem;
}

.nav-links {
  gap: clamp(0.75rem, 2vw, 1.6rem);
  color: rgba(244, 251, 248, 0.76);
  font-size: 0.92rem;
}

.nav-links a {
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 9rem clamp(1rem, 5vw, 4rem) 5rem;
  isolation: isolate;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.06);
}

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 6, 9, 0.9), rgba(2, 6, 9, 0.46) 48%, rgba(2, 6, 9, 0.28)),
    linear-gradient(180deg, rgba(2, 6, 9, 0.2), rgba(2, 6, 9, 0.86));
}

.hero-content,
.hero-footer,
section > .section-kicker,
.intro-grid,
.split-layout,
.section-heading,
.value-grid,
.system-layout,
.timeline,
.quest-panel,
.final-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.hero-content {
  display: grid;
  gap: 1.3rem;
}

.eyebrow,
.section-kicker {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 9ch;
  font-size: clamp(4.3rem, 16vw, 12rem);
  line-height: 0.82;
  letter-spacing: 0;
}

.hero-logo-title {
  max-width: min(72rem, 96vw);
  line-height: 1;
}

.hero-logo {
  display: block;
  width: min(78vw, 68rem);
  height: auto;
  max-height: clamp(8.5rem, 22vw, 16rem);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.28));
}

.hero-subtitle {
  max-width: 42rem;
  color: rgba(244, 251, 248, 0.84);
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  line-height: 1.28;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--line-strong);
  font-weight: 760;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button.primary {
  color: #001216;
  border-color: var(--cyan);
  background: var(--cyan);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.hero-footer {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  translate: -50% 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  color: rgba(244, 251, 248, 0.68);
  font-size: 0.85rem;
}

.hero-footer span {
  min-height: 3.2rem;
  display: flex;
  align-items: center;
  padding-right: 1rem;
}

section {
  position: relative;
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 5vw, 4rem);
}

.intro-section,
.feature-section,
.system-section,
.timeline-section {
  background: var(--bg);
}

.intro-grid,
.split-layout,
.system-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(18rem, 0.94fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.3rem, 6vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1;
}

.copy-stack {
  display: grid;
  gap: 1.15rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.17rem);
  line-height: 1.72;
}

.statement-band {
  min-height: 58vh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(67, 214, 223, 0.14), transparent 42%),
    linear-gradient(180deg, #081319, #04090d);
  border-block: 1px solid var(--line);
}

.statement-band p {
  width: min(100%, 1060px);
  font-size: clamp(2.6rem, 7.7vw, 7.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading h2 {
  max-width: 14ch;
}

.values-section,
.transparency-section,
.quest-section {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

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

.value-grid article {
  min-height: 24rem;
  display: grid;
  align-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.2rem, 2.8vw, 2rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    #071015;
}

.value-grid span {
  color: var(--gold);
  font-weight: 800;
}

.value-grid p {
  color: var(--muted);
  line-height: 1.58;
}

.system-layout {
  align-items: center;
}

.system-copy {
  display: grid;
  gap: 1.35rem;
}

.system-copy h2 {
  max-width: 12ch;
}

.system-copy p {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.7;
}

.orbit {
  position: relative;
  min-height: clamp(22rem, 42vw, 34rem);
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(67, 214, 223, 0.22), transparent 12rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(67, 214, 223, 0.26);
  border-radius: 50%;
}

.orbit::after {
  inset: 25%;
  border-color: rgba(224, 189, 113, 0.3);
}

.core,
.node {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(2, 6, 9, 0.78);
  box-shadow: 0 0 34px rgba(67, 214, 223, 0.12);
  font-weight: 760;
}

.core {
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  width: 10.5rem;
  height: 10.5rem;
  color: var(--cyan);
}

.node {
  min-width: 7.6rem;
  min-height: 3.25rem;
  padding: 0.7rem 0.9rem;
  color: rgba(244, 251, 248, 0.86);
}

.node-a {
  top: 12%;
  left: 16%;
}

.node-b {
  top: 18%;
  right: 12%;
}

.node-c {
  bottom: 14%;
  left: 10%;
}

.node-d {
  right: 15%;
  bottom: 15%;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.timeline article {
  min-height: 16rem;
  padding: 1.5rem clamp(1rem, 2.5vw, 2rem);
  border-right: 1px solid var(--line);
}

.timeline article:last-child {
  border-right: 0;
}

.timeline span {
  display: block;
  margin-bottom: 4rem;
  color: var(--green);
  font-weight: 800;
}

.timeline p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.56;
}

.quest-section {
  min-height: 72vh;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(2, 6, 9, 0.92), rgba(2, 6, 9, 0.52)),
    url("assets/seven-quest-hero.png") center / cover fixed;
}

.quest-panel {
  display: grid;
  gap: 1.25rem;
}

.quest-panel h2 {
  max-width: 15ch;
}

.quest-panel p {
  max-width: 42rem;
  color: rgba(244, 251, 248, 0.78);
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  line-height: 1.68;
}

.final-section {
  min-height: 74vh;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 78% 22%, rgba(224, 189, 113, 0.14), transparent 22rem),
    linear-gradient(180deg, #04090d, #020609);
}

.final-inner {
  display: grid;
  gap: 1.2rem;
}

.final-inner h2 {
  max-width: 15ch;
}

.final-inner p:not(.eyebrow) {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.58;
}

.final-inner .button {
  justify-self: start;
  margin-top: 1rem;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 92vh;
    padding-top: 7rem;
  }

  .hero-footer {
    grid-template-columns: 1fr;
    position: static;
    translate: none;
    margin-top: 3rem;
  }

  .hero-footer span {
    min-height: 2.2rem;
    border-bottom: 1px solid var(--line);
  }

  .intro-grid,
  .split-layout,
  .system-layout,
  .value-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .value-grid article {
    min-height: 17rem;
  }

  .timeline article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline article:last-child {
    border-bottom: 0;
  }

  .timeline span {
    margin-bottom: 1.8rem;
  }

  .orbit {
    min-height: 25rem;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    justify-content: center;
  }

  .hero-logo {
    width: min(100%, 30rem);
    max-height: 9rem;
  }

  .node {
    min-width: 6.4rem;
    font-size: 0.82rem;
  }

  .core {
    width: 8rem;
    height: 8rem;
    font-size: 0.9rem;
  }
}
