:root {
  --bg: #f5f0e8;
  --bg-dark: #2c2416;
  --text: #2c2416;
  --muted: #7a6e5f;
  --card: #ffffff;
  --border: #e0d8cc;
  --green: #d4e6c3;
  --green-dark: #6aab5e;
  --peach: #f2d9c8;
  --peach-dark: #d4885a;
  --blue: #c3d9e6;
  --blue-dark: #5e8fab;
  --lavender: #ddd3ef;
  --yellow: #f0e6c3;
  --pill: #ede8df;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(245,240,232,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Lora', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 9px 22px;
  border-radius: 22px;
  background: var(--text);
  color: var(--bg) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; color: var(--bg) !important; }
.nav-signin {
  padding: 9px 22px;
  border-radius: 22px;
  background: transparent;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.nav-signin:hover { border-color: var(--muted); color: var(--text); }

.nav-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  color: var(--text);
  flex-shrink: 0;
}
.nav-menu-toggle:focus-visible {
  outline: 2px solid var(--blue-dark);
  outline-offset: 2px;
}
.nav-menu-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 22px;
}
.nav-menu-toggle-bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
nav.nav-open .nav-menu-toggle-bars span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
nav.nav-open .nav-menu-toggle-bars span:nth-child(2) { opacity: 0; }
nav.nav-open .nav-menu-toggle-bars span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(44, 36, 22, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
}
.nav-backdrop[hidden] { display: none !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}

/* Subtle organic background blobs */
.hero::before {
  content: '';
  position: absolute;
  top: 10%; left: -8%;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,230,195,0.55) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 5%; right: -6%;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195,217,230,0.45) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--green);
  color: #3a5a2c;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s 0.1s ease forwards;
}

.hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s ease forwards;
}
.hero h1 em {
  font-style: italic;
  color: var(--muted);
}

.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 300;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.7s 0.35s ease forwards;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.7s 0.5s ease forwards;
}
.btn-primary {
  padding: 15px 32px;
  border-radius: 30px;
  background: var(--text);
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44,36,22,0.18);
}
.btn-secondary {
  padding: 14px 28px;
  border-radius: 30px;
  background: transparent;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--muted); color: var(--text); }

.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 0.7s 0.65s ease forwards;
}

