:root,
[data-theme="dark"] {
  --bg: #141312;
  --bg-chrome: #10100f;
  --canvas: #1c1b19;
  --text: #d8d2c6;
  --text-dim: #d8d2c6;
  --border: #34322e;
  --line: #5a564c;
  --dot: #f3efe4;
  --thread: rgba(210, 204, 190, 0.42);
  --dash: rgba(210, 204, 190, 0.55);
  --mark: #d8d2c6;
  --btn-bg: #ece6d8;
  --btn-fg: #161412;
  --chat-bg: #191816;
  --map-land: #2a2824;
  --map-water: #151412;
  --grid: rgba(255, 255, 255, 0.045);
  --header-bg: rgba(16, 16, 15, 0.86);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f3efe6;
  --bg-chrome: #ebe6db;
  --canvas: #f7f3ea;
  --text: #1c1914;
  --text-dim: #1c1914;
  --border: #d4cdc0;
  --line: #8a8376;
  --dot: #1c1914;
  --thread: rgba(28, 25, 20, 0.35);
  --dash: rgba(28, 25, 20, 0.45);
  --mark: #1c1914;
  --btn-bg: #1c1914;
  --btn-fg: #f3efe6;
  --chat-bg: #fffdf8;
  --map-land: #ddd6c8;
  --map-water: #c9c2b4;
  --grid: rgba(28, 25, 20, 0.06);
  --header-bg: rgba(243, 239, 230, 0.9);
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: auto;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

[data-theme="light"] body {
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 255, 255, 0.5), transparent 55%);
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 80;
  background: var(--btn-bg);
  color: var(--btn-fg);
  padding: 8px 12px;
}

.t-en { display: none; }
[data-lang="en"] .t-ru { display: none; }
[data-lang="en"] .t-en { display: inline; }

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(720px, calc(100% - 48px));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}

.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

[data-theme="light"] .brand-mark {
  filter: invert(1);
}

.brand-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-nav a,
.header-nav button {
  font: inherit;
  font-size: 13px;
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px 12px;
  text-decoration: none;
}

.header-nav a:hover,
.header-nav button:hover {
  color: var(--text);
  background: transparent;
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 3px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
}

.btn-solid {
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-color: var(--btn-bg);
}

.btn-solid:hover { filter: brightness(1.06); color: var(--btn-fg); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover { border-color: var(--text-dim); color: var(--text); }

.btn-os {
  min-width: 120px;
}

.lang-toggle {
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.lang-toggle:hover { border-color: var(--text-dim); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.theme-toggle:hover { border-color: var(--text-dim); }

.theme-toggle svg {
  width: 26px;
  height: 26px;
}

.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }

/* ——— Hero ——— */
.hero {
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding: 64px 0 20px;
  min-height: 0;
}

.hero > .wrap {
  position: relative;
  z-index: 2;
}

.hero-glitch {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.hero-glitch-frame {
  position: absolute;
  right: 3%;
  top: -56px;
  width: 38vw;
  height: 52vw;
  transform: none;
  opacity: 0.7;
}

.hero-glitch-layer {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  mix-blend-mode: screen;
  opacity: 0;
}

.hero-glitch-layer.is-a {
  background-image: url("brand-icon.png");
}

.hero-glitch-layer.is-b {
  background-image: url("brand-lockup.png");
}

.hero-glitch[data-face="a"] .is-a,
.hero-glitch[data-face="b"] .is-b {
  opacity: 1;
}

.hero-glitch-scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 2px,
      rgba(0, 0, 0, 0.18) 2px 3px
    );
  opacity: 0.28;
  mix-blend-mode: overlay;
}

.hero-glitch-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 32%, transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, transparent 12%, transparent 100%);
}

.hero-glitch.is-glitching .hero-glitch-frame {
  animation: wd-slice 280ms steps(2, end);
}

.hero-glitch.is-glitching .hero-glitch-layer {
  filter: drop-shadow(-10px 0 rgba(255, 32, 32, 0.7)) drop-shadow(10px 0 rgba(32, 220, 255, 0.7));
}

.hero-glitch.is-twitch .hero-glitch-frame {
  animation: wd-twitch 120ms steps(1, end);
}

