:root {
  --background: #f5efe3;
  --foreground: #071d18;
  --muted: #66746d;
  --line: rgba(7, 29, 24, 0.14);
  --deep: #003f36;
  --deep-2: #062b25;
  --cream: #f8f0df;
  --mint: #d4f7f1;
  --lime: #c8ff4d;
  --orange: #ff6a1a;
  --orange-dark: #8d2300;
  --ink: #050907;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
}

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

button {
  font: inherit;
}

main {
  overflow: hidden;
}

main > section {
  height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
}

.hero {
  height: 100svh;
  padding: clamp(18px, 2.4vw, 34px) clamp(18px, 4vw, 64px) clamp(22px, 3vw, 44px);
  color: var(--mint);
  background:
    radial-gradient(circle at 50% 72%, rgba(255, 106, 26, 0.28), transparent 12%),
    radial-gradient(circle at 82% 20%, rgba(200, 255, 77, 0.14), transparent 20%),
    linear-gradient(180deg, #003f36 0%, #00372f 48%, #02251f 100%);
  position: relative;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 247, 241, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 247, 241, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 78%, transparent);
}

.hero::after {
  width: clamp(150px, 17vw, 260px);
  height: clamp(150px, 17vw, 260px);
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%) rotate(-8deg);
  background: url("/favicon.svg") center / contain no-repeat;
  opacity: 0.42;
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.28));
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1480px;
  margin: 0 auto clamp(34px, 5vh, 58px);
  position: relative;
  z-index: 2;
}

.brand,
.nav-links,
.nav-actions,
.hero-actions,
.metrics,
.anchor-row,
.domain-row,
.language-switch {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--mint);
  font-size: 23px;
  font-weight: 950;
  line-height: 0.9;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 14px;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.24));
}

.brand-mark svg {
  display: block;
  width: 52px;
  height: 52px;
}

.logo-shield {
  fill: var(--orange);
}

.logo-ring,
.logo-anchor {
  fill: none;
  stroke: var(--mint);
  stroke-linecap: round;
}

.logo-ring {
  stroke-width: 6.7;
}

.logo-anchor {
  stroke-width: 3.8;
}

.logo-tail {
  fill: none;
  stroke: var(--lime);
  stroke-linecap: round;
  stroke-width: 6.7;
}

.logo-dot {
  fill: var(--lime);
}

.nav-actions {
  gap: 18px;
}

