:root {
  color-scheme: dark;

  /* -- surface & text -- */
  --landing-bg: #0a0a0b;
  --landing-fg: #f3f1ec;
  --landing-muted: rgba(243, 241, 236, 0.6);
  --landing-faint: rgba(243, 241, 236, 0.38);
  --landing-border: rgba(255, 255, 255, 0.09);
  --landing-surface: rgba(255, 255, 255, 0.03);

  /* -- functional call-state colors (the one place this page spends color) -- */
  --state-amber: #e8a33d;
  --state-rose: #d9695a;
  --state-green: #3fbe8e;

  /* -- type -- */
  --font-display: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

body.landing-body {
  background: var(--landing-bg);
  font-family: var(--font-display);
  color: var(--landing-fg);
}

body.landing-body::before {
  opacity: 0.16;
  filter: grayscale(1) contrast(1.1) brightness(0.5);
}

body.landing-body::after {
  background: rgba(4, 4, 6, 0.5);
}

.landing-shell {
  min-height: 100vh;
  padding: 0 40px 96px;
}

/* Strip the glass-card look entirely: this is a page, not a floating panel */
.landing-shell .landing-card,
.landing-page {
  width: min(100%, 90rem);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.landing-page {
  display: grid;
  gap: 0;
}

/* ---------- top bar ---------- */

.landing-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 56px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--landing-fg);
}

.brand-logo {
  display: block;
  width: auto;
  height: 22px;
}

.brand-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--state-green);
}

.brand-dot.small {
  width: 5px;
  height: 5px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--landing-border);
  background: transparent;
  color: var(--landing-fg);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:focus-visible,
.btn-primary:focus-visible {
  outline: 2px solid var(--state-green);
  outline-offset: 2px;
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  justify-items: start;
  gap: 22px;
  text-align: left;
  padding-bottom: 64px;
}

.eyebrow,
.waitlist-eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--landing-faint);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.04em;
  font-size: clamp(2.6rem, 6.2vw, 5.6rem);
  line-height: 1.02;
  color: var(--landing-fg);
}

.call-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.01em;
}

.call-status-step {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.call-status-step .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.call-status-step.is-neutral {
  color: var(--landing-faint);
}

.call-status-step.is-amber {
  color: var(--state-amber);
}

.call-status-step.is-rose {
  color: var(--state-rose);
}

.call-status-step.is-rose.is-skipped {
  text-decoration: line-through;
  text-decoration-color: currentColor;
  opacity: 0.65;
}

.call-status-step.is-green {
  color: var(--state-green);
  font-weight: 500;
}

.call-status-step.is-green .dot {
  box-shadow: 0 0 0 0 rgba(63, 190, 142, 0.5);
  animation: status-pulse 2.4s ease-in-out infinite;
}

.call-status-line {
  width: 16px;
  height: 1px;
  background: var(--landing-border);
}

@keyframes status-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(63, 190, 142, 0.5);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(63, 190, 142, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .call-status-step.is-green .dot {
    animation: none;
  }
}

.hero-copy {
  max-width: 34rem;
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  min-width: 9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--landing-fg);
  color: #0a0a0b;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-primary:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

/* ---------- statement divider ---------- */

.statement-line {
  max-width: 52rem;
  margin: 0;
  padding: 44px 0;
  border-top: 1px solid var(--landing-border);
  border-bottom: 1px solid var(--landing-border);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.3;
}

/* ---------- shared section rhythm ---------- */

.stack-section {
  display: grid;
  gap: 18px;
  padding: 64px 0;
  border-bottom: 1px solid var(--landing-border);
}

.section-heading {
  margin: 0;
  max-width: 30rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  line-height: 1.2;
  color: var(--landing-fg);
}

/* ---------- problem list ---------- */

.problem-list {
  display: grid;
  gap: 0;
  max-width: 54rem;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.problem-list li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 4px 16px;
  padding: 18px 0;
  border-top: 1px solid var(--landing-border);
}

.problem-list li:last-child {
  border-bottom: 1px solid var(--landing-border);
}

.problem-index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--landing-faint);
  padding-top: 2px;
}

.problem-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--landing-fg);
}

.problem-list p {
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.6;
}

