*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: var(--step-0); line-height: 1.65; color: var(--night); background: var(--bg); }
body.lang-ja { line-height: 1.8; letter-spacing: 0.02em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--night); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 100; background: var(--night); color: #fff; padding: .5rem 1rem; border-radius: 8px; }
.skip-link:focus { top: .75rem; color: #fff; }
main:focus { outline: none; }
