/*
 * homepage.css — DayAfter homepage-specific styles
 *
 * Loaded AFTER base.css + layout.css on index.html only.
 * Contains: hero, scenario, steps, example cards, summary blocks,
 * health profile tab, language switcher, privacy, founder,
 * roadmap/what's next, waitlist, and homepage-specific overrides.
 *
 * Breakpoint system (mobile-first, matches layout.css):
 *   base       — 0 to 767px  (phones)
 *   48rem      — 768px+      (tablets, small laptops)
 *   64rem      — 1024px+     (desktops)
 *   112.5rem   — 1800px+     (ultrawide cap)
 *
 * Last updated: 2026-04-27
 */


/* ── Homepage container override ──────────────────────── */
/*
 * The homepage uses a wider container (52rem) than the
 * default prose container in base.css (42.5rem).
 */
.homepage .container {
  max-width: 52rem;
}


/* ── Homepage nav button spacing ──────────────────────── */
.nav-right .btn {
  margin: 0.375rem 0;
}


/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */

.hero {
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  max-width: 42.5rem;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.75rem, 7vw, 3.5rem);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 1rem;
}

.hero-accent {
  color: var(--accent);
}

.hero-accent-ul {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(43,107,79,0.3);
  text-underline-offset: 0.15em;
  text-decoration-thickness: 0.08em;
}

.hero-sub {
  font-family: 'Noto Sans TC', system-ui, sans-serif;
  font-size: clamp(0.9375rem, 2vw, 1.1875rem);
  color: var(--ink-soft);
  max-width: 32.5rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
  padding: 0 2.2rem;
}

.hero-note {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  line-height: 1.5;
  margin-top: 0.25rem;
}

.hero-illustration {
  margin-top: 2.5rem;
  width: 100%;
  max-width: 18rem;
  animation: hero-fade-in 0.8s ease-out both;
}

.hero-illustration svg {
  width: 100%;
  height: auto;
  animation: hero-float 4s ease-in-out 0.8s infinite;
}

@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(1.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-0.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-illustration,
  .hero-illustration svg { animation: none; }
}


/* ── Step illustrations — hidden on mobile, shown at tablet+ ── */

.step-illustration {
  display: none;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
}

.step-illustration svg {
  width: 100%;
  height: 100%;
}

.step-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}


/* ═══════════════════════════════════════════════════════════
   SECTIONS — generic section spacing + labels
   ═══════════════════════════════════════════════════════════ */

section {
  padding: 3rem 0;
}

.section-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 35rem;
}


/* ═══════════════════════════════════════════════════════════
   SCENARIO (the problem)
   ═══════════════════════════════════════════════════════════ */

.scenario {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.scenario .container {
  padding: 0 1.5rem;
}

.scenario-text {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--ink-soft);
  text-align: left;
  margin: 0;
  max-width: 65ch;
}

.scenario-quote {
  display: none;
}

.scenario-text em {
  font-style: normal;
  font-weight: 500;
  color: var(--ink);
}


/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS — steps
   ═══════════════════════════════════════════════════════════ */

.steps {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  margin-top: 2.25rem;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}

.step p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.step-detail {
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: var(--ink-faint);
  line-height: 1.5;
}


/* ═══════════════════════════════════════════════════════════
   EXAMPLE CARD — tabs + panels
   ═══════════════════════════════════════════════════════════ */

.example {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.example-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.example-tab {
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-faint);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}

.example-tab:hover { color: var(--ink); }

.example-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.example-tab.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.example-panels-wrap {
  overflow: hidden;
  transition: height 0.25s ease-out;
  position: relative;
}

.example-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.example-panel.active {
  display: block;
  opacity: 1;
}

.mom-note {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.mom-note-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-faint);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mom-note-body {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--ink-soft);
}


/* ═══════════════════════════════════════════════════════════
   SUMMARY CARD — 4-row, 2-col grid
   Row 1: [title]          [AI chip]
   Row 2: [body — spans both columns]
   Row 3: [source — spans both columns]
   Row 4: [               ] [report inaccuracy]
   ═══════════════════════════════════════════════════════════ */

