:root {
  color-scheme: light;
  --ink: #19313b;
  --navy: #123e50;
  --green: #d6edb3;
  --muted: #637780;
  --line: #dfe7e7;
  --paper: #f6f8f5;
  --blue: #12759a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.65 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
.brand {
  max-width: 860px;
  margin: auto;
  padding: 28px 24px;
  font-weight: 750;
  font-size: 22px;
  letter-spacing: -1px;
}
.brand span {
  font-weight: 400;
  color: #477640;
}
main {
  max-width: 860px;
  margin: auto;
  padding: 0 24px 32px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  font: inherit;
  cursor: pointer;
  min-height: 48px;
  border: 0;
  border-radius: 30px;
  padding: 13px 22px;
  background: var(--navy);
  color: white;
  font-weight: 650;
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
.gate {
  background: var(--navy);
  color: white;
  border-radius: 32px;
  padding: 38px;
  display: grid;
  gap: 24px;
  animation: appear 0.25s ease-out;
}
.gate h1 {
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.16;
  font-weight: 650;
  letter-spacing: -1.5px;
}
.gate h1 span {
  color: var(--green);
}
.gate p {
  color: #c8dce1;
  max-width: 600px;
}
.gate button {
  background: var(--green);
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  text-align: left;
}
.gate .eyebrow {
  color: var(--green);
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}
.seal {
  width: 58px;
  height: 58px;
  border-radius: 19px;
  background: var(--green);
  color: var(--navy);
  font-size: 32px;
  text-align: center;
}
.fine,
footer {
  font-size: 12px;
  line-height: 1.65;
}
.gate .fine {
  color: #b6cdd3;
}
.hero {
  padding: 30px;
  border-radius: 28px;
  background: var(--navy);
  color: white;
  display: grid;
  gap: 12px;
}
.hero h1 {
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -1px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.hero p {
  color: #d2e2e7;
}
.scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 14px;
  border-top: 1px solid #406474;
  font-size: 14px;
}
.pill {
  align-self: start;
  font-size: 12px;
  color: var(--green) !important;
}
.section {
  margin-top: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
}
.section h2 {
  font-size: 21px;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}
.section h3 {
  font-size: 13px;
  color: var(--blue);
  margin: 20px 0 6px;
}
.section h3:first-child {
  margin-top: 0;
}
.section p + p {
  margin-top: 12px;
}
.notice {
  border-left: 3px solid #b48b45;
  padding: 12px 16px;
  background: #faf2e4;
  color: #775328;
  margin: 16px 0;
  border-radius: 0 14px 14px 0;
}
.references {
  display: inline-flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-left: 4px;
}
.references button {
  border-radius: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 6px;
  color: var(--blue);
  background: #edf5f6;
  font-size: 13px;
}
.medicine {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.medicine h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
}
.medicine p {
  font-size: 14px;
}
.date {
  color: var(--muted);
  font-size: 13px;
}
.source {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.source:focus {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
  border-radius: 6px;
}
.source p {
  font-size: 14px;
}
summary {
  cursor: pointer;
  min-height: 48px;
  font-size: 19px;
  font-weight: 650;
}
details[open] summary {
  margin-bottom: 14px;
}
.hide {
  display: block;
  margin: 22px auto;
  background: transparent;
  color: var(--blue);
}
footer {
  max-width: 860px;
  margin: auto;
  padding: 0 24px 36px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 400px) {
  main {
    padding: 0 16px 24px;
  }
  .brand {
    padding: 22px 18px;
  }
  .gate,
  .hero,
  .section {
    padding: 22px;
  }
  .gate {
    gap: 20px;
  }
  .section {
    border-radius: 22px;
  }
  .scope {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  body > * {
    display: none !important;
  }
  body:after {
    content: 'For a copy of this preparation, ask the person who shared it for their PDF.';
    display: block;
    padding: 24px;
  }
}
