/* =========================================================
   LIFESPAN ONE — Design Tokens & Base Styles
   Premium, warm, emotionally engaging dog-health product.
   Trust (pine/forest) + optimism (gold) + action (coral) +
   progress (mint). Large type for readability by older adults.
   No cartoon graphics, no childish paw-print patterns.
   ========================================================= */
:root {
  --pine: #103B31;
  --pine-dark: #0A2822;
  --forest: #1D5948;
  --forest-dark: #123D31;
  --cream: #FFF9F0;
  --ivory: #FCEFDA;
  --mint: #E2F2E9;
  --mint-strong: #BFE3CF;
  --gold: #E8AD35;
  --gold-light: #FCE4B8;
  --coral: #EF6A5B;
  --coral-dark: #D8503F;
  --coral-light: #FCE5E1;
  --charcoal: #26332F;
  --charcoal-soft: #55534C;
  --white: #FFFFFF;
  --alert-red: #B3261E;
  --alert-red-bg: #FBE9E7;

  /* Pillar accent colors — coordinated, not a rainbow */
  --pillar-body: #E8AD35;      /* Body & Weight: gold */
  --pillar-movement: #EF6A5B;  /* Movement & Mobility: coral */
  --pillar-nutrition: #1D5948; /* Nutrition & Digestion: forest green */
  --pillar-cognitive: #2E9C8F; /* Cognitive Vitality: teal/mint */
  --pillar-recovery: #4E8FA6;  /* Recovery, Sleep & Lifestyle: soft blue-green */
  --pillar-preventive: #103B31;/* Preventive Care: deep forest/pine */

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 6px 28px rgba(16, 59, 49, 0.14);
  --shadow-card: 0 2px 14px rgba(16, 59, 49, 0.08);
  --shadow-lift: 0 12px 32px rgba(16, 59, 49, 0.18);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 620px;
  --max-width-wide: 1080px;

  --transition-fast: 0.15s ease;
  --transition-med: 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--forest); }

