/* The pages that are mostly words (About, Newsletter and the like), in the site's shared look.
   Loaded after base.css. */

.inner { max-width: 1240px; margin: 0 auto; }
.narrow { max-width: 820px; margin: 0 auto; }

/* Opening of a page */
.page-hero { box-sizing: border-box; max-width: calc(1240px + 2 * clamp(20px, 5vw, 72px)); margin: 0 auto; padding: clamp(52px, 8vw, 112px) clamp(20px, 5vw, 72px) clamp(36px, 5vw, 60px); }
.page-hero h1 { font-size: clamp(44px, 7.4vw, 104px); max-width: 15ch; }
.page-hero .lede { margin-top: 24px; font-size: clamp(19px, 1.7vw, 23px); color: var(--slate); max-width: 46ch; }
.page-hero .lede strong { color: var(--navy); }
/* buttons in a word page's opening (the Audit page) */
.page-hero .acts { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding: 0; list-style: none; }
.chip { display: inline-block; padding: 8px 15px; border-radius: 999px; border: 1.5px solid rgba(17, 21, 32, .22); font-size: 16px; font-weight: 600; color: var(--slate); }
.chip strong { color: var(--navy); font-weight: 800; }
/* a chip that is a link (Contact: where else to find us) is tall enough to tap */
a.chip { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--navy); }
a.chip:hover { border-color: var(--navy); }

/* A row of figures */
:where(.sys) section.figures { padding-top: 0; padding-bottom: 0; }
.figures dl { margin: 0 auto; max-width: 1240px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .figures dl { grid-template-columns: repeat(4, 1fr); } }
.figures dl > div { padding: 26px 0; }
.figures dt { font-size: clamp(44px, 6vw, 76px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.figures dd { margin: 8px 0 0; color: var(--slate); font-size: 17px; }

/* A heading with a line under it, then a grid of cards */
.sec-head p { margin-top: 16px; color: var(--slate); font-size: 20px; max-width: 46ch; }
.grid-3 { margin-top: 36px; display: grid; gap: 16px; }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card h3 { font-size: clamp(22px, 2vw, 27px); line-height: 1.15; letter-spacing: -0.02em; }
.card p { color: var(--slate); }
.band { background: var(--band); }
.band .card { background: var(--paper); }

/* One sentence, large */
.big-quote { margin: 0 auto; max-width: 1100px; }
.big-quote blockquote { margin: 0; }
.big-quote p { font-size: clamp(36px, 5.4vw, 76px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }

/* A plain statement in a box */
.statement { margin-top: 28px; padding: 26px 28px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px rgba(17, 21, 32, .06); font-size: 20px; font-weight: 600; line-height: 1.45; }
.fine { margin-top: 18px; color: var(--slate); font-size: 17px; max-width: 62ch; }

/* The closing call */
.closing { text-align: center; background: var(--card); }
.closing > div { max-width: 820px; margin: 0 auto; display: grid; justify-items: center; gap: 22px; }
.closing p { font-size: 20px; color: var(--slate); max-width: 52ch; }
.closing .acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; align-items: center; }

/* A page that is one sign-up box */
.page-hero.signup { max-width: calc(820px + 2 * clamp(20px, 5vw, 72px)); padding-bottom: clamp(64px, 9vw, 120px); }
.signup .field-row { margin-top: 30px; max-width: 520px; }
.signup .field { min-height: 56px; font-size: 18px; }
.signup .btn { box-shadow: none; }
.signup .field-note { margin-top: 10px; font-size: 16px; }
.signup .fine { margin-top: 22px; }
.signup .quiet { display: inline-block; margin-top: 18px; padding-left: 0; }
@media (max-width: 479px) { .signup .field { flex: 1 1 100%; } .signup .btn { width: 100%; justify-content: center; } }

/* Long reference pages (Methodology and the like) */
/* A small line above a heading that says which part this is */
.kicker { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: var(--mist); }
.card .kicker { margin-bottom: 8px; }
/* Links to the parts of the page */
.jump { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); max-width: 900px; }
.jump p { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--mist); }
.jump ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
@media (min-width: 760px) { .jump ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.jump a { display: flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 600; color: var(--navy); text-underline-offset: 4px; }
:where(.sys) section[id] { scroll-margin-top: var(--sp-top); }
/* Inside a card: a letter, a quieter last line, a list */
.letter { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 14px; background: var(--navy); color: var(--paper); font-size: 26px; font-weight: 800; }
.card > .letter { color: var(--paper); }
.card .eg { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 16px; color: var(--slate); }
.card .eg.top { margin-top: 8px; padding-top: 0; border-top: 0; font-weight: 600; }
.card ul { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--slate); }
.card-line { box-shadow: 0 0 0 2px var(--navy); }
.grid-2 { margin-top: 36px; display: grid; gap: 16px; }
@media (min-width: 800px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
/* A note in a box */
.note { margin-top: 24px; padding: 24px 26px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px rgba(17, 21, 32, .06); }
.band .note { background: var(--paper); }
.note h3 { font-size: 21px; letter-spacing: -0.01em; }
.note p { margin-top: 10px; color: var(--slate); max-width: 80ch; }
/* Rows that open on a tap: the title shows, the detail is one tap away */
.rows { margin-top: 32px; border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); }
.row summary { display: flex; align-items: center; gap: 16px; min-height: 48px; padding: 18px 0; cursor: pointer; list-style: none; }
.row summary::-webkit-details-marker { display: none; }
.row summary::after { content: "+"; flex: none; margin-left: auto; font-size: 30px; font-weight: 400; line-height: 1; color: var(--mist); transition: transform .2s; }
.row[open] summary::after { transform: rotate(45deg); }
.row summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; border-radius: 8px; }
.row .num { flex: none; min-width: 40px; font-size: 16px; font-weight: 800; color: var(--mist); font-variant-numeric: tabular-nums; }
.row h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.015em; line-height: 1.2; }
.row-body { padding: 0 0 24px 56px; color: var(--slate); max-width: 80ch; }
.row-body > * + * { margin-top: 12px; }
.row-body.wide { padding-left: 0; }
.nb { white-space: nowrap; }
.row-body ul { padding-left: 20px; display: grid; gap: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags .chip { padding: 6px 12px; font-size: 15px; }
@media (max-width: 599px) { .row-body { padding-left: 0; } .row summary { gap: 10px; } .row .num { min-width: 32px; } }
@media (prefers-reduced-motion: reduce) { .row summary::after { transition: none; } }
/* A plain table */
.table-wrap { margin-top: 32px; overflow-x: auto; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px rgba(17, 21, 32, .06); }
.band .table-wrap { background: var(--paper); }
table.plain { width: 100%; border-collapse: collapse; font-size: 17px; }
.plain th, .plain td { padding: 16px 20px; text-align: left; vertical-align: top; }
.plain th { font-size: 15px; font-weight: 700; color: var(--mist); border-bottom: 1px solid var(--line); }
.plain tr + tr td { border-top: 1px solid var(--line); }
.plain td:first-child { font-weight: 800; overflow-wrap: anywhere; }
.plain td + td { color: var(--slate); }
@media (max-width: 599px) { .plain th, .plain td { padding: 14px; } .plain td:first-child { width: 38%; font-size: 15px; } }
/* Links under the closing button */
.closing .more { font-size: 17px; }
.closing .more a { margin-left: 12px; color: var(--navy); font-weight: 600; text-underline-offset: 4px; }
