:root {
  color-scheme: dark;
  --bg: #05070a;
  --panel: #0d1419;
  --panel-2: #101820;
  --line: rgba(144, 239, 255, 0.22);
  --text: #eef8fb;
  --muted: #94a8ad;
  --cyan: #3fe7ff;
  --red: #ff3b4f;
  --green: #69f0a5;
  --gold: #d6a84f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(63, 231, 255, 0.06), transparent 36%),
    linear-gradient(315deg, rgba(255, 59, 79, 0.06), transparent 42%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.crisis {
  --line: rgba(255, 59, 79, 0.35);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

button,
input,
select {
  font: inherit;
}

.skip-link,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.skip-link:focus {
  z-index: 20;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 16px;
  background: var(--cyan);
  color: #001114;
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: #020305;
  animation: boot-out 0.8s ease 2.4s forwards;
}

.boot.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot__screen {
  width: min(680px, 88vw);
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(7, 15, 18, 0.86);
  box-shadow: var(--shadow);
  font-family: "Courier New", monospace;
}

.boot__screen p {
  margin: 10px 0;
}

.boot__screen span {
  color: var(--red);
}

@keyframes boot-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 86px;
  padding: 10px clamp(14px, 3.2vw, 46px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 10, 0.82);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.header-actions,
.hero__actions,
.facts,
.buy__actions {
  display: flex;
  align-items: center;
}

.brand {
  position: relative;
  gap: 10px;
  flex: 0 0 auto;
  width: clamp(162px, 14vw, 210px);
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
}

.brand::before,
.brand::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("assets/media/logo-total-reboot-cropped.png") left center / contain no-repeat;
  opacity: 0;
  mix-blend-mode: screen;
}

.brand::before {
  filter: drop-shadow(2px 0 0 rgba(63, 231, 255, 0.75));
  animation: logo-current-spike 6.6s steps(1, end) infinite;
}

.brand::after {
  filter: drop-shadow(-2px 0 0 rgba(255, 59, 79, 0.62));
  animation: logo-voltage-drift 8.2s steps(1, end) infinite;
}

.brand__logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.12));
  animation: logo-power-flicker 7.4s steps(1, end) infinite;
}

.brand:hover .brand__logo,
.brand:focus-visible .brand__logo {
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.22));
}

@keyframes logo-power-flicker {
  0%, 100% { opacity: 1; transform: translate(0, 0); }
  6% { opacity: 0.88; }
  7% { opacity: 1; }
  24% { filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.08)); }
  25% { filter: drop-shadow(0 0 24px rgba(63, 231, 255, 0.35)); }
  26% { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.12)); }
  52% { opacity: 0.72; transform: translateX(1px); }
  53% { opacity: 1; transform: translateX(0); }
  78% { opacity: 0.94; }
  79% { opacity: 1; }
}

@keyframes logo-current-spike {
  0%, 15%, 16%, 48%, 49%, 82%, 83%, 100% { opacity: 0; transform: translate(0, 0); clip-path: inset(0); }
  15.5% { opacity: 0.74; transform: translate(2px, -1px); clip-path: inset(14% 0 55% 0); }
  48.5% { opacity: 0.62; transform: translate(-1px, 1px); clip-path: inset(62% 0 18% 0); }
  82.5% { opacity: 0.82; transform: translate(3px, 0); clip-path: inset(35% 0 36% 0); }
}

@keyframes logo-voltage-drift {
  0%, 31%, 32%, 63%, 64%, 100% { opacity: 0; transform: translate(0, 0); clip-path: inset(0); }
  31.5% { opacity: 0.55; transform: translate(-2px, 0); clip-path: inset(44% 0 28% 0); }
  63.5% { opacity: 0.48; transform: translate(1px, -1px); clip-path: inset(8% 0 70% 0); }
}

.nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav a {
  position: relative;
  display: grid;
  align-content: center;
  min-width: 76px;
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.nav a::before {
  content: "";
  position: absolute;
  inset: auto 10px 5px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav a span {
  color: var(--text);
  font-weight: 800;
  line-height: 1.1;
}

.nav a small {
  margin-top: 2px;
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 0.66rem;
  line-height: 1.1;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active {
  border-color: rgba(63, 231, 255, 0.34);
  background: linear-gradient(180deg, rgba(63, 231, 255, 0.09), rgba(255, 255, 255, 0.02));
  color: var(--text);
}

.nav a:hover::before,
.nav a:focus-visible::before,
.nav a.is-active::before {
  opacity: 1;
  transform: scaleX(1);
}

.nav a.is-active small {
  color: var(--green);
}

.header-actions {
  flex: 0 0 auto;
  gap: 8px;
}

.header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: rgba(7, 16, 21, 0.86);
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

.header-link--buy {
  border-color: rgba(255, 59, 79, 0.48);
  background: linear-gradient(135deg, rgba(255, 59, 79, 0.28), rgba(7, 16, 21, 0.92));
}

.header-link--shop {
  border-color: rgba(105, 240, 165, 0.35);
  color: #d8fff0;
}

.header-link:hover,
.header-link:focus-visible,
.header-link.is-active {
  border-color: var(--cyan);
  color: #fff;
}

select,
.icon-button {
  min-height: 38px;
  border: 1px solid var(--line);
  background: #071015;
  color: var(--text);
}

select {
  padding: 0 10px;
}

.icon-button {
  width: 38px;
  color: var(--red);
  cursor: pointer;
}

.section {
  position: relative;
  scroll-margin-top: 140px;
  padding: clamp(72px, 9vw, 132px) clamp(18px, 5vw, 72px);
}

.hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: 36px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: saturate(0.9) contrast(1.08);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.9), rgba(5, 7, 10, 0.3) 58%, rgba(5, 7, 10, 0.82)),
    linear-gradient(180deg, rgba(5, 7, 10, 0.12), var(--bg));
}

.grid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.38;
}

.hero__content,
.status-panel,
.split > *,
.map-shell,
.media-grid,
.quiz__body {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  margin: 0;
  color: var(--text);
  font-size: clamp(4rem, 13vw, 10rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(63, 231, 255, 0.25);
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.hero__lead,
.split p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.35rem);
  line-height: 1.65;
}

.hero__actions,
.facts,
.buy__actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(13, 20, 25, 0.86);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
  border-color: rgba(63, 231, 255, 0.72);
  background: rgba(63, 231, 255, 0.12);
  transform: translateY(-1px);
}

.button--primary {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #001114;
  font-weight: 800;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #7cf0ff;
  color: #001114;
}

.button--danger {
  border-color: rgba(255, 59, 79, 0.7);
  color: #ffd8dd;
}

.terminal,
.status-panel,
.reader,
.cover-visual,
.author-card {
  border: 1px solid var(--line);
  background: rgba(8, 14, 18, 0.84);
  box-shadow: var(--shadow);
}

.terminal {
  max-width: 640px;
  margin-top: 30px;
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.terminal__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.terminal__bar span:nth-child(2) {
  background: var(--gold);
}

.terminal__bar span:nth-child(3) {
  background: var(--green);
}

.terminal__bar strong {
  margin-left: 8px;
  font-size: 0.78rem;
}

.terminal__body,
.terminal__form {
  padding: 14px 16px;
  font-family: "Courier New", monospace;
}

.terminal__body {
  min-height: 120px;
  max-height: 230px;
  overflow: auto;
  color: var(--green);
}

.terminal__body p {
  margin: 0 0 8px;
}

.terminal__form {
  display: flex;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal__form input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.terminal__form button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(105, 240, 165, 0.38);
  background: rgba(105, 240, 165, 0.1);
  color: var(--green);
  cursor: pointer;
}

.status-panel {
  padding: 22px;
}

.status-panel__top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.78rem;
}

