﻿/* =========================================================
   Universal Client — site styles
   ========================================================= */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens ---------- */

:root {
  --bg: #05070e;
  --bg-soft: #080c17;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eaf0ff;
  --muted: #96a2bd;
  --ink: #070a12;
  --wrap: 1180px;
  --radius: 20px;
  --a: #10b981;
  --b: #14b8a6;
  --c: #a3e635;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.7, 0.24, 1);
}

[data-theme="amber"]   { --a: #ffb454; --b: #ff8a3d; --c: #ffd98a; }
[data-theme="purple"]  { --a: #8b5cf6; --b: #6366f1; --c: #22d3ee; }
[data-theme="ocean"]   { --a: #0ea5e9; --b: #3b82f6; --c: #a78bfa; }
[data-theme="rose"]    { --a: #ec4899; --b: #f43f5e; --c: #fb923c; }
[data-theme="emerald"] { --a: #10b981; --b: #14b8a6; --c: #a3e635; }
[data-theme="sunset"]  { --a: #f97316; --b: #ef4444; --c: #facc15; }

/* ---------- reset ---------- */

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

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
svg { display: block; }

::selection {
  background: color-mix(in srgb, var(--a) 40%, transparent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--a);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- background ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 78%);
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  transition: background 0.6s var(--ease);
}

.bg-glow--a {
  width: 60vw;
  height: 60vw;
  max-width: 820px;
  max-height: 820px;
  top: -28vw;
  right: -12vw;
  background: radial-gradient(circle, color-mix(in srgb, var(--a) 34%, transparent), transparent 68%);
}

.bg-glow--b {
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  top: 34vh;
  left: -18vw;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 20%, transparent), transparent 70%);
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap--narrow { max-width: 840px; }

.section {
  position: relative;
  padding: 104px 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section--alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018) 12%, rgba(255, 255, 255, 0.018) 88%, transparent);
}

.section__head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--a);
}

.section__title {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section__lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.02rem;
}

.grad {
  background: linear-gradient(115deg, var(--a), var(--c));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn .ico {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn--primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: 0 12px 34px -14px color-mix(in srgb, var(--a) 85%, transparent);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -14px color-mix(in srgb, var(--a) 95%, transparent);
}

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

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.btn--sm { padding: 9px 16px; font-size: 0.86rem; }

/* ---------- кнопка аккаунта в шапке ---------- */

.acc-avatar {
  display: none;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(135deg, var(--a), var(--b));
}

.acc-label {
  min-width: 0;
  max-width: 14ch;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header__account.is-user {
  gap: 8px;
  padding-left: 6px;
  border-color: color-mix(in srgb, var(--a) 45%, var(--line-strong));
}

.is-user > .acc-avatar { display: grid; }

.nav a.nav__account { display: none; }
.btn--lg { padding: 15px 26px; font-size: 1rem; }

.btn:active { transform: translateY(0); }

/* ---------- header ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(5, 7, 14, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.header.is-scrolled {
  background: rgba(5, 7, 14, 0.86);
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--a) 90%, transparent);
}

.brand__text {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand__text span { color: var(--a); }

.brand__ver {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--a);
  transition: right 0.25s var(--ease);
}

.nav a:hover { color: var(--text); }
.nav a:hover::after { right: 0; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.nav + .header__actions { margin-left: 0; }

.swatches {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.swatch {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  padding: 0;
  position: relative;
  transition: transform 0.18s var(--ease);
}

.swatch span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.swatch:hover { transform: scale(1.18); }

.swatch.is-active::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--text);
  opacity: 0.85;
}

.swatch[data-t="amber"] span,
.theme-card[data-t="amber"] .theme-card__bar { background: linear-gradient(135deg, #ffb454, #ff8a3d 55%, #ffd98a); }
.swatch[data-t="purple"] span,
.theme-card[data-t="purple"] .theme-card__bar { background: linear-gradient(135deg, #8b5cf6, #6366f1 55%, #22d3ee); }
.swatch[data-t="ocean"] span,
.theme-card[data-t="ocean"] .theme-card__bar { background: linear-gradient(135deg, #0ea5e9, #3b82f6 55%, #a78bfa); }
.swatch[data-t="rose"] span,
.theme-card[data-t="rose"] .theme-card__bar { background: linear-gradient(135deg, #ec4899, #f43f5e 55%, #fb923c); }
.swatch[data-t="emerald"] span,
.theme-card[data-t="emerald"] .theme-card__bar { background: linear-gradient(135deg, #10b981, #14b8a6 55%, #a3e635); }
.swatch[data-t="sunset"] span,
.theme-card[data-t="sunset"] .theme-card__bar { background: linear-gradient(135deg, #f97316, #ef4444 55%, #facc15); }

.lang {
  min-width: 42px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.lang:hover { color: var(--text); border-color: var(--line-strong); }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  place-items: center;
  gap: 4px;
  padding: 0;
}

.burger span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 70px) 0 76px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 56px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--a) 32%, transparent);
  background: color-mix(in srgb, var(--a) 10%, transparent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--a) 78%, white);
}

.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--a);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 22%, transparent);
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 22%, transparent); }
  50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--a) 6%, transparent); }
}

.hero__title {
  margin-top: 22px;
  font-size: clamp(2.15rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hero__lead {
  margin-top: 22px;
  max-width: 34ch;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  color: var(--muted);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 30px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--muted);
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--a) 70%, transparent);
}

.hero__visual { position: relative; }

.shot {
  position: relative;
  border-radius: 16px;
  isolation: isolate;
}

.shot__glow {
  position: absolute;
  inset: -14% -10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, color-mix(in srgb, var(--a) 30%, transparent), transparent 66%);
  filter: blur(38px);
  opacity: 0.9;
  transition: background 0.6s var(--ease);
}

.shot img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 40px 80px -40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 18px 60px -30px color-mix(in srgb, var(--a) 60%, transparent);
  transition: opacity 0.25s var(--ease);
}

.shot img.is-swapping { opacity: 0; }

.hero__caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
}

.kbd {
  padding: 3px 9px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

/* ---------- cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  padding: 26px 24px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease),
              background 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--a) 55%, transparent), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.28s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.9);
}

.card:hover::after { opacity: 1; }

.card__ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--a) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--a) 26%, transparent);
  color: color-mix(in srgb, var(--a) 82%, white);
}

.card__ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.card p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- gallery slider ---------- */

.slider {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.slider__frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #0a0e18;
  box-shadow:
    0 44px 90px -55px rgba(0, 0, 0, 0.95),
    0 18px 60px -40px color-mix(in srgb, var(--a) 45%, transparent);
}

.slider__track {
  display: flex;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}

.slide {
  position: relative;
  display: block;
  flex: 0 0 100%;
  padding: 0;
  background: none;
  text-align: left;
}

.slide img {
  width: 100%;
  height: auto;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(4, 6, 12, 0.8));
  pointer-events: none;
}

.slide__cap {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 2;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(8, 11, 20, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.slider__nav:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: color-mix(in srgb, var(--a) 55%, transparent);
}

.slider__nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slider__nav--prev { left: 14px; }
.slider__nav--next { right: 14px; }

.slider__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: width 0.25s var(--ease), background 0.25s var(--ease);
}

.slider__dot:hover { background: var(--muted); }

.slider__dot.is-active {
  width: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--a), var(--b));
}

