/* PREPARIFIED Landing Page — Community Resilience Infrastructure */

:root {
  --bg: #f7f4ef;
  --bg-alt: #edeae3;
  --bg-warm: #faf7f2;
  --fg: #0d2117;
  --fg-muted: #4a6653;
  --fg-faint: #8a9e8e;
  --accent: #e8912d;
  --accent-dark: #c47a1e;
  --accent-light: rgba(232, 145, 45, 0.08);
  --dark-section: #0d2117;
  --dark-section-fg: #e8e4dd;
  --dark-section-muted: #7a8c7c;
  --border: rgba(13, 33, 23, 0.08);
  --border-accent: rgba(232, 145, 45, 0.25);
  --shadow-sm: 0 2px 12px rgba(13, 33, 23, 0.06);
  --shadow-md: 0 8px 32px rgba(13, 33, 23, 0.10);
  --shadow-accent: 0 8px 32px rgba(232, 145, 45, 0.15);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; }
p { line-height: 1.75; color: var(--fg-muted); }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dark); }

strong { color: var(--fg); font-weight: 600; }

/* Section label */
.section-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(232, 145, 45, 0.25);
  color: #fff;
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--fg-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-alt);
  color: var(--fg);
  border-color: rgba(13, 33, 23, 0.2);
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--fg);
  text-decoration: none;
}
.nav-logo:hover { color: var(--fg); }
.nav-logo svg { flex-shrink: 0; }
.nav-tagline {
  font-size: 0.7rem;
  color: var(--fg-faint);
  letter-spacing: 0.04em;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  background: var(--fg);
  color: var(--bg);
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}
.nav-cta:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--bg);
}
.hero-bg-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-svg-bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 52%;
  height: 100%;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: center;
  width: 100%;
}
.hero-left { max-width: 600px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
  background: var(--accent-light);
  padding: 0.45rem 0.9rem;
  border-radius: 2rem;
  border: 1px solid var(--border-accent);
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.hero-headline {
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.02;
  margin-bottom: 1.5rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
  font-weight: 700;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 520px;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-pillars {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.pillar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.02em;
}
.pillar svg { flex-shrink: 0; }

/* Stats Column */
.stats-column {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--dark-section);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: var(--shadow-md);
}
.stat-card { padding: 1.4rem 0; }
.stat-card:first-child { padding-top: 0; }
.stat-card:last-child { padding-bottom: 0; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--dark-section-muted);
  line-height: 1.55;
  font-weight: 400;
}
.stat-divider { height: 1px; background: rgba(255,255,255,0.06); }

/* THE GAP */
.the-gap {
  background: var(--bg-alt);
  padding: 8rem 2.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.gap-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.gap-left { position: sticky; top: 5rem; }
.gap-headline {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.gap-accent { color: var(--accent); font-style: italic; }
.gap-right { display: flex; flex-direction: column; gap: 0; }
.gap-block { padding: 2rem 0; }
.gap-block h3 { font-size: 1.05rem; margin-bottom: 0.6rem; color: var(--fg); font-weight: 700; }
.gap-block p { font-size: 0.92rem; line-height: 1.7; }
.gap-emphasis { color: var(--fg) !important; font-weight: 500; }
.gap-icon { margin-bottom: 1.25rem; }
.gap-divider { height: 1px; background: var(--border); }

/* HOW IT WORKS */
.how-it-works {
  padding: 8rem 2.5rem;
  background: var(--bg);
}
.hiw-inner { max-width: 1200px; margin: 0 auto; }
.hiw-header { text-align: center; margin-bottom: 4.5rem; }
.hiw-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hiw-sub {
  font-size: 1rem;
  max-width: 580px;
  margin: 0 auto;
  color: var(--fg-muted);
}
.hiw-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.hiw-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.hiw-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(232,145,45,0.2) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.hiw-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.hiw-card:hover::after { transform: scaleX(1); }
.hiw-card-icon { margin-bottom: 1.5rem; }
.hiw-step {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hiw-step::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.hiw-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; font-weight: 700; }
.hiw-card p { font-size: 0.88rem; line-height: 1.65; }
.hiw-core-insight {
  background: var(--dark-section);
  border-radius: var(--radius-sm);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.core-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  background: rgba(232,145,45,0.1);
  padding: 0.45rem 0.9rem;
  border-radius: 2rem;
  border: 1px solid rgba(232,145,45,0.2);
  flex-shrink: 0;
}
.hiw-core-insight p {
  font-size: 0.85rem;
  color: var(--dark-section-muted);
  margin: 0;
  line-height: 1.6;
}

/* WHO FOR */
.who-for {
  padding: 8rem 2.5rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.who-inner { max-width: 1200px; margin: 0 auto; }
.who-header { margin-bottom: 3.5rem; }
.who-headline {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  max-width: 700px;
  letter-spacing: -0.02em;
}
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.who-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.25s ease;
}
.who-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(13,33,23,0.15);
}
.who-icon { margin-bottom: 0.25rem; }
.who-card h3 { font-size: 0.95rem; font-weight: 700; }
.who-card p { font-size: 0.82rem; line-height: 1.65; flex: 1; }
.who-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.3rem 0.65rem;
  background: var(--accent-light);
  border-radius: 2rem;
  border: 1px solid var(--border-accent);
  align-self: flex-start;
  font-family: var(--font-body);
}

