@font-face {
  font-family: 'Geist';
  src: url('/fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('/fonts/GeistMono-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: #FFFFFF;
  --foreground: #09090B;
  --card: #FFFFFF;
  --primary: #18181B;
  --primary-foreground: #FFFFFF;
  --muted: #F4F4F5;
  --muted-foreground: #52525B;
  --border: #E4E4E7;
  --accent: #F4F4F5;
  --bg-raised: #FAFAFA;
  --destructive: #DC2626;
  --green: #16A34A;
  --green-subtle: rgba(22, 163, 74, 0.1);
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

nav .wrap {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--foreground);
}

.logo span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.badge {
  margin-left: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
}

main {
  padding: 96px 0 64px;
}

.hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 20px;
}

h1 .muted {
  color: var(--muted-foreground);
}

.lede {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0 auto 40px;
  max-width: 560px;
}

/* ── Waitlist form ── */

.waitlist {
  max-width: 440px;
  margin: 0 auto;
}

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

.waitlist input[type='email'] {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  font-size: 15px;
  font-family: inherit;
}

.waitlist input[type='email']:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.waitlist button {
  height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  border: none;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.waitlist button:hover {
  opacity: 0.9;
}

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

/* honeypot, hidden from real users, left in the tab order for bots only */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist-status {
  margin-top: 14px;
  font-size: 14px;
  min-height: 20px;
}

.waitlist-status[data-state='ok'] {
  color: var(--green);
}

.waitlist-status[data-state='error'] {
  color: var(--destructive);
}

.waitlist-hint {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted-foreground);
}

/* ── Features ── */

.features {
  margin-top: 96px;
}

.features-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  margin-bottom: 10px;
}

.features-head h2 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.features-head p {
  color: var(--muted-foreground);
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}

footer {
  border-top: 1px solid var(--border);
}

footer .wrap {
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted-foreground);
}
