:root {
  color-scheme: dark;
  --background: #212121;
  --surface: #292b2a;
  --surface-deep: #191b1a;
  --primary: #81d28a;
  --primary-soft: rgba(129, 210, 138, .12);
  --highlight: #d2c981;
  --secondary: #81c9d2;
  --danger: #d28181;
  --text: #d8e3d9;
  --muted: #849188;
  --line: rgba(129, 210, 138, .22);
  --font-display: "Arial Narrow", "Roboto Condensed", "Segoe UI", sans-serif;
  --font-body: "Segoe UI", Arial, sans-serif;
  --font-mono: "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--background); }

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 14%, rgba(129, 201, 210, .08), transparent 24rem),
    radial-gradient(circle at 12% 88%, rgba(210, 201, 129, .05), transparent 28rem),
    var(--background);
  color: var(--text);
  font-family: var(--font-body);
}

a, button, input, dialog, .offer-card, .telemetry-grid article, .notice {
  transition: color .22s ease, border-color .22s ease, background-color .22s ease, box-shadow .22s ease, opacity .22s ease, transform .22s ease;
}

button, input { font: inherit; }
button { color: inherit; }

button:focus-visible, input:focus-visible, a:focus-visible {
  outline: 2px solid var(--highlight);
  outline-offset: 4px;
}

[hidden] { display: none !important; }

.space-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .5;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(216, 227, 217, .55) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(129, 210, 138, .35) 0 1px, transparent 1.5px);
  background-position: 0 0, 41px 67px;
  background-size: 137px 137px, 211px 211px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 26px clamp(20px, 4vw, 64px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--primary);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid var(--primary);
  font: 700 15px/1 var(--font-mono);
  transform: rotate(45deg);
}

.brand-mark span { transform: rotate(-45deg); }

.brand strong {
  display: block;
  font: 700 clamp(22px, 2.5vw, 31px)/1 var(--font-display);
  letter-spacing: .045em;
  text-transform: uppercase;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font: 10px/1.2 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.header-status, .connection-state {
  color: var(--muted);
  font: 11px/1 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.corporate-footer {
  position: relative;
  z-index: 1;
  padding: 34px 20px 28px;
  color: var(--muted);
  font: 11px/1.6 var(--font-mono);
  text-align: center;
  opacity: .48;
}

.corporate-footer p { margin: 0; }
.corporate-footer strong { color: inherit; font-weight: 700; }

.status-light, .connection-state .connection-light {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 11px var(--primary);
}

.brand small.is-changing { animation: slogan-change .4s ease both; }

@keyframes slogan-change { from { opacity: .15; transform: translateY(-3px); } }

.button {
  position: relative;
  border: 0;
  border-right: 2px solid var(--primary);
  border-left: 2px solid var(--primary);
  border-radius: 0;
  background: linear-gradient(90deg, rgba(129, 210, 138, .5) 0%, rgba(129, 210, 138, .1) 25%, transparent 50%, rgba(129, 210, 138, .1) 75%, rgba(129, 210, 138, .5) 100%);
  cursor: pointer;
  transition: color .2s ease, filter .2s ease, transform .2s ease;
}

.button:hover { color: #f0fff2; filter: drop-shadow(0 0 8px rgba(129, 210, 138, .3)); }
.button:active { transform: translateY(1px); }
.button:disabled { cursor: default; opacity: .55; }

input {
  min-width: 0;
  border: 0;
  border-right: 2px solid var(--primary);
  border-left: 2px solid var(--primary);
  border-radius: 0;
  padding: 14px 16px;
  background: linear-gradient(90deg, rgba(129, 210, 138, .1), rgba(25, 27, 26, .92) 16% 84%, rgba(129, 210, 138, .1));
  color: var(--text);
  font-family: var(--font-mono);
}

input::selection { background: var(--highlight); color: var(--background); }

@media (max-width: 640px) {
  .site-header { align-items: flex-start; padding-top: 20px; }
  .header-status { display: none; }
  .brand small { max-width: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
