/* Typo Round by Manfred Klein (StudioTypo) — self-hosted, demo release. */
@font-face {
  font-family: 'Typo Round';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url('/fonts/TypoRound-Regular.woff2') format('woff2'),
    url('/fonts/TypoRound-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'Typo Round';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    url('/fonts/TypoRound-Bold.woff2') format('woff2'),
    url('/fonts/TypoRound-Bold.otf') format('opentype');
}

:root {
  --bg: #0b1220;
  --bg-elevated: #111827;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-glow: rgba(59, 130, 246, 0.35);
  --success: #22c55e;
  --font: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Typo Round', system-ui, sans-serif;
  --radius: 14px;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(99, 102, 241, 0.12), transparent),
    var(--bg);
  line-height: 1.6;
}

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

.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;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.hero {
  padding: 6rem 0 5rem;
  text-align: center;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.2vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 400;
}

/* Wordmark: rounded, uniform, slightly tighter — this is the brand lockup. */
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.005em;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 38rem;
  margin: 0 auto 2.5rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
}

.hero-actions {
  max-width: 28rem;
  margin: 0 auto;
}

.waitlist {
  display: flex;
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02), 0 24px 48px -24px var(--accent-glow);
}

.waitlist input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

.waitlist input::placeholder {
  color: #64748b;
}

.waitlist input:focus {
  outline: none;
}

.waitlist button {
  flex-shrink: 0;
  padding: 0.85rem 1.35rem;
  border: none;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.waitlist button:hover {
  background: var(--accent-hover);
}

.waitlist button:active {
  transform: scale(0.98);
}

.form-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* No status message yet → take up no space (avoids an empty gap under the form). */
.form-note:empty {
  display: none;
}

.form-note.success {
  color: var(--success);
}

.features {
  padding: 2rem 0 4rem;
}

.features h2 {
  margin: 0 0 2rem;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

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

.feature-grid article {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.feature-grid h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.proof {
  padding: 2rem 0;
  text-align: center;
}

.proof-line {
  margin: 0;
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  color: var(--muted);
  font-size: 1.05rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.footer-domain {
  font-weight: 500;
  color: #64748b;
}

@media (max-width: 640px) {
  .waitlist {
    flex-direction: column;
    padding: 0.5rem;
  }

  .waitlist button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
  }
}
