:root {
  --ink: #030406;
  --black: #07090b;
  --panel: rgba(9, 13, 16, 0.82);
  --panel-strong: #0a0f12;
  --bone: #f0f2ee;
  --fog: rgba(240, 242, 238, 0.78);
  --muted: #9aa6a8;
  --cyan: #77d9ff;
  --red: #ef3044;
  --red-dark: #9d0012;
  --amber: #cba24d;
  --sodium: #a36d33;
  --smoke: rgba(12, 13, 12, 0.72);
  --paper-dark: #0d0d0a;
  --line: rgba(240, 242, 238, 0.14);
  --line-blue: rgba(119, 217, 255, 0.28);
  --max: 1160px;
  --display: "Bahnschrift Condensed", "Arial Narrow", Impact, Haettenschweiler, sans-serif;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.52);
  --shadow-deep: 0 32px 110px rgba(0, 0, 0, 0.78);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 0%, rgba(119, 217, 255, 0.065), transparent 30rem),
    radial-gradient(circle at 86% 26%, rgba(239, 48, 68, 0.055), transparent 25rem),
    linear-gradient(180deg, #010203 0%, #050708 36%, #020202 100%);
  color: var(--bone);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.46), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.52)),
    radial-gradient(circle at 50% 20%, transparent 0 34%, rgba(0, 0, 0, 0.6) 88%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 5px);
  mix-blend-mode: multiply;
}

body::selection {
  background: var(--red);
  color: white;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-blue);
  border-radius: 3px;
  background: rgba(2, 4, 6, 0.88);
  color: var(--bone);
  padding: 12px 14px;
}

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

.grain,
.rain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.grain {
  z-index: 90;
  opacity: 0.075;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 10px 10px;
  mix-blend-mode: screen;
}

.rain {
  z-index: 1;
  opacity: 0.12;
  background: repeating-linear-gradient(105deg, transparent 0 30px, rgba(170, 230, 255, 0.16) 31px, transparent 33px);
  animation: rain-drift 22s linear infinite;
  mask-image: linear-gradient(180deg, black, transparent 92%);
}

@keyframes rain-drift {
  from { transform: translate3d(0, -4%, 0); }
  to { transform: translate3d(-4%, 4%, 0); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
  padding: 14px 28px;
  border-bottom: 1px solid rgba(119, 217, 255, 0.16);
  background: linear-gradient(180deg, rgba(2, 4, 6, 0.95), rgba(2, 4, 6, 0.82));
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.38);
}

.site-header.is-scrolled {
  background: rgba(2, 4, 6, 0.94);
}

.brand {
  display: inline-grid;
  line-height: 0.86;
  text-transform: uppercase;
  font-family: var(--display);
  min-width: 112px;
}

.brand span {
  font-size: 14px;
  color: var(--fog);
}

.brand strong {
  font-size: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 0;
}

.nav-links a,
.header-cta,
.footer-links a {
  color: var(--fog);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(119, 217, 255, 0.28);
}

.header-cta {
  justify-self: end;
  padding: 12px 16px;
  border: 1px solid var(--line-blue);
  background: rgba(119, 217, 255, 0.06);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-blue);
  border-radius: 3px;
  background: rgba(5, 8, 11, 0.9);
  color: var(--bone);
  text-transform: uppercase;
  font-weight: 900;
}

.menu-toggle i,
.menu-toggle i::before,
.menu-toggle i::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bone);
  content: "";
}

.menu-toggle i {
  position: relative;
}

.menu-toggle i::before,
.menu-toggle i::after {
  position: absolute;
  left: 0;
}

.menu-toggle i::before {
  top: -7px;
}

.menu-toggle i::after {
  top: 7px;
}

.button,
.link-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  border: 1px solid var(--line-blue);
  padding: 13px 18px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
}

.button.primary {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 48%),
    linear-gradient(180deg, #ff4054 0%, #b90016 100%);
  box-shadow: 0 18px 38px rgba(201, 0, 24, 0.28);
  color: white;
}

.button.secondary,
.button.ghost {
  background:
    linear-gradient(180deg, rgba(119, 217, 255, 0.08), rgba(3, 8, 12, 0.72)),
    rgba(3, 8, 12, 0.72);
  color: var(--cyan);
}

.button:hover,
.link-button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.link-button {
  width: 100%;
  background: transparent;
  color: var(--cyan);
}

.section {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0;
}

