/* =========================================================
   SMMPRO24 — «Ночная смена»
   html/css/js concept build
   ========================================================= */

@font-face {
  font-family: "Unbounded";
  src: url("../assets/fonts/Unbounded.ttf") format("truetype");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/Manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #05070c;
  --bg-soft: #080d16;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef2f8;
  --text-soft: #c2ccda;
  --muted: #8794a8;
  --accent: #ffb547;
  --accent-2: #ffd08a;
  --accent-ink: #1a1204;
  --blue: #7fa6ff;
  --danger: #ff6b6b;
  --ok: #52d68a;
  --font-head: "Unbounded", "Arial Black", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
  --max: 1180px;
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 620px at 88% -8%, rgba(255, 181, 71, 0.09), transparent 58%),
    radial-gradient(900px 600px at -8% 8%, rgba(90, 122, 255, 0.07), transparent 58%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

h1, h2, h3, h4, p, dl, dd, blockquote, figure { margin: 0; }
[hidden] { display: none !important; }
ul, ol { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }
button { color: inherit; }
a { color: inherit; }
::selection { background: rgba(255, 181, 71, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid rgba(255, 181, 71, 0.75);
  outline-offset: 2px;
}

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: middle; }
.mono { font-variant-numeric: tabular-nums; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: translateY(0); }

.noscript {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 300;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #101722;
  font-size: 13px;
}

/* ---------- Global interactive background ---------- */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.8;
}
main, .site-footer { position: relative; z-index: 1; }
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 96;
  height: 2px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.03);
}
.scroll-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #ff8fc7, #7fa6ff);
  box-shadow: 0 0 16px rgba(255, 181, 71, 0.55);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { position: relative; padding: 108px 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0) 65%);
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head h2 { margin: 18px 0 16px; }
.section-head-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head-center .lead { margin-left: auto; margin-right: auto; }
.section-head-center .eyebrow { justify-content: center; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow > span { color: var(--accent); }

h1, h2, h3, .section-head h2 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text);
}

h2 {
  font-size: clamp(29px, 3.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.muted-strong { color: var(--text-soft); }
.nowrap { white-space: nowrap; }

.lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.68;
}

/* ---------- Dots ---------- */
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
  background: var(--muted);
}
.dot.live {
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 181, 71, 0.5);
  animation: dotPulse 2.4s infinite;
}
.dot.ok {
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(82, 214, 138, 0.4);
  animation: dotPulse 2.4s infinite;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 17px; height: 17px; }

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffc766, #ffb547);
  color: var(--accent-ink);
  box-shadow: 0 12px 32px rgba(255, 181, 71, 0.22);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 46%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s var(--ease);
  pointer-events: none;
}
.btn-primary:hover::after { left: 135%; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255, 181, 71, 0.32);
  background: linear-gradient(180deg, #ffd183, #ffbc58);
}
.btn-primary:active { transform: translateY(0) scale(0.99); }
.btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn:disabled:hover { transform: none; box-shadow: none; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.26); }

.btn-quiet {
  padding: 10px 4px;
  border: 0;
  background: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s;
}
.btn-quiet:hover { color: var(--text); }
.btn-quiet:disabled { opacity: 0.35; cursor: default; }

.btn-sm { padding: 10px 18px; font-size: 13px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.text-link .icon { width: 14px; height: 14px; }
.text-link:hover { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  border-bottom: 1px solid transparent;
  background: rgba(5, 7, 12, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.3s, border-color 0.3s;
}
.site-header.is-scrolled {
  background: rgba(5, 7, 12, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
  color: var(--accent-ink);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255, 181, 71, 0.28);
}
.logo-word {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.logo-word span { color: var(--accent); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav > a {
  position: relative;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 0;
  transition: color 0.2s;
}
.site-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  transition: right 0.25s var(--ease);
}
.site-nav > a:hover { color: var(--text); }
.site-nav > a:hover::after { right: 0; }
.site-nav .nav-cta { display: none; }
.mobile-nav, .nav-scrim { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  place-items: center;
  transition: background 0.2s;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.nav-toggle .icon { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 62px 0 96px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -220px;
  right: -80px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 181, 71, 0.13), rgba(255, 181, 71, 0.03) 45%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-cursor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(560px circle at var(--mx, 62%) var(--my, 32%), rgba(255, 181, 71, 0.10), transparent 66%);
}
.hero:hover .hero-cursor { opacity: 1; }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 4.4vw, 64px);
}

.hero-copy .eyebrow { margin-bottom: 24px; }
.hero-copy h1 {
  font-size: clamp(34px, 3.75vw, 50px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  max-width: 100%;
}
.h1-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.07em;
  margin-bottom: -0.02em;
}
.h1-line > span {
  display: block;
  animation: lineUp 0.95s var(--ease) both;
}
.h1-line:nth-child(2) > span { animation-delay: 0.14s; }
.h1-accent {
  position: relative;
  display: inline;
  white-space: nowrap;
  background: linear-gradient(100deg, #ffd08a 0%, #ffb547 32%, #ffe4b5 52%, #ffb547 78%, #ffd08a 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shimmer 7s ease-in-out infinite;
}
.h1-accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 0.08em;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(255, 181, 71, 0.6), transparent);
}
.hero-lead {
  margin-top: 24px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.68;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 38px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-stats dt {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.hero-stats dd {
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted);
}

/* ---------- Monitor ---------- */
[data-tilt] {
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
}
.monitor {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background: linear-gradient(165deg, rgba(20, 27, 43, 0.94), rgba(8, 11, 19, 0.97));
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.monitor-glare {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(300px circle at var(--gx, 82%) var(--gy, 6%), rgba(255, 255, 255, 0.075), transparent 58%);
  mix-blend-mode: screen;
  opacity: 0.8;
}
.monitor::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 181, 71, 0.14), transparent 65%);
  pointer-events: none;
}
.monitor-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.monitor-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.monitor-title time { color: var(--text); letter-spacing: 0.04em; font-size: 10.5px; }