/* TRUST */
.trust-section {
  padding: 8rem 2.5rem;
  background: var(--dark-section);
  color: var(--dark-section-fg);
}
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.trust-left .section-label { color: var(--accent); }
.trust-headline {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--dark-section-fg);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.trust-headline em { color: var(--accent); font-style: italic; }
.trust-items { display: flex; flex-direction: column; gap: 1.75rem; }
.trust-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.trust-icon { flex-shrink: 0; margin-top: 0.1rem; }
.trust-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark-section-fg);
  margin-bottom: 0.35rem;
}
.trust-item p {
  font-size: 0.83rem;
  color: var(--dark-section-muted);
  margin: 0;
  line-height: 1.65;
}
.trust-awards { margin-top: 2.5rem; }
.award-badge {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(232,145,45,0.06);
  border: 1px solid rgba(232,145,45,0.12);
  border-radius: var(--radius-sm);
}
.award-title { font-size: 0.75rem; font-weight: 700; color: var(--accent); letter-spacing: 0.05em; }
.award-sub { font-size: 0.82rem; color: var(--dark-section-muted); margin: 0.25rem 0; }
.award-value { font-size: 0.7rem; color: var(--dark-section-muted); }

/* TRACTION */
.traction {
  padding: 8rem 2.5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.traction-inner { max-width: 1200px; margin: 0 auto; }
.traction-header { margin-bottom: 3.5rem; }
.traction-headline {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.traction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.traction-card {
  padding: 2.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  transition: all 0.25s ease;
}
.traction-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.traction-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--fg);
  opacity: 0.06;
  line-height: 1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}
.traction-card h3 { font-size: 1rem; margin-bottom: 0.6rem; font-weight: 700; }
.traction-card p { font-size: 0.85rem; }
.traction-coming {
  background: var(--dark-section);
  border-radius: var(--radius-md);
  padding: 2rem 2.5rem;
  color: var(--dark-section-fg);
}
.traction-coming h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark-section-fg);
}
.coming-grid { display: flex; flex-direction: column; gap: 1.25rem; }
.coming-item { display: flex; gap: 1.25rem; align-items: center; }
.coming-icon { flex-shrink: 0; }
.coming-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark-section-fg);
  margin-bottom: 0.2rem;
}
.coming-desc { font-size: 0.78rem; color: var(--dark-section-muted); }

/* CLOSING */
.closing-section {
  padding: 10rem 2.5rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing-inner { max-width: 800px; margin: 0 auto; }
.closing-mark { margin-bottom: 3rem; display: flex; justify-content: center; }
.closing-headline {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.75rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.closing-body {
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 3rem;
  color: var(--fg-muted);
  line-height: 1.75;
}
.closing-category { margin-bottom: 2.5rem; }
.category-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
}
.category-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 900;
  font-style: italic;
  color: var(--fg);
  margin: 0;
}
.closing-cta { margin-top: 2.5rem; }
.closing-end {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--fg-faint);
  margin: 2rem 0 0;
}

/* FOOTER */
.site-footer {
  background: var(--dark-section);
  color: var(--dark-section-fg);
  padding: 4.5rem 2.5rem 2.5rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.footer-brand { display: flex; gap: 1.25rem; align-items: flex-start; }
.footer-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--dark-section-fg);
}
.footer-tagline {
  font-size: 0.72rem;
  color: var(--dark-section-muted);
  margin-top: 0.3rem;
  letter-spacing: 0.03em;
}
.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-line { display: flex; gap: 1.25rem; align-items: center; font-size: 0.85rem; }
.contact-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-section-muted);
  min-width: 70px;
}
.contact-line a { color: var(--accent); transition: opacity 0.2s; }
.contact-line a:hover { opacity: 0.8; color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a {
  font-size: 0.72rem;
  color: var(--dark-section-muted);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--dark-section-fg); }