.section::before {
  position: absolute;
  top: 40px;
  left: 0;
  width: 74px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0.64;
}

.section-heading {
  max-width: 780px;
}

.section-heading h2,
.sample-intro h2,
.legal-hero h1 {
  margin: 10px 0 18px;
  font-family: var(--display);
  font-size: 48px;
  line-height: 0.98;
  text-transform: uppercase;
}

.section-heading p,
.about-copy,
.dispatch-copy,
.legal-content p {
  color: var(--fog);
  font-size: 18px;
  line-height: 1.7;
}

.eyebrow,
.kicker,
.panel-label {
  margin: 0;
  color: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.14em;
}

.hero {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  border-bottom: 1px solid rgba(119, 217, 255, 0.14);
  box-shadow: inset 0 -90px 120px rgba(0, 0, 0, 0.42);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(100deg, rgba(163, 109, 51, 0.12), transparent 19%, transparent 74%, rgba(119, 217, 255, 0.06)),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.38));
  mix-blend-mode: screen;
  opacity: 0.55;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  opacity: 0.27;
  filter: saturate(0.78) contrast(1.22) brightness(0.72);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(1, 2, 3, 0.98) 0%, rgba(2, 4, 6, 0.78) 48%, rgba(1, 2, 3, 0.92) 100%),
    radial-gradient(circle at 64% 48%, rgba(119, 217, 255, 0.11), transparent 32rem),
    linear-gradient(180deg, rgba(2, 4, 6, 0.18), rgba(1, 2, 3, 0.98));
}

.hero-grid {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - 48px));
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 54px;
  align-items: center;
  padding: 52px 0;
}

.hero-copy h1 {
  margin: 12px 0 18px;
  font-family: var(--display);
  font-size: 92px;
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.8), 0 0 24px rgba(119, 217, 255, 0.08);
}

.hero-copy h1 span {
  display: block;
  font-size: 30px;
}

.hero-lede {
  max-width: 680px;
  color: var(--fog);
  font-size: 24px;
  line-height: 1.48;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.62);
}

.hero-actions,
.buy-actions,
.terminal-actions,
.fit-actions,
.author-actions,
.admin-actions,
.scan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin-top: 28px;
}

.transmission {
  max-width: 560px;
  margin-top: 32px;
  padding: 18px 20px;
  border: 1px solid rgba(203, 162, 77, 0.34);
  border-left: 3px solid var(--amber);
  background:
    linear-gradient(90deg, rgba(203, 162, 77, 0.12), transparent 54%),
    rgba(4, 5, 4, 0.64);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.28), 0 20px 54px rgba(0, 0, 0, 0.24);
}

.transmission span {
  display: block;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.transmission strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.2;
  text-transform: uppercase;
}

.book-stack {
  width: 100%;
  justify-self: end;
}

.cover-shell {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(203, 162, 77, 0.28);
  background:
    linear-gradient(135deg, rgba(203, 162, 77, 0.14), transparent 22%),
    rgba(1, 3, 5, 0.92);
  box-shadow: var(--shadow-deep);
}

.cover-shell::before {
  position: absolute;
  top: 16px;
  left: -9px;
  z-index: 2;
  content: "EVIDENCE";
  padding: 6px 10px;
  background: rgba(157, 0, 18, 0.9);
  color: white;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.cover-shell::after {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.34);
}

.cover-shell img {
  width: 100%;
  aspect-ratio: 5 / 8;
  object-fit: contain;
  background: #020304;
}

.quick-buy {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(203, 162, 77, 0.2);
  background:
    linear-gradient(180deg, rgba(119, 217, 255, 0.035), transparent),
    rgba(4, 5, 5, 0.88);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.quick-buy p {
  margin: 0 0 14px;
  color: var(--fog);
  line-height: 1.45;
}

.buy-meta,
.author-meta,
.dossier-meta,
.admin-stats,
.orbit-panel dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.buy-meta {
  grid-template-columns: 1fr;
  margin-bottom: 16px;
}

.buy-meta div,
.author-meta div,
.dossier-meta div,
.admin-stats div,
.orbit-panel dl div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  align-items: baseline;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: var(--bone);
}

.launch-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.ticker {
  position: relative;
  z-index: 4;
  border-bottom: 1px solid rgba(119, 217, 255, 0.12);
  background: rgba(4, 8, 11, 0.82);
}