.mode-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}
.mode-btn {
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.mode-btn:hover { color: var(--text); }
.mode-btn.is-active {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 4px 14px rgba(255, 181, 71, 0.25);
}

.monitor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
}
.mstat { display: flex; flex-direction: column; gap: 3px; }
.mstat span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.mstat b {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.mstat.is-danger b { color: var(--danger); }
.mstat b.bump { animation: bump 0.35s var(--ease); }

.feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 2px 8px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.feed-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ok);
  letter-spacing: 0.06em;
}
.feed-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
  animation: dotPulse 2s infinite;
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 7px;
  height: 300px;
  overflow: hidden;
  list-style: none;
}
.feed-item {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.032);
  animation: feedIn 0.45s var(--ease) both;
}
.feed-item.is-lost {
  border-color: rgba(255, 107, 107, 0.16);
  background: rgba(255, 107, 107, 0.04);
  opacity: 0.8;
}
.feed-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--av, #ffb547) 18%, rgba(255, 255, 255, 0.03));
  border: 1px solid color-mix(in srgb, var(--av, #ffb547) 35%, transparent);
  color: var(--av, #ffb547);
  font-size: 12px;
  font-weight: 800;
}
.feed-body { min-width: 0; }
.feed-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.feed-meta b { font-size: 11px; font-weight: 700; white-space: nowrap; }
.feed-meta time {
  margin-left: auto;
  font-size: 9px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.chan {
  flex: none;
  padding: 2px 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.chan-tg { color: #79b8ff; background: rgba(121, 184, 255, 0.12); }
.chan-wa { color: #62d68f; background: rgba(98, 214, 143, 0.12); }
.chan-ig { color: #ff8fc7; background: rgba(255, 143, 199, 0.12); }
.chan-site { color: var(--accent); background: rgba(255, 181, 71, 0.12); }

.feed-text {
  margin-top: 3px;
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feed-status {
  padding: 3px 7px;
  border-radius: 99px;
  font-size: 8.5px;
  font-weight: 800;
  white-space: nowrap;
  color: var(--ok);
  background: rgba(82, 214, 138, 0.1);
}
.feed-status.bad { color: var(--danger); background: rgba(255, 107, 107, 0.12); }

.monitor-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 10px;
  color: var(--muted);
}

.morning-report {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 54px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 181, 71, 0.32);
  border-radius: 14px;
  background: rgba(18, 25, 39, 0.97);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.55);
  animation: reportIn 0.5s var(--ease) both;
}
.morning-report b {
  display: block;
  margin-bottom: 3px;
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.morning-report span { font-size: 11.5px; line-height: 1.45; color: var(--text-soft); }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  padding: 16px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee-track span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-track i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
  flex: none;
}

/* ---------- Demo / constructor ---------- */
.demo-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.seg {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}
.seg-btn {
  padding: 9px 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.seg-btn:hover { color: var(--text); }
.seg-btn.is-active { background: var(--accent); color: var(--accent-ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.chip:hover { border-color: var(--line-strong); color: var(--text); }
.chip.is-active {
  border-color: rgba(255, 181, 71, 0.45);
  background: rgba(255, 181, 71, 0.09);
  color: var(--text);
}

.browser {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #070b12;
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}
.b-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.b-dot:nth-child(1) { background: rgba(255, 95, 87, 0.65); }
.b-dot:nth-child(2) { background: rgba(254, 188, 46, 0.65); }
.b-dot:nth-child(3) { background: rgba(40, 200, 64, 0.6); }
.browser-url {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.01em;
}
.browser-url .icon { width: 11px; height: 11px; }
.browser-badge {
  margin-left: auto;
  padding: 4px 9px;
  border: 1px solid rgba(255, 181, 71, 0.25);
  border-radius: 99px;
  color: var(--accent);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.demo-site {
  --demo-accent: #4cc9f0;
  padding: 24px 28px 28px;
  background:
    radial-gradient(680px 360px at 82% 4%, color-mix(in srgb, var(--demo-accent) 15%, transparent), transparent 62%),
    linear-gradient(180deg, #0a101a, #070b12);
  transition: background 0.4s;
}
.demo-site.is-swapping { animation: demoSwap 0.45s var(--ease); }

.ds-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ds-brand {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--demo-accent);
}
.ds-links { display: flex; gap: 18px; color: var(--muted); font-size: 10.5px; }
.ds-navcta {
  padding: 7px 14px;
  border-radius: 99px;
  background: var(--demo-accent);
  color: #081018;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.ds-hero {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
  gap: 28px;
  padding: 30px 0 24px;
}
.ds-badge {
  display: inline-block;
  margin-bottom: 13px;
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--demo-accent) 32%, transparent);
  border-radius: 99px;
  background: color-mix(in srgb, var(--demo-accent) 8%, transparent);
  color: var(--demo-accent);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ds-copy h3 {
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.14;
  letter-spacing: -0.025em;
  font-weight: 600;
  max-width: 22ch;
}
.ds-copy p {
  margin-top: 10px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.ds-actions { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.ds-btn {
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--demo-accent);
  color: #081018;
  font-size: 11px;
  font-weight: 800;
}
.ds-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 600;
}
.ds-link .icon { width: 12px; height: 12px; }

.ds-visual {
  position: relative;
  height: 218px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 32%, color-mix(in srgb, var(--demo-accent) 32%, transparent), transparent 62%),
    rgba(255, 255, 255, 0.025);
}
.ds-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border: 1px solid color-mix(in srgb, var(--demo-accent) 38%, transparent);
  border-radius: 50%;
}
.ds-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
  border: 1px dashed color-mix(in srgb, var(--demo-accent) 45%, transparent);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}
.ds-statcard {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  background: rgba(7, 11, 18, 0.78);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
}
.ds-visual-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--demo-accent);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ds-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-top: 6px; }
.ds-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s, background 0.25s;
}
.ds-card:hover { border-color: color-mix(in srgb, var(--demo-accent) 35%, transparent); background: rgba(255, 255, 255, 0.045); }
.ds-card-num {
  font-family: var(--font-head);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--demo-accent);
}
.ds-card b { font-size: 11.5px; line-height: 1.3; }
.ds-card > span:last-child { color: var(--muted); font-size: 10px; line-height: 1.4; }

.demo-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
}
.demo-note b { color: var(--text-soft); }

/* ---------- Freedom calculator ---------- */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
}
.calc-copy h2 { margin: 18px 0 16px; font-size: clamp(28px, 2.9vw, 40px); }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 13.5px;
}
.check-list .icon { width: 16px; height: 16px; color: var(--accent); }

.calc-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.012));
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}
.calc-card::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 181, 71, 0.1), transparent 65%);
  pointer-events: none;
}
.range-row { position: relative; margin-bottom: 24px; }
.range-row label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.range-row output {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) var(--fill, 50%),
    rgba(255, 255, 255, 0.12) var(--fill, 50%),
    rgba(255, 255, 255, 0.12) 100%
  );
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--accent-2);
  border: 3px solid #171004;
  box-shadow: 0 0 0 4px rgba(255, 181, 71, 0.16), 0 4px 12px rgba(0, 0, 0, 0.45);
  cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent-2);
  border: 3px solid #171004;
  box-shadow: 0 0 0 4px rgba(255, 181, 71, 0.16), 0 4px 12px rgba(0, 0, 0, 0.45);
  cursor: grab;
}
input[type="range"]:active::-webkit-slider-thumb { cursor: grabbing; }

.calc-result {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.calc-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.calc-big {
  display: block;
  margin: 8px 0 8px;
  font-family: var(--font-head);
  font-size: clamp(46px, 5vw, 62px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--text);
}
.calc-big > span:first-child { color: var(--accent); }
.calc-unit { margin-left: 4px; font-size: 0.34em; letter-spacing: 0; color: var(--muted); }
.calc-sub { font-size: 13px; color: var(--text-soft); line-height: 1.5; }
.calc-money {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 181, 71, 0.14);
  border-radius: 10px;
  background: rgba(255, 181, 71, 0.06);
  color: var(--muted);
  font-size: 12px;
}
.calc-money b { color: var(--accent); }
.calc-cta { width: 100%; margin-top: 22px; }
.calc-note { margin-top: 12px; color: var(--muted); font-size: 10.5px; line-height: 1.5; }

