:root {
  --ink: #172033;
  --muted: #4f5d75;
  --paper: #fbfcf8;
  --white: #ffffff;
  --teal: #006b68;
  --teal-dark: #004b49;
  --teal-light: #e6f4f2;
  --coral: #b83b31;
  --coral-light: #fff0ee;
  --gold: #f2c14e;
  --gold-light: #fff7df;
  --sage: #d9e8ce;
  --border: #d9e1e8;
  --shadow: 0 8px 22px rgba(23, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-dark);
}

a:focus,
button:focus {
  outline: 4px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
  z-index: 20;
}

.skip-link:focus {
  top: 12px;
}

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

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--teal-dark);
  text-decoration: none;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.top-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.top-nav a:hover {
  background: var(--teal-light);
}

.intro-band {
  background: linear-gradient(120deg, var(--teal-dark), var(--teal));
  color: var(--white);
  padding: 54px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 36px;
  align-items: center;
}

.intro-copy {
  max-width: 720px;
}

.intro-copy p {
  color: #eef9f7;
}

.intro-copy .lead {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--coral);
}

.intro-band .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 760px;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.print-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 2px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: var(--ink);
}

.button.secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
}

.intro-figure {
  margin: 0;
}

.intro-figure img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 8px solid rgba(255, 255, 255, 0.24);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.notice {
  margin-top: 28px;
  padding: 24px;
  border: 2px solid var(--coral);
  background: var(--coral-light);
  border-radius: 8px;
}

.notice h2 {
  color: var(--coral);
}

.section {
  padding: 58px 0 8px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-intro {
  max-width: 820px;
  color: var(--muted);
}

.plain-box {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 8px solid var(--teal);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.two-column,
.risk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.three-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.card,
.risk-card,
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h3,
.risk-card h3,
.step h3 {
  color: var(--teal-dark);
}

.card.warning {
  background: var(--gold-light);
  border-color: #e3b841;
}

.risk-card.high {
  background: var(--coral-light);
  border-color: var(--coral);
}

.risk-card.medium {
  background: var(--gold-light);
  border-color: #e3b841;
}

ul,
ol {
  padding-left: 1.4rem;
}

li + li {
  margin-top: 8px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--teal-light);
  color: var(--teal-dark);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.step-number {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 900;
  font-size: 1.3rem;
}

.prompt-panel {
  margin-top: 22px;
  padding: 24px;
  border-radius: 8px;
  background: var(--sage);
  border: 1px solid #b8cda9;
}

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

.prompt-list p {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}

.small-note {
  font-size: 0.95rem;
}

.checklist-section {
  padding-bottom: 56px;
}

.checklist {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 24px 24px 24px 52px;
}

.print-button {
  margin-top: 10px;
  background: var(--teal-dark);
  color: var(--white);
  font-size: 1rem;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
}

.footer-grid p {
  margin: 0;
}

@media (max-width: 920px) {
  .header-inner,
  .intro-grid,
  .two-column,
  .risk-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

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

  .intro-grid {
    display: grid;
  }

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

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .wrap {
    width: min(100% - 24px, 1120px);
  }

  .intro-band {
    padding: 36px 0;
  }

  .button,
  .print-button {
    width: 100%;
  }

  .card-grid,
  .prompt-list {
    grid-template-columns: 1fr;
  }

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

  .checklist {
    padding-left: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .site-header,
  .intro-actions,
  .print-button {
    display: none;
  }

  body {
    background: #ffffff;
    color: #000000;
    font-size: 12pt;
  }

  .intro-band,
  .site-footer {
    background: #ffffff;
    color: #000000;
  }

  .card,
  .plain-box,
  .notice,
  .risk-card,
  .step,
  .checklist,
  .table-wrap {
    box-shadow: none;
  }
}
