:root {
  --bg: #fff7f3;
  --bg-grad-1: #ffe6dd;
  --bg-grad-2: #f4e6ff;
  --ink: #1a1326;
  --muted: #6b5d75;
  --accent: #ff6b6b;
  --accent-2: #6c5ce7;
  --card: #ffffff;
  --radius: 18px;
}

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

html, body { height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, var(--bg-grad-1) 0%, var(--bg) 50%, var(--bg-grad-2) 100%);
  background-attachment: fixed;
  min-height: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

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

.logo {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}
.logo span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 auto 1.25rem;
  max-width: 18ch;
}

h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.waitlist {
  display: flex;
  gap: 0.4rem;
  max-width: 460px;
  margin: 0 auto 0.85rem;
  background: var(--card);
  padding: 0.4rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px -10px rgba(108, 92, 231, 0.25);
}
.waitlist input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.85rem 1.1rem;
  font-size: 1rem;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  min-width: 0;
}
.waitlist input::placeholder {
  color: #b9adc3;
}
.waitlist button {
  border: none;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
  white-space: nowrap;
}
.waitlist button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(255, 107, 107, 0.5);
}
.waitlist button:active { transform: translateY(0); }

.muted {
  color: var(--muted);
  font-size: 0.875rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 3rem 0 4rem;
}

.pillar {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px -10px rgba(26, 19, 38, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -12px rgba(26, 19, 38, 0.18);
}

.pillar .emoji {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.pillar h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pillar p {
  color: var(--muted);
  font-size: 0.95rem;
}

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  padding-bottom: 2rem;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

footer a:hover { color: var(--ink); }

@media (max-width: 540px) {
  .waitlist {
    flex-direction: column;
    border-radius: var(--radius);
    padding: 0.6rem;
  }
  .waitlist button { width: 100%; }
}
