/* ── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:     #1a1a2e;
  --ink-mid: #57534e;
  --ink-dim: #a8a29e;
  --bg:      #faf9f7;
  --bg-alt:  #f5f4f0;
  --teal:    #1a7f6e;
  --teal-dk: #155f52;
  --teal-lt: #edfaf7;
  --gold:    #c9913a;
  --border:  #e7e5e4;
  --radius:  10px;
  --max:     760px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-feature-settings: 'cv11' 1, 'ss01' 1;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Inter', sans-serif; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .4rem; }

p { color: var(--ink-mid); }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

section { padding: 5rem 1.5rem; }
.container { max-width: var(--max); margin: 0 auto; }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  position: sticky;
  top: 0;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  z-index: 100;
}

.logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -.02em;
  text-decoration: none;
}

.nav-cta {
  font-size: .875rem;
  font-weight: 500;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  padding: .45rem 1.1rem;
  border-radius: 100px;
  transition: background .15s, color .15s;
}
.nav-cta:hover { background: var(--teal); color: #fff; text-decoration: none; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
}

.badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  background: #fdf4e7;
  border: 1px solid #f0d9b0;
  padding: .3rem .85rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero h1 { margin-bottom: 1.5rem; }

.hero-sub {
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  color: var(--ink-mid);
}

.waitlist-form {
  display: flex;
  gap: .5rem;
  max-width: 420px;
  margin: 0 auto 1rem;
}

.waitlist-form input {
  flex: 1;
  padding: .75rem 1rem;
  border: 1.5px solid #d8d6d0;
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .15s;
}
.waitlist-form input:focus { border-color: var(--teal); }
.waitlist-form input::placeholder { color: var(--ink-dim); }

.waitlist-form button {
  padding: .75rem 1.4rem;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.waitlist-form button:hover { background: var(--teal-dk); }

.form-note { font-size: .8rem; color: var(--ink-dim); }

@media (max-width: 480px) {
  .waitlist-form { flex-direction: column; }
}

/* ── Pain section ─────────────────────────────────────────────────────────── */
.pain {
  background: var(--bg-alt);
  padding: 5rem 1.5rem;
}

.pain-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.pain-inner h2 { margin-bottom: 1.5rem; }
.pain-inner p  { font-size: 1rem; margin-bottom: 1.25rem; max-width: 640px; }

.pain-quote {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
  border-left: 3px solid var(--teal);
  padding: 1.25rem 1.5rem;
  background: var(--teal-lt);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
  line-height: 1.6;
}

/* ── How it works ─────────────────────────────────────────────────────────── */
.how {
  background: var(--bg-alt);
  padding: 5rem 1.5rem;
}
.how h2 { text-align: center; margin-bottom: 3rem; max-width: var(--max); margin-left: auto; margin-right: auto; }

.steps {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.step-num {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--teal);
  margin-bottom: .75rem;
}

.step p { font-size: .95rem; margin-top: .35rem; }

/* ── Why ──────────────────────────────────────────────────────────────────── */
.why { padding: 5rem 1.5rem; }
.why-inner { max-width: 960px; margin: 0 auto; }

.why h2 { margin-bottom: 2.5rem; text-align: center; }

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

.feature-card {
  background: var(--bg);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.feature-icon { font-size: 1.6rem; margin-bottom: .75rem; display: block; }
.feature-card strong { display: block; font-size: .95rem; color: var(--ink); margin-bottom: .4rem; }
.feature-card p { font-size: .9rem; margin: 0; }

/* ── Status ───────────────────────────────────────────────────────────────── */
.status {
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.status h2 { color: #fff; margin-bottom: 1rem; }
.status > p { max-width: 560px; margin: 0 auto 2.5rem; color: #b8b8cc; }

.status-items {
  display: inline-flex;
  flex-direction: column;
  gap: .75rem;
  text-align: left;
  margin-bottom: 2.5rem;
}

.status-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-item.done .dot    { background: #4ade80; }
.status-item.done span:last-child { color: #d4d4e8; }

.status-item.active .dot  { background: var(--gold); box-shadow: 0 0 0 3px rgba(201,145,58,.25); }
.status-item.active span:last-child { color: #fff; font-weight: 500; }

.status-item.upcoming .dot   { background: #3a3a5a; border: 1.5px solid #5a5a7a; }
.status-item.upcoming span:last-child { color: #6a6a8a; }

.cta-button {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background .15s;
  text-decoration: none;
}
.cta-button:hover { background: var(--teal-dk); text-decoration: none; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(0,0,0,.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--teal);
  font-size: 1.1rem;
}

.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { font-size: .875rem; color: var(--ink-mid); }
.footer-nav a:hover { color: var(--teal); }

.footer-copy { font-size: .8rem; color: var(--ink-dim); width: 100%; text-align: center; }

/* ── Docs pages (terms/privacy) ───────────────────────────────────────────── */
.doc-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}
.doc-page h1 { font-size: 2rem; margin-bottom: .5rem; }
.doc-page .doc-date { font-size: .85rem; color: var(--ink-dim); margin-bottom: 3rem; }
.doc-page h2 { font-size: 1.2rem; margin: 2.5rem 0 .75rem; }
.doc-page p { margin-bottom: 1rem; font-size: .95rem; }
.doc-page ul { margin: .5rem 0 1rem 1.5rem; }
.doc-page li { font-size: .95rem; color: var(--ink-mid); margin-bottom: .4rem; }
.doc-back { display: inline-block; font-size: .875rem; color: var(--teal); margin-bottom: 2rem; }