.ticker-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.ticker article {
  min-height: 118px;
  padding: 22px 18px;
  border-left: 1px solid rgba(119, 217, 255, 0.12);
}

.ticker article:last-child {
  border-right: 1px solid rgba(119, 217, 255, 0.12);
}

.ticker span {
  display: block;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ticker strong {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-size: 30px;
  text-transform: uppercase;
}

.ticker em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.35;
}

.about-grid,
.signal-layout,
.dispatch-grid,
.author-grid,
.interactive-grid,
.email-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: start;
}

.reader-fit,
.prose-card,
.orbit-panel,
.scanner,
.evidence,
.dispatch-form,
.admin-console,
.author-card,
.legal-content,
.map-report,
.email-preview,
.why-card {
  border: 1px solid rgba(119, 217, 255, 0.15);
  background:
    linear-gradient(145deg, rgba(163, 109, 51, 0.055), transparent 28%),
    linear-gradient(180deg, rgba(10, 15, 18, 0.94), rgba(5, 8, 11, 0.86));
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.36);
}

.reader-fit,
.prose-card,
.orbit-panel,
.scanner,
.evidence,
.dispatch-form,
.admin-console,
.author-card,
.legal-content,
.map-report,
.email-preview {
  padding: 24px;
}

.reader-fit ul,
.dossier-copy ul {
  padding-left: 18px;
  margin: 16px 0 22px;
  color: var(--fog);
  line-height: 1.65;
}

