/* Лендинг maester.ru. Документы (/privacy и др.) используют style.css. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-cyrillic.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: 100 900;
  font-display: swap;
  src: url("fonts/inter-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;
}

:root {
  --ink: #141414;
  --text: #2c2c2e;
  --soft: #6e6e73;
  --muted: #a1a1a6;
  --line: rgba(0, 0, 0, .07);
  --wash: #f5f5f7;
  --screen: #f3f3f5;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --puffy:
    inset 0 1px 4px rgba(255, 255, 255, .67),
    inset 0 -4px 4px rgba(255, 255, 255, .85),
    inset 0 0 14px rgba(229, 229, 229, .55),
    0 11px 28px rgba(0, 0, 0, .05),
    0 23px 31px rgba(0, 0, 0, .035);
  --puffy-hover:
    inset 0 1px 4px rgba(255, 255, 255, .67),
    inset 0 -4px 4px rgba(255, 255, 255, .85),
    inset 0 0 14px rgba(229, 229, 229, .55),
    0 14px 34px rgba(0, 0, 0, .07),
    0 28px 40px rgba(0, 0, 0, .05);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 400 17px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-optical-sizing: auto;
  font-feature-settings: "cv11", "ss03";
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 500; }
.ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ico.fill { fill: currentColor; stroke: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 999px; }
::selection { background: #e6e1ff; }

/* ---------- Кнопки-пилюли ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 30px; border-radius: 999px;
  background: linear-gradient(180deg, #fff, #fbfbfb);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--puffy);
  color: var(--ink); font-size: 16px; font-weight: 500; white-space: nowrap;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.pill:hover { box-shadow: var(--puffy-hover); transform: translateY(-1px); }
.pill:active { transform: scale(.97); transition-duration: .12s; }
.pill .ico { font-size: 18px; }
.pill-sm { height: 44px; padding: 0 22px; font-size: 15px; }
.pill-dark {
  background: linear-gradient(180deg, #2a2a2c, #111);
  border-color: #000; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -2px 6px rgba(0, 0, 0, .4), 0 12px 28px rgba(0, 0, 0, .16), 0 2px 4px rgba(0, 0, 0, .1);
}
.pill-dark:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -2px 6px rgba(0, 0, 0, .4), 0 16px 34px rgba(0, 0, 0, .2), 0 2px 4px rgba(0, 0, 0, .1); }
.round {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--puffy); color: var(--soft); font-size: 17px;
  transition: box-shadow .4s var(--ease), transform .3s var(--ease), color .2s;
}
.round:hover { color: var(--ink); box-shadow: var(--puffy-hover); }
.round:active { transform: scale(.92); }

/* ---------- Навигация ---------- */
.nav {
  position: fixed; z-index: 50; inset: 0 0 auto; height: 84px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 32px;
  transition: background .4s var(--ease), height .4s var(--ease);
}
.nav.scrolled { height: 68px; background: rgba(255, 255, 255, .78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.nav::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--line); opacity: 0; transition: opacity .4s; }
.nav.scrolled::after { opacity: 1; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 21px; letter-spacing: -.04em; color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 9px; }
.nav-r { display: flex; align-items: center; gap: 28px; }
.nav-r > a:not(.pill) { font-size: 14px; color: var(--soft); transition: color .2s; }
.nav-r > a:not(.pill):hover { color: var(--ink); }

/* ---------- Типографика ---------- */
.h1 { font-size: clamp(44px, 7vw, 88px); line-height: 1; letter-spacing: -.046em; font-weight: 500; }
.h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -.042em; font-weight: 500; }
.sub { margin-top: 24px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5; color: var(--soft); text-wrap: balance; }
.head { max-width: 760px; margin: 0 auto; text-align: center; }
.sec { padding: 160px 0 0; }

/* Текст проявляется из размытия: по буквам и по словам */
.split .w { display: inline-block; white-space: nowrap; }
.split .c { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(.25em); transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * 26ms + var(--d, 0ms)); }
.split.in .c { opacity: 1; filter: blur(0); transform: none; }

[data-reveal] { opacity: 0; filter: blur(10px); transform: translateY(28px); transition: opacity 1.1s var(--ease), filter 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; filter: blur(0); transform: none; }
.no-js [data-reveal] { opacity: 1; filter: none; transform: none; }