.status-panel__top strong {
  color: var(--red);
  font-size: 2rem;
}

.meter {
  height: 8px;
  margin: 14px 0 22px;
  background: rgba(255, 255, 255, 0.08);
}

.meter span {
  display: block;
  width: 73%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--red));
}

.status-panel ul {
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
}

.status-panel li {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 36px;
  align-items: center;
}

.facts span {
  padding: 8px 12px;
  border: 1px solid rgba(214, 168, 79, 0.42);
  color: #f3d591;
}

.cover-visual {
  min-height: 520px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 22px;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(63, 231, 255, 0.08) 0 1px, transparent 1px 42px),
    linear-gradient(180deg, #091017, #13080b 70%, #05070a);
}

.cover-visual img {
  width: min(100%, 760px);
  max-height: 610px;
  object-fit: contain;
  filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.62));
}

.cover-visual__scan {
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 24px var(--red);
  animation: scan 3.5s linear infinite;
}

@keyframes scan {
  0% { transform: translateY(-180px); }
  100% { transform: translateY(180px); }
}

.section-heading {
  max-width: 880px;
  margin-bottom: 34px;
}

.map-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: 22px;
  align-items: stretch;
}

.map-panel {
  min-width: 0;
  display: grid;
  gap: 12px;
  overflow: hidden;
}

.real-world-map {
  position: relative;
  width: 100%;
  height: clamp(460px, 56vw, 660px);
  min-height: 460px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(63, 231, 255, 0.12), transparent 44%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 52px),
    #061017;
  overflow: hidden;
}

.real-world-map::after {
  content: "TOTAL REBOOT // WORLD ROUTE";
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 500;
  padding: 7px 9px;
  border: 1px solid rgba(105, 240, 165, 0.38);
  background: rgba(2, 6, 8, 0.72);
  color: var(--green);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  pointer-events: none;
}

.real-world-map.is-fallback {
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
}

.leaflet-container {
  width: 100%;
  background: #061017;
  color: var(--text);
  font-family: inherit;
}

.real-world-map.leaflet-container {
  height: clamp(460px, 56vw, 660px);
  min-height: 460px;
}

.leaflet-control-attribution,
.leaflet-control-zoom a {
  background: rgba(3, 8, 10, 0.84) !important;
  color: var(--muted) !important;
}

.leaflet-control-zoom a {
  border-color: rgba(63, 231, 255, 0.28) !important;
}

.leaflet-tooltip {
  border: 1px solid rgba(63, 231, 255, 0.42);
  background: rgba(4, 10, 13, 0.92);
  color: var(--text);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

.story-marker {
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 7px rgba(255, 59, 79, 0.13), 0 0 22px rgba(255, 59, 79, 0.38);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.story-marker--origin {
  background: var(--gold);
  color: #05070a;
  box-shadow: 0 0 0 7px rgba(214, 168, 79, 0.15), 0 0 20px rgba(214, 168, 79, 0.32);
}

.story-marker--route {
  background: var(--cyan);
  color: #001114;
  box-shadow: 0 0 0 7px rgba(63, 231, 255, 0.14), 0 0 22px rgba(63, 231, 255, 0.36);
}

.story-marker--sea {
  background: #14242f;
  border-color: rgba(63, 231, 255, 0.76);
  color: var(--cyan);
  box-shadow: 0 0 0 7px rgba(63, 231, 255, 0.09), 0 0 18px rgba(63, 231, 255, 0.22);
}

.story-marker--return {
  background: var(--green);
  color: #001114;
  box-shadow: 0 0 0 7px rgba(105, 240, 165, 0.14), 0 0 24px rgba(105, 240, 165, 0.38);
}

.station-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 240px);
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 10px;
  margin: 0;
  list-style: none;
  scroll-snap-type: x proximity;
}

.station-list li {
  scroll-snap-align: start;
}

.station-list button {
  width: 100%;
  min-height: 94px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-content: start;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 14, 18, 0.84);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.station-list button:hover,
.station-list button:focus-visible,
.station-list button.is-active {
  border-color: rgba(63, 231, 255, 0.62);
  background: rgba(63, 231, 255, 0.1);
}

.station-list span {
  grid-row: span 2;
  color: var(--green);
  font-family: "Courier New", monospace;
  font-weight: 800;
}

.station-list strong {
  font-size: 0.92rem;
}

.station-list em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.76rem;
}

.continent {
  fill: rgba(41, 73, 83, 0.58);
  stroke: rgba(148, 168, 173, 0.24);
}

.route {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-dasharray: 8 10;
  animation: dash 12s linear infinite;
}

.route--two {
  stroke: var(--gold);
}

.route--three {
  stroke: var(--red);
}

@keyframes dash {
  to { stroke-dashoffset: -180; }
}

.map-point {
  cursor: pointer;
}

.map-point:focus-visible circle:first-child {
  stroke: var(--cyan);
  stroke-width: 4;
}

.map-point circle {
  fill: var(--red);
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 2;
}

.map-point text {
  fill: var(--text);
  font-size: 18px;
  paint-order: stroke;
  stroke: #041014;
  stroke-width: 4px;
}

.dossier-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.dossier-card p {
  color: var(--muted);
  line-height: 1.6;
}

.dossier-grid,
.tech-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.dossier {
  min-height: 320px;
  position: relative;
  overflow: hidden;
  padding: 0 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(16, 24, 32, 0.94), rgba(7, 13, 17, 0.94));
}

.dossier__portrait {
  height: 230px;
  margin-inline: -18px;
  margin-bottom: 18px;
  border: 1px solid rgba(63, 231, 255, 0.18);
  background:
    radial-gradient(circle at 50% 20%, rgba(63, 231, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 59, 79, 0.16), rgba(105, 240, 165, 0.08));
}

.dossier__portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter:
    drop-shadow(0 18px 18px rgba(0, 0, 0, 0.54))
    saturate(0.96)
    contrast(1.04);
}

.dossier p,
.tech-grid p,
.news-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.dossier__meta {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.dossier__meta span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 7px;
}

.dossier__meta strong {
  color: var(--text);
}

.dossier__sample-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 12px;
  border-bottom: 1px solid rgba(63, 231, 255, 0.55);
  color: var(--green);
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  text-decoration: none;
  text-transform: uppercase;
}

.dossier__sample-link:hover,
.dossier__sample-link:focus-visible {
  color: var(--cyan);
}

.sample-grid,
.intel-grid,
.media-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.sample-card,
.intel-card,
.media-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(12, 21, 27, 0.94), rgba(5, 8, 12, 0.94)),
    var(--panel);
}

.sample-card::before,
.intel-card::before,
.media-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(63, 231, 255, 0.1), transparent 30%, rgba(255, 59, 79, 0.08));
  opacity: 0.5;
}

.sample-card > *,
.intel-card > *,
.media-card > * {
  position: relative;
}

.sample-card {
  display: grid;
  align-content: start;
  min-height: 100%;
}

.sample-card__media {
  height: 180px;
  margin: -20px -20px 18px;
  border-bottom: 1px solid rgba(63, 231, 255, 0.18);
  background:
    radial-gradient(circle at 50% 20%, rgba(63, 231, 255, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 59, 79, 0.16), rgba(105, 240, 165, 0.08));
}

.sample-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.55));
}

.sample-card blockquote {
  margin: 18px 0 0;
  color: #d8eef2;
  line-height: 1.62;
}

