:root {
  color-scheme: dark;
  --bg: #06100f;
  --bg-soft: #0a1716;
  --panel: rgba(12, 30, 29, 0.78);
  --panel-strong: #102422;
  --line: rgba(134, 255, 218, 0.18);
  --line-strong: rgba(134, 255, 218, 0.34);
  --text: #eefaf6;
  --muted: #9fbab3;
  --soft: #d1ebe4;
  --green: #28f0b4;
  --cyan: #5bc7ff;
  --gold: #f5c76b;
  --pink: #ff7fb0;
  --violet: #9b8cff;
  --shadow: 0 28px 100px rgba(0, 0, 0, 0.42);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 0%, rgba(40, 240, 180, 0.15), transparent 28rem),
    radial-gradient(circle at 85% 8%, rgba(91, 199, 255, 0.13), transparent 28rem),
    linear-gradient(180deg, #071311 0%, #06100f 42%, #040908 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

.site-shell {
  overflow: hidden;
}

.topbar {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px;
  border: 1px solid rgba(134, 255, 218, 0.12);
  border-radius: 8px;
  background: rgba(4, 13, 12, 0.72);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.topbar.is-elevated {
  border-color: rgba(134, 255, 218, 0.24);
  background: rgba(4, 13, 12, 0.9);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.32);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  overflow: hidden;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(40, 240, 180, 0.35);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(40, 240, 180, 0.18), rgba(91, 199, 255, 0.12));
  color: var(--green);
  font-weight: 800;
}

.brand-mark.image-mark {
  padding: 2px;
  background:
    linear-gradient(135deg, rgba(40, 240, 180, 0.2), rgba(91, 199, 255, 0.12)),
    #071311;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.footer-mark {
  width: 44px;
  height: 44px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #c2d8d2;
  font-size: 13px;
  font-weight: 600;
}

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

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

.nav-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(134, 255, 218, 0.14);
  border-radius: 8px;
  color: #cde4de;
  font-size: 12px;
  font-weight: 800;
  transition: border-color 160ms ease, color 160ms ease;
}

.social-link:hover {
  border-color: rgba(40, 240, 180, 0.42);
  color: var(--green);
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.primary-button {
  gap: 8px;
  padding: 0 16px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #02110e;
  box-shadow: 0 14px 34px rgba(40, 240, 180, 0.22);
}

.primary-button span {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(4, 17, 14, 0.13);
  font-size: 10px;
}

.secondary-button,
.ghost-button {
  border: 1px solid rgba(134, 255, 218, 0.2);
  color: #dcefe9;
}

.secondary-button {
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.04);
}

.ghost-button {
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.02);
}

.large {
  min-height: 48px;
  padding-inline: 22px;
  font-size: 14px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(134, 255, 218, 0.22);
  border-radius: 8px;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--soft);
}

.section-pad {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 112px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  gap: 48px;
  min-height: 650px;
  align-items: start;
  padding-top: 126px;
  padding-bottom: 44px;
}

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

