:root {
  color-scheme: light;
  --paper: #f5efe3;
  --sheet: #fffaf1;
  --ink: #253638;
  --muted: #53605a;
  --brass: #795b2c;
  --line: #a3957c;
  --wash: #e8dfcd;
  --dark: #203335;
  --light: #faf2df;
  font-family: "Segoe UI", Candara, Optima, Calibri, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; }
a { color: var(--brass); text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; }
a, button { min-height: 44px; min-width: 44px; }
body > header, body > nav, main, body > footer > div {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}
body > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
}
body > header p { margin: 0; font-size: 16px; color: var(--muted); }
main { padding-block: 2.8rem 3.4rem; }
article { min-width: 0; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.025em; margin: 0; font-weight: 650; }
h1 { font-size: clamp(2.25rem, 4.7vw, 3.75rem); max-width: 19ch; }
h2 { font-size: clamp(1.65rem, 2.6vw, 2.15rem); margin-bottom: 1rem; max-width: 30ch; }
h3 { font-size: 1.3rem; margin-bottom: .6rem; }
p { margin: 0 0 1rem; max-width: 69ch; }
ul, ol { padding-left: 1.25rem; max-width: 69ch; }
li { padding-left: .25rem; margin-block: .45rem; }
figure { margin: 0; }
figcaption { font-size: 16px; line-height: 1.6; max-width: 75ch; color: var(--muted); }
section { margin-top: 2.5rem; }
section > p:last-child { margin-bottom: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin-block: 2rem; }
small { font-size: 16px; }
abbr { text-decoration: none; }
body > footer { background: var(--dark); color: var(--light); border-top: 5px double #c9ae78; }
body > footer > div { padding-block: 1.75rem; }
body > footer p { font-size: 16px; margin-bottom: .75rem; max-width: 75ch; }
body > footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
body > footer a { color: var(--light); display: inline-flex; align-items: center; min-height: 48px; padding-inline: .25rem; font-size: 16px; }
body > footer a:hover { color: #e6c890; }
body > footer a:focus-visible { outline-color: #e6c890; }
.skip-reading {
  position: absolute; top: -100px; left: 1rem; z-index: 20; padding: .5rem 1rem;
  background: var(--sheet); color: var(--ink);
}
.skip-reading:focus { top: .5rem; }
.site-mark { display: inline-flex; align-items: center; gap: .7rem; min-height: 48px; text-decoration: none; color: var(--ink); font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
.site-mark::before { content: ""; width: 22px; height: 22px; flex: 0 0 22px; border: 5px double var(--brass); border-radius: 50%; }
.question-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding-top: 12px; }
.question-tabs a {
  display: flex; align-items: center; justify-content: center; padding: .6rem .85rem;
  min-height: 58px; font-size: 16px; text-align: center; text-decoration: none;
  color: var(--ink); border: 1px solid var(--line); border-bottom: 3px solid var(--brass);
  background: var(--sheet); line-height: 1.35;
}
.question-tabs a:hover { background: var(--wash); }
.question-tabs a[data-current="true"] { background: var(--dark); color: var(--light); border-color: var(--dark); border-bottom-color: #c9ae78; }
.reading-meter { position: fixed; inset: 0 0 auto; width: 100%; height: 5px; z-index: 10; border: none; appearance: none; color: var(--brass); background: transparent; }
.reading-meter::-webkit-progress-bar { background: transparent; }
.reading-meter::-webkit-progress-value { background: var(--brass); }
.reading-meter::-moz-progress-bar { background: var(--brass); }
.question-opening { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 3rem; align-items: start; margin-bottom: 2.5rem; }
.question-label { color: var(--brass); font-size: 16px; letter-spacing: .055em; text-transform: uppercase; margin-bottom: 1rem; }
.question-deck { font-size: 20px; line-height: 1.55; max-width: 54ch; margin-top: 1.2rem; }
.first-question { position: relative; padding: 1.65rem 1.5rem 1.35rem; background: var(--wash); border: 1px solid var(--line); border-top: 5px double var(--brass); }
.first-question::after { content: ""; position: absolute; width: 8px; height: 8px; right: 12px; top: 12px; border-radius: 50%; background: var(--brass); }
.first-question p { font-size: 18px; }
.first-question .takeaway-question { font-size: 23px; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; }
.first-question p:last-child { margin-bottom: 0; }
.care-compare { margin-top: 2.5rem; background: var(--sheet); border: 1px solid var(--line); border-top: 5px double var(--brass); }
.care-compare > h2 { padding: 1.5rem 1.5rem 0; max-width: 34ch; }
.comparison-head, .comparison-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem; padding-inline: 1.5rem; }
.comparison-head { border-block: 1px solid var(--line); background: var(--wash); padding-block: .65rem; }
.comparison-head p { margin: 0; font-size: 16px; font-weight: 650; }
.comparison-rows { margin: 0; }
.comparison-row { margin: 0; padding-block: 1.2rem; border-bottom: 1px solid var(--line); }
.care-compare .comparison-question { font-size: 20px; line-height: 1.45; font-weight: 600; letter-spacing: normal; margin: 0; }
.comparison-answer { margin: 0; min-width: 0; }
.comparison-answer p { margin-bottom: .6rem; max-width: 64ch; }
.comparison-answer p:last-child { margin-bottom: 0; }
.care-compare > figcaption { padding: 1rem 1.5rem 1.1rem; max-width: 85ch; }
.care-compare figcaption p { margin: 0; font-size: 16px; }
.question-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 1.5rem; }
.question-index a { display: flex; flex-direction: column; justify-content: center; gap: .3rem; padding: 1.15rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 116px; text-decoration: none; background: var(--sheet); }
.question-index a:hover { background: var(--wash); }
.question-index strong { font-size: 20px; line-height: 1.3; font-weight: 600; }
.question-index span { color: var(--muted); font-size: 16px; line-height: 1.5; }
.medicine-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.medicine-tabs a { padding: .5rem 1rem; min-height: 48px; display: inline-flex; align-items: center; font-size: 16px; background: var(--sheet); border: 1px solid var(--line); }
.medicine-tabs a[aria-current="page"] { color: var(--light); background: var(--dark); }
.visit-card { max-width: 75ch; border-left: 5px double var(--brass); padding: .2rem 1.5rem 1rem; }
.visit-card > ul { list-style-type: square; }
.visit-card li { padding-block: .25rem; }
.question-slip { font-size: 21px; line-height: 1.45; padding: 1rem 1.25rem; border-block: 1px solid var(--brass); background: var(--wash); max-width: 64ch; }
.note-slots { border-collapse: collapse; width: min(100%, 75ch); background: var(--sheet); }
.note-slots caption { text-align: left; font-size: 16px; padding-bottom: .75rem; }
.note-slots th, .note-slots td { border: 1px solid var(--line); padding: .75rem 1rem; text-align: left; font-size: 18px; font-weight: 400; height: 74px; }
.note-slots th { width: 44%; }
.note-slots td { width: 56%; }
.urgent-note { border: 2px solid var(--ink); border-left: 8px solid var(--brass); padding: 1.5rem; background: var(--sheet); max-width: 75ch; }
.urgent-note h2 { font-size: 1.65rem; }
.source-list { padding: 0; list-style: none; max-width: 75ch; }
.source-list li { padding: 0; margin: 0; border-bottom: 1px solid var(--line); }
.source-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem .3rem; min-height: 54px; font-size: 18px; }
.source-list a::after { content: "↗"; text-decoration: none; }
.next-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; border-top: 5px double var(--brass); margin-top: 3rem; padding-top: 1.25rem; }
.next-card a { display: inline-flex; align-items: center; padding-block: .5rem; min-height: 48px; font-size: 18px; }
.next-card p { font-size: 16px; margin: 0; }
@media (min-width: 1200px) {
  main { border-left: 1px solid var(--line); padding-left: 30px; }
}
@media (max-width: 760px) {
  body > header, body > nav, main, body > footer > div { width: calc(100% - 36px); }
  body > header { padding-block: .65rem; }
  body > header p { max-width: 9ch; line-height: 1.35; text-align: right; }
  .site-mark { font-size: 20px; gap: .45rem; }
  .question-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .question-tabs a { min-height: 50px; padding: .55rem .5rem; }
  main { padding-block: 1.8rem 2.5rem; }
  h1 { font-size: clamp(2.2rem, 9.8vw, 2.8rem); }
  .question-opening { grid-template-columns: minmax(0, 1fr); gap: 1.35rem; margin-bottom: 1.8rem; }
  .question-deck { font-size: 19px; }
  .question-label { margin-bottom: .75rem; }
  .first-question { padding: 1.25rem; }
  .first-question .takeaway-question { font-size: 21px; }
  .comparison-head { display: none; }
  .care-compare > h2 { padding: 1.25rem 1.1rem 0; }
  .comparison-row { grid-template-columns: minmax(0, 1fr); gap: .65rem; padding-inline: 1.1rem; }
  .comparison-question { border-left: 3px solid var(--brass); padding-left: .65rem; }
  .care-compare > figcaption { padding-inline: 1.1rem; }
  .question-index { grid-template-columns: minmax(0, 1fr); }
  .question-index a { min-height: 92px; }
  .medicine-tabs a { flex: 1 1 auto; justify-content: center; padding-inline: .6rem; }
  .visit-card { padding-inline: 1rem 0; }
  .urgent-note { padding: 1.1rem; }
  .note-slots th, .note-slots td { padding: .65rem; font-size: 16px; }
  .next-card { display: block; }
  .next-card a { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; animation: none; transition: none; }
}
@media print {
  :root { color: #000; background: #fff; font-size: 12pt; }
  body > header, body > nav, body > footer, .skip-reading, .reading-meter, .medicine-tabs, .next-card { display: none; }
  main { width: 100%; margin: 0; padding: 0; border: 0; }
  .question-opening { display: block; }
  .first-question { margin-top: 1rem; }
  .care-compare, .first-question, .note-slots, .urgent-note { background: #fff; }
  .comparison-row, .visit-card, .urgent-note, .note-slots tr { break-inside: avoid; }
  h1 { font-size: 28pt; }
  h2 { font-size: 20pt; break-after: avoid; }
  a { color: #000; }
  section { margin-top: 1.3rem; }
}