.sample-card__link {
  align-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 18px;
  border-bottom: 1px solid rgba(105, 240, 165, 0.48);
  color: var(--green);
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  text-decoration: none;
  text-transform: uppercase;
}

.sample-card__link:hover,
.sample-card__link:focus-visible {
  color: var(--cyan);
}

.sample-card__signal,
.intel-card__tag {
  color: var(--gold);
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
}

.intel-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.intel-card p {
  color: var(--muted);
  line-height: 1.58;
}

.media-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.video-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(63, 231, 255, 0.22);
  background:
    radial-gradient(circle at 78% 18%, rgba(63, 231, 255, 0.22), transparent 32%),
    radial-gradient(circle at 16% 92%, rgba(255, 59, 79, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(7, 12, 18, 0.96), rgba(2, 4, 7, 0.98));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-showcase::before,
.video-showcase::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.video-showcase::before {
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 12px),
    linear-gradient(90deg, transparent, rgba(63, 231, 255, 0.08), transparent);
  opacity: 0.34;
  animation: signal-scan 7s linear infinite;
}

.video-showcase::after {
  inset: auto 8% -22px 36%;
  height: 42px;
  background: var(--cyan);
  filter: blur(34px);
  opacity: 0.18;
}

.video-copy,
.video-stage,
.media-support {
  position: relative;
  z-index: 1;
}

.video-copy h3 {
  font-size: clamp(1.6rem, 4vw, 3.6rem);
  line-height: 0.98;
}

.video-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.signal-readout {
  display: grid;
  gap: 9px;
  margin-top: 24px;
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 0.88rem;
}

.signal-readout span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.signal-readout strong {
  color: var(--green);
}

.video-stage {
  min-width: 0;
}

.video-stage__hud {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 0 8px 10px;
  color: var(--green);
  font-family: "Courier New", monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(63, 231, 255, 0.45);
  background:
    linear-gradient(135deg, rgba(63, 231, 255, 0.12), transparent 28%),
    #020405;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 26px 70px rgba(0, 0, 0, 0.58),
    0 0 42px rgba(63, 231, 255, 0.16);
}

.video-frame::before,
.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.video-frame::before {
  background:
    linear-gradient(90deg, rgba(63, 231, 255, 0.16), transparent 18%, transparent 82%, rgba(255, 59, 79, 0.13)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 9px);
  opacity: 0.28;
}

.video-frame::after {
  inset: 0 auto 0 0;
  width: 30%;
  background: linear-gradient(90deg, rgba(63, 231, 255, 0.22), transparent);
  transform: translateX(-110%);
  animation: video-surge 6.4s ease-in-out infinite;
}

.youtube-poster,
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.youtube-poster {
  z-index: 1;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background:
    linear-gradient(135deg, rgba(63, 231, 255, 0.18), transparent 32%),
    linear-gradient(315deg, rgba(255, 59, 79, 0.2), transparent 38%),
    url("assets/media/book-cover-showcase.png") center / cover no-repeat;
  color: var(--text);
  cursor: pointer;
}

.youtube-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  opacity: 0.74;
  filter: saturate(0.82) contrast(1.12) brightness(0.66);
}

.youtube-poster::before,
.youtube-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.youtube-poster::before {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 17%, rgba(63, 231, 255, 0.12) 18%, transparent 34%),
    linear-gradient(90deg, rgba(3, 6, 9, 0.78), transparent 44%, rgba(3, 6, 9, 0.72));
}

.youtube-poster::after {
  background:
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(63, 231, 255, 0.14) 42px 43px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 10px);
  mix-blend-mode: screen;
  opacity: 0.42;
}

.youtube-poster__pulse,
.youtube-poster__play,
.youtube-poster__label {
  position: relative;
  z-index: 2;
}

.youtube-poster__pulse {
  position: absolute;
  width: clamp(112px, 14vw, 180px);
  aspect-ratio: 1;
  border: 1px solid rgba(63, 231, 255, 0.55);
  border-radius: 50%;
  box-shadow: 0 0 48px rgba(63, 231, 255, 0.28), inset 0 0 30px rgba(255, 59, 79, 0.14);
  animation: signal-pulse 2.8s ease-in-out infinite;
}

.youtube-poster__play {
  width: clamp(74px, 9vw, 118px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(63, 231, 255, 0.9), rgba(105, 240, 165, 0.84));
  box-shadow: 0 0 46px rgba(63, 231, 255, 0.38);
}

.youtube-poster__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid #001114;
}

.youtube-poster__label {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 8px 11px;
  border: 1px solid rgba(105, 240, 165, 0.48);
  background: rgba(3, 8, 10, 0.78);
  color: var(--green);
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.video-frame iframe {
  z-index: 3;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.video-frame.is-playing .youtube-poster {
  opacity: 0;
  pointer-events: none;
}

.video-frame.is-playing iframe {
  opacity: 1;
  pointer-events: auto;
}

@keyframes signal-scan {
  0% { transform: translateY(-18px); }
  100% { transform: translateY(18px); }
}

@keyframes video-surge {
  0%, 76%, 100% { transform: translateX(-110%); opacity: 0; }
  81% { opacity: 0.62; }
  88% { transform: translateX(360%); opacity: 0; }
}

@keyframes signal-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.54; }
  50% { transform: scale(1.08); opacity: 0.92; }
}

.media-support {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: 14px;
  margin-top: 14px;
}

.media-card--wide {
  grid-column: span 2;
}

.media-card video,
.media-card img {
  width: 100%;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #020405;
}

.media-card video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-card h3 {
  margin-top: 14px;
}

.media-card p,
.audio-card label {
  color: var(--muted);
  line-height: 1.58;
}

.audio-card label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.audio-card audio {
  width: 100%;
}

.download-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(160px, 0.45fr) 1fr;
  gap: 18px;
  align-items: center;
}

.media-support .download-card {
  grid-column: auto;
}

.media-note {
  display: grid;
  align-content: center;
}

.download-card img {
  object-fit: contain;
  max-height: 320px;
}

.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.campaign-database {
  position: relative;
  margin-top: 18px;
  border: 1px solid rgba(63, 231, 255, 0.34);
  background:
    radial-gradient(circle at 12% 18%, rgba(63, 231, 255, 0.16), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(255, 59, 79, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(7, 15, 20, 0.97), rgba(2, 4, 7, 0.98));
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.58),
    inset 0 0 42px rgba(63, 231, 255, 0.08);
  overflow: hidden;
}

.campaign-database::before,
.campaign-database::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.campaign-database::before {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 11px),
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(63, 231, 255, 0.08) 72px 73px);
  opacity: 0.25;
}

.campaign-database::after {
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(63, 231, 255, 0.2), transparent);
  transform: translateX(-120%);
  animation: db-sweep 7.2s ease-in-out infinite;
}

.campaign-database__header,
.campaign-database__body {
  position: relative;
  z-index: 1;
}

.campaign-database__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid rgba(63, 231, 255, 0.18);
  background: rgba(2, 7, 10, 0.72);
}

.campaign-database__header code {
  grid-column: 1 / -1;
  width: fit-content;
  max-width: 100%;
  padding: 6px 9px;
  border: 1px solid rgba(63, 231, 255, 0.22);
  background: #02070a;
  color: var(--cyan);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.campaign-database__header h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 0.95;
}

.campaign-database__header > span {
  align-self: flex-start;
  padding: 8px 10px;
  border: 1px solid rgba(105, 240, 165, 0.34);
  color: var(--green);
  font-family: "Courier New", monospace;
  font-size: 0.76rem;
}