.nav-links {
  gap: 22px;
  color: rgba(212, 247, 241, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.language-switch {
  padding: 5px;
  background: rgba(0, 0, 0, 0.44);
  border: 1px solid rgba(212, 247, 241, 0.16);
  border-radius: 999px;
}

.lang-button {
  min-width: 42px;
  min-height: 34px;
  color: rgba(212, 247, 241, 0.68);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
}

.lang-button.active {
  color: var(--ink);
  background: var(--mint);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.58fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  max-width: 1480px;
  margin: 0 auto;
  min-height: calc(100svh - 150px);
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.mega-title {
  max-width: 1060px;
  margin-bottom: 20px;
  color: var(--mint);
  font-size: clamp(50px, 7.5vw, 112px);
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  font-weight: 1000;
  font-stretch: condensed;
  animation: titleSlide 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 86px);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 14px;
  font-size: 28px;
  line-height: 1;
}

.lead {
  max-width: 760px;
  color: rgba(212, 247, 241, 0.8);
  font-size: clamp(17px, 1.75vw, 22px);
  line-height: 1.36;
  animation: riseIn 900ms 180ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.slide-word {
  animation: riseIn 700ms 80ms ease both;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
  animation: riseIn 900ms 300ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.primary,
.secondary {
  min-height: 50px;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 950;
}

.primary {
  color: var(--ink);
  background: var(--orange);
}

.secondary {
  color: var(--mint);
  border: 1px solid rgba(212, 247, 241, 0.22);
  background: rgba(0, 0, 0, 0.24);
}

.chain-panel {
  padding: clamp(16px, 1.6vw, 22px);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 106, 26, 0.16), transparent 42%),
    rgba(5, 9, 7, 0.72);
  border: 1px solid rgba(212, 247, 241, 0.16);
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.panel-top,
.metrics {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.panel-top {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(212, 247, 241, 0.14);
  color: rgba(212, 247, 241, 0.72);
  font-size: 14px;
  min-width: 0;
}

.panel-top strong {
  color: var(--lime);
  text-align: right;
  white-space: normal;
}

.flow {
  display: grid;
  justify-items: center;
  padding: clamp(24px, 3.5vh, 34px) 0;
}

.node,
.anchor {
  width: 100%;
  padding: 17px;
  border-radius: 14px;
  text-align: center;
  font-weight: 950;
}

.node {
  background: rgba(212, 247, 241, 0.08);
  border: 1px solid rgba(212, 247, 241, 0.16);
}

.node.large {
  background: var(--lime);
  color: var(--ink);
}

.connector {
  width: 2px;
  height: 34px;
  background: rgba(212, 247, 241, 0.28);
}

.connector.split {
  width: 56%;
  height: clamp(32px, 6vh, 58px);
  margin-top: 0;
  border-right: 2px solid rgba(212, 247, 241, 0.28);
  border-left: 2px solid rgba(212, 247, 241, 0.28);
  border-bottom: 2px solid rgba(212, 247, 241, 0.28);
  background: transparent;
}

.anchor-row {
  width: 100%;
  gap: 12px;
}

.anchor.sol {
  color: #061a15;
  background: #8df4d2;
}

.anchor.op {
  color: #fff;
  background: var(--orange);
}

.metrics {
  padding-top: 18px;
  border-top: 1px solid rgba(212, 247, 241, 0.14);
}

.metrics div {
  min-width: 0;
}

.metrics span {
  display: block;
  margin-bottom: 6px;
  color: rgba(212, 247, 241, 0.58);
  font-size: 12px;
}

.metrics strong {
  font-size: 14px;
}

.section,
.how-section,
.economy,
.roadmap {
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(48px, 8vh, 82px) clamp(18px, 4vw, 64px);
}

.section,
.how-section,
.economy,
.roadmap {
  height: 100svh;
  display: grid;
  align-content: center;
}

.technical {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.how-section {
  gap: clamp(24px, 4.5vh, 44px);
}

.how-copy {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(360px, 1fr);
  grid-template-rows: auto 1fr;
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
}

.how-copy .eyebrow {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: -14px;
}

.how-copy h2 {
  grid-column: 1;
  grid-row: 2;
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(34px, 4.8vw, 64px);
}

.how-copy > p:last-child,
.economy-copy p,
.technical p {
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.55;
}

.how-copy > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  max-width: 720px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
}

.card {
  min-height: min(240px, 32vh);
  padding: clamp(20px, 2vw, 26px);
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 106, 26, 0.18), transparent 28%),
    #fff8eb;
  border: 1px solid rgba(7, 29, 24, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(7, 29, 24, 0.06);
}

.card span {
  display: inline-block;
  margin-bottom: clamp(24px, 4vh, 44px);
  color: var(--orange);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 22px;
  font-weight: 950;
}

.card h3 {
  font-size: clamp(21px, 2vw, 27px);
}

.card p {
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.48;
}

.economy {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.domain-stack {
  display: grid;
  gap: 12px;
}

.domain-row {
  justify-content: space-between;
  gap: 18px;
  padding: 19px 20px;
  color: var(--mint);
  background: var(--deep);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.domain-row strong {
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 13px;
}

.tech-grid {
  display: grid;
  gap: 18px;
}

.tech-grid div {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.tech-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.roadmap {
  padding-top: clamp(48px, 8vh, 82px);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 32px;
  overflow: hidden;
  background: rgba(7, 29, 24, 0.16);
  border: 1px solid rgba(7, 29, 24, 0.16);
  border-radius: 18px;
}

.timeline div {
  min-height: 170px;
  padding: 24px;
  background: var(--background);
  font-weight: 950;
}

.timeline span {
  display: block;
  margin-bottom: 42px;
  color: var(--orange);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.reveal-section,
.reveal-card,
.step-card,
.domain-row,
.tech-grid div,
.timeline div {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 760ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.step-card {
  transform: translateX(120px);
}

.reveal-section.is-visible,
.reveal-card.is-visible,
.step-card.is-visible,
.domain-row.is-visible,
.tech-grid div.is-visible,
.timeline div.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.step-card.is-visible {
  transform: translateX(0);
}

.step-card:nth-child(2),
.domain-row:nth-child(2),
.tech-grid div:nth-child(2),
.timeline div:nth-child(2) {
  transition-delay: 120ms;
}

.step-card:nth-child(3),
.domain-row:nth-child(3),
.tech-grid div:nth-child(3),
.timeline div:nth-child(3) {
  transition-delay: 240ms;
}

.step-card:nth-child(4),
.domain-row:nth-child(4),
.timeline div:nth-child(4) {
  transition-delay: 360ms;
}

@keyframes titleSlide {
  from {
    opacity: 0;
    transform: translateX(-46px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1000px) {
  .hero-grid,
  .how-copy,
  .economy,
  .technical {
    grid-template-columns: 1fr;
  }

  .how-copy {
    grid-template-rows: auto;
  }

  .how-copy .eyebrow,
  .how-copy h2,
  .how-copy > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .how-copy .eyebrow {
    margin-bottom: -18px;
  }

  .nav {
    margin-bottom: 32px;
  }

  .cards,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-section {
    gap: 22px;
  }

  .hero::after {
    opacity: 0.38;
  }
}

@media (max-width: 680px) {
  .hero {
    height: 100svh;
  }

  .nav {
    align-items: flex-start;
  }

  .nav-actions {
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 12px;
  }

  .nav-links {
    display: none;
  }

  .cards,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .section,
  .how-section,
  .economy,
  .roadmap {
    height: 100svh;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .card {
    min-height: 0;
    padding: 14px;
    border-radius: 14px;
  }

  .card span {
    margin-bottom: 16px;
    font-size: 17px;
  }

  .card h3 {
    margin-bottom: 8px;
    font-size: 18px;
  }

  .card p {
    font-size: 13px;
    line-height: 1.35;
  }

  .how-copy h2 {
    font-size: clamp(30px, 10vw, 44px);
  }

  .how-copy > p:last-child {
    font-size: 15px;
    line-height: 1.42;
  }

  .chain-panel {
    padding: 16px;
  }

  .metrics {
    flex-direction: column;
  }

  .mega-title {
    font-size: clamp(42px, 14vw, 74px);
  }
}
body.dark-page {
  background: #05231f;
  color: var(--mint);
}

body.dark-page main {
  overflow: visible;
}

body.dark-page main > section {
  height: auto;
  min-height: 0;
  overflow: visible;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

.app-static-shell,
.token-static-shell {
  min-height: 100svh;
  padding: 18px clamp(18px, 4vw, 56px) 32px;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 106, 26, 0.18), transparent 22%),
    radial-gradient(circle at 18% 86%, rgba(200, 255, 77, 0.10), transparent 24%),
    linear-gradient(180deg, #003f36 0%, #052a25 44%, #061612 100%);
}

.app-static-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto 22px;
}

.brand-invert,
.nav-links-invert {
  color: var(--mint);
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.app-static-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  max-width: 1360px;
  margin: 0 auto;
  align-items: start;
}

.static-identity,
.static-ledger,
.token-static-panel,
.token-policy-grid article {
  border: 1px solid rgba(212, 247, 241, 0.16);
  background: rgba(5, 9, 7, 0.64);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.static-identity,
.static-ledger,
.token-static-panel {
  padding: clamp(18px, 3vw, 34px);
}

.static-identity {
  max-height: calc(100svh - 120px);
  overflow: auto;
}

.static-identity article,
.static-summary div,
.static-holders article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(212, 247, 241, 0.14);
  border-radius: 14px;
  background: rgba(212, 247, 241, 0.07);
}

.static-identity article + article {
  margin-top: 10px;
}

.static-identity strong,
.static-ledger strong,
.static-holders p,
.token-static-panel h1 {
  color: #fff8eb;
}

.static-identity span,
.static-identity small,
.static-holders span,
.static-holders small,
.static-holders code,
.static-summary span {
  color: rgba(212, 247, 241, 0.76);
}

.static-ledger h1,
.token-static-panel h1 {
  max-width: 880px;
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 0.98;
  margin-bottom: 20px;
  color: var(--mint);
}

.static-ledger .lead,
.token-static-panel .lead {
  max-width: 860px;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.42;
  color: rgba(212, 247, 241, 0.78);
}

.app-domain-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.static-summary,
.static-holders,
.token-policy-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.static-summary {
  grid-template-columns: repeat(3, 1fr);
}

.static-holders,
.token-policy-grid {
  grid-template-columns: repeat(3, 1fr);
}

.static-holders {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.static-summary span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
}

.static-summary strong,
.static-holders p {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 900;
}

.static-holders code {
  overflow-wrap: anywhere;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
}

.static-table {
  margin-top: 18px;
  overflow-x: auto;
  overflow-y: visible;
  border: 1px solid rgba(212, 247, 241, 0.14);
  border-radius: 14px;
  max-height: none;
}

.static-table > div {
  display: grid;
  grid-template-columns: minmax(190px, 1.1fr) minmax(180px, 0.95fr) minmax(270px, 1.7fr) minmax(120px, 0.65fr) minmax(112px, 0.6fr);
  gap: 18px;
  align-items: center;
  min-width: 940px;
  padding: 11px 14px;
  border-top: 1px solid rgba(212, 247, 241, 0.12);
  color: rgba(212, 247, 241, 0.78);
}

.static-table.domain-table > div {
  grid-template-columns: minmax(210px, 1.1fr) minmax(150px, 0.8fr) minmax(230px, 1.3fr) minmax(150px, 0.8fr) minmax(105px, 0.55fr);
  min-width: 900px;
}

.static-table .head {
  border-top: 0;
  color: var(--lime);
  background: rgba(5, 9, 7, 0.76);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.static-table em {
  width: fit-content;
  padding: 7px 10px;
  color: var(--mint);
  border: 1px solid rgba(200, 255, 77, 0.42);
  border-radius: 999px;
  font-style: normal;
  font-weight: 800;
}

.static-table code {
  color: var(--lime);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.tx-hash {
  color: var(--lime);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.token-static-panel,
.token-policy-grid {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.primary-light {
  background: var(--orange);
  color: var(--ink);
}

.secondary-dark {
  color: var(--mint);
  border-color: rgba(212, 247, 241, 0.22);
  background: rgba(0, 0, 0, 0.24);
}

.token-policy-grid article {
  min-height: 140px;
  padding: 18px;
}

.token-policy-grid span {
  display: block;
  margin-bottom: 32px;
  color: var(--orange);
  font-weight: 900;
}

.token-policy-grid p {
  color: rgba(212, 247, 241, 0.78);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .app-static-grid,
  .static-summary,
  .static-holders,
  .token-policy-grid {
    grid-template-columns: 1fr;
  }

  .static-table .head {
    display: none;
  }

  .static-table > div {
    grid-template-columns: 1fr;
  }
}
