*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: var(--font-main); font-size: 15px; line-height: 1.7; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
body.panel-open, body.nav-open { overflow: hidden; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 4px; }
::selection { color: #fff; background: rgba(var(--accent-rgb), .55); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10000; padding: 10px 15px; border-radius: 10px; background: var(--accent); color: #090910; font-weight: 800; text-decoration: none; transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.section-pad { padding-block: 132px; }
.mono-text { font-family: var(--font-mono); font-size: 10px; letter-spacing: .13em; }
.text-muted { color: var(--text-muted); }
.reveal { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
body.js-ready .reveal { opacity: 0; transform: translateY(22px); }
body.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, body.js-ready .reveal { opacity: 1; transform: none; }
}
