:root {
  --ivory: #F5EFE4;
  --cream: #FBF7F0;
  --ivory-deep: #ECE4D4;
  --paper: #FDFBF6;
  --linen: #EFE7D7;
  --forest: #1F3A2E;
  --forest-800: #2A4A3C;
  --forest-600: #3D6151;
  --forest-900: #16281F;
  --sage: #8FA890;
  --sage-pale: #E4EBDF;
  --terracotta: #C8735A;
  --terracotta-dark: #A85B44;
  --terracotta-pale: #F4DDD1;
  --terracotta-soft: #E8B9A8;
  --ink: #1A2332;
  --ink-muted: #4C5768;
  --ink-soft: #6B7484;
  --ink-faint: #9199A8;
  --ink-line: rgba(26,35,50,0.08);
  --honey: #D4A24A;
  --honey-pale: #F4E4C8;
  --success: #4A7B5F;
  --success-pale: #DDEBE0;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 1px 2px rgba(26,35,50,.04),0 1px 3px rgba(26,35,50,.03);
  --shadow-md: 0 4px 12px rgba(26,35,50,.06),0 2px 4px rgba(26,35,50,.04);
  --shadow-lg: 0 12px 32px rgba(26,35,50,.08),0 4px 12px rgba(26,35,50,.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
  font-feature-settings: 'ss01','cv11';
  padding-bottom: env(safe-area-inset-bottom);
}
h1,h2,h3,h4 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-sans); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Mobile-first canvas — max width 480px, but full width on real phones */
.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--ivory);
  position: relative;
  padding-bottom: 100px;
}
@media (min-width: 481px) {
  body { background: #D8CFBE; padding: 24px 0; }
  .app { box-shadow: 0 40px 80px rgba(26,35,50,.15); border-radius: 32px; overflow: hidden; margin-top: 16px; margin-bottom: 16px; padding-top: env(safe-area-inset-top); }
}

/* ---------- Install PWA banner ---------- */
.pwa-banner {
  background: var(--forest);
  color: var(--cream);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
}
.pwa-banner .icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--cream); color: var(--forest);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-serif); font-size: 15px; font-weight: 600;
}
.pwa-banner .txt { flex: 1; line-height: 1.4; }
.pwa-banner .txt b { display: block; font-weight: 600; }
.pwa-banner button {
  padding: 6px 12px; border-radius: 999px;
  background: var(--terracotta); color: white;
  font-size: 12px; font-weight: 600; flex-shrink: 0;
}
.pwa-banner .close {
  padding: 6px; background: transparent; color: rgba(251,247,240,.6); font-size: 18px; line-height: 1;
}

