:root {
  color-scheme: light;
  --ink: #103f3b;
  --ink-strong: #073f3a;
  --muted: #58716e;
  --brand: #064b46;
  --brand-deep: #033b37;
  --teal: #07897d;
  --mint: #e9f4f2;
  --aqua: #dcefed;
  --gold: #ddba63;
  --gold-soft: #f4e8bf;
  --coral: #cf5b4d;
  --paper: #ffffff;
  --page: #f4f7f5;
  --line: #c9ded9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(201, 222, 217, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.topbar-inner {
  width: min(1120px, 100%);
  min-height: 70px;
  margin: 0 auto;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.brand-text {
  min-width: 0;
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 15px;
}

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

.top-actions,
.pdf-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.button {
  min-height: 44px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.back-top:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.button-primary {
  background: var(--brand);
  color: var(--paper);
}

.button-primary:hover {
  background: var(--brand-deep);
}

.button-secondary {
  background: var(--paper);
  color: var(--brand);
}

.button-secondary:hover {
  background: var(--mint);
}

.hero {
  overflow: hidden;
  background: var(--brand);
  color: var(--paper);
}

.hero-inner {
  width: min(1120px, 100%);
  min-height: 420px;
  margin: 0 auto;
  padding: 54px 22px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: end;
  gap: 42px;
}

.hero-copy {
  align-self: center;
  padding-bottom: 54px;
}

.eyebrow,
.section-kicker,
.section-heading > p {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 54px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: var(--gold);
}

.hero-subtitle {
  max-width: 690px;
  margin: 22px 0 0;
  color: #d8e5e2;
  font-size: 20px;
  line-height: 1.4;
}

.hero-photo {
  align-self: end;
  width: 330px;
  height: 370px;
  margin: 0;
  overflow: hidden;
  border: 4px solid var(--gold);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  background: #e8f1ee;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 20%;
}

.notice-band {
  background: var(--paper);
  padding: 26px 22px 0;
}

.notice-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #ead99e;
  border-radius: 8px;
  background: var(--gold-soft);
}

.notice-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: var(--paper);
  font-size: 25px;
  font-weight: 900;
}

.notice-inner h2,
.notice-inner p {
  margin: 0;
}

.notice-inner h2 {
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}

.notice-inner p {
  margin-top: 4px;
  color: #3e5652;
}

.content-section {
  background: var(--paper);
  padding: 68px 22px 78px;
}

.section-heading {
  width: min(1080px, 100%);
  margin: 0 auto 28px;
}

.section-heading > p {
  color: var(--teal);
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0;
}

.acronym-grid {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.acronym-card {
  position: relative;
  min-height: 250px;
  padding: 24px 24px 22px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfa;
}

.acronym-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--teal);
}

.acronym-card.accent-gold::before {
  background: var(--gold);
}

.acronym-card.accent-mint::before {
  background: #52ada1;
}

.acronym-card header {
  min-height: 58px;
  padding-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.acronym-card h3,
.acronym-card header p,
.acronym-card dl,
.acronym-card dd {
  margin: 0;
}

.acronym-card h3 {
  flex: 0 0 auto;
  color: var(--brand);
  font-size: 27px;
  line-height: 1;
}

.acronym-card header p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

.acronym-card dl {
  padding-top: 14px;
  display: grid;
  gap: 13px;
}

.acronym-card dt {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.acronym-card dl div:last-child dt {
  color: var(--teal);
}

.acronym-card dd {
  margin-top: 3px;
  color: #294a46;
  font-size: 15px;
  line-height: 1.42;
}

.prep-band {
  background: var(--brand);
  color: var(--paper);
}

.prep-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 64px 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.questions-block,
.checklist-block {
  min-width: 0;
  padding: 0 44px;
}

.questions-block {
  padding-left: 0;
  border-right: 1px solid rgba(221, 186, 99, 0.5);
}

.checklist-block {
  padding-right: 0;
}

.prep-band h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0;
}

.prep-band ol,
.prep-band ul {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  list-style: none;
}

.prep-band li {
  position: relative;
  min-height: 34px;
  padding-left: 48px;
  display: flex;
  align-items: center;
  color: #dbe8e5;
  font-size: 16px;
}

.questions-block li::before {
  content: counter(list-item);
  position: absolute;
  left: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brand-deep);
  font-weight: 900;
}

.checklist-block li::before {
  content: "";
  position: absolute;
  left: 3px;
  width: 20px;
  height: 20px;
  border: 2px solid #70cabf;
  border-radius: 4px;
}

.medication-band {
  padding: 38px 22px;
  background: var(--gold-soft);
}

.medication-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.medication-mark {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--paper);
  font-size: 19px;
  font-weight: 900;
}