.why-section {
  padding-top: 42px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.why-card {
  position: relative;
  padding: 22px;
  overflow: hidden;
}

.why-card::after {
  position: absolute;
  right: -20px;
  bottom: 12px;
  color: rgba(240, 242, 238, 0.035);
  content: "FILE";
  font-family: var(--display);
  font-size: 82px;
  line-height: 1;
}

.why-card span,
.world-card span,
.email-sequence span,
.map-node span,
.evidence-item span {
  color: var(--amber);
  font-weight: 900;
  font-size: 13px;
}

.why-card h3,
.world-card h3,
.map-report h3,
.dossier-copy h3,
.scanner h3,
.author-card h3,
.email-preview h3 {
  margin: 10px 0;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

.why-card p,
.world-card p,
.map-report p,
.scanner p,
.evidence p,
.email-sequence p,
.email-preview p {
  margin: 0;
  color: var(--fog);
  line-height: 1.6;
}

.prose-card p {
  color: var(--fog);
  font-size: 18px;
  line-height: 1.75;
}

.prose-card p:first-child {
  margin-top: 0;
}

.noir-line {
  color: var(--bone) !important;
  font-weight: 900;
  text-transform: uppercase;
}

.orbit-panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.orbit-panel::before {
  position: absolute;
  inset: 18px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(203, 162, 77, 0.16);
}

.orbit-ring {
  height: 230px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.orbit-ring span {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1px solid rgba(119, 217, 255, 0.35);
  background:
    radial-gradient(circle at 42% 35%, rgba(119, 217, 255, 0.95), rgba(119, 217, 255, 0.18) 24%, transparent 52%),
    #071015;
  box-shadow: 0 0 70px rgba(119, 217, 255, 0.18);
}

.sample-section {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: 86px 0;
  border-top: 1px solid rgba(203, 162, 77, 0.16);
  border-bottom: 1px solid rgba(203, 162, 77, 0.16);
  box-shadow: inset 0 80px 110px rgba(0, 0, 0, 0.34), inset 0 -80px 110px rgba(0, 0, 0, 0.38);
}

.sample-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(2, 4, 6, 0.72), rgba(0, 0, 0, 0.9)),
    linear-gradient(180deg, rgba(2, 4, 6, 0.94), rgba(2, 4, 6, 0.84)),
    url("block-54.jpg") center / cover no-repeat;
  opacity: 0.9;
}

.sample-wrap {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.sample-intro p {
  color: var(--fog);
  line-height: 1.6;
}

.sample-stats {
  display: grid;
  gap: 8px;
  margin: 22px 0;
}

.sample-stats span,
.dispatch-promise span {
  border: 1px solid rgba(119, 217, 255, 0.18);
  background: rgba(119, 217, 255, 0.06);
  padding: 10px 12px;
  color: var(--fog);
}

.sample-tabs,
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sample-tab,
.tab {
  border: 1px solid rgba(119, 217, 255, 0.2);
  border-radius: 3px;
  background: rgba(5, 9, 12, 0.86);
  color: var(--fog);
  min-height: 44px;
  padding: 10px 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.sample-tab.is-active,
.tab.is-active {
  border-color: rgba(239, 48, 68, 0.75);
  background: rgba(239, 48, 68, 0.18);
  color: white;
}

.reader-terminal {
  min-width: 0;
  border: 1px solid rgba(203, 162, 77, 0.24);
  background:
    linear-gradient(180deg, rgba(9, 8, 6, 0.96), rgba(3, 5, 7, 0.96)),
    rgba(3, 5, 7, 0.94);
  box-shadow: var(--shadow-deep);
}

.terminal-top {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(203, 162, 77, 0.2);
  background: rgba(0, 0, 0, 0.24);
}

.terminal-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
}

.terminal-top span:nth-child(2) {
  background: var(--amber);
}

.terminal-top span:nth-child(3) {
  background: var(--cyan);
}

.terminal-top strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.read-progress {
  height: 3px;
  background: rgba(119, 217, 255, 0.12);
}

.read-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
}

.sample-copy {
  max-height: 520px;
  overflow: auto;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 28px 28px;
}

.sample-copy p {
  color: var(--fog);
  font-size: 19px;
  line-height: 1.8;
}

.sample-copy .drop:first-letter {
  float: left;
  margin: 6px 8px 0 0;
  font-family: var(--display);
  font-size: 58px;
  line-height: 0.8;
  color: var(--cyan);
}

.terminal-actions {
  padding: 18px;
  border-top: 1px solid rgba(119, 217, 255, 0.16);
}

.dossier-shell {
  margin-top: 28px;
}

.tabs {
  margin-bottom: 14px;
}

.dossier {
  position: relative;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;
  padding: 20px;
  border: 1px solid rgba(203, 162, 77, 0.2);
  background:
    linear-gradient(135deg, rgba(203, 162, 77, 0.08), transparent 34%),
    rgba(5, 9, 12, 0.9);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.dossier::before {
  position: absolute;
  top: 16px;
  right: 18px;
  content: "RESTRICTED";
  color: rgba(239, 48, 68, 0.52);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  transform: rotate(-2deg);
}

.dossier img {
  width: 100%;
  aspect-ratio: 9 / 11;
  object-fit: cover;
  border: 1px solid rgba(203, 162, 77, 0.22);
  filter: contrast(1.08) saturate(0.82);
}

.dossier-copy p {
  color: var(--fog);
  line-height: 1.65;
}

.dossier-meta {
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0;
}

.dossier-meta div {
  grid-template-columns: 1fr;
  padding: 14px;
  border: 1px solid rgba(203, 162, 77, 0.17);
  background: rgba(203, 162, 77, 0.045);
}

.world-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  margin-top: 30px;
}

.world-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: grid;
  align-content: end;
  border: 1px solid rgba(119, 217, 255, 0.14);
  background: #05080b;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.world-card.large {
  grid-row: span 2;
  min-height: 560px;
}

.world-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
  filter: saturate(0.72) contrast(1.18);
}

.world-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.4), transparent 48%),
    linear-gradient(180deg, transparent 16%, rgba(2, 4, 6, 0.94));
}

.world-card div {
  position: relative;
  z-index: 2;
  padding: 24px;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.map-node {
  min-height: 132px;
  border: 1px solid rgba(119, 217, 255, 0.15);
  background:
    linear-gradient(180deg, rgba(119, 217, 255, 0.035), transparent),
    rgba(5, 9, 12, 0.88);
  color: var(--bone);
  padding: 18px;
  text-align: left;
}

.map-node strong,
.map-node em {
  display: block;
}

.map-node strong {
  margin: 10px 0 6px;
  font-family: var(--display);
  font-size: 25px;
  text-transform: uppercase;
}

.map-node em {
  color: var(--muted);
  font-style: normal;
}

.map-node.is-active {
  border-color: rgba(239, 48, 68, 0.68);
  background: rgba(239, 48, 68, 0.13);
}

.map-report {
  grid-column: 1 / -1;
}

.interactive-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
}

.scanner-screen {
  padding: 22px;
  border: 1px solid rgba(119, 217, 255, 0.16);
  background: radial-gradient(circle at 50% 0%, rgba(119, 217, 255, 0.12), rgba(3, 5, 7, 0.92) 46%);
}