.hero-logo {
  display: block;
  width: min(312px, 74vw);
  height: auto;
  margin: 0 0 16px;
  border: 1px solid rgba(134, 255, 218, 0.15);
  border-radius: 8px;
  background: #071311;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

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

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

h1 {
  max-width: 680px;
  margin-bottom: 16px;
  font-size: clamp(39px, 4.45vw, 60px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.2;
}

.hero-lede,
.section-heading p,
.acs-copy p {
  color: var(--soft);
  font-size: 18px;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: 16px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 660px;
  margin: 18px 0 0;
}

.hero-stats div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.hero-stats dt {
  color: var(--green);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.terminal-wrap {
  position: relative;
}

.terminal-wrap::before {
  position: absolute;
  inset: 8% -6% auto auto;
  width: 68%;
  aspect-ratio: 1;
  border: 1px solid rgba(91, 199, 255, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 199, 255, 0.14), transparent 64%);
  content: "";
}

.terminal-card {
  position: relative;
  border: 1px solid rgba(134, 255, 218, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(20, 48, 45, 0.84), rgba(4, 13, 12, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 62px);
  box-shadow: var(--shadow);
}

.terminal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(134, 255, 218, 0.12);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.terminal-head strong {
  color: var(--green);
}

.window-dots {
  display: inline-flex;
  gap: 6px;
}

.window-dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.terminal-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  padding: 14px;
}

.market-panel,
.route-panel,
.order-panel,
.proof-panel {
  border: 1px solid rgba(134, 255, 218, 0.13);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.market-panel,
.route-panel {
  min-height: 274px;
  padding: 18px;
}

.pair-line,
.route-panel li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pair-line span,
.route-panel p,
.order-panel span,
.proof-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.pair-line strong {
  color: var(--green);
  font-size: 12px;
}

.price {
  margin-top: 18px;
  color: #ffffff;
  font-size: 34px;
  font-weight: 800;
}

.chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 150px;
  margin-top: 24px;
  padding: 0 4px;
}

.chart span {
  flex: 1;
  min-width: 7px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--green));
  opacity: 0.86;
}

.route-map {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin: 24px 0;
}

.route-map span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(91, 199, 255, 0.35);
  border-radius: 8px;
  background: rgba(91, 199, 255, 0.08);
  color: #dff7ff;
  font-size: 11px;
  font-weight: 800;
}

.route-map b {
  height: 1px;
  background: linear-gradient(90deg, rgba(91, 199, 255, 0.15), rgba(40, 240, 180, 0.86));
}

.route-panel ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-panel li {
  padding: 10px 0;
  border-top: 1px solid rgba(134, 255, 218, 0.08);
  color: var(--muted);
  font-size: 12px;
}

.route-panel li strong {
  color: var(--green);
}

.order-panel,
.proof-panel {
  padding: 18px;
}

.order-panel strong,
.proof-panel strong {
  display: block;
  margin: 8px 0;
  font-size: 22px;
}

.proof-panel strong {
  color: var(--green);
}

.order-panel p,
.proof-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.left {
  margin-inline: 0;
  text-align: left;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.problem-band,
.chain-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 62px;
  border: 1px solid rgba(134, 255, 218, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.problem-grid,
.product-grid,
.loop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.problem-grid article,
.product-card,
.tech-stack article,
.acs-grid article,
.loop-grid article,
.roadmap article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

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

.problem-grid span,
.tech-stack span,
.roadmap span,
.acs-grid span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.problem-grid p,
.product-card p,
.tech-stack p,
.roadmap p,
.loop-grid p,
.acs-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.product-card {
  min-height: 260px;
  padding: 24px;
}

.product-card.featured {
  background: linear-gradient(145deg, rgba(40, 240, 180, 0.12), rgba(12, 30, 29, 0.88));
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 48px;
  place-items: center;
  border: 1px solid rgba(134, 255, 218, 0.22);
  border-radius: 8px;
  color: var(--green);
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 58px;
  align-items: start;
}

.tech-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.tech-stack article {
  padding: 24px;
}

.chain-section {
  padding: 70px 62px;
}

.chain-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.chain-cloud span {
  padding: 10px 14px;
  border: 1px solid rgba(134, 255, 218, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #cce4de;
  font-size: 13px;
  font-weight: 700;
}

.token-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: center;
}

.token-ring {
  display: grid;
  width: min(410px, 100%);
  aspect-ratio: 1;
  place-items: center;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle, #081513 0 43%, transparent 44%),
    conic-gradient(
      #28f0b4 0 47%,
      #5bc7ff 47% 77%,
      #f5c76b 77% 90%,
      #ff7fb0 90% 99%,
      #9b8cff 99% 100%
    );
  box-shadow: 0 20px 90px rgba(40, 240, 180, 0.12);
}

.ring-core {
  display: grid;
  width: 58%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(134, 255, 218, 0.18);
  border-radius: 50%;
  background: #071311;
  text-align: center;
}

.ring-core strong {
  display: block;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.9;
}

.ring-core span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.allocation-list {
  display: grid;
  gap: 12px;
}

.allocation-list article {
  display: grid;
  grid-template-columns: 14px 76px 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.allocation-list i {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c);
}

.allocation-list strong {
  font-size: 22px;
}

.allocation-list span {
  color: var(--muted);
}

.acs-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 42px;
  align-items: center;
}

.acs-grid {
  display: grid;
  gap: 14px;
}

.acs-grid article {
  padding: 24px;
}

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

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

.roadmap article {
  position: relative;
  padding: 26px;
  overflow: hidden;
}

.roadmap article::after {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(40, 240, 180, 0.24);
  border-radius: 50%;
  content: "";
}

.roadmap strong {
  display: block;
  margin-top: 22px;
  color: var(--soft);
  font-size: 13px;
}

.governance-section {
  padding-top: 80px;
}

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

.loop-grid article {
  padding: 24px;
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 42px;
  border-top: 1px solid rgba(134, 255, 218, 0.14);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) 0.55fr minmax(320px, 0.85fr);
  gap: 56px;
  padding: 34px;
  border: 1px solid rgba(134, 255, 218, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(16, 36, 34, 0.84), rgba(5, 14, 13, 0.92)),
    radial-gradient(circle at 100% 0%, rgba(40, 240, 180, 0.08), transparent 30rem);
}