/* Visible keyboard focus states everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.app-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--cream);
  position: relative;
  padding-bottom: 40px;
}

.screen { display: none; padding: 24px 20px 60px; animation: fadeIn 0.35s ease; }
.screen.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }
.question-card.slide-in { animation: slideIn 0.28s ease; }

/* ---------- Header / Brand ---------- */
.brand-header {
  text-align: center;
  padding: 28px 20px 8px;
}
.brand-name {
  font-size: 26px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.wordmark-lifespan {
  font-family: var(--font-display);
  font-weight: 600;
  color: #103B31;
}
.wordmark-one {
  font-family: var(--font-body);
  font-weight: 700;
  color: #D99A22;
}
.wordmark-sm .wordmark-lifespan,
.wordmark-sm .wordmark-one {
  font-size: 15px;
}
.brand-tagline {
  font-size: 14px;
  color: var(--charcoal-soft);
  margin-top: 4px;
}
.screen-wordmark {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 16px 20px 4px;
}
.footer-wordmark {
  font-size: 15px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
footer.site-footer .wordmark-lifespan { color: #FFF9F0; }
footer.site-footer .wordmark-one { color: #D99A22; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); color: var(--forest); font-weight: 600; }
h1 { font-size: 34px; line-height: 1.15; color: var(--pine); }
h2 { font-size: 24px; line-height: 1.3; margin-bottom: 12px; }
h3 { font-size: 19px; margin-bottom: 8px; }
p { margin-bottom: 14px; }
.lede { font-size: 18px; color: var(--charcoal-soft); }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--mint);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 17px 24px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 17px;
  font-weight: 700;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast), background var(--transition-fast);
  min-height: 54px;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-secondary {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn-secondary:hover { background: var(--mint); }
.btn-gold {
  background: var(--coral);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-gold:hover { background: var(--coral-dark); transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-text {
  background: none;
  border: none;
  color: var(--charcoal-soft);
  font-size: 15px;
  text-decoration: underline;
  padding: 10px;
}
.btn-text:hover { color: var(--forest); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn-row { display: flex; gap: 12px; margin-top: 8px; }
.btn-row .btn { flex: 1; }

/* ---------- Cards & section depth ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
}
.section-mint {
  background: var(--mint);
  border-radius: var(--radius);
  padding: 22px;
  margin: 24px -4px;
}
.section-pine {
  background: var(--pine);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 26px 22px;
  margin: 24px -4px;
}
.section-pine h2, .section-pine h3 { color: var(--white); }
.section-pine p { color: rgba(255,249,240,0.85); }
.section-coral-soft {
  background: var(--coral-light);
  border-radius: var(--radius);
  padding: 22px;
  margin: 24px -4px;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 14px;
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.benefit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.benefit-card.accent-gold { border-top-color: var(--gold); }
.benefit-card.accent-mint { border-top-color: var(--forest); }
.benefit-card.accent-coral { border-top-color: var(--coral); }
.benefit-card .benefit-icon { font-size: 22px; margin-bottom: 8px; display: block; }

.pillar-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--mint);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--forest);
  border-left: 4px solid var(--pillar-color, var(--forest));
}
.pillar-chip .num {
  background: var(--pillar-color, var(--forest));
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ---------- Disclaimer ---------- */
.disclaimer {
  font-size: 13.5px;
  color: var(--charcoal-soft);
  background: var(--ivory);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 20px 0;
  line-height: 1.5;
}
footer.site-footer {
  text-align: center;
  padding: 28px 20px 44px;
  font-size: 12.5px;
  color: rgba(255,249,240,0.7);
  background: var(--pine);
  margin: 0 -20px -40px;
  border-radius: var(--radius) var(--radius) 0 0;
}
footer.site-footer a { color: rgba(255,249,240,0.85); text-decoration: underline; margin: 0 6px; }

/* ---------- Progress bar ---------- */
.progress-wrap { margin-bottom: 20px; }
.progress-bar-track {
  height: 10px;
  background: var(--mint);
  border-radius: 8px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 8px;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.progress-label {
  font-size: 13px;
  color: var(--charcoal-soft);
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
}

/* ---------- Question screen ---------- */
.question-card { animation: fadeIn 0.3s ease; }
.question-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pillar-color, var(--gold));
  margin-bottom: 8px;
}
.question-text { font-size: 22px; font-weight: 600; color: var(--pine); margin-bottom: 6px; line-height: 1.3; }
.question-note { font-size: 14px; color: var(--charcoal-soft); margin-bottom: 16px; }

.option-list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.option-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: var(--white);
  border: 1.5px solid var(--mint-strong);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  font-size: 16.5px;
  color: var(--charcoal);
  transition: all var(--transition-fast);
  min-height: 60px;
  width: 100%;
}
.option-btn:hover { border-color: var(--pillar-color, var(--gold)); background: var(--mint); transform: translateY(-1px); }
.option-btn.selected {
  border-color: var(--pillar-color, var(--forest));
  border-width: 2px;
  background: var(--mint);
  font-weight: 600;
}
.option-btn .radio-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--mint-strong);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.option-btn.selected .radio-dot { border-color: var(--pillar-color, var(--forest)); }
.option-btn.selected .radio-dot::after {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--pillar-color, var(--forest));
}
.option-btn.not-sure { border-style: dashed; color: var(--charcoal-soft); }

.body-illustration {
  background: var(--mint);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--charcoal-soft);
}
.body-illustration svg { margin: 0 auto 8px; display: block; }

/* ---------- Transition screen ---------- */
.transition-screen {
  text-align: center;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
}
.transition-icon { font-size: 36px; margin-bottom: 14px; }

/* ---------- Safety screen ---------- */
.safety-option {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1.5px solid var(--mint-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 8px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.safety-option:has(input:checked) { border-color: var(--forest); background: var(--mint); }
.safety-option input[type="checkbox"] { width: 22px; height: 22px; flex-shrink: 0; accent-color: var(--forest); }
.safety-option label { font-size: 16px; flex: 1; }

.emergency-panel {
  background: var(--alert-red-bg);
  border: 1.5px solid var(--alert-red);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.emergency-panel h2 { color: var(--alert-red); }

/* Ordinary focus area — mint/forest, never red or coral */
.focus-banner {
  background: var(--mint);
  border-left: 4px solid var(--forest);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 12px;
  font-size: 14.5px;
  color: var(--charcoal);
}
.focus-banner strong { color: var(--forest); display: block; margin-bottom: 4px; }

/* Veterinary discussion recommended — restrained amber, distinct from
   emergency red AND distinct from coral (coral is reserved for CTAs). */
.vet-alert-banner {
  background: var(--gold-light);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 12px;
  font-size: 14.5px;
  color: var(--charcoal);
}
.vet-alert-banner strong { color: #8a5a00; display: block; margin-bottom: 4px; }

/* ---------- Results / scorecard ---------- */
.score-hero {
  text-align: center;
  padding: 12px 0 8px;
}
.score-ring-wrap { display: flex; justify-content: center; margin: 12px 0 8px; }
.score-ring-wrap svg { display: block; }
.score-ring-number {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  fill: var(--pine);
}
.score-ring-outof { font-size: 13px; fill: var(--charcoal-soft); }
.score-number { font-family: var(--font-display); font-size: 52px; color: var(--pine); font-weight: 700; }
.score-category {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--forest);
  background: var(--mint);
  padding: 6px 16px;
  border-radius: 20px;
  margin-top: 8px;
}
.score-category-summary { color: var(--charcoal-soft); margin-top: 12px; }

.pillar-bar-row { margin-bottom: 16px; }
.pillar-bar-label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 6px; font-size: 15px; align-items: center; }
.pillar-bar-label .pillar-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--pillar-color, var(--forest)); margin-right: 8px; }
.pillar-bar-track { height: 13px; background: var(--mint); border-radius: 8px; overflow: hidden; }
.pillar-bar-fill {
  height: 100%;
  border-radius: 8px;
  background: var(--pillar-color, var(--forest));
  width: 0%;
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.pillar-word {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--mint);
  color: var(--forest);
}
.pillar-word.label-strength { background: var(--mint); color: var(--forest); }
.pillar-word.label-support { background: var(--mint); color: var(--forest); }
.pillar-word.label-focus { background: var(--gold-light); color: #8a5a00; }
.pillar-word.label-priority { background: var(--coral-light); color: var(--coral-dark); }

.priority-list { list-style: none; }
.priority-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--mint);
}
.priority-list li:last-child { border-bottom: none; }
.priority-num {
  background: var(--coral);
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.locked-section {
  position: relative;
  filter: blur(0.4px);
  opacity: 0.75;
}
.locked-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,249,240,0.2), rgba(255,249,240,0.95));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
}
.lock-badge {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 15px; color: var(--forest); }
.field label .required-star { color: var(--coral); margin-left: 2px; }
.field .field-hint { font-size: 13px; color: var(--charcoal-soft); margin-top: 4px; }
.field .field-error { font-size: 13px; color: var(--alert-red); margin-top: 4px; display: none; }
.field.has-error .field-error { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--alert-red); }
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  padding: 15px 14px;
  border: 1.5px solid var(--mint-strong);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition-fast);
}
.field textarea { min-height: 72px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.checkbox-field { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; }
.checkbox-field input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--forest); flex-shrink: 0; }
.checkbox-field label { font-size: 14px; color: var(--charcoal-soft); }

