/* ========================================================================== supram · base A small reset and sensible element defaults. No classes live here. ========================================================================== */ *, *::before, *::after { box-sizing: border-box; } * { margin: 0; } html { font-family: var(--font-sans); font-size: 100%; line-height: var(--leading-normal); font-optical-sizing: auto; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; hanging-punctuation: first last; } body { min-block-size: 100dvh; background: var(--bg); color: var(--fg); font-size: var(--text-base); font-weight: var(--weight-regular); } img, picture, video, canvas, svg { display: block; max-inline-size: 100%; } input, button, textarea, select { font: inherit; color: inherit; } p, h1, h2, h3, h4, h5, h6, li, dt, dd, td, th, figcaption, blockquote { overflow-wrap: break-word; } h1, h2, h3, h4, h5, h6 { text-wrap: balance; } p, li, figcaption { text-wrap: pretty; } /* ── Links & focus ─────────────────────────────────────────────────────── */ a { color: var(--link); text-decoration-thickness: 0.08em; text-underline-offset: 0.15em; transition: color var(--duration) var(--ease); } a:hover { color: var(--link-hover); } :focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; } ::selection, mark { background: var(--selection); color: var(--on-selection); } /* ── Rules: the lead bar ───────────────────────────────────────────────── */ hr { border: 0; block-size: var(--rule-w-bold); background: var(--rule); margin-block: var(--space-6); } /* ── Code ──────────────────────────────────────────────────────────────── */ code, kbd, samp, pre { font-family: var(--font-mono); font-size: 0.92em; } pre { overflow-x: auto; line-height: var(--leading-snug); } pre code { font-size: inherit; } /* ── Tables ────────────────────────────────────────────────────────────── */ table { border-collapse: collapse; inline-size: 100%; font-variant-numeric: tabular-nums; } th { text-align: start; } /* ── Motion ────────────────────────────────────────────────────────────── Nothing here: the durations are tokens (--duration-fast, --duration, --duration-slow), and tokens.css zeroes them under reduced motion. */