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

/* ── TOKENS ── */
:root {
  --cream:      #F7F3EC;
  --cream-dark: #EDE7DB;
  --ink:        #1A1714;
  --ink-soft:   #3D3730;
  --ink-muted:  #7A7068;
  --sage:       #5E7A66;
  --sage-dark:  #46604F;
  --sage-light: #D5E4D8;
  --warm:       #B8855A;
  --warm-light: #F2E8DC;
  --green:      #3A7D44;
  --green-bg:   #E8F5EB;
  --yellow:     #B07D0A;
  --yellow-bg:  #FFF8E1;
  --red:        #C0392B;
  --red-bg:     #FDECEA;
  --rule:       rgba(26, 23, 20, 0.12);
  --rule-light: rgba(255, 255, 255, 0.10);
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Figtree', system-ui, sans-serif;
  --shadow-lg:  0 12px 40px rgba(26, 23, 20, 0.10);
  --shadow-md:  0 8px 28px rgba(26, 23, 20, 0.08);
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Paper-grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
}

a { color: inherit; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  padding: 0 clamp(16px, 4vw, 48px);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
}

img#logo { width: 120px; }

.nav-right { display: flex; align-items: center; gap: 16px; }

.nav-user { font-size: 0.8rem; color: var(--ink-muted); }

.nav-cta {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  text-decoration: none;
  border: 1px solid var(--sage);
  padding: 7px 18px;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.nav-cta:hover { background: var(--sage); color: #fff; transform: translateY(-1px); }

.nav-back {
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.nav-back:hover { color: var(--sage); }

.btn-signout {
  font-size: 0.75rem;
  color: var(--sage);
  background: none;
  border: 1px solid rgba(94, 122, 102, 0.4);
  padding: 5px 12px;
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.2s;
}

.btn-signout:hover { background: var(--sage-light); }

/* ── SECTIONS ── */
section {
  padding: clamp(64px, 10vw, 120px) clamp(24px, 6vw, 80px);
}

.section-inner { max-width: 900px; margin: 0 auto; }

.section-number {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  color: var(--warm);
  text-transform: uppercase;
  display: block;
  margin-bottom: 18px;
}

.section-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: 28px;
}

.section-body {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 680px;
}

.section-body p + p { margin-top: 1.2em; }

hr.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0 clamp(24px, 6vw, 80px);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%       { transform: translateY(-8px); opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50%       { opacity: 1; transform: scale(1); }
}

/* Pulsing dot for "Available now" live badge */
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

.fade-up { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.10s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.40s; }
.delay-4 { animation-delay: 0.55s; }
.delay-5 { animation-delay: 0.65s; }

/* ── HERO ── */
#hero {
  min-height: calc(100vh - 60px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  padding: clamp(48px, 8vw, 100px) clamp(24px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

#hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(94, 122, 102, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.5;
}

.hero-content,
.hero-visual { position: relative; z-index: 1; }

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--warm);
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.06;
  color: var(--cream);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero-headline em { font-style: italic; color: var(--sage-light); }

.hero-sub {
  font-size: 1.05rem;
  color: rgba(247, 243, 236, 0.78);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 18px;
}

.hero-trust {
  font-size: 0.92rem;
  color: rgba(247, 243, 236, 0.60);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-note {
  font-size: 0.8rem;
  color: rgba(247, 243, 236, 0.52);
  line-height: 1.6;
}

.hero-visual { display: flex; justify-content: center; }

/* ── HERO CARD ── */
.hero-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 36px;
  max-width: 390px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(26, 23, 20, 0.07), 0 2px 8px rgba(26, 23, 20, 0.04);
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 32px; right: 32px; height: 3px;
  background: linear-gradient(90deg, var(--warm), var(--sage));
  border-radius: 0 0 2px 2px;
}

.hero-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.hero-card-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}

.hero-card-sub {
  font-size: 0.86rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ── CHECKLIST (hero card) ── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.89rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.checklist li::before {
  content: "";
  display: inline-block;
  width: 16px; height: 16px; min-width: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--sage);
  margin-top: 1px;
  background: var(--sage-light) url("data:image/svg+xml,%3Csvg viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%235E7A66' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

/* ── FORMS ── */
.signup-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  max-width: 480px;
  width: 100%;
}

.inline-form {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  flex-wrap: wrap;
}

.email-input {
  flex: 1 1 240px;
  min-width: 200px;
  border: 1px solid rgba(247, 243, 236, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  padding: 14px 16px;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.email-input::placeholder { color: rgba(247, 243, 236, 0.45); }

.email-input:focus {
  border-color: rgba(247, 243, 236, 0.38);
  background: rgba(255, 255, 255, 0.10);
}

/* Light variant (waitlist section) */
.email-input--light {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* Turnstile sits below the email row */
.turnstile-wrap { width: 100%; }

/* ── BUTTONS ── */
.btn-primary, .btn-light, .btn-buy, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn-primary { font-size: 0.85rem; padding: 14px 28px; background: var(--sage); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--cream); color: var(--ink); transform: translateY(-1px); }

.btn-light { font-size: 0.85rem; padding: 16px 34px; background: var(--cream); color: var(--ink); }
.btn-light:hover:not(:disabled) { background: var(--ink); color: var(--cream); transform: translateY(-1px); }

.btn-buy { font-size: 0.88rem; padding: 15px 36px; background: var(--ink); color: var(--cream); width: 100%; margin-bottom: 12px; }
.btn-buy:hover:not(:disabled) { background: var(--sage); transform: translateY(-1px); }

.btn { font-size: 0.85rem; padding: 14px 32px; background: var(--ink); color: var(--cream); }
.btn:hover { background: var(--sage); transform: translateY(-1px); }

.btn-primary:disabled,
.btn-light:disabled,
.btn-buy:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.arrow { font-size: 1rem; transition: transform 0.2s ease; }
.btn-primary:hover:not(:disabled) .arrow,
.btn-light:hover:not(:disabled)   .arrow { transform: translateX(4px); }

.btn-signin {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: var(--sage);
  text-decoration: none;
  padding: 10px;
}

.btn-signin:hover { text-decoration: underline; }

/* ── FORM FEEDBACK MESSAGES ── */
.form-message {
  display: none;
  font-size: 0.88rem;
  line-height: 1.5;
  padding: 12px 16px;
  border-radius: 3px;
  width: 100%;
  max-width: 480px;
}

.form-message--success {
  background: rgba(94, 122, 102, 0.18);
  border: 1px solid rgba(94, 122, 102, 0.4);
  color: var(--sage-light);
}

#waitlist .form-message--success {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.form-message--error {
  background: rgba(192, 57, 43, 0.15);
  border: 1px solid rgba(192, 57, 43, 0.4);
  color: #ffb3ae;
}

#waitlist .form-message--error { color: #ffe0de; }

/* ── WHY SECTION ── */
#why { background: var(--cream); }

.why-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }

.why-aside { position: sticky; top: 80px; }

.why-pull {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--sage);
  border-left: 2px solid var(--sage);
  padding-left: 20px;
  margin-top: 32px;
  max-width: 320px;
}

/* ── WHAT SECTION ── */
#what { background: var(--ink); }
#what .section-heading { color: var(--cream); }
#what .section-number  { color: var(--warm); }

.what-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px;
  margin-top: 48px;
  border: 1px solid var(--rule-light);
}

