/* ============================================================
   AISATY — design system
   Dark premium · Linear/Raycast/Vapi lineage
   ============================================================ */

/* ---------- self-hosted fonts ---------- */
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/unbounded-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/unbounded-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/unbounded-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/unbounded-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-tight-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-tight-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-tight-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-tight-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/jetbrains-mono-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/jetbrains-mono-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  /* surfaces */
  --bg: #07080c;
  --bg-2: #0b0d12;
  --bg-3: #10131a;
  --card: rgba(255, 255, 255, 0.028);
  --card-hover: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);

  /* text */
  --text: #f2f3f7;
  --text-2: #a8adbd;
  --text-3: #666c7e;

  /* brand accent (ember) */
  --accent: #ff5c38;
  --accent-soft: #ff7a52;
  --accent-glow: rgba(255, 92, 56, 0.55);

  /* psychotype palette */
  --c-vlastny: #ff4d4d;
  --c-vyzhiv: #d9c3a0;
  --c-hranitel: #a37bff;
  --c-sistemny: #4d9fff;
  --c-dostigator: #ff9040;

  /* signals */
  --ok: #3ddc84;
  --warn: #ffc53d;
  --bad: #ff4d4d;

  /* type */
  --f-display: "Inter Tight", "Inter", sans-serif;
  --f-brand: "Unbounded", sans-serif;
  --f-body: "Inter", -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", monospace;

  --nav-h: 88px;
  --radius: 16px;
  --radius-lg: 24px;

  --psy: var(--c-vlastny); /* current psychotype accent, JS-driven */
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: rgba(255, 92, 56, 0.35); color: #fff; }

.mono { font-family: var(--f-mono); font-size: 0.82em; letter-spacing: 0.02em; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 48px); }

/* grain removed site-wide */

