:root {
  color-scheme: dark;
  --ink: #11100d;
  --paper: #f4efe4;
  --paper-strong: #fffaf0;
  --steel: #aeb7ad;
  --muted: #d3c9b8;
  --line: rgba(244, 239, 228, 0.18);
  --acid: #b7ff52;
  --coral: #ff6f59;
  --cyan: #4fd7c5;
  --amber: #ffbd54;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  align-items: center;
  padding: 28px clamp(20px, 5vw, 72px) 72px;
  isolation: isolate;
}

.hero-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-canvas {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(17, 16, 13, 0.62), rgba(17, 16, 13, 0.2)),
    #11100d;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 16, 13, 0.92) 0%, rgba(17, 16, 13, 0.58) 52%, rgba(17, 16, 13, 0.24) 100%),
    linear-gradient(180deg, rgba(17, 16, 13, 0.2) 0%, rgba(17, 16, 13, 0.82) 100%);
}

.topbar {
  position: absolute;
  inset: 24px clamp(20px, 5vw, 72px) auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  font-size: 1rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(17, 16, 13, 0.34);
  backdrop-filter: blur(14px);
}

.nav-links a:focus-visible,
.nav-links a:hover {
  outline: 2px solid rgba(183, 255, 82, 0.58);
  color: var(--paper-strong);
}

.hero-content {
  width: min(760px, 100%);
  padding-top: 64px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--acid);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: 5rem;
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.8rem;
  line-height: 1.02;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.15;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.28rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 18px;
  font-size: 0.92rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: 2px solid rgba(79, 215, 197, 0.42);
}

.button-primary {
  border: 1px solid rgba(183, 255, 82, 0.74);
  background: var(--acid);
  color: #172007;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(244, 239, 228, 0.08);
  color: var(--paper);
}

.hero-status {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 28px;
  display: grid;
  max-width: 340px;
  gap: 6px;
  border-left: 3px solid var(--coral);
  padding-left: 16px;
  color: var(--muted);
}

.hero-status span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-status strong {
  color: var(--paper-strong);
  font-size: 1rem;
  line-height: 1.35;
}

.section {
  padding: 96px clamp(20px, 5vw, 72px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
}

.section-heading p:not(.eyebrow),
.launch-inner p {
  color: rgba(244, 239, 228, 0.76);
  font-size: 1.08rem;
  line-height: 1.7;
}

.section-light {
  background: var(--paper);
  color: #171512;
}

.section-light .eyebrow {
  color: #3c7b29;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.note-card,
.lab-card {
  min-height: 260px;
  border: 1px solid rgba(23, 21, 18, 0.16);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 250, 240, 0.72);
}

.lab-card {
  border-color: var(--line);
  background: rgba(244, 239, 228, 0.06);
}

.note-index {
  display: block;
  margin-bottom: 34px;
  color: #6d5d41;
  font-size: 0.78rem;
  font-weight: 900;
}

.note-card p {
  color: #4d4538;
  line-height: 1.62;
}

.lab-card .note-index {
  color: var(--amber);
}

.lab-card p {
  color: var(--muted);
  line-height: 1.62;
}

.section-ink {
  background:
    linear-gradient(115deg, rgba(79, 215, 197, 0.14), transparent 38%),
    linear-gradient(290deg, rgba(255, 111, 89, 0.16), transparent 42%),
    #14120f;
}

.systems-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 42px;
  align-items: start;
}

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

.system-row {
  display: grid;
  grid-template-columns: 40px 96px 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(244, 239, 228, 0.06);
}

.section-light .system-row {
  border-color: rgba(23, 21, 18, 0.16);
  background: rgba(255, 250, 240, 0.72);
}

.system-row span {
  color: var(--amber);
  font-weight: 900;
}

.section-light .system-row span {
  color: #9b3f2f;
}

.system-row strong {
  color: var(--paper-strong);
}

.section-light .system-row strong {
  color: #171512;
}

.system-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.section-light .system-row p {
  color: #4d4538;
}

.section-launch {
  background: #fffaf0;
  color: #171512;
}

.section-launch .eyebrow {
  color: #9b3f2f;
}

.launch-inner {
  max-width: 780px;
}

.launch-inner p {
  color: #4d4538;
  margin-bottom: 28px;
}

@media (max-width: 860px) {
  .hero {
    min-height: 88vh;
    padding-bottom: 120px;
  }

  .topbar {
    align-items: flex-start;
  }

  .nav-links {
    max-width: 230px;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .hero-status {
    left: 20px;
    right: 20px;
    max-width: none;
  }

  .note-grid,
  .lab-grid,
  .systems-layout {
    grid-template-columns: 1fr;
  }

  .system-row {
    grid-template-columns: 36px 1fr;
  }

  .system-row p {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .topbar {
    position: relative;
    inset: auto;
    margin-bottom: 56px;
  }

  .nav-links {
    display: none;
  }

  .hero-content {
    padding-top: 0;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 1.82rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
