:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #101010;
  color: #deddd8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; min-height: 100%; }
body { min-height: 100svh; overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 1px solid #b8b6aa; outline-offset: 7px; }
button { color: inherit; }
#signal { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
.vignette { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 46%, transparent 25%, #10101038 65%, #101010c4 100%); }
.masthead { position: fixed; top: 0; inset-inline: 0; height: 90px; padding: 0 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; z-index: 2; }
.wordmark { color: #a8a7a0; display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 13px; letter-spacing: -.2px; transition: color .25s; }
.wordmark:hover { color: #ecebe5; }
.wordmark svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.2; }
.edition, .eyebrow, .cipher, .footnote { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-weight: 400; }
.edition { font-size: 9px; letter-spacing: 2.1px; color: #66665f; position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.motion-toggle { display: grid; place-items: center; padding: 8px; width: 32px; height: 32px; border: 1px solid #ffffff0b; background: #10101065; border-radius: 6px; cursor: pointer; color: #77776f; transition: color .2s, border-color .2s; }
.motion-toggle:hover { color: #d3d2ca; border-color: #ffffff26; }
.motion-toggle svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.2; fill: none; }
.play-icon { display: none; }
.motion-toggle[aria-pressed="true"] .pause-icon { display: none; }
.motion-toggle[aria-pressed="true"] .play-icon { display: block; }
main { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 130px 24px 150px; pointer-events: none; }
.intro { text-align: center; transform: translateY(-8px); }
.eyebrow { margin: 0 0 29px; font-size: 9px; letter-spacing: 2.2px; color: #8b8b7f; display: flex; align-items: center; justify-content: center; gap: 10px; }
.status-light { width: 4px; height: 4px; border-radius: 50%; background: #a4a88e; box-shadow: 0 0 8px #a4a88e55; }
h1 { margin: 0; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.15; font-weight: 430; letter-spacing: -.055em; color: #e7e5df; }
.message { margin: 22px 0 0; color: #aaa9a1; font-size: 14px; line-height: 1.6; font-weight: 400; letter-spacing: -.1px; }
.cipher { margin: 31px 0 0; font-size: 8px; letter-spacing: 1.6px; color: #6e6e64; }
.footer { position: fixed; bottom: 31px; inset-inline: 38px; display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 24px; z-index: 2; }
.footnote { color: #66665d; font-size: 8px; letter-spacing: 1.5px; white-space: nowrap; }
.signal-trigger { position: absolute; left: 50%; transform: translateX(-50%); width: 328px; max-width: calc(100vw - 48px); min-height: 43px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border: 1px solid #ffffff13; border-radius: 11px; background: #1b1b1aea; color: #94948b; cursor: pointer; box-shadow: 0 1px 12px #0000000b; transition: background .3s, border-color .3s, color .3s; }
.signal-trigger:hover { color: #d2d1c6; border-color: #ffffff2a; background: #21211f; }
.terminal-glyph { font-family: monospace; font-size: 14px; color: #9a9b8d; }
.trigger-label { font-size: 11px; text-align: left; flex: 1; }
.trigger-arrow { font-size: 16px; opacity: .6; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.no-script { position: absolute; bottom: 90px; width: 100%; text-align: center; color: #9a998f; font-size: 12px; }
@media (max-width: 720px) {
  .masthead { height: 72px; padding-inline: 22px; }
  .edition { display: none; }
  .eyebrow { font-size: 8px; letter-spacing: 1.5px; margin-bottom: 25px; }
  .message { font-size: 12px; margin-top: 18px; }
  .cipher { font-size: 7px; letter-spacing: 1px; }
  .footer { inset-inline: 22px; bottom: 24px; justify-content: center; padding-bottom: 30px; }
  .signal-trigger { bottom: 32px; width: 290px; }
  .footnote { font-size: 7px; position: absolute; bottom: 0; left: 0; letter-spacing: 1px; }
  .simulation { left: auto; right: 0; }
  .intro { transform: translateY(-12px); }
}
@media (max-height: 480px) {
  .masthead { height: 60px; }
  .intro { transform: none; }
  main { padding: 80px 24px 110px; }
  .eyebrow { margin-bottom: 14px; }
  h1 { font-size: 34px; }
  .message { margin-top: 12px; }
  .cipher { margin-top: 14px; }
  .footer { bottom: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
  .intro { animation: arrive 1.5s ease-out both; }
  @keyframes arrive { from { opacity: 0; filter: blur(5px); } to { opacity: 1; filter: blur(0); } }
}
