:root {
  color-scheme: light;
  --navy: #062654;
  --navy-2: #0b3d78;
  --blue: #0759bd;
  --ink: #172033;
  --muted: #667085;
  --line: #d7e0ee;
  --panel: #ffffff;
  --wash: #f4f7fb;
  --sky: #eaf3ff;
  --amber: #fff4d7;
  --amber-line: #e2a827;
  --red: #c72d3d;
  --green: #23875c;
  --shadow: 0 18px 48px rgba(6, 38, 84, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fbfcff 0%, #eef4fb 44%, #ffffff 100%);
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.55;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  min-height: 100vh;
  padding: 18px clamp(18px, 4vw, 56px) 34px;
  background: #fff;
}

.top-nav {
  max-width: 1180px;
  margin: 0 auto 28px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 2px solid var(--navy);
}

.brand,
.nav-links,
.jump-menu,
.hero-actions,
.hero-meta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}

.brand-mark svg {
  fill: var(--navy);
}

.brand-mark path:last-child {
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links {
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 9px 11px;
  color: var(--navy);
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--sky);
  outline: none;
}

.jump-menu {
  position: relative;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
}

.jump-menu summary {
  min-height: 38px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 0 10px;
  cursor: pointer;
  list-style: none;
}

.jump-menu summary::-webkit-details-marker {
  display: none;
}

.jump-menu summary::after {
  content: "▾";
  margin-left: 8px;
  font-size: 0.8rem;
}

.jump-menu[open] summary::after {
  content: "▴";
}

.jump-menu summary:focus-visible {
  outline: 3px solid rgba(7, 89, 189, 0.18);
  border-color: var(--blue);
}

.jump-options {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 10;
  width: 230px;
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.jump-options a {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  text-decoration: none;
}

.jump-options a:last-child {
  border-bottom: 0;
}

.jump-options a:hover,
.jump-options a:focus-visible {
  background: var(--sky);
  outline: none;
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.hero-copy {
  max-width: 980px;
  display: grid;
  justify-items: center;
}

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

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

h1 {
  margin-bottom: 18px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5.6vw, 5.65rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: #344054;
  font-size: 1.11rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 28px 0;
}

.primary-link,
.secondary-link,
.done-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 2px solid var(--navy);
  padding: 0 16px;
  font-weight: 900;
  text-decoration: none;
}

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

.secondary-link {
  background: #fff;
  color: var(--navy);
}

.hero-meta {
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-meta span {
  min-width: 145px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-meta strong {
  display: block;
  color: var(--navy);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.hero-image {
  width: min(100%, 880px);
  margin: 0 auto;
  border: 3px solid var(--blue);
  box-shadow: var(--shadow);
  background: var(--wash);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px clamp(18px, 4vw, 36px) 64px;
}

.notice,
.project-brief,
.process-map,
.section-shell,
.path-panel,
.decision-section,
.quick-reference,
.sources {
  margin-bottom: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(6, 38, 84, 0.07);
}

.notice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}

.notice p {
  margin: 0;
}

.project-brief {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}

.project-brief article {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.project-brief article:last-child {
  border-right: 0;
}

.project-brief h2 {
  font-size: 1.18rem;
}

.project-brief p:last-child {
  margin-bottom: 0;
  color: #475467;
}

.process-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}

.process-map article {
  position: relative;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.process-map article:last-child {
  border-right: 0;
}

.process-map span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.process-map h2 {
  font-size: 1.3rem;
}

.process-map p {
  margin-bottom: 0;
  color: #475467;
}

.notice-icon,
.section-number,
.step-top span {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.section-shell,
.path-panel,
.decision-section,
.quick-reference,
.sources {
  padding: clamp(18px, 3vw, 28px);
}

.section-heading,
.step-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  line-height: 1.1;
}

h3 {
  margin-bottom: 8px;
  color: var(--navy);
}

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

.contents-grid a,
.path-grid a {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.contents-grid span {
  color: var(--blue);
  font-weight: 900;
}

.path-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(300px, 1.3fr);
  gap: 18px;
  background: var(--navy);
  color: #fff;
}

.path-panel .eyebrow,
.path-panel h2 {
  color: #fff;
}

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

.path-grid a {
  display: block;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.33);
  color: #fff;
}

.path-grid span {
  display: block;
  margin-top: 6px;
  color: #d8e6f7;
  font-weight: 500;
}

.intro-grid,
.equipment-layout,
.before-grid,
.cuff-size-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(250px, 0.75fr);
  gap: 24px;
  align-items: center;
}

.plain-steps {
  margin: 0 0 16px;
  padding-left: 22px;
}

.plain-steps li {
  margin-bottom: 8px;
}

.cuff-size-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.cuff-size-card h3 {
  margin: 0;
  padding: 15px 16px;
  background: var(--navy);
  color: #fff;
}

.cuff-size-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cuff-size-card li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
}

.cuff-size-card li:last-child {
  border-bottom: 0;
}

.cuff-size-card li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 1.08em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--blue);
}

