/* ── reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; }

/* ── base ── */
body {
  min-height: 100%;
  font-family: "Inter", system-ui, sans-serif;
  color: #1a1a1a;
  background: #faf9f7;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ── header ── */
.header {
  padding: 2.5rem 2rem;
}

.logo {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: -0.01em;
}

/* ── hero ── */
.hero {
  max-width: 42rem;
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
}

.hero-kicker {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a7a5a;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #111;
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #555;
  font-weight: 300;
}

/* ── pillars ── */
.pillars {
  max-width: 52rem;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.pillar {
  position: relative;
}

.pillar-number {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #c4a96a;
  margin-bottom: 0.75rem;
}

.pillar h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.pillar p {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.65;
  font-weight: 400;
}

/* ── quote ── */
.quote {
  max-width: 38rem;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.quote blockquote {
  border: none;
}

.quote p {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.quote cite {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.03em;
}

/* ── signup / waitlist ── */
.signup {
  max-width: 32rem;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
  text-align: center;
}

.signup-text {
  font-size: 1rem;
  color: #777;
  margin-bottom: 2rem;
  font-weight: 400;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.waitlist-row {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s;
}

.waitlist-row:focus-within {
  border-color: #c4a96a;
}

.waitlist-row[data-expanded="true"] {
  flex-direction: column;
}

.waitlist-form input {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1rem;
  border: none;
  background: transparent;
  color: #1a1a1a;
  font: inherit;
  font-size: 0.92rem;
  outline: none;
}

.waitlist-form input::placeholder {
  color: #aaa;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 0;
  background: #1a1a1a;
  color: #faf9f7;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn:hover {
  background: #333;
}

.btn-outline {
  background: transparent;
  border: 1px solid #ddd;
  color: #1a1a1a;
}

.btn-outline:hover {
  background: #f0eeeb;
}

.waitlist-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.waitlist-choices[hidden] {
  display: none;
}

.waitlist-choices .btn {
  border-radius: 8px;
  font-size: 0.82rem;
  padding: 0.8rem 0.75rem;
}

.status {
  min-height: 1.25rem;
  font-size: 0.85rem;
  color: #999;
}

.status[data-tone="pending"] { color: #c4a96a; }
.status[data-tone="success"] { color: #5a8a5a; }
.status[data-tone="error"]   { color: #b85a5a; }

/* ── footer ── */
.footer {
  border-top: 1px solid #e8e6e1;
  padding: 2rem;
}

.footer-inner {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #999;
}

.footer a {
  font-size: 0.8rem;
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: #555;
}

/* ── utility ── */
.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;
}

/* ── responsive ── */
@media (max-width: 640px) {
  .hero {
    padding: 4rem 1.5rem 3rem;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem 3rem;
  }

  .quote {
    padding: 3rem 1.5rem;
  }

  .signup {
    padding: 1.5rem 1.5rem 4rem;
  }

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

  .btn {
    border-radius: 0 0 7px 7px;
  }

  .waitlist-choices {
    grid-template-columns: 1fr;
  }
}
