/* ── Reset & Base ────────────────────────────────────── */

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

:root {
  --burgundy: #6b1d2a;
  --burgundy-deep: #3d0f18;
  --amber: #c98a4b;
  --gold: #d4a853;
  --cream: #f5f0e8;
  --off-white: #faf8f4;
  --black: #1a1a1a;
  --text: #2e2e2e;
  --text-muted: #6b6b6b;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
}

/* ── Single-viewport layout ─────────────────────────── */

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, var(--off-white) 0%, var(--cream) 100%);
}

/* ── Wave lines ──────────────────────────────────────── */

.wave-line {
  width: 100%;
  line-height: 0;
  color: var(--burgundy);
  opacity: 0.25;
}

.wave-line svg {
  display: block;
  width: 100%;
  height: 50px;
}

.wave-line-bottom {
  opacity: 0.15;
}

/* ── Page inner ──────────────────────────────────────── */

.page-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 2rem;
  gap: 2.5rem;
  text-align: center;
}

/* ── Header ──────────────────────────────────────────── */

.header {
  text-align: center;
}

.header-logo {
  height: clamp(80px, 12vw, 120px);
  width: auto;
  margin-bottom: 0.75rem;
}

.header h1 {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 300;
  color: var(--burgundy);
  line-height: 1.1;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 300;
  color: var(--text-muted);
}

/* ── Use Case Cards ──────────────────────────────────── */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 720px;
  width: 100%;
}

.case {
  background: rgba(255, 255, 255, 0.6);
  padding: 1.25rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(107, 29, 42, 0.08);
}

.case h3 {
  font-size: 1.1rem;
  color: var(--burgundy);
  margin-bottom: 0.4rem;
}

.case p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Honeypot (hidden from humans) ────────────────────── */

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

/* ── Waitlist ────────────────────────────────────────── */

.waitlist {
  text-align: center;
  width: 100%;
}

.waitlist-form {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  max-width: 420px;
  margin: 0 auto;
}

.waitlist-form input[type="email"] {
  flex: 1;
  padding: 0.7rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 1px solid rgba(107, 29, 42, 0.2);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
}

.waitlist-form input[type="email"]:focus {
  border-color: var(--burgundy);
}

.waitlist-form button {
  padding: 0.7rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--off-white);
  background: var(--burgundy);
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}

.waitlist-form button:hover {
  background: var(--burgundy-deep);
}

.waitlist-success {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--burgundy);
  font-size: 1.05rem;
}

/* ── Footer ──────────────────────────────────────────── */

.footer {
  padding: 1rem 2rem;
  text-align: center;
}

.footer-compat {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.35;
  letter-spacing: 0.03em;
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 640px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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