/* ---------- Conveyor ---------- */
.stations {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.station {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 14px 11px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.station:hover { background: rgba(255, 255, 255, 0.05); }
.station.is-active {
  background: rgba(255, 181, 71, 0.08);
  border-color: rgba(255, 181, 71, 0.32);
}
.st-num {
  font-family: var(--font-head);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.station.is-active .st-num { color: var(--accent); }
.st-name { font-size: 13.5px; font-weight: 800; }
.st-days { font-size: 9.5px; color: var(--muted); }
.station.is-active .st-days { color: var(--text-soft); }

.conv-progress { display: flex; align-items: center; gap: 14px; margin: 6px 0 24px; }
.conv-bar {
  flex: 1;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.conv-bar i {
  display: block;
  width: 14%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 181, 71, 0.5), var(--accent));
  transition: width 0.45s var(--ease);
}
.conv-progress > span { color: var(--muted); font-size: 10.5px; white-space: nowrap; }

.station-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.012));
  animation: panelIn 0.4s var(--ease);
}
.station-kicker {
  display: block;
  color: var(--accent);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.station-copy h3 {
  margin: 10px 0 12px;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.station-copy > p { color: var(--muted); font-size: 13.5px; line-height: 1.65; max-width: 46ch; }
.tiny-list { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-top: 18px; }
.tiny-list li {
  position: relative;
  padding-left: 14px;
  color: var(--text-soft);
  font-size: 11.5px;
}
.tiny-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
}

.station-widget {
  min-height: 300px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.widget-caption { margin-bottom: 12px; color: var(--muted); font-size: 10.5px; }
.widget-status { margin-top: 14px; color: var(--text-soft); font-size: 11.5px; }
.widget-status b { color: var(--accent); }
.widget-hint { margin-top: 5px; color: var(--muted); font-size: 10px; }
.brief-box, .wire-box, .palette-box, .device-box, .launch { width: 100%; }

.widget-doc {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}
.widget-doc-icon {
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid rgba(255, 181, 71, 0.16);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 181, 71, 0.07);
  color: var(--accent);
}
.widget-doc-icon .icon { width: 14px; height: 14px; }
.widget-doc b { display: block; font-size: 10.5px; }
.widget-doc div span { display: block; margin-top: 1px; color: var(--muted); font-size: 8.5px; }
.widget-doc em {
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 7.5px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brief-meter {
  height: 4px;
  margin-top: 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.brief-meter i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transition: width 0.3s var(--ease);
}

.brief-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.brief-chip {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}
.brief-chip:hover { border-color: var(--line-strong); }
.brief-chip.is-on {
  border-color: rgba(255, 181, 71, 0.45);
  background: rgba(255, 181, 71, 0.1);
  color: var(--text);
}
.brief-chip.is-on::before { content: "✓ "; color: var(--accent); font-weight: 800; }

.wire {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 290px;
  margin: 0 auto;
  transition: opacity 0.2s;
}
.wire-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 8px 10px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 9.5px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}
.wire-block span { pointer-events: none; }
.wire-block i {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.wire-block i:nth-of-type(2) { width: 68%; }
.wire-block i:nth-of-type(3) { width: 46%; }
.wire-block:hover { border-color: rgba(255, 181, 71, 0.4); }
.wire-block.is-off {
  opacity: 0.28;
  border-style: dotted;
}
.wire-block.is-off span { text-decoration: line-through; }

.palettes { display: flex; gap: 9px; }
.palette {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
}
.palette i { width: 26px; height: 26px; border-radius: 50%; background: var(--sw); }
.palette[data-accent="#ffb547"] { --sw: #ffb547; }
.palette[data-accent="#4cc9f0"] { --sw: #4cc9f0; }
.palette[data-accent="#9aa7bd"] { --sw: #9aa7bd; }
.palette[data-accent="#c792ff"] { --sw: #c792ff; }
.palette:hover { transform: scale(1.08); }
.palette.is-active { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--accent); }

.palette-preview {
  --pv: #ffb547;
  position: relative;
  margin-top: 16px;
  padding: 14px 15px;
  min-height: 124px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--pv) 15%, transparent), rgba(255, 255, 255, 0.015));
  transition: background 0.35s;
}
.pv-glint {
  position: absolute;
  top: -40px;
  right: -30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pv) 28%, transparent);
  filter: blur(22px);
}
.pv-title {
  position: relative;
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--pv);
  margin-bottom: 9px;
}
.pv-line {
  display: block;
  width: 76%;
  height: 5px;
  margin-bottom: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}
.pv-line.short { width: 48%; }
.pv-btn {
  position: relative;
  display: inline-block;
  margin-top: 10px;
  padding: 5px 11px;
  border-radius: 6px;
  background: var(--pv);
  color: #0a0f18;
  font-size: 9px;
  font-weight: 800;
}

