/* base.css - P1.5 I05. Ported (rule split) from the shared design-system block of brand/signal-architecture/comp-design-system.html. Reset, typography, focus, skip-link. Loads after tokens.css. */

* { box-sizing:border-box }
html { scroll-behavior:smooth;scroll-padding-top:7rem }
/* Contain full-bleed bands on the body, never on the root scrolling element. */
body { overflow-x:clip }
body { margin:0;background:var(--surface);color:var(--text);font-family:var(--font);font-size:var(--text-md);line-height:1.6;-webkit-font-smoothing:antialiased }
a { color:inherit;text-decoration:none }
button,input,select,textarea { font:inherit }
button,a,summary,input,select,textarea { -webkit-tap-highlight-color:transparent }
::selection { background:var(--blue);color:white }
h1,h2,h3,p,figure { margin:0 }
h1,h2,h3 { line-height:1.08;font-weight:600;letter-spacing:-.045em }
h1 { font-size:var(--text-4xl) }
h2 { font-size:var(--h2-size) }
h3 { font-size:var(--text-xl);letter-spacing:-.025em }
p { color:var(--muted) }
svg { display:block }
.skip-link { position:fixed;top:1rem;left:1rem;transform:translateY(-200%);z-index:100;background:var(--paper);color:var(--ink);padding:1rem }
.skip-link:focus { transform:none }
/* Token step-down: headings move one --text-* step at the hero-collapse breakpoint.
   h1 (page hero): 4xl -> 3xl; h2 (section): 3xl -> 2xl. h1 holds 3xl through phone so it
   stays one step above the 2xl section h2 (hierarchy preserved on mobile). */
@media(max-width:900px) {
  h1 { font-size:var(--text-3xl) }
}
@media(max-width:600px) {
  :root { --nav-height:4.5rem }
}

/* Brand trademark mark (docs/BRAND-TM.md): superscript TM that must not disturb line-height */
.tm { font-size:.5em; line-height:0; vertical-align:super; font-weight:inherit; letter-spacing:0; margin-left:.05em }
