@font-face {
  font-family: InterVariable;
  src: url("./assets/inter-variable.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}
@font-face {
  font-family: Editorial;
  src: url("./assets/dm-serif-display.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: Editorial;
  src: url("./assets/dm-serif-display-italic.ttf") format("truetype");
  font-display: swap;
  font-style: italic;
  font-weight: 400;
}
:root {
  --paper: #f8f7f3;
  --ink: #242823;
  --muted: #64675f;
  --blue: #264ab6;
  --pale-blue: #e9edf7;
  --line: rgb(36 40 35 / 0.18);
  --gold: #d9b263;
  --font-display: Editorial, Georgia, serif;
  --font-sans: InterVariable, Arial, sans-serif;
  --rail: 12.5rem;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01", "ss03";
}
::selection {
  background: #dbe4ff;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 400;
  text-wrap: pretty;
  letter-spacing: -0.035em;
}
p {
  text-wrap: pretty;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
}
svg {
  flex-shrink: 0;
}
button,
summary {
  cursor: pointer;
}
button {
  background: none;
  border: 0;
}
ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}
main {
  isolation: isolate;
}
section[id],
article[id],
details[id] {
  scroll-margin-top: 6rem;
}
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.muted {
  color: var(--muted);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100;
  background: var(--paper);
  padding: 1rem;
}
.skip-link:focus {
  top: 1rem;
}
.topbar {
  border-bottom: 1px solid var(--line);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.masthead {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.masthead span {
  color: var(--blue);
}
.topbar .edition {
  color: var(--muted);
}
.topbar nav {
  display: flex;
  gap: 28px;
  font-size: 0.875rem;
}
.topbar nav a {
  text-decoration: none;
}
.topbar nav a:hover {
  color: var(--blue);
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 74px 0 52px;
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.eyebrow {
  color: var(--blue);
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7.7vw, 6.75rem);
  line-height: 1;
  letter-spacing: -0.045em;
  max-width: 9ch;
}
.hero h1 em {
  font-weight: 400;
  color: var(--blue);
}
.hero-deck {
  font-size: 1.125rem;
  line-height: 1.75;
  max-width: 39ch;
  color: var(--muted);
}
.hero-link {
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 4px;
}
.hero-link a {
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
}
.hero-link a:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.hero-art {
  position: relative;
  min-width: 0;
  align-self: center;
}
.hero-art img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}
.hero-art figcaption {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
  padding-top: 18px;
}
.edition-strip {
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 23px 0;
  gap: 30px;
}
.edition-strip p {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 0.875rem;
}
.edition-strip strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
}
.reading-layout {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: 70px;
  padding-top: 74px;
}
.contents {
  position: sticky;
  top: 40px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 27px;
}
.contents-title {
  color: var(--muted);
}
.contents ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
}
.contents a {
  display: flex;
  gap: 12px;
  text-decoration: none;
  padding: 9px 0;
  color: var(--muted);
}
.contents a .number {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.contents a:hover,
.contents a[aria-current] {
  color: var(--blue);
}
.contents a[aria-current] .number {
  color: var(--blue);
}
.rail-note {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: 16ch;
}
.rail-note em {
  color: var(--blue);
}
.chapter {
  padding-bottom: 88px;
}
.chapter-header {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chapter-header h2 {
  font-family: var(--font-display);
  font-size: 3.25rem;
  line-height: 1.1;
  max-width: 22ch;
}
.chapter-header p {
  max-width: 62ch;
  color: var(--muted);
}
.chapter-kicker {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--blue);
}
.intro {
  padding: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 65ch;
}
.intro strong {
  font-weight: 500;
  color: var(--ink);
}
.resource-header {
  display: grid;
  grid-template-columns: 44px 1fr 132px 20px;
  gap: 15px;
  font-size: 0.75rem;
  color: var(--muted);
  padding: 14px 0;
  border-top: 1px solid var(--ink);
}
.resource {
  border-top: 1px solid var(--line);
}
.resource:last-child {
  border-bottom: 1px solid var(--line);
}
.resource summary {
  display: grid;
  grid-template-columns: 44px 1fr 132px 20px;
  gap: 15px;
  align-items: start;
  padding: 23px 0;
  list-style: none;
}
.resource summary::-webkit-details-marker {
  display: none;
}
.resource .rank {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--blue);
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
.resource h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.resource .author {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted);
  padding-top: 5px;
}
.resource .type {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
  padding-top: 6px;
}
.resource .expand {
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--muted);
}
.resource[open] .expand {
  transform: rotate(45deg);
}
.resource summary:hover h3 {
  color: var(--blue);
}
.resource-body {
  padding: 0 30px 28px 59px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.resource-body p {
  max-width: 62ch;
}
.reading-note {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--blue);
}
.reading-note b {
  font-weight: 500;
}
.framework {
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}
.framework-head {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 22px;
}
.framework-number {
  font-family: ui-monospace, monospace;
  font-size: 0.875rem;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.framework h3 {
  font-family: var(--font-display);
  font-size: 2.125rem;
  line-height: 1.25;
  max-width: 30ch;
}
.framework-body {
  padding-left: 58px;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.framework-body > p {
  max-width: 65ch;
}
.framework blockquote {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  border-left: 2px solid var(--blue);
  padding-left: 24px;
  margin: 6px 0;
  color: var(--blue);
}
.text-list {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.visual {
  margin: 10px 0;
  background: #eeefe9;
  padding: 30px;
}
.visual-caption {
  font-size: 0.75rem;
  color: var(--muted);
  padding-top: 18px;
}
.diagram-label {
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  font-family: ui-monospace, monospace;
  text-transform: uppercase;
}
.capital-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: end;
}
.capital-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.4;
}
.capital-bar {
  width: 100%;
  min-height: 90px;
  background: #bdd0e3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #193744;
}
.capital-node:nth-child(1) .capital-bar {
  background: var(--blue);
  color: white;
}
.capital-node:nth-child(2) .capital-bar {
  background: #d9b263;
}
.capital-node:nth-child(3) .capital-bar {
  background: #97af9e;
}
.capital-node:nth-child(4) .capital-bar {
  background: #afc6e6;
}
.capital-node:nth-child(5) .capital-bar {
  background: #303a31;
  color: white;
}
.capital-foundation {
  text-align: center;
  border-top: 1px solid var(--ink);
  padding-top: 15px;
  margin-top: 18px;
  font-size: 0.875rem;
}
.buckets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  background: transparent;
}
.bucket {
  padding: 25px 19px;
  background: #e9edf7;
  min-width: 0;
}
.bucket:nth-child(2) {
  background: #e5e9e0;
}
.bucket:nth-child(3) {
  background: #eee2c6;
}
.bucket h4 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}
.bucket .purpose {
  font-size: 0.8125rem;
  line-height: 1.55;
  margin: 6px 0 20px;
  min-height: 40px;
}
.bucket ul {
  font-size: 0.8125rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.diagram-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.diagram-flow .flow-tier {
  padding: 9px 16px;
  border-bottom: 1px solid var(--line);
  width: 100%;
  text-align: center;
}
.diagram-flow .flow-tier:last-of-type {
  background: var(--blue);
  color: white;
  border: 0;
}
.flow-arrow {
  color: var(--blue);
  font-size: 1.25rem;
  line-height: 1;
}
.domain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  font-size: 0.8125rem;
  text-align: center;
}
.domain-grid span {
  padding: 9px 5px;
  background: var(--paper);
}
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.comparison > div {
  padding: 22px;
  background: var(--pale-blue);
}
.comparison > div + div {
  background: #eee2c6;
}
.comparison h4 {
  font-size: 0.875rem;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 8px;
}
.comparison p {
  font-family: var(--font-display);
  font-size: 1.625rem;
  line-height: 1.4;
}
.inventory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 25px;
  padding-left: 20px;
  list-style: disc;
}
.steps {
  counter-reset: steps;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.steps li {
  counter-increment: steps;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  display: flex;
  gap: 12px;
}
.steps li:before {
  content: counter(steps, decimal-leading-zero);
  color: var(--blue);
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  padding-top: 3px;
}
.trust-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9375rem;
}
.trust-table th {
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}
.trust-table th,
.trust-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 12px 14px 0;
  vertical-align: top;
}
.trust-table th:first-child {
  width: 25%;
}
.source-line {
  font-size: 0.8125rem;
  color: var(--muted);
}
.reading-path {
  counter-reset: books;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  padding-top: 18px;
}
.reading-path li {
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  counter-increment: books;
}
.reading-path a {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  text-decoration: none;
  align-items: baseline;
}
.reading-path a:before {
  content: counter(books, decimal-leading-zero);
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--blue);
}
.reading-path h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.35;
}
.reading-path p {
  font-size: 0.8125rem;
  color: var(--muted);
  padding-top: 7px;
}
.reading-path a:hover h3 {
  color: var(--blue);
}
.stack-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  padding: 24px 0;
}
.stack-questions li:not(:last-child):after {
  content: " →";
  color: var(--blue);
  padding-left: 10px;
}
.callout {
  margin-top: 32px;
  padding: 26px 28px;
  background: var(--pale-blue);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--blue);
}
.doctrine {
  background: #213d91;
  color: #f9f8f2;
  padding: 40px;
  margin-top: 32px;
}
.doctrine .mono {
  color: #cdd8f5;
}
.doctrine h3 {
  font-family: var(--font-display);
  font-size: 2.125rem;
  line-height: 1.25;
  margin-top: 14px;
}
.doctrine dl {
  margin-top: 26px;
}
.doctrine dl > div {
  padding: 20px 0;
  border-top: 1px solid rgb(255 255 255 / 0.2);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
}
.doctrine dt {
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
}
.doctrine dd {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #e1e7f8;
}
.doctrine ol {
  list-style: decimal;
  padding-left: 20px;
}
.closing {
  padding: 44px 0 0;
}
.closing h3 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1.2;
  max-width: 22ch;
  color: var(--blue);
}
.closing p {
  max-width: 60ch;
  margin-top: 20px;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 36px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.footer a {
  color: var(--ink);
}
.mobile-contents {
  display: none;
}
.progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--blue);
  z-index: 30;
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  pointer-events: none;
}
@media (min-width: 1400px) {
  .hero {
    padding-top: 86px;
    padding-bottom: 64px;
  }
  .hero-art {
    margin-right: -22px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    padding: 0 32px;
  }
  .reading-layout {
    gap: 38px;
    --rail: 10rem;
  }
  .hero {
    gap: 30px;
  }
  .edition {
    display: none;
  }
  .resource summary,
  .resource-header {
    grid-template-columns: 36px 1fr 100px 18px;
    gap: 12px;
  }
  .resource-body {
    padding-left: 48px;
  }
  .chapter-header h2 {
    font-size: 2.75rem;
  }
  .framework-body {
    padding-left: 0;
  }
  .framework-head {
    gap: 12px;
    grid-template-columns: 30px 1fr;
  }
  .doctrine {
    padding: 30px;
  }
  .doctrine dl > div {
    grid-template-columns: 110px 1fr;
    gap: 20px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 6rem;
  }
  .wrap {
    padding: 0 22px;
  }
  .topbar {
    height: 72px;
  }
  .topbar nav {
    gap: 20px;
  }
  .topbar nav a:first-child {
    display: none;
  }
  .masthead {
    font-size: 1rem;
  }
  .hero {
    padding: 43px 0 26px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-copy {
    gap: 21px;
  }
  h1 {
    font-size: 4.75rem;
    max-width: 10ch;
  }
  .hero-deck {
    font-size: 1.0625rem;
    max-width: 35ch;
  }
  .hero-link {
    font-size: 1rem;
  }
  .hero-art {
    max-width: 430px;
    width: 100%;
    justify-self: center;
  }
  .hero-art img {
    max-height: 270px;
    object-fit: contain;
  }
  .hero-art figcaption {
    display: none;
  }
  .edition-strip {
    gap: 15px;
    padding: 22px 0;
  }
  .edition-strip p {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    font-size: 0.75rem;
    line-height: 1.5;
  }
  .edition-strip strong {
    font-size: 1.75rem;
  }
  .reading-layout {
    display: block;
    padding-top: 43px;
  }
  .contents {
    display: none;
  }
  .mobile-contents {
    display: block;
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--paper);
    border-block: 1px solid var(--line);
    margin-top: -1px;
  }
  .mobile-contents summary {
    padding: 14px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    font-size: 0.875rem;
    min-height: 52px;
  }
  .mobile-contents summary::-webkit-details-marker {
    display: none;
  }
  .mobile-contents summary span:last-child {
    font-size: 1.5rem;
    line-height: 1;
  }
  .mobile-contents[open] summary span:last-child {
    transform: rotate(45deg);
  }
  .mobile-contents nav {
    padding: 0 22px 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 18px;
  }
  .mobile-contents nav a {
    min-height: 44px;
    padding: 10px 0;
    text-decoration: none;
    font-size: 0.9375rem;
    color: var(--blue);
  }
  .chapter {
    padding-bottom: 60px;
  }
  .chapter-header {
    gap: 15px;
    padding-bottom: 26px;
  }
  .chapter-header h2 {
    font-size: 2.625rem;
  }
  .chapter-header p {
    font-size: 1.0625rem;
    line-height: 1.75;
  }
  .chapter-kicker {
    font-size: 0.6875rem;
  }
  .intro {
    padding: 25px 0 28px;
    font-size: 1.0625rem;
  }
  .resource-header {
    grid-template-columns: 30px 1fr 18px;
  }
  .resource-header span:nth-child(3) {
    display: none;
  }
  .resource summary {
    grid-template-columns: 30px 1fr 18px;
    gap: 12px;
    padding: 24px 0;
  }
  .resource h3 {
    font-size: 1.5rem;
  }
  .resource .rank {
    font-size: 1.5rem;
  }
  .resource .author {
    font-size: 0.8125rem;
  }
  .resource .type {
    grid-column: 2;
    grid-row: 2;
    padding-top: 0;
    margin-top: -7px;
  }
  .resource .expand {
    grid-column: 3;
    grid-row: 1;
  }
  .resource-body {
    padding: 0 0 26px 42px;
    font-size: 1.0625rem;
    line-height: 1.75;
    gap: 16px;
  }
  .reading-note {
    font-size: 0.875rem;
    gap: 4px;
    flex-direction: column;
  }
  .framework {
    padding: 32px 0;
  }
  .framework-head {
    grid-template-columns: 27px 1fr;
    gap: 10px;
    margin-bottom: 22px;
  }
  .framework h3 {
    font-size: 2rem;
  }
  .framework-body {
    font-size: 1.0625rem;
    gap: 20px;
  }
  .framework blockquote {
    font-size: 1.75rem;
    padding-left: 20px;
  }
  .visual {
    padding: 22px 16px;
  }
  .capital-grid {
    gap: 7px;
  }
  .capital-node {
    font-size: 0.6875rem;
    gap: 10px;
  }
  .capital-bar {
    min-height: 70px;
    font-size: 1.25rem;
  }
  .capital-foundation {
    font-size: 0.875rem;
  }
  .buckets {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .bucket {
    padding: 24px;
  }
  .bucket h4 {
    font-size: 1.875rem;
  }
  .bucket .purpose {
    font-size: 1rem;
    min-height: 0;
    margin-bottom: 16px;
  }
  .bucket ul {
    font-size: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 14px;
  }
  .diagram-label {
    font-size: 0.75rem;
  }
  .comparison {
    gap: 12px;
  }
  .comparison > div {
    padding: 18px 15px;
  }
  .comparison p {
    font-size: 1.5rem;
  }
  .comparison h4 {
    font-size: 0.875rem;
  }
  .domain-grid {
    grid-template-columns: 1fr 1fr;
    font-size: 0.875rem;
  }
  .inventory {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .steps li {
    padding: 15px 0;
  }
  .trust-table {
    font-size: 1rem;
  }
  .trust-table th:first-child {
    width: 30%;
  }
  .reading-path {
    grid-template-columns: 1fr;
  }
  .reading-path h3 {
    font-size: 1.5rem;
  }
  .reading-path p {
    font-size: 0.875rem;
  }
  .reading-path li {
    padding: 24px 0;
  }
  .callout {
    padding: 25px;
    font-size: 1.625rem;
  }
  .doctrine {
    padding: 28px 24px;
    margin-top: 28px;
  }
  .doctrine h3 {
    font-size: 2rem;
  }
  .doctrine dl > div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }
  .doctrine dt {
    font-size: 1rem;
  }
  .doctrine dd {
    font-size: 1rem;
  }
  .closing h3 {
    font-size: 2.25rem;
  }
  .footer {
    flex-wrap: wrap;
    font-size: 0.875rem;
    padding: 26px 0;
  }
  .footer p {
    width: 100%;
  }
}
@media (max-width: 370px) {
  .wrap {
    padding: 0 18px;
  }
  h1 {
    font-size: 4rem;
  }
  .topbar nav {
    gap: 12px;
  }
  .chapter-header h2 {
    font-size: 2.375rem;
  }
  .capital-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 10px;
  }
  .capital-node {
    font-size: 0.75rem;
  }
  .capital-bar {
    min-height: 60px;
  }
  .comparison {
    grid-template-columns: 1fr;
  }
  .resource-body {
    padding-left: 0;
  }
  .bucket ul {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media print {
  .contents,
  .mobile-contents,
  .topbar nav,
  .hero-link,
  .progress,
  .footer a {
    display: none;
  }
  .wrap {
    max-width: none;
    padding: 0;
  }
  .reading-layout {
    display: block;
  }
  .hero {
    padding: 20px 0;
  }
  .hero h1 {
    font-size: 56px;
  }
  .chapter {
    padding-bottom: 30px;
  }
  .resource-body {
    display: block !important;
  }
  .resource::details-content {
    display: block !important;
    content-visibility: visible !important;
    height: auto !important;
  }
  .resource .expand {
    display: none;
  }
  .framework,
  .resource,
  .doctrine dl > div {
    break-inside: avoid;
  }
  .visual,
  .doctrine {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .chapter-header h2 {
    font-size: 36px;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.bucket-root {
  padding: 12px 0;
  color: var(--muted);
}
.comparison-chain {
  font-size: 0.9375rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.decision-root {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.4;
  color: var(--blue);
  margin-bottom: 18px;
}
.decision-branches {
  border-left: 1px solid var(--line);
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.decision-branches li {
  position: relative;
}
.decision-branches li:before {
  content: "";
  position: absolute;
  width: 12px;
  height: 1px;
  background: var(--line);
  left: -22px;
  top: 0.8em;
}
@media (min-width: 371px) and (max-width: 760px) {
  .capital-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 12px;
  }
  .capital-node {
    font-size: 0.875rem;
  }
  .capital-bar {
    min-height: 60px;
  }
  .capital-node:nth-child(4),
  .capital-node:nth-child(5) {
    grid-column: auto;
  }
}
@media (max-width: 760px) {
  .capital-node,
  .domain-grid,
  .reading-note,
  .reading-path p,
  .comparison h4,
  .comparison-chain,
  .capital-foundation {
    font-size: 1rem;
  }
  .capital-grid {
    grid-template-columns: 1fr 1fr;
  }
  .capital-node:last-child {
    grid-column: 1 / -1;
  }
  .capital-node:last-child .capital-bar {
    max-width: 50%;
  }
  .capital-node {
    font-size: 1rem;
  }
  .topbar nav a,
  .masthead {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .hero-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
  }
  .footer a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
  }
}
html {
  scroll-padding-top: 2rem;
}
section[id],
article[id],
details[id] {
  scroll-margin-top: 1rem;
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 4rem;
  }
}
/* Allow enlarged text to reflow without widening the reading surface. */
.hero > *,
.hero-copy,
.reading-layout > *,
.framework-head > *,
.resource summary > *,
.edition-strip > *,
.capital-grid > *,
.domain-grid > *,
.comparison > * {
  min-width: 0;
}
h1,
h2,
h3,
h4,
p,
li,
dd,
.capital-node,
.domain-grid {
  overflow-wrap: anywhere;
}
.chapter-kicker {
  flex-wrap: wrap;
}
.comparison {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}
.domain-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr));
}
@media (max-width: 760px) {
  h1 {
    font-size: clamp(3rem, 19.5vw, 4.75rem);
  }
  .topbar {
    height: auto;
    min-height: 72px;
    padding: 12px 0;
  }
  .topbar > * {
    min-width: 0;
  }
  .resource summary {
    grid-template-columns: 1.875rem minmax(0, 1fr) 1.25rem;
  }
  .capital-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
  }
  .capital-node:last-child .capital-bar {
    max-width: none;
  }
  .resource .expand {
    text-align: center;
  }
}