/* ---------- App bar ---------- */
.appbar {
  padding: 14px 20px 12px;
  display: flex; align-items: center; gap: 12px;
  background: var(--ivory);
  border-bottom: 1px solid var(--ink-line);
  position: sticky; top: 0; z-index: 20;
}
.appbar .back {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.appbar .back:active { background: var(--ivory-deep); }
.appbar .logo {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-serif); font-size: 19px; font-weight: 500;
  color: var(--forest);
}
.appbar .logo::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--terracotta); }
.appbar .step-count {
  margin-left: auto;
  font-size: 11.5px; color: var(--ink-soft); font-weight: 600;
}
.appbar .save-state {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--sage-pale); color: var(--forest);
  font-size: 11px; font-weight: 600;
}
.appbar .save-state.saving { background: var(--honey-pale); color: #8B6B2C; }
.appbar .save-state .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.appbar .save-state.saving .dot { background: var(--honey); }

/* Progress bar */
.progress-bar {
  height: 4px;
  background: var(--ivory-deep);
  position: sticky; top: 62px; z-index: 15;
}
.progress-bar > .fill {
  height: 100%; background: var(--forest);
  border-radius: 0 999px 999px 0;
  transition: width 0.4s cubic-bezier(.4,0,.2,1);
}

/* Content */
.screen {
  padding: 24px 20px 140px;
}
.screen.animate-in {
  animation: slideIn 0.3s cubic-bezier(.2,.7,.2,1);
}
@keyframes slideIn {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---------- Welcome ---------- */
.welcome-hero {
  padding: 40px 20px 20px;
  text-align: center;
}
.welcome-hero .lamba {
  width: 60px; height: 4px; margin: 0 auto 20px;
  background-image: repeating-linear-gradient(90deg,
    var(--terracotta) 0 6px, var(--forest) 6px 12px,
    var(--honey) 12px 18px, var(--forest) 18px 24px);
  opacity: .55; border-radius: 2px;
}
.welcome-hero .kicker {
  font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--terracotta); font-weight: 700;
  margin-bottom: 12px;
}
.welcome-hero h1 {
  font-size: 32px; line-height: 1.1; letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.welcome-hero h1 em { font-style: italic; color: var(--terracotta); font-weight: 500; }
.welcome-hero p.sub {
  font-size: 15px; color: var(--ink-muted); line-height: 1.55;
  max-width: 340px; margin: 0 auto 20px;
}
.welcome-hero .mg {
  font-family: var(--font-serif); font-style: italic; color: var(--forest-600);
  font-size: 13.5px;
}

/* Indications pédagogiques en malgache — accompagnent le texte français
   (structure principale du parcours) sans le remplacer, pour aider les
   nounous en cas de doute sur un terme ou une consigne. Toujours visibles,
   quelle que soit la langue détectée. */
.mg-hint {
  font-family: var(--font-serif); font-style: italic; color: var(--forest-600);
  font-size: 12.5px; line-height: 1.5;
  margin-top: 6px;
}
.mg-hint::before { content: "🇲🇬 "; font-style: normal; }
.mg-hint-sub { margin-top: -14px; margin-bottom: 20px; }

/* Counter card */
.counter-card {
  background: var(--cream);
  border: 1px solid var(--ivory-deep);
  border-radius: 20px;
  padding: 22px;
  margin: 24px 20px 20px;
  position: relative;
}
.counter-card .badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px 5px 8px; border-radius: 999px;
  background: var(--forest); color: var(--cream);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  margin-bottom: 14px;
}
.counter-card h3 { font-size: 20px; line-height: 1.2; margin-bottom: 8px; }
.counter-card .sub { font-size: 13px; color: var(--ink-muted); line-height: 1.55; margin-bottom: 20px; }
.counter-card .stats {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 16px;
  gap: 12px;
}
.counter-card .num {
  font-family: var(--font-serif); font-size: 44px; font-weight: 500; color: var(--terracotta);
  line-height: 1; white-space: nowrap;
}
.counter-card .num small { font-size: 22px; color: var(--ink-muted); font-weight: 500; margin-left: 2px; }
.counter-card .lbl { font-size: 11px; color: var(--ink-soft); text-align: right; max-width: 140px; line-height: 1.4; }
.counter-card .bar {
  height: 8px; background: var(--ivory-deep); border-radius: 999px; overflow: hidden; margin-bottom: 12px;
}
.counter-card .bar > div { height: 100%; width: 47%; background: linear-gradient(90deg, var(--terracotta), var(--terracotta-dark)); border-radius: 999px; }
.counter-card .hint {
  font-size: 11.5px; color: var(--terracotta-dark); font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px;
}

/* Value list */
.value-list {
  margin: 24px 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.value-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--cream);
  border: 1px solid var(--ivory-deep);
  border-radius: 14px;
  padding: 14px;
}
.value-item .ico {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--sage-pale); color: var(--forest);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.value-item .body { flex: 1; }
.value-item h4 { font-size: 14px; margin-bottom: 3px; color: var(--forest); }
.value-item p { font-size: 12.5px; color: var(--ink-muted); line-height: 1.5; }