.what-item {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: background 0.2s ease;
}

.what-item:hover { background: rgba(255, 255, 255, 0.04); }
.what-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.what-text { font-size: 0.95rem; color: rgba(247, 243, 236, 0.85); line-height: 1.55; }

/* ── COMING SOON / TOOLS SECTION ── */
#soon { background: var(--warm-light); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

/* Live product card — highlighted with sage border */
.product-card--live {
  border: 2px solid var(--sage);
}

.product-card--live .product-card-tag {
  background: var(--sage-light);
  color: var(--sage);
  border-color: rgba(94, 122, 102, 0.35);
}

/* Pulsing "Available now" badge shown on live products */
.product-card-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}

.product-card-live-badge::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sage);
  animation: livePulse 2s ease-in-out infinite;
}

/* Price display on live product cards */
.product-card-price {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--ink);
  margin: 14px 0 4px;
  line-height: 1;
}

.product-card-price-note {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

/* CTA button inside product cards */
.btn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 20px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  margin-top: 4px;
}

.btn-card:hover { background: var(--sage); transform: translateY(-1px); }

.product-card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm);
  background: var(--warm-light);
  border: 1px solid rgba(184, 133, 90, 0.30);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 18px;
}

.product-card-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}

.product-card-desc { font-size: 0.88rem; color: var(--ink-muted); line-height: 1.65; }

.product-card-corner {
  position: absolute;
  bottom: 0; right: 0;
  width: 60px; height: 60px;
  opacity: 0.06;
  background: var(--ink);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* ── WHO SECTION ── */
#who { background: var(--cream-dark); }

.who-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.who-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sage);
  background: var(--sage-light);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(94, 122, 102, 0.25);
}

.who-visual {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.who-stat-row { display: flex; flex-direction: column; gap: 24px; }

.who-stat { display: flex; gap: 16px; align-items: flex-start; }

.who-stat-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--warm);
  line-height: 1;
  min-width: 72px;
}

.who-stat-label { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.5; padding-top: 4px; }

.who-stat-label strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