/* ── PRIVACY ── */
.privacy-section {
  padding: 16px 24px 80px;
  max-width: 640px;
  margin: 0 auto;
}
.privacy-details {
  background: var(--pill);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.privacy-details[open] .privacy-chevron { transform: rotate(180deg); }

.privacy-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  list-style: none;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  -webkit-tap-highlight-color: transparent;
}
.privacy-trigger::-webkit-details-marker { display: none; }
.privacy-trigger::marker { display: none; content: ''; }
.privacy-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #4f4a42;
  flex-shrink: 0;
}
.privacy-icon svg { display: block; }
.privacy-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}
.privacy-chevron {
  font-size: 12px;
  color: var(--muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.privacy-body {
  padding: 0 20px 18px;
  border-top: 1px solid var(--border);
}
.privacy-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 10px;
}
.privacy-body p:first-child { margin-top: 16px; }
.privacy-body p:last-child { margin-bottom: 0; }

/* ── SCREEN STRIP ── */
.screens-section {
  padding: 40px 0 64px;
  overflow: hidden;
  position: relative;
}

.screens-scroll {
  display: flex;
  gap: 20px;
  padding: 20px 60px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.screens-scroll::-webkit-scrollbar { display: none; }

.screen-card {
  flex-shrink: 0;
  width: 260px;
  scroll-snap-align: center;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(44,36,22,0.08);
  background: var(--bg);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.screen-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 48px rgba(44,36,22,0.14);
}

.screen-card-header {
  padding: 14px 16px 10px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-family: 'Lora', serif;
  font-size: 15px;
  font-weight: 700;
}
.screen-card-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.screens-section-header {
  text-align: center;
  padding: 0 24px 32px;
}
.screens-section-title {
  font-family: 'Lora', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Mini UI mockups inside screen cards */
.mini-ui { padding: 14px; }
.mini-pill-row { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 10px; }
.mini-pill {
  font-size: 10px; padding: 3px 8px; border-radius: 10px;
  background: var(--pill); color: var(--muted); font-weight: 500;
}
.mini-section-title { font-family: 'Lora', serif; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.mini-bar-row { display: flex; gap: 3px; align-items: flex-end; height: 40px; margin-bottom: 6px; }
.mini-bar { flex: 1; border-radius: 3px 3px 0 0; }
.mini-mood-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; margin-bottom: 8px; }
.mini-mood-tile { border-radius: 8px; padding: 8px 4px; text-align: center; font-size: 14px; }
.mini-mood-tile span { display: block; font-size: 9px; margin-top: 2px; color: var(--muted); }
.mini-check-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 11px;
}
.mini-check-item:last-child { border-bottom: none; }
.mini-check { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; }
.mini-check.done { background: var(--text); color: var(--bg); }
.mini-check.pending { border: 1.5px solid var(--border); }
.mini-chat-bubble { border-radius: 10px; padding: 8px 10px; font-size: 11px; line-height: 1.5; margin-bottom: 6px; max-width: 85%; }
.mini-chat-ai { background: var(--pill); border-radius: 3px 10px 10px 10px; }
.mini-chat-user { background: var(--text); color: var(--bg); border-radius: 10px 3px 10px 10px; margin-left: auto; }
.mini-event { border-radius: 10px; padding: 8px 10px; margin-bottom: 6px; border-left: 3px solid var(--green-dark); background: var(--card); font-size: 11px; line-height: 1.5; }
.mini-event.rep { border-left-color: var(--peach-dark); }
.mini-narrative { font-family: 'Lora', serif; font-style: italic; font-size: 11px; line-height: 1.6; background: var(--green); border-radius: 10px; padding: 10px; color: #2c4022; margin-bottom: 8px; }
.mini-note-area { border: 1.5px solid var(--border); border-radius: 10px; padding: 8px; font-size: 10px; color: var(--muted); margin-bottom: 8px; min-height: 42px; }
.mini-attach-row { display: flex; gap: 5px; }
.mini-attach-btn { font-size: 10px; padding: 4px 8px; border-radius: 10px; background: var(--pill); border: 1px solid var(--border); color: var(--muted); }

/* Screen card mockup components */
.mini-composer {
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 7px 9px;
  margin-bottom: 10px;
}
.mini-composer-hint {
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 6px;
}
.mini-composer-actions { display: flex; gap: 4px; }
.mini-action-btn {
  font-size: 8px;
  padding: 2px 7px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--pill);
}
.mini-log-entry { margin-bottom: 8px; }
.mini-tag-row {
  display: flex;
  gap: 3px;
  margin-bottom: 3px;
}
.mini-tag {
  font-size: 7px;
  padding: 1px 5px;
  border-radius: 6px;
  font-weight: 600;
}
.mini-tag--mood {
  background: #e0f2e8;
  border: 1px solid #60b878;
  color: #1a5030;
}
.mini-tag--food {
  background: #faeeda;
  border: 1px solid #e8a830;
  color: #7a5010;
}
.mini-tag--med {
  background: #eae5f5;
  border: 1px solid #a090d0;
  color: #3a2870;
}
.mini-tag--inline {
  font-weight: 700;
  display: inline-block;
  margin-bottom: 3px;
}
.mini-entry-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.mini-entry-title--spaced { margin-bottom: 5px; }
.mini-entry-detail {
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 3px;
}
.mini-entry-detail--spaced { margin-bottom: 4px; }
.mini-divider {
  border-top: 1px solid var(--border);
  margin: 7px 0;
}
.mini-divider--tight { margin: 5px 0; }
.mini-author {
  display: flex;
  align-items: center;
  gap: 4px;
}
.mini-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6px;
  font-weight: 700;
}
.mini-avatar--purple { background: #eae5f5; color: #3a2870; }
.mini-avatar--green { background: #e0f2e8; color: #1a5030; }
.mini-author-name { font-size: 8px; color: var(--muted); }
.mini-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-bottom: 10px;
}
.mini-stat-card {
  background: var(--pill);
  border-radius: 7px;
  padding: 6px 7px;
  text-align: center;
}
.mini-stat-label {
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 1px;
}
.mini-stat-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  font-family: 'Lora', serif;
}
.mini-stat-value--accent { color: #b07020; }
.mini-date-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 10px;
  padding: 4px 2px;
}
.mini-date-nav-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--pill);
  color: var(--text);
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.mini-date-nav-btn--disabled {
  color: var(--border);
  cursor: default;
}
.mini-date-label {
  text-align: center;
  line-height: 1.3;
}
.mini-date-today {
  display: block;
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--green-dark);
  margin-bottom: 1px;
}
.mini-date-full {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--text);
  font-family: 'Lora', serif;
}
.mini-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  padding: 3px 0;
}
.mini-stat-row--bordered { border-bottom: 1px solid var(--border); }
.mini-stat-row-label { color: var(--muted); }
.mini-stat-row-value { font-weight: 600; }
.mini-stat-row-value--warn { color: #b07020; }
.mini-stat-row-value--ok { color: var(--green-dark); }
.mini-insight {
  font-size: 9px;
  font-style: italic;
  font-family: 'Lora', serif;
  background: var(--pill);
  border-radius: 7px;
  padding: 7px 8px;
  color: #4a4030;
  line-height: 1.5;
  margin-top: 8px;
}
.mini-event-card {
  background: var(--pill);
  border-radius: 9px;
  padding: 8px 9px;
  margin-bottom: 8px;
}
.mini-event-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--muted);
  margin-bottom: 4px;
}
.mini-event-badge--light { background: #fff; }
.mini-event-badge--pill { background: var(--pill); margin-bottom: 3px; }
.mini-event-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}
.mini-event-body {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 6px;
}
.mini-attachment {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 6px;
  margin-bottom: 5px;
}
.mini-attachment-icon { font-size: 11px; }
.mini-attachment-name {
  font-size: 8px;
  font-weight: 600;
  color: var(--text);
}
.mini-attachment-meta {
  font-size: 7px;
  color: var(--muted);
}
.mini-meta-row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.mini-meta-row--spaced { margin-bottom: 3px; }
.mini-meta-icon { font-size: 10px; }
.mini-meta-text { font-size: 8px; color: var(--muted); }
.mini-med-change-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.mini-med-change-body { flex: 1; }
.mini-med-change-text {
  font-size: 9px;
  color: var(--text);
  line-height: 1.4;
}
.mini-dose-change {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 6px;
  margin-top: 3px;
}
.mini-dose-old {
  font-size: 8px;
  color: var(--muted);
  text-decoration: line-through;
}
.mini-dose-arrow { font-size: 8px; color: var(--muted); }
.mini-dose-new {
  font-size: 8px;
  color: var(--text);
  font-weight: 600;
}
.mini-date {
  font-size: 8px;
  color: var(--muted);
  white-space: nowrap;
  margin-left: 6px;
  margin-top: 2px;
}
.mini-source-label {
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 4px;
}
.mini-source-row {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.mini-source-pill {
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 7px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--pill);
}
.mini-source-pill--active {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}
.mini-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 3px 0 5px;
  gap: 1px;
}
.mini-connector-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
}
.mini-connector-line {
  width: 1px;
  height: 8px;
  background: var(--border);
}
.mini-chat { display: flex; flex-direction: column; gap: 5px; }
.mini-chat-msg {
  display: flex;
  flex-direction: column;
}
.mini-chat-msg--user { align-items: flex-end; }
.mini-chat-msg--ai { align-items: flex-start; }
.mini-chat-sender {
  font-size: 7px;
  color: var(--muted);
  margin-bottom: 2px;
  padding: 0 3px;
}
.mini-chat-bubble--user {
  background: #e8e3d0;
  border-radius: 9px 9px 2px 9px;
  padding: 6px 8px;
  max-width: 95%;
}
.mini-chat-bubble--ai {
  background: var(--pill);
  border-radius: 2px 9px 9px 9px;
  padding: 6px 8px;
  max-width: 95%;
}
.mini-chat-text {
  font-size: 8px;
  line-height: 1.55;
  margin: 0;
  color: #2a2a1e;
}
.mini-chat-text strong { color: var(--text); }
.mini-citations {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mini-citation {
  display: flex;
  gap: 4px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 6px;
}
.mini-citation-icon {
  font-size: 9px;
  flex-shrink: 0;
  margin-top: 1px;
}
.mini-citation-text {
  font-size: 7px;
  color: var(--muted);
  line-height: 1.4;
}
.mini-citation-text strong { color: var(--text); }

/* Profile screen */
.mini-profile-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.mini-profile-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 700;
  color: #2c4022;
  flex-shrink: 0;
}
.mini-profile-name {
  font-family: 'Lora', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1px;
}
.mini-profile-meta {
  font-size: 8px;
  color: var(--muted);
  line-height: 1.4;
}
.mini-profile-section-label {
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 4px;
}
.mini-profile-text {
  font-size: 9px;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 10px;
}
.mini-enjoy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-bottom: 10px;
}
.mini-enjoy-pill {
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 7px;
  background: var(--pill);
  border: 1px solid var(--border);
  color: var(--text);
}
.mini-profile-actions {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}
.mini-profile-action-btn {
  flex: 1;
  font-size: 8px;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--pill);
  color: var(--text);
  cursor: pointer;
  text-align: center;
}
.mini-stat-unit {
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
}