/* ---------- Big buttons ---------- */
.big-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 16px 20px; min-height: 54px;
  border-radius: 14px;
  font-weight: 600; font-size: 15.5px;
  transition: transform .08s ease, background .15s ease;
}
.big-btn:active { transform: scale(0.98); }
.big-btn-primary { background: var(--terracotta); color: white; box-shadow: 0 2px 8px rgba(200,115,90,.25); }
.big-btn-primary:hover { background: var(--terracotta-dark); }
.big-btn-forest { background: var(--forest); color: var(--cream); }
.big-btn-soft { background: var(--cream); color: var(--forest); border: 1px solid var(--ivory-deep); }
.big-btn-ghost { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); }
.big-btn-whatsapp { background: #25D366; color: white; }

/* Bottom bar */
.bottom-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(245,239,228,0), var(--ivory) 20%);
  z-index: 30;
  max-width: 480px; margin: 0 auto;
  display: flex; gap: 10px;
}
.bottom-bar .later {
  padding: 12px 18px; border-radius: 14px;
  background: var(--cream); border: 1px solid var(--ivory-deep);
  color: var(--ink-muted); font-size: 13px; font-weight: 600;
  min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 5px;
  white-space: nowrap;
}
.bottom-bar .primary { flex: 1; }

/* Form pieces */
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 12.5px; font-weight: 600;
  color: var(--forest); margin-bottom: 8px;
}
.field label .req { color: var(--terracotta); }
.field label .opt { color: var(--ink-faint); font-weight: 500; font-size: 11px; }
.field .helper { font-size: 12px; color: var(--ink-soft); margin-top: 6px; line-height: 1.5; }
.field .input, .field select, .field textarea {
  width: 100%; padding: 15px 16px;
  border: 1.5px solid var(--ivory-deep); border-radius: 12px;
  background: var(--paper); font-size: 16px; color: var(--ink);
  font-family: var(--font-sans);
  transition: border-color .15s ease;
  min-height: 52px;
}
.field textarea { min-height: 100px; resize: vertical; line-height: 1.5; padding: 14px 16px; }
.field .input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); }
.field .input-with-prefix {
  display: flex; align-items: center;
  border: 1.5px solid var(--ivory-deep); border-radius: 12px;
  background: var(--paper); overflow: hidden;
  transition: border-color .15s ease;
}
.field .input-with-prefix:focus-within { border-color: var(--forest); }
.field .input-with-prefix .prefix {
  padding: 15px 12px 15px 16px;
  background: var(--ivory-deep); color: var(--ink-muted);
  font-weight: 600; font-size: 15px;
}
.field .input-with-prefix input {
  flex: 1; border: none; background: transparent; padding: 15px 16px 15px 12px;
  font-size: 16px; min-height: 52px;
}
.field .input-with-prefix input:focus { outline: none; }

/* Chips */
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 12px 16px; border-radius: 999px;
  background: var(--cream); border: 1.5px solid var(--ivory-deep);
  font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all .15s ease;
  min-height: 44px;
}
.chip.on {
  background: var(--forest); color: var(--cream); border-color: var(--forest);
}
.chip svg { width: 14px; height: 14px; }
/* Coche toujours rendue côté serveur (évite un aller-retour réseau au clic,
   cf. C.6) — visibilité pilotée en CSS pur selon l'état .on. */
.chip-check { display: none; }
.chip.on .chip-check { display: inline-flex; }

/* Big option cards */
.opt-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: var(--cream);
  border: 1.5px solid var(--ivory-deep);
  border-radius: 14px;
  text-align: left; width: 100%;
  transition: all .15s ease;
  min-height: 64px;
}
.opt-card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--ivory); color: var(--forest);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.opt-card .body { flex: 1; }
.opt-card h5 { font-family: var(--font-sans); font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.opt-card p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.4; }
.opt-card .check { color: var(--ink-faint); }
/* Coche toujours rendue côté serveur (évite un aller-retour réseau au clic,
   cf. C.6) — masquée par défaut, affichée en CSS pur quand .on. */
.opt-card .check svg { display: none; }
.opt-card.on {
  border-color: var(--forest);
  background: var(--sage-pale);
}
.opt-card.on .ico { background: var(--forest); color: var(--cream); }
.opt-card.on .check { color: var(--forest); }
.opt-card.on .check svg { display: inline; }

