:root {
  color-scheme: dark;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #f4f3dc;
  background: #080b0b;
  --gutter: clamp(24px, 6.25vw, 110px);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; isolation: isolate; overflow-x: hidden; }
.atmosphere, #scene, #matrix, .grain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.atmosphere { z-index: -5; overflow: hidden; background: radial-gradient(ellipse at 70% 42%, #301610 0, #111714 38%, #080b0b 75%); }
.fallback-strings { position: absolute; inset: 0; width: 100%; height: 100%; }
.webgl-ready .fallback-strings { display: none; }
#scene { z-index: -4; opacity: 0; filter: drop-shadow(0 0 4px #ff592338); }
.webgl-ready #scene { opacity: 1; }
#matrix { z-index: -3; opacity: .55; mask-image: linear-gradient(90deg, #000, transparent 55%); }
.grain { z-index: 2; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.93' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.edge { position: absolute; left: var(--gutter); right: var(--gutter); height: 1px; display: flex; justify-content: space-between; background: #c4d0ba15; }
.edge-top { top: 34px; }
.edge-bottom { bottom: 34px; }
.edge i { width: 5px; height: 5px; background: #929e8f; margin-top: -2px; }
.brand-symbol { position: absolute; top: 62px; left: var(--gutter); width: 29px; color: #ecedda; }
.brand-symbol svg { display: block; width: 100%; }
main { position: absolute; left: var(--gutter); right: var(--gutter); top: 62%; transform: translateY(-10%); }
.registration { display: flex; align-items: center; gap: 3px; height: 13px; margin-bottom: 28px; opacity: .75; }
.registration span { width: 30px; height: 1px; background: #ff6035; margin-right: 13px; }
.registration i { height: 7px; width: 1px; background: #c3cabb; }
.registration i:nth-child(3n) { height: 12px; width: 2px; }
h1 { margin: 0; line-height: 1; width: min(76vw, 1100px); }
.wordmark { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 2px 20px #080b0b50); }
.domain-dot { fill: #ff6035; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
footer { position: absolute; left: var(--gutter); bottom: 66px; font: 11px/1.5 "Consolas", monospace; letter-spacing: .08em; color: #a3aaa3; }
.motion-toggle { position: absolute; right: calc(var(--gutter) - 12px); bottom: 50px; width: 48px; height: 48px; border: 0; background: transparent; color: #b6bfb1; cursor: pointer; display: grid; place-items: center; }
.motion-toggle[hidden] { display: none; }
.motion-toggle span { width: 8px; height: 10px; border-inline: 2px solid currentColor; }
.motion-toggle[aria-pressed="true"] span { width: 0; height: 0; border: 5px solid transparent; border-right: 0; border-left: 8px solid currentColor; }
.motion-toggle:hover { color: #ff6035; }
.motion-toggle:focus-visible { outline: 1px solid #ff6035; outline-offset: -6px; }
.version-switch { position: absolute; top: 52px; right: calc(var(--gutter) - 6px); display: flex; align-items: center; gap: 10px; padding: 6px; font: 12px/1 "Consolas", monospace; letter-spacing: .08em; color: #8f978f; text-decoration: none; }
.vs-label { transition: color .3s cubic-bezier(.16, 1, .3, 1); }
.version-switch[data-version="1"] .vs-label:first-child, .version-switch[data-version="2"] .vs-label:last-child { color: #f4f3dc; }
.vs-track { position: relative; width: 40px; height: 22px; border-radius: 11px; background: #171d1c; box-shadow: inset 0 0 0 1px #3c4541; transition: background .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s cubic-bezier(.16, 1, .3, 1); }
.vs-knob { position: absolute; top: 4px; left: 4px; width: 14px; height: 14px; border-radius: 50%; background: #c9cfc3; box-shadow: 0 1px 3px #0000008c; transition: transform .35s cubic-bezier(.16, 1, .3, 1), background .35s cubic-bezier(.16, 1, .3, 1); }
.version-switch[data-version="2"] .vs-track { background: #ff60352b; box-shadow: inset 0 0 0 1px #ff6035; }
.version-switch[data-version="2"] .vs-knob { transform: translateX(18px); background: #f4f3dc; }
.version-switch:hover .vs-track { box-shadow: inset 0 0 0 1px #8f978f; }
.version-switch[data-version="2"]:hover .vs-track { box-shadow: inset 0 0 0 1px #ff8a66; }
.version-switch:focus-visible { outline: none; }
.version-switch:focus-visible .vs-track { outline: 1px solid #ff6035; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .vs-knob, .vs-track, .vs-label { transition: none; } }
::selection { background: #ff6035; color: #080b0b; }
@media (max-width: 600px) {
  .edge-top { top: 24px; }
  .edge-bottom { bottom: 24px; }
  .brand-symbol { top: 48px; width: 24px; }
  .version-switch { top: 41px; }
  main { top: 65%; }
  h1 { width: 100%; }
  .registration { margin-bottom: 20px; }
  footer { bottom: 52px; font-size: 10px; }
  .motion-toggle { bottom: 36px; }
  #matrix { mask-image: linear-gradient(180deg, #000, transparent 65%); opacity: .3; }
}
@media (max-height: 480px) and (min-width: 601px) {
  .brand-symbol { top: 50px; width: 22px; }
  main { top: 48%; }
  h1 { width: min(68vw, 780px); }
  footer { bottom: 48px; }
  .motion-toggle { bottom: 34px; }
}
