@charset "UTF-8";

:root {
  --ink: #202c38;
  --muted: #394753;
  --blue: #243d85;
  --blue-hover: #1d326f;
  --ground: #bfb9aa;
  --slate: #afbfca;
  --sage: #b7c1b5;
  --clay: #c8b5a6;
  --sheet: #d0d2c8;
  --field: #e0e2d8;
  --rule: #75818a;
  --serif: Charter, "Bitstream Charter", "Sitka Text", Georgia, serif;
  --radius: 6px;
  font-family: var(--serif);
  color: var(--ink);
  background: var(--ground);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { font-size: 18px; scroll-padding-top: 1.5rem; }
body { margin: 0; min-width: 0; font-size: 1rem; line-height: 1.6; }
main, article, section, aside, div, nav, header, footer { min-width: 0; }
h1, h2, h3, h4, h5, h6, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 600; text-wrap: balance; }
h1 { max-width: 18ch; font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.1; }
h2 { max-width: 30ch; font-size: clamp(1.6rem, 2.7vw, 2.15rem); line-height: 1.22; }
h3 { font-size: 1.55rem; line-height: 1.28; }
p, li, dd { text-wrap: pretty; }
p { max-width: 67ch; }
a { color: var(--blue); text-decoration-thickness: .07em; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .12em; }
button, input, textarea, select { font: inherit; }
input, textarea { color: var(--ink); }
textarea { display: block; resize: vertical; }
svg, img { display: block; max-width: 100%; height: auto; border-radius: var(--radius); }
::selection { background: var(--blue); color: #f5f5ee; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

/* One book face, with flat slate, sage and clay blocks throughout the guide. */
.u-shell { width: min(100% - 6rem, 72rem); margin-inline: auto; }
.u-stack-sm > * + * { margin-top: .45rem; }
.u-stack-md > * + * { margin-top: 1rem; }
.u-stack-lg > * + * { margin-top: 1.65rem; }
.u-stack-xl > * + * { margin-top: 2rem; }
.u-main-space { padding-block: 3.5rem 5rem; }
.u-pad-lg { padding: 2rem; }
.u-paper { background: var(--sheet); }
.u-dark { background: var(--slate); color: var(--ink); }
.u-muted { color: var(--muted); }
.u-mint { color: var(--blue); }
.u-small { font-size: 1rem; line-height: 1.55; }
.u-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 3rem; align-items: center; padding-block: 3.8rem 4.2rem; }
.u-reading-grid { display: grid; grid-template-columns: minmax(0, 39rem) minmax(0, 16rem); justify-content: center; gap: 3rem; align-items: start; }
.u-topic-grid { display: grid; grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 1.1fr); gap: 2rem; align-items: start; }
.u-next-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; }
.u-footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 5rem; padding-block: 3rem; }
.u-block-gap { margin-top: 4rem; }
.u-button-mint { background: var(--blue); color: #f5f5ee; }

.c-skip { position: fixed; top: -10rem; left: 1rem; z-index: 100; display: flex; align-items: center; min-height: 48px; padding: .7rem 1rem; border-radius: var(--radius); background: var(--field); color: var(--blue); }
.c-skip:focus { top: 1rem; }
.c-progress { position: fixed; inset: 0 0 auto; width: 100%; height: 5px; margin: 0; border: 0; border-radius: 0; appearance: none; z-index: 80; background: transparent; color: var(--blue); }
.c-progress::-webkit-progress-bar { background: transparent; }
.c-progress::-webkit-progress-value { background: var(--blue); }
.c-progress::-moz-progress-bar { background: var(--blue); }

.c-header { display: flex; gap: 2rem; justify-content: space-between; align-items: center; min-height: 6.5rem; padding-block: 1.1rem; }
.c-brand { display: inline-flex; align-items: center; gap: .8rem; min-height: 48px; color: var(--ink); text-decoration: none; }
.c-brand-mark { display: grid; place-items: center; flex: 0 0 auto; width: 2.8rem; height: 2.8rem; border-radius: var(--radius); font-size: 2.4rem; line-height: 1; background: var(--blue); color: #f5f5ee; }
.c-brand-name { font-size: 1.12rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.c-brand-sub { display: block; font-size: 1rem; font-weight: 400; color: var(--muted); margin-top: .2rem; }
.c-cluster-nav { display: flex; gap: .5rem; }
.c-navgroup { position: relative; }
.c-navgroup summary { display: flex; align-items: center; justify-content: space-between; gap: .7rem; min-height: 48px; padding: .6rem .75rem; list-style: none; cursor: pointer; border-radius: var(--radius); color: var(--blue); text-decoration: underline; text-underline-offset: .2em; }
.c-navgroup summary::-webkit-details-marker { display: none; }
.c-navgroup[open] summary, .c-navgroup summary:hover { background: var(--sheet); }
.c-chevron { font-size: 1.15rem; line-height: 1; }
.c-navpanel { position: absolute; top: calc(100% + .4rem); left: 0; width: 16rem; max-width: calc(100vw - 2rem); padding: .5rem; border: 2px solid var(--blue); border-radius: var(--radius); background: var(--sheet); z-index: 50; }
.c-navgroup:last-child .c-navpanel { right: 0; left: auto; }
.c-navlink { display: flex; align-items: center; min-height: 48px; padding: .55rem .8rem; border-radius: var(--radius); font-size: 1rem; }
.c-navlink:hover { background: var(--slate); }
.c-navlink[aria-current="page"] { background: var(--blue); color: #f5f5ee; }

.c-kicker { font-size: 1.06rem; line-height: 1.45; font-weight: 600; letter-spacing: normal; text-transform: none; }
.c-lead { max-width: 50ch; font-size: 1.28rem; line-height: 1.45; }
.c-copy { font-size: 1rem; line-height: 1.65; }
.c-copy.c-lead { font-size: 1.28rem; line-height: 1.45; }
.c-copy.u-small { font-size: 1rem; line-height: 1.55; }
.c-intro { width: min(100%, 58rem); margin-inline: auto; margin-bottom: 3rem; padding: 2.5rem 3rem 3rem; border-radius: var(--radius); background: var(--slate); }
.c-intro h1 { max-width: 20ch; }
.c-intro .c-kicker { color: var(--blue); }
.c-date { color: var(--muted); }
.c-h1-turn { display: block; margin-top: .15em; }
.c-welcome { background: var(--slate); }
.c-welcome h1 { font-size: clamp(2.5rem, 5.15vw, 4.2rem); max-width: 17ch; }
.c-welcome .c-copy { max-width: 50ch; }
.c-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.5rem; }
.c-button { display: inline-flex; gap: 1rem; align-items: center; justify-content: space-between; min-height: 52px; max-width: 100%; padding: .8rem 1.2rem; border: 2px solid transparent; border-radius: var(--radius); text-decoration: none; line-height: 1.3; font-size: 1rem; }
.c-button:hover { background: var(--blue-hover); color: #f5f5ee; }
.c-link { display: flex; gap: 1rem; align-items: center; justify-content: space-between; width: fit-content; max-width: 100%; min-height: 48px; padding-block: .55rem; line-height: 1.4; font-size: 1rem; }
.c-link span { flex: 0 0 auto; text-decoration: none; }
.c-link:hover { color: var(--blue-hover); }

/* Keep the three-step explanation; remove the decorative orbital paths. */
.c-orbit { padding: 1rem 1rem 1.6rem; border-radius: var(--radius); background: var(--sheet); text-align: center; }
.c-orbit-art { width: 100%; overflow: visible; }
.c-orbit-path, .c-orbit-dot { display: none; }
.c-orbit-connector { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; }
.c-orbit-disc { fill: var(--slate); }
.c-orbit-diamond { fill: var(--clay); stroke: var(--clay); stroke-width: 10; stroke-linejoin: round; }
.c-orbit-square { fill: var(--sage); stroke: var(--sage); stroke-width: 10; stroke-linejoin: round; }
.c-orbit-label { fill: var(--ink); font-family: var(--serif); font-size: 20px; }
.c-orbit figcaption { color: var(--ink); }

.c-section .c-link { margin-top: .6rem; }
.c-reading-body > .c-section { padding: 2rem; border-radius: var(--radius); background: var(--sage); }
.c-reading-body > .c-section:nth-child(3n + 2) { background: var(--clay); }
.c-reading-body > .c-section:nth-child(3n) { background: var(--slate); }
.c-margin { padding: 1.7rem; border-radius: var(--radius); background: var(--slate); }
.c-margin > .c-kicker { color: var(--blue); }
.c-definition { padding-block: .6rem; }
.c-definition dt { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.c-definition dd { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.c-route { margin-top: 2.5rem; padding: 1.2rem; background: var(--sage); border-radius: var(--radius); }
.c-route-flow { display: flex; align-items: center; flex-direction: column; gap: .25rem; font-size: 1rem; text-align: center; }
.c-route-flow span:not([aria-hidden]) { width: 100%; min-height: 44px; display: grid; place-items: center; padding: .5rem; border-radius: var(--radius); background: var(--sheet); }
.c-route-flow span[aria-hidden] { color: var(--blue); font-size: 1.2rem; }
.c-route figcaption { font-size: 1rem; line-height: 1.55; }

.c-worksheet { border: 0; border-radius: var(--radius); background: var(--sheet); }
.c-sheet-top { display: flex; align-items: center; justify-content: space-between; color: var(--blue); }
.c-sheet-mark { font-size: 1.7rem; line-height: 1; }
.c-field { display: block; font-size: 1rem; line-height: 1.5; }
.c-field > span { display: block; }
.c-write { width: 100%; min-height: 52px; border: 2px solid var(--rule); border-radius: var(--radius); background: var(--field); padding: .6rem .75rem; font-size: 1rem; line-height: 1.6; }
.c-write:focus { background: #e8eae2; border-color: var(--blue); }
.c-check { display: flex; align-items: flex-start; gap: .8rem; min-height: 48px; padding: .65rem 0; font-size: 1rem; line-height: 1.5; cursor: pointer; }
.c-check input { width: 44px; height: 44px; margin: 0; flex: 0 0 44px; accent-color: var(--blue); cursor: pointer; }
.c-price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.c-topic-band { padding: 2rem; border-radius: var(--radius); background: var(--slate); }
.c-topic-band:nth-of-type(3n + 2) { background: var(--sage); }
.c-topic-band:nth-of-type(3n) { background: var(--clay); }
.c-topic-sign { display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: var(--radius); background: var(--blue); color: #f5f5ee; font-size: 3rem; line-height: 1; }
.c-topic-links .c-link { display: flex; width: 100%; margin-top: 0; padding: .7rem .1rem; }
.c-last-question { border: 0; border-radius: var(--radius); background: var(--sage); }
.c-last-question h2 { font-size: clamp(1.7rem, 3vw, 2.8rem); max-width: 28ch; }
.c-urgent { background: var(--clay); border: 0; border-radius: var(--radius); }
.c-urgent .c-kicker { color: var(--blue); }
.c-source-list { padding: 0; margin: 0; list-style: none; }
.c-source { padding-bottom: 1rem; }
.c-source + .c-source { border-top: 2px solid var(--rule); padding-top: 1rem; }
.c-source-link { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding-block: .5rem; gap: 1.2rem; font-size: 1.06rem; line-height: 1.45; }
.c-source-link span { flex: 0 0 auto; }
.c-source-link:hover { color: var(--blue-hover); }
.c-next { width: min(100%, 58rem); margin: 3rem auto 0; padding: 2rem; border-radius: var(--radius); background: var(--clay); }
.c-next .c-kicker { color: var(--blue); }
.c-error-links { min-height: 35vh; max-width: 40rem; margin: 0 auto; padding: 2rem; border-radius: var(--radius); background: var(--sage); }
.c-footer { background: #adb9b3; }
.c-footer-sign { color: var(--ink); font-size: 1.65rem; font-weight: 600; line-height: 1.3; }
.c-footer-note { max-width: 48ch; font-size: 1rem; line-height: 1.6; }
.c-footer-link { display: flex; align-items: center; min-height: 48px; padding-block: .55rem; font-size: 1rem; line-height: 1.45; }
.c-footer-link:hover { color: var(--blue-hover); }

@media (max-width: 1050px) {
  .u-shell { width: min(100% - 3rem, 72rem); }
  .u-reading-grid { grid-template-columns: minmax(0, 1fr) 14rem; gap: 2rem; }
  .c-brand-name { font-size: 1rem; }
  .c-header { gap: 1rem; }
  .c-cluster-nav { gap: 0; }
  .c-navgroup summary { padding-inline: .55rem; gap: .45rem; }
  .u-hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 2rem; }
  .u-topic-grid { grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.4rem; }
  .c-topic-sign { width: 4rem; height: 4rem; }
}

@media (max-width: 760px) {
  .u-shell { width: calc(100% - 2rem); }
  .u-stack-xl > * + * { margin-top: 1.5rem; }
  .u-main-space { padding-block: 2rem 3.5rem; }
  .u-pad-lg { padding: 1.3rem; }
  .u-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: 2.5rem; }
  .u-reading-grid { display: flex; flex-direction: column; gap: 1.5rem; }
  .c-reading-body, .c-margin { width: 100%; }
  .u-topic-grid { grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; }
  .u-next-grid, .u-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .u-footer-grid { padding-block: 2.4rem; }
  .u-block-gap { margin-top: 3rem; }
  .c-header { display: block; padding-block: .8rem .3rem; }
  .c-brand { min-height: 52px; gap: .7rem; }
  .c-brand-name { font-size: 1rem; }
  .c-brand-mark { width: 2.4rem; height: 2.4rem; font-size: 2.1rem; }
  .c-cluster-nav { position: relative; justify-content: space-between; gap: .1rem; margin-top: .4rem; }
  .c-navgroup { position: static; }
  .c-navgroup summary { min-height: 48px; padding: .55rem .3rem; font-size: 1rem; gap: .35rem; }
  .c-navpanel, .c-navgroup:last-child .c-navpanel { left: 0; right: 0; top: 100%; width: 100%; max-width: 100%; }
  .c-intro { margin-bottom: 1.5rem; padding: 1.5rem 1.3rem 2rem; }
  .c-intro h1 { font-size: clamp(2.2rem, 9.6vw, 3.6rem); max-width: 17ch; }
  .c-welcome h1 { font-size: clamp(2.45rem, 10.5vw, 4.2rem); }
  .c-copy.c-lead { font-size: 1.2rem; }
  .c-actions { align-items: stretch; flex-direction: column; gap: .8rem; }
  .c-actions .c-link { padding-inline: 0; }
  .c-orbit { width: min(100%, 22rem); margin-inline: auto; }
  .c-margin { padding: 1.3rem; }
  .c-definitions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
  .c-definitions.u-stack-lg > * + * { margin-top: 0; }
  .c-reading-body > .c-section { padding: 1.3rem; }
  .c-route { max-width: 22rem; margin-inline: auto; }
  .c-price-grid { grid-template-columns: minmax(0, 1fr); }
  .c-topic-band { padding: 1.3rem; }
  .c-topic-sign { width: 3rem; height: 3rem; font-size: 2rem; }
  .c-topic-links { grid-column: 1 / -1; }
  .c-next { margin-top: 2rem; padding: 1.3rem; }
  .c-error-links { padding: 1.3rem; }
}

@media (max-width: 420px) {
  .c-definitions { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  @page { margin: 18mm; }
  html { font-size: 12pt; }
  body { color: #000; background: #fff; }
  .c-header, .c-footer, .c-progress, .c-actions, .c-next, .c-skip, .c-orbit { display: none !important; }
  .u-shell { width: 100%; }
  .u-main-space { padding-block: 0; }
  .u-hero-grid, .u-reading-grid { display: block; padding: 0; }
  .u-dark, .c-urgent, .u-paper, .c-intro, .c-margin, .c-route, .c-reading-body > .c-section, .c-topic-band, .c-last-question, .c-error-links { color: #000; background: #fff; }
  .c-h1-turn { color: #000; }
  .c-worksheet { border: 1px solid #555; break-inside: avoid; padding: 1rem; }
  .c-write { min-height: 38pt; background: #fff; border-color: #555; }
  .c-margin { margin-block: 1.5rem; }
  h1 { font-size: 27pt !important; max-width: 25ch; }
  h2 { font-size: 18pt; }
  a { color: #000; text-decoration: underline; }
  .c-kicker, .u-muted, .c-definition dd { color: #222; }
  .c-intro { margin-bottom: 1.5rem; padding-bottom: 1.5rem; }
}