.footer-brand p {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.footer-links h2,
.footer-newsletter h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
}

.footer-links a {
  width: fit-content;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--green);
}

.footer-newsletter {
  min-width: 0;
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin: 18px 0 18px;
}

.newsletter-form input {
  min-width: 0;
  height: 44px;
  border: 1px solid rgba(134, 255, 218, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  font: inherit;
  padding: 0 14px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: #718a84;
}

.newsletter-form input:focus {
  border-color: rgba(40, 240, 180, 0.56);
}

.newsletter-form button {
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #02110e;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  padding: 0 18px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(134, 255, 218, 0.18);
  border-radius: 8px;
  color: #d8eee8;
  font-size: 13px;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.footer-socials a:hover {
  border-color: rgba(40, 240, 180, 0.42);
  background: rgba(40, 240, 180, 0.08);
  color: var(--green);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 4px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1020px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .topbar.menu-active .nav-links,
  .topbar.menu-active .nav-actions {
    position: absolute;
    left: 0;
    right: 0;
    display: grid;
    padding: 18px;
    border: 1px solid rgba(134, 255, 218, 0.18);
    background: rgba(4, 13, 12, 0.97);
  }

  .topbar.menu-active .nav-links {
    top: calc(100% + 8px);
    gap: 14px;
  }

  .topbar.menu-active .nav-actions {
    top: calc(100% + 190px);
  }

  .hero,
  .split-section,
  .token-layout,
  .acs-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 34px;
  }

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-newsletter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .topbar {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .section-pad {
    width: calc(100% - 28px);
    padding: 78px 0;
  }

  .hero {
    padding-top: 120px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-actions,
  .hero-stats,
  .problem-grid,
  .product-grid,
  .tech-stack,
  .roadmap,
  .loop-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .hero-stats {
    display: grid;
  }

  .terminal-grid {
    grid-template-columns: 1fr;
  }

  .problem-band,
  .chain-section {
    width: calc(100% - 28px);
    padding: 34px 20px;
  }

  .allocation-list article {
    grid-template-columns: 14px 62px 1fr;
    padding: 16px;
  }

  .footer {
    width: calc(100% - 28px);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 24px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }

  .footer-bottom div {
    flex-wrap: wrap;
  }
}

@media (max-width: 460px) {
  .brand strong {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-lede,
  .section-heading p,
  .acs-copy p {
    font-size: 16px;
  }

  .route-map {
    grid-template-columns: repeat(4, 1fr);
  }

  .route-map b {
    display: none;
  }
}
