@font-face {
  font-family: "Ubuntu";
  src: url("shelf-ubuntu.60b1792c5f.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Carlito";
  src: url("shelf-carlito.7765aaf21b.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --ink: #293e50;
  --muted: #4e6273;
  --blue: #354cab;
  --blue-deep: #283f88;
  --sky: #edf5fc;
  --lilac: #f0edf9;
  --paper: #fffefd;
  --stroke: #ccd7e4;
  font-family: "Carlito", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 19px;
  line-height: 1.55;
  font-synthesis: weight;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; overflow-wrap: break-word; }
a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  color: var(--blue-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
a:hover { color: #253278; text-decoration-thickness: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #365ac3; outline-offset: 5px; border-radius: 5px; }
:target { scroll-margin-block-start: 24px; }
p, li, dd { max-width: 69ch; }
p { margin: 0 0 1.05em; }
ul, ol { padding-left: 1.25em; }
li { padding-left: .12em; margin-block: .5em; }
dl { margin: 1.2rem 0; }
dt { font-family: "Ubuntu", sans-serif; font-weight: 700; margin-top: 1.1rem; }
dd { margin: .3rem 0 .9rem; }
h1, h2, h3, summary {
  font-family: "Ubuntu", "Segoe UI", sans-serif;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 6.5vw, 4rem); line-height: 1.09; letter-spacing: -.043em; margin: .6rem 0 1.2rem; color: #294778; max-width: 18ch; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); line-height: 1.19; letter-spacing: -.026em; margin: 0 0 1.1rem; max-width: 28ch; }
h3 { font-size: 1.23rem; line-height: 1.26; letter-spacing: -.015em; margin: .45rem 0 .85rem; }
.skip-reading { position: absolute; top: 10px; left: 16px; transform: translateY(-180%); z-index: 10; padding: .5rem .9rem; background: white; }
.skip-reading:focus { transform: none; }
.utility-strip { padding: .35rem 1.15rem; background: var(--sky); display: flex; flex-wrap: wrap; column-gap: 1.1rem; align-items: center; justify-content: space-between; font-size: 17px; }
.utility-strip p { margin: .3rem 0; }
.utility-strip nav { display: flex; flex-wrap: wrap; gap: .85rem; }
.utility-strip a { font-size: 17px; }
body > header { padding: 1rem 1.15rem; display: flex; gap: 1rem; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
body > header > a { flex-direction: column; align-items: flex-start; text-decoration: none; font-size: 17px; line-height: 1.25; color: var(--ink); }
body > header > a span:first-child { font-family: "Ubuntu", sans-serif; font-weight: 700; }
body > header > a span:last-child { color: var(--muted); }
body > header details { position: static; }
summary { min-height: 48px; cursor: pointer; display: flex; gap: .6rem; align-items: center; padding: .5rem .75rem; background: #eeedf9; border-radius: 100px; color: var(--blue-deep); font-size: 16px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary span { font-size: 1.1rem; }
details[open] summary { background: #dde5f6; }
details nav { position: absolute; top: calc(100% - .1rem); inset-inline: 1.15rem; padding: .8rem; border-radius: 21px; background: white; box-shadow: 0 14px 45px #29477825; border: 1px solid var(--stroke); }
details ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
details li { padding: 0; margin: 0; }
details a { width: 100%; padding: .5rem .7rem; border-radius: 11px; text-decoration: none; font-size: 18px; }
details a:hover, details a[aria-current] { background: var(--sky); }
main { padding: 0 1.15rem 3rem; }
main > article { max-width: 1160px; margin-inline: auto; }
.chapter { padding: 2rem 0 2.4rem; }
.chapter > div > p:first-child { color: var(--blue-deep); font-size: 18px; margin-bottom: .65rem; }
.chapter > div > p:last-of-type { font-size: 22px; line-height: 1.45; max-width: 47ch; color: var(--muted); }
.chapter nav { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.5rem; align-items: center; }
.chapter nav a { padding: .6rem 1rem; border-radius: 100px; text-decoration: none; background: var(--blue); color: white; font-size: 18px; }
.chapter nav a + a { background: white; color: var(--blue-deep); box-shadow: inset 0 0 0 1px #bdcbe1; }
.chapter > aside { background: var(--lilac); border-radius: 26px 26px 26px 9px; padding: 1.4rem; margin-top: 1.5rem; }
.chapter > aside > p { font-family: "Ubuntu", sans-serif; font-weight: 700; }
.chapter > aside ul { margin-bottom: 0; }
.chapter > aside dl { margin: 0; }
figure { margin: 1.6rem 0 0; min-width: 0; }
img { display: block; max-width: 100%; width: 100%; height: auto; background: #e4eaf7; border-radius: 28px 28px 9px 28px; color: var(--ink); font-size: 17px; object-fit: cover; }
figcaption { font-size: 17px; color: var(--muted); padding: .8rem .15rem; max-width: 44ch; }
article > section { margin-block: 1rem 3.2rem; }
article > section > nav { display: flex; gap: .4rem 1.5rem; flex-wrap: wrap; }
.route-tray { display: grid; gap: 1rem; margin-top: 1.4rem; }
.route-tray > section { background: var(--sky); border-radius: 24px; padding: 1.35rem; }
.route-tray > section:nth-child(2) { background: var(--lilac); }
.route-tray > section:nth-child(3) { background: #f8f1e9; }
.route-tray h3 { font-size: 1.43rem; }
.route-tray dl { margin-bottom: 0; }
.route-tray dt { font-size: 17px; }
.route-tray dd { font-size: 19px; }
.evidence { padding: 1.4rem; margin: 0 0 2.7rem; background: #f1f5fa; border-radius: 8px 27px 27px 27px; box-shadow: inset 6px 0 0 #a9b8e2; }
.evidence > p:first-child { color: #405c80; font-size: 17px; margin: 0 0 .75rem; }
.evidence h3 { max-width: 29ch; }
.evidence a { font-size: 17px; }
.evidence > a { display: flex; width: fit-content; }
.evidence p { font-size: 19px; }
.question-slips { list-style: none; padding: 0; margin-block: 1.3rem 0; max-width: 74ch; }
.question-slips li { border-bottom: 1px solid #d8e0e9; padding: .9rem .1rem .9rem 2.1rem; margin: 0; position: relative; }
.question-slips li::before { content: ""; width: 17px; height: 17px; border: 2px solid #6a7fa9; border-radius: 5px; position: absolute; left: .15rem; top: 1.2rem; }
.reading-pair { display: grid; gap: 1.2rem; margin-bottom: 3rem; }
.reading-pair > * { margin: 0; }
.reading-pair > figure img { aspect-ratio: 1; }
.source-drawers { display: grid; gap: 1.1rem; margin-bottom: 3.2rem; }
.source-drawers .evidence { margin: 0; }
.recap { background: linear-gradient(112deg, #e8f4fa 5%, #edeafb 98%); border-radius: 28px; margin-top: 3.2rem; padding: 1.6rem; }
.recap h2 { font-size: 1.25rem; margin-bottom: .8rem; }
.recap p { font-size: 22px; line-height: 1.45; }
.recap a { font-size: 18px; }
body > footer { background: #edf3f8; padding: 2rem 1.15rem; display: grid; gap: 1.2rem; font-size: 17px; }
footer div > p:first-child { font-family: "Ubuntu", sans-serif; font-weight: 700; font-size: 18px; }
footer p { max-width: 57ch; }
footer nav { display: flex; flex-direction: column; align-items: flex-start; }
footer a { min-height: 48px; font-size: 17px; }
body[data-chapter="compare"] main { background: linear-gradient(165deg, #f5faff 0, #fbfaff 38rem, #fffefd 58rem); }
body[data-chapter="payment"] article > section > dl { background: #f5f7fb; padding: .5rem 1.3rem .8rem; border-radius: 24px; max-width: 72ch; }
body[data-chapter="questions"] article > section:first-of-type dl { padding-left: 1.2rem; border-left: 5px solid #c8ceee; }
@media (min-width: 700px) {
  .utility-strip { padding-inline: max(1.8rem, calc((100vw - 1160px) / 2)); }
  body > header { max-width: 1230px; margin-inline: auto; padding: 1.1rem 1.8rem; }
  main { padding-inline: 1.8rem; }
  .chapter { padding: 3rem 0 3.5rem; }
  .chapter:has(> aside), .chapter:has(> figure) { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
  .chapter > figure, .chapter > aside { margin: 0; }
  .chapter > aside { align-self: center; }
  .chapter > figure img { min-height: 240px; }
  details nav { left: auto; right: 1.8rem; width: 490px; }
  details ul { grid-template-columns: 1fr 1fr; }
  .route-tray { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .route-tray > section { padding: 1.4rem; }
  .reading-pair { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: 1.8rem; }
  .reading-pair > figure { max-width: 360px; justify-self: center; }
  .evidence { padding: 1.8rem; max-width: 850px; }
  .source-drawers { grid-template-columns: 1fr 1fr; align-items: start; }
  .source-drawers .evidence:first-child { grid-column: 1 / -1; max-width: none; }
  .source-drawers .evidence:first-child p { max-width: 73ch; }
  .recap { padding: 2.1rem 2.5rem; }
  body > footer { padding: 2.4rem max(1.8rem, calc((100vw - 1160px) / 2)); grid-template-columns: 1.5fr 1fr; column-gap: 3rem; }
  footer nav { justify-self: end; }
}
@media (min-width: 1050px) {
  .chapter { padding-block: 3.6rem 4.3rem; }
  .chapter:has(> figure) { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3rem; }
  body[data-chapter="compare"] h1 { font-size: 3.7rem; }
  article > section { margin-bottom: 3.8rem; }
  body[data-chapter="prepare"] article > section:nth-of-type(2) { margin-left: 12%; }
  body[data-chapter="sources"] article > section:first-of-type { max-width: 800px; }
}
@media print {
  .utility-strip, body > header, body > footer, .skip-reading, .chapter nav, .recap a { display: none; }
  :root { font-size: 17px; }
  main { padding: 0; }
  .chapter { padding: 0 0 1rem; }
  .evidence, .recap, .route-tray > section { break-inside: avoid; box-shadow: none; }
  a { min-height: 0; }
}