/* ── WAITLIST SECTION ── */
#waitlist {
  background: var(--sage);
  text-align: center;
  padding: clamp(80px, 12vw, 140px) clamp(24px, 6vw, 80px);
}

#waitlist .section-number  { color: rgba(255, 255, 255, 0.65); }
#waitlist .section-heading { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 22px; }

.waitlist-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 540px;
  margin: 0 auto 34px;
  line-height: 1.7;
}

.waitlist-form-outer {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.waitlist-inline {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.waitlist-note { font-size: 0.8rem; color: rgba(255, 255, 255, 0.62); line-height: 1.6; }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 34px clamp(24px, 6vw, 80px);
  text-align: center;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(247, 243, 236, 0.56);
  margin-bottom: 12px;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(247, 243, 236, 0.38);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── LOADING / GATE SCREENS ── */
#loading-screen, #gate-screen {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

#gate-screen { display: none; }

#app { display: none; } /* shown after access confirmed */

.gate-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 48px 40px;
  max-width: 460px;
  width: calc(100% - 48px);
  text-align: center;
  box-shadow: 0 8px 40px rgba(26, 23, 20, 0.08);
  position: relative;
}

.gate-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--warm), var(--sage));
  border-radius: 2px 2px 0 0;
}

.gate-title {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.25;
}

.gate-sub { font-size: 0.95rem; color: var(--ink-muted); line-height: 1.65; margin-bottom: 28px; }

.gate-price {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 6px;
}

.gate-price-note { font-size: 0.8rem; color: var(--ink-muted); margin-bottom: 28px; }

.loading-dots { display: flex; gap: 6px; }

.dot {
  width: 8px; height: 8px;
  background: var(--sage);
  border-radius: 50%;
  animation: bounce 1.2s ease-in-out infinite;
}

.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

/* ── PROGRESS BAR ── */
.progress-bar-wrap {
  background: var(--cream-dark);
  padding: 16px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 60px;
  z-index: 99;
}

.progress-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
}

.progress-label { font-size: 0.8rem; color: var(--ink-muted); font-weight: 500; }

.progress-counts { display: flex; gap: 16px; }

.count-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}

.count-badge.green  { background: var(--green-bg); color: var(--green); }
.count-badge.yellow { background: var(--yellow-bg); color: var(--yellow); }
.count-badge.red    { background: var(--red-bg); color: var(--red); }

.progress-track {
  height: 6px;
  background: rgba(26, 23, 20, 0.1);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
}

.progress-fill-green  { background: var(--green); height: 100%; transition: width 0.3s; }
.progress-fill-yellow { background: var(--yellow); height: 100%; transition: width 0.3s; }
.progress-fill-red    { background: var(--red); height: 100%; transition: width 0.3s; }

/* ── CHECKLIST APP ── */
.checklist-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 64px) clamp(16px, 4vw, 48px);
}

.checklist-header { margin-bottom: 48px; }

.checklist-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 12px;
}

.checklist-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 16px;
}

.checklist-intro {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 640px;
}

.how-to-use {
  background: var(--warm-light);
  border: 1px solid rgba(184, 133, 90, 0.2);
  border-radius: 6px;
  padding: 24px 28px;
  margin: 32px 0 48px;
}

.how-to-use h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.how-to-use p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 14px;
}

.legend { display: flex; gap: 20px; flex-wrap: wrap; }

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.legend-dot { width: 12px; height: 12px; border-radius: 50%; }
.legend-dot.green  { background: var(--green); }
.legend-dot.yellow { background: var(--yellow); }
.legend-dot.red    { background: var(--red); }

.section-group { margin-bottom: 48px; }

.section-label {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.section-letter {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm);
  background: var(--warm-light);
  padding: 3px 8px;
  border-radius: 2px;
}

/* ── ITEM CARDS ── */
.item-card {
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: #fff;
  margin-bottom: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.item-card:hover { box-shadow: 0 4px 20px rgba(26, 23, 20, 0.07); }

.item-card.marked-green  { border-left: 4px solid var(--green); }
.item-card.marked-yellow { border-left: 4px solid var(--yellow); }
.item-card.marked-red    { border-left: 4px solid var(--red); }

.item-header {
  padding: 20px 24px 16px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  user-select: none;
}

.item-num {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--ink-muted);
  min-width: 28px;
  padding-top: 1px;
}

.item-question {
  flex: 1;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

.item-chevron {
  font-size: 0.9rem;
  color: var(--ink-muted);
  transition: transform 0.2s;
  margin-top: 2px;
}

.item-card.expanded .item-chevron { transform: rotate(90deg); }

.item-body {
  display: none;
  padding: 18px 24px 20px 68px;
  border-top: 1px solid var(--rule);
}

.item-card.expanded .item-body { display: block; }

.item-field { margin-bottom: 16px; }

.item-field-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 6px;
}