/* ---------- scroll progress ---------- */
.progress-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1600;
  background: transparent; pointer-events: none;
}
.progress-bar span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--c-dostigator));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1500;
  padding-top: 14px;
}
.nav__inner {
  width: min(1200px, 100% - 32px); margin-inline: auto;
  height: 60px; display: flex; align-items: center; gap: 36px;
  padding: 0 12px 0 20px; border-radius: 18px;
  background: rgba(10, 11, 16, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 14px 44px -20px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background 0.4s, border-color 0.4s;
}
.nav.is-scrolled .nav__inner {
  background: rgba(8, 9, 13, 0.78);
  border-color: rgba(255, 255, 255, 0.1);
}
/* nav over light sections: near-transparent light glass */
.nav.over-light .nav__inner {
  background: rgba(246, 247, 243, 0.55);
  border-color: rgba(22, 24, 29, 0.08);
  box-shadow: 0 10px 30px -18px rgba(22, 24, 29, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.nav.over-light .nav__logo,
.nav.over-light .nav__logo-mark { color: #16181d; }
.nav.over-light .nav__links a { color: #4b5160; }
.nav.over-light .nav__links a:hover { color: #16181d; background: rgba(22, 24, 29, 0.06); }
.nav.over-light .login__btn,
.nav.over-light .btn--ghost {
  background: rgba(22, 24, 29, 0.05); border-color: rgba(22, 24, 29, 0.12); color: #16181d;
  box-shadow: none;
}
.nav.over-light .nav__burger span { background: #16181d; }
.nav__logo, .nav__logo-mark, .nav__links a { transition: color 0.35s, background 0.35s; }
.nav__logo { display: flex; align-items: center; gap: 10px; color: var(--text); }
.nav__logo-mark { width: 26px; height: 27px; color: var(--text); }
.nav__logo-mark svg { width: 100%; height: 100%; }
.nav__logo-text {
  font-family: var(--f-brand); font-weight: 500; font-size: 17px; letter-spacing: 0.01em;
  display: inline-flex; align-items: center;
}
/* Логотип-надпись — вектор AISATY, красится currentColor как и эмблема. */
.nav__logo-text svg { display: block; height: 15px; width: auto; }
.nav__links { display: flex; gap: 4px; margin-inline: auto; }
.nav__links a {
  padding: 8px 14px; border-radius: 99px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: color 0.25s, background 0.25s;
}
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav__actions { display: flex; gap: 10px; }
.login { position: relative; }
.login__btn { gap: 6px; }
.login__caret { width: 11px; height: 11px; transition: transform 0.3s; }
.login.is-open .login__caret { transform: rotate(180deg); }
.login__drop {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 240px;
  padding: 8px; border-radius: 16px;
  background: rgba(12, 13, 19, 0.92);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 60px -20px rgba(0,0,0,0.8);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.98);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.login.is-open .login__drop { opacity: 1; visibility: visible; transform: none; }
.login__drop a {
  display: flex; flex-direction: column; gap: 1px;
  padding: 11px 14px; border-radius: 10px;
  transition: background 0.2s;
}
.login__drop a:hover { background: rgba(255, 255, 255, 0.06); }
.login__drop b { font-size: 14px; font-weight: 600; }
.login__drop span { font-size: 12px; color: var(--text-3); }
.mobile-menu__login { display: flex; flex-direction: column; gap: 2px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.mobile-menu__login a { font-size: 16px; font-weight: 500; color: var(--text-2); padding: 8px 0; }

.nav__burger {
  display: none; width: 44px; height: 44px; margin-left: auto;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.nav__burger span {
  width: 22px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.6, 0, 0.2, 1), opacity 0.3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1400;
  background: rgba(7, 8, 12, 0.92);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 100px 32px 48px;
  opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__links a {
  font-family: var(--f-display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; padding: 12px 0;
  color: var(--text); opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s, transform 0.5s;
}
.mobile-menu.is-open .mobile-menu__links a { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu__cta { margin-top: 32px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 99px; font-weight: 600; white-space: nowrap;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s, box-shadow 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn--sm { padding: 9px 18px; font-size: 13.5px; }
.btn--lg { padding: 15px 28px; font-size: 15px; }
.btn--xl { padding: 19px 36px; font-size: 16px; }
.btn--full { width: 100%; }

.btn--primary {
  background: linear-gradient(180deg, #ff8352 0%, var(--accent) 52%, #f24f2c 100%);
  color: #1a0a05;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 122, 61, 0.28), 0 8px 32px -8px var(--accent-glow);
}
.btn--primary:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 122, 61, 0.45), 0 14px 48px -6px var(--accent-glow);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.05); color: var(--text);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.16); }
.btn--founder {
  background: linear-gradient(180deg, #ffffff, #dfe2ea);
  color: #0a0b0f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 32px -10px rgba(255, 255, 255, 0.35);
}
.btn--founder:hover { box-shadow: 0 12px 44px -8px rgba(255, 255, 255, 0.45); }
.btn__arr { width: 15px; height: 15px; transition: transform 0.3s; }
.btn:hover .btn__arr { transform: translateX(3px); }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { padding: 130px 0; position: relative; }
.section__head { max-width: 720px; margin-bottom: 64px; }
.section__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.section__sub { color: var(--text-2); font-size: 17px; max-width: 600px; }
.eyebrow {
  display: inline-block; font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-soft);
  margin-bottom: 20px;
}

/* split-text */
.line-wrap { display: block; overflow: hidden; }
.word-wrap { display: inline-block; vertical-align: top; margin-right: 0.26em; }
.word-wrap:last-child { margin-right: 0; }
.line-inner { display: block; transform: translateY(110%); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 48px) 0 80px;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 38%;
  filter: saturate(1.05) brightness(0.82) contrast(1.04);
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 10, 0.88) 0%, rgba(5, 6, 10, 0.62) 42%, rgba(5, 6, 10, 0.28) 72%, rgba(5, 6, 10, 0.5) 100%),
    linear-gradient(180deg, rgba(5, 6, 10, 0.6) 0%, rgba(5, 6, 10, 0.12) 34%, rgba(5, 6, 10, 0.55) 78%, var(--bg) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: flex; align-items: center;
}
.hero__copy { max-width: 640px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--text-2);
  margin-bottom: 28px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero__badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 10px var(--ok); animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(38px, 4.9vw, 66px); line-height: 1.04; letter-spacing: -0.03em;
  margin-bottom: 26px;
  filter: drop-shadow(0 0 28px rgba(255, 200, 170, 0.16));
}
.hero__title .line-inner, .final__title .line-inner {
  background: linear-gradient(180deg, #ffffff 45%, #b3b8c9 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub { color: var(--text-2); font-size: 18px; max-width: 480px; margin-bottom: 36px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero__note { font-size: 13.5px; color: var(--text-3); }

/* chat bubbles — used by live demo */
.msg {
  max-width: 82%; padding: 10px 14px; border-radius: 16px;
  font-size: 13.5px; line-height: 1.45;
  opacity: 0; transform: translateY(14px) scale(0.97);
  animation: msgin 0.45s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}
@keyframes msgin { to { opacity: 1; transform: none; } }
.msg--in {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-soft);
  border-bottom-left-radius: 5px;
}
.msg--out {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(255,92,56,0.16), rgba(255,122,61,0.1));
  border: 1px solid rgba(255, 122, 61, 0.22);
  border-bottom-right-radius: 5px;
}
.msg--typing { display: inline-flex; gap: 4px; align-items: center; padding: 13px 16px; }
.msg--typing i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--text-3);
  animation: tdot 1.2s infinite;
}
.msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tdot { 0%, 60%, 100% { transform: none; opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }
.msg__tag { display: block; margin-top: 6px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.05em; }
.msg__tag--ok { color: var(--ok); }
.msg__tag--warn { color: var(--warn); }
.msg__tag--bad { color: var(--bad); }

/* ============================================================
   METRICS
   ============================================================ */
.metrics { border-block: 1px solid var(--line-soft); background: var(--bg-2); }
.metrics__row {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.metric {
  padding: 44px 32px; text-align: left;
  border-left: 1px solid var(--line-soft);
}
.metric:first-child { border-left: 0; }
.metric__num {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 3.2vw, 44px);
  letter-spacing: -0.025em; margin-bottom: 6px;
  background: linear-gradient(135deg, #fff 30%, var(--accent-soft));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.metric__label { font-size: 13.5px; color: var(--text-3); max-width: 180px; }

/* ============================================================
   PROBLEM — белый блок, фоном видео «робот работает»
   ============================================================ */
.problem {
  background: #f6f7f3; color: #16181d;
  border-block: 1px solid rgba(22, 24, 29, 0.06);
  overflow: hidden;
}
.problem__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 76% center;
}
/* Мобильная раскладка: контент на белом, видео лентой снизу */
@media (max-width: 860px) {
  .section.problem { padding-bottom: min(118vw, 540px); }
  .problem__content { max-width: none; }
  .problem__video {
    inset: auto 0 0 0; height: min(126vw, 580px);
    object-position: 58% center;
  }
  .problem__scrim {
    inset: auto 0 0 0; height: min(126vw, 580px);
    background: linear-gradient(180deg,
      #f6f7f3 0%,
      rgba(246, 247, 243, 0.6) 16%,
      rgba(246, 247, 243, 0.14) 30%,
      rgba(246, 247, 243, 0) 42%);
  }
}
.problem__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(246, 247, 243, 0.99) 0%,
    rgba(246, 247, 243, 0.95) 30%,
    rgba(246, 247, 243, 0.62) 48%,
    rgba(246, 247, 243, 0.1) 64%,
    rgba(246, 247, 243, 0) 78%);
}
.problem .container { position: relative; z-index: 2; }
.problem__content { max-width: 620px; }
.problem .section__head { margin-bottom: 48px; }
.problem .section__sub { color: #5c6270; }
.problem__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.pcard {
  position: relative; padding: 26px 24px 24px;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(22, 24, 29, 0.08); border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(22, 24, 29, 0.04), 0 14px 34px -20px rgba(22, 24, 29, 0.2);
  transition: background 0.35s, border-color 0.35s, transform 0.35s, box-shadow 0.35s;
  overflow: hidden;
}
.pcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 92, 56, 0.1), transparent 55%);
  transition: opacity 0.35s;
}
.pcard:hover {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(22, 24, 29, 0.14); transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(22, 24, 29, 0.05), 0 22px 44px -22px rgba(22, 24, 29, 0.26);
}
.pcard:hover::after { opacity: 1; }
.pcard__num {
  font-family: var(--f-mono); font-size: 24px; font-weight: 500; color: #d43d16;
  margin-bottom: 26px;
}
.pcard h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 9px; letter-spacing: -0.01em; color: #16181d; }
.pcard p { font-size: 13.5px; color: #5c6270; }

/* ============================================================
   PRODUCT — MODES
   ============================================================ */
.product { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mode {
  position: relative; padding: 40px 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden; transition: border-color 0.35s, transform 0.35s;
}
.mode:hover { border-color: rgba(255, 122, 61, 0.25); transform: translateY(-4px); }
.mode__tag {
  display: inline-block; padding: 6px 12px; border-radius: 8px;
  background: rgba(255, 92, 56, 0.1); color: var(--accent-soft);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 22px;
}
.mode__title {
  font-family: var(--f-display); font-size: 27px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px;
}
.mode__desc { color: var(--text-2); font-size: 15px; margin-bottom: 22px; }
.mode__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.mode__list li {
  position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text-2);
}
.mode__list li::before {
  content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 600;
}
.mode__demo {
  border-top: 1px dashed var(--line); padding-top: 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.minimsg {
  max-width: 88%; padding: 9px 13px; border-radius: 13px; font-size: 13px; line-height: 1.4;
}
.minimsg--in { align-self: flex-start; background: rgba(255,255,255,0.06); border: 1px solid var(--line-soft); border-bottom-left-radius: 4px; }
.minimsg--out { align-self: flex-end; background: rgba(255,92,56,0.12); border: 1px solid rgba(255,122,61,0.2); border-bottom-right-radius: 4px; }
.minitag {
  align-self: flex-end; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em;
}
.minitag--ok { color: var(--ok); }
.review-line {
  display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); line-height: 1.5;
}
.rl-badge {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; margin-top: 1px;
}
.rl-badge--warn { background: rgba(255,197,61,0.14); color: var(--warn); }
.rl-badge--ok { background: rgba(61,220,132,0.14); color: var(--ok); }

/* ============================================================
   SYNC — two devices on black, orbit rings
   ============================================================ */
.sync {
  position: relative; background: #000; overflow: hidden;
  padding-top: 120px; padding-bottom: 120px;
}
.sync__rings {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  display: grid; place-items: center;
}
.sync__glow {
  position: absolute; width: min(760px, 62vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,92,56,0.18), rgba(255,92,56,0.05) 45%, transparent 70%);
  filter: blur(38px);
}
.orbit {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  animation: orbspin linear infinite; will-change: transform;
}
.orbit i {
  position: absolute; top: -4px; left: 50%; margin-left: -4px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 14px var(--accent);
}
.orbit--1 { width: min(360px,32vw); aspect-ratio:1; border-color: rgba(255,122,61,0.22); animation-duration: 55s; }
.orbit--2 { width: min(560px,50vw); aspect-ratio:1; border-color: rgba(255,255,255,0.05); animation-duration: 85s; animation-direction: reverse; }
.orbit--3 { width: min(820px,72vw); aspect-ratio:1; border-color: rgba(255,122,61,0.10); animation-duration: 130s; }
.orbit--3 i { background: #cbd5e1; box-shadow: none; }
.orbit--4 { width: min(1120px,96vw); aspect-ratio:1; border-color: rgba(255,255,255,0.035); animation-duration: 180s; animation-direction: reverse; }
.orbit--4 i { width: 6px; height: 6px; background: var(--accent-soft); box-shadow: 0 0 10px var(--accent-glow); }
@keyframes orbspin { to { transform: rotate(360deg); } }

.sync__head { position: relative; z-index: 2; text-align: center; max-width: 760px; margin: 0 auto; }
.sync__eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.sync__eyebrow .ln { width: 34px; height: 1px; background: rgba(255,122,61,0.6); }
.sync__eyebrow b {
  font-family: var(--f-mono); font-weight: 500; font-size: 12px;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent-soft);
}
.sync__title { color: #fff; margin-bottom: 18px; }
.sync__sub { color: var(--text-2); font-size: 17px; max-width: 620px; margin: 0 auto; }

.syncstage {
  position: relative; z-index: 2;
  width: min(1320px, 96%); margin: 52px auto 0;
  display: flex; align-items: flex-end; justify-content: center; gap: 2.5%;
}
.sync__mac { position: relative; width: 72%; margin: 0; }
.sync__mac img {
  width: 100%; display: block; border-radius: 8px;
  filter: drop-shadow(0 50px 90px rgba(0,0,0,0.75));
}
.sync__phone { position: relative; width: 19%; margin: 0; }
.sync__phone img {
  width: 100%; display: block;
  filter: drop-shadow(0 40px 70px rgba(0,0,0,0.8));
}
.sync__mac figcaption, .sync__phone figcaption {
  margin-top: 18px; text-align: center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-3);
}
.sync__chip {
  position: absolute; left: 72%; top: 44%; transform: translate(-50%, -50%);
  z-index: 4; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 99px;
  background: rgba(10,10,12,0.9); border: 1px solid rgba(255,122,61,0.4);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 12.5px; font-weight: 600; color: var(--accent-soft);
  box-shadow: 0 16px 40px -14px rgba(0,0,0,0.8), 0 0 40px -16px var(--accent-glow);
}
.sync__chip svg { width: 15px; height: 15px; }
.sync__chip-pulse {
  position: absolute; left: -5px; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,92,56,0.6); animation: syncpulse 2.2s ease-out infinite;
}
@keyframes syncpulse {
  0% { box-shadow: 0 0 0 0 rgba(255,92,56,0.55); }
  70% { box-shadow: 0 0 0 16px rgba(255,92,56,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,92,56,0); }
}
@media (prefers-reduced-motion: reduce) {
  .orbit { animation: none; }
  .sync__chip-pulse { animation: none; }
}
@media (max-width: 820px) {
  .sync { padding-top: 90px; padding-bottom: 90px; }
  .syncstage { flex-direction: column; align-items: center; gap: 30px; width: 100%; }
  .sync__mac { width: 100%; }
  .sync__phone { width: 52%; }
  .sync__chip { position: static; transform: none; margin-top: 4px; }
  .sync__sub { font-size: 15.5px; }
}

/* ============================================================
   FOUNDATION — animated red-lines background
   ============================================================ */
.foundation { position: relative; background: #000; overflow: hidden; }
.foundation__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.foundation__img {
  position: absolute; inset: -6%;
  background: url("assets/bg-lines.png") center right / cover no-repeat;
  opacity: 0.55; transform-origin: 68% 50%;
  animation: fdbreath 26s ease-in-out infinite alternate;
  will-change: transform, filter;
}
@keyframes fdbreath {
  0%   { transform: scale(1.06) translate(0, 0);      filter: brightness(0.9)  saturate(1); }
  50%  { transform: scale(1.13) translate(-2%, -1.2%); filter: brightness(1.15) saturate(1.12); }
  100% { transform: scale(1.08) translate(1.5%, 1%);   filter: brightness(0.95) saturate(1.04); }
}
.foundation__sweep {
  position: absolute; inset: 0; mix-blend-mode: screen; opacity: 0.5;
  background: linear-gradient(115deg, transparent 38%, rgba(255,140,90,0.16) 50%, transparent 62%);
  background-size: 250% 100%;
  animation: fdsweep 7.5s ease-in-out infinite;
}
@keyframes fdsweep {
  0%, 100% { background-position: 130% 0; }
  50%      { background-position: -30% 0; }
}
.foundation__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #000 0%, rgba(0,0,0,0.86) 34%, rgba(0,0,0,0.35) 66%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, #000 0%, transparent 16%, transparent 82%, #000 100%);
}
.foundation .container { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .foundation__img { animation: none; }
  .foundation__sweep { animation: none; opacity: 0.25; }
}
@media (max-width: 820px) {
  .foundation__img { background-position: center; opacity: 0.6; }
  .foundation__scrim {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 38%, rgba(0,0,0,0.5) 66%, rgba(0,0,0,0.8) 100%);
  }
  .foundation .section__sub, .foundation__col p { text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
}
.foundation__cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-soft);
}
.foundation__col {
  padding: 30px 28px 6px; border-left: 1px solid var(--line-soft);
}
.foundation__col:first-child { border-left: 0; padding-left: 0; }
.foundation__col strong { display: block; font-size: 16.5px; letter-spacing: -0.01em; margin-bottom: 8px; }
.foundation__col p { font-size: 14px; color: var(--text-2); }
@media (max-width: 700px) {
  .foundation__cols { grid-template-columns: 1fr; border-top: 0; }
  .foundation__col { border-left: 0; border-top: 1px solid var(--line-soft); padding: 24px 0 10px; }
  .foundation__col strong { font-size: 18px; }
  .foundation__col p { font-size: 15px; }
}

