/* ============================================================
   BASE — light resets + brand defaults.
   Kept minimal: sets the cinematic dark ground, body type,
   link color, selection, and focus-visible. Components own
   the rest via inline styles / their own CSS.
   ============================================================ */
*,*::before,*::after{box-sizing:border-box}

body{
  margin:0;
  background:var(--surface-page);
  color:var(--text-primary);
  font:var(--text-body-default);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:var(--fw-bold);
  line-height:var(--lh-display);
  letter-spacing:var(--ls-display);
  margin:0 0 0.4em;
}

p{margin:0 0 1em;text-wrap:pretty}

a{color:var(--link);text-decoration:none;text-underline-offset:3px;transition:color var(--dur-fast) var(--ease-standard)}
a:hover{color:var(--link-hover);text-decoration:underline}

::selection{background:var(--accent);color:var(--text-on-accent)}

:where(a,button,input,select,textarea):focus-visible{
  outline:var(--focus-outline);
  outline-offset:var(--focus-offset);
}

img{max-width:100%;display:block}
