*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; background: var(--oe-night); color: var(--oe-text); font-family: var(--oe-font); font-size: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-size: var(--oe-type-body); line-height: 1.6; overflow-x: hidden; }
/* Static film grain: depth without motion */
body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
code, pre, kbd { font-family: var(--oe-mono); }
::selection { background: rgba(110, 160, 255, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--oe-beam); outline-offset: 4px; border-radius: 4px; }

.skip-link { position: fixed; left: 20px; top: -100px; z-index: 200; padding: 12px 20px; border-radius: var(--oe-r-control);
  background: var(--oe-paper); color: var(--oe-ink); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--oe-max) + 2 * var(--oe-gutter)); margin: 0 auto; padding: 0 var(--oe-gutter); }

h1, h2, h3 { margin: 0; color: var(--oe-text-strong); font-weight: 600; }
h1 { font-size: var(--oe-type-display); line-height: .94; letter-spacing: var(--oe-track-display); }
h2 { font-size: var(--oe-type-h2); line-height: .98; letter-spacing: var(--oe-track-heading); max-width: 20ch; text-wrap: balance; }
h3 { font-size: var(--oe-type-h3); line-height: 1.15; letter-spacing: -.015em; }
p { margin: 0; }
.lead { font-size: var(--oe-type-lead); line-height: 1.55; color: var(--oe-text); max-width: 34em; }
.fine { font-size: var(--oe-type-small); color: var(--oe-text-muted); }
