/* FutureCut — сайт. Белый + чёрный + мятный. Без сборки, без фреймворков. */
:root {
  --bg: #FFFFFF;
  --bg2: #F6F8F7;
  --line: #E6ECEA;
  --ink: #0B0F0E;
  --ink2: #1A201F;
  --muted: #5B6663;
  --mint: #2FD6A0;
  --mint-h: #22B887;
  --mint-t: #E8FBF4;
  --mint-ink: #077552;      /* мятный для текста: 5.7:1 на белом, 5.4:1 на --bg2, 5.3:1 на --mint-t */
  --r: 16px;
  --r-lg: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 15, 14, .04), 0 8px 24px rgba(11, 15, 14, .06);
  --shadow-lg: 0 2px 6px rgba(11, 15, 14, .05), 0 24px 60px rgba(11, 15, 14, .12);
  --font: "Manrope", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --wrap: 1160px;
  --gut: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
html.menu-open { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;   /* clip не ломает «липкую» шапку */
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--mint-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
/* на тёмном фоне — мятное кольцо (контраст с чёрным 11:1) */
.dark :focus-visible, .ftr :focus-visible, .fmt.auto :focus-visible, .skip:focus-visible { outline-color: var(--mint); }
[hidden] { display: none !important; }
a:not([href]) { color: inherit; text-decoration: none; }
.info-cards a:not([href]) { color: var(--muted); }
.ftr a:not([href]), .ftr a:not([href]):hover { color: #A9B5B2; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--black, var(--ink)); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
@media (min-width: 720px) { :root { --gut: 28px; } }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s, transform .22s var(--ease), box-shadow .22s var(--ease);
  position: relative; overflow: hidden; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11, 15, 14, .14); }
  .btn:hover svg[aria-hidden]:last-child:not(:first-child) { transform: translateX(3px); }
}
.btn:active { transform: scale(.97); box-shadow: 0 2px 6px rgba(11, 15, 14, .12); transition-duration: .08s; }
.btn-dark { background: var(--black, var(--ink)); color: #fff; box-shadow: 0 6px 18px rgba(11, 15, 14, .18); }
.btn-dark svg { color: var(--mint); }
.btn-dark:hover { background: #000; color: #fff; }
.btn-mint { background: var(--mint); color: var(--on-mint, var(--ink)); }
.btn-mint:hover { background: var(--mint-h); color: var(--on-mint, var(--ink)); }
.btn-ghost { background: var(--x-fff, #fff); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--x-cfd9d6, #cfd9d6); background: var(--bg2); color: var(--ink); }
.btn.is-disabled, .btn.is-disabled:hover, .btn.is-disabled:active { background: var(--x-e9eeec, #E9EEEC); color: var(--muted); border-color: var(--line); box-shadow: none; cursor: not-allowed; transform: none; }
.btn.is-disabled svg { color: var(--muted); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; border-radius: 12px; }
/* «ссылка скоро» — видна только у неактивной кнопки «Скачать» */
.soon-tag { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .02em; line-height: 1; padding: 5px 9px; border-radius: 999px; background: var(--mint-t); color: var(--mint-ink); margin-left: -2px; }
.btn:not(.is-disabled) .soon-tag { display: none; }
.btn.is-disabled .soon-tag { animation: soonPulse 2.4s var(--ease) infinite; }
/* длинные подписи (UA) на узком экране: пометка «скоро» переносится на вторую строку, а не вылезает за край */
.btn.is-disabled:has(.soon-tag) { flex-wrap: wrap; white-space: normal; row-gap: 6px; text-align: center; }
@keyframes soonPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 214, 160, 0); } 50% { box-shadow: 0 0 0 4px rgba(47, 214, 160, .18); } }
.btn-block { width: 100%; }

/* ---------- шапка ---------- */
/* шапка «сжимается» при прокрутке: фон — через scaleY, содержимое — через translateY (без пересчёта раскладки) */
.hdr { position: sticky; top: 0; z-index: 50; }
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--x-glass, rgba(255, 255, 255, .88));
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); transform-origin: top; transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}
.hdr > .wrap { display: flex; align-items: center; gap: 12px; height: 68px; transition: transform .32s var(--ease); }
.hdr .brand svg { transition: transform .32s var(--ease); }
.hdr.scrolled::before { transform: scaleY(.8235); box-shadow: 0 8px 24px rgba(11, 15, 14, .06); }
.hdr.scrolled > .wrap { transform: translateY(-6px); }
.hdr.scrolled .brand svg { transform: scale(.875); }
html.menu-open .hdr::before { transform: none; box-shadow: none; background: var(--x-fff, #fff); }
html.menu-open .hdr > .wrap, html.menu-open .hdr .brand svg { transform: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: .06em; font-size: 17px; }
.brand svg { width: 32px; height: 32px; }
.brand b { color: var(--mint-ink); font-weight: 800; }
.nav { display: none; gap: 4px; margin-left: 18px; position: relative; }
.nav a { position: relative; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; transition: color .25s var(--ease), background-color .2s; }
.nav a:hover { color: var(--ink); background: var(--bg2); }
.nav a.on { color: var(--ink); }
/* мятная черта скользит под пунктом (FLIP: translate + scale) */
.nav-line { position: absolute; left: 0; top: 0; height: 2px; border-radius: 2px; background: var(--mint); pointer-events: none; transform-origin: 0 0; opacity: 0; transition: opacity .25s var(--ease); }
.hdr-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
/* язык сайта — выпадающий список */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 10px 0 11px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--x-fff, #fff); cursor: pointer; font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--ink);
  position: relative; overflow: hidden; isolation: isolate; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s var(--ease);
}
.lang-btn:hover { border-color: var(--x-cfd9d6, #cfd9d6); }
.lang-btn:active { transform: scale(.96); }
.lang-btn[aria-expanded="true"] { border-color: var(--mint-h); box-shadow: 0 0 0 3px rgba(47, 214, 160, .22); }
.lang-globe { width: 17px; height: 17px; color: var(--mint-ink); }
.lang-chev { width: 14px; height: 14px; color: var(--muted); transition: transform .24s var(--ease); }
.lang-btn[aria-expanded="true"] .lang-chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 184px; margin: 0; padding: 6px; list-style: none;
  background: var(--x-fff, #fff); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); outline: none;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.96); transform-origin: top right;
  transition: opacity .18s var(--ease), transform .2s var(--ease), visibility 0s .2s;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .18s var(--ease), transform .2s var(--ease); }
.lang-menu li {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border-radius: 10px;
  cursor: pointer; font-size: 15px; font-weight: 600; color: var(--ink); transition: background-color .12s;
}
.lang.open .lang-menu li { animation: ddItem .24s var(--ease) both; animation-delay: calc(var(--i, 0) * 15ms + 30ms); }
@keyframes ddItem { from { opacity: 0; transform: translateY(-4px); } }
.lang-menu li b { font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.lang-menu li.act { background: var(--bg2); }
.lang-menu li[aria-selected="true"] { background: var(--mint-t); }
.lang-menu li[aria-selected="true"] b { color: var(--mint-ink); }
.hdr .btn-buy { display: none; }
.menu-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--x-fff, #fff); cursor: pointer; transition: transform .2s var(--ease), border-color .2s, background-color .2s;
}
.menu-btn:active { transform: scale(.94); }
.menu-btn[aria-expanded="true"] { background: var(--black, var(--ink)); border-color: var(--black, var(--ink)); }
/* три полоски → крестик */
.burger { position: relative; width: 18px; height: 14px; display: block; }
.burger i { position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--black, var(--ink)); transition: transform .3s var(--ease), opacity .2s var(--ease), background-color .2s; }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 6px; }
.burger i:nth-child(3) { top: 12px; }
.menu-btn[aria-expanded="true"] .burger i { background: var(--mint); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* полноэкранное мобильное меню: плавно проявляется, пункты выезжают по очереди */
.mnav {
  position: fixed; inset: 0; z-index: 45; padding-top: 68px; background: var(--x-fff, #fff); overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .26s var(--ease), transform .32s var(--ease), visibility 0s .32s;
}
.mnav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .26s var(--ease), transform .32s var(--ease); }
.mnav .wrap { display: grid; gap: 4px; padding-top: 16px; padding-bottom: 32px; }
.mnav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -.01em; padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
.mnav a:not(.btn):hover { background: var(--bg2); }
.mnav a { opacity: 0; transform: translateY(12px); transition: opacity .3s var(--ease), transform .38s var(--ease), background-color .15s; }
.mnav.open a { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 40ms + 70ms); }
.mnav .btn { margin-top: 18px; min-height: 54px; }
@media (min-width: 980px) {
  .nav { display: flex; }
  .menu-btn, .mnav, .mnav.open { display: none; }
  .hdr .btn-buy { display: inline-flex; }
}
@media (max-width: 370px) { .hdr .brand span { display: none; } }

/* ---------- общие секции ---------- */
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 104px 0; } }
.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--mint-ink); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-t); }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(28px, 5.4vw, 44px); }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.hl { background: linear-gradient(transparent 62%, rgba(47, 214, 160, .42) 62%, rgba(47, 214, 160, .42) 92%, transparent 92%); padding: 0 .06em; }