/* ---------- compare ---------- */

.compare {
  display: grid;
  gap: 1px;
  margin-top: 8px;
  background: var(--landing-border);
  border: 1px solid var(--landing-border);
  border-radius: 16px;
  overflow: hidden;
}

.compare-col {
  padding: 22px;
  background: var(--landing-bg);
  display: grid;
  gap: 8px;
  align-content: start;
}

.compare-col.is-highlight {
  background: rgba(63, 190, 142, 0.06);
}

.compare-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--landing-faint);
}

.compare-col.is-highlight .compare-label {
  color: var(--state-green);
}

.compare-col p:last-child {
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .compare {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- featured feature (AI suggestions gets the spotlight) ---------- */

.feature-featured {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  padding: 28px;
  border: 1px solid rgba(63, 190, 142, 0.32);
  border-radius: 16px;
  background: rgba(63, 190, 142, 0.06);
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--state-green);
}

.feature-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--state-green);
}

.feature-featured-label {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--landing-fg);
}

.feature-featured-copy {
  margin: 0;
  max-width: 42rem;
  color: var(--landing-muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

/* ---------- feature grid ---------- */

.feature-grid {
  display: grid;
  gap: 1px;
  margin-top: 20px;
  background: var(--landing-border);
  border: 1px solid var(--landing-border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-item {
  padding: 20px;
  background: var(--landing-bg);
  display: grid;
  gap: 6px;
  align-content: start;
}

.feature-label {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--landing-fg);
}

.feature-item p:last-child {
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.6;
  font-size: 0.94rem;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  max-width: 54rem;
  margin-top: 8px;
}

.faq-item {
  padding: 18px 0;
  border-top: 1px solid var(--landing-border);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--landing-border);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--landing-fg);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex: none;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--landing-faint);
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item p {
  margin: 12px 0 0;
  max-width: 34rem;
  color: var(--landing-muted);
  line-height: 1.6;
}

/* ---------- closing CTA ---------- */

.waitlist-cta {
  display: grid;
  justify-items: start;
  gap: 16px;
  padding: 64px 0 48px;
  text-align: left;
}

.waitlist-cta p {
  max-width: 32rem;
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.65;
}

/* ---------- footer ---------- */

.landing-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 32px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--landing-faint);
}

/* ---------- waitlist modal ---------- */

.waitlist-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.waitlist-modal[hidden] {
  display: none;
}

.waitlist-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.waitlist-dialog {
  position: relative;
  width: min(100%, 480px);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--landing-border);
  background: #131316;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
  font-family: var(--font-display);
  color: var(--landing-fg);
}

.waitlist-step {
  display: grid;
  gap: 14px;
}

.waitlist-step[hidden] {
  display: none;
}

.waitlist-step h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.waitlist-dialog-copy {
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.65;
}

.waitlist-form {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.waitlist-field {
  display: grid;
  gap: 7px;
  text-align: left;
}

.waitlist-field span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--landing-faint);
}

.waitlist-field input {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--landing-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--landing-fg);
  font-family: var(--font-display);
  font-size: 0.94rem;
  outline: none;
}

.waitlist-field input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.waitlist-field input:focus {
  border-color: var(--state-green);
  box-shadow: 0 0 0 3px rgba(63, 190, 142, 0.15);
}

.waitlist-error {
  margin: 0;
  color: var(--state-rose);
  line-height: 1.6;
  text-align: left;
  font-size: 0.9rem;
}

.waitlist-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--landing-border);
  background: transparent;
  color: var(--landing-fg);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.waitlist-close:hover {
  background: rgba(255, 255, 255, 0.05);
}

.waitlist-submit {
  margin-top: 4px;
  width: 100%;
}

/* ---------- mobile ---------- */

@media (max-width: 640px) {
  .landing-shell {
    padding: 0 18px 72px;
  }

  .landing-topbar {
    padding: 22px 0 40px;
  }

  .hero {
    padding-bottom: 48px;
  }

  .stack-section,
  .waitlist-cta {
    padding: 48px 0;
  }

  .statement-line {
    padding: 32px 0;
  }

  .waitlist-dialog {
    padding: 24px 20px;
  }
}
  