.device-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}
.device-btn {
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.device-btn.is-active { background: var(--accent); color: var(--accent-ink); }
.device-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 216px;
  margin-top: 14px;
}
.device-frame {
  width: 100%;
  max-width: 400px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #0a101a;
  overflow: hidden;
  transition: width 0.4s var(--ease);
}
.device-frame.is-mobile { width: 210px; }
.dp-bar { display: flex; gap: 4px; padding: 7px 9px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.dp-bar i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.dp-site { padding: 11px; }
.dp-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.dp-nav b { font-size: 9px; color: var(--accent); }
.dp-nav span { padding: 3px 6px; border-radius: 4px; background: var(--accent); color: #0a0f18; font-size: 6.5px; font-weight: 800; }
.dp-hero { display: grid; grid-template-columns: 1fr 0.82fr; gap: 9px; margin-top: 10px; }
.dp-copy { display: flex; flex-direction: column; gap: 4px; }
.dp-tag { font-size: 6px; font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.dp-copy b { font-size: 10.5px; line-height: 1.2; }
.dp-copy span { font-size: 7px; color: var(--muted); }
.dp-btn { align-self: flex-start; margin-top: 3px; padding: 3px 7px; border-radius: 4px; background: var(--accent); color: #0a0f18; font-size: 6.5px; font-style: normal; font-weight: 800; }
.dp-img { min-height: 66px; border-radius: 7px; background: radial-gradient(circle at 30% 30%, rgba(255, 181, 71, 0.35), rgba(255, 181, 71, 0.05) 70%); }
.dp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 9px; }
.dp-cards i { height: 22px; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 5px; background: rgba(255, 255, 255, 0.035); }
.device-frame.is-mobile .dp-hero { grid-template-columns: 1fr; }
.device-frame.is-mobile .dp-img { min-height: 46px; }
.device-frame.is-mobile .dp-cards { grid-template-columns: 1fr; }
.device-frame.is-mobile .dp-cards i { height: 14px; }
.device-frame.is-mobile .dp-copy b { font-size: 9px; }

.launch { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 6px 0; }
.launch-btn {
  position: relative;
  width: 148px;
  height: 148px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: radial-gradient(circle at 34% 28%, #ff9a9a, #e5484d 58%, #b32328);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 22px 55px rgba(229, 72, 77, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.launch-btn::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(255, 107, 107, 0.5);
  animation: launchRing 2.6s ease-out infinite;
}
.launch-btn:hover { transform: scale(1.04); box-shadow: 0 26px 65px rgba(229, 72, 77, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.32); }
.launch-btn:active { transform: scale(0.97); }
.launch-btn .icon { width: 24px; height: 24px; }
.launch-hint { color: var(--muted); font-size: 10.5px; }
.launch-done { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; animation: panelIn 0.35s var(--ease); }
.done-badge {
  padding: 4px 10px;
  border: 1px solid rgba(82, 214, 138, 0.3);
  border-radius: 999px;
  background: rgba(82, 214, 138, 0.08);
  color: var(--ok);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.launch-done b { font-family: var(--font-head); font-size: 14px; font-weight: 600; }
.launch-done p { color: var(--muted); font-size: 11px; }

/* ---------- Game ---------- */
.game-wrap { max-width: 790px; margin: 0 auto; }
.game {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.game-screen { padding: 32px; }
.game-intro { text-align: center; display: flex; flex-direction: column; align-items: center; }
.game-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 181, 71, 0.26);
  border-radius: 999px;
  background: rgba(255, 181, 71, 0.07);
  color: var(--accent);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.game-tag .icon { width: 13px; height: 13px; }
.game-tag.is-danger { color: var(--danger); border-color: rgba(255, 107, 107, 0.28); background: rgba(255, 107, 107, 0.07); }
.game-tag.is-ok { color: var(--ok); border-color: rgba(82, 214, 138, 0.28); background: rgba(82, 214, 138, 0.07); }
.game-intro h3,
.game-result h3,
.game-screen h3 {
  margin: 16px 0 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 29px);
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.game-intro > p {
  max-width: 52ch;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}
.game-facts { display: flex; justify-content: center; gap: 38px; margin: 26px 0; }
.game-facts div { display: flex; flex-direction: column; gap: 2px; }
.game-facts b { font-family: var(--font-head); font-size: 22px; font-weight: 600; }
.game-facts span { color: var(--muted); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.game-hint { margin-top: 14px; color: var(--muted); font-size: 10.5px; text-align: center; }

.game-hud { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.game-timer {
  min-width: 62px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.game-timer.is-urgent { color: var(--danger); animation: urgent 1s infinite; }
.game-progress { flex: 1; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.game-progress i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transition: width 0.12s linear;
}
.game-score { color: var(--muted); font-size: 11.5px; font-weight: 700; white-space: nowrap; }

.inbox {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 386px;
  padding-right: 4px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
}
.inbox::-webkit-scrollbar { width: 5px; }
.inbox::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 99px; }

.msg {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.028);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  animation: msgIn 0.35s var(--ease) both;
  transition: border-color 0.18s, background 0.18s, opacity 0.18s;
}
.msg:hover { border-color: rgba(255, 181, 71, 0.38); background: rgba(255, 181, 71, 0.04); }
.msg.is-typing { border-color: rgba(255, 181, 71, 0.45); background: rgba(255, 181, 71, 0.05); cursor: progress; }
.msg.is-done { border-color: rgba(82, 214, 138, 0.24); background: rgba(82, 214, 138, 0.04); cursor: default; }
.msg.is-lost { opacity: 0.55; border-color: rgba(255, 107, 107, 0.16); background: rgba(255, 107, 107, 0.03); cursor: default; }
.inbox.is-busy .msg:not(.is-typing):not(.is-done) { opacity: 0.45; }
.msg.shake { animation: shake 0.32s; }

.msg-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--av, #ffb547) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--av, #ffb547) 32%, transparent);
  color: var(--av, #ffb547);
  font-size: 12px;
  font-weight: 800;
}
.msg-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.msg-top { display: flex; align-items: center; gap: 7px; }
.msg-top b { font-size: 11.5px; }
.msg-top time { margin-left: auto; color: var(--muted); font-size: 9px; font-variant-numeric: tabular-nums; }
.msg-text { color: var(--text-soft); font-size: 11.5px; line-height: 1.4; }
.msg-status { color: var(--accent); font-size: 9.5px; font-weight: 800; white-space: nowrap; }
.msg.is-typing .msg-status::after { content: "…"; animation: blink 1s infinite; }
.msg.is-done .msg-status { color: var(--ok); }
.msg.is-lost .msg-status { color: var(--danger); }

.game-result { text-align: center; display: flex; flex-direction: column; align-items: center; }
.game-result-lead { max-width: 52ch; color: var(--muted); font-size: 13px; line-height: 1.6; }
.game-result-lead b { color: var(--text); }
.game-result h3 #resAnswered { color: var(--accent); }
.result-compare { display: flex; justify-content: center; gap: 10px; margin: 22px 0 4px; flex-wrap: wrap; }
.result-compare > div {
  min-width: 136px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}
.result-compare span { display: block; color: var(--muted); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }
.result-compare b { font-family: var(--font-head); font-size: 17px; font-weight: 600; }
.result-compare .is-bot { border-color: rgba(82, 214, 138, 0.25); background: rgba(82, 214, 138, 0.05); }
.result-compare .is-bot b { color: var(--ok); }
.game-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.share-link {
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.share-link:hover { color: var(--text); }

.bot-log {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-height: 292px;
  margin: 20px 0;
  overflow-y: auto;
}
.bot-log li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 11px;
  opacity: 0.32;
  transition: opacity 0.3s, border-color 0.3s, background 0.3s;
}
.bot-log li.is-done { opacity: 1; border-color: rgba(82, 214, 138, 0.2); background: rgba(82, 214, 138, 0.035); }
.bot-log b { font-size: 11px; }
.bot-log .bot-chan { color: var(--muted); font-size: 9.5px; }
.bot-log em { color: var(--ok); font-size: 9px; font-style: normal; font-weight: 800; }
.bot-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(82, 214, 138, 0.12);
  color: var(--ok);
}
.bot-check .icon { width: 10px; height: 10px; }
.bot-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  margin: 4px 0 0;
}
.bot-summary div {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}
.bot-summary span { display: block; color: var(--muted); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; }
.bot-summary b { font-family: var(--font-head); font-size: 15px; font-weight: 600; }

/* ---------- Metrics ---------- */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.metric {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}
.metric::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.7;
}
.metric b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.metric span { display: block; margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.5; max-width: 26ch; }
.metrics-note { margin-top: 14px; color: var(--muted); font-size: 10.5px; text-align: right; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 181, 71, 0.075), transparent 66%),
    rgba(255, 255, 255, 0.025);
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 181, 71, 0.24);
  background:
    radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 181, 71, 0.12), transparent 66%),
    rgba(255, 255, 255, 0.035);
}
.feature-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 181, 71, 0.16);
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(255, 181, 71, 0.07);
  color: var(--accent);
}
.feature-icon .icon { width: 19px; height: 19px; }
.feature h3 { font-family: var(--font-body); font-size: 15px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 7px; }
.feature p { color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.feature .text-link { margin-top: 14px; }

/* ---------- Telegram bots ---------- */
.bots {
  --tg-blue: #2aabee;
  --tg-bg: #0e1621;
  --tg-panel: #17212b;
  --tg-bubble: #182533;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background:
    radial-gradient(760px 460px at 80% 32%, rgba(42, 171, 238, 0.10), transparent 66%),
    radial-gradient(560px 380px at 12% 8%, rgba(255, 181, 71, 0.05), transparent 70%);
}
.bots-orb {
  position: absolute;
  top: 70px;
  right: -120px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 171, 238, 0.16), transparent 65%);
  filter: blur(34px);
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite;
}
.bots-watermark {
  position: absolute;
  left: -18px;
  bottom: -30px;
  z-index: 0;
  color: rgba(42, 171, 238, 0.045);
  font-family: var(--font-head);
  font-size: clamp(64px, 8.5vw, 132px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.bots-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}
.bots-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 5px 10px;
  border: 1px solid rgba(42, 171, 238, 0.32);
  border-radius: 999px;
  background: rgba(42, 171, 238, 0.08);
  color: #7cc7f0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.bots-label .icon { width: 12px; height: 12px; }
.bots-copy h2 {
  margin: 14px 0 16px;
  font-size: clamp(30px, 3.7vw, 48px);
  line-height: 1.08;
}
.bots-copy .lead { max-width: 54ch; }
.bot-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 26px 0 22px;
  padding: 0;
  list-style: none;
}
.bot-points li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.bot-points b {
  color: var(--accent);
  font-family: var(--font-head);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.bot-points span {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.4;
  text-wrap: balance;
}
.bot-scenarios { display: flex; flex-wrap: wrap; gap: 6px; }
.bot-tab {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.bot-tab:hover { border-color: rgba(42, 171, 238, 0.4); color: var(--text); }
.bot-tab.is-active {
  border-color: rgba(42, 171, 238, 0.5);
  background: rgba(42, 171, 238, 0.12);
  color: #9bd8f7;
}
.bot-hint { margin-top: 10px; color: var(--muted); font-size: 10.5px; }
.bot-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.bot-actions > span { color: var(--muted); font-size: 10px; }

.bots-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 610px;
}
.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  margin: -250px 0 0 -250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 171, 238, 0.22), rgba(255, 181, 71, 0.06) 46%, transparent 68%);
  filter: blur(18px);
  pointer-events: none;
  animation: orbFloat 9s ease-in-out infinite;
}
.phone {
  position: relative;
  z-index: 2;
  width: 334px;
  max-width: 100%;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 46px;
  background: linear-gradient(155deg, #202c3d, #090e16 55%, #141d2a);
  box-shadow:
    0 50px 110px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.03);
}
.phone-notch {
  position: absolute;
  top: 15px;
  left: 50%;
  z-index: 5;
  width: 86px;
  height: 19px;
  margin-left: -43px;
  border-radius: 999px;
  background: #05080d;
}
.tg-app {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 604px;
  overflow: hidden;
  border-radius: 38px;
  background: var(--tg-bg);
}
.tg-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 22px 3px;
  background: var(--tg-panel);
  color: rgba(255, 255, 255, 0.6);
  font-size: 9.5px;
  font-weight: 700;
}
.tg-status-icons { display: flex; gap: 3px; align-items: flex-end; }
.tg-status-icons i { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); }
.tg-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px 11px;
  background: var(--tg-panel);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.tg-back { margin-right: 1px; color: var(--tg-blue); font-size: 23px; font-weight: 300; line-height: 1; }