.scroll-hint {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ── FEATURES ── */
.features-section {
  padding: 100px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Lora', serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 600px;
  margin-bottom: 60px;
}
.section-title em { font-style: italic; color: var(--muted); }

.features-accordion {
  max-width: 640px;
  border-top: 1px solid var(--border);
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
}
.accordion-trigger:hover .accordion-label { color: var(--text); }

.accordion-icon { font-size: 20px; flex-shrink: 0; }

.accordion-label {
  font-family: 'Lora', serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  flex: 1;
  transition: color 0.2s;
}

.accordion-chevron {
  font-size: 16px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  display: inline-block;
}
.accordion-item.open .accordion-chevron { transform: rotate(180deg); }

.accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
}
.accordion-item.open .accordion-body {
  max-height: 200px;
  padding-bottom: 22px;
}
.accordion-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  padding-left: 34px;
}

/* wide card — no longer needed in single-column layout */

/* ── QUOTE ── */
.quote-section {
  background: var(--bg-dark);
  padding: 100px 48px;
  text-align: center;
}
.quote-text {
  font-family: 'Lora', serif;
  font-size: clamp(22px, 3.5vw, 38px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: #f5f0e8;
  max-width: 780px;
  margin: 0 auto 24px;
  letter-spacing: -0.01em;
}
.quote-attr {
  font-size: 14px;
  color: rgba(245,240,232,0.5);
  font-weight: 400;
}

/* ── HOW IT WORKS ── */
.how-section {
  padding: 100px 48px;
  max-width: 1000px;
  margin: 0 auto;
}
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}
.step.visible { opacity: 1; transform: translateY(0); }
.step:last-child { border-bottom: none; }
.step-number {
  font-family: 'Lora', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
  text-align: right;
}
.step-body { flex: 1; }
.step-title {
  font-family: 'Lora', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step-desc { font-size: 15px; line-height: 1.7; color: var(--muted); }
.step-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  background: var(--yellow);
  color: #5a4a22;
}