.summary-block {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto auto;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-card, 1.25rem);
  margin-bottom: var(--sp-card-gap, 1rem);
}

.summary-block h4 {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

.summary-block .ai-chip {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: end;
}

.summary-block .card-body {
  grid-column: 1 / -1;
  grid-row: 2;
  padding-top: 0.75rem;
}

.summary-block .card-body p,
.summary-block .card-body li {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.summary-block .card-body ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.summary-block .card-body li::before {
  content: "–";
  color: var(--ink-faint);
  margin-right: 0.5rem;
}

.summary-block .source-line {
  grid-column: 1 / -1;
  grid-row: 3;
  font-size: 0.65em;
  color: var(--ink-faint);
  margin-top: 1em;
  padding-top: 0.75em;
  border-top: 1px solid var(--border);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.summary-block .report-link {
  grid-column: 2;
  grid-row: 4;
  justify-self: end;
  margin-top: 0.625rem;
}

.ai-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.0625rem 0.3125rem;
  background: var(--bg-warm);
  border-radius: 3px;
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

.report-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  padding: 0.25em 0.625em;
  background: var(--warn-bg);
  color: var(--warn);
  border-radius: 1rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}

.report-link:hover {
  background: var(--warn);
  color: var(--white);
}

.report-link:hover svg {
  stroke: var(--white);
}

.report-link:focus-visible {
  outline: 2px solid var(--warn);
  outline-offset: 2px;
}

.q-reason {
  display: block;
  font-size: 0.6875rem;
  font-style: italic;
  color: var(--ink-faint);
  margin-top: 0.1875rem;
}

.summary-warn {
  border-left: 3px solid var(--warn);
  background: var(--warn-bg);
}

.summary-footer {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  text-align: center;
  padding: 0.75rem 0 0;
}


/* ═══════════════════════════════════════════════════════════
   HEALTH PROFILE TAB
   ═══════════════════════════════════════════════════════════ */

.profile-header-card {
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: var(--sp-card-gap, 1rem);
  text-align: center;
}

.profile-subtitle {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.profile-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.profile-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.2;
}

.profile-stat-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.med-timeline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.125rem;
}

.med-timeline-row + .med-timeline-row,
.med-detail + .med-timeline-row {
  margin-top: 0.75rem;
}

.med-timeline-removed { opacity: 0.6; }

.med-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

.med-status {
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 0.125rem 0.5rem;
  border-radius: 1rem;
}

.med-status-continuing {
  background: var(--accent-light);
  color: var(--accent);
}

.med-status-stopped {
  background: var(--warn-bg);
  color: var(--warn);
}

.med-detail {
  font-size: 0.75rem;
  color: var(--ink-faint);
  line-height: 1.5;
  margin-bottom: 0;
}

.condition-row,
.doctor-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--border);
}

.condition-row:last-child,
.doctor-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.condition-row:first-child,
.doctor-row:first-child {
  padding-top: 0;
}

.condition-name,
.doctor-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

.condition-meta,
.doctor-meta {
  font-size: 0.75rem;
  color: var(--ink-faint);
  text-align: right;
}

.condition-pending {
  color: var(--warn);
}

.followup-row {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.followup-icon {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 0.125rem;
}

.followup-detail {
  display: flex;
  flex-direction: column;
}

.followup-what {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

.followup-when {
  font-size: 0.75rem;
  color: var(--ink-faint);
}

.warning-row {
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--border);
}

.warning-row:last-child { border-bottom: none; padding-bottom: 0; }
.warning-row:first-child { padding-top: 0; }

.warning-text {
  display: block;
  font-size: 0.875rem;
  color: var(--ink);
  line-height: 1.5;
}

.warning-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-faint);
  margin-top: 0.125rem;
}

@media (max-width: 28rem) {
  .condition-row,
  .doctor-row {
    flex-direction: column;
    gap: 0.125rem;
  }
  .condition-meta,
  .doctor-meta {
    text-align: left;
  }
}


/* ═══════════════════════════════════════════════════════════
   LANGUAGE SWITCHER
   ═══════════════════════════════════════════════════════════ */

