:root {
  color-scheme: dark;
  --black: #050504;
  --ink: #0b0b09;
  --surface: #11110f;
  --surface-soft: #181712;
  --cream: #f4ecd8;
  --cream-soft: #d8cfb8;
  --muted: #9d937f;
  --line: rgba(244, 236, 216, 0.14);
  --line-strong: rgba(244, 236, 216, 0.28);
  --lime: #d7ff38;
  --lime-soft: rgba(215, 255, 56, 0.18);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--cream);
  font-family: var(--sans);
  line-height: 1.5;
  background:
    radial-gradient(circle at 82% 8%, rgba(215, 255, 56, 0.12), transparent 16rem),
    radial-gradient(circle at 18% 0%, rgba(244, 236, 216, 0.08), transparent 22rem),
    linear-gradient(135deg, #050504 0%, #090907 44%, #11100d 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(244, 236, 216, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 236, 216, 0.025) 1px, transparent 1px);
  background-size: 100% 5px, 5rem 100%;
  opacity: 0.22;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  color: var(--black);
  background: var(--lime);
  border-radius: 0;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer,
main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 10;
  padding: 1rem 0 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.logo-mark {
  display: inline-block;
  font-size: clamp(1.25rem, 6vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.24em;
  line-height: 1;
}

.logo-mark::after {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.35rem;
  content: "";
  background: var(--lime);
  transform: scaleX(0.42);
  transform-origin: left;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.34rem;
  width: 2.9rem;
  height: 2.9rem;
  color: var(--cream);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 1.1rem;
  height: 1px;
  margin: 0 auto;
  background: currentColor;
}

.nav-links {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.6rem;
  background: rgba(8, 8, 6, 0.98);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.nav-links.is-open {
  display: flex;
}

.nav-links a,
.footer-links a {
  color: var(--cream-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a {
  padding: 0.9rem 0.85rem;
  border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--lime);
  background: rgba(244, 236, 216, 0.04);
  border-color: var(--line);
}

.footer-links a:hover,
.text-link:hover {
  color: var(--lime);
}

.hero,
.page-hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(3rem, 9vw, 7rem) 0;
}

.hero-home {
  min-height: calc(100vh - 5rem);
}

.page-hero {
  min-height: 55vh;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  max-width: 790px;
}

.eyebrow,
.section-kicker,
.card-label,
.card-meta,
.feature-number,
.pill {
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3.45rem, 14vw, 10rem);
  line-height: 0.82;
  letter-spacing: -0.08em;
}

h2 {
  max-width: 820px;
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 7.5vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.feature-card h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.55rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

p {
  color: var(--cream-soft);
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 2rem;
  color: var(--cream-soft);
  font-size: clamp(1.08rem, 3vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.45rem;
  padding: 0 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: var(--black);
  background: var(--lime);
  border-color: var(--lime);
}

.button-primary:hover {
  background: var(--cream);
  border-color: var(--cream);
}

.button-secondary {
  color: var(--cream);
  background: rgba(244, 236, 216, 0.035);
}

.button-secondary:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.text-link {
  display: inline-flex;
  margin-top: 1.2rem;
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.placeholder-link {
  color: var(--muted);
  cursor: default;
}

.hero-panel {
  display: none;
}

.editorial-card,
.feature-card,
.info-card,
.status-row,
.embed-placeholder,
.callout-card,
.table-wrap {
  background:
    linear-gradient(145deg, rgba(244, 236, 216, 0.075), rgba(244, 236, 216, 0.018)),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(244, 236, 216, 0.08) inset;
}

.editorial-card {
  position: relative;
  min-height: 410px;
  padding: 1.4rem;
  overflow: hidden;
}

.editorial-card::before {
  position: absolute;
  inset: auto 1.4rem 1.4rem auto;
  width: 7rem;
  height: 7rem;
  content: "";
  background: var(--lime);
  opacity: 0.9;
}

.editorial-card::after {
  position: absolute;
  inset: 1.4rem;
  content: "";
  border: 1px solid var(--line);
}

.editorial-card > * {
  position: relative;
  z-index: 1;
}

.card-title {
  display: block;
  margin: 6.5rem 0 3rem;
  font-size: clamp(3rem, 8vw, 5.6rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 0.9;
}

.card-rule {
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 1rem;
  background: var(--line-strong);
}

.card-meta {
  display: block;
  max-width: 18rem;
  color: var(--cream);
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  border-top: 1px solid var(--line);
}

.page-hero + .section {
  border-top: 0;
}

.intro-section,
.split-section {
  display: grid;
  gap: 2rem;
}

.intro-section p,
.embed-section p,
.story-copy p,
.callout-card p,
.split-section > div > p {
  max-width: 700px;
  font-size: 1.05rem;
}

.story-copy p + p {
  margin-top: 1.15rem;
}

.section-heading {
  margin-bottom: 1.75rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

.feature-card,
.info-card {
  min-height: 230px;
  padding: 1.25rem;
}

.feature-card-accent {
  border-color: rgba(215, 255, 56, 0.38);
  background:
    linear-gradient(145deg, var(--lime-soft), rgba(244, 236, 216, 0.02)),
    var(--surface);
}

.feature-number {
  display: inline-block;
  margin-bottom: 3.4rem;
}

.stack {
  display: grid;
  gap: 1rem;
}

.callout-section {
  border-top: 0;
  padding-top: 0;
}

.callout-card {
  padding: clamp(1.4rem, 5vw, 2rem);
}

.waitlist-callout {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}

.callout-card .button {
  margin-top: 1rem;
}

.table-wrap {
  overflow-x: auto;
}

.records-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.records-table caption {
  padding: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
}

.records-table th,
.records-table td {
  padding: 1rem;
  color: var(--cream-soft);
  text-align: left;
  border-top: 1px solid var(--line);
}

.records-table th {
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  padding: 0.42rem 0.55rem;
  color: var(--lime);
  background: var(--lime-soft);
  border: 1px solid rgba(215, 255, 56, 0.28);
}

.embed-shell {
  display: grid;
  gap: 2rem;
  padding: clamp(1.4rem, 5vw, 2rem);
  background:
    linear-gradient(135deg, rgba(215, 255, 56, 0.12), transparent 38%),
    var(--surface);
  border: 1px solid var(--line);
}

.embed-placeholder,
.waitlist-panel {
  color: var(--muted);
}

.embed-placeholder {
  display: grid;
  min-height: 13rem;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.waitlist-panel {
  padding: clamp(1.2rem, 4vw, 1.6rem);
  background:
    linear-gradient(145deg, rgba(215, 255, 56, 0.12), rgba(244, 236, 216, 0.025)),
    var(--ink);
  border: 1px solid rgba(215, 255, 56, 0.28);
}

.waitlist-panel h3 {
  color: var(--cream);
}

.waitlist-panel p {
  color: var(--cream-soft);
}

.waitlist-panel .button {
  width: 100%;
  margin-top: 1rem;
}

.waitlist-label {
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (min-width: 640px) {
  .site-header,
  .site-footer,
  main {
    width: min(1180px, calc(100% - 4rem));
  }

  .hero-actions,
  .site-footer,
  .footer-links {
    flex-direction: row;
  }

  .hero-actions {
    width: auto;
  }

  .button {
    min-width: 13rem;
  }

  .site-footer {
    align-items: center;
    justify-content: space-between;
  }

  .waitlist-callout {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 820px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
}

@media (min-width: 900px) {
  .hero-home {
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 4rem;
  }

  .hero-panel {
    display: block;
  }

  .intro-section,
  .split-section {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 3rem;
  }

  .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .feature-card,
  .info-card {
    padding: 1.45rem;
  }

  .embed-shell {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
  }
}

@media (max-width: 720px) {
  .records-table,
  .records-table thead,
  .records-table tbody,
  .records-table th,
  .records-table td,
  .records-table tr {
    display: block;
    min-width: 0;
  }

  .records-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .records-table tr {
    padding: 1rem;
    border-top: 1px solid var(--line);
  }

  .records-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-top: 0;
  }

  .records-table td::before {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    content: attr(data-label);
  }
}