.gallery__note {
  margin-top: 22px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- themes ---------- */

.themes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.theme-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-align: left;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
              background 0.25s var(--ease);
}

.theme-card__bar {
  display: block;
  height: 58px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.theme-card__name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.theme-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: var(--panel-2);
}

.theme-card.is-active {
  border-color: color-mix(in srgb, var(--a) 60%, transparent);
  background: color-mix(in srgb, var(--a) 8%, var(--panel));
}

.theme-card.is-active .theme-card__name { color: var(--text); }

.themes__note {
  margin-top: 26px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.step__num {
  display: block;
  margin-bottom: 16px;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--a), var(--c));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step h3 {
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.step p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.install__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
}

/* ---------- faq ---------- */

.faq { border-top: 1px solid var(--line); }

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}

.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--a); }

.faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
  opacity: 0.6;
}

.faq__item[open] summary::after {
  transform: rotate(-135deg);
  opacity: 1;
  color: var(--a);
}

.faq__item p {
  padding: 0 44px 24px 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- pricing ---------- */

.section--pricing { position: relative; }

.section--pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 0%, color-mix(in srgb, var(--a) 9%, transparent), transparent 70%);
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px 26px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.plan--free {
  border-style: dashed;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.018);
}

.plan--free .plan__amount { color: var(--muted); }

.plan:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.plan--featured {
  border-color: color-mix(in srgb, var(--a) 55%, transparent);
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, color-mix(in srgb, var(--a) 15%, transparent), transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  box-shadow: 0 34px 70px -45px color-mix(in srgb, var(--a) 75%, transparent);
}

.plan--featured:hover { border-color: color-mix(in srgb, var(--a) 78%, transparent); }

.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--a), var(--b));
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--a) 90%, transparent);
}

.plan__term {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan__price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.plan__amount {
  font-size: clamp(1.7rem, 2.1vw, 2.15rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.plan__save {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--a) 35%, transparent);
  background: color-mix(in srgb, var(--a) 18%, transparent);
  color: var(--a);
  font-size: 0.72rem;
  font-weight: 800;
}

.plan__per {
  margin-top: 6px;
  font-size: 0.86rem;
  color: var(--muted);
}

.plan__list {
  display: grid;
  gap: 11px;
  margin: 24px 0 28px;
}

.plan__list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.89rem;
  color: var(--muted);
}