.photo-upload {
  border: 1.5px dashed var(--forest);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  color: var(--charcoal-soft);
  cursor: pointer;
}
.photo-preview { max-width: 120px; border-radius: var(--radius-sm); margin: 0 auto 8px; }

/* ---------- Preview 30-day block ---------- */
.preview-30-row { margin-bottom: 12px; }
.preview-30-row:last-child { margin-bottom: 0; }
.preview-30-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 2px;
}

/* ---------- Pricing / offer ---------- */
.price-tag { font-family: var(--font-display); font-size: 46px; color: var(--pine); font-weight: 700; }
.price-tag .cents { font-size: 20px; }
.offer-list { list-style: none; margin: 16px 0; }
.offer-list li { padding: 9px 0; display: flex; gap: 10px; align-items: flex-start; }
.offer-list li::before { content: "✓"; color: var(--forest); font-weight: 700; flex-shrink: 0; }

/* Layered report-preview mockup for the offer screen */
.report-mockup { position: relative; height: 150px; margin: 20px 0; }
.report-mockup .mock-page {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--mint-strong);
  padding: 16px;
  width: 88%;
}
.report-mockup .mock-page.back { top: 18px; left: 6%; transform: rotate(-3deg); opacity: 0.7; height: 120px; }
.report-mockup .mock-page.mid { top: 9px; left: 3%; transform: rotate(2deg); opacity: 0.88; height: 130px; }
.report-mockup .mock-page.front { top: 0; left: 0; height: 140px; }
.report-mockup .mock-line { height: 8px; border-radius: 4px; background: var(--mint); margin-bottom: 8px; }
.report-mockup .mock-line.short { width: 45%; background: var(--gold-light); }
.report-mockup .mock-line.title { height: 12px; width: 60%; background: var(--forest); opacity: 0.25; }