.tg-avatar {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffd08a, #ffb547);
  color: #171004;
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
}
.tg-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.tg-meta b {
  overflow: hidden;
  color: #f1f6fb;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tg-meta i { display: flex; align-items: center; gap: 4px; color: var(--tg-blue); font-size: 8.5px; font-style: normal; }
.tg-meta .dot { width: 4px; height: 4px; }
.tg-menu { color: #7d8fa5; font-size: 15px; letter-spacing: 1px; }
.tg-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 10px;
  overflow-y: auto;
  background-color: var(--tg-bg);
  background-image: radial-gradient(circle at 50% 0%, rgba(42, 171, 238, 0.05), transparent 65%);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
.tg-chat::-webkit-scrollbar { width: 4px; }
.tg-chat::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 99px; }
.tg-msg { display: flex; max-width: 86%; animation: tgMsgIn 0.32s var(--ease) both; }
.tg-msg.is-bot { align-self: flex-start; }
.tg-msg.is-user { align-self: flex-end; }
.tg-bubble {
  position: relative;
  padding: 7px 9px;
  border-radius: 10px 10px 10px 4px;
  background: var(--tg-bubble);
  color: #dfe9f4;
  font-size: 10.5px;
  line-height: 1.45;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}
.tg-msg.is-user .tg-bubble { border-radius: 10px 10px 4px 10px; background: #2b5278; color: #fff; }
.tg-ticks { display: block; margin-top: 2px; color: #8db6d8; font-size: 7px; letter-spacing: 1px; text-align: right; }
.tg-inline { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.tg-inline span {
  display: block;
  padding: 4px 6px;
  border: 1px solid rgba(42, 171, 238, 0.25);
  border-radius: 5px;
  background: rgba(42, 171, 238, 0.1);
  color: #7cc7f0;
  font-size: 8.5px;
  text-align: center;
}
.tg-typing {
  display: flex;
  gap: 3px;
  align-self: flex-start;
  padding: 8px 10px;
  border-radius: 10px 10px 10px 4px;
  background: var(--tg-bubble);
}
.tg-typing i { width: 4px; height: 4px; border-radius: 50%; background: #7d8fa5; animation: typing 1.2s infinite; }
.tg-typing i:nth-child(2) { animation-delay: 0.15s; }
.tg-typing i:nth-child(3) { animation-delay: 0.3s; }
.tg-composer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 12px;
  background: var(--tg-panel);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.tg-composer > span:first-child {
  flex: 1;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--tg-bg);
  color: #617286;
  font-size: 9.5px;
}
.tg-send {
  width: 25px;
  height: 25px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tg-blue);
  color: #fff;
}
.tg-send .icon { width: 12px; height: 12px; }
.phone-tag {
  position: absolute;
  left: 3%;
  bottom: 86px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid rgba(42, 171, 238, 0.3);
  border-radius: 999px;
  background: rgba(10, 16, 25, 0.92);
  color: #b9d9ef;
  font-size: 9.5px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}
.phone-tag .dot { width: 5px; height: 5px; }
.bots-note { margin-top: 18px; color: var(--muted); font-size: 10px; text-align: center; }

/* ---------- Manifesto ---------- */
.manifesto {
  position: relative;
  padding: 120px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  background: radial-gradient(820px 420px at 50% 0%, rgba(255, 181, 71, 0.075), transparent 72%);
  overflow: hidden;
}
.manifesto-title {
  position: relative;
  max-width: 1080px;
  margin: 24px 0 8px;
  font-size: clamp(34px, 4.3vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.manifesto-watermark {
  position: absolute;
  top: -50px;
  right: -30px;
  font-family: var(--font-head);
  font-size: clamp(160px, 26vw, 380px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.022);
  pointer-events: none;
  user-select: none;
}
.manifesto blockquote { position: relative; max-width: 980px; margin-top: 26px; }
.manifesto blockquote p {
  margin-bottom: 24px;
  color: var(--text-soft);
  font-size: clamp(21px, 3vw, 35px);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.025em;
}
.manifesto blockquote p:last-child { margin-bottom: 0; }
.manifesto blockquote em {
  color: var(--accent);
  font-style: normal;
  background: linear-gradient(180deg, transparent 72%, rgba(255, 181, 71, 0.16) 72%);
}
.manifesto-sign {
  margin-top: 26px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}
.manifesto-sign span {
  margin-left: 8px;
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* ---------- Quiz ---------- */
.quiz-wrap { max-width: 760px; margin: 0 auto; }
#quiz.is-result .section-head { display: none; }
.quiz-card {
  position: relative;
  scroll-margin-top: 0;
  padding: 30px 32px 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.quiz-card::after {
  content: "";
  position: absolute;
  top: -150px;
  right: -110px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 181, 71, 0.08), transparent 65%);
  pointer-events: none;
}
.quiz-top { position: relative; margin-bottom: 26px; }
.quiz-progress {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.quiz-progress i {
  display: block;
  width: 14%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transition: width 0.35s var(--ease);
}
.quiz-meta { display: flex; justify-content: space-between; margin-top: 10px; color: var(--muted); font-size: 10.5px; }
.quiz-time { color: var(--muted); }

.quiz-body {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.quiz-q { margin-bottom: 20px; }
.quiz-q h3 {
  margin-bottom: 8px;
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.quiz-hint { color: var(--muted); font-size: 12px; line-height: 1.5; }

.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt-grid.is-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.quiz-group { margin-top: 16px; }
.quiz-group:first-child { margin-top: 0; }
.quiz-group h4 {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.opt {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.028);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.opt:hover { border-color: rgba(255, 181, 71, 0.34); background: rgba(255, 255, 255, 0.045); }
.opt.is-selected { border-color: rgba(255, 181, 71, 0.55); background: rgba(255, 181, 71, 0.08); }
.opt-icon {
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid rgba(255, 181, 71, 0.16);
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255, 181, 71, 0.06);
  color: var(--accent);
}
.opt-icon .icon { width: 16px; height: 16px; }
.opt-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.opt-body b { font-size: 12.5px; font-weight: 800; }
.opt-desc { color: var(--muted); font-size: 10.5px; line-height: 1.4; }
.opt-check {
  position: relative;
  width: 17px;
  height: 17px;
  margin-left: auto;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transition: background 0.18s, border-color 0.18s;
}
.opt-grid.is-chips .opt { width: auto; border-radius: 999px; padding: 9px 14px; }
.opt-grid.is-chips .opt-check { width: 15px; height: 15px; border-radius: 5px; margin-left: 0; order: -1; }
.opt.is-selected .opt-check { background: var(--accent); border-color: var(--accent); }
.opt.is-selected .opt-check::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--accent-ink);
  border-bottom: 2px solid var(--accent-ink);
  transform: translate(-50%, -50%) rotate(-45deg);
}
.quiz-bot-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 10.5px;
}

.quiz-foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.quiz-contact .field { margin-bottom: 14px; }
.quiz-contact label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
}
.quiz-contact input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  transition: border-color 0.18s;
}
.quiz-contact input[type="text"]::placeholder { color: rgba(135, 148, 168, 0.6); }
.quiz-contact input[type="text"]:focus { outline: none; border-color: rgba(255, 181, 71, 0.5); }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0 2px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
  cursor: pointer;
}
.consent input { margin: 2px 0 0; accent-color: var(--accent); width: 14px; height: 14px; flex: none; }
.field-error { min-height: 16px; margin: 6px 0 0; color: var(--danger); font-size: 10.5px; }
.quiz-submit { width: 100%; margin-top: 6px; }
.quiz-note { margin-top: 10px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.quiz-note b { color: var(--text-soft); }
.quiz-submit.is-loading { opacity: 0.75; pointer-events: none; }

.quiz-result { display: flex; flex-direction: column; align-items: center; text-align: center; margin: auto 0; animation: panelIn 0.4s var(--ease); }
.quiz-done {
  padding: 4px 10px;
  border: 1px solid rgba(82, 214, 138, 0.28);
  border-radius: 999px;
  background: rgba(82, 214, 138, 0.08);
  color: var(--ok);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.quiz-result h3 { margin: 12px 0 2px; font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.quiz-price {
  font-family: var(--font-head);
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--accent);
  margin-bottom: 8px;
}
.quiz-result-note { max-width: 52ch; color: var(--muted); font-size: 12px; line-height: 1.55; }
.quiz-result-note b { color: var(--text-soft); }
.result-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 18px 0; }
.result-tags span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
  font-size: 10px;
}
.quiz-plan {
  width: 100%;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.16);
  text-align: left;
}
.quiz-plan h4 { margin-bottom: 12px; color: var(--muted); font-size: 9.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.quiz-plan ol { list-style: none; counter-reset: plan; }
.quiz-plan li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 9px;
  color: var(--text-soft);
  font-size: 11.5px;
  line-height: 1.45;
  counter-increment: plan;
}
.quiz-plan li:last-child { margin-bottom: 0; }
.quiz-plan li::before {
  content: counter(plan);
  position: absolute;
  left: 0;
  top: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 181, 71, 0.12);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 9px;
}
.quiz-plan li b { color: var(--text); }
.quiz-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.quiz-actions .btn { min-width: 190px; }
.quiz-result .text-link { margin-top: 14px; }
.quiz-download { margin-top: 14px; }