.hero-glitch.is-glitching .hero-glitch-scan {
  opacity: 0.55;
  animation: wd-scan 80ms steps(2, end) infinite;
}

@keyframes wd-slice {
  0% {
    clip-path: inset(0 0 0 0);
    transform: translate(0, 0);
  }
  18% {
    clip-path: inset(8% 0 62% 0);
    transform: translate(-18px, 0);
  }
  36% {
    clip-path: inset(42% 0 12% 0);
    transform: translate(22px, 2px);
    filter: contrast(1.8) saturate(0);
  }
  54% {
    clip-path: inset(0 0 0 0);
    transform: translate(-6px, -3px);
  }
  72% {
    clip-path: inset(28% 0 36% 0);
    transform: translate(14px, 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
    transform: none;
  }
}

@keyframes wd-twitch {
  0% { transform: translate(0, 0); }
  40% { transform: translate(-7px, 1px); filter: contrast(1.4); }
  100% { transform: none; }
}

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

[data-theme="light"] .hero-glitch-layer {
  mix-blend-mode: multiply;
  filter: invert(1);
  opacity: 0;
}

[data-theme="light"] .hero-glitch[data-face="a"] .is-a,
[data-theme="light"] .hero-glitch[data-face="b"] .is-b {
  opacity: 0.92;
}

[data-theme="light"] .hero-glitch-frame {
  opacity: 0.88;
}

[data-theme="light"] .hero-glitch-scan,
[data-theme="light"] .hero-glitch.is-glitching .hero-glitch-scan {
  display: none;
}

[data-theme="light"] .hero-glitch.is-glitching .hero-glitch-layer {
  filter: invert(1) drop-shadow(-10px 0 rgba(255, 32, 32, 0.7)) drop-shadow(10px 0 rgba(32, 220, 255, 0.7));
}

@media (max-width: 820px) {
  .hero {
    min-height: 0;
  }
  .hero {
    overflow: hidden;
  }
  .hero-glitch {
    overflow: hidden;
  }
  .hero-glitch-frame {
    left: auto;
    right: 50%;
    top: 8%;
    width: 56vw;
    height: 76vw;
    transform: translateX(50%);
    opacity: 0.32;
  }
  .hero-glitch-layer {
    background-size: contain;
    background-position: center;
  }
  .hero-glitch-veil {
    background:
      linear-gradient(180deg, transparent 0%, var(--bg) 72%),
      linear-gradient(90deg, var(--bg) 0%, transparent 40%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glitch.is-glitching .hero-glitch-frame,
  .hero-glitch.is-twitch .hero-glitch-frame,
  .hero-glitch.is-glitching .hero-glitch-scan,
  .launch-glitch.is-glitching .launch-glitch-frame,
  .launch-glitch.is-twitch .launch-glitch-frame,
  .launch-glitch.is-glitching .launch-glitch-scan {
    animation: none;
  }
}

.hero-kicker {
  margin: 0 0 28px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero h1 {
  margin: 0;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: clamp(32px, 5.4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.lede {
  margin: 28px 0 0;
  max-width: 38em;
  font-size: 18px;
}

.lede-points {
  margin: 16px 0 0;
  padding: 0;
  max-width: 38em;
  list-style: none;
  font-size: 18px;
}

.lede-points li + li {
  margin-top: 10px;
}

.promise {
  margin: 22px 0 0;
  max-width: 36em;
  color: var(--text);
}

.hero-who {
  margin: 28px 0 0;
  max-width: 36em;
  padding: 0 0 0 16px;
  border-left: 2px solid var(--text);
  font-size: 17px;
  font-style: italic;
  color: var(--text);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.problem {
  margin: 48px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  max-width: 38em;
  font-size: 15px;
  color: var(--text-dim);
}

/* ——— Product stage ——— */
html.stage-preview .hero,
html.stage-preview .site-header {
  display: none;
}

html.stage-preview .stage-pin-sticky {
  top: 0;
  height: calc(100svh - var(--stage-peek));
}

html.stage-preview .stage-next-peek {
  top: calc(100svh - var(--stage-peek));
}

.stage-section {
  --stage-peek: 0px;
  padding: 0;
}

.stage-pin-track {
  height: 2800px;
}

.stage-pin-sticky {
  position: sticky;
  top: 58px;
  height: calc(100vh - 58px - var(--stage-peek));
  max-height: calc(100vh - 58px - var(--stage-peek));
  display: flex;
  align-items: stretch;
  padding: 2px 0 8px;
  background: var(--bg);
  overflow: hidden;
}

.stage-pin-sticky .wrap {
  display: flex;
  flex-direction: column;
  width: min(1120px, calc(100% - 48px));
  height: 100%;
}

.stage-next-peek {
  position: sticky;
  top: calc(100vh - var(--stage-peek));
  height: var(--stage-peek);
  overflow: hidden;
  pointer-events: none;
  background: var(--bg);
}

.stage-next-peek .section-title {
  margin: 32px 0 0;
}

.stage-pin-sticky .section-title {
  margin: 0 0 8px;
  flex-shrink: 0;
  text-align: center;
  font-size: 22px;
}

.stage {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  max-height: none;
  background: var(--canvas);
  border: 0;
}

.stage-board {
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: 100%;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
}

.stage-threads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.thread-line {
  stroke: var(--thread);
  stroke-width: 0.55;
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.thread-line.is-dash {
  stroke: var(--dash);
  stroke-dasharray: 1.2 1.1;
}

.token {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: 0;
  height: 0;
}

.token-figure {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 150px;
  height: 280px;
  max-width: 150px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 0 18px rgba(40, 180, 220, 0.28));
}

.token-burst {
  position: absolute;
  left: 50%;
  top: 0;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  color: var(--dot);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.token-burst line {
  stroke-width: 0.28;
  stroke-opacity: 0.1;
}

.token-burst line:nth-child(odd) {
  stroke-opacity: 0.055;
}

.token-burst line:nth-child(3n) {
  stroke-opacity: 0.03;
}

.token-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 1px var(--bg), 0 0 14px color-mix(in srgb, var(--dot) 28%, transparent);
  opacity: 0;
  z-index: 3;
}

.token-label {
  position: absolute;
  left: 12px;
  bottom: 16px;
  top: auto;
  transform: none;
  font-size: 11px;
  white-space: nowrap;
  color: var(--text);
  opacity: 0;
  line-height: 1.25;
  z-index: 6;
}

.token[data-kind="tower"] .token-label {
  left: auto;
  right: 12px;
  text-align: right;
}

.token[data-kind="server"] .token-label {
  left: 12px;
  right: auto;
  bottom: 16px;
  top: auto;
}

.dossier {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: stretch;
  width: 340px;
  background: var(--chat-bg);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
  font-family: inherit;
}

.dossier-photo {
  flex: 0 0 124px;
  width: 124px;
  max-width: none;
  align-self: stretch;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0;
}

.dossier-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 16px 14px 14px;
}

.dossier-kicker {
  margin: 0 0 2px;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--text-dim);
}

.dossier-name {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
}

.dossier-group {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--text);
}

.dossier-list {
  margin: 2px 0 0;
  padding-left: 1.15em;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

.dossier-list li { margin: 0; }

.dossier-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
}

.dossier-charts img {
  width: 100%;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
}

/* ——— How ——— */
.how, .not, .roles, .trust, .get, .legal-page, .peers, .inspire, .solution, .also, .compare, .problems {
  padding: 72px 0;
}

.inspire {
  padding-bottom: 8px;
}

.peers {
  padding-top: 24px;
  padding-bottom: 48px;
}

.compare {
  padding-top: 48px;
}

.solution-lead,
.problems-lead,
.peers-lead,
.inspire-lead {
  margin: -12px 0 28px;
  max-width: 40em;
  color: var(--text-dim);
}

.solution-lead {
  max-width: none;
}

.inspire-lead {
  max-width: 48em;
}

.inspire-board {
  position: relative;
  width: min(1200px, calc(100vw - 40px));
  margin-left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  background: transparent;
  border: 0;
}

.inspire-shot {
  width: 100%;
  height: auto;
  display: block;
}

.inspire-shot.is-light { display: none; }

[data-theme="light"] .inspire-shot.is-dark { display: none; }

[data-theme="light"] .inspire-shot.is-light { display: block; }

.inspire-caption {
  position: absolute;
  z-index: 2;
  margin: 0;
  max-width: 22%;
  font-size: 15px;
  line-height: 1.3;
  color: #f3efe4;
  text-shadow: 0 1px 2px #000, 0 0 10px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}

[data-theme="light"] .inspire-caption {
  color: #1c1914;
  text-shadow: 0 1px 2px #fff, 0 0 8px rgba(255, 255, 255, 0.9);
}

.inspire-caption[data-n="1"] { left: 7%; top: 28%; }
.inspire-caption[data-n="2"] { left: 44%; top: 26%; }
.inspire-caption[data-n="3"] { left: 73%; top: 25%; }
.inspire-caption[data-n="4"] { left: 10%; top: 62%; }
.inspire-caption[data-n="5"] { left: 68%; top: 60%; }

@media (max-width: 900px) {
  .inspire-board {
    width: 100%;
    margin-left: 0;
    transform: none;
  }
  .inspire-caption { font-size: 13px; max-width: 28%; }
}

.problems {
  position: relative;
  z-index: 1;
  min-height: 48vh;
}

.problems .wrap {
  position: relative;
  z-index: 2;
}

.problems-layout {
  display: grid;
  grid-template-columns: minmax(240px, 26em) minmax(260px, 1fr);
  gap: 16px 20px;
  align-items: start;
}

.problems-layout .not-list {
  max-width: 26em;
}

.chaos-desk {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 500px;
  height: 500px;
  margin-top: 80px;
  justify-self: stretch;
  user-select: none;
}

.chaos-win {
  position: absolute;
  width: min(248px, 44%);
  background: #11100e;
  border: 1px solid #3d3a35;
  box-shadow: 8px 12px 28px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.chaos-win--nmap {
  left: 0;
  top: 6%;
  transform: rotate(-4deg);
  z-index: 2;
}

.chaos-win--sf {
  left: 30%;
  top: 4%;
  transform: rotate(3.5deg);
  z-index: 3;
}

.chaos-win--shodan {
  left: 2%;
  top: 48%;
  transform: rotate(-2.2deg);
  z-index: 4;
}

.chaos-win--wiki {
  left: 22%;
  top: 50%;
  transform: rotate(5deg);
  z-index: 5;
}

.chaos-win--txt {
  left: 56%;
  top: 2%;
  width: min(200px, 34%);
  transform: rotate(2.5deg);
  z-index: 6;
  background: #1a1916;
}

.chaos-win--social {
  left: 50%;
  top: 42%;
  transform: rotate(-3deg);
  z-index: 7;
}

.chaos-win--fake {
  left: 72%;
  top: 36%;
  width: min(168px, 28%);
  transform: rotate(7deg);
  z-index: 8;
}

.chaos-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  background: #2a2723;
  cursor: grab;
}

.chaos-bar:active { cursor: grabbing; }

.chaos-dots {
  width: 34px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at 4px 4px, #c45b4a 3px, transparent 3.2px),
    radial-gradient(circle at 16px 4px, #c9a24a 3px, transparent 3.2px),
    radial-gradient(circle at 28px 4px, #6a9a55 3px, transparent 3.2px);
}

.chaos-title {
  font-size: 10px;
  color: #b7b1a6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chaos-term {
  margin: 0;
  padding: 8px 10px 12px;
  height: 148px;
  overflow: hidden;
  font: 9px/1.4 ui-monospace, "Cascadia Mono", Menlo, monospace;
  color: #b7d6a4;
  white-space: pre-wrap;
}

.chaos-term.is-sf { color: #9ec4d4; }

.chaos-term.is-txt {
  height: 128px;
  color: #d8d2c6;
  background: #161412;
}

.chaos-term::after {
  content: "█";
  animation: chaos-caret 1s steps(1) infinite;
}

.chaos-tabs {
  display: flex;
  gap: 0;
  background: #1b1a18;
  border-bottom: 1px solid #34322e;
}

.chaos-tabs button {
  flex: 1;
  margin: 0;
  padding: 5px 8px;
  border: 0;
  border-right: 1px solid #34322e;
  background: #161412;
  color: #8e887c;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}

.chaos-tabs button.is-on {
  background: #2a2723;
  color: #d8d2c6;
}

.chaos-page.is-social {
  height: 108px;
  background: #191816;
  color: #d8d2c6;
}

.chaos-page.is-off { display: none; }

.social-name {
  margin: 0 0 4px;
  font-size: 13px;
}

.social-meta {
  margin: 0 0 10px;
  font-size: 10px;
  color: #8e887c;
}

.social-lock {
  margin: 0;
  padding: 8px;
  background: #2a2723;
  font-size: 10px;
}

.chaos-photo {
  position: relative;
  height: 128px;
  overflow: hidden;
  background: #11100e;
}

.chaos-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chaos-fake {
  position: absolute;
  left: 50%;
  top: 54%;
  padding: 4px 10px;
  border: 3px solid #c45b4a;
  color: #c45b4a;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transform: translate(-50%, -50%) rotate(-18deg);
  background: rgba(17, 16, 14, 0.15);
}

.chaos-url {
  padding: 4px 10px;
  background: #1b1a18;
  color: #8e887c;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid #34322e;
}

.chaos-page {
  position: relative;
  height: 136px;
  overflow: hidden;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.4;
}

.chaos-page.is-shodan {
  color: #d8d2c6;
  background: #161412;
}

.chaos-shodan-head {
  margin: 0 0 8px;
  font-size: 11px;
}

.chaos-shodan-head span { color: #8e887c; }

.chaos-page.is-shodan ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.chaos-page.is-shodan li {
  padding: 5px 0;
  border-top: 1px solid #2c2a26;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
}

.chaos-page.is-shodan em { color: #9ec4d4; font-style: normal; }
.chaos-page.is-shodan i { color: #8e887c; font-style: normal; float: right; }

.chaos-captcha {
  position: absolute;
  left: 36%;
  top: 44%;
  z-index: 200;
  width: 148px;
  padding: 10px 12px;
  background: #ece6d8;
  color: #161412;
  font-size: 11px;
  line-height: 1.35;
  box-shadow: 6px 8px 0 rgba(0, 0, 0, 0.4);
  transform: rotate(-7deg);
  pointer-events: none;
}

.chaos-spin {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border: 2px solid #c4bca8;
  border-top-color: #161412;
  border-radius: 50%;
  vertical-align: -2px;
  animation: chaos-spin 0.65s linear infinite;
}

.chaos-load::after {
  content: "";
  animation: chaos-load-dots 1.1s steps(4, end) infinite;
}

.chaos-page.is-wiki-page {
  position: relative;
  background: #f3efe6;
  color: #1c1914;
}

.wiki-refresh {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(243, 239, 230, 0.88);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.chaos-win--wiki.is-refreshing .wiki-refresh {
  display: flex;
}

.wiki-kicker {
  margin: 0 0 6px;
  font-size: 10px;
  color: #6a6458;
}

.chaos-page.is-wiki-page h3 {
  margin: 0 0 8px;
  font-family: Palatino, Georgia, serif;
  font-size: 16px;
  font-weight: 500;
}

.chaos-page.is-wiki-page p { margin: 0 0 8px; }

.wiki-need { color: #8a4b32; font-size: 9px; }

.wiki-also { color: #5a564c; }

@keyframes chaos-caret {
  50% { opacity: 0; }
}

@keyframes chaos-spin {
  to { transform: rotate(360deg); }
}

@keyframes chaos-load-dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75% { content: "..."; }
}

@media (prefers-reduced-motion: reduce) {
  .chaos-term::after,
  .chaos-spin,
  .chaos-load::after { animation: none; }
}

@media (max-width: 820px) {
  .problems-layout { grid-template-columns: 1fr; }
  .chaos-desk {
    max-width: none;
    height: 420px;
    min-height: 420px;
    margin-top: 24px;
  }
  .chaos-win { width: min(210px, 58vw); }
  .chaos-win--nmap { left: 0; top: 0; }
  .chaos-win--sf { left: 28%; top: 4%; }
  .chaos-win--shodan { left: 2%; top: 40%; }
  .chaos-win--wiki { left: 26%; top: 44%; }
  .chaos-win--txt { left: 52%; top: 2%; width: min(170px, 44vw); }
  .chaos-win--social { left: 46%; top: 40%; }
  .chaos-win--fake { left: 62%; top: 36%; width: min(140px, 36vw); }
}


.also {
  padding-top: 24px;
}

.also-title {
  text-align: center;
}

.flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 840px;
  margin: 0 auto;
}

.flow-stem {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  background: var(--canvas);
  text-align: center;
  font-size: 15px;
  line-height: 1.3;
}

.flow-stem .flow-box {
  min-width: 260px;
}

.flow-arrow {
  display: block;
  width: 1px;
  height: 22px;
  background: var(--line);
  position: relative;
}

.flow-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}

.flow-pack {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  background: var(--canvas);
}

.flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.flow-grid .flow-box {
  width: 100%;
  min-height: 58px;
  background: var(--bg);
}

@media (max-width: 820px) {
  .flow-stem .flow-box { min-width: 0; width: 86%; }
  .flow-grid { grid-template-columns: 1fr; }
}

.section-title {
  margin: 0 0 36px;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.also .section-title {
  font-size: 22px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}

.steps li:last-child { border-bottom: 1px solid var(--border); }

.step-num {
  font-family: Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 22px;
  color: var(--text-dim);
  padding-top: 2px;
}

.step-body { margin: 0; max-width: 40em; }

/* ——— Not / roles / trust ——— */
.not-list,
.role-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.not-list li,
.role-list li {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  max-width: 40em;
}

.not-list li:last-child,
.role-list li:last-child { border-bottom: 1px solid var(--border); }

.not-list strong { font-weight: 600; }

.compare-scroll {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 17px;
  line-height: 1.45;
}

.compare-table th,
.compare-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
  font-weight: 400;
  color: var(--text);
}

.compare-table thead th {
  font-size: 17px;
}

.compare-table tbody th {
  width: 36%;
  font-weight: 400;
}

.compare-table .is-us {
  background: rgba(236, 230, 216, 0.07);
  font-weight: 600;
}

[data-theme="light"] .compare-table .is-us {
  background: rgba(28, 25, 20, 0.05);
}

.compare-mark {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.compare-yes { color: #9aaa7c; }

.compare-no { color: #b07a72; }

[data-theme="light"] .compare-yes { color: #5d6b42; }

[data-theme="light"] .compare-no { color: #9a4d45; }

.trust-lead {
  margin: 0 0 28px;
  max-width: 40em;
}

.trust-points {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.trust-points p {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  max-width: 40em;
}

.trust-points p:last-child { border-bottom: 1px solid var(--border); }

.anchor-line {
  margin: 28px 0 0;
  font-family: Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
}

/* ——— Get ——— */
.launch-row {
  display: flex;
  align-items: center;
  gap: 36px 48px;
  margin: 0;
}

.launch-clock {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  margin: 0;
}

.launch-glitch {
  position: relative;
  flex: 0 0 auto;
  width: 560px;
  height: 380px;
  margin-left: auto;
  overflow: visible;
  pointer-events: none;
}

.launch-glitch-frame {
  position: absolute;
  inset: -8%;
}

.launch-glitch-layer {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
}

.launch-glitch-layer.is-0 { background-image: url("launch-frame-0.png"); }
.launch-glitch-layer.is-1 { background-image: url("launch-frame-1.png"); }
.launch-glitch-layer.is-2 { background-image: url("launch-frame-2.png"); }
.launch-glitch-layer.is-3 { background-image: url("launch-frame-3.png"); }
.launch-glitch-layer.is-4 { background-image: url("launch-frame-4.png"); }
.launch-glitch-layer.is-5 { background-image: url("launch-frame-5.png"); }
.launch-glitch-layer.is-6 { background-image: url("launch-frame-6.png"); }

.launch-glitch[data-face="0"] .is-0,
.launch-glitch[data-face="1"] .is-1,
.launch-glitch[data-face="2"] .is-2,
.launch-glitch[data-face="3"] .is-3,
.launch-glitch[data-face="4"] .is-4,
.launch-glitch[data-face="5"] .is-5,
.launch-glitch[data-face="6"] .is-6 {
  opacity: 1;
}

.launch-glitch-scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 1px,
      rgba(0, 0, 0, 0.28) 1px 2px
    );
  opacity: 0;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.launch-glitch.is-glitching .launch-glitch-frame {
  animation: launch-rip 320ms steps(2, end) infinite;
}

.launch-glitch.is-glitching .launch-glitch-layer {
  filter:
    drop-shadow(-18px 0 rgba(255, 24, 24, 0.85))
    drop-shadow(18px 0 rgba(24, 230, 255, 0.85))
    drop-shadow(0 10px rgba(255, 0, 180, 0.45))
    contrast(1.8);
}

.launch-glitch.is-twitch .launch-glitch-frame {
  animation: launch-kick 110ms steps(1, end);
}

.launch-glitch.is-glitching .launch-glitch-scan {
  opacity: 0.75;
  animation: wd-scan 40ms steps(2, end) infinite;
}

[data-theme="light"] .launch-glitch-layer {
  filter: invert(1);
}

[data-theme="light"] .launch-glitch.is-glitching .launch-glitch-layer {
  filter:
    invert(1)
    drop-shadow(-18px 0 rgba(255, 24, 24, 0.85))
    drop-shadow(18px 0 rgba(24, 230, 255, 0.85))
    drop-shadow(0 10px rgba(255, 0, 180, 0.45))
    contrast(1.8);
}

[data-theme="light"] .launch-glitch-scan,
[data-theme="light"] .launch-glitch.is-glitching .launch-glitch-scan {
  display: none;
}

@keyframes launch-rip {
  0% {
    clip-path: inset(0 0 0 0);
    transform: translate(0, 0);
  }
  14% {
    clip-path: inset(0 0 68% 0);
    transform: translate(-34px, -6px) skewX(-10deg);
  }
  28% {
    clip-path: inset(40% 0 8% 0);
    transform: translate(38px, 8px) scaleX(1.12);
    filter: contrast(2.6) saturate(0);
  }
  42% {
    clip-path: inset(0 46% 0 0);
    transform: translate(-22px, 3px) scaleY(1.16);
  }
  56% {
    clip-path: inset(16% 0 28% 0);
    transform: translate(28px, -10px) skewX(14deg);
    filter: invert(1);
  }
  70% {
    clip-path: inset(0 0 0 38%);
    transform: translate(-36px, 6px);
  }
  84% {
    clip-path: inset(52% 0 0 0);
    transform: translate(18px, 12px) scaleX(0.92);
  }
  100% {
    clip-path: inset(6% 0 34% 0);
    transform: translate(-14px, -3px);
  }
}

@keyframes launch-kick {
  0% { transform: translate(0, 0); }
  35% { transform: translate(-16px, 3px) skewX(-6deg); filter: contrast(1.7); }
  70% { transform: translate(12px, -4px); }
  100% { transform: none; }
}

@media (max-width: 820px) {
  .launch-row {
    flex-wrap: wrap;
  }

  .launch-glitch {
    width: min(100%, 360px);
    height: 240px;
  }
}

.launch-unit {
  min-width: 4.5em;
}

.launch-num {
  display: block;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--text);
}

.launch-lbl {
  display: block;
  margin-top: 6px;
  font-size: 17px;
  color: var(--text);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 40em;
}

.contact-list li {
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.contact-list li:last-child {
  border-bottom: 1px solid var(--border);
}

.contact-list a {
  color: var(--text);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  font-size: 13px;
  color: var(--text-dim);
}

.site-footer-inner {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: baseline;
}

.site-footer a { color: var(--text-dim); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }

.legal-page h1 {
  font-family: Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  margin: 0 0 24px;
}

.legal-page p { max-width: 40em; color: var(--text); }

.legal-page .contact-list { margin-top: 28px; }

@media (max-width: 820px) {
  .stage-section { --stage-peek: 0px; }
  .stage-pin-track { height: 2200px; }
  .dossier { width: min(280px, 78vw); }
  .dossier-photo { flex-basis: 76px; width: 76px; max-width: 76px; }
  .dossier-name { font-size: 18px; }
  .token-figure { width: 96px; height: 176px; max-width: 96px; }
}

@media (max-width: 640px) {
  .wrap, .wrap-narrow, .site-header-inner, .site-footer-inner {
    width: calc(100% - 32px);
  }
  .hero { padding-top: 56px; }
  .steps li { grid-template-columns: 40px 1fr; gap: 12px; }
  .stage-node .stage-label .en { display: none; }
  .brand-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
