/*
 * Emergency Preparedness landing page — /lp/emergency-preparedness/
 * Scoped under body.emergency-landing. Ported from assets/emergency.html
 * (site header/footer replace the page's own nav/footer).
 */
body.emergency-landing {
  --em-purple: #785788;
  --em-purple-dark: #5a3f68;
  --em-gold: #F1C677;
  --em-white: #FFFFFF;
  --em-ink: #241C2C;
  --em-ink-soft: #5A5164;
  --em-storm: #EAF0F5;
  --em-storm-line: #C7D3DE;
  --em-safe: #3F7A5C;
  --em-safe-bg: #E7F1EB;
  --em-assist: #B5542A;
  --em-assist-bg: #FBEBE2;
  --em-pending: #8B8496;
  --em-pending-bg: #EFECF2;
  --em-radius: 14px;
  --em-serif: 'DM Serif Display', serif;
  --em-sans: 'DM Sans', sans-serif;
  --em-mono: 'IBM Plex Mono', monospace;
}

body.emergency-landing .em-wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
body.emergency-landing section.em-section { position: relative; }

/* ---------- reveal ---------- */
body.emergency-landing .em-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
body.emergency-landing .em-reveal.is-visible { opacity: 1; transform: translateY(0); }
body.emergency-landing .em-reveal.em-d1 { transition-delay: .08s; }
body.emergency-landing .em-reveal.em-d2 { transition-delay: .16s; }
body.emergency-landing .em-reveal.em-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  body.emergency-landing .em-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- hero ---------- */
body.emergency-landing .em-hero {
  padding: 88px 0 76px;
  background: linear-gradient(180deg, var(--em-white) 0%, var(--em-storm) 100%);
}
body.emergency-landing .em-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
body.emergency-landing .em-eyebrow {
  font-family: var(--em-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--em-purple); display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
body.emergency-landing .em-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--em-gold); display: inline-block; }
body.emergency-landing .em-hero h1 {
  font-family: var(--em-serif); font-weight: 400; font-size: 2.9rem; line-height: 1.15;
  color: var(--em-ink); margin-bottom: 22px;
}
body.emergency-landing .em-hero h1 em { color: var(--em-purple); font-style: italic; }
body.emergency-landing .em-hero p.em-lead { font-family: var(--em-sans); font-size: 1.08rem; color: var(--em-ink-soft); max-width: 46ch; margin-bottom: 30px; }
body.emergency-landing .em-btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
body.emergency-landing .em-btn-primary,
body.emergency-landing a.em-btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--em-purple); color: var(--em-white) !important; border: none;
  font-family: var(--em-sans); font-weight: 700; font-size: .95rem;
  padding: 15px 28px; border-radius: 999px; cursor: pointer;
  text-decoration: none !important;
  transition: background .2s ease, transform .2s ease;
}
body.emergency-landing .em-btn-primary:hover,
body.emergency-landing a.em-btn-primary:hover { background: var(--em-purple-dark); transform: translateY(-1px); color: var(--em-white) !important; }
body.emergency-landing .em-btn-ghost,
body.emergency-landing a.em-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--em-purple) !important; border: 1.5px solid var(--em-purple);
  font-family: var(--em-sans); font-weight: 700; font-size: .95rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  text-decoration: none !important;
  transition: background .2s ease;
}
body.emergency-landing .em-btn-ghost:hover,
body.emergency-landing a.em-btn-ghost:hover { background: rgba(120,87,136,.08); }

/* Override shared .fake-blog-link link styling when used as a primary CTA */
body.emergency-landing .em-btn-primary.fake-blog-link { border-bottom: none !important; }
body.emergency-landing .em-btn-primary.fake-blog-link:hover { text-decoration: none !important; }

/* phone mock */
body.emergency-landing .em-phone {
  background: var(--em-white); border-radius: 32px; border: 1px solid var(--em-storm-line);
  box-shadow: 0 24px 48px -20px rgba(36,28,44,.28);
  padding: 18px 16px 22px; max-width: 340px; margin: 0 auto;
  font-family: var(--em-sans);
}
body.emergency-landing .em-phone-head {
  display: flex; align-items: center; gap: 10px; padding: 2px 6px 14px;
  border-bottom: 1px solid var(--em-storm-line); margin-bottom: 14px;
}
body.emergency-landing .em-phone-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--em-purple);
  color: var(--em-white); font-family: var(--em-mono); font-size: .7rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