.quiz-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 10.5px;
}
.quiz-notes span { display: inline-flex; align-items: center; gap: 6px; }
.quiz-notes .icon { width: 13px; height: 13px; color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.footer-note { margin-top: 18px !important; font-size: 10px !important; color: rgba(135, 148, 168, 0.7) !important; max-width: 34ch; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-col h4 {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.footer-col a, .footer-col span {
  color: var(--text-soft);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-col .text-link { font-size: 12px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 10.5px;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 84;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 181, 71, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0b111b;
  color: var(--accent);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s, background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(255, 181, 71, 0.28);
}
.to-top:active { transform: translateY(0) scale(0.96); }
.to-top .icon { width: 20px; height: 20px; }
body.nav-open .to-top { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- Chat ---------- */
.chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 85; transition: opacity 0.2s, visibility 0.2s; }
.chat-toggle {
  position: relative;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
  color: var(--accent-ink);
  cursor: pointer;
  box-shadow: 0 16px 42px rgba(255, 181, 71, 0.36);
  transition: transform 0.2s var(--ease);
}
.chat-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 181, 71, 0.45);
  border-radius: 50%;
  animation: chatPulse 3s ease-out infinite;
}
.chat-toggle:hover { transform: translateY(-2px) scale(1.03); }
.chat-toggle .icon { width: 25px; height: 25px; }
.chat-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid var(--bg);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ff5d5d;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 368px;
  max-width: calc(100vw - 32px);
  max-height: min(590px, calc(100vh - 118px));
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #0a0f18;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.62);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: chatIn 0.28s var(--ease);
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.chat-avatar {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 181, 71, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 181, 71, 0.09);
  color: var(--accent);
}
.chat-avatar .icon { width: 17px; height: 17px; }
.chat-head-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.chat-head-info b { font-size: 12.5px; }
.chat-head-info span { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 9.5px; }
.chat-head-info .dot { width: 5px; height: 5px; }
.chat-close {
  width: 30px;
  height: 30px;
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.chat-close:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.chat-close .icon { width: 16px; height: 16px; }

.chat-messages {
  flex: 1;
  min-height: 180px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow-y: auto;
  background: radial-gradient(420px 200px at 50% 0%, rgba(255, 181, 71, 0.035), transparent);
}
.chat-messages::-webkit-scrollbar { width: 5px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 99px; }
.chat-msg { display: flex; max-width: 88%; animation: msgIn 0.26s var(--ease); }
.chat-msg.is-bot { align-self: flex-start; }
.chat-msg.is-user { align-self: flex-end; }
.chat-bubble {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 13px 13px 13px 4px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text-soft);
  font-size: 11.5px;
  line-height: 1.52;
}
.chat-msg.is-user .chat-bubble {
  border: 0;
  border-radius: 13px 13px 4px 13px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.chat-bubble .msg-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 181, 71, 0.32);
  border-radius: 7px;
  background: rgba(255, 181, 71, 0.08);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.chat-typing { display: inline-flex; gap: 3px; align-items: center; }
.chat-typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing 1.2s infinite;
}
.chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-typing i:nth-child(3) { animation-delay: 0.3s; }