.lang-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.lang-bar label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lang-select {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.375rem 0.625rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B5E56' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 1.5rem;
}

html.dark .lang-select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23A89E96' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.lang-select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.speak-hint {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  opacity: 0.5;
  position: relative;
}

.speak-hint:hover::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 0.375rem);
  right: 0;
  white-space: nowrap;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--ink-on-accent);
  background: var(--bg-dark);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.lang-coming-soon {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.lang-coming-soon.visible { display: flex; }

.lang-coming-soon p {
  font-size: 0.875rem;
  color: var(--ink-faint);
  margin: 0;
}

.lang-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.125rem 0.375rem;
  border-radius: 1rem;
  background: var(--accent-light);
  color: var(--accent);
}


/* ═══════════════════════════════════════════════════════════
   PRIVACY
   ═══════════════════════════════════════════════════════════ */

.privacy { text-align: center; }


/* ═══════════════════════════════════════════════════════════
   FOUNDER
   ═══════════════════════════════════════════════════════════ */

.founder {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.founder-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.founder-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.founder-avatar svg {
  width: 100%;
  height: 100%;
}

.founder-decoration {
  position: relative;
  margin: 2rem 0 0;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.founder-decoration::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 1.5rem;
  width: 3rem;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 2px 2px;
}

.founder-meta {
  font-size: 0.875rem;
  line-height: 1.4;
}

.founder-name {
  font-weight: 500;
  color: var(--ink);
}

.founder-role {
  color: var(--ink-faint);
}

.founder p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.founder p:last-of-type { margin-bottom: 0; }

.founder .pullquote {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--ink);
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin: 1.5rem 0;
  line-height: 1.55;
}


/* ═══════════════════════════════════════════════════════════
   WHAT'S NEXT / ROADMAP
   ═══════════════════════════════════════════════════════════ */

.roadmap-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 30rem;
  margin: 0 auto;
  text-align: left;
}

.roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.roadmap-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
  margin-top: 0.125rem;
}


/* ═══════════════════════════════════════════════════════════
   WAITLIST
   ═══════════════════════════════════════════════════════════ */

.waitlist {
  text-align: center;
  background: var(--bg-warm);
}

.waitlist-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  max-width: 30rem;
  margin: 0 auto;
  text-align: left;
}

.waitlist-box h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-align: center;
}

.waitlist-box > p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 0.875rem;
  min-height: 2.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.9375rem;
  color: var(--ink);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.select-wrap { position: relative; }

.select-wrap::after {
  content: "▾";
  position: absolute;
  right: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-faint);
  pointer-events: none;
  font-size: 0.875rem;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.875rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  min-height: 3rem;
  font-family: var(--font-body);
  background: var(--accent);
  color: var(--ink-on-accent);
  transition: background 0.15s;
}

.form-submit:hover { background: var(--accent-hover); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-note {
  font-size: 0.75rem;
  color: var(--ink-faint);
  margin-top: 0.875rem;
  text-align: center;
  line-height: 1.5;
}

#success {
  display: none;
  text-align: center;
  padding: 1.25rem 0;
}


/* ═══════════════════════════════════════════════════════════
   HOMEPAGE FOOTER OVERRIDE
   The homepage uses slightly more generous footer padding.
   ═══════════════════════════════════════════════════════════ */