.campaign-database__body {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  min-height: 560px;
}

.database-tree {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px;
  border-right: 1px solid rgba(63, 231, 255, 0.18);
  background:
    linear-gradient(90deg, rgba(63, 231, 255, 0.05), transparent 24%),
    rgba(2, 7, 10, 0.58);
}

.database-tree::before {
  content: "ROOT /mnt/total_reboot/media";
  display: block;
  margin-bottom: 8px;
  padding: 8px 9px;
  border: 1px solid rgba(105, 240, 165, 0.22);
  background: rgba(2, 9, 8, 0.76);
  color: var(--green);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
}

.database-tree p,
.database-tree button,
.database-panel > span,
.database-actions a,
.press-form label,
.checkbox-cluster,
.database-panel pre {
  font-family: "Courier New", monospace;
}

.database-tree p {
  margin: 0 0 8px;
  color: var(--cyan);
  font-weight: 800;
}

.database-tree button {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 12, 16, 0.76);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.database-tree button::before {
  content: "";
  width: 18px;
  height: 13px;
  border: 1px solid rgba(214, 168, 79, 0.72);
  border-radius: 2px;
  background:
    linear-gradient(90deg, rgba(214, 168, 79, 0.95) 0 42%, transparent 42%),
    linear-gradient(180deg, rgba(214, 168, 79, 0.42), rgba(214, 168, 79, 0.12));
  box-shadow: 0 0 14px rgba(214, 168, 79, 0.12);
}

.database-tree button:hover,
.database-tree button:focus-visible,
.database-tree button.is-active {
  border-color: rgba(63, 231, 255, 0.58);
  background: rgba(63, 231, 255, 0.11);
}

.database-tree button.is-active::before {
  border-color: rgba(105, 240, 165, 0.86);
  background:
    linear-gradient(90deg, rgba(105, 240, 165, 0.95) 0 42%, transparent 42%),
    linear-gradient(180deg, rgba(105, 240, 165, 0.42), rgba(105, 240, 165, 0.1));
  box-shadow: 0 0 18px rgba(105, 240, 165, 0.2);
}

.database-tree button span {
  color: var(--muted);
}

.database-tree button em {
  color: var(--gold);
  font-size: 0.7rem;
  font-style: normal;
}

.database-panels {
  position: relative;
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
}

.database-panels::before {
  content: "QUERY READY > choose folder_id from tree where access = public;";
  display: block;
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(63, 231, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(63, 231, 255, 0.08), transparent 70%),
    rgba(1, 6, 8, 0.74);
  color: var(--green);
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
}

.database-panel {
  display: none;
  max-width: 880px;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid rgba(63, 231, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(63, 231, 255, 0.055), transparent 36%),
    rgba(2, 8, 11, 0.54);
  animation: db-panel-in 0.34s ease both;
}

.database-panel.is-active {
  display: grid;
  gap: 14px;
}

.database-panel > span {
  color: var(--green);
  font-size: 0.8rem;
}

.database-panel h4 {
  margin: 0;
  font-size: clamp(1.7rem, 3.8vw, 3.6rem);
  line-height: 0.98;
}

.database-panel p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.62;
}

.database-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.premium-kit {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.premium-kit__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 0.58fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 300px;
  padding: 16px;
  border: 1px solid rgba(63, 231, 255, 0.2);
  background:
    radial-gradient(circle at 18% 18%, rgba(63, 231, 255, 0.15), transparent 34%),
    linear-gradient(135deg, rgba(255, 59, 79, 0.08), transparent 48%),
    rgba(1, 7, 9, 0.78);
  overflow: hidden;
}

.premium-kit__hero::before {
  content: "PREMIUM_KIT_MOUNTED";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 7px;
  border: 1px solid rgba(105, 240, 165, 0.28);
  background: rgba(2, 8, 11, 0.8);
  color: var(--green);
  font-family: "Courier New", monospace;
  font-size: 0.66rem;
}

.premium-kit__hero img,
.kit-asset-grid img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #020405;
  object-fit: cover;
}

.premium-kit__hero img {
  height: min(360px, 38vw);
  min-height: 240px;
}

.premium-kit__hero div {
  display: grid;
  gap: 10px;
}

.premium-kit__hero span,
.kit-asset-grid span {
  color: var(--green);
  font-family: "Courier New", monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.premium-kit__hero h5 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 0.98;
}

.premium-kit__hero p {
  margin: 0;
}

.kit-asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.kit-asset-grid a {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(63, 231, 255, 0.16);
  background: rgba(2, 8, 11, 0.62);
  text-decoration: none;
}

.kit-asset-grid a:hover,
.kit-asset-grid a:focus-visible {
  border-color: rgba(105, 240, 165, 0.44);
}

.kit-asset-grid img {
  aspect-ratio: 1;
  max-height: 220px;
}

.database-panel--images {
  max-width: none;
}

.image-cover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.image-cover-grid article {
  display: grid;
  grid-template-rows: minmax(220px, auto) 1fr;
  gap: 13px;
  min-height: 100%;
  padding: 14px;
  border: 1px solid rgba(63, 231, 255, 0.18);
  background:
    linear-gradient(145deg, rgba(63, 231, 255, 0.08), transparent 42%),
    rgba(2, 8, 11, 0.7);
}

.image-cover-grid img {
  width: 100%;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #020405;
  object-fit: contain;
}

.image-cover-card--wide {
  grid-column: span 2;
}

.image-cover-card--wide img {
  object-fit: cover;
}

.image-cover-grid article > div {
  display: grid;
  align-content: start;
  gap: 9px;
}

.image-cover-grid span {
  color: var(--green);
  font-family: "Courier New", monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.image-cover-grid h5 {
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  line-height: 1.08;
}

.image-cover-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.image-cover-grid a {
  width: fit-content;
  margin-top: 4px;
}

.press-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 860px;
  margin-top: 8px;
}

.press-form label {
  display: grid;
  gap: 7px;
  color: var(--green);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.press-form .form-wide,
.press-form button {
  grid-column: span 2;
}

.press-form input,
.press-form select,
.press-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(63, 231, 255, 0.22);
  background: rgba(2, 8, 11, 0.82);
  color: var(--text);
  padding: 10px 11px;
}

.press-form textarea {
  resize: vertical;
}

.checkbox-cluster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(63, 231, 255, 0.2);
  background: rgba(2, 8, 11, 0.58);
}

.checkbox-cluster legend {
  padding: 0 7px;
  color: var(--green);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.checkbox-cluster label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #d8eef2;
  font-size: 0.82rem;
  line-height: 1.35;
  text-transform: none;
}

.checkbox-cluster input {
  width: auto;
  min-height: auto;
  margin-top: 2px;
  accent-color: var(--green);
}

.checkbox-cluster--legal {
  grid-template-columns: 1fr;
}

.form-error {
  display: none;
  grid-column: 1 / -1;
  color: var(--red);
  font-size: 0.78rem;
}

.checkbox-cluster.has-error .form-error {
  display: block;
}

.database-panel pre {
  max-width: 100%;
  overflow: auto;
  margin: 8px 0 0;
  padding: 18px;
  border: 1px solid rgba(105, 240, 165, 0.26);
  background:
    linear-gradient(90deg, rgba(105, 240, 165, 0.08), transparent 66%),
    rgba(1, 7, 8, 0.88);
  color: #d8eef2;
  font-size: clamp(0.72rem, 1.3vw, 0.95rem);
  line-height: 1.5;
}

