:root {
  --bg: #fffaf4;
  --surface: #ffffff;
  --surface-soft: #fff4e8;
  --surface-accent: #eef7f5;
  --text: #1d3557;
  --muted: #667085;
  --line: #eadfce;
  --primary: #5166ee;
  --primary-deep: #243b67;
  --gold: #f6c75a;
  --rose: #efcad2;
  --mint: #d4f0e7;
  --sky: #dbe9ff;
  --shadow: 0 18px 40px rgba(34, 57, 94, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top left, rgba(246, 199, 90, 0.13), transparent 24%), radial-gradient(circle at top right, rgba(81, 102, 238, 0.08), transparent 28%);
  z-index: -1;
}

a { color: inherit; }

.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding-top: 1rem;
}
.site-nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1rem;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.96);
  border: 1px solid rgba(234, 223, 206, 0.95);
  box-shadow: 0 12px 32px rgba(29, 53, 87, 0.08);
  backdrop-filter: blur(14px);
}
.site-navbar.scrolled .site-nav-shell {
  box-shadow: 0 14px 34px rgba(29, 53, 87, 0.12);
}
.navbar-brand {
  color: var(--primary-deep) !important;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #da6bb0);
  color: white;
  font-weight: 700;
}
.nav-toggle-pill {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #f4f3fb;
  box-shadow: inset 0 0 0 1px rgba(81, 102, 238, 0.08);
  transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle-pill:hover,
.nav-toggle-pill:focus-visible {
  background: #ecebfb;
  outline: none;
}
.toggle-lines {
  width: 24px;
  height: 18px;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}
.toggle-lines span {
  display: block;
  height: 2.5px;
  border-radius: 999px;
  background: #5166ee;
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle-pill[aria-expanded="true"] .toggle-lines span:nth-child(1) {
  transform: translateY(7.6px) rotate(45deg);
}
.nav-toggle-pill[aria-expanded="true"] .toggle-lines span:nth-child(2) {
  opacity: 0;
}
.nav-toggle-pill[aria-expanded="true"] .toggle-lines span:nth-child(3) {
  transform: translateY(-7.6px) rotate(-45deg);
}
.nav-dropdown {
  margin-top: 1rem;
  padding: 1.2rem;
  border-radius: 30px;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(234, 223, 206, 0.95);
  box-shadow: var(--shadow);
}
.nav-menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .35rem;
}
.nav-menu-list .nav-link {
  display: block;
  padding: .7rem .85rem;
  border-radius: 14px;
  color: var(--primary-deep) !important;
  font-weight: 600;
  opacity: .78;
  text-decoration: none;
}
.nav-menu-list .nav-link:hover,
.nav-menu-list .nav-link:focus-visible,
.nav-menu-list .nav-link.active {
  opacity: 1;
  color: var(--primary) !important;
  background: rgba(81, 102, 238, 0.06);
  outline: none;
}

.hero-section {
  padding-top: 9rem;
  padding-bottom: 4.5rem;
  background: linear-gradient(180deg, #fffaf4 0%, #fff5ea 100%);
  border-bottom: 1px solid rgba(234, 223, 206, 0.8);
}
.eyebrow {
  display: inline-block;
  font-size: .875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: .95;
  letter-spacing: -0.04em;
  font-weight: 700;
  max-width: 11ch;
  color: var(--primary-deep);
}
.hero-kicker {
  font-size: 1.15rem;
  color: var(--primary-deep);
  opacity: .85;
  max-width: 32rem;
  margin-top: .75rem;
  margin-bottom: .2rem;
  font-weight: 500;
}
.hero-copy {
  max-width: 650px;
  margin-top: 1.5rem;
  font-size: 1.18rem;
  color: var(--muted);
}
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(81, 102, 238, 0.25);
}
.btn-primary:hover,
.btn-primary:focus { background: #4256d8; border-color: #4256d8; }
.btn-outline-primary {
  border-color: rgba(81, 102, 238, 0.18);
  color: var(--primary);
  background: white;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: rgba(81, 102, 238, 0.06);
  color: var(--primary);
  border-color: rgba(81, 102, 238, 0.25);
}
.btn-xl {
  padding: .9rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
}
.quick-facts .fact-card,
.hero-panel,
.soft-card,
.timeline-card,
.info-surface,
.emergency-card,
.media-frame {
  background: var(--surface);
  border: 1px solid rgba(234, 223, 206, 0.8);
  box-shadow: var(--shadow);
}
.hero-panel {
  border-radius: var(--radius-xl);
  padding: 1.1rem;
}
.priority-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border-radius: 20px;
  background: #fff;
}
.priority-card + .priority-card { margin-top: .8rem; }
.priority-card h3,
.soft-card h3,
.timeline-card h3,
.info-surface h3,
.emergency-card h3 {
  font-size: 1.1rem;
  margin-bottom: .55rem;
  color: var(--primary-deep);
}
.priority-card p,
.soft-card p,
.info-surface p,
.emergency-card p,
.section-heading p,
.timeline-card li,
.plain-list li,
.check-item { color: var(--muted); }
.quick-facts .fact-card {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  height: 100%;
}
.fact-label {
  display: block;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: .25rem;
}
.fact-card strong { color: var(--primary-deep); font-size: 1rem; }

.section-shell { padding: 5rem 0; }
.section-soft { background: linear-gradient(180deg, rgba(255,244,232,.65), rgba(255,250,244,.2)); }
.section-heading { max-width: 760px; margin-bottom: 2.2rem; }
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--primary-deep);
}
.section-heading p { font-size: 1.05rem; }
.soft-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
}
.icon-badge {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.icon-badge svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: var(--primary-deep);
}
.icon-gold { background: rgba(246, 199, 90, .28); }
.icon-rose { background: rgba(239, 202, 210, .45); }
.icon-mint { background: rgba(212, 240, 231, .7); }
.icon-sky { background: rgba(219, 233, 255, .65); }

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.timeline-card {
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}
.timeline-time {
  display: inline-block;
  font-size: .85rem;
  padding: .38rem .72rem;
  border-radius: 999px;
  background: rgba(81, 102, 238, 0.08);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: .9rem;
}
.timeline-card ul,
.plain-list,
.numbered-list,
.check-grid { margin: 0; padding: 0; list-style: none; }
.timeline-card li,
.plain-list li { position: relative; padding-left: 1.4rem; margin-top: .7rem; }
.timeline-card li::before,
.plain-list li::before {
  content: '';
  width: .5rem;
  height: .5rem;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  top: .55rem;
  left: 0;
}
.numbered-list { counter-reset: ordered; }
.numbered-list li { counter-increment: ordered; padding-left: 2rem; }
.numbered-list li::before {
  content: counter(ordered);
  width: 1.3rem;
  height: 1.3rem;
  line-height: 1.3rem;
  text-align: center;
  color: white;
  font-size: .76rem;
}
.media-frame { padding: .85rem; border-radius: 30px; }
.media-frame img { width: 100%; object-fit: cover; }
.check-grid { display: grid; gap: .85rem; }
.check-item {
  padding: 1rem 1.1rem 1rem 3rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(234, 223, 206, 0.7);
  border-radius: 18px;
  position: relative;
}
.check-item::before {
  content: '✓';
  position: absolute;
  left: 1rem;
  top: .92rem;
  width: 1.3rem;
  height: 1.3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(81, 102, 238, 0.12);
  color: var(--primary);
  font-weight: 700;
}
.info-surface,
.emergency-card { border-radius: var(--radius-lg); padding: 1.6rem; }
.accent-surface { background: linear-gradient(145deg, #fdf0e3, #fff); }
.emergency-section { background: linear-gradient(180deg, rgba(219, 233, 255, .4), rgba(255, 250, 244, .9)); }
.emergency-card { background: rgba(255,255,255,.85); }
.site-footer {
  border-top: 1px solid rgba(234, 223, 206, 0.8);
  background: rgba(255, 255, 255, 0.5);
}
.back-top { color: var(--primary); text-decoration: none; font-weight: 600; }
.back-top:hover { text-decoration: underline; }

@media (min-width: 992px) {
  .nav-dropdown {
    max-width: 360px;
    margin-left: auto;
  }
}

@media (max-width: 991.98px) {
  .hero-title { max-width: none; font-size: clamp(2.5rem, 9vw, 4rem); }
  .hero-kicker { font-size: 1rem; }
  .hero-section { padding-top: 8rem; }
  .timeline-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  .site-navbar { padding-top: .8rem; }
  .site-nav-shell { padding: .75rem .85rem; }
  .nav-toggle-pill { width: 58px; height: 58px; }
  .nav-dropdown { padding: 1rem; border-radius: 24px; }
  .section-shell { padding: 4rem 0; }
  .hero-copy { font-size: 1.05rem; }
  .priority-card,
  .soft-card,
  .timeline-card,
  .info-surface,
  .emergency-card { padding: 1.25rem; }
}