.card {
  background: var(--x-fff, #fff); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
  padding: 24px;
}
.ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--mint-t); color: var(--mint-ink); flex: none;
}
.ico svg { width: 22px; height: 22px; }
.ico.dark { background: var(--black, var(--ink)); color: var(--mint); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

/* ---------- hero ---------- */
.hero { padding: 40px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 214, 160, .16), rgba(47, 214, 160, 0)); pointer-events: none;
}
.hero .wrap { position: relative; display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 104px; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: 56px; }
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px;
  background: var(--x-fff, #fff); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink2); box-shadow: var(--shadow);
}
.pill i { font-style: normal; background: var(--black, var(--ink)); color: var(--mint); border-radius: 999px; padding: 2px 10px; font-size: 12px; letter-spacing: .06em; }
.hero h1 { font-size: clamp(36px, 8.4vw, 68px); margin-top: 20px; letter-spacing: -0.035em; }
.hero h1 .arr { color: var(--mint-ink); }
.hero .lead { margin-top: 20px; font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); max-width: 590px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta .btn { flex: 1 1 200px; }
@media (min-width: 560px) { .cta .btn { flex: 0 0 auto; } }
.cta-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--muted); max-width: 560px; }
.cta-note svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--mint-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding: 0; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink2);
  background: var(--x-fff, #fff); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
}
.chips svg { width: 16px; height: 16px; color: var(--mint-ink); }