.database-panel--reader {
  max-width: none;
}

.reader-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.reader-download {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  min-height: 250px;
  padding: 14px;
  border: 1px solid rgba(63, 231, 255, 0.18);
  background:
    linear-gradient(145deg, rgba(63, 231, 255, 0.08), transparent 38%),
    rgba(2, 8, 11, 0.74);
}

.reader-download::before {
  content: "PUBLIC_DOWNLOAD";
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 6px;
  border: 1px solid rgba(105, 240, 165, 0.28);
  background: rgba(2, 8, 11, 0.78);
  color: var(--green);
  font-family: "Courier New", monospace;
  font-size: 0.64rem;
}

.reader-download img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #020405;
  object-fit: cover;
}

.reader-download--wide {
  grid-column: span 2;
}

.reader-download--wide img {
  aspect-ratio: 16 / 9;
}

.reader-download--tall img,
.reader-download--poster img {
  aspect-ratio: 0.72;
  object-position: top center;
}

.reader-download div {
  display: grid;
  align-content: center;
  gap: 10px;
}

.reader-download span {
  color: var(--green);
  font-family: "Courier New", monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.reader-download h5 {
  margin: 0;
  font-size: clamp(1.18rem, 2vw, 1.75rem);
  line-height: 1.05;
}

.reader-download p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.reader-download a {
  width: fit-content;
}

@keyframes db-sweep {
  0%, 70%, 100% { transform: translateX(-120%); opacity: 0; }
  76% { opacity: 0.6; }
  90% { transform: translateX(340%); opacity: 0; }
}

@keyframes db-panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sample-reader .section-heading {
  max-width: 1000px;
}

.sample-console {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.sample-dock {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(12, 21, 27, 0.94), rgba(5, 8, 12, 0.94)),
    var(--panel);
}

.sample-tabs {
  display: grid;
  gap: 9px;
}

.sample-tabs button {
  display: grid;
  gap: 4px;
  min-height: 62px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 8, 10, 0.72);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.sample-tabs button:hover,
.sample-tabs button:focus-visible,
.sample-tabs button.is-active {
  border-color: rgba(63, 231, 255, 0.64);
  background: rgba(63, 231, 255, 0.1);
}

.sample-tabs span {
  color: var(--green);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.sample-tabs strong {
  font-size: 1rem;
}

.reader {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 46px);
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.reader__layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 36px);
  align-items: stretch;
}

.reader__portrait {
  min-height: 440px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(63, 231, 255, 0.2);
  background:
    radial-gradient(circle at 50% 25%, rgba(63, 231, 255, 0.18), transparent 35%),
    linear-gradient(165deg, rgba(255, 59, 79, 0.17), rgba(5, 8, 12, 0.98));
}

.reader__portrait img {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  object-position: center bottom;
  filter:
    drop-shadow(0 26px 28px rgba(0, 0, 0, 0.6))
    saturate(0.96)
    contrast(1.04);
}

.reader__copy {
  display: grid;
  align-content: center;
}

