:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #64748b;
  --line: #d8e0e8;
  --panel: #ffffff;
  --paper: #f3f6f9;
  --navy: #0b1f33;
  --navy-2: #163a59;
  --amber: #f59f00;
  --amber-2: #fff4d6;
  --red: #b42318;
  --teal: #0f766e;
  --shadow: 0 18px 60px rgba(13, 31, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--navy);
  border-left: 8px solid var(--amber);
  font-weight: 900;
  letter-spacing: 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

nav a {
  padding: 8px 12px;
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.breaking-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px 20px;
  background: #991b1b;
  color: #fff;
  box-shadow: var(--shadow);
  border-left: 8px solid #fecaca;
}

.breaking-banner.hidden {
  display: none;
}

.breaking-banner strong,
.breaking-banner p,
.breaking-banner span {
  display: block;
}

.breaking-kicker {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breaking-banner strong {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.02;
}

.breaking-banner p {
  margin: 6px 0 0;
  color: #fee2e2;
}

.breaking-banner a {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 14px;
  background: #fff;
  color: #7f1d1d;
  font-weight: 950;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px) 0 28px;
}

.hero-copy {
  padding: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.02;
  letter-spacing: 0;
}

.lede {
  max-width: 720px;
  color: #425466;
  font-size: 20px;
  line-height: 1.55;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
.tools button,
.call-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--navy);
  background: var(--panel);
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary,
.tools button {
  background: var(--navy);
  color: #fff;
}

.incident-panel {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
  border-top: 8px solid var(--amber);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 900;
}

.pulse {
  width: 12px;
  height: 12px;
  background: var(--amber);
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(245, 159, 0, 0.45);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 16px rgba(245, 159, 0, 0);
  }
}

.incident-panel ol {
  margin: 0;
  padding: 22px 22px 24px 44px;
}

.incident-panel li {
  margin-bottom: 14px;
  line-height: 1.45;
}

