:root {
  color-scheme: dark;
  --bg: #070a0f;
  --bg-soft: #0c111a;
  --panel: #101720;
  --panel-strong: #16212d;
  --text: #f3f7f2;
  --muted: #9fb0ad;
  --line: #26323d;
  --accent: #8ff0c8;
  --accent-strong: #d6ff7d;
  --gold: #d4a843;
  --danger: #ff7a90;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
  font-family:
    Avenir Next,
    Avenir,
    Segoe UI,
    system-ui,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(143, 240, 200, 0.14), transparent 32rem),
    radial-gradient(circle at 86% 12%, rgba(212, 168, 67, 0.1), transparent 26rem),
    linear-gradient(180deg, #070a0f 0%, #0a0f16 48%, #070a0f 100%);
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 15, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(143, 240, 200, 0.75);
  background:
    linear-gradient(135deg, transparent 42%, var(--accent) 43%, var(--accent) 57%, transparent 58%),
    linear-gradient(45deg, transparent 42%, var(--gold) 43%, var(--gold) 57%, transparent 58%);
  box-shadow: 0 0 24px rgba(143, 240, 200, 0.32);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.84fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 66px);
  padding: clamp(72px, 8vw, 124px) clamp(20px, 5vw, 78px) clamp(44px, 5vw, 78px);
}

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

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(52px, 7vw, 108px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.hero p,
.section-heading p,
.split-section > div:first-child p,
.offer-copy p,
.proof-section p,
.contact-section > div p {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button.primary {
  background: var(--accent);
  color: #07100d;
}

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

.hero-system {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(143, 240, 200, 0.18);
  background:
    linear-gradient(135deg, rgba(16, 23, 32, 0.94), rgba(10, 15, 22, 0.86)),
    repeating-linear-gradient(90deg, transparent 0 35px, rgba(255, 255, 255, 0.03) 36px);
  box-shadow: var(--shadow);
}

.flow-node,
.ledger-card,
.rail-step,
.module-list article,
.atlas-grid article,
.offer-panel,
.intake-form {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.flow-node {
  padding: 20px;
}

.flow-node span,
.card-label,
.atlas-grid span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flow-node strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.1;
}

.flow-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.rail-step {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.ledger-card {
  padding: 20px;
}

.ledger-card dl {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.ledger-card div,
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.ledger-card dt,
.price-row span {
  color: var(--muted);
}

.buy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent, #8ff0c8);
  color: #0a1a14;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.buy-link:hover,
.buy-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(143, 240, 200, 0.35);
}

.ledger-card dd {
  margin: 0;
  font-weight: 800;
}

.thesis-band {
  padding: 48px clamp(20px, 8vw, 120px);
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(143, 240, 200, 0.06);
}

.thesis-band p {
  max-width: 1180px;
  margin: 0 auto;
  font-size: clamp(25px, 3.4vw, 48px);
  line-height: 1.12;
}

.split-section,
.offer-section,
.proof-section,
.contact-section {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(70px, 8vw, 124px) clamp(20px, 5vw, 78px);
}

.module-list {
  display: grid;
  gap: 14px;
}

.module-list article,
.atlas-grid article {
  padding: 24px;
}

.module-list p,
.atlas-grid p,
.offer-panel li,
.form-note {
  color: var(--muted);
}

.control-plane,
.atlas-section {
  padding: clamp(70px, 8vw, 124px) clamp(20px, 5vw, 78px);
  background: rgba(255, 255, 255, 0.025);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 36px;
}

.plane-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(100px, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow-x: auto;
}

.plane-grid div {
  min-height: 108px;
  display: flex;
  align-items: end;
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
  font-size: 15px;
  font-weight: 800;
}

.offer-panel {
  padding: 28px;
  background: linear-gradient(135deg, rgba(143, 240, 200, 0.1), rgba(212, 168, 67, 0.06));
}

.price-row {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-row strong {
  font-size: 24px;
}

.offer-panel ul {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding-left: 22px;
}

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

.atlas-grid article {
  min-height: 228px;
}

.atlas-grid h3 {
  margin-top: 42px;
}

.proof-section {
  align-items: center;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-strip span {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 800;
}

.contact-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.report-section {
  display: grid;
  gap: 18px;
  padding: 0 clamp(20px, 5vw, 78px) clamp(70px, 8vw, 124px);
}

.report-summary {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(143, 240, 200, 0.22);
  background: linear-gradient(135deg, rgba(143, 240, 200, 0.12), rgba(255, 255, 255, 0.035));
}

.report-summary strong {
  display: block;
  font-size: 76px;
  line-height: 0.9;
}

.report-summary p {
  margin: 0;
  color: var(--text);
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.08;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

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

.report-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.report-grid p {
  color: var(--muted);
}

.report-json {
  max-height: 540px;
  overflow: auto;
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #05070a;
  color: #d7fbe8;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.intake-form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.field-hint {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  padding: 13px 14px;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 78px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: var(--accent);
}

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

  .hero,
  .split-section,
  .offer-section,
  .proof-section,
  .contact-section,
  .report-summary {
    grid-template-columns: 1fr;
  }

  .atlas-grid,
  .report-grid {
    grid-template-columns: 1fr 1fr;
  }

  .report-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .flow-rail,
  .atlas-grid,
  .report-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