.medication-band h2,
.medication-band p {
  margin: 0;
}

.medication-band h2 {
  font-size: 23px;
  line-height: 1.2;
  text-transform: uppercase;
}

.medication-band p {
  margin-top: 8px;
  color: #31514d;
}

.medication-band strong {
  margin-top: 7px;
  display: block;
  color: var(--coral);
  font-size: 14px;
}

.closing-band {
  padding: 25px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 13px;
  border-bottom: 1px solid var(--line);
  background: #edf5f3;
  color: var(--teal);
  text-align: center;
  text-transform: uppercase;
}

.closing-band p {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
}

.closing-band span {
  color: var(--gold);
  font-weight: 900;
}

.pdf-band {
  width: min(1080px, calc(100% - 44px));
  margin: 52px auto;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.pdf-band .section-kicker {
  color: var(--teal);
}

.pdf-band h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0;
}

.footer {
  background: #e6efec;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 30px 22px;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
}

.author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author img {
  width: 62px;
  height: 62px;
  display: block;
  border: 3px solid var(--gold);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
}

.author div {
  display: grid;
  gap: 3px;
}

.author strong {
  font-size: 16px;
}

.author span {
  color: var(--muted);
  font-size: 13px;
}

.references {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.back-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 22;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: var(--paper);
  box-shadow: 0 10px 26px rgba(3, 59, 55, 0.24);
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .hero-inner {
    min-height: 380px;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 24px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-photo {
    width: 230px;
    height: 300px;
  }

  .acronym-card header {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .prep-band h2 {
    font-size: 26px;
  }

  .questions-block,
  .checklist-block {
    padding-inline: 28px;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    min-height: 0;
    padding: 9px 12px;
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .brand {
    padding-inline: 2px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .brand-text strong {
    font-size: 14px;
  }

  .brand-text small {
    display: none;
  }

  .top-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-actions .button {
    min-width: 0;
    min-height: 40px;
    padding: 9px 10px;
    white-space: normal;
  }

  .hero-inner {
    min-height: 0;
    padding: 34px 18px 0;
    grid-template-columns: minmax(0, 1fr) 118px;
    align-items: end;
    gap: 14px;
  }

  .hero-copy {
    padding-bottom: 34px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.04;
  }

  .hero-subtitle {
    margin-top: 16px;
    font-size: 16px;
  }

  .hero-photo {
    width: 118px;
    height: 190px;
    border-width: 3px;
  }

  .notice-band {
    padding: 16px 12px 0;
  }

  .notice-inner {
    padding: 17px;
    align-items: flex-start;
  }

  .notice-mark {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .notice-inner h2 {
    font-size: 17px;
  }

  .notice-inner p {
    font-size: 14px;
  }

  .content-section {
    padding: 46px 12px 54px;
  }

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

  .section-heading h2 {
    font-size: 27px;
  }

  .acronym-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .acronym-card {
    min-height: 0;
    padding: 20px 18px 19px 22px;
  }

  .acronym-card header {
    min-height: 0;
    padding-bottom: 12px;
  }

  .acronym-card h3 {
    font-size: 24px;
  }

  .acronym-card dd {
    font-size: 15px;
  }

  .prep-inner {
    padding: 48px 18px;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .questions-block,
  .checklist-block {
    padding: 0;
  }

  .questions-block {
    padding-bottom: 40px;
    border-right: 0;
    border-bottom: 1px solid rgba(221, 186, 99, 0.5);
  }

  .prep-band h2 {
    font-size: 25px;
  }

  .prep-band li {
    padding-left: 44px;
    font-size: 15px;
  }

  .medication-band {
    padding: 30px 18px;
  }

  .medication-inner {
    align-items: flex-start;
  }

  .medication-mark {
    width: 46px;
    height: 46px;
    font-size: 15px;
  }

  .medication-band h2 {
    font-size: 19px;
  }

  .medication-band p {
    font-size: 14px;
  }

  .closing-band {
    align-items: stretch;
    flex-direction: column;
    gap: 5px;
  }

  .closing-band span {
    display: none;
  }

  .pdf-band {
    width: calc(100% - 24px);
    margin: 36px auto;
    padding: 22px 18px;
    align-items: stretch;
    flex-direction: column;
  }

  .pdf-band h2 {
    font-size: 23px;
  }

  .pdf-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pdf-actions .button {
    min-width: 0;
    white-space: normal;
  }

  .footer-inner {
    padding: 26px 18px;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .references {
    font-size: 11px;
  }
}

@media (max-width: 390px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 92px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-photo {
    width: 92px;
    height: 150px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .medication-inner {
    gap: 14px;
  }
}

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

  .button,
  .back-top {
    transition: none;
  }
}