/* ---------- Телефон в светлой рамке ---------- */
.phone {
  position: relative; width: 300px; aspect-ratio: 300 / 640; padding: 9px; border-radius: 54px;
  background: linear-gradient(150deg, #ffffff 0%, #ececf0 45%, #fafafa 60%, #e3e3e8 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), inset 0 2px 1px rgba(255, 255, 255, .9), 0 40px 80px rgba(0, 0, 0, .08), 0 10px 24px rgba(0, 0, 0, .05);
}
.phone::before { content: ""; position: absolute; inset: 5px; border-radius: 49px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05); pointer-events: none; }
.scr { position: relative; width: 100%; height: 100%; border-radius: 45px; overflow: hidden; background: var(--screen); }
.scr > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.island { position: absolute; z-index: 5; top: 11px; left: 50%; width: 92px; height: 27px; margin-left: -46px; border-radius: 20px; background: #0a0a0a; }
.sbar { display: flex; justify-content: space-between; align-items: center; height: 48px; padding: 4px 26px 0 30px; font-size: 13px; font-weight: 600; color: var(--ink); }
.sbar i { display: flex; gap: 5px; align-items: center; }
.sbar .bat { display: block; width: 20px; height: 10px; border-radius: 3px; border: 1.4px solid var(--ink); position: relative; }
.sbar .bat::after { content: ""; position: absolute; inset: 1px 5px 1px 1px; border-radius: 1px; background: var(--ink); }
.sbar .sig { display: flex; align-items: flex-end; gap: 1.5px; height: 10px; }
.sbar .sig s { width: 3px; border-radius: 1px; background: var(--ink); }
.sbar .sig s:nth-child(1) { height: 4px; } .sbar .sig s:nth-child(2) { height: 6px; } .sbar .sig s:nth-child(3) { height: 8px; } .sbar .sig s:nth-child(4) { height: 10px; }

/* Мини-тайлы, как в приложении */
.tl { position: relative; border-radius: 22px; padding: 12px; color: var(--ink); overflow: hidden; }
.ti { display: grid; place-items: center; }
.tl .ti { width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .7); font-size: 14px; }
.tl .tg { position: absolute; top: 14px; right: 13px; font-size: 12px; color: rgba(0, 0, 0, .3); }
.tl .tk { margin-top: 12px; font-size: 9.5px; font-weight: 500; }
.tl .tv { font-size: 20px; font-weight: 650; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.tl .tv small { font-size: 10px; font-weight: 600; letter-spacing: 0; margin-left: 1px; }
.tl .tn { margin-top: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: -.02em; }
.tl .tb { height: 5px; margin-top: 6px; border-radius: 5px; background: rgba(255, 255, 255, .7); overflow: hidden; }
.tl .tb i { display: block; height: 100%; width: 0; border-radius: inherit; background: #3b82f6; transition: width 1.6s var(--ease) 1s; }
.go .tl .tb i { width: 75%; }
.g-blue { background: linear-gradient(160deg, #e9efff, #cfdcff); } .g-blue .ti { color: #3b82f6; }
.g-green { background: linear-gradient(160deg, #e5f7ee, #c6ecd9); } .g-green .ti { color: #10b981; }
.g-amber { background: linear-gradient(160deg, #fff3de, #fde1b6); } .g-amber .ti { color: #f59e0b; }
.g-sky { background: linear-gradient(160deg, #e3f3fc, #c4e5f7); } .g-sky .ti { color: #0ea5e9; }
.g-pink { background: linear-gradient(160deg, #fdeced, #f8d0d4); } .g-pink .ti { color: #ef4444; }
.g-lilac { background: linear-gradient(160deg, #f0edff, #dcd5ff); } .g-lilac .ti { color: #6d5df6; }
.g-peach { background: linear-gradient(160deg, #fff0e8, #fdd5c2); } .g-peach .ti { color: #f97316; }
.g-teal { background: linear-gradient(160deg, #e2f7f5, #bfeae5); } .g-teal .ti { color: #0d9488; }

/* ---------- HERO ---------- */
.hero { position: relative; padding-top: 168px; text-align: center; }
.hero .sub { max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-cta { margin-top: 38px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-cta small { font-size: 13.5px; color: var(--muted); }
.stage { position: relative; height: 640px; margin-top: 72px; overflow: hidden; }
.stage::after { content: ""; position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 82%); z-index: 6; pointer-events: none; }
.stage .phone { position: absolute; left: 50%; top: 0; margin-left: -150px; }
.p-back { z-index: 2; opacity: 0; transition: transform 1.8s var(--ease), opacity 1.4s var(--ease), filter 1.8s var(--ease); }
.p-l1, .p-r1 { z-index: 3; }
.stage.go .p-l1 { opacity: .75; filter: blur(5px); transform: translate3d(calc(-66% - var(--spread, 0px)), 50px, 0) scale(.84); transition-delay: .25s; }
.stage.go .p-r1 { opacity: .75; filter: blur(5px); transform: translate3d(calc(66% + var(--spread, 0px)), 50px, 0) scale(.84); transition-delay: .25s; }
.stage.go .p-l2 { opacity: .4; filter: blur(10px); transform: translate3d(calc(-124% - var(--spread, 0px) * 2), 96px, 0) scale(.7); transition-delay: .4s; }
.stage.go .p-r2 { opacity: .4; filter: blur(10px); transform: translate3d(calc(124% + var(--spread, 0px) * 2), 96px, 0) scale(.7); transition-delay: .4s; }
.stage.go .p-back { transition-property: transform, opacity, filter; }
.stage.settled .p-back { transition: opacity 1.4s var(--ease), filter 1.8s var(--ease); }
.p-main { z-index: 4; opacity: 0; transform: translateY(120px) scale(.96); transition: transform 1.6s var(--ease), opacity 1s var(--ease); }
.stage.go .p-main { opacity: 1; transform: none; }

/* Главный экран приложения */
.home { display: flex; flex-direction: column; height: 100%; }
.home-top { display: flex; align-items: center; gap: 7px; padding: 4px 16px 12px; }
.home-top b { font-size: 17px; font-weight: 700; letter-spacing: -.04em; color: var(--ink); }
.home-top .sp { margin-left: auto; }
.mini-btn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 14px; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); color: var(--ink); flex: none; }
.mini-btn.av { background: #111; color: #fff; font-size: 12px; font-weight: 600; }
.orb {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #f1f0ff 0%, #9c8cff 35%, #4b3fd6 75%, #1e1a6b 100%);
  box-shadow: 0 3px 10px rgba(110, 92, 255, .4);
}
.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 0 12px; }
.home-grid .tl { height: 128px; }
.home-list { display: grid; gap: 7px; padding: 12px 12px 0; }
.th { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 18px; background: #fff; text-align: left; }
.th .ti { width: 34px; height: 34px; border-radius: 11px; font-size: 16px; flex: none; }
.th div { min-width: 0; flex: 1; }
.th b { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.th b em { font-style: normal; font-weight: 400; font-size: 10px; color: var(--muted); }
.th p { font-size: 11px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pop { opacity: 0; transform: translateY(14px) scale(.94); transition: opacity .8s var(--ease), transform .9s var(--spring); transition-delay: calc(var(--i, 0) * 70ms + 550ms); }
.go .pop { opacity: 1; transform: none; }

/* ---------- Сценарии ---------- */
.chips-wrap { position: relative; margin: 44px auto 0; max-width: 1000px; }
.chips-wrap::before, .chips-wrap::after { content: ""; position: absolute; top: 0; bottom: 30px; width: 56px; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s; }
.chips-wrap.over::before, .chips-wrap.over::after { opacity: 1; }
.chips-wrap::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.chips-wrap::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0)); }
.chips { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 16px 24px 56px; justify-content: safe center; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 20px 0 9px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--muted); border: 1px solid transparent;
  transition: color .4s var(--ease), box-shadow .6s var(--ease), background .6s var(--ease), border-color .6s;
}
.chip .ti { width: 32px; height: 32px; border-radius: 10px; font-size: 16px; filter: grayscale(1); opacity: .5; transition: filter .5s, opacity .5s, transform .6s var(--spring); }
.chip:hover { color: var(--soft); }
.chip[aria-selected="true"] { color: var(--ink); background: linear-gradient(180deg, #fff, #fbfbfb); border-color: rgba(255, 255, 255, .9); box-shadow: var(--puffy); }
.chip[aria-selected="true"] .ti { filter: none; opacity: 1; transform: rotate(-6deg) scale(1.06); }

.demo { position: relative; display: flex; justify-content: center; margin-top: -14px; height: 660px; overflow: hidden; }
.demo::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 72%); z-index: 6; pointer-events: none; }
.ghost { position: absolute; top: 44px; left: 50%; margin-left: -150px; filter: blur(9px); opacity: .45; }
.ghost.l { transform: translateX(-66%) scale(.84); }
.ghost.r { transform: translateX(66%) scale(.84); }
.demo .phone { z-index: 3; }
.controls { position: absolute; z-index: 7; left: calc(50% + 196px); top: 46%; display: grid; gap: 12px; }

/* Экран чата */
.chat { display: flex; flex-direction: column; height: 100%; }
.chat-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 14px 6px; }
.chat-top .mini-btn { width: 32px; height: 32px; }
.tpill { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 4px; border-radius: 99px; background: #fff; font-size: 13px; font-weight: 600; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .05); transition: opacity .35s var(--ease), transform .5s var(--spring); }
.tpill.swap { opacity: 0; transform: scale(.9); }
.tpill .ti { width: 26px; height: 26px; border-radius: 9px; font-size: 13px; }
.feed { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 8px 12px 12px; overflow: hidden; }
.feed > * { flex: none; opacity: 0; transform: translateY(18px) scale(.96); transform-origin: bottom left; filter: blur(4px); transition: opacity .55s var(--ease), transform .8s var(--spring), filter .55s var(--ease); }
.feed > .me { transform-origin: bottom right; }
.feed > .in { opacity: 1; transform: none; filter: blur(0); }
.feed.clear > * { opacity: 0; transform: translateY(-14px); filter: blur(6px); transition-duration: .45s; }
.when { align-self: center; font-size: 10.5px; color: var(--muted); }
.b { max-width: 82%; padding: 9px 13px; border-radius: 19px; font-size: 13px; line-height: 1.42; letter-spacing: -.01em; text-align: left; }
.me { align-self: flex-end; background: #0e0e10; color: #fff; border-bottom-right-radius: 6px; }
.ai-row { display: flex; gap: 7px; align-items: flex-end; }
.ai-row .orb { margin-bottom: 2px; }
.ai { background: #e8e8eb; color: var(--text); border-bottom-left-radius: 6px; }
.ai b { color: var(--ink); font-weight: 600; }
.dots { display: inline-flex; gap: 4px; padding: 13px 14px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #a3a3aa; animation: dot 1.1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.composer { display: flex; align-items: center; gap: 8px; margin: 0 10px 18px; padding: 5px 5px 5px 16px; border-radius: 99px; background: #fff; font-size: 12.5px; color: var(--muted); box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.composer span:first-child { flex: 1; text-align: left; }
.composer .mini-btn { width: 30px; height: 30px; box-shadow: none; background: var(--wash); color: var(--soft); }
.card { margin-left: 27px; padding: 10px; border-radius: 20px; text-align: left; }
.card-h { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.card-h .ti { width: 30px; height: 30px; border-radius: 10px; background: rgba(255, 255, 255, .8); font-size: 15px; }
.card-h b { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.card-h span { display: block; font-size: 10.5px; color: var(--soft); }
.card-h .tg { margin-left: auto; color: rgba(0, 0, 0, .3); font-size: 13px; }
.cin { padding: 12px; border-radius: 15px; background: #fff; }
.row { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 600; color: var(--ink); }
.row span { color: #3b82f6; }
.big { font-size: 26px; font-weight: 650; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.big small { font-size: 11px; font-weight: 600; letter-spacing: 0; }
.bar { height: 7px; border-radius: 7px; background: #e6edff; margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: #3b82f6; transition: width 1.3s var(--ease); }
.donut-w { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.donut { width: 64px; height: 64px; flex: none; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 7; stroke-dasharray: 0 100; transition: stroke-dasharray 1.1s var(--ease), stroke-dashoffset 1.1s var(--ease); }
.lg { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 10.5px; flex: 1; }
.lg li { display: flex; align-items: center; gap: 5px; }
.lg i { width: 7px; height: 7px; border-radius: 50%; }
.lg span { margin-left: auto; color: var(--soft); }
.todo { display: grid; gap: 5px; }
.todo div { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 12px; background: #fff; font-size: 12.5px; opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .6s var(--ease), color .3s; }
.todo div.on { opacity: 1; transform: none; }
.todo .bx { width: 17px; height: 17px; border-radius: 6px; border: 1.8px solid #d5d5db; display: grid; place-items: center; color: #fff; font-size: 11px; transition: all .4s var(--spring); flex: none; }
.todo .bx .ico { stroke-width: 3.2; opacity: 0; transition: opacity .2s; }
.todo .done { color: var(--muted); }
.todo .done span { text-decoration: line-through; }
.todo .done .bx { background: #f59e0b; border-color: #f59e0b; }
.todo .done .bx .ico { opacity: 1; }
.flip { perspective: 600px; height: 104px; }
.flip-in { position: relative; height: 100%; transform-style: preserve-3d; transition: transform 1s var(--spring); }
.flip.on .flip-in { transform: rotateY(180deg); }
.flip-f { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 15px; background: #fff; backface-visibility: hidden; -webkit-backface-visibility: hidden; font-size: 44px; font-weight: 600; color: var(--ink); }
.flip-b { transform: rotateY(180deg); font-size: 30px; }
.flip-b small { display: block; text-align: center; font-size: 10.5px; font-weight: 500; color: var(--soft); }
.fl-hint { margin-top: 7px; text-align: center; font-size: 10.5px; color: var(--soft); }
.cnt { display: flex; gap: 6px; }
.cnt div { flex: 1; padding: 9px 4px; border-radius: 12px; background: #fff; text-align: center; }
.cnt b { display: block; font-size: 22px; font-weight: 650; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.cnt span { font-size: 9.5px; color: var(--muted); }
.days { display: grid; gap: 4px; margin-top: 6px; }
.days div { display: flex; gap: 8px; align-items: center; padding: 7px 9px; border-radius: 11px; background: #fff; font-size: 11.5px; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.days div.on { opacity: 1; transform: none; }
.days em { font-style: normal; font-size: 10px; font-weight: 600; color: #f97316; width: 38px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 10px; border-radius: 15px; background: #fff; }
.cal i { aspect-ratio: 1; border-radius: 6px; background: #eef7f2; transform: scale(.7); transition: background .4s, transform .6s var(--spring); }
.cal i.on { background: #10b981; transform: none; }
.cal i.h { background: #9ddfc3; transform: none; }
.streak { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }

/* ---------- Кольцо виджетов ---------- */
.ring-stage { position: relative; height: 640px; margin-top: 64px; overflow: hidden; }
.ring-stage::after { content: ""; position: absolute; inset: auto 0 0; height: 34%; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 80%); z-index: 6; pointer-events: none; }
.ring { position: absolute; inset: 0; perspective: 1300px; transform-style: preserve-3d; }
.wd {
  position: absolute; left: 50%; top: 150px; width: 150px; height: 150px; margin-left: -75px; border-radius: 36px; padding: 16px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .03), 0 12px 30px rgba(0, 0, 0, .07), inset 0 1px 0 rgba(255, 255, 255, .8);
  will-change: transform, opacity; opacity: 0;
}
.wd .ti { width: 32px; height: 32px; border-radius: 10px; font-size: 17px; }
.wd .tk { margin-top: 20px; font-size: 11.5px; color: rgba(0, 0, 0, .55); font-weight: 500; }
.wd .tv { font-size: 25px; }
.wd .tv small { font-size: 12px; }
.wd .tn { margin-top: 4px; font-size: 13px; }
.ring-stage .phone { position: absolute; z-index: 5; left: 50%; top: 0; margin-left: -150px; }

/* ---------- Возможности ---------- */
.soft-card {
  position: relative; overflow: hidden; margin: 0 16px; padding: 120px 0 128px; border-radius: 48px;
  background:
    radial-gradient(60% 70% at 12% 100%, rgba(255, 214, 196, .55), transparent 70%),
    radial-gradient(55% 70% at 92% 100%, rgba(214, 205, 255, .75), transparent 70%),
    radial-gradient(50% 50% at 50% 0%, rgba(232, 240, 255, .9), transparent 70%),
    linear-gradient(180deg, #f8f8fa, #f3f1f8);
}
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 48px; max-width: 1000px; margin: 72px auto 0; }
.feat .round { width: 52px; height: 52px; font-size: 21px; color: var(--ink); }
.feat h3 { margin-top: 22px; font-size: 19px; letter-spacing: -.03em; }
.feat p { margin-top: 8px; font-size: 15.5px; color: var(--soft); line-height: 1.5; }

/* ---------- Тарифы ---------- */
.seg { display: inline-flex; gap: 4px; padding: 5px; margin-top: 36px; border-radius: 999px; background: var(--wash); }
.seg button { height: 42px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--soft); transition: color .3s, box-shadow .5s var(--ease), background .5s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.seg button[aria-pressed="true"] { color: var(--ink); background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 16px rgba(0, 0, 0, .06); }
.seg em { font-style: normal; font-size: 12px; font-weight: 600; color: #0e9f6e; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1040px; margin: 64px auto 0; text-align: left; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px 32px; border-radius: 36px; background: #fff; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0, 0, 0, .06); }
.plan-hot { border-color: rgba(255, 255, 255, .9); box-shadow: var(--puffy); background: linear-gradient(180deg, #fff, #fcfcfd); }
.plan-hot:hover { box-shadow: var(--puffy-hover); }
.plan h3 { font-size: 20px; letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 99px; background: #f1eeff; color: #4b3fd6; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.plan .desc { margin-top: 6px; font-size: 15px; color: var(--soft); }
.price { margin-top: 32px; display: flex; align-items: baseline; gap: 8px; color: var(--ink); }
.price b { font-size: 52px; font-weight: 500; letter-spacing: -.055em; font-variant-numeric: tabular-nums; line-height: 1; display: inline-block; transition: opacity .3s var(--ease), transform .5s var(--ease), filter .3s var(--ease); }
.price span { font-size: 15px; color: var(--soft); }
.swap { opacity: 0 !important; transform: translateY(10px) !important; filter: blur(6px) !important; }
.psub { margin-top: 8px; min-height: 22px; font-size: 14px; color: var(--muted); transition: opacity .3s var(--ease), filter .3s var(--ease), transform .5s var(--ease); }
.plan ul { list-style: none; margin: 28px 0 32px; padding: 28px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--text); }
.plan li .ico { margin-top: 4px; font-size: 15px; color: var(--ink); stroke-width: 2.4; }
.plan .pill { margin-top: auto; width: 100%; height: 52px; }
.fine { max-width: 700px; margin: 40px auto 0; text-align: center; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.fine a { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 0, 0, .2); }

/* ---------- Вопросы ---------- */
.faq { max-width: 760px; margin: 64px auto 0; border-top: 1px solid var(--line); text-align: left; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 24px; padding: 26px 0; font-size: 18px; font-weight: 500; letter-spacing: -.025em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.pm { margin-left: auto; position: relative; width: 14px; height: 14px; flex: none; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.6px; border-radius: 2px; background: var(--soft); transition: transform .5s var(--ease); }
.pm::after { transform: rotate(90deg); }
.faq details.open .pm::after { transform: rotate(0); }
.ans { overflow: hidden; }
.ans p { padding: 0 48px 26px 0; color: var(--soft); font-size: 16px; line-height: 1.6; }
.faq a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 0, 0, .25); }

/* ---------- Финал ---------- */
.final { padding: 200px 0 180px; text-align: center; }
.final .h2 { font-size: clamp(36px, 5.4vw, 68px); }
.morph { display: inline-flex; align-items: center; justify-content: center; gap: .2em; white-space: nowrap; }
.morph .ti { width: .9em; height: .9em; border-radius: .28em; flex: none; transition: transform .8s var(--spring), opacity .4s var(--ease); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 .1em .3em rgba(0, 0, 0, .08); }
.morph .ti .ico { width: .5em; height: .5em; }
.morph .ti.out { transform: scale(.3) rotate(-25deg); opacity: 0; transition-duration: .35s; }
.morph .ti.pre { transform: scale(.3) rotate(25deg); opacity: 0; transition: none; }
.morph .txt .c { display: inline-block; white-space: pre; transition: opacity .5s var(--ease), filter .5s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i) * 22ms); }
.morph .txt .c.pre { opacity: 0; filter: blur(10px); transform: translateY(.35em); transition: none; }
.morph .txt .c.out { opacity: 0; filter: blur(10px); transform: translateY(-.3em); transition-duration: .35s; }
.final .sub { max-width: 600px; margin-left: auto; margin-right: auto; }
.final .pill { margin-top: 40px; }

/* ---------- Футер ---------- */
.foot { padding: 28px 32px 36px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--soft); transition: color .2s; }
.foot a:hover { color: var(--ink); }
.foot .req { line-height: 1.7; }

/* ---------- Адаптив ---------- */
@media (max-width: 980px) {
  .nav-r > a:not(.pill) { display: none; }
  .feats { grid-template-columns: 1fr 1fr; padding: 0 8px; }
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .plan-hot { order: -1; }
  .controls { left: auto; right: 24px; top: auto; bottom: 150px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav { padding: 0 16px; height: 68px; }
  .nav.scrolled { height: 60px; }
  .brand { font-size: 19px; }
  .hero { padding-top: 124px; }
  .h1 { font-size: 42px; letter-spacing: -.05em; }
  .h2 { font-size: 34px; }
  .stage { height: 540px; margin-top: 56px; }
  .phone { width: 270px; border-radius: 48px; padding: 8px; }
  .phone::before { border-radius: 44px; }
  .scr { border-radius: 40px; }
  .stage .phone, .ring-stage .phone, .ghost { margin-left: -135px; }
  .home-grid .tl { height: 124px; padding: 10px 11px; }
  .tl .tk { margin-top: 8px; }
  .ring { -webkit-mask-image: none; mask-image: none; }
  .tl .tv { font-size: 18px; }
  .sec { padding-top: 120px; }
  .chips { justify-content: flex-start; padding: 14px 20px 52px; }
  .chips-wrap::before, .chips-wrap::after { width: 24px; }
  .demo { height: 610px; }
  .ghost { display: none; }
  .controls { right: 6px; bottom: 170px; gap: 10px; }
  .round { width: 40px; height: 40px; }
  .ring-stage { height: 540px; }
  .ring { perspective: 900px; }
  .wd { width: 112px; height: 112px; margin-left: -56px; border-radius: 28px; padding: 12px; top: 130px; }
  .wd .ti { width: 26px; height: 26px; font-size: 14px; }
  .wd .tk { margin-top: 12px; font-size: 10px; }
  .wd .tv { font-size: 19px; }
  .wd .tn { font-size: 11px; }
  .soft-card { margin: 0 8px; padding: 88px 0 96px; border-radius: 36px; }
  .feats { grid-template-columns: 1fr; gap: 40px; margin-top: 56px; }
  .plan { padding: 30px 26px 26px; border-radius: 30px; }
  .faq summary { font-size: 17px; padding: 22px 0; }
  .ans p { padding-right: 0; }
  .final { padding: 140px 0 120px; }
  .final .h2 { font-size: 30px; }
  .foot { padding: 24px 20px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
}

/* Иконка на собственной цветной плашке */
.ti.g-blue { color: #3b82f6; } .ti.g-green { color: #10b981; } .ti.g-amber { color: #f59e0b; } .ti.g-sky { color: #0ea5e9; }
.ti.g-pink { color: #ef4444; } .ti.g-lilac { color: #6d5df6; } .ti.g-peach { color: #f97316; } .ti.g-teal { color: #0d9488; }
.morph .txt { display: inline-block; text-align: center; transition: width .7s var(--ease); }

/* Без JS всё видно сразу */
.no-js .p-main, .no-js .pop { opacity: 1; transform: none; }
.no-js .wd { display: none; }
.nw { white-space: nowrap; }
.final .h2, .final .sub { text-wrap: balance; }
.demo .ghost { z-index: 1; }
.ring { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); }

/* Экран телефона не должен распираться длинными строками */
.scr { text-align: left; }
.home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-list { grid-template-columns: minmax(0, 1fr); }
.home-grid .tl, .th, .th div { min-width: 0; }
.tl .tk, .tl .tn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Плитки главного экрана: подпись внизу с воздухом, высота по содержимому */
.home-grid .tl { display: flex; flex-direction: column; height: auto; min-height: 132px; padding: 12px 12px 14px; }
.home-grid .tl .tn { margin-top: auto; padding-top: 10px; }
@media (max-width: 640px) {
  .home-grid .tl { height: auto; min-height: 124px; padding: 11px 11px 13px; }
}

/* Живые плитки в hero: вес — линия, расходы — столбики, покупки — чек-лист */
.tk-good { color: #047857; font-weight: 600 !important; }
.mspark { display: block; width: 100%; height: 26px; margin-top: 6px; overflow: visible; }
.mspark .ln { fill: none; stroke: #10b981; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) 1.25s; }
.mspark .ar { opacity: 0; transition: opacity 1s var(--ease) 1.9s; }
.go .mspark .ln { stroke-dashoffset: 0; }
.go .mspark .ar { opacity: 1; }

.mbars { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-top: 6px; }
.mbars i { flex: 1; height: var(--h); border-radius: 3px; background: rgba(14, 165, 233, .35); transform: scaleY(0); transform-origin: bottom; transition: transform .9s var(--spring); transition-delay: calc(1.15s + var(--k) * 70ms); }
.mbars i.now { background: #0ea5e9; }
.go .mbars i { transform: none; }

.mchk { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.mchk li { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.mchk i { width: 13px; height: 13px; flex: none; border-radius: 4px; border: 1.5px solid rgba(180, 120, 20, .35); background: rgba(255, 255, 255, .6); display: grid; place-items: center; color: #fff; transition: background .35s, border-color .35s, transform .5s var(--spring); }
.mchk i .ico { width: 9px; height: 9px; stroke-width: 3.4; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .5s var(--spring); }
.mchk span { position: relative; transition: color .4s; }
.mchk span::after { content: ""; position: absolute; left: 0; top: 52%; height: 1.2px; width: 0; background: currentColor; transition: width .45s var(--ease); }
.go .mchk [data-ck] i, .go .mchk [data-ck] i .ico, .go .mchk [data-ck] span, .go .mchk [data-ck] span::after { transition-delay: calc(1.6s + var(--k) * 450ms); }
.go .mchk [data-ck] i { background: #f59e0b; border-color: #f59e0b; transform: scale(1.08); }
.go .mchk [data-ck] i .ico { opacity: 1; transform: none; }
.go .mchk [data-ck] span { color: rgba(0, 0, 0, .38); }
.go .mchk [data-ck] span::after { width: 100%; }
.no-js .mspark .ln { stroke-dashoffset: 0; }
.no-js .mspark .ar { opacity: 1; }
.no-js .mbars i { transform: none; }
@media (max-width: 640px) {
  .mchk li:nth-child(4) { display: none; }
  .mspark, .mbars { height: 22px; }
}
.home > *, .chat > .sbar, .chat > .chat-top, .chat > .composer { flex-shrink: 0; }
.card-h .ti { display: grid; place-items: center; flex: none; }

/* Две кнопки загрузки в hero */
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ico-android { color: #000; font-size: 20px !important; }
@media (max-width: 640px) {
  .cta-row { flex-direction: column; width: 100%; max-width: 320px; }
  .cta-row .pill { width: 100%; }
}

/* Главный заголовок: длинная фраза, две ровные строки */
.h1-hero { max-width: 1000px; margin: 0 auto; font-size: clamp(40px, 5.6vw, 76px); text-wrap: balance; }
@media (max-width: 640px) { .h1-hero { font-size: 36px; } }
.hero .sub { max-width: 740px; }

/* Меняющаяся фраза в финале: текст всегда по центру блока, анимируется только ширина */
.morph .txt.js { position: relative; height: 1.1em; }
.morph .txt.js .mt-in { position: absolute; left: 50%; top: 0; transform: translateX(-50%); white-space: nowrap; line-height: 1.1; }

/* Две кнопки загрузки в финале */
.final .cta-row { margin: 40px auto 0; }
.final .cta-row .pill { margin-top: 0; }

/* Футер: документы спрятаны под кнопку «Документы», меню открывается вверх */
.foot-l { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; }
.docs-menu { position: relative; }
.docs-menu summary {
  list-style: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px;
  border-radius: 999px; background: var(--wash); color: var(--soft); font-size: 14px; font-weight: 500;
  cursor: pointer; user-select: none; transition: background .2s, color .2s;
}
.docs-menu summary::-webkit-details-marker { display: none; }
.docs-menu summary:hover, .docs-menu[open] summary { color: var(--ink); background: #ececf0; }
.docs-menu summary svg { width: 16px; height: 16px; flex: none; }
.docs-menu .chev { transform: rotate(180deg); transition: transform .35s var(--ease); }
.docs-menu[open] .chev { transform: none; }
.docs-pop {
  position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 60; display: grid; min-width: 290px; padding: 8px;
  border-radius: 20px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 18px 48px rgba(0, 0, 0, .12);
  transform-origin: bottom left; animation: docs-pop-in .35s var(--ease);
}
@keyframes docs-pop-in { from { opacity: 0; transform: translateY(6px) scale(.97); } }
.foot .docs-pop a { display: block; padding: 11px 14px; border-radius: 12px; font-size: 15px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.foot .docs-pop a:hover { background: var(--wash); }
.foot .docs-pop a[aria-current="page"] { font-weight: 600; }

/* Кнопка «Документы» справа: меню выравнивается по её правому краю */
.docs-pop { left: auto; right: 0; transform-origin: bottom right; }
.foot-in { flex-wrap: nowrap; }
