:root {
  --bg: #f7fafc;
  --surface: #ffffff;
  --text: #1a202c;
  --muted: #4a5568;
  --brand: #0b6e4f;
  --brand-dark: #08553c;
  --emergency: #9b1c1c;
  --emergency-bg: #fff5f5;
  --border: #e2e8f0;
  --focus: #2b6cb0;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
  --max: 720px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: .5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 0;
}
.brand { margin: 0; font-weight: 700; font-size: 1rem; }
.brand a { color: var(--text); text-decoration: none; }
.brand a:hover { color: var(--brand); }

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
}
nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 600;
}
nav a:hover { color: var(--brand); }

.hero { padding: 2.25rem 0 1rem; }
.hero h1 {
  margin: 0 0 .75rem;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  line-height: 1.2;
}
.lead { margin: 0; color: var(--muted); font-size: 1.05rem; }

.emergency {
  background: var(--emergency-bg);
  border: 2px solid #feb2b2;
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin: 1rem auto 1.5rem;
  box-shadow: var(--shadow);
}
.emergency h2 {
  margin: 0 0 .5rem;
  color: var(--emergency);
  font-size: 1.25rem;
}
.emergency p { margin: .5rem 0 0; }

.section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.section h2 {
  margin: 0 0 .75rem;
  font-size: 1.35rem;
}
.section h3 {
  margin: 1.25rem 0 .5rem;
  font-size: 1.1rem;
}
.section p, .section li { color: var(--text); }
.section > p:first-of-type { color: var(--muted); }

.steps { padding-left: 1.25rem; margin: .75rem 0 0; }
.steps li { margin-bottom: .65rem; }

.cards {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 0;
}
@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr; }
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}
.card h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

ul { padding-left: 1.2rem; }
ul li { margin-bottom: .4rem; }

.link-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.link-list li {
  padding: .9rem 0;
  border-top: 1px solid var(--border);
}
.link-list li:last-child { border-bottom: 1px solid var(--border); }
.link-list a {
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}
.link-list a:hover { text-decoration: underline; }
.link-list span {
  display: block;
  color: var(--muted);
  font-size: .95rem;
  margin-top: .2rem;
}

.disclaimer {
  background: #edf2f7;
}
.disclaimer p { color: var(--muted); font-size: .95rem; }

.site-footer {
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: .9rem;
}
.site-footer p { margin: .35rem 0; }
.site-footer a { color: var(--muted); }

@media (min-width: 720px) {
  .cards { grid-template-columns: 1fr; }
}
