:root {
  color-scheme: dark;
  --ink: #f5f4ec;
  --muted: #b7beb7;
  --panel: rgba(15, 27, 25, 0.82);
  --panel-strong: rgba(9, 20, 18, 0.95);
  --line: rgba(245, 244, 236, 0.14);
  --accent: #7ed6a5;
  --amber: #e1b866;
  --rust: #c77a4a;
  --teal: #5dc6be;
  --bg: #07110f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
}

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

#subsurface-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background: #07110f;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 17, 15, 0.96) 0%, rgba(7, 17, 15, 0.74) 42%, rgba(7, 17, 15, 0.88) 100%),
    radial-gradient(circle at 68% 18%, rgba(126, 214, 165, 0.2), transparent 30%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 18px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 15, 0.78);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #07110f;
  background: linear-gradient(135deg, var(--accent), var(--amber));
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

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

.nav-cta,
.primary-action,
.secondary-action {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 44px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  font-weight: 720;
}

.nav-cta {
  color: var(--ink);
  border-color: rgba(126, 214, 165, 0.45);
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(28px, 7vw, 110px);
  align-items: center;
  padding: clamp(56px, 8vw, 104px) clamp(18px, 7vw, 96px) clamp(34px, 5vw, 72px);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(4.4rem, 12vw, 11rem);
  line-height: 0.82;
  font-weight: 880;
}

.lede {
  max-width: 760px;
  margin: 30px 0 0;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  line-height: 1.35;
  color: #e7e3d8;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  min-width: 160px;
}

.primary-action {
  color: #06120f;
  background: var(--accent);
  border-color: var(--accent);
}

.secondary-action {
  color: var(--ink);
  background: rgba(245, 244, 236, 0.05);
}

.status-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: #dfe7dc;
  font-weight: 720;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 22px rgba(225, 184, 102, 0.8);
}

dl {
  margin: 0;
}

.status-panel div:not(.status-row) {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.status-panel div:last-child {
  border-bottom: 0;
}

dt {
  color: var(--muted);
  font-size: 0.82rem;
}

dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.band {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 7vw, 96px);
  background: rgba(7, 17, 15, 0.9);
  border-top: 1px solid var(--line);
}

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

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4.3rem);
  line-height: 1.02;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.module-grid article {
  min-height: 240px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.module-grid span {
  color: var(--amber);
  font-weight: 900;
}

h3 {
  margin: 44px 0 14px;
  font-size: 1.18rem;
}

.module-grid p,
.proof-copy p,
.beta-text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(26px, 6vw, 84px);
  align-items: center;
  background: rgba(13, 24, 22, 0.94);
}

.proof-copy p {
  max-width: 720px;
  margin-top: 22px;
  font-size: 1.05rem;
}

.proof-ladder {
  display: grid;
  gap: 12px;
}

.proof-ladder div {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 74px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.proof-ladder strong {
  color: var(--accent);
}

.proof-ladder span {
  color: #d5d9d1;
}

.beta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: clamp(26px, 6vw, 80px);
  align-items: end;
}

.beta-text {
  max-width: 760px;
}

.beta-text p + p {
  margin-top: 16px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 7vw, 96px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #07110f;
}

@media (max-width: 980px) {
  .hero,
  .proof,
  .beta-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

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

  h1 {
    font-size: clamp(3.6rem, 19vw, 6rem);
  }

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

  .status-panel div:not(.status-row),
  .proof-ladder div {
    grid-template-columns: 1fr;
  }

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