.stage { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 16; border-radius: 38px; padding: 10px;
  background: var(--black, var(--ink)); box-shadow: var(--shadow-lg);
}
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 29px; background: #1b2120; }
.phone::after { content: ""; position: absolute; top: 18px; left: 50%; width: 64px; height: 6px; margin-left: -32px; border-radius: 6px; background: rgba(255, 255, 255, .14); }
.float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  background: var(--x-fff, #fff); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  font-size: 14px; font-weight: 700; line-height: 1.25; max-width: 210px;
}
.float small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
.float .ico { width: 36px; height: 36px; border-radius: 10px; }
.float .ico svg { width: 18px; height: 18px; }
.float.f1 { left: max(-8px, calc(50% - 250px)); top: 14%; }
.float.f2 { right: max(-8px, calc(50% - 250px)); bottom: 14%; }
.floats { display: contents; }
.vid-btn {
  position: absolute; bottom: 20px; height: 40px; border: 0; cursor: pointer; color: #fff;
  background: rgba(11, 15, 14, .74); display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.vid-btn svg { width: 16px; height: 16px; flex: none; }
.vid-toggle { right: 20px; width: 40px; border-radius: 50%; }
.vid-toggle.big { right: 50%; bottom: 50%; width: 68px; height: 68px; margin: 0 -34px -34px 0; background: var(--black, var(--ink)); color: var(--mint); box-shadow: 0 0 0 6px rgba(255, 255, 255, .22); }
.vid-toggle.big svg { width: 26px; height: 26px; margin-left: 3px; }
.vid-sound { left: 20px; padding: 0 14px 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.vid-sound[aria-pressed="true"] svg { color: var(--mint); }
.vid-note { position: absolute; left: 0; right: 0; top: calc(100% + 12px); margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
.vid-note:empty { display: none; }
@media (max-width: 600px) {
  .stage { flex-direction: column; align-items: center; }
  .floats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
  .float { position: static; max-width: none; padding: 8px 12px 8px 8px; font-size: 13px; box-shadow: var(--shadow); }
  .float .ico { width: 30px; height: 30px; border-radius: 9px; }
  .float .ico svg { width: 16px; height: 16px; }
  .float small { display: none; }
  .vid-note { position: static; margin-top: 10px; }
}

/* ---------- шаги ---------- */
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; }
.step .num {
  width: 44px; height: 44px; border-radius: 12px; background: var(--black, var(--ink)); color: var(--mint);
  display: grid; place-items: center; font-weight: 800; font-size: 18px; margin-bottom: 18px;
}
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--muted); }

