/* Typography and interaction polish, layered on the compiled styles.css (which has no source in this
   repo). Page and layout <style> blocks load after this file, so they still win where they set the same
   property. */

/* Never fake a bold or italic Inter doesn't ship; hang opening quotes outside the text edge (Safari). */
html { font-synthesis: none; hanging-punctuation: first allow-end; }
::selection { background: #ffb45b; color: #111019; }

/* Display type: tight leading, and tracking that tightens with size instead of one value for every size.
   The compiled h1 has no line-height (inherits 1.5) and h2 sits at 1 with -.055em, which collides "y"
   descenders with the next line and pinches letters at phone sizes. */
h1 { line-height: 1.1; }
h2 { line-height: 1.3; letter-spacing: -.035em; }
.notes-heading h2, .release-grid h2 { line-height: 1.08; }
.download h2, .policy h2 { letter-spacing: -.011em; line-height: 1.3; margin-bottom: .35em; }

/* Reading text: 1.625 leading (a whole 26px line at 16px, so lines never round unevenly) and no stranded last words in short blocks. */
p { line-height: 1.625; }
dd, summary, figcaption, li { text-wrap: pretty; }

/* Dates, counters, and list numbers keep one digit width. */
time, .page-date, .policy-date, .notes-list dt span { font-variant-numeric: tabular-nums; }

/* Underlines take their weight from the font and sit clear of descenders. */
a { text-decoration-thickness: from-font; text-decoration-skip-ink: auto; }
a:hover { text-underline-offset: .22em; }

/* Store badges answer a press. */
.store-badge { transition: transform 160ms cubic-bezier(.23, 1, .32, 1); }
.store-badge:active { transform: scale(.97); }

/* Labels that should never break mid-phrase. */
.header-inner nav a, .footer-link { white-space: nowrap; }
