:root {
  --ink: #111827;
  --navy: #172033;
  --blue: #2458d3;
  --red: #a7352a;
  --green: #14532d;
  --amber: #92400e;
  --slate-800: #1e293b;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f6f7f9;
  --white: #fff;
  --max: 1040px;
  --radius: 8px;
  --shadow: none;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--slate-800);
  background: var(--white);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
}

:focus-visible {
  outline: 3px solid #d97706;
  outline-offset: 3px;
}

.alert {
  background: #f5f7fa;
  color: #4a5568;
  text-align: center;
  padding: 9px 16px;
  font-weight: 700;
  font-size: .86rem;
  line-height: 1.35;
  border-bottom: 1px solid var(--slate-200);
}

.alert a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  border-bottom: 1px solid var(--slate-200);
  background: rgba(255, 255, 255, .96);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 66px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-size: .82rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--slate-600);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 800;
  padding: 7px 9px;
  border-radius: var(--radius);
}

.nav a:hover {
  color: var(--ink);
  background: var(--slate-100);
}

.nav .emergency {
  color: var(--red);
}

.hero {
  background:
    linear-gradient(135deg, rgba(17, 24, 39, .9), rgba(23, 32, 51, .86)),
    url("og-image.jpg") center / cover;
  color: var(--white);
}

.hero-inner,
.section,
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hero-inner {
  padding-top: 72px;
  padding-bottom: 66px;
}

.breadcrumb {
  margin-bottom: 18px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .68);
}

.breadcrumb a {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #93c5fd;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 900;
}

.lead {
  max-width: 760px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .78);
  font-size: 1.17rem;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 900;
  line-height: 1.2;
}

.btn-primary {
  background: var(--white);
  color: var(--ink);
}

.btn-danger {
  background: var(--red);
  color: var(--white);
}

.btn-outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .35);
}

.section {
  padding-top: 68px;
  padding-bottom: 68px;
}

.section.alt {
  max-width: none;
  background: var(--slate-50);
}

.section.alt > .section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section h2 {
  color: var(--ink);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  margin-bottom: 14px;
}

.section h3 {
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.25;
  margin-bottom: 6px;
}

.section p {
  color: var(--slate-600);
}

.quick-box {
  border-left: 5px solid var(--red);
  background: #fef2f2;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 26px 0;
}

.quick-box strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

.script-grid,
.do-dont,
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.script-box,
.message-thread,
.source-note,
.scenario-card {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px;
  box-shadow: none;
}

.script-box h3,
.message-thread h3,
.scenario-card h3 {
  margin-bottom: 10px;
}

.script-box blockquote {
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #eff6ff;
  color: var(--ink);
  font-weight: 800;
}

.script-box p {
  margin: 10px 0 0;
}

.message-thread {
  background: #f8fafc;
}

.message {
  max-width: 82%;
  margin: 0 0 10px;
  padding: 11px 13px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--ink);
  font-weight: 700;
}

.message.right {
  margin-left: auto;
  background: #e0f2fe;
  border-color: #bae6fd;
}

.dont-card,
.do-card {
  border-radius: var(--radius);
  padding: 18px;
}

.dont-card {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.do-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.dont-card h3 {
  color: var(--red);
}

.do-card h3 {
  color: var(--green);
}

.source-note {
  margin-top: 24px;
  background: var(--slate-50);
}

.source-note p:last-child {
  margin-bottom: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
  padding: 20px;
  box-shadow: none;
}

.steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--white);
}

.steps li::before {
  content: counter(step);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.checklist {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.checklist li {
  padding: 13px 15px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
}

.checklist li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
  margin-right: 8px;
}

.faq details {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 15px 17px;
  color: var(--ink);
  font-weight: 900;
}

.faq details p {
  padding: 0 17px 17px;
  margin: 0;
}

.related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.related a {
  display: block;
  padding: 14px 15px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.source-list {
  margin-top: 18px;
  padding-left: 20px;
}

.source-list li {
  margin-bottom: 8px;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .62);
}

.footer-inner {
  padding-top: 38px;
  padding-bottom: 32px;
}

.footer-inner a {
  color: rgba(255, 255, 255, .82);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

@media (max-width: 820px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav {
    justify-content: flex-start;
  }

  .grid,
  .grid.two,
  .script-grid,
  .do-dont,
  .scenario-grid,
  .related {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media print {
  .alert,
  .site-header,
  .site-footer,
  .hero-actions {
    display: none;
  }

  .hero {
    background: var(--white);
    color: #000;
  }

  h1 {
    color: #000;
  }

  body {
    font-size: 12pt;
  }
}