body.emergency-landing .em-phone-name { font-weight: 700; font-size: .88rem; color: var(--em-ink); }
body.emergency-landing .em-phone-sub { font-family: var(--em-mono); font-size: .68rem; color: var(--em-ink-soft); }
body.emergency-landing .em-bubble {
  font-size: .86rem; padding: 11px 14px; border-radius: 16px; margin-bottom: 10px;
  max-width: 88%; line-height: 1.45;
}
body.emergency-landing .em-bubble.em-out {
  background: var(--em-purple); color: var(--em-white);
  border-bottom-right-radius: 4px; margin-left: auto;
}
body.emergency-landing .em-bubble.em-in {
  background: var(--em-storm); color: var(--em-ink);
  border-bottom-left-radius: 4px; margin-right: auto;
}
body.emergency-landing .em-bubble .em-ts {
  display: block; font-family: var(--em-mono); font-size: .62rem; opacity: .7; margin-top: 5px;
}

/* ---------- section shell ---------- */
body.emergency-landing .em-section { padding: 92px 0; }
body.emergency-landing .em-section.em-storm-bg { background: var(--em-storm); }
body.emergency-landing .em-kicker {
  font-family: var(--em-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--em-purple); margin-bottom: 14px;
}
body.emergency-landing .em-section h2,
body.emergency-landing .em-final-cta h2 {
  font-family: var(--em-serif); font-weight: 400; font-size: 2.1rem; color: var(--em-ink); margin-bottom: 18px; max-width: 20ch;
}
body.emergency-landing .em-section p.em-desc,
body.emergency-landing .em-final-cta p.em-desc { color: var(--em-ink-soft); max-width: 62ch; font-size: 1.02rem; margin-bottom: 8px; font-family: var(--em-sans); }

/* ---------- problem strip ---------- */
body.emergency-landing .em-problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 36px; }
body.emergency-landing .em-problem-card {
  background: var(--em-white); border: 1px solid var(--em-storm-line); border-radius: var(--em-radius);
  padding: 26px 26px 24px;
}
body.emergency-landing .em-problem-card + .em-problem-card { margin-top: 16px; }
body.emergency-landing .em-problem-card h3 { font-family: var(--em-sans); font-size: .98rem; font-weight: 700; margin-bottom: 6px; color: var(--em-ink); }
body.emergency-landing .em-problem-card p { font-size: .92rem; color: var(--em-ink-soft); font-family: var(--em-sans); margin: 0; }

/* ---------- before/during/after ---------- */
body.emergency-landing .em-phase-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
body.emergency-landing .em-phase-card {
  background: var(--em-white); border: 1px solid var(--em-storm-line); border-radius: var(--em-radius);
  padding: 28px 24px; position: relative; overflow: hidden;
}
body.emergency-landing .em-phase-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
body.emergency-landing .em-phase-card.em-before::before { background: var(--em-gold); }
body.emergency-landing .em-phase-card.em-during::before { background: var(--em-purple); }
body.emergency-landing .em-phase-card.em-after::before { background: var(--em-safe); }
body.emergency-landing .em-phase-label { font-family: var(--em-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--em-ink-soft); margin-bottom: 10px; }
body.emergency-landing .em-phase-card h3 { font-family: var(--em-serif); font-weight: 400; font-size: 1.3rem; margin-bottom: 10px; color: var(--em-ink); }
body.emergency-landing .em-phase-card p { font-size: .92rem; color: var(--em-ink-soft); font-family: var(--em-sans); margin: 0; }