/* ============================================================
   MANIFEST — scroll-lit phrases
   ============================================================ */
.manifest { position: relative; height: 250vh; background: var(--bg); }
.manifest__sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.manifest__text {
  font-family: var(--f-display);
  font-size: clamp(27px, 3.6vw, 46px); font-weight: 600; line-height: 1.42;
  letter-spacing: -0.02em; max-width: 1020px;
}
.mph { color: rgba(255, 255, 255, 0.13); }

/* ============================================================
   BENTO SMALL CARDS
   ============================================================ */
.bento-small { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
@media (max-width: 1024px) { .bento-small { grid-template-columns: 1fr 1fr; } }
.scard {
  padding: 28px 26px;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: background 0.35s, border-color 0.35s, transform 0.35s;
}
.scard:hover { background: var(--card-hover); border-color: var(--line); transform: translateY(-4px); }
.scard h4 { font-size: 16px; font-weight: 600; margin-bottom: 7px; letter-spacing: -0.01em; }
.scard p { font-size: 13.5px; color: var(--text-2); }
.scard__demo {
  height: 92px; margin-bottom: 20px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  overflow: hidden;
}
.scard__live { font-family: var(--f-mono); font-size: 11.5px; color: var(--text-3); letter-spacing: 0.04em; }
.psyrow { display: flex; gap: 12px; }
.psydot {
  width: 12px; height: 12px; border-radius: 50%;
  opacity: 0.35; transform: scale(1);
  transition: opacity 0.5s, transform 0.5s, box-shadow 0.5s;
}
.psydot[data-k="vlastny"] { background: var(--c-vlastny); }
.psydot[data-k="vyzhiv"] { background: var(--c-vyzhiv); }
.psydot[data-k="hranitel"] { background: var(--c-hranitel); }
.psydot[data-k="sistemny"] { background: var(--c-sistemny); }
.psydot[data-k="dostigator"] { background: var(--c-dostigator); }
.psydot.is-on { opacity: 1; transform: scale(1.45); box-shadow: 0 0 14px currentColor; }
.lamprow { display: flex; gap: 16px; }
.lamp {
  width: 13px; height: 13px; border-radius: 50%;
  opacity: 0.28; transition: opacity 0.5s, box-shadow 0.5s;
}
.lamp--ok { background: var(--ok); }
.lamp--warn { background: var(--warn); }
.lamp--bad { background: var(--bad); }
.lamp.is-on { opacity: 1; }
.lamp--ok.is-on { box-shadow: 0 0 16px var(--ok); }
.lamp--warn.is-on { box-shadow: 0 0 16px var(--warn); }
.lamp--bad.is-on { box-shadow: 0 0 16px var(--bad); }
.pages { position: relative; width: 46px; height: 40px; }
.pages i {
  position: absolute; inset: 0; border-radius: 6px;
  background: rgba(255, 255, 255, 0.09); border: 1px solid var(--line);
  animation: pageshift 3.2s ease-in-out infinite;
}
.pages i:nth-child(2) { animation-delay: 0.25s; }
.pages i:nth-child(3) { animation-delay: 0.5s; }
@keyframes pageshift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(5px, -5px) rotate(4deg); }
}
.pages i:nth-child(1) { background: rgba(255, 122, 61, 0.16); border-color: rgba(255, 122, 61, 0.3); }
@media (prefers-reduced-motion: reduce) { .pages i { animation: none; } }
.ebars { display: flex; align-items: flex-end; gap: 7px; height: 40px; }
.ebars i {
  width: 9px; border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  animation: ebar 2.6s ease-in-out infinite;
}
.ebars i:nth-child(1) { height: 55%; animation-delay: 0s; }
.ebars i:nth-child(2) { height: 80%; animation-delay: 0.2s; }
.ebars i:nth-child(3) { height: 40%; animation-delay: 0.4s; }
.ebars i:nth-child(4) { height: 92%; animation-delay: 0.6s; }
.ebars i:nth-child(5) { height: 60%; animation-delay: 0.8s; }
.ebars i:nth-child(6) { height: 72%; animation-delay: 1s; }
.ebars i:nth-child(7) { height: 48%; animation-delay: 1.2s; }
@keyframes ebar {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.55); }
}
@media (prefers-reduced-motion: reduce) { .ebars i { animation: none; } }