/* ── WAITLIST ── */
.waitlist-section {
  padding: 100px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.waitlist-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,230,195,0.4) 0%, transparent 65%);
  pointer-events: none;
}

.waitlist-inner {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}
.waitlist-section .section-title { margin: 0 auto 14px; max-width: 500px; }
.waitlist-sub {
  font-size: 17px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 40px;
}

#clerk-waitlist {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.waitlist-fallback { margin-top: 4px; }
.waitlist-fallback[hidden] { display: none !important; }
.waitlist-fallback-note {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.55;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-reassurance {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.reassurance-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* ── FOOTER ── */
footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-family: 'Lora', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.footer-note { font-size: 13px; color: var(--muted); }

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

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 14px 20px; flex-wrap: wrap; row-gap: 0; }
  .nav-menu-toggle { display: flex; }
  .nav-links {
    display: none;
    width: 100%;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 0 16px;
    margin-top: 10px;
    border-top: 1px solid var(--border);
  }
  nav.nav-open .nav-links { display: flex; }
  .nav-links > a:not(.nav-cta) {
    padding: 16px 4px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .nav-links > a:not(.nav-cta):hover { color: var(--muted); }
  .nav-links .nav-cta {
    margin-top: 16px;
    text-align: center;
    padding: 14px 22px;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-links .nav-signin {
    margin-top: 10px;
    width: 100%;
    padding: 14px 22px;
    font-size: 15px;
  }
  .feature-card.wide { grid-column: unset; }
  .features-section, .how-section, .waitlist-section, .quote-section { padding: 64px 24px; }
  .step { flex-direction: column; gap: 12px; }
  .step-number { font-size: 32px; width: auto; text-align: left; }
  footer { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
}
