:root {
  --bg: #f4f0e8;
  --text: #171714;
  --muted: #6f6b63;
  --faint: #9a958c;
  --line: rgba(23, 23, 20, 0.14);
  --line-strong: rgba(23, 23, 20, 0.24);
  --accent: #171714;
  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-variant-numeric: lining-nums proportional-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.site-shell {
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.site-header {
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.wordmark {
  font-size: 1.06rem;
  font-weight: 640;
  letter-spacing: -0.03em;
}

.header-cta {
  font-size: 0.88rem;
  font-weight: 560;
  transition: color 160ms ease;
}
.header-cta:hover,
.header-cta:focus-visible { color: var(--muted); }

.main-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  padding: clamp(24px, 3vw, 48px) 0;
  min-height: 0;
}

.hero {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 4.5vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 520;
}

.hero-copy {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.3vw, 1.12rem);
  line-height: 1.55;
  letter-spacing: -0.015em;
}

.waitlist-form {
  margin-top: 24px;
}

.email-field {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.email-field input {
  min-width: 0;
  flex: 1;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.28);
  color: var(--text);
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.email-field input::placeholder { color: var(--faint); }
.email-field input:focus {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.48);
}

.email-field button {
  height: 44px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 0 18px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 570;
  white-space: nowrap;
  transition: transform 160ms ease, opacity 160ms ease;
}

.email-field button:hover { transform: translateY(-1px); }
.email-field button:active { transform: translateY(0); }
.email-field button:disabled { opacity: 0.6; cursor: wait; }

.form-note,
.form-status {
  min-height: 1.2em;
  margin: 8px 0 0;
  color: var(--faint);
  font-size: 0.75rem;
}

.form-status.success { color: var(--muted); }
.form-status.error { color: #7c342e; }

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

.demo {
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 3vw, 48px);
}

.demo-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-date {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 510;
  font-variant-numeric: lining-nums proportional-nums;
}

.demo-theme {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.demo-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.demo-list li {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 6px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.demo-list li::before {
  content: "\2022";
  color: var(--faint);
  font-size: 0.8em;
  line-height: 2;
}

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

.demo-list sup {
  color: var(--faint);
  font-size: 0.6em;
  line-height: 1;
  padding-top: 3px;
}

.demo-footnote {
  margin: 12px 0 0;
  color: var(--faint);
  font-size: 0.75rem;
}

.site-footer {
  height: 48px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 760px) {
  body {
    height: auto;
    overflow: auto;
  }
  .site-shell {
    width: min(calc(100% - 28px), 1180px);
    height: auto;
  }
  .main-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0;
  }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .hero-copy { margin-top: 16px; }
  .email-field { flex-direction: column; }
  .email-field button { width: 100%; }
  .demo {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