/* ============================================================
   REVIEW SCENE (self-playing)
   ============================================================ */
.mode__demo--review { min-height: 172px; }
.shot {
  position: relative; border-radius: 12px; overflow: hidden;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-soft);
  padding: 10px 12px 12px; margin-bottom: 4px;
  opacity: 0; transform: translateY(10px) scale(0.98);
}
.shot__bar { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.shot__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.shot__bar span { font-size: 10.5px; color: var(--text-3); }
.shot__lines { display: flex; flex-direction: column; gap: 6px; }
.shot__lines b {
  display: block; height: 9px; width: var(--w); border-radius: 5px;
  background: rgba(255, 255, 255, 0.09);
}
.shot__lines b:nth-child(2) { align-self: flex-end; background: rgba(255, 122, 61, 0.18); }
.shot__scan {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 122, 61, 0.16) 50%, transparent 70%);
  transform: translateX(-100%);
}
.shot__scan.is-scanning { animation: scan 1.1s ease-in-out; }
@keyframes scan { 0% { opacity: 1; transform: translateX(-100%); } 100% { opacity: 1; transform: translateX(100%); } }
#rvL1, #rvL2 { opacity: 0; transform: translateY(8px); }
#rvL2 em { font-style: normal; color: var(--text); }
.rv-caret {
  display: inline-block; width: 1.5px; height: 0.95em; margin-left: 2px;
  background: var(--accent-soft); vertical-align: text-bottom; opacity: 0;
}
.rv-caret.is-blink { opacity: 1; animation: caretblink 0.85s step-end infinite; }
@keyframes caretblink { 50% { opacity: 0; } }

/* ============================================================
   DUO — device showcase (Продукт)
   ============================================================ */