.item-field-text { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.65; }

.item-field-text.followup {
  font-style: italic;
  color: var(--sage);
  font-family: var(--serif);
  font-size: 1rem;
}

/* ── MARK BUTTONS ── */
.mark-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.mark-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 3px;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.15s;
  background: none;
}

.mark-btn.green  { border-color: var(--green); color: var(--green); }
.mark-btn.yellow { border-color: var(--yellow); color: var(--yellow); }
.mark-btn.red    { border-color: var(--red); color: var(--red); }
.mark-btn.clear  { border-color: var(--rule); color: var(--ink-muted); }

.mark-btn.green:hover,  .mark-btn.green.active  { background: var(--green-bg); }
.mark-btn.yellow:hover, .mark-btn.yellow.active { background: var(--yellow-bg); }
.mark-btn.red:hover,    .mark-btn.red.active    { background: var(--red-bg); }
.mark-btn.clear:hover                            { background: var(--cream-dark); }

.mark-btn.active { font-weight: 700; }

/* ── FINAL REVIEW ── */
.final-review {
  background: var(--ink);
  border-radius: 8px;
  padding: 40px;
  margin-top: 56px;
  color: var(--cream);
}

.final-review h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}

.final-review p {
  font-size: 0.95rem;
  color: rgba(247, 243, 236, 0.75);
  line-height: 1.7;
  margin-bottom: 20px;
}

.final-questions {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.final-questions li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: rgba(247, 243, 236, 0.85);
  line-height: 1.5;
}

.final-questions li::before { content: '→'; color: var(--warm); flex-shrink: 0; font-size: 1rem; }

.red-flag-alert {
  background: rgba(192, 57, 43, 0.2);
  border: 1px solid rgba(192, 57, 43, 0.4);
  border-radius: 4px;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #ffb3ae;
  line-height: 1.6;
  display: none;
}

.red-flag-alert.visible { display: block; }

/* ── RESET BUTTON ── */
.reset-wrap {
  text-align: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.btn-reset {
  font-size: 0.8rem;
  color: var(--ink-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  text-decoration: underline;
  padding: 8px;
}

.btn-reset:hover { color: var(--red); }

/* ── MAIN / SUCCESS PAGE ── */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 56px 48px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 40px rgba(26, 23, 20, 0.07);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.6s ease forwards;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--warm), var(--sage));
}

.success-icon {
  width: 64px; height: 64px;
  background: var(--sage-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.success-icon svg { width: 28px; height: 28px; }

.card-title {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 12px;
}

.card-sub { font-size: 1rem; color: var(--ink-muted); line-height: 1.7; margin-bottom: 36px; }

.processing { font-size: 0.85rem; color: var(--ink-muted); margin-top: 20px; }

/* ── LOGIN PAGE ── */
.login-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 48px 40px;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(26, 23, 20, 0.07);
}

.login-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--warm), var(--sage));
  border-radius: 2px 2px 0 0;
  margin: -48px -40px 40px;
}

.login-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 12px;
}

.login-title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 8px;
}

.login-sub { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.6; margin-bottom: 32px; }

#clerk-sign-in {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-state { text-align: center; color: var(--ink-muted); font-size: 0.9rem; }

.loading-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--sage);
  border-radius: 50%;
  animation: pulse 1.2s ease-in-out infinite;
  margin: 0 2px;
}

.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

.clerk-error {
  display: none;
  background: var(--red-bg);
  border: 1px solid rgba(192, 57, 43, 0.3);
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--red);
  line-height: 1.5;
  margin-top: 16px;
}

.login-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 0.78rem;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 920px) {
  #hero { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .why-grid, .who-layout { grid-template-columns: 1fr; gap: 40px; }
  .why-aside { position: static; }
}

@media (max-width: 768px) {
  nav { height: auto; min-height: 60px; padding-top: 10px; padding-bottom: 10px; gap: 14px; flex-wrap: wrap; }
  #hero { min-height: auto; gap: 36px; }
  .hero-card { padding: 28px; }
  .what-grid, .cards-grid { grid-template-columns: 1fr; }
  .who-visual { display: none; }
  .inline-form, .waitlist-inline { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-light, .email-input { width: 100%; }
  .hero-sub, .hero-trust { max-width: 100%; }
  .signup-form-wrap { max-width: 100%; }
}

@media (max-width: 600px) {
  .item-body { padding-left: 24px; }
  .mark-buttons { gap: 6px; }
  .mark-btn { font-size: 0.72rem; padding: 7px 12px; }
  .final-review { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .login-card { padding: 36px 24px; }
  .login-card::before { margin: -36px -24px 32px; }
}