.reader__hud {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.reader__hud span {
  min-height: 30px;
  padding: 8px 10px;
  border: 1px solid rgba(63, 231, 255, 0.22);
  color: var(--cyan);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  background: rgba(63, 231, 255, 0.055);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reader__clean-label {
  display: none;
  margin: 0 0 12px;
  color: #65707a;
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.reader__meta {
  color: var(--red);
  font-family: "Courier New", monospace;
}

.reader__person {
  margin-top: 0;
  color: var(--gold);
  font-family: "Courier New", monospace;
}

.reader blockquote {
  margin: 20px 0 0;
  color: #e7f9fc;
  font-size: clamp(1.18rem, 2.2vw, 1.85rem);
  line-height: 1.54;
}

.reader blockquote::before {
  content: "“";
  display: block;
  color: rgba(63, 231, 255, 0.52);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.6;
}

.reader__passage p {
  margin: 16px 0 0;
  max-width: 74ch;
  color: #bfd5dc;
  font-size: 1rem;
  line-height: 1.76;
}

.reader__pulse-line {
  display: inline-flex;
  width: fit-content;
  padding: 9px 12px;
  border: 1px solid rgba(255, 59, 79, 0.52);
  color: #ffe8eb;
  font-family: "Courier New", monospace;
  letter-spacing: 0;
  text-transform: uppercase;
  background: rgba(255, 59, 79, 0.12);
  box-shadow: 0 0 24px rgba(255, 59, 79, 0.18);
  animation: samplePulse 1.8s steps(2, end) infinite;
}

@keyframes samplePulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.64;
  }
}

.reader aside {
  display: none;
  margin-top: 18px;
  padding: 14px;
  border-left: 3px solid var(--red);
  color: #ffd8dd;
  background: rgba(255, 59, 79, 0.08);
}

.reader--clean {
  border-color: rgba(255, 255, 255, 0.08);
  color: #101820;
  background:
    linear-gradient(180deg, rgba(246, 248, 244, 0.98), rgba(232, 236, 229, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.reader--clean .reader__layout {
  grid-template-columns: minmax(0, 1fr);
  max-width: 860px;
  margin: 0 auto;
}

.reader--clean .reader__portrait,
.reader--clean .reader__hud {
  display: none;
}

.reader--clean .reader__copy {
  align-content: start;
}

.reader--clean .reader__clean-label {
  display: block;
}

.reader--clean .reader__meta,
.reader--clean .reader__person {
  color: #5f6670;
}

.reader--clean h3 {
  color: #101820;
}

.reader--clean blockquote {
  color: #18232d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  line-height: 1.68;
}

.reader--clean blockquote::before {
  color: rgba(16, 24, 32, 0.22);
}

.reader--clean .reader__passage p {
  max-width: 72ch;
  color: #26323c;
  font-size: 1.06rem;
  line-height: 1.86;
}

.reader--clean .reader__pulse-line {
  border-color: rgba(151, 60, 54, 0.24);
  color: #6c221f;
  background: rgba(151, 60, 54, 0.08);
  box-shadow: none;
  animation: none;
}

.reader--dark {
  border-color: rgba(255, 59, 79, 0.36);
  color: #eaf8ff;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 72% 18%, rgba(255, 59, 79, 0.19), transparent 32%),
    linear-gradient(135deg, rgba(14, 4, 8, 0.97), rgba(3, 7, 12, 0.99));
  box-shadow:
    0 0 42px rgba(255, 59, 79, 0.12),
    0 24px 70px rgba(0, 0, 0, 0.42);
}

.reader--dark::after {
  content: "DARKNET NODE // READ ONLY // DO NOT TRUST THE BALANCE";
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: rgba(255, 59, 79, 0.32);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  pointer-events: none;
}

.reader--dark .reader__hud {
  display: grid;
}

.reader--dark .reader__portrait {
  display: grid;
  border-color: rgba(255, 59, 79, 0.32);
  background:
    linear-gradient(0deg, rgba(255, 59, 79, 0.08), transparent 50%),
    radial-gradient(circle at 50% 25%, rgba(63, 231, 255, 0.22), transparent 35%),
    linear-gradient(165deg, rgba(255, 59, 79, 0.2), rgba(5, 8, 12, 0.98));
}

.reader--dark .reader__portrait img {
  filter:
    drop-shadow(0 26px 28px rgba(0, 0, 0, 0.72))
    saturate(0.72)
    contrast(1.18);
}

.reader--dark .reader__meta {
  color: var(--red);
}

.reader--dark .reader__person {
  color: var(--gold);
}

.reader--dark blockquote {
  color: #e7f9fc;
  font-family: inherit;
  text-shadow: 0 0 18px rgba(63, 231, 255, 0.1);
}

.reader--dark .reader__passage p {
  color: #bfd5dc;
}

.reader--dark aside {
  display: block;
}

.segmented {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.segmented button {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.segmented .is-active {
  background: var(--cyan);
  color: #001114;
}

.timeline__list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 310px);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}

.timeline-item {
  display: grid;
  align-content: start;
  min-height: 280px;
  padding: 18px;
  border-top: 3px solid var(--red);
  background: var(--panel);
  scroll-snap-align: start;
}

.timeline-item > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.timeline-signal-label {
  width: fit-content;
  margin: 16px 0 7px;
  padding: 4px 7px;
  border: 1px solid rgba(105, 240, 165, 0.22);
  background: rgba(105, 240, 165, 0.08);
  color: var(--green);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-item .timeline-signal {
  margin: 0;
  color: #d8eef2;
  line-height: 1.58;
}

.timeline-sample {
  display: grid;
  gap: 5px;
  margin-top: 16px;
  padding: 13px;
  border: 1px solid rgba(63, 231, 255, 0.22);
  background:
    linear-gradient(90deg, rgba(63, 231, 255, 0.08), transparent 72%),
    rgba(2, 8, 11, 0.72);
}

.timeline-sample span,
.timeline-sample em,
.timeline-sample a {
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
}

.timeline-sample span {
  color: var(--green);
  text-transform: uppercase;
}

.timeline-sample strong {
  color: var(--text);
}

.timeline-sample em {
  color: var(--gold);
  font-style: normal;
}

.timeline-sample a {
  width: fit-content;
  margin-top: 6px;
  border-bottom: 1px solid rgba(105, 240, 165, 0.5);
  color: var(--green);
  text-decoration: none;
  text-transform: uppercase;
}

.timeline-sample a:hover,
.timeline-sample a:focus-visible {
  color: var(--cyan);
}

.quiz__body {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(280px, 0.58fr);
  gap: 16px;
  max-width: 1180px;
  padding: 16px;
  border: 1px solid rgba(63, 231, 255, 0.32);
  background:
    radial-gradient(circle at 18% 12%, rgba(63, 231, 255, 0.16), transparent 34%),
    radial-gradient(circle at 84% 20%, rgba(255, 59, 79, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(7, 15, 20, 0.96), rgba(3, 6, 8, 0.98));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.quiz__body::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.038) 0 1px, transparent 1px 11px),
    linear-gradient(90deg, rgba(63, 231, 255, 0.14), transparent 25%, transparent 74%, rgba(255, 59, 79, 0.12));
  opacity: 0.48;
}

.quiz__briefing,
.quiz__result {
  position: relative;
  z-index: 1;
}

.quiz__briefing {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 8, 11, 0.64);
}

.quiz__status {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(63, 231, 255, 0.18);
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
}

.quiz__status span {
  color: var(--green);
  font-weight: 800;
}

.quiz__status strong {
  color: var(--red);
  font-weight: 800;
}

.quiz__question {
  margin: 0 0 20px;
  max-width: 720px;
  color: #e7f5f7;
  font-size: clamp(1.22rem, 2.1vw, 1.8rem);
  font-weight: 800;
  line-height: 1.25;
}

.quiz__answers {
  display: grid;
  gap: 10px;
}

.quiz__answers button {
  position: relative;
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 12px;
  align-content: center;
  padding: 14px 16px;
  border: 1px solid rgba(63, 231, 255, 0.18);
  background:
    linear-gradient(90deg, rgba(63, 231, 255, 0.08), transparent 58%),
    rgba(4, 10, 13, 0.86);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.quiz__answers button::after {
  content: "";
  position: absolute;
  inset: auto 14px 9px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.quiz__answers button span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(105, 240, 165, 0.35);
  color: var(--green);
  font-family: "Courier New", monospace;
  font-weight: 800;
}

.quiz__answers button strong {
  font-size: 1rem;
}

.quiz__answers button em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.86rem;
}

.quiz__answers button:hover,
.quiz__answers button:focus-visible,
.quiz__answers button.is-active {
  border-color: rgba(63, 231, 255, 0.72);
  background:
    linear-gradient(90deg, rgba(63, 231, 255, 0.17), transparent 64%),
    rgba(7, 15, 19, 0.96);
  transform: translateX(3px);
}

.quiz__answers button:hover::after,
.quiz__answers button:focus-visible::after,
.quiz__answers button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.quiz__answers button.is-active span {
  border-color: rgba(255, 59, 79, 0.6);
  background: var(--red);
  color: #fff;
}

.quiz__result {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(105, 240, 165, 0.22);
  background:
    linear-gradient(145deg, rgba(105, 240, 165, 0.08), transparent 44%),
    rgba(2, 7, 9, 0.78);
}

.quiz__result::before {
  content: "SURVIVAL SCAN";
  justify-self: start;
  padding: 6px 8px;
  border: 1px solid rgba(63, 231, 255, 0.24);
  color: var(--cyan);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.quiz__result h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  line-height: 1.02;
}

.quiz output {
  display: block;
  min-height: 120px;
  color: #c9d8dc;
  font-weight: 600;
  line-height: 1.58;
}

.quiz__meters {
  display: grid;
  gap: 11px;
  margin-top: 4px;
}

.quiz-meter {
  display: grid;
  grid-template-columns: 84px 1fr 46px;
  gap: 10px;
  align-items: center;
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
}

.quiz-meter span {
  color: var(--muted);
  text-transform: uppercase;
}

.quiz-meter i {
  position: relative;
  height: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.quiz-meter i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  background: linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: 0 0 18px rgba(63, 231, 255, 0.34);
  transition: width 0.35s ease;
}

.quiz-meter strong {
  color: var(--green);
  text-align: right;
}

.quiz__profile-link {
  width: fit-content;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 59, 79, 0.4);
  background: rgba(255, 59, 79, 0.1);
  color: #ffdce0;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

.quiz__profile-link:hover,
.quiz__profile-link:focus-visible {
  border-color: var(--cyan);
  color: #fff;
}

.tech-grid,
.news-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tech-lab {
  display: grid;
  grid-template-columns: minmax(260px, 0.35fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
}

.tech-lab__readout {
  position: sticky;
  top: 112px;
  padding: 22px;
  border: 1px solid rgba(63, 231, 255, 0.24);
  background:
    radial-gradient(circle at 20% 10%, rgba(63, 231, 255, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(8, 17, 22, 0.96), rgba(4, 7, 10, 0.98));
}

.tech-lab__readout p {
  color: var(--muted);
  line-height: 1.58;
}

.tech-lab .tech-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tech-card,
.news-grid article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--panel-2);
}

.news-grid article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 270px;
  overflow: hidden;
}

.news-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(63, 231, 255, 0.08), transparent 48%, rgba(255, 59, 79, 0.06));
  opacity: 0.72;
}

.news-grid article > * {
  position: relative;
}

.tech-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 360px;
  overflow: hidden;
  border-color: rgba(63, 231, 255, 0.18);
  background:
    linear-gradient(145deg, rgba(63, 231, 255, 0.07), transparent 36%),
    linear-gradient(180deg, rgba(13, 22, 29, 0.96), rgba(5, 8, 12, 0.98));
}

.tech-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.035), transparent);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.tech-card:hover::before,
.tech-card:focus-within::before {
  transform: translateX(120%);
}

.tech-card > * {
  position: relative;
}

.tech-card__top,
.tech-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tech-card__top span,
.tech-card__top em,
.tech-card__footer span,
.tech-card__footer a {
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
}