/* ---------- How it works steps ---------- */
.step-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.step-num {
  background: var(--forest);
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Utility ---------- */
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.hidden { display: none !important; }
.tag-demo {
  display: inline-block;
  background: var(--gold-light);
  color: #8a5a00;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* ---------- Non-purchaser exit survey (lightweight, dismissible) ---------- */
.nonbuyer-widget {
  position: fixed;
  bottom: 16px;
  right: 16px;
  left: 16px;
  max-width: 360px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--mint-strong, #cfe3d6);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  padding: 16px 18px;
  z-index: 9998;
}
.nonbuyer-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--charcoal-soft);
}
.nonbuyer-widget .option-list { margin-top: 10px; }
.nonbuyer-widget .option-btn { padding: 8px 12px; font-size: 13.5px; }
.checkbox-list { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }
.multi-select-note { font-size: 13px; color: var(--charcoal-soft); margin-top: -6px; margin-bottom: 8px; }

/* ---------- Hero (mobile-first single column; desktop two-column) ---------- */
.hero-wrap { position: relative; }
.hero-visual-wrap {
  position: relative;
  margin-bottom: 16px;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.55;
}
.hero-blob.blob-mint { width: 130px; height: 130px; background: var(--mint-strong); top: -20px; right: -20px; }
.hero-blob.blob-gold { width: 90px; height: 90px; background: var(--gold-light); bottom: -16px; left: -10px; }
.hero-image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, var(--mint), var(--coral-light));
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-soft);
}
.hero-image-caption {
  text-align: center;
  font-size: 12px;
  color: var(--charcoal-soft);
  margin-top: 8px;
  margin-bottom: 16px;
  font-style: italic;
}
.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--mint), var(--coral-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal-soft);
  font-size: 14px;
  margin-bottom: 16px;
  text-align: center;
  padding: 20px;
}
.hero-microcopy {
  font-size: 13.5px;
  color: var(--charcoal-soft);
  text-align: center;
  margin-top: 14px;
}
.hero-microcopy .dot-sep { margin: 0 6px; color: var(--gold); }

/* Sticky mobile CTA — appears after scrolling past the hero */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255,249,240,0), var(--cream) 30%);
  transform: translateY(120%);
  transition: transform var(--transition-med);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .btn { box-shadow: var(--shadow-lift); }

@media (max-width: 479px) {
  .screen { padding: 18px 16px 48px; }
  .brand-header { padding: 18px 16px 4px; }
  .brand-name { font-size: 21px; }
  .screen-wordmark { font-size: 15px; }
  h1 { font-size: 28px; }
  .lede { font-size: 16px; }
  .benefit-card { padding: 16px 18px; margin-bottom: 10px; }
  .mt-24 { margin-top: 16px; }
}

@media (min-width: 480px) {
  body { font-size: 18px; }
  h1 { font-size: 38px; }
}

/* ---------- Wide layout: two-column hero on tablet/desktop ---------- */
@media (min-width: 860px) {
  .app-shell { max-width: var(--max-width-wide); padding: 0 32px; }
  #screen-landing.screen { padding: 0 0 60px; }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    padding: 48px 0 20px;
  }
  .hero-grid .hero-copy { text-align: left; }
  .hero-grid .hero-copy h1.center { text-align: left; }
  .hero-grid .hero-copy .lede.center { text-align: left; margin-left: 0; }
  .hero-grid .hero-copy .hero-microcopy { text-align: left; }
  .hero-visual-wrap { margin-bottom: 0; }
  .hero-image { aspect-ratio: 1/1; }
  .sticky-cta { display: none; }
  .benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .benefit-card { margin-bottom: 0; }
}
