/* Static, self-hosted assets only. No scripts or external fonts. */
:root {
  color-scheme: dark;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #eeeee6;
  background: #191b19;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  --muted: #a6aaa0;
  --line: #3b3e36;
  --accent: #d7e8af;
}
* { box-sizing: border-box; }
body { margin: 0; }
::selection { background: var(--accent); color: #191b19; }
.page { width: min(100%, 1800px); min-height: 100svh; margin-inline: auto; padding: 0 clamp(24px, 4.3vw, 80px); display: flex; flex-direction: column; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 112px; border-bottom: 1px solid var(--line); }
.domain { font-size: 14px; letter-spacing: .025em; }
.hero { flex: 1; min-height: 240px; }
.corner-logo { width: 200px; margin: 0; line-height: 1; }
.corner-logo img { display: block; width: 100%; height: auto; }
.footer { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.footer-mark { display: block; width: 44px; height: auto; flex: 0 0 auto; }
.brand { display: inline-flex; padding: 12px 0; }
.brand img { width: 200px; height: auto; display: block; }
.error-main { flex: 1; padding-block: 100px; }
.eyebrow { color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.error-main h1 { font-size: clamp(48px, 7vw, 100px); font-weight: 500; line-height: 1.05; letter-spacing: -.055em; margin: 24px 0 32px; }
.period, .error-main a { color: var(--accent); }
.error-main a { text-underline-offset: 5px; line-height: 2; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; border-radius: 2px; }
@media (max-width: 900px) {
  .masthead { min-height: 96px; }
}
@media (max-width: 620px) {
  .page { padding-inline: 24px; }
  .masthead { min-height: 80px; }
  .domain { font-size: 12px; }
  .corner-logo { width: 180px; }
  .footer { min-height: 80px; font-size: 11px; gap: 16px; }
}
@media (max-width: 359px) { .page { padding-inline: 20px; } }
@media print {
  :root { color-scheme: light; color: #000; background: #fff; }
  .page { min-height: auto; }
  .corner-logo img, .brand img, .footer-mark { filter: invert(1); }
}