.plan__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--a);
  border-bottom: 2px solid var(--a);
  transform: rotate(-45deg);
}

.plan__list li.is-off {
  color: color-mix(in srgb, var(--muted) 60%, transparent);
}

.plan__list li.is-off::before {
  top: 0.78em;
  width: 11px;
  height: 0;
  border-left: 0;
  border-bottom: 2px solid currentColor;
  transform: none;
}

.btn--block {
  width: 100%;
  margin-top: auto;
}

.plans__note {
  margin-top: 26px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- final cta ---------- */

.section--cta { padding-top: 0; }

.start {
  position: relative;
  padding: 56px 32px;
  border-radius: 26px;
  border: 1px solid color-mix(in srgb, var(--a) 26%, var(--line));
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, color-mix(in srgb, var(--a) 17%, transparent), transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  text-align: center;
}

.start__title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.start__text {
  max-width: 52ch;
  margin: 12px auto 0;
  font-size: 0.96rem;
  color: var(--muted);
}

.start__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.start__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 26px;
  font-size: 0.82rem;
  color: var(--muted);
}

.start__points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.start__points li::before {
  content: "";
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--a);
  border-bottom: 2px solid var(--a);
  transform: rotate(-45deg);
}

/* ---------- footer ---------- */

.footer {
  padding: 56px 0 44px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px 40px;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__brand img { border-radius: 12px; }

.footer__brand strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer__brand span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}

.footer__nav a { transition: color 0.2s var(--ease); }
.footer__nav a:hover { color: var(--a); }

.footer__legal {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--muted);
  opacity: 0.75;
}

.footer__copy {
  grid-column: 1 / -1;
  font-size: 0.76rem;
  color: var(--muted);
  opacity: 0.6;
}

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  justify-items: center;
  gap: 12px;
  padding: 24px;
  background: rgba(3, 5, 10, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: fade 0.22s var(--ease);
}

.lightbox[hidden] { display: none; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.lightbox__fig {
  max-width: 100%;
  max-height: 100%;
  text-align: center;
}

.lightbox__fig img {
  max-width: min(1100px, 100%);
  max-height: 80vh;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -40px #000;
}

.lightbox__fig figcaption {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

.lightbox__close,
.lightbox__nav {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: scale(1.06);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
}

.lightbox__nav svg,
.lightbox__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox__nav--prev { justify-self: start; }
.lightbox__nav--next { justify-self: end; }

/* ---------- reveal ---------- */

.reveal {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .swatches { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .themes { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero { padding-top: calc(var(--header-h) + 56px); }
  .hero__lead { max-width: 46ch; }
  .hero__visual { max-width: 720px; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 18px;
    background: rgba(5, 7, 14, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: 13px 2px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a::after { display: none; }

  .burger { display: grid; }

  .header__actions { margin-left: auto; }
  .header__actions .btn--primary { display: none; }
  .header__account { display: none; }

  .nav a.nav__account {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 800;
    border-bottom: 0;
  }
  .nav a.nav__account.is-user .acc-label { max-width: none; }

  .steps { grid-template-columns: 1fr; }
  .start { padding: 44px 24px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__legal, .footer__copy { grid-column: auto; }
}

@media (max-width: 700px) {
  :root { --radius: 16px; }
  .section { padding: 76px 0; }
  .section__head { margin-bottom: 38px; }
  .cards { grid-template-columns: 1fr; }
  .themes { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }

  .slider__frame { border-radius: 16px; }
  .slider__nav {
    width: 32px;
    height: 32px;
    background: rgba(8, 11, 20, 0.55);
  }
  .slider__nav svg { width: 16px; height: 16px; }
  .slider__nav--prev { left: 8px; }
  .slider__nav--next { right: 8px; }
  .slide__cap { left: 14px; bottom: 12px; font-size: 0.8rem; }

  .hero__grid > *,
  .plans > *,
  .steps > *,
  .cards > * { min-width: 0; }

  .hero__cta,
  .install__cta,
  .start__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn,
  .install__cta .btn,
  .start__actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero__meta { gap: 6px 16px; }
  .start__points {
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    margin-inline: auto;
    text-align: left;
  }
  .brand__ver { display: none; }
  .lightbox { grid-template-columns: 1fr; padding: 64px 16px 24px; }
  .lightbox__nav { position: absolute; bottom: 18px; width: 42px; height: 42px; }
  .lightbox__nav--prev { left: calc(50% - 56px); }
  .lightbox__nav--next { right: calc(50% - 56px); }
  .lightbox__fig img { max-height: 62vh; }
}

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