.duo { position: relative; text-align: center; overflow: hidden; }
.duo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("assets/bg-lines.png") center top / cover no-repeat;
  opacity: 0.28; filter: brightness(0.85);
}
.duo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(7, 8, 12, 0.72) 0%,
    rgba(7, 8, 12, 0.3) 26%,
    rgba(7, 8, 12, 0.55) 55%,
    rgba(5, 5, 7, 0.9) 80%,
    #050507 100%);
}
.duo .container { position: relative; z-index: 2; }
.duo__label {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 20px;
  margin-bottom: 44px;
}
.duo__label i {
  flex: 0 1 420px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 92, 56, 0.55));
}
.duo__label i.duo__label-r { background: linear-gradient(90deg, rgba(255, 92, 56, 0.55), transparent); }
.duo__label span {
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #ff6a52;
}
.duo__label::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 260px; height: 46px; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 92, 56, 0.22), transparent 70%);
}
.duo__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(26px, 2.9vw, 40px); letter-spacing: -0.02em; line-height: 1.2;
  margin: 0 auto 4px;
}
.duo__sub {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(21px, 2.5vw, 33px); letter-spacing: -0.02em; line-height: 1.25;
  color: var(--text-3); margin: 0 auto 56px;
}
.duo__shell { position: relative; width: min(1080px, 100%); margin-inline: auto; }
@media (min-width: 761px) {
  .duo__shell { width: 70vw; max-width: none; margin-left: calc((100% - 70vw) / 2); }
}
.duo__stage {
  position: relative; width: 100%;
  aspect-ratio: 1792 / 1008;
}
.duo__screen {
  position: absolute; left: 16.13%; right: 15.18%; top: 9.23%; bottom: 9.72%;
  overflow: hidden; border-radius: clamp(10px, 1.6vw, 22px);
  background: #050608;
}
.duo__rays {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 30% center;
  filter: brightness(1.18) saturate(1.06);
}
.duo__frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.duo__overlay {
  position: absolute; left: 16.13%; right: 15.18%; top: 9.23%; bottom: 9.72%;
  z-index: 3; pointer-events: none;
}
.duo__win {
  position: absolute; left: 5.5%; top: 50%; transform: translateY(-50%) scale(0.98);
  width: min(56%, 460px); text-align: left;
  background: rgba(10, 11, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px; padding: 20px 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 30px 70px -24px rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; pointer-events: auto;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s;
}
.duo__win.is-on { opacity: 1; visibility: visible; transform: translateY(-50%) scale(1); }
.duo__lights { display: flex; gap: 6px; margin-bottom: 14px; }
.duo__lights i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.duo__lights i:first-child { background: #ff5f57; }
.duo__tag {
  display: inline-block; padding: 5px 11px; border-radius: 7px;
  background: rgba(255, 92, 56, 0.1); color: var(--accent-soft);
  font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase;
  margin-bottom: 12px;
}
.duo__text { font-size: 13.5px; color: var(--text-2); line-height: 1.55; margin-bottom: 14px; }
.duo__demo { display: flex; flex-direction: column; gap: 7px; }
.duo__win .mode__demo--review { min-height: 0; border-top: 0; padding-top: 0; }
.duo__bars { display: flex; justify-content: center; gap: 14px; margin-top: 30px; }
.duo__bar {
  position: relative; width: 96px; height: 4px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.12); overflow: hidden;
}
.duo__bar i {
  position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  box-shadow: 0 0 12px var(--accent-glow);
}
.duo__bar.is-active i { animation: duofill 7s linear forwards; }
@keyframes duofill { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .duo__bar.is-active i { animation: none; width: 100%; }
}
.duo .bento-small { text-align: left; margin-top: 56px; }

@media (max-width: 760px) {
  .duo__stage { width: 116%; margin-left: -8%; }
  .duo__shell { width: 100%; }
  .duo__overlay { position: static; inset: auto; margin-top: 18px; }
  .duo__win {
    position: relative; left: auto; top: auto; transform: none;
    width: min(520px, 100%); margin-inline: auto;
    display: none;
  }
  .duo__win.is-on { display: block; transform: none; }
  .duo__label i { flex-basis: 120px; }
}

/* ============================================================
   LIVE DEMO
   ============================================================ */
.demo { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.demo__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
@media (max-width: 860px) {
  .demo__grid { grid-template-columns: 1fr; gap: 30px; }
  .demo__steps li { font-size: 16px; }
  .demo__widget { width: 100%; }
}
.demo__steps { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.demo__steps li { display: flex; gap: 16px; align-items: flex-start; font-size: 15.5px; color: var(--text-2); }
.demo__steps .mono {
  flex: 0 0 auto; display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px; font-size: 12px;
  background: rgba(255, 92, 56, 0.09); color: var(--accent-soft);
}
.demo__note {
  font-size: 14px; color: var(--text-3);
  padding: 16px 20px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line-soft);
}
.demo__widget {
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 122, 61, 0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 0 70px -34px var(--accent-glow), 0 40px 80px -40px rgba(0,0,0,0.7);
}
.demo__head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; border-bottom: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.025);
}
.demo__peer { display: flex; align-items: center; gap: 12px; }
.demo__peer strong { display: block; font-size: 15px; }
.demo__avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 15px; color: #160905;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
}
.demo__status { font-size: 12px; color: var(--text-3); }
.demo__left { font-size: 11.5px; color: var(--accent-soft); }
.demo__body { position: relative; min-height: 380px; display: flex; flex-direction: column; }
.demo__state {
  display: none; flex: 1; padding: 28px 24px;
  flex-direction: column; gap: 18px; justify-content: center;
}
.demo__state.is-active { display: flex; }
.demo__state p { font-size: 14.5px; color: var(--text-2); line-height: 1.6; }
.demo__state p strong { color: var(--text); }
.demo__state .btn { align-self: flex-start; }
.demo__qnum { font-size: 11.5px; color: var(--accent-soft); text-transform: uppercase; letter-spacing: 0.1em; }
.demo__qlabel { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.demo__input {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  color: var(--text); font: inherit; font-size: 14.5px;
  transition: border-color 0.25s, background 0.25s;
}
.demo__input::placeholder { color: var(--text-3); }
.demo__input:focus {
  outline: none; border-color: rgba(255, 122, 61, 0.55);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(255, 92, 56, 0.14);
}
.demo__qactions { display: flex; justify-content: space-between; gap: 12px; }
.demo__qactions .btn[disabled] { opacity: 0.4; pointer-events: none; }
.demo__spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid rgba(255, 122, 61, 0.18); border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
.demo__spinner--sm { width: 22px; height: 22px; border-width: 2.5px; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo__buildstep { font-size: 16px; font-weight: 600; color: var(--text); }
.demo__buildnote { font-size: 13px !important; color: var(--text-3) !important; }
.demo__state--chat { padding: 0; justify-content: flex-start; gap: 0; }
.demo__feed {
  flex: 1; min-height: 300px; max-height: 380px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 9px; padding: 20px;
}
.demo__feed .msg { max-width: 86%; }
.demo__send {
  display: flex; gap: 10px; align-items: center;
  padding: 14px 16px; border-top: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.02);
}
.demo__input--chat { flex: 1; }
.demo__sendbtn {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #ff8352, var(--accent)); color: #160905;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 6px 20px -6px var(--accent-glow);
  transition: transform 0.2s;
}
.demo__sendbtn:hover { transform: scale(1.06); }
.demo__sendbtn svg { width: 18px; height: 18px; }
.demo__verdict { font-size: 14.5px; color: var(--text-2); line-height: 1.65; white-space: pre-line; }
.demo__error {
  margin: 0 24px 18px; padding: 12px 16px; border-radius: 12px; font-size: 13.5px;
  background: rgba(255, 77, 77, 0.09); border: 1px solid rgba(255, 77, 77, 0.25); color: #ffb3b3;
}

/* ============================================================
   PSYCHOTYPES — light full-bleed stage
   ============================================================ */
.psycho-light {
  background: #f6f7f3; color: #16181d;
  padding: 110px 0 0; overflow: hidden;
}
.psycho-light__head { text-align: center; max-width: 860px; margin-inline: auto; }
.eyebrow--dark { color: #c2410c; }
.psycho-light__title { color: #16181d; margin-inline: auto; }
.psycho-light__sub {
  color: #5c6270; font-size: 17px; max-width: 640px; margin: 0 auto;
}
.psycho__tabs--light { justify-content: center; margin: 30px 0 10px; }
.psycho__tabs--light .ptab {
  background: rgba(22, 24, 29, 0.045); border-color: rgba(22, 24, 29, 0.1); color: #4b5160;
}
.psycho__tabs--light .ptab:hover { color: #16181d; border-color: rgba(22, 24, 29, 0.2); }
.psycho__tabs--light .ptab.is-active {
  color: #16181d;
  background: color-mix(in srgb, var(--tab-c) 14%, #ffffff);
  border-color: color-mix(in srgb, var(--tab-c) 55%, transparent);
}

.psycho-light__stage { position: relative; width: 100%; }
.psycho-light__imgs { position: relative; width: 100%; aspect-ratio: 1376 / 768; }
.psyimg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center bottom;
  opacity: 0; transform: scale(1.02);
  transition: opacity 0.65s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.psyimg.is-on { opacity: 1; transform: scale(1); }

.psycho-light__side {
  position: absolute; top: 34%; transform: translateY(-50%);
  width: min(26%, 340px); z-index: 2;
}
.psycho-light__side--l { left: max(4vw, calc((100% - 1240px) / 2)); text-align: left; }
.psycho-light__side--r { right: max(4vw, calc((100% - 1240px) / 2)); text-align: left; }
.psycho-light__side h3 {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 2.6vw, 40px);
  letter-spacing: -0.025em; color: #16181d; margin-bottom: 14px;
}
.psycho-light__quote {
  font-size: clamp(16px, 1.4vw, 19px); font-weight: 600; color: #333844; line-height: 1.5;
}
.psycho-light__quote::after {
  content: ""; display: block; width: 52px; height: 3px; border-radius: 3px;
  margin-top: 18px; background: var(--psy); transition: background 0.6s;
}
.psycho-light__desc { font-size: 15px; color: #4b5160; margin-bottom: 20px; }
.psycho__traits--light span {
  background: color-mix(in srgb, var(--psy) 10%, #ffffff);
  color: color-mix(in srgb, var(--psy) 72%, #16181d);
  border-color: color-mix(in srgb, var(--psy) 32%, transparent);
}

@media (max-width: 900px) {
  .psycho-light { padding-top: 84px; }
  .psycho-light__stage { display: flex; flex-direction: column; }
  .psycho-light__imgs { order: 1; }
  .psyimg { object-fit: cover; }
  .psycho-light__side {
    position: static; transform: none; width: auto; order: 2;
    padding: 0 24px; text-align: center;
  }
  .psycho-light__side--l { margin-top: 26px; }
  .psycho-light__side--l h3 { margin-bottom: 8px; }
  .psycho-light__quote::after { margin-inline: auto; }
  .psycho-light__side--r { margin-top: 16px; padding-bottom: 44px; }
  .psycho__traits--light { justify-content: center; }
}

/* ============================================================
   PSYCHOTYPES (old dark styles, superseded)
   ============================================================ */
.psycho { overflow: hidden; }
.psycho__bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: radial-gradient(ellipse 55% 45% at 50% 110%, color-mix(in srgb, var(--psy) 16%, transparent), transparent 70%);
  transition: background 0.8s;
}
.psycho__tabs {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px;
}
.ptab {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-soft);
  font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: all 0.3s;
}
.ptab__dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--tab-c, #999);
  box-shadow: 0 0 8px var(--tab-c, transparent);
}
.ptab[data-type="vlastny"] { --tab-c: var(--c-vlastny); }
.ptab[data-type="vyzhiv"] { --tab-c: var(--c-vyzhiv); }
.ptab[data-type="hranitel"] { --tab-c: var(--c-hranitel); }
.ptab[data-type="sistemny"] { --tab-c: var(--c-sistemny); }
.ptab[data-type="dostigator"] { --tab-c: var(--c-dostigator); }
.ptab:hover { color: var(--text); border-color: var(--line); }
.ptab.is-active {
  color: var(--text);
  background: color-mix(in srgb, var(--tab-c) 13%, transparent);
  border-color: color-mix(in srgb, var(--tab-c) 45%, transparent);
}

.psycho__card {
  position: relative; display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 56px 40px 48px; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--line-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.psycho__card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 18%, color-mix(in srgb, var(--psy) 10%, transparent), transparent 65%);
  transition: background 0.8s;
}

.psycho__deck {
  position: relative; width: min(320px, 84%); aspect-ratio: 4 / 4.7;
  margin: 0 auto 40px;
}
.psycard {
  position: absolute; inset: 0; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, #14171f, #0d0f15);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 60px -24px rgba(0,0,0,0.8);
  transform-origin: 50% 85%;
  will-change: transform;
}
.psycard img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.psycard__mono { display: none; }
.psycard.is-noimg img { display: none; }
.psycard.is-noimg .psycard__mono {
  display: grid; place-items: center; position: absolute; inset: 0;
  font-family: var(--f-brand); font-size: 64px; font-weight: 600;
  color: var(--card-c, var(--accent));
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, color-mix(in srgb, var(--card-c, var(--accent)) 16%, transparent), transparent 70%),
    linear-gradient(180deg, #14171f, #0d0f15);
}
.psycard[data-k="vlastny"] { --card-c: var(--c-vlastny); }
.psycard[data-k="vyzhiv"] { --card-c: var(--c-vyzhiv); }
.psycard[data-k="hranitel"] { --card-c: var(--c-hranitel); }
.psycard[data-k="sistemny"] { --card-c: var(--c-sistemny); }
.psycard[data-k="dostigator"] { --card-c: var(--c-dostigator); }
.psycard.is-front {
  border-color: color-mix(in srgb, var(--psy) 45%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 60px -16px var(--psy), 0 30px 70px -26px rgba(0,0,0,0.85);
}
.psycho__info {
  position: relative; z-index: 12;
  display: flex; flex-direction: column; align-items: center; max-width: 680px;
}
.psycho__info h3 {
  font-family: var(--f-display); font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px;
}
.psycho__quote {
  font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: var(--text);
  margin-bottom: 16px;
}
.psycho__quote::after {
  content: ""; display: block; width: 54px; height: 3px; border-radius: 3px;
  margin: 16px auto 0; background: var(--psy); transition: background 0.6s;
  box-shadow: 0 0 14px var(--psy);
}
.psycho__desc { color: var(--text-2); font-size: 15.5px; margin-bottom: 24px; max-width: 620px; }
.psycho__traits { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.psycho__traits span {
  padding: 7px 14px; border-radius: 99px; font-size: 12.5px; font-weight: 500;
  font-family: var(--f-mono);
  background: color-mix(in srgb, var(--psy) 10%, transparent);
  color: color-mix(in srgb, var(--psy) 80%, #fff);
  border: 1px solid color-mix(in srgb, var(--psy) 25%, transparent);
  transition: all 0.6s;
}

/* ============================================================
   EVALUATOR
   ============================================================ */
.evaluator { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.evaluator__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
.signals { display: flex; flex-direction: column; gap: 18px; margin: 36px 0 28px; }
.signal { display: flex; gap: 18px; align-items: flex-start; }
.signal__lamp {
  flex: 0 0 auto; width: 14px; height: 14px; border-radius: 50%; margin-top: 5px;
}
.signal__lamp--ok { background: var(--ok); box-shadow: 0 0 16px var(--ok); }
.signal__lamp--warn { background: var(--warn); box-shadow: 0 0 16px var(--warn); }
.signal__lamp--bad { background: var(--bad); box-shadow: 0 0 16px var(--bad); }
.signal strong { display: block; font-size: 15.5px; margin-bottom: 3px; }
.signal p { font-size: 14px; color: var(--text-2); }
.evaluator__note {
  font-size: 14.5px; color: var(--text-2);
  padding: 18px 22px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line-soft);
}
.evalcard {
  padding: 32px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid var(--line); position: relative; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 40px 80px -40px rgba(0,0,0,0.7);
}
.evalcard__head { color: var(--text-3); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 26px; }
.evalrow { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.evalrow__lamp { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.evalrow__lamp--ok { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.evalrow__lamp--warn { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.evalrow__lamp--bad { background: var(--bad); box-shadow: 0 0 10px var(--bad); }
.evalrow__bar { flex: 1; height: 8px; border-radius: 6px; background: rgba(255,255,255,0.06); overflow: hidden; }
.evalrow__bar i {
  display: block; height: 100%; width: var(--w); border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.5), rgba(255,255,255,0.85));
  transform: scaleX(0); transform-origin: left;
}
.evalrow:nth-child(2) .evalrow__bar i { background: linear-gradient(90deg, #23a862, var(--ok)); }
.evalrow:nth-child(3) .evalrow__bar i { background: linear-gradient(90deg, #c79a26, var(--warn)); }
.evalrow:nth-child(4) .evalrow__bar i { background: linear-gradient(90deg, #c73737, var(--bad)); }
.evalrow__pct { color: var(--text-3); font-size: 12.5px; width: 38px; text-align: right; }
.evalcard__verdict {
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-soft);
  display: flex; gap: 18px; align-items: center;
}
.evalcard__grade {
  font-family: var(--f-display); font-size: 40px; font-weight: 700; letter-spacing: -0.02em; color: var(--ok);
  text-shadow: 0 0 30px rgba(61, 220, 132, 0.4);
}
.evalcard__verdict p { font-size: 13.5px; color: var(--text-2); }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.table-hint { display: none; font-size: 11.5px; color: var(--text-3); margin-bottom: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line-soft); -webkit-overflow-scrolling: touch; }
.ctable { width: 100%; border-collapse: collapse; min-width: 760px; background: var(--card); }
.ctable th, .ctable td {
  padding: 18px 22px; text-align: left; font-size: 14.5px;
  border-bottom: 1px solid var(--line-soft);
}
.ctable thead th {
  font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-3); font-weight: 500; background: rgba(255,255,255,0.02);
}
.ctable tbody tr:last-child td { border-bottom: 0; }
.ctable td:first-child { color: var(--text-2); font-weight: 500; }
.ctable__hl {
  background: rgba(255, 92, 56, 0.055) !important;
  border-inline: 1px solid rgba(255, 122, 61, 0.14);
  color: var(--text) !important; font-weight: 600;
}
.ctable .yes { color: var(--ok); margin-right: 6px; }
.ctable .no { color: var(--text-3); margin-right: 6px; }

/* comparison — mobile cards */
.cmob { display: none; }
@media (max-width: 860px) {
  .table-wrap { display: none; }
  .cmob { display: grid; gap: 12px; }
  .cmob__card {
    padding: 20px 20px 16px; border-radius: var(--radius);
    background: var(--card); border: 1px solid var(--line-soft);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  }
  .cmob__card h4 { font-size: 15.5px; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em; }
  .cmob__main {
    display: inline-block; padding: 8px 14px; border-radius: 10px;
    background: rgba(255, 92, 56, 0.12); border: 1px solid rgba(255, 122, 61, 0.28);
    font-size: 14px; font-weight: 600; margin-bottom: 12px;
  }
  .cmob__others { display: flex; flex-direction: column; gap: 6px; }
  .cmob__others span { font-size: 13px; color: var(--text-3); }
}

/* ============================================================
   DASHBOARD
   ============================================================ */
.dash { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.dash__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.checklist { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.checklist li {
  position: relative; padding-left: 34px; font-size: 15.5px; color: var(--text-2);
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 22px; height: 22px; border-radius: 7px;
  display: grid; place-items: center;
  background: rgba(61, 220, 132, 0.12); color: var(--ok);
  font-size: 12px; font-weight: 700;
}
.dashcard {
  padding: 30px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 40px 80px -40px rgba(0,0,0,0.7);
}
.dashcard__head {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-3); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.dashcard__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.dstat {
  padding: 14px 16px; border-radius: 14px;
  background: rgba(255,255,255,0.035); border: 1px solid var(--line-soft);
}
.dstat b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.dstat span { font-size: 11.5px; color: var(--text-3); }
.dstat--warn b { color: var(--warn); }
.dashrows { display: flex; flex-direction: column; gap: 13px; margin-bottom: 24px; }
.dashrow { display: flex; align-items: center; gap: 14px; }
.dashrow__name { width: 76px; font-size: 13.5px; color: var(--text-2); }
.dashrow__bar { flex: 1; height: 9px; border-radius: 6px; background: rgba(255,255,255,0.06); overflow: hidden; }
.dashrow__bar i {
  display: block; height: 100%; width: var(--w); border-radius: 6px;
  background: linear-gradient(90deg, var(--accent), var(--c-dostigator));
  transform: scaleX(0); transform-origin: left;
}
.dashrow--low .dashrow__bar i { background: linear-gradient(90deg, #8a3a3a, var(--bad)); }
.dashrow__val { color: var(--text-3); font-size: 12.5px; width: 26px; text-align: right; }
.dashcard__insight {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border-radius: 14px; font-size: 13.5px; color: var(--text-2);
  background: rgba(255, 197, 61, 0.06); border: 1px solid rgba(255, 197, 61, 0.16);
}
.dashcard__insight-icon { flex: 0 0 auto; }

/* ============================================================
   CALCULATOR
   ============================================================ */
.calc {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 20px;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-soft);
}
.calc__controls {
  padding: 44px 40px; background: var(--card);
  display: flex; flex-direction: column; gap: 30px;
}
.calc__field label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 14px; font-weight: 500; color: var(--text-2); margin-bottom: 14px;
}
.calc__field label b { color: var(--text); font-size: 15px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent) var(--fill, 50%), rgba(255,255,255,0.1) var(--fill, 50%));
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 5px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 92, 56, 0.18), 0 2px 10px rgba(0,0,0,0.5);
  cursor: grab; transition: transform 0.2s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 5px solid var(--accent); cursor: grab;
}
.calc__result {
  padding: 44px 40px; display: flex; flex-direction: column;
  background:
    radial-gradient(ellipse 90% 70% at 80% 0%, rgba(255, 92, 56, 0.12), transparent 60%),
    var(--bg-3);
  border-left: 1px solid var(--line-soft);
}
.calc__row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 13px 0; border-bottom: 1px dashed var(--line);
  font-size: 14.5px; color: var(--text-2);
}
.calc__row b { color: var(--text); font-size: 16px; }
.calc__delta { margin-top: auto; padding-top: 30px; }
.calc__delta > span { font-size: 13.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--f-mono); font-size: 11.5px; }
.calc__delta-num {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 3.6vw, 50px);
  letter-spacing: -0.025em; margin: 8px 0 6px;
  background: linear-gradient(135deg, #fff 20%, var(--accent-soft));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.calc__roi { font-size: 14px; color: var(--ok); font-weight: 500; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { position: relative; overflow: hidden; }
.pricing__bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(255, 92, 56, 0.07), transparent 65%);
}
.pricing__toggle {
  display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 40px;
  background: rgba(255,255,255,0.045); border: 1px solid var(--line-soft); border-radius: 99px;
}
.ptoggle {
  padding: 10px 22px; border-radius: 99px; font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px;
}
.ptoggle:hover { color: var(--text); }
.ptoggle.is-active { background: rgba(255,255,255,0.1); color: var(--text); box-shadow: inset 0 1px 0 rgba(255,255,255,0.09); }
.ptoggle__save {
  font-family: var(--f-mono); font-size: 11px; padding: 3px 8px; border-radius: 99px;
  background: rgba(61, 220, 132, 0.13); color: var(--ok);
}
.pricing__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; position: relative; }
.price-card {
  position: relative; padding: 44px 40px;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex; flex-direction: column;
}
.price-card__label { color: var(--text-3); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 18px; }
.price-card__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price-card__price span {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 4.2vw, 56px); letter-spacing: -0.03em;
}
.price-card__price small { font-size: 16px; color: var(--text-2); font-weight: 500; }
.price-card__total { color: var(--text-3); font-size: 13px; margin-bottom: 30px; }
.price-card__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 34px; }
.price-card__list li {
  position: relative; padding-left: 30px; font-size: 14.5px; color: var(--text-2);
}
.price-card__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 6px;
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
  background: rgba(255, 92, 56, 0.12); color: var(--accent-soft);
}
.price-card__invoice { margin-top: 12px; }
.price-card__guarantee {
  margin-top: 14px; text-align: center; font-size: 13px; color: var(--text-2);
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.price-card__guarantee::before {
  content: "✓"; display: inline-grid; place-items: center;
  width: 18px; height: 18px; border-radius: 6px; font-size: 11px; font-weight: 700;
  background: rgba(61, 220, 132, 0.14); color: var(--ok);
}
.price-card__note { margin-top: 10px; font-size: 13px; color: var(--text-3); text-align: center; }
.price-card__note a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.price-card__note a:hover { color: var(--text); }

.price-card--founder {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(255, 92, 56, 0.2), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  border: 1.5px solid rgba(255, 122, 61, 0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 90px -24px var(--accent-glow);
}
@media (min-width: 861px) {
  .price-card--founder { transform: scale(1.03); }
}
.price-card__flag {
  position: absolute; top: -13px; left: 40px;
  padding: 6px 16px; border-radius: 99px;
  background: linear-gradient(135deg, var(--accent), #ff7a3d);
  color: #160905; font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em;
  box-shadow: 0 8px 24px -6px var(--accent-glow);
}
.price-card__founder-text { font-size: 14.5px; color: var(--text-2); margin-bottom: 26px; }
.price-card__slots { margin-bottom: 30px; }
.slots__bar {
  height: 8px; border-radius: 6px; background: rgba(255,255,255,0.07); overflow: hidden; margin-bottom: 10px;
}
.slots__bar i {
  display: block; height: 100%; width: var(--w); border-radius: 6px;
  background: linear-gradient(90deg, var(--accent), var(--c-dostigator));
  transform: scaleX(0); transform-origin: left;
}
.price-card__slots .mono { font-size: 12px; color: var(--accent-soft); }

/* ============================================================
   LAUNCH STEPS
   ============================================================ */
.launch { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step {
  position: relative; padding: 34px 30px;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.step:hover { background: var(--card-hover); transform: translateY(-4px); }
.step__num {
  display: inline-block; font-size: 13px; color: var(--accent);
  padding: 6px 12px; border-radius: 8px; background: rgba(255, 92, 56, 0.09);
  margin-bottom: 22px;
}
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-2); }

/* ============================================================
   FAQ
   ============================================================ */
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.qa {
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--card); overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transition: border-color 0.3s, background 0.3s;
}
.qa[open] { border-color: var(--line); background: var(--card-hover); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 600;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__icon {
  flex: 0 0 auto; position: relative; width: 22px; height: 22px;
  border-radius: 7px; background: rgba(255,255,255,0.06);
}
.qa__icon::before, .qa__icon::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--text-2); transition: transform 0.35s cubic-bezier(0.6, 0, 0.2, 1);
}
.qa__icon::before { width: 10px; height: 1.6px; }
.qa__icon::after { width: 1.6px; height: 10px; }
.qa[open] .qa__icon::after { transform: rotate(90deg); }
.qa__body { padding: 0 26px; overflow: hidden; }
.qa__body p { padding-bottom: 24px; color: var(--text-2); font-size: 15px; max-width: 700px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
  position: relative; padding: 170px 0 150px; text-align: center; overflow: hidden;
  border-top: 1px solid var(--line-soft);
}
.final__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.final__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 62% 58% at 50% 46%, rgba(4, 5, 8, 0.5), rgba(4, 5, 8, 0.18) 62%, rgba(4, 5, 8, 0.4)),
    linear-gradient(180deg, var(--bg) 0%, transparent 22%, transparent 78%, var(--bg) 100%);
}
.final__inner { position: relative; z-index: 2; }
.final__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(32px, 5vw, 60px); line-height: 1.06; letter-spacing: -0.03em;
  max-width: 860px; margin: 0 auto 24px;
  filter: drop-shadow(0 0 28px rgba(255, 200, 170, 0.14));
}
.final__sub { color: var(--text-2); font-size: 17px; max-width: 520px; margin: 0 auto 40px; }
.final__cta { display: flex; justify-content: center; margin-bottom: 26px; }
.final__note { font-size: 13.5px; color: var(--text-3); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-2); }
.footer__inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding: 64px 0 48px;
}
.footer__brand p { margin-top: 18px; font-size: 14px; color: var(--text-3); line-height: 1.7; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__head { color: var(--text-3); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 6px; }
.footer__col a { font-size: 14.5px; color: var(--text-2); transition: color 0.25s; width: fit-content; }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 26px 0 34px; border-top: 1px solid var(--line-soft);
  font-size: 13px; color: var(--text-3);
}
.footer__bottom .mono { font-size: 11.5px; color: var(--text-3); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(5, 6, 10, 0.78) 0%, rgba(5, 6, 10, 0.62) 42%, rgba(5, 6, 10, 0.66) 74%, var(--bg) 100%);
  }
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__copy { text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero { padding-top: calc(var(--nav-h) + 64px); }
  .phone__chip--type { left: -8px; }
  .phone__chip--score { right: -8px; }
  .problem__grid { grid-template-columns: 1fr 1fr; }
  .evaluator__grid, .dash__grid { grid-template-columns: 1fr; gap: 48px; }
  .dash__visual { order: 2; }
  .metrics__row { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(3) { border-left: 0; }
  .metric { border-top: 1px solid var(--line-soft); }
  .metric:nth-child(-n+2) { border-top: 0; }
  .psycho__card { padding: 44px 24px 40px; }
}

@media (max-width: 860px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }
  .modes { grid-template-columns: 1fr; }
  .bento-small { grid-template-columns: 1fr; }
  .manifest { height: 200vh; }
  .manifest__text { font-size: clamp(29px, 8vw, 38px); line-height: 1.38; }
  .calc { grid-template-columns: 1fr; }
  .calc__result { border-left: 0; border-top: 1px solid var(--line-soft); }
  .pricing__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 96px 0; }
}

@media (max-width: 620px) {
  .container, .container--narrow { width: calc(100% - 40px); }
  .problem__grid { grid-template-columns: 1fr; }
  .metrics__row { grid-template-columns: 1fr 1fr; }
  .metric { padding: 32px 22px; }
  .hero__title { font-size: clamp(30px, 8.6vw, 40px); }
  .section__title { font-size: clamp(24px, 6.4vw, 32px); }
  .hero__cta .btn { width: 100%; }
  .hero__cta { flex-direction: column; }
  .phone { width: min(320px, 100%); }
  .phone__chat { height: 280px; }
  .phone__chip--type { top: 70px; }
  .psycho__deck { width: min(230px, 78%); }
  
/* ============================================================
   MOTION SAFETY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .line-inner { transform: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
