:root {
  color-scheme: light;
  --ink: #18344d;
  --muted: #526b80;
  --line: #d8e6f0;
  --blue: #126aa5;
  --cyan: #eaf7ff;
  --paper: #f5faff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--blue); font-weight: 700; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #0e679e;
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 2;
  padding: 10px 14px;
  background: #fff;
}
.skip-link:focus { top: 12px; }
.page-header, .page-main, .page-footer { width: min(100% - 40px, 1000px); margin-inline: auto; }
.page-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { display: block; width: 144px; height: auto; }
.page-header nav, .page-footer nav { display: flex; align-items: center; gap: 22px; }
.page-header nav a, .page-footer nav a { color: var(--ink); font-size: 14px; text-decoration: none; }
.page-header nav .nav-cta { padding: 10px 16px; border-radius: 999px; background: var(--blue); color: #fff; }
.page-main { padding: 24px 0 60px; }
.page-main article { max-width: 820px; margin: 0 auto; }
.hero, .details-section, .checklist-section, .visit-note, .source-note, .measurement-section, .hub-cta {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.hero { padding: clamp(26px, 5vw, 52px); background: linear-gradient(145deg, #edf8ff, #fff 72%); }
.eyebrow { margin: 0 0 10px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 14px; font-size: clamp(34px, 6vw, 54px); line-height: 1.08; letter-spacing: -.035em; }
.intro { max-width: 680px; margin-bottom: 22px; color: #36536b; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.privacy-note { max-width: 700px; margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button-secondary { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.details-section, .checklist-section, .visit-note, .source-note, .measurement-section { margin-top: 22px; padding: clamp(22px, 4vw, 34px); }
.section-heading { margin-bottom: 18px; }
.section-heading .eyebrow { margin-bottom: 5px; }
h2 { margin-bottom: 8px; font-size: clamp(22px, 3.5vw, 30px); line-height: 1.2; }
.detail-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.detail-fields label { display: grid; gap: 6px; color: #36536b; font-size: 14px; font-weight: 700; }
.detail-fields .field-wide { grid-column: 1 / -1; }
.detail-fields input { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid #b7ccdc; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-weight: 400; }
.checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.checklist-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 14px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
}
.checklist-item input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--blue); }
.checklist-item label { display: inline-block; margin-bottom: 4px; font-size: 17px; font-weight: 700; cursor: pointer; }
.checklist-item p, .visit-note p, .source-note p, .hub-cta p { margin-bottom: 0; color: #405b72; }
.checklist-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.screen-reader-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.visit-note { background: #f2faff; }
.source-note h2 { font-size: 21px; }
.source-note p + p { margin-top: 12px; }
.checked-date { font-size: 13px; }
.hub-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; padding: clamp(22px, 4vw, 34px); background: #eaf7ff; }
.hub-cta > div { max-width: 560px; }
.hub-cta h2 { margin-bottom: 8px; }
.page-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0 32px; border-top: 1px solid var(--line); font-size: 14px; }
.page-footer nav { flex-wrap: wrap; gap: 12px 18px; }

@media (max-width: 700px) {
  .page-header, .page-main, .page-footer { width: min(100% - 28px, 1000px); }
  .page-header { min-height: 78px; gap: 12px; }
  .brand img { width: 118px; }
  .page-header nav { gap: 10px; }
  .page-header nav a { font-size: 12px; }
  .page-header nav .nav-cta { padding: 8px 11px; }
  .page-main { padding-top: 18px; }
  .hub-cta, .page-footer { align-items: stretch; flex-direction: column; }
  .hub-cta .button { width: 100%; }
  .page-footer nav { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .page-header, .page-main, .page-footer { width: calc(100% - 24px); }
  .page-header { gap: 8px; }
  .brand img { width: 106px; }
  .page-header nav { gap: 7px; }
  .page-header nav a { font-size: 11px; }
  .page-header nav .nav-cta { padding: 8px 9px; }
  .checklist-item { gap: 10px; padding: 14px; }
  .detail-fields { grid-template-columns: 1fr; }
  .detail-fields .field-wide { grid-column: auto; }
  .checklist-actions .button { width: 100%; }
}

@media print {
  @page { size: A4 portrait; margin: 14mm; }
  body { background: #fff; color: #111; font: 10pt/1.4 Arial, Helvetica, sans-serif; }
  .page-header, .skip-link, .hero-actions, .checklist-actions, .measurement-section, .hub-cta, .page-footer { display: none !important; }
  .page-header, .page-main, .page-footer, .page-main article { width: 100%; max-width: none; margin: 0; }
  .page-main { padding: 0; }
  .hero, .details-section, .checklist-section, .visit-note, .source-note { margin: 0 0 7mm; padding: 0; border: 0; border-radius: 0; background: #fff; }
  .hero h1 { max-width: none; margin: 0 0 3mm; font-size: 21pt; }
  .hero .intro { margin: 0 0 4mm; font-size: 10pt; }
  .eyebrow { font-size: 8pt; }
  h2 { margin-bottom: 3mm; font-size: 14pt; }
  .checklist { gap: 2mm; }
  .checklist-item { grid-template-columns: 6mm 1fr; gap: 3mm; padding: 3mm; border-color: #9aabb8; background: #fff; break-inside: avoid; }
  .checklist-item input { width: 4mm; height: 4mm; margin-top: 1mm; }
  .checklist-item label { font-size: 10pt; }
  .detail-fields { gap: 4mm; }
  .detail-fields label { gap: 1mm; font-size: 9pt; }
  .detail-fields input { min-height: 7mm; padding: 1mm 0; border: 0; border-bottom: 1px solid #777; border-radius: 0; }
  .checklist-item p, .visit-note p, .source-note p { font-size: 9pt; }
  a { color: #111; }
}
