:root {
  --ink: #061724;
  --navy: #092238;
  --deep: #0d3847;
  --teal: #0aa7b6;
  --cyan: #36e2e2;
  --mint: #a8fff4;
  --gold: #d9b75f;
  --paper: #f7fbfb;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 80px rgba(0, 12, 26, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    linear-gradient(rgba(168, 255, 244, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 255, 244, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 18% 12%, rgba(54, 226, 226, 0.28), transparent 30rem),
    radial-gradient(circle at 86% 22%, rgba(217, 183, 95, 0.2), transparent 26rem),
    linear-gradient(145deg, #05121f 0%, #0d3847 48%, #061724 100%);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 18%, rgba(0,0,0,0.18));
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(5, 18, 31, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,255,244,0.8), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav a:hover,
.header-cta:hover {
  color: var(--mint);
}

.header-cta {
  justify-self: end;
  color: var(--white);
  font-weight: 700;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(168, 255, 244, 0.35);
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.label {
  margin: 0 0 0.9rem;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 18px var(--mint);
  vertical-align: 0.05em;
}

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

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-shadow: 0 0 60px rgba(54, 226, 226, 0.18);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.hero-text,
.section-heading p,
.privacy-card p,
.token-card p,
.roadmap p,
.waitlist p,
.footer p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 640px;
  font-size: 1.15rem;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  color: #05212d;
  background: linear-gradient(135deg, var(--mint), var(--gold));
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.trust-row span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.scan-panel {
  width: min(100%, 500px);
  padding: 1.1rem;
  border: 1px solid rgba(168, 255, 244, 0.22);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  position: relative;
}

.scan-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 29px;
  background: linear-gradient(135deg, rgba(168,255,244,0.42), transparent 34%, rgba(217,183,95,0.28));
}

.scan-panel-header,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.scan-panel-header {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0.6rem 0.8rem 1rem;
}

.scan-panel-header span,
.metric-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.scan-panel-header strong {
  color: var(--mint);
}

.body-frame {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(rgba(168, 255, 244, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 255, 244, 0.08) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(54, 226, 226, 0.22), rgba(2, 12, 24, 0.76) 62%);
  background-size: 34px 34px, 34px 34px, auto;
}

.body-frame::before {
  content: "BODYGRAPH // SIGNAL MAP // READ_ONLY";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 1rem;
  color: rgba(168, 255, 244, 0.5);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.body-core {
  position: absolute;
  inset: 62px 34% 70px;
  border-radius: 46% 46% 38% 38%;
  background:
    radial-gradient(circle at 50% 24%, rgba(168, 255, 244, 0.55), transparent 16%),
    linear-gradient(180deg, rgba(54, 226, 226, 0.2), rgba(10, 167, 182, 0.05));
  border: 1px solid rgba(168, 255, 244, 0.4);
  box-shadow: 0 0 70px rgba(54, 226, 226, 0.24);
}

.body-core::before,
.body-core::after {
  content: "";
  position: absolute;
  top: 22%;
  width: 86px;
  height: 190px;
  border: 1px solid rgba(168, 255, 244, 0.28);
  border-radius: 999px;
}

.body-core::before {
  right: 82%;
  transform: rotate(18deg);
}

.body-core::after {
  left: 82%;
  transform: rotate(-18deg);
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  box-shadow: 0 0 24px var(--cyan);
  animation: scan 4s ease-in-out infinite;
}

@keyframes scan {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50% { transform: translateY(290px); opacity: 1; }
}

.metric-chip {
  position: absolute;
  max-width: 170px;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(168, 255, 244, 0.22);
  border-radius: 999px;
  color: var(--mint);
  background: rgba(5, 18, 31, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
}

.chip-a { top: 18%; left: 6%; }
.chip-b { right: 6%; top: 48%; }
.chip-c { left: 10%; bottom: 12%; }

.metric-grid {
  margin-top: 0.9rem;
}

.metric-grid div {
  min-height: 88px;
  padding: 0.85rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.metric-grid strong {
  display: block;
  margin-top: 0.45rem;
}

.ticker-strip,
.ops-strip,
.section,
.split-section,
.terminal-section,
.waitlist,
.footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.ops-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: -2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(168, 255, 244, 0.18);
  border-radius: 18px;
  background: rgba(168, 255, 244, 0.18);
  box-shadow: var(--shadow);
}

.ops-strip span {
  padding: 0.85rem 1rem;
  color: rgba(168, 255, 244, 0.86);
  background: rgba(5, 18, 31, 0.88);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(168, 255, 244, 0.18);
  border-radius: 24px;
  background: rgba(168, 255, 244, 0.16);
  box-shadow: var(--shadow);
}

.ticker-strip div {
  padding: 1.2rem;
  background: rgba(5, 18, 31, 0.78);
}

.ticker-strip strong {
  display: block;
  font-size: clamp(1.25rem, 3vw, 2rem);
}

.section,
.split-section,
.waitlist {
  padding: clamp(5rem, 9vw, 8rem) 0 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

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

.feature-grid article,
.roadmap div,
.privacy-card,
.token-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 20px 60px rgba(0, 12, 26, 0.18);
  backdrop-filter: blur(18px);
}

.feature-grid article,
.roadmap div {
  min-height: 260px;
  padding: 1.4rem;
}

.feature-grid article {
  position: relative;
  overflow: hidden;
}

.feature-grid article::after {
  content: "";
  position: absolute;
  inset: auto 1.4rem 1.1rem 1.4rem;
  height: 3px;
  background: linear-gradient(90deg, var(--mint), transparent);
  opacity: 0.55;
}

.icon,
.roadmap span {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--mint);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.terminal-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(5rem, 9vw, 8rem) 0 0;
}

.terminal-card {
  overflow: hidden;
  border: 1px solid rgba(168, 255, 244, 0.2);
  border-radius: 24px;
  background: rgba(2, 10, 18, 0.86);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,0.04);
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
}

.terminal-top span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: rgba(168, 255, 244, 0.7);
}

.terminal-top span:nth-child(2) {
  background: rgba(217, 183, 95, 0.8);
}

.terminal-top span:nth-child(3) {
  background: rgba(10, 167, 182, 0.9);
}

.terminal-top strong {
  margin-left: 0.5rem;
  color: rgba(255,255,255,0.62);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.8rem;
}

.terminal-body {
  padding: clamp(1.1rem, 3vw, 2rem);
  min-height: 280px;
  background:
    radial-gradient(circle at 10% 0%, rgba(54, 226, 226, 0.14), transparent 22rem),
    linear-gradient(rgba(168, 255, 244, 0.035) 1px, transparent 1px);
  background-size: auto, 100% 32px;
}

.terminal-body p {
  margin: 0 0 1rem;
  color: rgba(225, 255, 252, 0.84);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.82rem, 1.6vw, 1rem);
  line-height: 1.7;
}

.terminal-body span {
  color: var(--gold);
  margin-right: 0.5rem;
}

.console-copy p:last-child {
  color: var(--muted);
  line-height: 1.75;
}

.privacy-card {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.privacy-card ul {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.privacy-card li {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.token-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  background: rgba(168, 255, 244, 0.16);
}

.token-card h3 {
  text-transform: uppercase;
}

.token-card > div {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: rgba(5, 18, 31, 0.82);
}

.token-card h3 {
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.04em;
}

.waitlist {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(168, 255, 244, 0.22);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(10, 167, 182, 0.22), rgba(217, 183, 95, 0.14));
}

.waitlist > div {
  max-width: 720px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 4rem 0 2rem;
}

.footer p {
  max-width: 620px;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .hero,
  .split-section,
  .feature-grid,
  .roadmap,
  .token-card,
  .terminal-section,
  .ops-strip,
  .ticker-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .body-frame {
    min-height: 360px;
  }

  .waitlist,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