.chat-chips {
  display: flex;
  gap: 6px;
  padding: 2px 12px 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.chat-chips::-webkit-scrollbar { display: none; }
.chat-chip {
  flex: none;
  padding: 7px 11px;
  border: 1px solid rgba(255, 181, 71, 0.24);
  border-radius: 999px;
  background: rgba(255, 181, 71, 0.055);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.chat-chip:hover { background: rgba(255, 181, 71, 0.12); }
.chat-form {
  display: flex;
  gap: 7px;
  padding: 9px 12px;
  border-top: 1px solid var(--line);
}
.chat-input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 11.5px;
}
.chat-input::placeholder { color: rgba(135, 148, 168, 0.6); }
.chat-input:focus { outline: none; border-color: rgba(255, 181, 71, 0.42); }
.chat-form button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  transition: background 0.2s;
}
.chat-form button:hover { background: var(--accent-2); }
.chat-form button .icon { width: 16px; height: 16px; }
.chat-disclaimer {
  padding: 0 12px 9px;
  color: rgba(135, 148, 168, 0.6);
  font-size: 8.5px;
  text-align: center;
  letter-spacing: 0.02em;
}

/* ---------- Toast / confetti ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 95;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111827;
  color: var(--text);
  font-size: 12px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 92;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 181, 71, 0.45); }
  70% { box-shadow: 0 0 0 6px rgba(255, 181, 71, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 181, 71, 0); }
}
@keyframes feedIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@keyframes reportIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}
@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.16); }
  100% { transform: scale(1); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes demoSwap {
  0% { opacity: 0.55; }
  100% { opacity: 1; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes launchRing {
  0% { transform: scale(1); opacity: 0.55; }
  75% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
@keyframes urgent {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  55% { transform: translateX(4px); }
  80% { transform: translateX(-2px); }
}
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-3px); opacity: 1; }
}
@keyframes chatPulse {
  0% { transform: scale(1); opacity: 0.45; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}
@keyframes chatIn {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@keyframes lineUp {
  from { transform: translateY(112%); }
  to { transform: translateY(0); }
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -18px, 0) scale(1.04); }
}
@keyframes tgMsgIn {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy h1 { max-width: 820px; }
  .monitor { margin: 0 auto; max-width: 620px; }
  .calc-grid { grid-template-columns: 1fr; gap: 38px; }
  .calc-card { max-width: 640px; margin: 0 auto; width: 100%; }
  .station-panel { grid-template-columns: 1fr; gap: 26px; }
  .station-widget { min-height: 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / 4; }
}

@media (max-width: 960px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(5, 7, 12, 0.92);
  }
  .site-nav { display: none; }
  .mobile-nav {
    position: fixed;
    top: 84px;
    left: 16px;
    right: 16px;
    z-index: 82;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    padding: 14px 14px 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #090d15;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
  }
  .mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-nav a:not(.btn) {
    padding: 12px 13px;
    border-radius: 10px;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
  }
  .mobile-nav a:not(.btn):hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
  .mobile-nav .nav-cta {
    display: inline-flex;
    margin-top: 8px;
    justify-content: center;
    padding: 13px 18px;
    font-size: 14px;
    box-shadow: none;
  }
  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 69;
    background: rgba(3, 5, 9, 0.66);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s, visibility 0.22s;
  }
  .nav-scrim.is-open { opacity: 1; visibility: visible; }
  body.nav-open .chat-widget { opacity: 0; visibility: hidden; pointer-events: none; }
  .header-cta { display: none; }
  .nav-toggle { display: grid; }
  body.nav-open { overflow: hidden; }

  .hero { padding: 40px 0 76px; }
  .hero-stats { gap: 14px; }
  .section { padding: 88px 0; }
  .stations { gap: 6px; }
  .station { padding: 11px 10px; }
  .st-name { font-size: 12.5px; }
  .st-days { font-size: 9px; }
  .manifesto { padding: 96px 0; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .container { padding: 0 18px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 34px; }
  .section-head h2 { font-size: clamp(26px, 7vw, 34px); }
  .lead { font-size: 14.5px; }

  .header-inner { min-height: 68px; }
  .logo-word { font-size: 14px; }
  .mobile-nav { top: 76px; }

  .hero { padding: 26px 0 64px; }
  .hero-copy h1 { font-size: clamp(24px, 7.6vw, 36px); line-height: 1.08; max-width: 100%; }
  .hero-lead { font-size: 14.5px; margin-top: 18px; }
  .hero-copy .eyebrow { margin-bottom: 18px; font-size: 9.5px; letter-spacing: 0.12em; }
  .hero-cta { flex-direction: column; align-items: stretch; margin: 26px 0 30px; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 20px; }
  .hero-stats dt { font-size: 14.5px; }
  .hero-stats dd { font-size: 9.5px; }

  .monitor { padding: 14px; border-radius: 22px; }
  .monitor-head { flex-wrap: wrap; gap: 10px; }
  .monitor-title { font-size: 9px; }
  .mode-btn { font-size: 9.5px; padding: 6px 8px; }
  .monitor-grid { padding: 10px; }
  .mstat b { font-size: 17px; }
  .mstat span { font-size: 8px; }
  .feed { height: 300px; }
  .feed-item { grid-template-columns: 29px minmax(0, 1fr) auto; gap: 8px; padding: 8px; }
  .feed-avatar { width: 29px; height: 29px; font-size: 11px; }
  .feed-text { font-size: 10px; }
  .feed-meta .chan { display: none; }
  .feed-status { font-size: 8px; padding: 3px 6px; }
  .morning-report { left: 10px; right: 10px; bottom: 48px; }

  .marquee { padding: 13px 0; }
  .marquee-track { gap: 22px; }
  .marquee-track span { font-size: 9px; }

  .demo-controls { flex-direction: column; align-items: stretch; gap: 12px; }
  .seg { width: 100%; justify-content: space-between; }
  .seg-btn { flex: 1; padding: 9px 8px; font-size: 11.5px; }
  .chips { gap: 6px; }
  .chip { padding: 7px 11px; font-size: 11px; }
  .browser { border-radius: 16px; }
  .browser-bar { padding: 9px 12px; }
  .browser-url { margin-left: 6px; font-size: 9px; padding: 4px 8px; }
  .browser-badge { display: none; }
  .demo-site { padding: 16px 15px 18px; }
  .ds-links { display: none; }
  .ds-hero { grid-template-columns: 1fr; gap: 16px; padding: 20px 0 16px; }
  .ds-copy h3 { font-size: clamp(19px, 5.6vw, 24px); }
  .ds-copy p { font-size: 11px; }
  .ds-visual { height: 140px; }
  .ds-statcard { font-size: 9px; left: 9px; bottom: 9px; }
  .ds-cards { grid-template-columns: 1fr; gap: 7px; }
  .ds-card { flex-direction: row; align-items: center; gap: 9px; padding: 9px 11px; }
  .ds-card > span:last-child { margin-left: auto; text-align: right; }
  .ds-card-num { display: none; }
  .demo-note { font-size: 11px; }

  .calc-card { padding: 20px; border-radius: 20px; }
  .check-list li { font-size: 12.5px; }
  .calc-big { font-size: 46px; }
  .calc-money { font-size: 11px; }

  .stations {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .stations::-webkit-scrollbar { display: none; }
  .station { flex: 0 0 132px; }
  .conv-progress { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 18px; }
  .conv-progress .conv-bar { width: 100%; flex: none; }
  .station-panel { padding: 18px; border-radius: 18px; gap: 20px; }
  .station-widget { padding: 14px; }
  .widget-caption { font-size: 10px; }
  .device-stage { min-height: 180px; }

  .game-screen { padding: 20px 16px; }
  .game-intro h3, .game-screen h3 { font-size: 21px; }
  .game-intro > p, .game-result-lead { font-size: 12.5px; }
  .game-facts { gap: 26px; margin: 20px 0; }
  .game-facts b { font-size: 19px; }
  .game-hud { gap: 9px; flex-wrap: wrap; }
  .game-timer { font-size: 17px; min-width: 54px; }
  .game-score { font-size: 10.5px; }
  .inbox { max-height: 330px; }
  .msg { grid-template-columns: 29px minmax(0, 1fr) auto; gap: 8px; padding: 9px 10px; }
  .msg-avatar { width: 29px; height: 29px; font-size: 11px; }
  .msg-text { font-size: 10.5px; }
  .msg-status { font-size: 8.5px; }
  .game-actions { flex-direction: column; align-items: stretch; }
  .game-actions .btn { width: 100%; }
  .result-compare { gap: 8px; }
  .result-compare > div { min-width: 118px; padding: 9px 12px; }

  .metrics { grid-template-columns: 1fr; gap: 10px; }
  .metric { padding: 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .metric b { font-size: 34px; }
  .metric span { margin-top: 0; text-align: right; font-size: 11px; max-width: 20ch; }
  .metrics-note { text-align: left; }

  .feature-grid { grid-template-columns: 1fr; gap: 10px; }
  .feature { padding: 18px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; }
  .feature-icon { margin-bottom: 0; width: 36px; height: 36px; }
  .feature h3 { margin-bottom: 0; flex: 1; }
  .feature p { flex: 1 1 100%; margin: 0; }
  .feature .text-link { margin-top: 0; }

  .manifesto { padding: 76px 0; }
  .manifesto-watermark { top: -20px; right: -16px; }
  .manifesto blockquote { margin-top: 18px; }
  .manifesto blockquote p { font-size: clamp(19px, 5.6vw, 26px); line-height: 1.4; margin-bottom: 20px; }

  .quiz-card { padding: 18px 16px 16px; border-radius: 20px; }
  .quiz-body { min-height: 240px; }
  .opt-grid { grid-template-columns: 1fr; gap: 8px; }
  .opt-grid.is-chips { gap: 7px; }
  .opt { padding: 11px 13px; font-size: 12px; }
  .opt-grid.is-chips .opt { padding: 8px 11px; font-size: 11.5px; }
  .opt-check { width: 16px; height: 16px; }
  .quiz-foot { flex-wrap: wrap; }
  .quiz-foot .btn { flex: 1; }
  .quiz-price { font-size: clamp(21px, 6.4vw, 30px); white-space: nowrap; letter-spacing: -0.04em; }
  .quiz-actions { flex-direction: column; }
  .quiz-actions .btn { width: 100%; }
  .quiz-notes { gap: 10px; font-size: 9.5px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 32px; }
  .site-footer { padding-bottom: 100px; }

  .chat-widget { right: 16px; bottom: 16px; }
  .to-top { left: 16px; bottom: 16px; width: 44px; height: 44px; }
  .chat-toggle { width: 52px; height: 52px; }
  .chat-panel { bottom: 64px; max-height: calc(100vh - 100px); }
  .toast { bottom: 84px; }

  h2 { font-size: clamp(25px, 6.8vw, 32px); }
}

@media (max-width: 420px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats div:last-child { grid-column: 1 / -1; }
  .monitor-head { gap: 8px; }
  .mode-btn { padding: 6px 7px; }
  .feed-status { display: none; }
  .feed-item { grid-template-columns: 29px minmax(0, 1fr); }
  .result-tags { justify-content: flex-start; }
  .quiz-plan { padding: 13px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col:last-child { grid-column: auto; }
}

@media (max-width: 1080px) {
  .bots-grid { grid-template-columns: 1fr; gap: 42px; }
  .bots-copy { max-width: 720px; }
  .bots-visual { min-height: 0; padding-top: 10px; }
  .phone { width: 330px; }
  .phone-tag { left: 8%; bottom: 80px; }
}

@media (max-width: 760px) {
  .bots-watermark { display: none; }
  .bots-copy h2 { font-size: clamp(27px, 7vw, 34px); }
  .bot-points { gap: 8px; }
  .bot-points b { font-size: 20px; }
  .bot-points span { font-size: 9.5px; }
  .phone { width: 100%; max-width: 318px; padding: 8px; border-radius: 40px; }
  .tg-app { height: 540px; border-radius: 32px; }
  .tg-chat { padding: 10px 8px; gap: 6px; }
  .tg-bubble { font-size: 10px; }
  .phone-tag { display: none; }
  .bots-note { font-size: 9.5px; }
  .bot-actions { align-items: stretch; }
  .bot-actions .btn { width: 100%; }
  .bot-actions > span { text-align: center; }
  .manifesto-title { font-size: clamp(28px, 7.4vw, 40px); }
  .manifesto blockquote { margin-top: 18px; }
}

@media (max-width: 520px) {
  .bot-points { grid-template-columns: 1fr; gap: 0; margin: 20px 0 18px; }
  .bot-points li {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
  }
  .bot-points b { font-size: 18px; }
  .bot-points span { max-width: 22ch; text-align: right; }
  .bots-label { margin-top: 12px; }
  .tg-app { height: 512px; }
  .phone { max-width: 300px; }
}

@media (max-width: 380px) {
  .bots-copy h2 .muted-strong { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .h1-line > span { animation: none; transform: none; }
  .hero-cursor { display: none; }
  [data-tilt] { transform: none; }
  .bg-canvas { display: none; }
  .bots-orb, .phone-glow { animation: none; }
}