/* Photo upload */
.photo-upload {
  aspect-ratio: 3/4;
  max-height: 340px;
  border: 2px dashed var(--sage);
  border-radius: 20px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s;
}
.photo-upload:hover { border-color: var(--forest); }
.photo-upload.has-photo { border-style: solid; border-color: var(--ivory-deep); }
.photo-upload img { width: 100%; height: 100%; object-fit: cover; }
.photo-upload .empty {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--ink-muted);
  padding: 20px; text-align: center;
}
.photo-upload .empty .ico {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--sage-pale); color: var(--forest);
  display: flex; align-items: center; justify-content: center;
}
.photo-upload .empty h5 { font-family: var(--font-sans); font-weight: 600; font-size: 15px; color: var(--ink); }
.photo-upload .empty p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; max-width: 220px; }
.photo-upload input[type=file] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer;
}
.photo-upload .change-btn {
  position: absolute; bottom: 10px; right: 10px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(31,58,46,.9); color: var(--cream);
  font-size: 12.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px;
}

/* Section headers */
.section-title {
  font-size: 24px; letter-spacing: -0.02em; margin-bottom: 6px;
}
.section-title em { font-style: italic; color: var(--terracotta); font-weight: 500; }
.section-sub {
  font-size: 14px; color: var(--ink-muted); line-height: 1.55;
  margin-bottom: 24px;
}
.step-num {
  font-family: var(--font-serif); font-size: 15px; color: var(--terracotta);
  font-weight: 500; letter-spacing: 0.5px;
  margin-bottom: 4px; text-transform: uppercase;
}

/* Add-more button */
.add-more-btn {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  padding: 14px 16px;
  width: 100%;
  background: transparent; border: 1.5px dashed var(--ink-faint);
  border-radius: 12px;
  color: var(--ink-muted); font-size: 13.5px; font-weight: 600;
  min-height: 52px;
}
.add-more-btn:hover { border-color: var(--forest); color: var(--forest); }

/* Reference / experience row */
.entry {
  background: var(--cream); border: 1px solid var(--ivory-deep);
  border-radius: 14px; padding: 16px; margin-bottom: 10px;
  position: relative;
}
.entry .rm-btn {
  position: absolute; top: 12px; right: 12px;
  width: 28px; height: 28px; border-radius: 50%;
  background: transparent; color: var(--ink-faint);
  display: flex; align-items: center; justify-content: center;
}
.entry .rm-btn:hover { background: var(--terracotta-pale); color: var(--terracotta-dark); }
.entry .entry-title {
  font-size: 12px; color: var(--forest); text-transform: uppercase; letter-spacing: 1.4px; font-weight: 700;
  margin-bottom: 12px;
}

/* Tip / info card */
.tip-card {
  background: var(--linen); border-radius: 12px; padding: 14px;
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12.5px; color: var(--ink-muted); line-height: 1.55;
  margin-top: 8px;
}
.tip-card .ico { color: var(--forest); flex-shrink: 0; margin-top: 1px; }
.tip-card b { color: var(--forest); font-weight: 600; }

/* Success screen */
.success-screen { text-align: center; padding: 40px 20px; }
.success-screen .ring {
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--sage-pale); color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  animation: pop 0.5s cubic-bezier(.5,1.5,.5,1) both;
}
@keyframes pop {
  from { transform: scale(0.3); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.success-screen h1 { font-size: 30px; line-height: 1.15; margin-bottom: 12px; letter-spacing: -0.025em; }
.success-screen h1 em { font-style: italic; color: var(--terracotta); font-weight: 500; }
.success-screen .lead { font-size: 15px; color: var(--ink-muted); line-height: 1.55; max-width: 320px; margin: 0 auto 24px; }

.next-steps {
  background: var(--cream); border: 1px solid var(--ivory-deep);
  border-radius: 16px; padding: 20px 20px 16px;
  margin: 20px 0; text-align: left;
}
.next-steps h4 { font-size: 16px; margin-bottom: 12px; }
.next-step {
  display: flex; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--ivory-deep);
}
.next-step:last-child { border-bottom: none; }
.next-step .n {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--forest); color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.next-step .body { flex: 1; min-width: 0; }
.next-step .body h5 { font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; margin: 0 0 6px; line-height: 1.4; color: var(--ink); }
.next-step .body p { font-size: 12px; color: var(--ink-soft); line-height: 1.55; margin: 0; }

/* --- Profile view (post-registration) --- */
.profile-hero {
  padding: 32px 20px 20px;
  text-align: center;
  background: linear-gradient(180deg, var(--sage-pale), var(--ivory));
}
.profile-avatar {
  width: 110px; height: 110px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-pale), var(--terracotta-pale));
  color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 44px; font-weight: 500;
  margin: 0 auto 14px;
  border: 4px solid var(--cream); box-shadow: var(--shadow-md);
  overflow: hidden;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-hero h2 { font-size: 26px; letter-spacing: -0.02em; margin-bottom: 4px; }