/* ---------- форматы ---------- */
.formats { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 601px) { .formats { grid-template-columns: repeat(2, 1fr); } .fmt.auto { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .formats { grid-template-columns: repeat(4, 1fr); } }
.fmt { display: flex; flex-direction: column; gap: 14px; }
.fmt-b { display: grid; gap: 8px; }
@media (min-width: 601px) {
  .fmt.auto { flex-direction: row; align-items: center; gap: 18px; }
  .fmt.auto .fmt-b { flex: 1; }
  .fmt.auto .tag { margin-top: 0; align-self: center; }
}
@media (max-width: 600px) {
  .fmt { flex-direction: row; align-items: flex-start; padding: 16px; }
  .fmt .tag { display: none; }
  .fmt h3 { font-size: 17px; }
  .fmt-b { gap: 4px; }
}
.fmt:hover { border-color: var(--x-c9ebdf, #c9ebdf); }
.fmt h3 { font-size: 19px; }
.fmt p { color: var(--muted); font-size: 15px; }
.fmt .tag { margin-top: auto; align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--mint-ink); background: var(--mint-t); border-radius: 999px; padding: 4px 10px; }
.fmt.anim { grid-column: 1 / -1; }
.styles6 { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; width: 100%; }
.styles6 img { display: block; width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; border-radius: 12px; }
.styles6 span { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; text-align: center; }
@media (min-width: 601px) { .styles6 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .styles6 { grid-template-columns: repeat(6, 1fr); gap: 14px; } }
@media (max-width: 600px) { .fmt.anim { flex-wrap: wrap; } .fmt.anim .fmt-b { flex: 1; min-width: 0; } }
.fmt.auto { background: var(--black, var(--ink)); color: #fff; border-color: var(--black, var(--ink)); }
.fmt.auto p { color: #B9C4C1; }
.fmt.auto .ico { background: var(--mint); color: var(--on-mint, var(--ink)); }
.fmt.auto .tag { background: rgba(47, 214, 160, .16); color: var(--mint); }

/* ---------- возможности ---------- */
.feat { display: flex; gap: 16px; align-items: flex-start; }
.feat h3 { font-size: 18px; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 15px; }
@media (max-width: 600px) {
  .feats { gap: 10px; }
  .feat { padding: 16px; gap: 14px; }
  .feat .ico { width: 38px; height: 38px; border-radius: 10px; }
  .feat .ico svg { width: 19px; height: 19px; }
  .feat h3 { font-size: 16px; margin-bottom: 2px; }
  .feat p { font-size: 14px; line-height: 1.5; }
  .steps { gap: 10px; }
  .step { padding: 18px; }
  .step .num { margin-bottom: 12px; width: 38px; height: 38px; }
}

/* видео и обложки не сохраняются долгим нажатием */
#demo, #shot-img { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }

/* ---------- демо (раздел #screens) ---------- */
.tabs { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 4px; margin: 0 -4px 18px; scrollbar-width: none; }
@media (max-width: 600px) { .tabs { flex-wrap: wrap; overflow: visible; } .tabs button { padding: 8px 13px; min-height: 40px; font-size: 14px; } }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: none; border: 1px solid var(--line); background: var(--x-fff, #fff); border-radius: 12px; padding: 9px 16px; min-height: 42px;
  font-weight: 700; font-size: 15px; color: var(--muted); cursor: pointer;
  position: relative; z-index: 1; overflow: hidden; isolation: isolate; transition: color .25s var(--ease), border-color .2s, background-color .2s, transform .18s var(--ease);
}
.tabs button:active { transform: scale(.96); }
.tabs button[aria-selected="true"] { background: var(--black, var(--ink)); color: #fff; border-color: var(--black, var(--ink)); }
/* чёрная плашка выбранной вкладки скользит между вкладками */
.tab-ind { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 12px; background: var(--black, var(--ink)); pointer-events: none; transform-origin: 0 0; opacity: 0; }
.tabs.has-ind button[aria-selected="true"] { background: transparent; border-color: transparent; }
.tabs button:hover:not([aria-selected="true"]) { color: var(--ink); border-color: var(--x-cfd9d6, #cfd9d6); }
.browser { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--x-fff, #fff); }
.browser .bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: var(--bg2); border-bottom: 1px solid var(--line); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--x-d5dedb, #d5dedb); }
.browser .bar span { margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.browser .bar em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .02em; padding: 2px 7px; border-radius: 7px; background: var(--black, var(--ink)); color: var(--mint); }
.bar-btn { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--x-fff, #fff); font-size: 12.5px; font-weight: 700; cursor: pointer; transition: border-color .15s, transform .18s var(--ease); }
.bar-btn b { font-weight: 700; }
.bar-btn svg { width: 14px; height: 14px; }
.bar-btn:hover { border-color: var(--ink); }
.bar-btn:active { transform: scale(.96); }
#demo-full { margin-left: auto; }
.bar-x { display: none; }
/* рамка демо: на странице — обычный блок, «На весь экран» — тот же блок поверх страницы (iframe не перезагружается) */
html:not(.js) .demo, html:not(.js) #screens .tabs { display: none; }
.demo { height: clamp(600px, calc(100vh - 110px), 800px); }
.demo-box { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.demo-box .bar { flex: none; height: 40px; }
.demo-body { position: relative; flex: 1 1 auto; min-height: 0; background: var(--x-f6f8f7, #F6F8F7); }
.demo-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--x-f6f8f7, #F6F8F7); }
.demo-cover { position: absolute; inset: 0; overflow: hidden; background: var(--x-f6f8f7, #F6F8F7); }
.demo-cover picture { display: block; }
.demo-cover img { width: 100%; height: auto; aspect-ratio: 1280 / 860; object-fit: cover; object-position: top; user-select: none; }
.demo-veil { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; padding: 20px; background: var(--x-veil, rgba(246, 248, 247, .62)); text-align: center; }
.demo-start { min-height: 56px; padding: 14px 26px; font-size: 18px; box-shadow: var(--shadow-lg); }
.demo-load { display: none; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: var(--x-fff, #fff); border: 1px solid var(--line); font-weight: 700; }
.demo-spin { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--mint); animation: demoSpin .9s linear infinite; }
@keyframes demoSpin { to { transform: rotate(360deg); } }
.demo-fail { display: none; gap: 8px; justify-items: center; max-width: 420px; padding: 18px 20px; border-radius: 16px; background: var(--x-fff, #fff); border: 1px solid var(--line); box-shadow: var(--shadow); }
.demo-fail span { color: var(--muted); font-size: 15px; }
.demo-box[data-state="idle"] .demo-start { display: inline-flex; }
.demo-box[data-state="loading"] .demo-start, .demo-box[data-state="fail"] .demo-start { display: none; }
.demo-box[data-state="loading"] .demo-load { display: inline-flex; }
.demo-box[data-state="fail"] .demo-fail { display: grid; }
.demo-box[data-state="ready"] .demo-cover { display: none; }
.demo-trap { position: absolute; width: 1px; height: 1px; }
.demo-nojs img { width: 100%; height: auto; }
/* полноэкранный режим */
html.demo-open { overflow: hidden; }
.demo-back { position: fixed; inset: 0; z-index: 90; background: rgba(11, 15, 14, .62); animation: demoFade .18s ease-out; }
.demo-back.shield { background: transparent; animation: none; }   /* полсекунды после закрытия: второй тап по крестику ничего не нажмёт */
.demo-box.is-full { position: fixed; z-index: 95; inset: 24px; width: auto; max-width: 1440px; height: auto; margin: 0 auto; animation: demoFade .18s ease-out; }
.demo-box.is-full #demo-full { display: none; }
.demo-box.is-full .bar-x { display: inline-flex; margin-left: auto; width: 34px; padding: 0; justify-content: center; }
@keyframes demoFade { from { opacity: 0; } }
/* телефон (в том числе боком) и планшет. То же условие — smallScr в site.js */
@media (max-width: 760px), (pointer: coarse) {
  .demo { height: min(78vh, 620px); }
  .demo-cover { cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .demo-cover img { aspect-ratio: auto; }
  .demo-box:not(.is-full) #demo-full { display: none; }
  .demo-box.is-full { inset: 0; max-width: none; border: 0; border-radius: 0; height: 100%; height: 100dvh; }
  .demo-box.is-full .bar { height: 46px; padding-right: 8px; }
  .demo-box.is-full .bar-x { width: 44px; height: 38px; }
  /* на странице всегда обложка с кнопкой, чтобы прокрутка не «застревала» в демо */
  .demo-box:not(.is-full) .demo-cover { display: block; z-index: 2; }
  .demo-box:not(.is-full) iframe { visibility: hidden; }
  .demo-box:not(.is-full) .demo-start { display: inline-flex; }
  .demo-box:not(.is-full) .demo-load, .demo-box:not(.is-full) .demo-fail { display: none; }
}
@media (min-width: 601px) and (max-width: 1100px) and (pointer: coarse), (min-width: 601px) and (max-width: 760px) { .demo { height: min(78vh, 62vw, 620px); } }   /* обложка без пустого места снизу */
@media (min-width: 1101px) and (pointer: coarse) { .demo { height: min(78vh, 800px); } }
@media (max-height: 520px) { .demo-box.is-full { inset: 0; border: 0; border-radius: 0; } }
.shot-cap { margin-top: 14px; color: var(--muted); font-size: 15px; min-height: 1.6em; }

/* ---------- что нужно (тёмная секция) ---------- */
.dark { background: var(--black, var(--ink)); color: #fff; }
.dark .kicker { color: var(--mint); }
.dark .kicker::before { box-shadow: 0 0 0 4px rgba(47, 214, 160, .18); }
.dark .sec-head p { color: #A9B5B2; }
.req { display: grid; gap: 16px; }
@media (min-width: 860px) { .req { grid-template-columns: 1fr 1fr; } }
.dcard { background: #121816; border: 1px solid #222a28; border-radius: var(--r-lg); padding: 26px; }
.dcard h3 { font-size: 20px; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.dcard h3 .ico { background: rgba(47, 214, 160, .14); color: var(--mint); }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.list li { display: flex; gap: 12px; align-items: flex-start; }
.list li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--mint); }
.dark .list li { color: #E3EAE8; }
.dark .list small { display: block; color: #A9B5B2; font-size: 14px; }
.dark .list b { color: #fff; }
.note { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: rgba(47, 214, 160, .08); border: 1px solid rgba(47, 214, 160, .22); color: #CFE9E0; font-size: 14px; }
.dark a { color: var(--mint); }
.dark a:hover { color: #fff; }

/* ---------- цена: три тарифа ---------- */
.plans { display: grid; gap: 16px; padding-top: 14px; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; } }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 22px; }
.plan h3 { font-size: 18px; color: var(--ink2); }
.price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: clamp(36px, 6vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 12px 0 6px; }
.save { font-size: 13px; font-weight: 800; letter-spacing: .02em; color: var(--mint-ink); background: var(--mint-t); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.plan-sub { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.plan .btn { margin-top: auto; }
.plan-pay { margin-top: auto; display: flex; align-items: center; gap: 8px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 14px; font-weight: 700; color: var(--muted); }
.plan-pay svg { width: 17px; height: 17px; flex: none; color: var(--mint-ink); }
/* покупка в программе — тёмная плашка со способами оплаты */
.inapp { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 18px; margin-top: 32px; padding: 22px; border-radius: var(--r-lg); background: var(--black, var(--ink)); color: #fff; box-shadow: var(--shadow-lg); }
.inapp::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 214, 160, .22), rgba(47, 214, 160, 0)); pointer-events: none; }
.inapp .ico { background: var(--mint); color: var(--on-mint, var(--ink)); }
.inapp h3 { font-size: 20px; }
.inapp p { color: #B9C4C1; margin-top: 4px; font-size: 15px; }
@media (min-width: 900px) { .inapp { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 26px 30px; } .inapp .paychips { max-width: 330px; justify-content: flex-end; } }
.paychips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.paychips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid #2a3331; font-size: 14px; font-weight: 700; color: #E3EAE8; letter-spacing: .01em; }
.paychips svg { width: 16px; height: 16px; flex: none; color: var(--mint); }
.paychips li.soon { color: #A9B5B2; border-style: dashed; border-color: #3a4542; }
.paychips li.soon svg { color: #A9B5B2; }
.paychips em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--on-mint, var(--ink)); background: var(--mint); border-radius: 999px; padding: 1px 8px; }
.plan.best { border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.plan.best .save { background: var(--black, var(--ink)); color: var(--mint); }
.plan .badge { position: absolute; top: -14px; left: 26px; background: var(--mint); color: var(--on-mint, var(--ink)); font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em; }
@media (min-width: 860px) { .plan.best { --ty: -8px; } .plan.best:hover { --ty: -12px; } }
.plan-inc { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 24px; color: var(--muted); font-weight: 700; font-size: 15px; }
.plan-inc .chips { margin-top: 0; }
.plan-inc .chips svg { color: var(--mint-ink); }
/* пробная версия */
.trial { display: grid; gap: 16px; align-items: center; margin-top: 32px; padding: 22px; border-radius: var(--r-lg); background: var(--mint-t); border: 1px solid var(--x-c9ebdf, #c9ebdf); }
@media (min-width: 760px) { .trial { grid-template-columns: auto 1fr auto; gap: 20px; padding: 24px 28px; } }
.trial h3 { font-size: 19px; }
.trial p { color: var(--x-2e3836, #2E3836); margin-top: 4px; font-size: 15px; }
.trial .btn.is-disabled { background: var(--x-fff, #fff); }
/* как купить */
.sub-h { font-size: clamp(24px, 4vw, 30px); margin: 56px 0 20px; }
@media (min-width: 640px) { .steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps-4 { grid-template-columns: repeat(4, 1fr); } }
.steps-4 .step h3 { font-size: 18px; }
.steps-4 .step p { font-size: 15px; }
.pay-note { margin-top: 16px; padding: 14px 18px; border-radius: var(--r-sm); background: var(--bg2); border: 1px solid var(--line); color: var(--x-2e3836, #2E3836); font-size: 15px; }
.info-cards { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .info-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .info-cards { grid-template-columns: repeat(4, 1fr); } }
.info-cards .card p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.info-cards h4 { font-size: 17px; }
@media (max-width: 600px) {
  .plan { padding: 22px; }
  .sub-h { margin-top: 44px; }
  .info-cards { gap: 10px; margin-top: 28px; }
  .info-cards .card { padding: 18px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--x-fff, #fff); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.faq details[open]:not(.closing) { border-color: var(--x-c9ebdf, #c9ebdf); }
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--mint-ink); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 700; font-size: 17px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 8px;
  background: var(--mint-t) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23077552' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease), background-color .25s var(--ease);
}
.faq details[open]:not(.closing) summary::after { transform: rotate(180deg); }
.faq details[open]:not(.closing) summary::after { background-color: var(--black, var(--ink)); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232FD6A0' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }
.faq .a { padding: 0 20px 20px; color: var(--muted); }
.faq .a p + p { margin-top: 10px; }

/* ---------- подвал ---------- */
.ftr { background: var(--black, var(--ink)); color: #A9B5B2; padding: 56px 0 32px; font-size: 15px; }
.ftr .brand { color: #fff; }
.ftr .brand svg { border-radius: 8px; box-shadow: 0 0 0 1px #2a3331; }
.ftr .brand b { color: var(--mint); }
.ftr-grid { display: grid; gap: 32px; }
@media (min-width: 820px) { .ftr-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.ftr h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ftr a { color: #E3EAE8; text-decoration: none; }
.ftr a:hover { color: var(--mint); }
.ftr .about { margin-top: 14px; max-width: 380px; }
.ftr-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid #222a28; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; }

/* ---------- документы (privacy / terms) ---------- */
.doc { padding: 48px 0 80px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(30px, 6vw, 44px); margin-bottom: 8px; }
.doc .upd { color: var(--muted); margin-bottom: 32px; }
.doc h2 { font-size: 21px; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--x-2e3836, #2E3836); }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 22px; display: grid; gap: 6px; }
.doc .back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; margin-bottom: 26px; }
.doc .back svg { width: 18px; height: 18px; }
.doc .box { margin-top: 28px; padding: 18px 20px; border-radius: var(--r); background: var(--mint-t); border: 1px solid var(--x-c9ebdf, #c9ebdf); }

/* ---------- движение ---------- */
.hdr.scrolled, .hdr.scrolled > .wrap { pointer-events: none; }
.hdr.scrolled > .wrap > * { pointer-events: auto; }
/* рябь от точки нажатия */
.ripple { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(47, 214, 160, .45), rgba(47, 214, 160, .18) 70%, rgba(47, 214, 160, 0)); transform: scale(0); animation: ripple .6s var(--ease) forwards; }
@keyframes ripple { 0% { transform: scale(0); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
/* карточки: подъём и лёгкий наклон за курсором (наклон — только мышью) */
.card.step, .card.feat, .fmt, .info-cards .card, .plan, .dcard {
  transform: perspective(900px) translateY(var(--ty, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s;
}
@media (hover: hover) {
  .card.step:hover, .card.feat:hover, .fmt:hover, .info-cards .card:hover, .plan:not(.best):hover { --ty: -4px; box-shadow: var(--shadow-lg); }
  .plan:not(.best):hover { border-color: var(--x-c9ebdf, #c9ebdf); }
  .dcard:hover { --ty: -3px; }
}
/* hero: текст появляется по очереди, телефон мягко «плавает» */
.js .hero .wrap > div:first-child > * { animation: heroIn .7s var(--ease) both; }
.js .hero .wrap > div:first-child > :nth-child(2) { animation-delay: .07s; }
.js .hero .wrap > div:first-child > :nth-child(3) { animation-delay: .14s; }
.js .hero .wrap > div:first-child > :nth-child(4) { animation-delay: .21s; }
.js .hero .wrap > div:first-child > :nth-child(5) { animation-delay: .28s; }
.js .hero .wrap > div:first-child > :nth-child(6) { animation-delay: .35s; }
.js .hero .stage { animation: heroIn .9s .15s var(--ease) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } }
.hero .phone { animation: floaty 6s ease-in-out infinite; }
.hero .float.f1 { animation: floaty 7s ease-in-out .8s infinite; }
.hero .float.f2 { animation: floaty 6.5s ease-in-out 1.6s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 600px) { .hero .float.f1, .hero .float.f2 { animation: none; } }
.vid-btn { transition: transform .2s var(--ease), background-color .2s; }
.vid-btn:active { transform: scale(.92); }
.vid-toggle.big:active { transform: scale(.92); }
/* обложка демо: мягкая смена кадра */
.browser img.swap { animation: shotIn .32s var(--ease); }
@keyframes shotIn { from { opacity: 0; transform: scale(.992); } }
/* появление блоков при прокрутке, карточки — по очереди */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: perspective(900px) translateY(var(--ty, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.js .reveal.in.done { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s; transition-delay: 0s; }
.js .reveal.in:not(.card):not(.fmt):not(.dcard) { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card.step, .card.feat, .fmt, .info-cards .card, .plan, .dcard, .hero .phone, .hero .float { transform: none !important; }
  .ripple { display: none !important; }
}

/* ---------- ночная тема: <html data-theme="dark"> */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0F1514; --bg2: #141B19; --line: #28332F; --ink: #E9F0ED; --ink2: #D7E0DD; --muted: #9DAAA6;
  --mint-t: #14302A; --mint-ink: #4FE0B1;
  --black: #26312E; --on-mint: #0B0F0E;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 24px 60px rgba(0, 0, 0, .45);
  --x-fff: #18201E; --x-glass: rgba(15, 21, 20, .9); --x-veil: rgba(14, 20, 19, .62);
  --x-fff9ec: #2A2212;
  --x-fffbf1: #2A2212;
  --x-fff6e3: #2E2513;
  --x-ffefc9: #403114;
  --x-f1dba9: #5E4A1D;
  --x-fff4f4: #2C1819;
  --x-fff6f6: #2C1819;
  --x-fdf1f1: #2C1819;
  --x-fdeeee: #331B1C;
  --x-fff0f0: #331719;
  --x-fdeaea: #3B1E20;
  --x-fde3e3: #44201F;
  --x-f6dada: #4A2526;
  --x-f2c6c6: #6B3234;
  --x-f0c4c4: #6B3234;
  --x-f3c7c7: #6B3234;
  --x-a82727: #FF9C9C;
  --x-b42828: #FF9C9C;
  --x-9e2a2a: #FF9C9C;
  --x-7a1111: #FFC4C4;
  --x-d6f7eb: #17493A;
  --x-f0fbf7: #12261F;
  --x-a9e5cf: #2A5E4D;
  --x-e7faf3: #173A2F;
  --x-0b7a57: #4FE0B1;
  --x-cbd5d1: #36423F;
  --x-aebbb6: #4A5854;
  --x-9aa4a1: #7B8884;
  --x-dde4e2: #33403C;
  --x-c9ebdf: #245244;
  --x-cfd9d6: #3C4A46;
  --x-e9eeec: #222B29;
  --x-d5dedb: #37433F;
  --x-f6f8f7: #0E1413;
  --x-2e3836: #C3CDCA;
}
html[data-theme="dark"] .btn-dark:not(.is-disabled) { background: var(--mint); color: #0B0F0E; }
html[data-theme="dark"] .btn-dark:not(.is-disabled):hover { background: #4BE0AF; color: #0B0F0E; }
html[data-theme="dark"] .dark { background: #090D0C; }
html[data-theme="dark"] .ftr { background: #090D0C; border-top: 1px solid #1B2422; }
html[data-theme="dark"] .inapp, html[data-theme="dark"] .fmt.auto { background: #1B2523; border: 1px solid #2C3936; }
html[data-theme="dark"] .plan.best { border-color: var(--mint-h); }
html[data-theme="dark"] .phone { background: #000; box-shadow: 0 0 0 1px #35423E, var(--shadow-lg); }
html[data-theme="dark"] .brand svg { border-radius: 8px; box-shadow: 0 0 0 1px #2C3936; }
html[data-theme="dark"] .demo-back { background: rgba(0, 0, 0, .72); }
html[data-theme="dark"] .demo-cover img { filter: brightness(.72); }
.theme-btn {
  display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; padding: 0; border-radius: 12px; border: 1px solid var(--line);
  background: var(--x-fff, #fff); color: var(--ink); cursor: pointer; transition: border-color .2s, transform .2s var(--ease);
}
.theme-btn:hover { border-color: var(--x-cfd9d6, #cfd9d6); }
.theme-btn:active { transform: scale(.94); }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .sun, html[data-theme="dark"] .theme-btn .moon { display: none; }
html[data-theme="dark"] .theme-btn .sun { display: block; }
.doc p, .doc li, .doc h1, .doc h2, .doc a { overflow-wrap: anywhere; }
html.theme-sw, html.theme-sw *, html.theme-sw *::before, html.theme-sw *::after { transition: none !important; }