.footer-copy { font-size: 0.7rem; color: var(--dark-section-muted); }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .hiw-cards { grid-template-columns: 1fr; gap: 1.5rem; }
  .hiw-card::after { display: none; }
}
@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; padding: 3.5rem 1.5rem; gap: 2.5rem; }
  .hero-svg-bg { display: none; }
  .stats-column { display: none; }
  .gap-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .gap-left { position: static; }
  .trust-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .traction-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 2rem; }
  .hero-pillars { gap: 1rem; }
  .hiw-core-insight { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .nav-tagline { display: none; }
  .nav-inner { padding: 0 1.5rem; }
}
/* ============================================
   EMERGENCY GUIDE ONBOARDING MODAL
   Calming, fast, action-first experience
   ============================================ */

.emergency-guide {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(13, 33, 23, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.emergency-guide.is-open {
  opacity: 1;
  pointer-events: all;
}

.emergency-modal {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 24px 80px rgba(13, 33, 23, 0.3);
  width: 100%;
  max-width: 540px;
  overflow: hidden;
  transform: translateY(12px);
  transition: transform 0.3s ease;
}

.emergency-guide.is-open .emergency-modal {
  transform: translateY(0);
}

/* Progress bar */
.guide-progress {
  height: 3px;
  background: var(--bg-alt);
}

.guide-progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Modal header */
.guide-header {
  padding: 2rem 2rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.guide-header-content { flex: 1; }

.guide-urgency-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c0392b;
  margin-bottom: 0.75rem;
}

.urgency-dot {
  width: 7px;
  height: 7px;
  background: #c0392b;
  border-radius: 50%;
  animation: pulse-urgent 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-urgent {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.guide-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--fg);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.guide-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--fg-faint);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
  line-height: 0;
}

.guide-close:hover {
  background: var(--bg-alt);
  color: var(--fg);
}

.guide-subtitle {
  margin: 0.6rem 2rem 0;
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* Step container */
.guide-steps {
  padding: 1.75rem 2rem 2rem;
}

.step-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.step-question {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.step-hint {
  font-size: 0.82rem;
  color: var(--fg-faint);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* Option grid */
.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.option-btn {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.option-btn:hover {
  background: var(--accent-light);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.option-btn.selected {
  background: var(--accent-light);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 145, 45, 0.12);
}

.option-btn span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fg);
  display: block;
}

.option-btn small {
  font-size: 0.75rem;
  color: var(--fg-muted);
  display: block;
}

.option-btn.selected small { color: var(--fg-muted); }

/* Household counter */
.household-counter {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  padding: 0.5rem 0;
}

.counter-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.4rem;
  color: var(--fg);
  font-weight: 400;
  line-height: 1;
}

.counter-btn:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.05);
}

.counter-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.counter-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.counter-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--fg);
  line-height: 1;
  letter-spacing: -0.03em;
}

.counter-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Action button */
.guide-action {
  padding: 0 2rem 2rem;
}

.guide-btn-next {
  width: 100%;
  padding: 0.95rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(232, 145, 45, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.guide-btn-next:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 145, 45, 0.35);
}

.guide-btn-next:active { transform: translateY(0); }

.guide-btn-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Result step */
.guide-result {
  padding: 1.5rem 2rem 2rem;
}

.result-card {
  background: var(--dark-section);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1rem;
}

.result-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.result-action {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--dark-section-fg);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.result-detail {
  font-size: 0.82rem;
  color: var(--dark-section-muted);
  line-height: 1.6;
}

.result-context {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.context-chip {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--dark-section-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 2rem;
  padding: 0.3rem 0.75rem;
}

.result-cta-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.guide-btn-primary-result {
  flex: 1;
  padding: 0.85rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.guide-btn-primary-result:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
}

.guide-btn-secondary {
  padding: 0.85rem 1.25rem;
  background: transparent;
  color: var(--fg-muted);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-btn-secondary:hover {
  background: var(--bg-alt);
  color: var(--fg);
}

/* Step indicator dots */
.step-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s ease, transform 0.3s ease;
}

.step-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

.step-dot.done { background: var(--fg-faint); }

/* Responsive */
@media (max-width: 480px) {
  html { font-size: 14px; }
  .hero-headline { font-size: 2.2rem; }
  .closing-headline { font-size: 1.8rem; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }

  .emergency-modal { border-radius: 1rem; }
  .option-grid { grid-template-columns: 1fr; }
  .guide-header, .guide-steps, .guide-action, .guide-result {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .guide-subtitle { margin-left: 1.25rem; margin-right: 1.25rem; }
  .result-cta-row { flex-direction: column; }
}