:root {
  --page: #05070d;
  --surface: #0d111a;
  --surface-strong: #151b27;
  --surface-soft: #1d2432;
  --line: #293247;
  --text: #f3f6fc;
  --muted: #a5afc2;
  --blue: #2f75ff;
  --blue-bright: #62c8ff;
  --red: #bd2924;
  --yellow: #f2c327;
  --green: #91bd2e;
  --header-height: 76px;
  --content-width: 1240px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--page);
  color: var(--text);
  font-family: "Oswald", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.theme-studio,
body.theme-legal {
  --accent: var(--blue);
  --accent-bright: var(--blue-bright);
  --accent-contrast: #ffffff;
  --theme-surface: #0b1427;
}

body.theme-outbreak {
  --accent: var(--red);
  --accent-bright: var(--yellow);
  --accent-contrast: #ffffff;
  --theme-surface: #1b0b0b;
  --line: #3b302d;
  --muted: #b4aca3;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

::selection {
  background: var(--accent);
  color: var(--text);
}

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 3px;
}

.shell {
  width: min(calc(100% - 48px), var(--content-width));
  margin-inline: auto;
}

.mono {
  font-family: "Roboto Mono", monospace;
}

.skip-link {
  position: fixed;
  z-index: 400;
  top: 10px;
  left: 12px;
  transform: translateY(-180%);
  border-radius: 4px;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 200;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 7, 13, 0.92);
  backdrop-filter: blur(14px);
}

.theme-outbreak .site-header {
  background: rgba(8, 5, 5, 0.93);
}

.nav-shell {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 28px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-brand img {
  width: 235px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  transition: color 160ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent-bright);
  content: "";
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-action,
.button-primary,
.button-secondary,
.button-quiet {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 22px;
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.nav-action,
.button-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

.theme-outbreak .nav-action,
.theme-outbreak .button-primary {
  background: var(--accent-bright);
  color: #090909;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(5, 7, 13, 0.56);
  color: var(--text);
}

.button-quiet {
  border-color: var(--line);
  background: var(--surface);
  color: var(--muted);
}

.nav-action:hover,
.button-primary:hover,
.button-secondary:hover,
.button-quiet:hover {
  transform: translateY(-2px);
}

.button-secondary:hover,
.button-quiet:hover {
  border-color: var(--accent-bright);
  color: var(--text);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  width: 19px;
  height: 2px;
  display: block;
  background: var(--text);
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before {
  position: absolute;
  top: -6px;
}

.nav-toggle-lines::after {
  position: absolute;
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-bright);
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--accent-bright);
  content: "";
}

.section-head {
  display: grid;
  max-width: 760px;
  gap: 16px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.section-head p {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #03050a;
  padding: 54px 0 28px;
}

.theme-outbreak .site-footer {
  background: #050303;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand img {
  width: 230px;
}

.footer-brand p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-column h2 {
  margin-bottom: 14px;
  color: var(--accent-bright);
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  transition: color 160ms ease;
}

.footer-column a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 44px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: #747d90;
  font-family: "Roboto Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    margin: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 7, 13, 0.98);
    padding: 12px 24px 22px;
  }

  .theme-outbreak .site-nav {
    background: rgba(8, 5, 5, 0.99);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-bottom: 1px solid var(--line);
    padding: 16px 4px;
  }

  .site-nav a::after {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 66px;
  }

  .shell {
    width: min(calc(100% - 30px), var(--content-width));
  }

  .site-brand img {
    width: 175px;
  }

  .nav-action {
    display: none;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2 {
    font-size: 40px;
  }

  .section-head p {
    font-size: 17px;
  }

  .footer-links {
    gap: 38px;
  }
}

@media (max-width: 420px) {
  .site-brand img {
    width: 158px;
  }

  .button-primary,
  .button-secondary,
  .button-quiet {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