.tech-card__top span {
  color: var(--red);
}

.tech-card__top em {
  color: var(--green);
  font-style: normal;
}

.tech-card h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.tech-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.tech-card__explain {
  padding: 13px;
  border-left: 3px solid rgba(255, 203, 107, 0.74);
  background: rgba(255, 203, 107, 0.055);
}

.tech-card__explain strong {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.tech-card__footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(63, 231, 255, 0.16);
}

.tech-card__footer span {
  color: var(--red);
  text-transform: uppercase;
}

.tech-card__footer a {
  border-bottom: 1px solid rgba(105, 240, 165, 0.54);
  color: var(--green);
  text-decoration: none;
  text-transform: uppercase;
}

.tech-card__footer a:hover,
.tech-card__footer a:focus-visible {
  color: var(--cyan);
}

.easter-toast {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 40;
  max-width: min(420px, calc(100vw - 28px));
  padding: 14px 16px;
  border: 1px solid rgba(105, 240, 165, 0.44);
  color: #dffff0;
  font-family: "Courier New", monospace;
  font-size: 0.84rem;
  background: rgba(3, 9, 11, 0.94);
  box-shadow: 0 0 30px rgba(105, 240, 165, 0.16);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.easter-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bank-notification {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  gap: 12px;
  width: min(392px, calc(100vw - 28px));
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #f5f7fb;
  background:
    linear-gradient(180deg, rgba(37, 42, 49, 0.98), rgba(24, 27, 32, 0.98)),
    rgba(32, 35, 40, 0.98);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.bank-notification.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.bank-notification__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 7px;
  color: #07141b;
  background: linear-gradient(135deg, #45d7ff, #7af2a3);
  font-weight: 900;
  box-shadow: 0 0 22px rgba(69, 215, 255, 0.24);
}

.bank-notification__body {
  min-width: 0;
}

.bank-notification__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #d8dce4;
  font-size: 0.82rem;
}

.bank-notification__top span,
.bank-notification__meta {
  color: #aab2bf;
}

.bank-notification h3 {
  margin: 5px 0 4px;
  color: #ffffff;
  font-size: 1rem;
}

.bank-notification p {
  margin: 0;
  color: #dfe5ee;
  font-size: 0.9rem;
  line-height: 1.42;
}

.bank-notification__meta {
  margin-top: 7px;
  font-size: 0.78rem;
}

.bank-notification button {
  font: inherit;
}

.bank-notification [data-bank-details] {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: #f6fbff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  text-decoration: none;
}

.bank-notification [data-bank-details]:hover,
.bank-notification [data-bank-details]:focus-visible {
  background: rgba(69, 215, 255, 0.18);
}

.bank-notification__close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 4px;
  color: #cdd3dd;
  background: transparent;
  cursor: pointer;
}

.bank-notification__close:hover,
.bank-notification__close:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.signal-starlink .grid-canvas,
.signal-reboot .grid-canvas {
  opacity: 0.92;
}

.signal-zero-day .hero {
  outline: 1px solid rgba(255, 59, 79, 0.28);
  outline-offset: -1px;
}

.signal-logo .brand__logo,
.signal-li .brand__logo {
  filter:
    drop-shadow(0 0 12px rgba(63, 231, 255, 0.36))
    drop-shadow(0 0 26px rgba(105, 240, 165, 0.2));
}

.author-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.author-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.news-grid span {
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.news-grid h3 {
  margin: 0;
  font-size: clamp(1.18rem, 2vw, 1.58rem);
  line-height: 1.08;
}

.news-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.news-grid a {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  border-bottom: 1px solid rgba(105, 240, 165, 0.54);
  color: var(--green);
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  text-decoration: none;
  text-transform: uppercase;
}

.news-grid a:hover,
.news-grid a:focus-visible {
  color: var(--cyan);
}

.news-card--feature,
.news-card--shop {
  grid-column: span 2;
}

.news-grid .news-card--feature {
  min-height: 330px;
  border-color: rgba(63, 231, 255, 0.28);
  background:
    radial-gradient(circle at 18% 12%, rgba(63, 231, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 59, 79, 0.09), transparent 48%),
    var(--panel-2);
}

.news-card--feature h3 {
  max-width: 700px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.news-card--download {
  border-color: rgba(214, 168, 79, 0.28);
  background:
    linear-gradient(145deg, rgba(214, 168, 79, 0.1), transparent 42%),
    var(--panel-2);
}

.news-card--shop {
  border-color: rgba(105, 240, 165, 0.28);
  background:
    linear-gradient(145deg, rgba(105, 240, 165, 0.08), transparent 42%),
    var(--panel-2);
}

.news-card--shop ul {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  padding-left: 18px;
  color: #d8eef2;
  line-height: 1.46;
}

.shop-tags {
  color: var(--gold);
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.buy {
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(170px, 0.42fr) minmax(280px, 0.9fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(22px, 4vw, 52px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 42%, rgba(255, 59, 79, 0.2), transparent 30%),
    radial-gradient(circle at 78% 35%, rgba(63, 231, 255, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(8, 16, 20, 0.96), rgba(3, 4, 6, 0.98) 62%, rgba(25, 5, 8, 0.96));
}

.buy::before,
.buy::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.buy::before {
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent, rgba(63, 231, 255, 0.22), transparent 34%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px);
  opacity: 0.58;
}

.buy::after {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 59, 79, 0.82), rgba(63, 231, 255, 0.62), transparent);
  box-shadow: 0 0 28px rgba(255, 59, 79, 0.44);
  animation: buy-signal 5s linear infinite;
}

.buy__signal {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
}

.buy__signal::before {
  content: "";
  position: absolute;
  width: min(280px, 68vw);
  aspect-ratio: 1;
  border: 1px solid rgba(63, 231, 255, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 59, 79, 0.18), transparent 58%),
    conic-gradient(from 120deg, transparent, rgba(63, 231, 255, 0.34), transparent 24%, rgba(255, 59, 79, 0.34), transparent 52%);
  filter: blur(0.2px);
  animation: buy-radar 9s linear infinite;
}

.buy__signal img {
  position: relative;
  width: min(260px, 70vw);
  max-height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 30px 28px rgba(0, 0, 0, 0.64));
}

.buy__signal span {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: max-content;
  padding: 7px 10px;
  border: 1px solid rgba(105, 240, 165, 0.32);
  background: rgba(3, 8, 10, 0.82);
  color: var(--green);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.buy__copy {
  position: relative;
  z-index: 1;
}

.buy__copy h2 {
  max-width: 820px;
  margin-bottom: 18px;
  text-shadow: 0 0 26px rgba(255, 59, 79, 0.2);
}

.buy__copy p:not(.eyebrow) {
  max-width: 720px;
  color: #c8d7dc;
  font-size: clamp(1.04rem, 1.55vw, 1.28rem);
  line-height: 1.62;
}

.buy__pulse {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.buy__pulse span {
  padding: 10px 12px;
  border: 1px solid rgba(63, 231, 255, 0.2);
  background: rgba(2, 7, 10, 0.62);
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
}

.buy__pulse strong {
  display: block;
  margin-bottom: 2px;
  color: var(--green);
  font-family: inherit;
  text-transform: uppercase;
}

.buy .buy__actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 0;
}

.buy-card {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 96px;
  padding: 16px 18px 16px 62px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(63, 231, 255, 0.08), transparent 58%),
    rgba(6, 12, 15, 0.84);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.buy-card span {
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(63, 231, 255, 0.44);
  color: var(--cyan);
  font-family: "Courier New", monospace;
  font-weight: 800;
}

.buy-card strong {
  align-self: end;
  font-size: 1.04rem;
}

.buy-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
}

