/* Text pages (glossary, privacy, terms, 404) in the project's design system (aq-ui.css): the shared hero band with
   the page title, then the text in a white card that rises over the wave. */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--aq-bg); color: var(--aq-ink); font: 16px/1.65 var(--aq-font); overflow-x: clip; }
a { color: var(--aq-brand-text); }
h1, h2 { line-height: 1.25; }
h2 { margin-top: var(--aq-s8); font-size: var(--aq-fs-xl); }

/* Hero band */
.page-band { padding: var(--aq-s10) 20px 72px; }
.page-band__inner { width: min(900px, 100%); margin: 0 auto; position: relative; z-index: 1; }
.page-band .aq-hero__lead { color: var(--aq-hero-ink-2); font-size: var(--aq-fs-md); }
.page-band .aq-hero__lead a { color: var(--aq-accent-text); }

/* Text card */
main { position: relative; z-index: 2; width: min(900px, calc(100% - 32px)); margin: -48px auto var(--aq-s8); padding: clamp(22px, 5vw, 44px); background: var(--aq-surface); border: 1px solid var(--aq-line); border-radius: var(--aq-r-lg); box-shadow: var(--aq-sh-2); }
main > :first-child { margin-top: 0; }

.draft-notice { padding: 14px 16px; border-radius: var(--aq-r-md); border: 1px solid color-mix(in srgb, var(--aq-warn) 45%, transparent); background: var(--aq-warn-soft); color: color-mix(in srgb, var(--aq-warn) 70%, var(--aq-ink)); font-weight: 700; }
.updated { color: var(--aq-muted); font-size: var(--aq-fs-sm); }
.site-footer { width: min(900px, calc(100% - 32px)); margin: 0 auto var(--aq-s10); color: var(--aq-muted); font-size: var(--aq-fs-sm); }
.site-footer a { color: var(--aq-ink-2); }

table.providers { width: 100%; border-collapse: collapse; margin: var(--aq-s3) 0; font-size: var(--aq-fs-sm); }
table.providers th, table.providers td { border-bottom: 1px solid var(--aq-line); padding: 9px 12px; text-align: start; vertical-align: top; }
table.providers th { background: var(--aq-surface-2); color: var(--aq-muted); font-size: var(--aq-fs-xs); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 640px) { table.providers { display: block; overflow-x: auto; } }

/* Shown inside the application (an iframe with ?embed=1): no site header or footer. */
html.embed .site-header, html.embed .site-footer { display: none; }
html.embed .page-band { padding-top: var(--aq-s6); }

/* Touch: the footer link easy to tap (audit 2026-11-17). */
@media (pointer:coarse) { .site-footer a { display:inline-block; padding-block:14px; } }
