/* Reference pages next to the calculator. Tokens and the table style come from
   calc.css; this only sets the reading measure and the section rhythm. */

.guide { max-width: 1040px; padding-top: 96px; }
.guide h1.display { font-size: clamp(30px, 5vw, 58px); max-width: 22ch; }
.guide > p, .guide .qa p { color: var(--ink-2); max-width: 72ch; }
.guide > p { margin-top: 18px; }
.guide h2 {
  font-family: 'Archivo', Impact, system-ui, sans-serif; font-weight: 900; text-transform: uppercase;
  letter-spacing: -.01em; font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin: 56px 0 16px;
}

.guide .facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.guide .facts > div { background: var(--bg); padding: 22px; }
.guide .facts .n {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .18em;
  color: var(--red); text-transform: uppercase;
}
.guide .facts h3 { font-size: 16px; font-weight: 600; margin: 8px 0; }
.guide .facts p { font-size: 14px; color: var(--ink-2); }

.guide .qa > div { border-left: 3px solid var(--red); padding: 4px 0 4px 20px; margin: 0 0 24px; }
.guide .qa h3 { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.guide .qa p { font-size: 15px; }

.guide .who-wrap { margin-top: 18px; }
.guide table.who { font-size: 13px; min-width: 900px; }
.guide table.who td:first-child { width: auto; white-space: nowrap; }
.guide table.who td.src a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.guide table.who .note { display: block; color: var(--ink-3); font-size: 12px; margin-top: 4px; }

.guide .sources { padding-left: 18px; }
.guide .sources li { font-size: 13px; color: var(--ink-2); margin: 6px 0; }
.guide .sources a, .guide .back a { color: var(--ink-2); }
.guide .sources a:hover, .guide .back a:hover { color: var(--red); }
.guide .back { margin-top: 40px; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13px; }