.profile-hero .status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px 5px 8px; border-radius: 999px;
  background: var(--forest); color: var(--cream);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  margin-top: 10px;
}
.completion-card {
  background: var(--cream); border: 1px solid var(--ivory-deep);
  border-radius: 16px; padding: 18px; margin: 16px 20px;
}
.completion-card .top {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 12px; gap: 12px;
}
.completion-card .top .lbl { font-size: 13px; font-weight: 600; color: var(--forest); flex: 1; min-width: 0; }
.completion-card .top .pct { font-family: var(--font-serif); font-size: 22px; color: var(--forest); font-weight: 500; white-space: nowrap; }
.completion-card .bar { height: 8px; background: var(--ivory-deep); border-radius: 999px; overflow: hidden; margin-bottom: 12px; }
.completion-card .bar > div { height: 100%; background: var(--forest); border-radius: 999px; transition: width .3s; }
.completion-card .hint { font-size: 12px; color: var(--ink-soft); line-height: 1.5; }
.completion-card .hint b { color: var(--forest); font-weight: 600; }

/* Sections list on profile */
.profile-section {
  margin: 20px 20px;
  background: var(--cream);
  border: 1px solid var(--ivory-deep);
  border-radius: 16px;
  overflow: hidden;
}
.profile-section .sec-head {
  padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--ivory-deep);
}
.profile-section .sec-head h4 { font-size: 15px; flex: 1; }
.profile-section .sec-head .badge {
  padding: 3px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase;
}
.profile-section .sec-head .badge.done { background: var(--success-pale); color: var(--success); }
.profile-section .sec-head .badge.todo { background: var(--warning-pale); color: #C68B3D; }
.profile-section .sec-body {
  padding: 14px 18px;
  font-size: 13.5px; color: var(--ink-muted); line-height: 1.5;
  display: flex; flex-direction: column; gap: 8px;
}
.profile-section .sec-body .kv {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 4px 0; align-items: baseline;
}
.profile-section .sec-body .kv .k { color: var(--ink-soft); flex-shrink: 0; }
.profile-section .sec-body .kv .v { color: var(--ink); font-weight: 500; text-align: right; min-width: 0; overflow-wrap: break-word; }
.profile-section .sec-foot {
  padding: 10px 18px;
  border-top: 1px solid var(--ivory-deep);
  display: flex; justify-content: flex-end;
}
.profile-section .sec-foot button {
  font-size: 12.5px; color: var(--forest); font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
}

.opening-card {
  margin: 20px;
  padding: 20px;
  background: var(--forest); color: var(--cream);
  border-radius: 16px;
  position: relative; overflow: hidden;
}
.opening-card .lb {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background-image: repeating-linear-gradient(90deg,
    var(--terracotta) 0 4px, var(--forest-600) 4px 8px,
    var(--honey) 8px 12px, var(--forest-600) 12px 16px);
  opacity: .8;
}
.opening-card .kicker { font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--terracotta-soft); font-weight: 700; margin-bottom: 8px; }
.opening-card h4 { font-size: 20px; color: var(--cream); line-height: 1.25; margin-bottom: 10px; padding-top: 6px; }
.opening-card p { font-size: 12.5px; opacity: .8; line-height: 1.6; }
.next-steps .next-step .body h5 { line-height: 1.35; margin-bottom: 4px; }
.next-steps .next-step { padding: 12px 0; align-items: flex-start; }

.wa-fab {
  position: fixed;
  right: 20px; bottom: calc(20px + env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 16px;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
  z-index: 40;
}
@media (min-width: 481px) {
  .wa-fab { right: calc(50% - 216px); }
}

/* Utility */
.hidden { display: none !important; }
.spacer { height: 12px; }
button:focus-visible, .field .input:focus-visible, .chip:focus-visible {
  outline: 2px solid var(--forest); outline-offset: 2px;
}
