:root {
  --surface: #FDFBF7;
  --ink: #2C2B29;
  --muted: #8A857C;
  --brand: #758266;
  --brand-soft: #DCE2D4;
  --card: #ffffff;
  --border: #E1DBD1;
  --hero: #3f4a38;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Nunito, system-ui, sans-serif;
  line-height: 1.6;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.wrap { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: Fraunces, Georgia, serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-size: 0.95rem;
}
.logo img {
  height: 56px;
  width: auto;
  border-radius: 10px;
  background: #050814;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.25rem;
  font-size: 0.95rem;
}
.nav-links a { color: var(--ink); }
.nav-links a[aria-current="page"] { font-weight: 700; }

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  color: white;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20, 19, 17, 0.62) 0%, rgba(20, 19, 17, 0.74) 48%, rgba(20, 19, 17, 0.88) 100%),
    url("https://images.unsplash.com/photo-1711107754300-67d5d87c75e7?auto=format&fit=crop&w=1600&q=80") center/cover;
}
.hero-inner { padding: 3.5rem 2.2rem; max-width: 40rem; }
.hero-mark {
  width: min(280px, 70vw);
  height: auto;
  border-radius: 16px;
  margin-bottom: 1.1rem;
  background: #050814;
}
.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  opacity: 0.95;
}
.hero .eyebrow,
.hero h1,
.hero p {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.2; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0.4rem 0 0.8rem; font-weight: 600; }
.hero p { margin: 0 0 1.4rem; font-size: 1.1rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-block;
  background: var(--brand);
  color: white;
  border: 1px solid var(--brand);
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}
.btn:hover { text-decoration: none; opacity: 0.92; }
.btn:disabled { opacity: 0.65; cursor: wait; }
.hero .btn:not(.ghost) {
  background: #ffffff;
  color: #3f4a38;
  border-color: #ffffff;
}
.btn.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: white;
}
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin: 3rem 0;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.3rem;
}
.card h3 { margin-top: 0; }

.section { padding: 3.5rem 0; }
.section p.lead { font-size: 1.12rem; color: #4A4742; max-width: 40rem; }
.kicker { color: var(--brand); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.78rem; font-weight: 700; }
.prose { max-width: 40rem; color: #4A4742; }
.prose ol { padding-left: 1.2rem; color: #4A4742; }
.prose li { margin: 0.4rem 0; }
.why,
.waitlist {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.6rem 1.8rem;
  max-width: 40rem;
}
.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
  margin: 1rem 0 0.6rem;
}
.waitlist-form input[type="email"] {
  flex: 1 1 16rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
}
.fineprint { color: var(--muted); font-size: 0.9rem; margin: 0.4rem 0 0; }
.form-status { margin: 0.8rem 0 0; color: #4A4742; }
.form-status.error { color: #8a4a3c; }
.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;
}
.disclaimer {
  background: var(--brand-soft);
  border-radius: 20px;
  padding: 1.4rem 1.6rem;
}
.legal-body { max-width: 42rem; padding: 1rem 0 4rem; }
.legal-body h1 { font-size: 2.2rem; margin-bottom: 0.3rem; }
.legal-body .updated { color: var(--muted); }
.legal-body h2 { margin-top: 2rem; font-size: 1.3rem; }
.legal-body p { color: #4A4742; }

.not-found {
  min-height: 52vh;
  display: grid;
  align-content: center;
  padding: 2rem 0 4rem;
  max-width: 38rem;
}
.not-found h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0.35rem 0 0.8rem; }
.not-found .hero-actions { margin-top: 1.4rem; }

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  justify-content: space-between;
}

@media (max-width: 700px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    justify-content: flex-start;
    font-size: 0.85rem;
    gap: 0.65rem 0.9rem;
  }
  .hero-inner { padding: 2.4rem 1.3rem; }
}