/* ---------- timeline ---------- */
body.emergency-landing .em-timeline-shell {
  border-radius: 24px; padding: 56px 40px 48px;
  transition: background 1.1s ease;
  background: linear-gradient(160deg, #EAF0F5 0%, #EAF0F5 100%);
}
body.emergency-landing .em-timeline-shell[data-state="1"] { background: linear-gradient(160deg, #EAF0F5 0%, #E4ECF3 100%); }
body.emergency-landing .em-timeline-shell[data-state="2"] { background: linear-gradient(160deg, #DCE6EE 0%, #EFE0CE 120%); }
body.emergency-landing .em-timeline-shell[data-state="3"] { background: linear-gradient(160deg, #D7E0E9 0%, #ECD9C6 120%); }
body.emergency-landing .em-timeline-shell[data-state="4"] { background: linear-gradient(160deg, #E3EFE8 0%, #EAF0F5 120%); }

body.emergency-landing .em-timeline-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 18px; margin-bottom: 34px; }
body.emergency-landing .em-timeline-head h2 { margin-bottom: 6px; }
body.emergency-landing .em-scenario-tag {
  font-family: var(--em-mono); font-size: .78rem; background: var(--em-white);
  border: 1px solid var(--em-storm-line); border-radius: 999px; padding: 8px 16px;
  color: var(--em-ink-soft);
}

body.emergency-landing .em-pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
body.emergency-landing .em-pill {
  font-family: var(--em-mono); font-size: .82rem; background: var(--em-white);
  border: 1.5px solid var(--em-storm-line); color: var(--em-ink-soft);
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  transition: all .2s ease;
}
body.emergency-landing .em-pill .em-d { display: block; font-family: var(--em-sans); font-weight: 700; font-size: .72rem; color: var(--em-ink); margin-top: 2px; }
body.emergency-landing .em-pill.em-active { background: var(--em-purple); border-color: var(--em-purple); color: var(--em-white); }
body.emergency-landing .em-pill.em-active .em-d { color: var(--em-white); }

body.emergency-landing .em-tl-panel { display: none; grid-template-columns: .95fr 1.05fr; gap: 44px; align-items: center; }
body.emergency-landing .em-tl-panel.em-active { display: grid; }
body.emergency-landing .em-tl-copy .em-tag {
  font-family: var(--em-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--em-purple); margin-bottom: 10px; display: block;
}
body.emergency-landing .em-tl-copy h3 { font-family: var(--em-serif); font-weight: 400; font-size: 1.5rem; margin-bottom: 12px; color: var(--em-ink); }
body.emergency-landing .em-tl-copy p { color: var(--em-ink-soft); font-size: .96rem; margin-bottom: 14px; font-family: var(--em-sans); }
body.emergency-landing .em-reply-examples { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
body.emergency-landing .em-reply-card {
  background: var(--em-white); border: 1px solid var(--em-storm-line); border-radius: 12px;
  padding: 14px 16px; flex: 1; min-width: 170px;
}
body.emergency-landing .em-reply-card .em-who { font-weight: 700; font-size: .86rem; margin-bottom: 4px; font-family: var(--em-sans); color: var(--em-ink); }
body.emergency-landing .em-reply-card .em-msg { font-family: var(--em-mono); font-size: .8rem; color: var(--em-ink-soft); margin-bottom: 8px; }
body.emergency-landing .em-status-tag {
  display: inline-block; font-family: var(--em-mono); font-size: .7rem; font-weight: 500;
  padding: 4px 10px; border-radius: 999px;
}
body.emergency-landing .em-status-tag.em-safe { background: var(--em-safe-bg); color: var(--em-safe); }
body.emergency-landing .em-status-tag.em-assist { background: var(--em-assist-bg); color: var(--em-assist); }
body.emergency-landing .em-status-tag.em-pending { background: var(--em-pending-bg); color: var(--em-pending); }

body.emergency-landing .em-report-card {
  background: var(--em-white); border: 1px solid var(--em-storm-line); border-radius: 16px; padding: 30px 28px;
}
body.emergency-landing .em-report-card h4 { font-family: var(--em-serif); font-weight: 400; font-size: 1.2rem; margin-bottom: 4px; color: var(--em-ink); }
body.emergency-landing .em-report-card .em-range { font-family: var(--em-mono); font-size: .78rem; color: var(--em-ink-soft); margin-bottom: 20px; }
body.emergency-landing .em-report-row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--em-storm-line); font-size: .9rem; font-family: var(--em-sans); color: var(--em-ink); }
body.emergency-landing .em-report-row:first-of-type { border-top: none; }
body.emergency-landing .em-report-row .em-num { font-family: var(--em-mono); font-weight: 500; }
body.emergency-landing .em-report-btn {
  margin-top: 20px; width: 100%; background: var(--em-purple); color: var(--em-white);
  border: none; padding: 13px; border-radius: 10px; font-family: var(--em-sans); font-weight: 700;
  font-size: .9rem; cursor: default;
}
body.emergency-landing .em-report-note { font-size: .74rem; color: var(--em-ink-soft); text-align: center; margin-top: 10px; font-family: var(--em-sans); }

/* ---------- dashboard ---------- */
body.emergency-landing .em-dash-shell {
  background: var(--em-white); border: 1px solid var(--em-storm-line); border-radius: 20px;
  padding: 32px; box-shadow: 0 30px 60px -30px rgba(36,28,44,.22);
  margin-top: 36px;
}
body.emergency-landing .em-dash-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
body.emergency-landing .em-dash-title { font-family: var(--em-serif); font-size: 1.15rem; color: var(--em-ink); }
body.emergency-landing .em-dash-time { font-family: var(--em-mono); font-size: .75rem; color: var(--em-ink-soft); }
body.emergency-landing .em-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
body.emergency-landing .em-stat { background: var(--em-storm); border-radius: 12px; padding: 18px 16px; }
body.emergency-landing .em-stat .em-n { font-family: var(--em-mono); font-size: 1.7rem; font-weight: 500; color: var(--em-ink); }
body.emergency-landing .em-stat .em-l { font-size: .78rem; color: var(--em-ink-soft); margin-top: 2px; font-family: var(--em-sans); }
body.emergency-landing .em-stat.em-safe .em-n { color: var(--em-safe); }
body.emergency-landing .em-stat.em-assist .em-n { color: var(--em-assist); }
body.emergency-landing .em-stat.em-pending .em-n { color: var(--em-pending); }

body.emergency-landing table.em-patient-table { width: 100%; border-collapse: collapse; font-size: .88rem; font-family: var(--em-sans); }
body.emergency-landing table.em-patient-table th {
  text-align: left; font-family: var(--em-mono); font-size: .7rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--em-ink-soft); padding: 10px 12px; border-bottom: 1px solid var(--em-storm-line);
}
body.emergency-landing table.em-patient-table td { padding: 12px; border-bottom: 1px solid var(--em-storm-line); vertical-align: middle; color: var(--em-ink); }
body.emergency-landing table.em-patient-table .em-mono { font-family: var(--em-mono); }
body.emergency-landing .em-call-btn {
  display: inline-flex; align-items: center; gap: 6px; background: var(--em-purple); color: var(--em-white);
  border: none; padding: 7px 14px; border-radius: 999px; font-family: var(--em-sans); font-weight: 700;
  font-size: .76rem; cursor: default;
}
body.emergency-landing .em-call-btn.em-quiet { background: transparent; color: var(--em-ink-soft); border: 1px solid var(--em-storm-line); }

/* ---------- proof strip ---------- */
body.emergency-landing .em-proof-strip {
  background: var(--em-purple); color: var(--em-white); padding: 52px 0; text-align: center;
}
body.emergency-landing .em-proof-strip p { font-family: var(--em-serif); font-size: 1.5rem; max-width: 42ch; margin: 0 auto 8px; color: var(--em-white); }
body.emergency-landing .em-proof-strip span { font-family: var(--em-mono); font-size: .8rem; color: var(--em-gold); }

/* ---------- final cta ---------- */
body.emergency-landing .em-final-cta { padding: 100px 0; text-align: center; }
body.emergency-landing .em-final-cta h2 { max-width: none; margin: 0 auto 16px; }
body.emergency-landing .em-final-cta p.em-desc { margin: 0 auto 30px; }

@media (max-width: 860px) {
  body.emergency-landing .em-hero-grid { grid-template-columns: 1fr; }
  body.emergency-landing .em-hero { padding: 64px 0 48px; }
  body.emergency-landing .em-hero h1 { font-size: 2.15rem; }
  body.emergency-landing .em-problem-grid { grid-template-columns: 1fr; }
  body.emergency-landing .em-phase-row { grid-template-columns: 1fr; }
  body.emergency-landing .em-tl-panel.em-active { grid-template-columns: 1fr; }
  body.emergency-landing .em-stat-row { grid-template-columns: 1fr 1fr; }
  body.emergency-landing table.em-patient-table { font-size: .8rem; }
  body.emergency-landing .em-timeline-shell { padding: 36px 22px 32px; }
}