.scan-bars {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}

.scan-bars div {
  display: grid;
  grid-template-columns: 110px 45px 1fr;
  gap: 12px;
  align-items: center;
}

.scan-bars span,
.scan-bars b {
  color: var(--fog);
  font-size: 13px;
  text-transform: uppercase;
}

.scan-bars i {
  height: 8px;
  overflow: hidden;
  background: rgba(119, 217, 255, 0.12);
}

.scan-bars em {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--red));
}

.scan-options,
.scan-actions {
  margin-top: 14px;
}

.scan-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.scan-id,
.scan-file {
  margin-top: 14px;
  color: var(--cyan);
  font-weight: 900;
}

.evidence {
  display: grid;
  gap: 12px;
}

.evidence-item {
  width: 100%;
  border: 1px solid rgba(119, 217, 255, 0.18);
  background: rgba(4, 8, 11, 0.86);
  color: var(--bone);
  padding: 18px;
  text-align: left;
}

.evidence-item strong {
  display: block;
  margin: 8px 0;
  font-family: var(--display);
  font-size: 25px;
  text-transform: uppercase;
}

.evidence-item em {
  color: var(--cyan);
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.author-grid {
  grid-template-columns: 340px minmax(0, 1fr);
}

.author-card {
  position: sticky;
  top: 98px;
}

.author-mark {
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(119, 217, 255, 0.28);
  background: radial-gradient(circle, rgba(119, 217, 255, 0.18), rgba(5, 9, 12, 0.88));
}

.author-mark span {
  font-family: var(--display);
  font-size: 42px;
}

.author-copy p {
  color: var(--fog);
  font-size: 17px;
  line-height: 1.7;
}

.dispatch-grid {
  grid-template-columns: minmax(0, 1fr) 430px;
}

.email-sequence {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.email-sequence article {
  border-left: 2px solid var(--line-blue);
  padding: 14px 0 14px 18px;
}

.email-sequence strong {
  display: block;
  margin: 4px 0;
  text-transform: uppercase;
}

.dispatch-form {
  display: grid;
  gap: 14px;
}

.dispatch-form label {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.dispatch-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.dispatch-promise {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.consent-line {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--fog) !important;
  line-height: 1.45;
}

.consent-line input {
  min-height: 0;
  height: 20px;
  margin: 0;
  accent-color: var(--red);
}

.privacy-note,
.form-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.email-admin {
  padding-top: 20px;
}

.admin-stats {
  grid-template-columns: repeat(3, 1fr);
}

.admin-stats div {
  grid-template-columns: 1fr;
  border: 1px solid rgba(119, 217, 255, 0.16);
  padding: 14px;
}

.email-preview {
  margin-top: 18px;
}

.site-footer {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0 98px;
  border-top: 1px solid rgba(119, 217, 255, 0.14);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 22px;
  align-items: center;
}

.site-footer strong {
  display: block;
  font-family: var(--display);
  font-size: 30px;
  text-transform: uppercase;
}

.site-footer span {
  color: var(--muted);
}

.footer-links,
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.footer-trust {
  color: var(--muted);
  font-size: 13px;
}

.footer-trust span,
.footer-trust a {
  border: 1px solid rgba(119, 217, 255, 0.14);
  padding: 8px 10px;
}

.mobile-cta-bar {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 85;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(119, 217, 255, 0.2);
  background: rgba(2, 4, 6, 0.94);
  backdrop-filter: blur(14px);
}

.mobile-cta-bar a {
  min-height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(119, 217, 255, 0.24);
  color: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
}

.mobile-cta-bar a:first-child {
  background: linear-gradient(180deg, #ff4054, #c90018);
  color: white;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 95;
  max-width: min(440px, calc(100% - 32px));
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(119, 217, 255, 0.28);
  background: rgba(2, 4, 6, 0.96);
  color: var(--bone);
  padding: 13px 16px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

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

.legal-body {
  min-height: 100vh;
}

.legal-main {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0;
}

.legal-hero {
  margin-bottom: 26px;
}

.legal-content h2 {
  margin: 28px 0 8px;
  font-family: var(--display);
  font-size: 30px;
  text-transform: uppercase;
}

.legal-content a {
  color: var(--cyan);
  text-decoration: underline;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 1px);
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(119, 217, 255, 0.2);
    background: rgba(2, 4, 6, 0.98);
  }

  .menu-open .nav-links {
    display: grid;
  }

  .nav-links a {
    min-height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(119, 217, 255, 0.14);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
  }

  .hero-copy h1 {
    font-size: 78px;
  }

  .why-grid,
  .ticker-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .signal-layout,
  .dispatch-grid,
  .author-grid,
  .interactive-grid,
  .email-admin-grid,
  .sample-wrap {
    grid-template-columns: 1fr;
  }

  .author-card {
    position: static;
  }

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

  .world-card.large,
  .world-card {
    min-height: 380px;
  }

  .map-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 84px;
  }

  .rain {
    display: none;
  }

  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .brand {
    min-width: 90px;
  }

  .brand span {
    font-size: 12px;
  }

  .brand strong {
    font-size: 28px;
  }

  .menu-toggle {
    min-height: 44px;
  }

  .menu-toggle span {
    font-size: 14px;
  }

  .section,
  .hero-grid,
  .ticker-inner,
  .sample-wrap,
  .site-footer,
  .legal-main {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 58px 0;
  }

  .section-heading h2,
  .sample-intro h2 {
    font-size: 38px;
  }

  .section-heading p,
  .about-copy,
  .dispatch-copy {
    font-size: 16px;
    line-height: 1.62;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg {
    opacity: 0.2;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px 0 46px;
  }

  .book-stack {
    order: -1;
    justify-self: stretch;
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
  }

  .cover-shell {
    padding: 6px;
    align-self: start;
  }

  .cover-shell::before {
    top: 10px;
    left: -6px;
    padding: 4px 7px;
    font-size: 9px;
  }

  .cover-shell::after {
    inset: 6px;
  }

  .cover-shell img {
    aspect-ratio: 5 / 8;
    object-fit: contain;
  }

  .quick-buy {
    margin-top: 0;
    padding: 12px;
    display: grid;
    align-content: center;
  }

  .quick-buy p {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .buy-meta {
    display: none;
  }

  .buy-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quick-buy .button {
    min-height: 42px;
    padding: 10px;
    font-size: 12px;
  }

  .launch-note {
    display: none;
  }

  .hero-copy h1 {
    font-size: 60px;
    margin-top: 10px;
  }

  .hero-copy h1 span {
    font-size: 22px;
  }

  .hero-lede {
    font-size: 19px;
    line-height: 1.5;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .transmission {
    margin-top: 22px;
  }

  .transmission strong {
    font-size: 20px;
  }

  .ticker-inner,
  .why-grid,
  .map-grid,
  .dossier,
  .dossier-meta,
  .dispatch-row,
  .dispatch-promise,
  .admin-stats,
  .scan-options {
    grid-template-columns: 1fr;
  }

  .dossier::before {
    top: 12px;
    right: 14px;
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .ticker article {
    min-height: 0;
    border-right: 1px solid rgba(119, 217, 255, 0.12);
  }

  .ticker strong {
    font-size: 26px;
  }

  .reader-fit,
  .prose-card,
  .orbit-panel,
  .scanner,
  .evidence,
  .dispatch-form,
  .admin-console,
  .author-card,
  .legal-content,
  .map-report {
    padding: 18px;
  }

  .sample-section {
    padding: 60px 0;
  }

  .sample-copy {
    max-height: 440px;
    padding: 20px;
  }

  .sample-copy p {
    font-size: 17px;
  }

  .terminal-actions,
  .fit-actions,
  .author-actions,
  .admin-actions,
  .scan-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .tab,
  .sample-tab {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .world-card.large,
  .world-card {
    min-height: 330px;
  }

  .world-card div {
    padding: 20px;
  }

  .scan-bars div {
    grid-template-columns: 88px 42px 1fr;
  }

  .author-meta div,
  .buy-meta div,
  .orbit-panel dl div {
    grid-template-columns: 86px 1fr;
  }

  .site-footer {
    padding: 30px 0 26px;
  }

  .footer-links,
  .footer-trust {
    align-items: stretch;
  }

  .footer-trust span,
  .footer-trust a {
    display: block;
  }

  .mobile-cta-bar {
    display: grid;
  }

  .legal-header .nav-links {
    display: none;
  }
}

@media (max-width: 390px) {
  .book-stack {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .quick-buy p {
    font-size: 12px;
  }

  .hero-copy h1 {
    font-size: 52px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .button,
  .mobile-cta-bar a {
    font-size: 13px;
  }
}

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