/* Kept launch site: system font stack, no external requirements. */

:root {
  --bg: #fbfaf8;
  --bg-alt: #f2f0eb;
  --fg: #16181d;
  --muted: #52565f;
  --border: #ddd9d0;
  --accent: #1f5aa8;
  --accent-fg: #ffffff;
  --radius: 10px;
  --max-width: 1040px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14151a;
    --bg-alt: #1b1d24;
    --fg: #f1f0ec;
    --muted: #b3b6bf;
    --border: #33353e;
    --accent: #6ea3e8;
    --accent-fg: #0c1420;
  }
}

* {
  box-sizing: border-box;
}

/* Any author rule that sets display (buttons, flex containers, etc.) can
   otherwise beat the UA [hidden] default, since both are 0-specificity
   type/attribute selectors and author order decides the tie. This keeps
   [hidden] authoritative everywhere on the page. */
[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-size: 17px;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--accent);
}

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

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  color: var(--fg);
}

.logo img {
  border-radius: 6px;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.site-header nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
}

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

/* Hero */

.hero {
  padding: 56px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.25;
  margin: 0 0 28px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.hero-note {
  color: var(--muted);
  font-size: 14px;
  margin: 10px 0 0;
}

/* Waitlist form */

.waitlist-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.waitlist-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  color: var(--fg);
}

.waitlist-form input[type="email"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.button,
.waitlist-form button {
  display: inline-block;
  padding: 12px 22px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-fg);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover,
.waitlist-form button:hover {
  filter: brightness(1.08);
}

.button:focus-visible,
.waitlist-form button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.waitlist-form button:disabled {
  opacity: 0.6;
  cursor: default;
}

.waitlist-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  font-size: 14px;
}

.waitlist-status[data-state="success"] {
  color: #1a7f37;
}

.waitlist-status[data-state="error"] {
  color: #c0342c;
}

@media (prefers-color-scheme: dark) {
  .waitlist-status[data-state="success"] {
    color: #4bd07a;
  }
  .waitlist-status[data-state="error"] {
    color: #ff8a80;
  }
}

/* Hero video placeholder */

.video-placeholder {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
}

.play-icon {
  width: 56px;
  height: 56px;
}

.video-placeholder span {
  font-size: 14px;
}

/* Proof points */

.proof {
  padding: 48px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 28px;
}

.proof-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.proof-item h3 {
  font-size: 19px;
  margin: 0 0 10px;
}

.proof-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Pricing */

.pricing {
  padding: 56px 0;
  text-align: center;
}

.pricing h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 12px;
}

.price {
  font-size: 56px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

.price-badge {
  display: inline-block;
  margin: 8px 0 18px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.price-detail {
  max-width: 460px;
  margin: 0 auto 24px;
  color: var(--muted);
}

/* Testimonials (empty until beta quotes exist) */

.testimonial-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* FAQ */

.faq {
  padding: 56px 0 72px;
}

.faq h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 24px;
}

.faq dl {
  margin: 0;
  display: grid;
  gap: 24px;
}

.faq-item dt {
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 6px;
}

.faq-item dd {
  margin: 0;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Responsive */

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 0 32px;
  }

  .price {
    font-size: 44px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-form input[type="email"] {
    /* flex: 1 1 220px sets a 220px basis on the flex main axis. Once
       flex-direction flips to column above, that axis is height, not
       width, and without this the input balloons to ~220-430px tall. */
    flex-basis: auto;
  }

  .waitlist-form button {
    width: 100%;
  }
}
