
/* ---------- long-form legal / prose pages ---------- */
.prose-head { padding: clamp(56px, 7vw, 96px) 0 0; }
.prose-head .display-1 { font-size: clamp(40px, 5.2vw, 68px); margin: 18px 0 16px; }
.prose-head .lede { max-width: 640px; }
.prose-wrap { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 64px; align-items: start; padding: 64px 0 var(--section); }
.toc { position: sticky; top: 96px; border-left: 2px solid var(--line); padding-left: 20px; }
.toc h2 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc a { display: block; padding: 5px 0; font-size: 14px; line-height: 1.4; color: var(--text-3); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.prose { max-width: 720px; font-size: 17px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; margin: 48px 0 14px; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; font-weight: 600; margin: 28px 0 8px; }
.prose p { margin: 0 0 16px; color: var(--text-2); line-height: 1.65; }
.prose ul { margin: 0 0 16px; padding-left: 0; }
.prose li { position: relative; padding-left: 22px; margin-bottom: 9px; color: var(--text-2); line-height: 1.6; }
.prose li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 99px; background: var(--accent); }
.prose strong { font-weight: 600; color: var(--text); }
.prose .callout { padding: 20px 24px; background: var(--sunken); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; margin: 0 0 20px; }
.prose .callout p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 20px; }
/* A wide table scrolls inside its own box rather than widening the page. */
.table-scroll { overflow-x: auto; margin: 0 0 20px; }
.table-scroll table { min-width: 460px; margin: 0; }
.table-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.prose th, .prose td { text-align: left; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.stamp { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
/* Marks the few details you still need to fill in. Search the repo for "class=\"ph\"". */
.ph { background: color-mix(in srgb, var(--signal) 16%, transparent); border-radius: 3px; padding: 0 4px; }
@media (max-width: 900px) {
  .prose-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 40px; }
  .toc { position: static; }
}
/* ---------- simple centred message pages ---------- */
.msg { min-height: 62vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--section) 0; }
.msg .display-2 { margin: 20px 0 16px; }
.msg .lede { max-width: 540px; margin: 0 auto 32px; }
.msg .btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.msg .badge { width: 64px; height: 64px; border-radius: 99px; display: grid; place-items: center; background: var(--accent-quiet); color: var(--accent); }
.msg .badge .i { width: 30px; height: 30px; stroke-width: 2; }
