:root {
  --bg: #06121f;
  --bg-deep: #020813;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.085);
  --line: rgba(145, 199, 255, 0.18);
  --line-strong: rgba(106, 229, 217, 0.36);
  --text: #edf7ff;
  --muted: #a9bbca;
  --aqua: #59dce8;
  --green: #74e1a3;
  --orange: #ff8d3c;
  --violet: #a98bff;
  --font-display: "Bahnschrift", "Aptos Display", "Segoe UI", sans-serif;
  --font-body: "Aptos", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  background:
    linear-gradient(135deg, rgba(89, 220, 232, 0.12), transparent 28%),
    linear-gradient(225deg, rgba(255, 141, 60, 0.1), transparent 25%),
    linear-gradient(180deg, var(--bg), var(--bg-deep) 70%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(89, 220, 232, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89, 220, 232, 0.22) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, #000, transparent 86%);
}

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

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

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100vw - 32px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  color: #06121f;
  background: linear-gradient(135deg, var(--aqua), var(--green));
  font-family: var(--font-display);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav-links a,
.site-footer a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--muted);
  transition: 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: clamp(24px, 4vw, 54px) 0 42px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--aqua);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(4rem, 9vw, 8.2rem);
  line-height: 0.92;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  line-height: 1;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: #d7e8f4;
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  line-height: 1.16;
  font-weight: 700;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

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

.button-primary {
  color: #05101d;
  border-color: transparent;
  background: linear-gradient(135deg, var(--aqua), var(--green));
  box-shadow: 0 18px 42px rgba(89, 220, 232, 0.24);
}

.button-secondary {
  color: #10131a;
  border-color: transparent;
  background: linear-gradient(135deg, #f8f3ff, #d6fff6);
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual,
.diagram-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1402 / 1122;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.section {
  padding: clamp(42px, 6vw, 86px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.split-section,
.disclaimer-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(22px, 5vw, 66px);
  align-items: start;
}

.split-section p,
.disclaimer-section p,
.section-heading + p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 26px;
}

.process-grid,
.utility-grid,
.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-grid li,
.utility-grid article,
.tokenomics-grid article {
  min-width: 0;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 42%),
    var(--panel);
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #06121f;
  background: linear-gradient(135deg, var(--green), var(--aqua));
  font-weight: 900;
  font-size: 0.78rem;
}

.process-grid strong,
.utility-grid strong,
.tokenomics-grid strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.2;
}

.process-grid p,
.utility-grid p,
.tokenomics-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.tokenomics-grid {
  margin-bottom: 22px;
}

.tokenomics-grid article {
  min-height: 190px;
}

.tokenomics-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--aqua);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tokenomics-grid strong {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 0.95;
}

.tokenomics-frame {
  margin-top: 22px;
}

.architecture-section {
  padding-bottom: clamp(50px, 7vw, 96px);
}

.diagram-frame {
  display: block;
}

.diagram-frame img {
  width: 100%;
  background: #fff;
}

.utility-grid article:nth-child(2) {
  border-color: rgba(255, 141, 60, 0.32);
}

.utility-grid article:nth-child(3) {
  border-color: rgba(169, 139, 255, 0.34);
}

.utility-grid article:nth-child(4) {
  border-color: rgba(116, 225, 163, 0.34);
}

.disclaimer-section {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 141, 60, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 141, 60, 0.08), transparent 42%),
    var(--panel-strong);
}

.disclaimer-section .eyebrow {
  color: var(--orange);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 34px 0 54px;
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .split-section,
  .disclaimer-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-header {
    display: grid;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    order: -1;
  }

  .process-grid,
  .utility-grid,
  .tokenomics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    width: min(100vw - 24px, 1180px);
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .process-grid,
  .utility-grid,
  .tokenomics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-grid li,
  .utility-grid article,
  .tokenomics-grid article {
    min-height: auto;
  }
}