.cuff-size-card strong {
  color: var(--navy);
}

.clinical-tip,
.callout,
.note-box,
.error-box {
  border-radius: 6px;
  padding: 15px;
}

.clinical-tip {
  border: 1px solid #9cc4f2;
  background: var(--sky);
}

.clinical-tip h3 {
  margin-bottom: 4px;
}

.clinical-tip p,
.note-box,
.error-box {
  margin: 0;
}

.amber {
  background: var(--amber);
  border-color: var(--amber-line);
}

.check-list,
.status-list,
.sound-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li,
.status-list li,
.sound-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
}

.check-list li::before,
.status-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
}

.check-list li::after,
.status-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.43em;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.equipment-photo {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
  overflow: hidden;
}

.equipment-photo img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.step-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(6, 38, 84, 0.07);
}

.step-card.is-complete {
  border-color: rgba(35, 135, 92, 0.5);
  box-shadow: 0 0 0 4px rgba(35, 135, 92, 0.12);
}

.step-card ol {
  padding-left: 20px;
}

.step-card li {
  margin-bottom: 8px;
}

.step-photo {
  width: 100%;
  margin: 4px 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
  overflow: hidden;
}

.step-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mini-diagram,
.artery-map {
  position: relative;
  min-height: 150px;
  margin: auto 0 16px;
  border-radius: 8px;
  background: var(--wash);
  overflow: hidden;
}

.person-diagram .head {
  position: absolute;
  left: 94px;
  top: 26px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #d9aa7a;
}

.person-diagram .body {
  position: absolute;
  left: 82px;
  top: 68px;
  width: 66px;
  height: 82px;
  border-radius: 24px 24px 6px 6px;
  background: var(--navy-2);
}

.person-diagram .chair {
  position: absolute;
  left: 52px;
  top: 118px;
  width: 160px;
  height: 12px;
  background: #94a3b8;
}

.person-diagram .arm {
  position: absolute;
  left: 145px;
  top: 88px;
  width: 104px;
  height: 12px;
  border-radius: 10px;
  background: #d9aa7a;
}

.person-diagram .legs {
  position: absolute;
  left: 101px;
  top: 146px;
  width: 102px;
  height: 12px;
  border-radius: 10px;
  background: #d9aa7a;
}

.error-box {
  border: 1px solid #f5a6ad;
  background: #fff1f2;
  color: #8f1d2b;
}

.callout {
  margin: auto 0 16px;
  border: 1px solid #9cc4f2;
  background: var(--sky);
  color: var(--navy);
  font-weight: 800;
}

.artery-map {
  display: grid;
  place-items: center;
  color: var(--navy);
}

.artery-map::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 38px;
  border-radius: 24px;
  background: #ecc39d;
  transform: rotate(-12deg);
}

.artery-map::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 4px;
  background: var(--red);
  transform: rotate(-12deg);
}

.artery-map span,
.artery-map strong {
  position: relative;
  z-index: 1;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 6px;
}

.artery-map strong {
  align-self: end;
  margin-bottom: 18px;
}

.compact {
  margin: auto 0 16px;
}

.sound-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.note-box {
  margin-top: auto;
  border: 1px solid var(--line);
  background: #f8fbff;
}

.reading-example {
  margin: auto 0 14px;
  padding: 18px;
  border: 1px solid #9cc4f2;
  border-radius: 6px;
  background: #f5faff;
  color: var(--navy);
  text-align: center;
  font-size: 1.25rem;
  font-weight: 900;
}

.small li {
  margin-bottom: 7px;
}

.done-button {
  width: 100%;
  margin-top: auto;
  cursor: pointer;
}

.done-button[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
}

.mistake-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.mistake-table > div {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
}

.mistake-table span {
  position: relative;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.mistake-table div:not(.table-head) span {
  padding-left: 44px;
}

.mistake-table div:not(.table-head) span::before {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.mistake-table div:not(.table-head) span:first-child {
  background: #fff6f7;
  color: #7f1d2d;
}

.mistake-table div:not(.table-head) span:first-child::before {
  content: "x";
  background: var(--red);
}

.mistake-table div:not(.table-head) span:last-child {
  background: #f2fbf7;
  color: #14543d;
  font-weight: 800;
}

.mistake-table div:not(.table-head) span:last-child::before {
  content: "✓";
  background: var(--green);
}

.mistake-table div:last-child span {
  border-bottom: 0;
}

.table-head span {
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.table-head span:first-child {
  background: #8f1d2b;
}

.table-head span:last-child {
  background: #17694d;
}

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

.trouble-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.decision-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1fr);
  gap: 20px;
  align-items: center;
  background: #fff;
}

.decision-copy p:last-child {
  margin-bottom: 0;
  color: #475467;
}

.decision-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}