.buy-card:hover,
.buy-card:focus-visible {
  border-color: rgba(63, 231, 255, 0.74);
  background:
    linear-gradient(135deg, rgba(63, 231, 255, 0.18), transparent 62%),
    rgba(8, 17, 21, 0.94);
  transform: translateY(-2px);
}

.buy-card--primary {
  border-color: rgba(255, 59, 79, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 59, 79, 0.26), rgba(63, 231, 255, 0.08) 72%),
    rgba(13, 8, 10, 0.92);
}

.buy-card--primary span {
  border-color: rgba(255, 255, 255, 0.4);
  background: var(--red);
  color: #fff;
}

.buy-card--shop {
  border-color: rgba(105, 240, 165, 0.32);
}

.buy .button {
  min-height: 42px;
  background: rgba(3, 8, 10, 0.62);
}

@keyframes buy-signal {
  0%, 100% { transform: translateY(-90px); opacity: 0; }
  12%, 78% { opacity: 0.9; }
  50% { transform: translateY(96px); }
}

@keyframes buy-radar {
  to { transform: rotate(360deg); }
}

.site-footer {
  padding: 30px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #030405;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a,
.footer-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--text);
}

.privacy-dialog {
  width: min(760px, calc(100vw - 28px));
  max-height: min(780px, calc(100vh - 28px));
  padding: 0;
  border: 1px solid rgba(63, 231, 255, 0.36);
  background: transparent;
  color: var(--text);
  box-shadow: var(--shadow);
}

.privacy-dialog::backdrop {
  background: rgba(1, 4, 6, 0.78);
  backdrop-filter: blur(8px);
}

.privacy-dialog__panel {
  position: relative;
  overflow: auto;
  max-height: inherit;
  padding: clamp(20px, 4vw, 34px);
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 12px),
    radial-gradient(circle at 18% 10%, rgba(63, 231, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(7, 15, 20, 0.98), rgba(2, 5, 8, 0.98));
}

.privacy-dialog__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.privacy-dialog__top button {
  width: 38px;
  min-height: 38px;
  border: 1px solid rgba(255, 59, 79, 0.5);
  background: rgba(255, 59, 79, 0.1);
  color: #ffd8dd;
  cursor: pointer;
  font-size: 1.3rem;
}

.privacy-dialog h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.privacy-dialog p,
.privacy-dialog li {
  color: var(--muted);
  line-height: 1.62;
}

.privacy-dialog ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.privacy-dialog a {
  color: var(--green);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-video {
    display: none;
  }
}

@media (max-width: 1280px) {
  .site-header {
    gap: 10px;
    padding-right: clamp(12px, 2.6vw, 34px);
    padding-left: clamp(12px, 2.6vw, 34px);
  }

  .brand {
    width: clamp(148px, 12.5vw, 190px);
  }

  .nav {
    gap: 4px;
  }

  .nav a {
    min-width: 70px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-link {
    padding-right: 8px;
    padding-left: 8px;
  }

  .header-link--shop {
    display: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 8px;
    scrollbar-width: thin;
  }

  .nav a {
    flex: 0 0 auto;
    min-width: 112px;
  }

  .hero,
  .split,
  .map-shell,
  .buy,
  .quiz__body,
  .video-showcase,
  .media-support,
  .tech-lab,
  .sample-console {
    grid-template-columns: 1fr;
  }

  .tech-lab__readout {
    position: relative;
    top: auto;
  }

  .dossier-grid,
  .sample-grid,
  .intel-grid,
  .media-grid,
  .tech-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-card--wide,
  .download-card {
    grid-column: span 2;
  }

  .media-support .download-card {
    grid-column: auto;
  }

  .campaign-database__body {
    grid-template-columns: 1fr;
  }

  .database-tree {
    border-right: 0;
    border-bottom: 1px solid rgba(63, 231, 255, 0.18);
  }

  .reader-download-grid {
    grid-template-columns: 1fr;
  }

  .reader-download--wide {
    grid-column: auto;
  }

  .premium-kit__hero,
  .kit-asset-grid,
  .image-cover-grid {
    grid-template-columns: 1fr;
  }

  .image-cover-card--wide {
    grid-column: auto;
  }

  .premium-kit__hero img {
    height: auto;
    max-height: 420px;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: center;
    gap: 10px;
  }

  .brand {
    width: clamp(126px, 36vw, 156px);
  }

  .brand__logo {
    width: 100%;
  }

  .header-actions {
    gap: 6px;
  }

  .header-link {
    min-height: 34px;
    padding: 0 8px;
    font-size: 0.72rem;
  }

  select,
  .icon-button {
    min-height: 34px;
  }

  select {
    padding: 0 8px;
  }

  .icon-button {
    width: 34px;
  }

  .header-link--shop {
    display: none;
  }

  .nav a {
    min-width: 104px;
    min-height: 42px;
    padding: 7px 10px;
  }

  .nav a small {
    display: none;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5rem);
  }

  .dossier-grid,
  .sample-grid,
  .intel-grid,
  .media-grid,
  .tech-grid,
  .tech-lab .tech-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .media-card--wide,
  .download-card,
  .news-card--feature,
  .news-card--shop {
    grid-column: auto;
  }

  .download-card {
    grid-template-columns: 1fr;
  }

  .campaign-database__header {
    display: grid;
  }

  .database-tree {
    padding: 16px;
  }

  .buy {
    padding-top: 56px;
    padding-bottom: 56px;
    gap: 18px;
  }

  .buy__signal {
    min-height: 235px;
  }

  .buy__signal img {
    width: min(215px, 64vw);
    max-height: 260px;
  }

  .buy__signal span {
    bottom: 0;
  }

  .buy__pulse {
    gap: 8px;
  }

  .buy__pulse span {
    flex: 1 1 100%;
  }

  .buy-card {
    min-height: 86px;
    padding: 14px 14px 14px 56px;
  }

  .database-panels {
    padding: 18px;
  }

  .press-form,
  .checkbox-cluster,
  .press-form .form-wide,
  .press-form button {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .reader-download {
    grid-template-columns: 1fr;
  }

  .reader-download img {
    max-height: 440px;
  }

  .video-showcase {
    padding: 18px;
  }

  .reader__layout {
    grid-template-columns: 1fr;
  }

  .reader__hud {
    grid-template-columns: 1fr;
  }

  .reader__portrait {
    min-height: 320px;
  }

  .sample-tabs {
    grid-template-columns: 1fr;
  }

  .quiz__body {
    padding: 12px;
  }

  .quiz__briefing,
  .quiz__result {
    padding: 18px;
  }

  .quiz__answers button {
    min-height: 66px;
    padding: 12px;
  }

  .quiz-meter {
    grid-template-columns: 1fr 46px;
  }

  .quiz-meter span {
    grid-column: 1 / -1;
  }

  .real-world-map {
    height: 390px;
    min-height: 390px;
  }

  .real-world-map.leaflet-container {
    height: 390px;
    min-height: 390px;
  }

  .bank-notification {
    right: 14px;
    bottom: 14px;
    grid-template-columns: 38px minmax(0, 1fr) 28px;
    width: calc(100vw - 28px);
  }

  .bank-notification__icon {
    width: 38px;
    height: 38px;
  }

  .video-stage__hud {
    justify-content: flex-start;
  }

  .cover-visual {
    min-height: 360px;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