.homepage footer {
  padding: 3.5rem 0 2rem;
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (768px+)
   ═══════════════════════════════════════════════════════════ */

@media (min-width: 48rem) {

  /* Hero */
  .hero { padding: 4.5rem 0 3.5rem; }
  .hero .container {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
  .hero-content { text-align: left; flex: 1; }
  .hero-sub { margin: 0 0 2.5rem; }
  .hero-label { font-size: 0.8125rem; margin-bottom: 1.5rem; }
  .hero h1 { margin-bottom: 1.25rem; }
  .hero-cta { align-items: flex-start; padding: 0; }
  .hero-illustration {
    margin-top: 0;
    max-width: 16rem;
    flex-shrink: 0;
  }

  /* Step illustrations */
  .step-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 7rem;
    background: var(--accent-light);
    border-radius: var(--radius);
    padding: 1rem;
  }
  .step-illustration svg { width: 100%; height: auto; }

  /* Sections */
  section { padding: 4rem 0; }

  /* Scenario */
  .scenario { padding: 1.5rem 0; }
  .scenario-text { font-size: 1.0625rem; text-align: center; margin: 0 auto; }
  .scenario-quote {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.15;
    line-height: 1;
  }
  .scenario-quote-open { text-align: left; margin-bottom: 0.25rem; }
  .scenario-quote-close { text-align: right; margin-top: 0.25rem; }

  /* Section labels + titles */
  .section-label { font-size: 0.75rem; margin-bottom: 1rem; }
  .section-title { margin-bottom: 1.25rem; }
  .section-sub { font-size: 1.0625rem; }

  /* Steps */
  .steps { gap: 2.5rem; margin-top: 2.5rem; }
  .step {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .step:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
  }
  .step:nth-child(even) .step-heading {
    justify-content: flex-end;
  }
  .step-num { display: none; }
  .step h3 { font-size: 1.25rem; margin-bottom: 0.375rem; }
  .step p { font-size: 0.9375rem; }
  .step-detail { font-size: 0.875rem; margin-top: 0.5rem; }

  /* Example */
  .example-tabs { margin-bottom: 1.75rem; }
  .example-tab { padding: 0.75rem 1.25rem; font-size: 0.875rem; }
  .mom-note { padding: 1.5rem; }

  /* Summary */
  .summary-block { padding: var(--sp-card, 1.5rem); margin-bottom: var(--sp-card-gap, 1.125rem); }
  .summary-block .card-body p,
  .summary-block .card-body li { font-size: 0.9375rem; }

  /* Founder */
  .founder-header { gap: 1rem; margin-bottom: 1.75rem; }
  .founder-avatar { width: 3.25rem; height: 3.25rem; font-size: 1.25rem; }
  .founder-decoration { margin-top: 2.25rem; padding: 1.75rem; }
  .founder p { font-size: 1rem; margin-bottom: 1.125rem; }
  .founder .pullquote { font-size: 1.125rem; padding-left: 1.125rem; margin: 1.75rem 0; }

  /* Waitlist */
  .waitlist-box { padding: 2.5rem 2rem; }
  .waitlist-box h2 { font-size: 1.5rem; }
  .waitlist-box > p { font-size: 0.9375rem; margin-bottom: 1.75rem; }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — DESKTOP (1024px+)
   ═══════════════════════════════════════════════════════════ */

@media (min-width: 64rem) {

  /* Hero */
  .hero { padding: 6.25rem 0 5rem; }
  .hero .container { gap: 4rem; }
  .hero-illustration { max-width: 20rem; }

  /* Sections */
  section { padding: 5rem 0; }

  /* Scenario */
  .scenario-text { font-size: 1.125rem; }
  .scenario-quote { font-size: 3.5rem; }

  /* Steps */
  .steps { gap: 3rem; margin-top: 3rem; }
  .step-illustration { width: 8.5rem; height: 8.5rem; padding: 1.25rem; }
  .step h3 { font-size: 1.375rem; }
  .step p { font-size: 1rem; }

  /* Summary */
  .summary-block { padding: var(--sp-card, 1.75rem); margin-bottom: var(--sp-card-gap, 1.25rem); }

  /* Founder */
  .founder-header { margin-bottom: 2rem; }
  .founder-avatar { width: 3.5rem; height: 3.5rem; font-size: 1.375rem; }
  .founder-decoration { margin-top: 2.5rem; padding: 2rem; }
  .founder p { font-size: 1.0625rem; margin-bottom: 1.25rem; }
  .founder .pullquote { font-size: 1.25rem; padding-left: 1.25rem; margin: 2rem 0; }

  /* Waitlist */
  .waitlist-box { padding: 3rem 2.5rem; }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — ULTRAWIDE CAP (1800px+)
   ═══════════════════════════════════════════════════════════ */

@media (min-width: 112.5rem) {
  .homepage .container { max-width: 56rem; }
}