.decision-flow span,
.decision-flow strong {
  min-height: 68px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
}

.decision-flow span {
  border: 1px solid var(--line);
  background: #f8fbff;
  color: var(--navy);
  font-weight: 800;
}

.decision-flow strong {
  width: 46px;
  min-height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.bp-number-section > p {
  max-width: 850px;
}

.bp-category-chart {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.bp-category-chart > div {
  display: grid;
  grid-template-columns: minmax(230px, 1.45fr) minmax(145px, 0.8fr) minmax(80px, 0.35fr) minmax(160px, 0.9fr);
}

.bp-category-chart span {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 2px solid #fff;
  border-right: 0;
  font-size: 1.08rem;
}

.bp-category-chart span:nth-child(3) {
  justify-content: center;
  text-align: center;
  font-weight: 900;
}

.bp-category-chart div:last-child span {
  border-bottom: 0;
}

.bp-chart-head span {
  min-height: 96px;
  background: #4b5151;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
}

.bp-category-chart div:not(.bp-chart-head) span:first-child {
  color: inherit;
  font-weight: 900;
  text-transform: uppercase;
}

.bp-normal-row span {
  background: #dff1b8;
  color: #244214;
}

.bp-elevated-row span {
  background: #fff4a8;
  color: #5c4700;
}

.bp-stage-one-row span {
  background: #ffd89a;
  color: #6b3600;
}

.bp-stage-two-row span {
  background: #f5b29a;
  color: #6f1f0c;
  font-weight: 900;
}

.bp-alert-row span {
  background: #e9a4ad;
  color: #64101b;
  font-weight: 900;
}

.bp-note {
  margin-top: 16px;
}

.quick-reference {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 20px;
  background: var(--navy);
  color: #fff;
}

.quick-reference .eyebrow,
.quick-reference h2 {
  color: #fff;
}

.quick-reference ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 34px;
}

.quick-reference li {
  break-inside: avoid;
  margin-bottom: 10px;
}

.interactive-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.interactive-checklist label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 40px;
  cursor: pointer;
}

.interactive-checklist input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--navy);
}

.progress-wrap {
  margin-top: 20px;
}

.progress-bar {
  height: 12px;
  border-radius: 999px;
  background: #dfe8f5;
  overflow: hidden;
}

#progressFill {
  width: 0%;
  height: 100%;
  display: block;
  background: var(--green);
  transition: width 180ms ease;
}

#progressText {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.sources {
  box-shadow: none;
}

.sources h2 {
  font-size: 1.25rem;
}

.sources a {
  display: inline-flex;
  margin: 8px 12px 0 0;
  color: var(--blue);
  font-weight: 800;
}

footer {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(18px, 4vw, 56px);
  background: var(--navy);
  color: #fff;
  font-size: 0.92rem;
}

footer a {
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 960px) {
  .hero,
  .path-panel,
  .project-brief,
  .process-map,
  .intro-grid,
  .equipment-layout,
  .before-grid,
  .cuff-size-layout,
  .decision-section,
  .quick-reference {
    grid-template-columns: 1fr;
  }

  .project-brief article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-brief article:last-child {
    border-bottom: 0;
  }

  .process-map article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-map article:last-child {
    border-bottom: 0;
  }

  .contents-grid,
  .steps,
  .path-grid,
  .trouble-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: auto;
  }

  .top-nav,
  footer {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 14px;
  }

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

  .jump-menu {
    width: 100%;
  }

  .jump-menu summary {
    width: 100%;
    justify-content: space-between;
  }

  .jump-options {
    position: static;
    width: 100%;
    margin-top: 8px;
  }

  .contents-grid,
  .steps,
  .path-grid,
  .decision-flow,
  .trouble-grid,
  .interactive-checklist {
    grid-template-columns: 1fr;
  }

  .decision-flow strong {
    width: 100%;
    min-height: 34px;
    border-radius: 6px;
  }

  .hero-meta span {
    min-width: 100%;
  }

  .step-card {
    min-height: auto;
  }

  .mistake-table > div {
    grid-template-columns: 1fr;
  }

  .bp-category-chart > div {
    grid-template-columns: 1fr;
  }

  .bp-category-chart span {
    min-height: auto;
    border-right: 0;
  }

  .bp-category-chart div:not(.bp-chart-head) span:first-child {
    border-bottom: 0;
  }

  .mistake-table span:first-child {
    border-bottom: 0;
    font-weight: 900;
  }

  .quick-reference ol {
    columns: 1;
  }
}