.status-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 32px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.status-band div {
  min-height: 108px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.status-band div:last-child {
  border-right: 0;
}

.stat {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 34px;
  font-weight: 950;
}

.status-band span:last-child {
  color: var(--muted);
  font-weight: 700;
}

.alerts-section,
.report-grid,
.cleared-section,
.notify-section,
.quick-section,
.guide-section,
.signup-section,
.law-section,
.sources {
  padding: 44px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.tools {
  display: grid;
  grid-template-columns: minmax(190px, 280px) auto;
  gap: 8px;
  align-items: end;
}

.tools label {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.tools input {
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.source-note {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.section-note {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.tab {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.tab.active {
  border-color: var(--navy);
  background: var(--amber-2);
}

.alert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}

.alert-card,
.empty-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(13, 31, 51, 0.07);
}

.alert-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  min-height: 188px;
}

.photo {
  width: 92px;
  height: 100%;
  min-height: 188px;
  background: #dfe7ef;
  object-fit: cover;
}

.alert-body {
  padding: 16px;
}

.badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 8px;
  background: var(--amber-2);
  color: #704800;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.alert-body h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.12;
  letter-spacing: 0;
}

.meta {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  color: #475569;
  font-size: 14px;
}

.meta strong {
  color: var(--ink);
}

.flyer-link {
  color: var(--navy-2);
  font-weight: 900;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.print-link {
  border: 0;
  background: transparent;
  color: var(--navy-2);
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer;
}

.time-missing {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  padding: 6px 8px;
  background: #e7f7f3;
  color: #0f766e;
  font-size: 13px;
  font-weight: 950;
}

.empty-card {
  grid-column: 1 / -1;
  padding: 28px;
}

.report-grid {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 280px) minmax(220px, 280px);
  gap: 18px;
  align-items: stretch;
  border-top: 1px solid var(--line);
}

.quick-section,
.guide-section,
.signup-section,
.law-section {
  position: relative;
  z-index: 0;
  border-top: 1px solid var(--line);
}

.alerts-section,
.quick-section,
.notify-section,
.report-grid,
.cleared-section,
.guide-section,
.signup-section,
.law-section,
.sources {
  position: relative;
  z-index: 2;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.quick-card {
  padding: 18px;
  background: var(--navy);
  color: #fff;
  border-top: 6px solid var(--amber);
  box-shadow: var(--shadow);
}

.quick-card.empty {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.quick-card span {
  color: var(--amber-2);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-card.empty span {
  color: var(--teal);
}

.quick-card h3 {
  margin: 8px 0 10px;
  font-size: 22px;
  line-height: 1.12;
}

.quick-card p {
  margin-bottom: 12px;
  color: #dce8f4;
  line-height: 1.45;
}

.quick-card.empty p {
  color: var(--muted);
}

.quick-card a {
  color: #fff;
  font-weight: 900;
}

.quick-card.empty a {
  color: var(--navy-2);
}

.witness-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.witness-section > div > p {
  max-width: 560px;
  color: #475569;
  line-height: 1.55;
}

.witness-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.witness-list article {
  min-height: 128px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 5px solid var(--amber);
}

.witness-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.witness-list p {
  margin: 0;
  color: #475569;
  line-height: 1.45;
}

.report-grid p {
  max-width: 620px;
  color: #475569;
  line-height: 1.55;
}

.call-card {
  display: grid;
  align-content: space-between;
  min-height: 184px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.call-card.urgent {
  border-top: 6px solid var(--red);
}

.call-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.call-card strong {
  font-size: 26px;
  letter-spacing: 0;
}

.call-card a {
  width: fit-content;
  background: var(--navy);
  color: #fff;
}

.notify-section {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 380px);
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.guide-section .section-heading {
  align-items: start;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.checklist-grid article {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.checklist-grid span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.checklist-grid ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #475569;
  line-height: 1.5;
}

.signup-section,
.law-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.signup-section p,
.law-section p {
  max-width: 820px;
  color: #475569;
  line-height: 1.55;
}

.notify-section p {
  max-width: 680px;
  color: #475569;
  line-height: 1.55;
}

.notify-panel {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.notify-panel button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.notify-panel span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.cleared-section {
  border-top: 1px solid var(--line);
}

.clear-note {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.cleared-list {
  display: grid;
  gap: 10px;
}

.cleared-item {
  display: grid;
  grid-template-columns: 118px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.cleared-date {
  color: var(--teal);
  font-size: 13px;
  font-weight: 950;
}

.cleared-main strong,
.cleared-main span {
  display: block;
}

.cleared-main strong {
  margin-bottom: 3px;
  font-size: 18px;
}

.cleared-main span {
  color: var(--muted);
  font-size: 14px;
}

.cleared-status {
  color: #166534;
  font-size: 13px;
  font-weight: 950;
  text-align: right;
}

.cleared-item a {
  color: var(--navy-2);
  font-weight: 900;
}

.sources {
  border-top: 1px solid var(--line);
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.source-list a {
  padding: 10px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--navy-2);
  font-weight: 900;
  text-decoration: none;
}

.disclaimer {
  max-width: 900px;
  color: #475569;
  line-height: 1.55;
}

.site-footer {
  display: grid;
  gap: 10px;
  padding: 24px clamp(18px, 5vw, 64px);
  background: var(--navy);
  color: #d6e3ef;
  font-size: 14px;
}

.site-footer p {
  max-width: 1060px;
  margin: 0;
  color: #eef6ff;
  line-height: 1.55;
}

.site-footer span {
  color: #aebfd0;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 840px) {
  .topbar,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero,
  .report-grid,
  .notify-section,
  .witness-section,
  .signup-section,
  .law-section {
    grid-template-columns: 1fr;
  }

  .breaking-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 0;
  }

  .status-band {
    grid-template-columns: 1fr;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .witness-list {
    grid-template-columns: 1fr;
  }

  .cleared-item {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cleared-status {
    text-align: left;
  }

  .status-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tools {
    width: 100%;
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 520px) {
  main {
    width: min(100% - 20px, 1180px);
  }

  h1 {
    font-size: 42px;
  }

  .action-row,
  .tabs {
    flex-direction: column;
  }

  .button,
  .tab,
  .tools button,
  .tools input {
    width: 100%;
  }

  .tools {
    grid-template-columns: 1fr;
  }

  .alert-card {
    grid-template-columns: 74px 1fr;
  }

  .photo {
    width: 74px;
  }
}
