:root {
  color-scheme: dark;
  --ink: #f5f0e8;
  --muted: #c9c1b4;
  --line: rgba(245, 240, 232, 0.2);
  --panel: rgba(13, 15, 16, 0.64);
  --black: #070807;
  --teal: #3ee7cf;
  --amber: #ffba52;
  --red: #ff5f57;
  --violet: #9d7dff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 68px 68px,
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px) 0 0 / 68px 68px,
    radial-gradient(circle at 50% 20%, rgba(255, 186, 82, 0.08), transparent 34rem);
  mask-image: linear-gradient(to bottom, black, rgba(0,0,0,0.7), transparent);
}

#sentra-scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  background: #070807;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  background: linear-gradient(to bottom, rgba(7, 8, 7, 0.82), rgba(7, 8, 7, 0));
}

.brand,
.nav-links a,
.primary-action,
.ghost-action,
.contact-strip a {
  color: var(--ink);
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1rem;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(62, 231, 207, 0.7);
  border-radius: 8px;
  position: relative;
  background: rgba(62, 231, 207, 0.08);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border-radius: 50%;
  border: 2px solid var(--amber);
}

.brand-mark::after {
  inset: 0.95rem;
  background: var(--teal);
  border: 0;
  box-shadow: 0 0 1.25rem var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 8, 7, 0.46);
  backdrop-filter: blur(18px);
  padding: 0.25rem;
}

.nav-links a {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  padding: 0 0.85rem;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

main {
  position: relative;
  z-index: 2;
}

.panel {
  min-height: 115vh;
  width: 100%;
  display: grid;
  align-items: center;
  padding: 7rem 7vw;
  position: relative;
}

.hero {
  min-height: 100vh;
  align-items: end;
  padding-bottom: 7rem;
}

.split {
  grid-template-columns: minmax(18rem, 0.9fr) minmax(18rem, 1fr);
  gap: 8vw;
}

.reverse {
  grid-template-columns: minmax(18rem, 1fr) minmax(18rem, 0.9fr);
}

.focus {
  justify-items: center;
  text-align: center;
  gap: 2.5rem;
}

.contact {
  min-height: 100vh;
  justify-items: center;
  text-align: center;
}

.copy {
  max-width: 44rem;
  text-wrap: balance;
}

.narrow {
  max-width: 34rem;
}

.hero-copy {
  max-width: 47rem;
}

.center-copy,
.contact-copy {
  max-width: 48rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

h1 {
  margin-bottom: 1.3rem;
  max-width: 47rem;
  font-size: 4.25rem;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: 3rem;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.lead,
.copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.lead {
  max-width: 41rem;
  font-size: 1.22rem;
}

.action-row,
.contact-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.primary-action,
.ghost-action,
.contact-strip a {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 1.1rem;
  font-weight: 800;
}

.primary-action {
  background: var(--amber);
  color: #1a1002;
  box-shadow: 0 0 2.5rem rgba(255, 186, 82, 0.28);
}

.ghost-action,
.contact-strip a {
  border: 1px solid var(--line);
  background: rgba(7, 8, 7, 0.42);
  backdrop-filter: blur(18px);
  color: var(--ink);
}

.feature-stack,
.system-grid,
.proof-board {
  display: grid;
  gap: 1rem;
}

.feature-stack article,
.system-grid article,
.proof-board div {
  border: 1px solid rgba(245, 240, 232, 0.18);
  border-radius: 8px;
  background: rgba(7, 8, 7, 0.5);
  backdrop-filter: blur(20px);
  padding: 1.1rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.22);
}

.feature-stack article:nth-child(2),
.system-grid article:nth-child(2) {
  border-color: rgba(255, 186, 82, 0.3);
}

.feature-stack article:nth-child(3),
.system-grid article:nth-child(3) {
  border-color: rgba(255, 95, 87, 0.28);
}

.metric {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--amber);
  font-weight: 900;
  font-size: 1.65rem;
}

.feature-stack p,
.system-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.system-grid {
  width: min(100%, 68rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}

.proof-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: center;
}

.proof-board strong {
  display: block;
  color: var(--ink);
  font-size: 2.6rem;
  line-height: 1;
}

.proof-board span {
  display: block;
  margin-top: 0.75rem;
  color: var(--muted);
}

.scroll-cue {
  position: absolute;
  left: 7vw;
  bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.scroll-cue span {
  width: 2.8rem;
  height: 1px;
  background: var(--teal);
  box-shadow: 0 0 1rem var(--teal);
}

.stage-meter {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  width: 3px;
  height: 28vh;
  transform: translateY(-50%);
  background: rgba(245, 240, 232, 0.16);
  z-index: 9;
  border-radius: 999px;
  overflow: hidden;
}

.stage-meter span {
  display: block;
  width: 100%;
  height: calc(var(--scroll, 0) * 100%);
  background: linear-gradient(to bottom, var(--teal), var(--amber), var(--red));
}

@media (max-width: 900px) {
  .site-header {
    padding: 0.85rem 1rem;
  }

  .nav-links {
    display: none;
  }

  .panel,
  .split,
  .reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 6rem 1.15rem;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 5rem;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .lead,
  .copy p {
    font-size: 1rem;
  }

  .system-grid,
  .proof-board {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .stage-meter {
    right: 0.7rem;
    height: 22vh;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .brand {
    font-size: 0.95rem;
  }

  .action-row,
  .contact-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action,
  .ghost-action,
  .contact-strip a {
    width: 100%;
  }
}
