/* ==========================================================================
   PERRY — стилі сайту
   Кольори та розміри змінюються в блоці :root нижче.
   ========================================================================== */

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/onest-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/onest-latin-wght-normal.woff2") format("woff2-variations");
  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 {
  --bg: #F7F4EF;
  --bg-2: #F1ECE5;
  --surface: #FFFFFF;
  --ink: #0E0E0E;
  --ink-2: #3A3835;
  --muted: #8A847C;
  --line: rgba(14, 14, 14, .08);

  --o1: #FFB21E;
  --o2: #FF6A1A;
  --o3: #F2301E;
  --pink: #FF2D55;
  --grad: linear-gradient(135deg, #FFB21E 0%, #FF6A1A 48%, #F2301E 100%);
  --grad-soft: linear-gradient(135deg, #FFE7C7 0%, #FFD0B5 100%);

  --r-sm: 14px;
  --r: 24px;
  --r-lg: 32px;
  --r-xl: 44px;

  --sh-card: 0 1px 0 rgba(255,255,255,.8) inset, 0 18px 50px -20px rgba(60, 30, 10, .18);
  --sh-orange: 0 18px 40px -14px rgba(255, 106, 26, .55);
  --sh-float: 0 30px 60px -24px rgba(80, 30, 0, .28), 0 8px 18px -8px rgba(80, 30, 0, .12);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--o2); color: #fff; }
:focus-visible { outline: 3px solid var(--o2); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1.25em; height: 1.25em; flex: none; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; transition: top .2s; }
.skip:focus { top: 16px; }

.accent-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* SplitText обгортає слова в div — градієнт треба перенести на них */
.accent-text .w { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(255,106,26,.15); animation: dot 2.4s ease-in-out infinite; }
@keyframes dot { 50% { box-shadow: 0 0 0 8px rgba(255,106,26,0); } }
.eyebrow--light { color: rgba(255,255,255,.6); }

.h2 { font-size: clamp(38px, 5.8vw, 84px); line-height: .98; letter-spacing: -.045em; }
.lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }

.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 7vw, 96px); max-width: 920px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- buttons ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; white-space: nowrap; letter-spacing: -.01em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s, color .3s;
  isolation: isolate; overflow: hidden;
}
.btn .ico { width: 20px; height: 20px; }
.btn:active { transform: scale(.97); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: 15px; }
.btn--lg { --h: 62px; padding: 0 32px; font-size: 17px; }
.btn--primary { color: #fff; background: var(--grad); background-size: 160% 160%; background-position: 0% 0%; box-shadow: var(--sh-orange); }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--primary:hover { background-position: 100% 100%; box-shadow: 0 24px 50px -14px rgba(255, 106, 26, .7); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #222; }
.btn--light { background: #fff; color: var(--ink); }
.btn--ghost { background: rgba(255,255,255,.7); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 8px 24px -14px rgba(0,0,0,.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { background: #fff; }
.btn--ghost .ico-telegram, .btn--ghost svg[fill="currentColor"] { color: #229ED9; }

/* ---------- store badges ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 22px 0 18px; border-radius: 18px;
  background: var(--ink); color: #fff;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0 14px 30px -16px rgba(0,0,0,.5);
}
.store:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -18px rgba(0,0,0,.55); }
.store__icon { width: 26px; height: 26px; }
.store--gp .store__icon { color: #fff; }
.store__txt { display: grid; line-height: 1.05; }
.store__txt small { font-size: 11px; opacity: .7; font-weight: 500; letter-spacing: .01em; }
.store__txt b { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.store.is-soon { background: rgba(14,14,14,.06); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); cursor: default; }
.store.is-soon .store__icon, .store.is-soon .store__txt { opacity: .55; }
.store__soon { position: absolute; top: -9px; right: -8px; padding: 3px 9px; border-radius: 99px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; box-shadow: var(--sh-orange); animation: soon 3s ease-in-out infinite; }
@keyframes soon { 0%, 100% { transform: rotate(6deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-2px); } }
.store__tip { position: absolute; left: 50%; bottom: calc(100% + 14px); transform: translate(-50%, 6px); padding: 8px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; white-space: nowrap; opacity: 0; pointer-events: none; transition: .3s var(--ease); }
.store.is-soon:hover .store__tip, .store.is-soon:focus .store__tip { opacity: 1; transform: translate(-50%, 0); }
.stores--sm .store { height: 50px; border-radius: 15px; }
.stores--sm .store__txt b { font-size: 16px; }
.stores--light .store { background: #fff; color: var(--ink); }
.stores--light .store.is-soon { background: rgba(255,255,255,.18); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.stores--light .store__soon { background: var(--ink); box-shadow: none; }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: transform .5s var(--ease); }
.header::before { content: ""; position: absolute; inset: 0; background: rgba(247,244,239,.72); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .4s; }
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 34px; height: 34px; transition: transform .6s var(--ease-back); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.08); }
.brand__word { font-size: 25px; font-weight: 800; letter-spacing: -.05em; color: var(--ink); }
.brand--lg .brand__mark { width: 46px; height: 46px; }
.brand--lg .brand__word { font-size: 34px; }

.nav { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav__link { position: relative; padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); overflow: hidden; transition: color .3s, background-color .3s; }
.nav__link:hover { color: var(--ink); background: #fff; }
.nav__link.is-active { color: #fff; background: var(--ink); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; display: flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px var(--line); }
.lang__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease-back); }
.lang[data-lang="en"] .lang__pill { transform: translateX(100%); }
.lang__opt { position: relative; z-index: 1; width: 42px; height: 34px; display: grid; place-items: center; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted); transition: color .3s; }
.lang__opt.is-active { color: #fff; }
.lang__opt:not(.is-active):hover { color: var(--ink); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* mobile menu */
.mmenu { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; }
.mmenu.is-open { visibility: visible; pointer-events: auto; }
.mmenu__bg { position: absolute; inset: 0; background: var(--grad); clip-path: circle(0% at calc(100% - 44px) 38px); transition: clip-path .8s var(--ease); }
.mmenu.is-open .mmenu__bg { clip-path: circle(150% at calc(100% - 44px) 38px); }
.mmenu__inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: calc(var(--header-h) + 24px); padding-bottom: 32px; }
.mmenu__nav { display: grid; gap: 4px; }
.mmenu__link { display: flex; align-items: baseline; gap: 14px; color: #fff; font-size: clamp(40px, 11vw, 64px); font-weight: 800; letter-spacing: -.05em; line-height: 1.12; opacity: 0; transform: translateY(40px); transition: opacity .5s, transform .7s var(--ease); }
.mmenu__link small { font-size: 13px; font-weight: 600; letter-spacing: .1em; opacity: .7; }
.mmenu.is-open .mmenu__link { opacity: 1; transform: none; }
.mmenu.is-open .mmenu__link:nth-child(1) { transition-delay: .15s; }
.mmenu.is-open .mmenu__link:nth-child(2) { transition-delay: .2s; }
.mmenu.is-open .mmenu__link:nth-child(3) { transition-delay: .25s; }
.mmenu.is-open .mmenu__link:nth-child(4) { transition-delay: .3s; }
.mmenu.is-open .mmenu__link:nth-child(5) { transition-delay: .35s; }
.mmenu__foot { display: grid; gap: 16px; justify-items: start; opacity: 0; transition: opacity .5s .4s; }
.mmenu.is-open .mmenu__foot { opacity: 1; }
.mmenu__foot .btn svg { color: #229ED9; }
.mmenu__mail { color: #fff; font-weight: 600; opacity: .9; }
html.menu-open .header .brand__word, html.menu-open .header .lang__opt:not(.is-active) { color: #fff; }
html.menu-open .header::before { opacity: 0; }
html.menu-open .header .burger { background: #fff; }
html.menu-open .header .burger span { background: var(--ink); }
html.menu-open .header .brand__mark path { fill: #fff; }

/* ---------- blobs ---------- */
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.blobs .b1 { width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; right: -10vw; top: -6vw; background: radial-gradient(circle at 30% 30%, #FFB21E, #FF6A1A 60%); animation: blob1 18s ease-in-out infinite; }
.blobs .b2 { width: 38vw; height: 38vw; max-width: 600px; max-height: 600px; left: -14vw; bottom: -12vw; background: radial-gradient(circle at 60% 40%, #FF8A3D, #F2301E 70%); opacity: .38; animation: blob2 22s ease-in-out infinite; }
.blobs .b3 { width: 22vw; height: 22vw; left: 38%; top: 54%; background: #FFC37A; opacity: .4; animation: blob1 16s ease-in-out infinite reverse; }
.blobs .b4 { width: 16vw; height: 16vw; left: 8%; top: 8%; background: #FFD9B8; opacity: .7; animation: blob2 14s ease-in-out infinite; }
.blobs--soft i { opacity: .28; }
@keyframes blob1 { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(-4%, 6%) scale(1.08); } 66% { transform: translate(5%, -3%) scale(.94); } }
@keyframes blob2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(8%, -6%) scale(1.12); } }

/* ---------- intro (preloader) ---------- */
.intro { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; background: var(--bg); }
.intro__inner { display: flex; align-items: center; gap: 18px; }
.intro__logo { width: 92px; height: 92px; overflow: visible; }
.intro__word { display: flex; overflow: hidden; font-size: 76px; font-weight: 800; letter-spacing: -.05em; color: var(--ink); line-height: 1.1; }
.intro__word span { display: inline-block; }
html.no-intro .intro, html:not(.js) .intro, html.reduced .intro { display: none; }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 600; pointer-events: none; display: none; opacity: 0; transition: opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 8px; height: 8px; background: var(--o2); }
.cursor__ring { width: 40px; height: 40px; border: 1.5px solid rgba(255,106,26,.5); transition: width .35s var(--ease), height .35s var(--ease), background-color .35s, border-color .35s; }
.cursor.is-hover .cursor__ring { width: 72px; height: 72px; background: rgba(255,106,26,.12); border-color: transparent; }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; }
@media (hover: hover) and (pointer: fine) {
  html.js:not(.reduced) .cursor { display: block; }
}

/* ==========================================================================
   PHONE MOCKUP  (1em = 1/30 ширини телефона)
   ========================================================================== */
.phone { --pw: 320px; width: var(--pw); font-size: calc(var(--pw) / 30); position: relative; }
.phone__frame {
  position: relative; aspect-ratio: 9 / 19.3; border-radius: 5.2em; padding: .95em;
  background: linear-gradient(145deg, #3a3a3c, #0d0d0e 30%, #1c1c1e 70%, #3a3a3c);
  box-shadow: inset 0 0 0 .18em #4a4a4c, inset 0 0 0 .5em #111, 0 4em 8em -3em rgba(70, 25, 0, .45), 0 1.5em 3em -1.5em rgba(0,0,0,.35);
}
.phone__btn { position: absolute; width: .35em; border-radius: .2em; background: #2a2a2c; left: -.25em; }
.phone__btn--1 { top: 18%; height: 3.2em; }
.phone__btn--2 { top: 26%; height: 5.6em; }
.phone__btn--3 { top: 36%; height: 5.6em; }
.phone__screen { position: relative; height: 100%; border-radius: 4.3em; overflow: hidden; background: #F8F6F2; display: flex; flex-direction: column; color: var(--ink); isolation: isolate; }
.phone__status { height: 4.8em; flex: none; display: flex; align-items: center; justify-content: space-between; padding: .6em 2.4em 0; font-size: 1em; position: relative; z-index: 5; }
.phone__time { font-weight: 700; font-size: 1.45em; letter-spacing: -.02em; }
.phone__island { position: absolute; left: 50%; top: 1.1em; transform: translateX(-50%); width: 9.6em; height: 2.8em; border-radius: 2em; background: #000; }
.phone__sys { display: flex; gap: .4em; align-items: center; }
.phone__sys .ico { width: 1.5em; height: 1.5em; }
.phone__bat { width: 2.4em; height: 1.15em; border-radius: .35em; border: .12em solid rgba(0,0,0,.4); padding: .12em; display: block; }
.phone__bat i { display: block; height: 100%; width: 80%; background: #000; border-radius: .15em; }
.phone__views { position: relative; flex: 1; min-height: 0; }
.phone__home { position: absolute; left: 50%; bottom: .7em; transform: translateX(-50%); width: 11em; height: .45em; border-radius: 1em; background: #111; z-index: 6; opacity: .9; }

.screen { position: absolute; inset: 0; padding: .4em 1.8em 1em; display: flex; flex-direction: column; gap: 1.2em; opacity: 0; visibility: hidden; transform: translateY(4%) scale(.98); filter: blur(6px); transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s var(--ease), visibility 0s .8s; }
.screen.is-active { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity .6s var(--ease) .1s, transform .8s var(--ease) .1s, filter .6s var(--ease) .1s, visibility 0s; }
.screen.is-leaving { transform: translateY(-4%) scale(.98); }

/* tab bar */
.tabbar { flex: none; position: relative; z-index: 4; height: 8.6em; margin: 0 .9em 1.5em; padding: 0 .6em; border-radius: 3em; background: rgba(255,255,255,.92); box-shadow: 0 .4em 2em -.6em rgba(0,0,0,.15); display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding-bottom: 1.2em; }
.tabbar__item { display: grid; justify-items: center; gap: .3em; color: #8d8a86; font-size: 1em; position: relative; transition: color .4s; }
.tabbar__item .ico { width: 2.3em; height: 2.3em; stroke-width: 1.8; }
.tabbar__label { font-size: 1.05em; font-weight: 500; letter-spacing: -.01em; }
.tabbar__item.is-active { color: var(--ink); }
.tabbar__item.is-active .ico { color: var(--o2); }
.tabbar__item::after { content: ""; position: absolute; bottom: -.8em; width: .45em; height: .45em; border-radius: 50%; background: var(--o2); transform: scale(0); transition: transform .4s var(--ease-back); }
.tabbar__item.is-active::after { transform: scale(1); }
.tabbar__avatar { position: relative; width: 6.4em; height: 6.4em; margin-top: -3.4em; border-radius: 50%; padding: .35em; background: #fff; box-shadow: 0 .6em 1.6em -.4em rgba(0,0,0,.3); }
.tabbar__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.tabbar__mic { position: absolute; left: 50%; bottom: -1.1em; transform: translateX(-50%); width: 2.8em; height: 2.8em; border-radius: 50%; background: var(--o2); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 .25em #fff; }
.tabbar__mic .ico { width: 1.4em; height: 1.4em; color: #fff !important; }
.tabbar__item--home .tabbar__label { margin-top: .9em; }

/* --- shared screen UI --- */
.s-top { display: flex; justify-content: flex-end; align-items: center; gap: 1em; }
.s-lang { display: inline-flex; align-items: center; gap: .5em; height: 3.6em; padding: 0 1.2em; border-radius: 2em; background: #fff; box-shadow: 0 .3em 1.2em -.4em rgba(0,0,0,.18); font-size: 1.15em; font-weight: 600; }
.s-lang .ico { width: 1.3em; height: 1.3em; }
.s-lang .ico:first-child { color: var(--o2); }
.s-initial { width: 3.8em; height: 3.8em; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.15em; flex: none; }
.s-head { display: flex; justify-content: space-between; align-items: center; margin-top: .4em; }
.s-head h4 { font-size: 2.2em; letter-spacing: -.04em; }
.s-iconbtn { width: 3.6em; height: 3.6em; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 .3em 1.2em -.4em rgba(0,0,0,.2); flex: none; }
.s-iconbtn .ico { width: 1.5em; height: 1.5em; }
.s-round { width: 3.6em; height: 3.6em; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 .2em 1em -.4em rgba(0,0,0,.2); flex: none; }
.s-round .ico { width: 1.5em; height: 1.5em; }
.s-card { position: relative; background: #fff; border-radius: 2.4em; padding: 1.8em 1.8em 1.6em; box-shadow: 0 .4em 2em -1em rgba(0,0,0,.15); }
.s-card h5 { font-size: 1.7em; margin-bottom: .5em; letter-spacing: -.03em; }
.s-card__chev { position: absolute; right: 1.4em; top: 1.2em; color: #999; }
.s-card__chev .ico { width: 1.6em; height: 1.6em; }
.s-text { font-size: 1.2em; line-height: 1.5; color: #333; padding-right: 1em; }
.s-emoji { font-size: 2.6em; line-height: 1; }
.s-pulse { position: absolute; inset: 0; border-radius: 50%; border: .2em solid rgba(255,106,26,.35); animation: pulse 2.6s var(--ease) infinite; }
.s-pulse--2 { animation-delay: 1.3s; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* home */
.s-greet { display: grid; margin-top: 1.4em; }
.s-greet small { font-size: 1.1em; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #8a8580; }
.s-greet b { font-size: 3em; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; color: var(--ink); }
.s-greet span { font-size: 2.1em; font-style: italic; color: #6f6b66; letter-spacing: -.02em; line-height: 1.15; }
.s-orbit { position: relative; width: 22em; height: 22em; margin: 1.2em auto 0; }
.s-orbit__ring { position: absolute; inset: 1.6em; border-radius: 50%; border: .12em dashed rgba(0,0,0,.15); }
.s-orbit__spin { position: absolute; inset: 0; animation: spin 26s linear infinite; }
.s-orbit__item { position: absolute; width: 4.6em; height: 4.6em; }
.s-orbit__item i { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 .5em 1.6em -.5em rgba(0,0,0,.25); animation: spin 26s linear infinite reverse; }
.s-orbit__item .ico { width: 2em; height: 2em; color: var(--ink); }
.s-orbit__item--t { left: calc(50% - 2.3em); top: -.7em; }
.s-orbit__item--r { right: -.7em; top: calc(50% - 2.3em); }
.s-orbit__item--b { left: calc(50% - 2.3em); bottom: -.7em; }
.s-orbit__item--l { left: -.7em; top: calc(50% - 2.3em); }
.s-orbit__center { position: absolute; inset: 5.2em; border-radius: 50%; }
.s-orbit__center img { position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 1em 2.4em -1em rgba(0,0,0,.5); }
.s-mic { position: absolute; left: 50%; bottom: -1.6em; transform: translateX(-50%); width: 4.4em; height: 4.4em; border-radius: 50%; background: var(--o2); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 .35em #fff, 0 .8em 1.6em -.4em rgba(255,106,26,.7); }
.s-mic .ico { width: 2em; height: 2em; }
.s-hint { margin-top: auto; margin-bottom: 3.2em; text-align: center; font-size: 1.15em; color: #8a8580; }
@keyframes spin { to { transform: rotate(360deg); } }

/* portrait */
.s-donetask { display: flex; gap: 1em; align-items: center; margin-top: 1.2em; padding: 1em 1.2em; border-radius: 1.6em; background: #F3F1EE; }
.s-check { width: 2.4em; height: 2.4em; border-radius: 50%; background: #2DB84C; color: #fff; display: grid; place-items: center; flex: none; transform: scale(0); }
.s-check .ico { width: 1.4em; height: 1.4em; stroke-width: 3; }
.s-donetask span:last-child { display: grid; font-size: 1.2em; line-height: 1.3; }
.s-donetask s { color: #666; text-decoration-color: rgba(0,0,0,.5); }
.s-donetask small { font-size: .8em; letter-spacing: .06em; text-transform: uppercase; color: #999; }
.s-bars { display: grid; gap: .6em; margin-top: 1.2em; }
.s-bars i { display: block; height: .6em; border-radius: 1em; background: #F1EDE8; position: relative; overflow: hidden; }
.s-bars i::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--grad); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) .5s; }
.screen.is-active .s-check { animation: pop .6s var(--ease-back) .9s forwards; }
.screen.is-active .s-bars i::after { transform: scaleX(1); }
@keyframes pop { to { transform: scale(1); } }

/* voice */
.s-voice__ava { position: relative; width: 12em; height: 12em; margin: .6em auto 0; flex: none; }
.s-voice__ava img { position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 1em 2.4em -1em rgba(0,0,0,.45); }
.s-chat { display: grid; gap: .9em; align-content: start; }
.s-bubble { max-width: 82%; padding: 1em 1.3em; border-radius: 1.8em; font-size: 1.2em; line-height: 1.4; opacity: 0; transform: translateY(1em) scale(.96); }
.s-bubble--in { background: #fff; box-shadow: 0 .3em 1.4em -.6em rgba(0,0,0,.2); border-bottom-left-radius: .4em; justify-self: start; }
.s-bubble--out { background: var(--o2); color: #fff; border-bottom-right-radius: .4em; justify-self: end; }
.s-typing { display: inline-flex; gap: .35em; padding: .9em 1.2em; border-radius: 1.6em; background: #fff; justify-self: start; opacity: 0; box-shadow: 0 .3em 1.4em -.6em rgba(0,0,0,.2); }
.s-typing i { width: .6em; height: .6em; border-radius: 50%; background: #bbb; animation: typing 1.2s infinite; }
.s-typing i:nth-child(2) { animation-delay: .15s; }
.s-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-.4em); opacity: 1; } }
.screen.is-active .s-bubble { animation: bubble .6s var(--ease) forwards; }
.screen.is-active .s-bubble:nth-child(1) { animation-delay: .4s; }
.screen.is-active .s-bubble:nth-child(2) { animation-delay: 1.1s; }
.screen.is-active .s-bubble:nth-child(3) { animation-delay: 1.9s; }
.screen.is-active .s-typing { animation: bubble .5s var(--ease) 2.6s forwards; }
@keyframes bubble { to { opacity: 1; transform: none; } }
.s-input { margin-top: auto; display: flex; align-items: center; gap: 1em; height: 5em; padding: 0 .6em 0 1.4em; border-radius: 3em; background: #fff; box-shadow: 0 .4em 1.6em -.6em rgba(0,0,0,.2); }
.s-eq { display: flex; gap: .25em; align-items: center; height: 2em; }
.s-eq i { width: .28em; height: 100%; border-radius: 1em; background: var(--o2); animation: eq 1s ease-in-out infinite; }
.s-eq i:nth-child(2) { animation-delay: .1s; } .s-eq i:nth-child(3) { animation-delay: .25s; } .s-eq i:nth-child(4) { animation-delay: .4s; } .s-eq i:nth-child(5) { animation-delay: .55s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.s-input__ph { flex: 1; font-size: 1.2em; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-send { width: 3.8em; height: 3.8em; border-radius: 50%; background: var(--o2); color: #fff; display: grid; place-items: center; flex: none; }
.s-send .ico { width: 1.7em; height: 1.7em; }

/* goals */
.s-goals { display: grid; gap: 1.2em; margin-top: .6em; }
.s-goal { position: relative; padding: 1.6em 1.8em; border-radius: 2.4em; background: #fff; box-shadow: 0 .4em 2em -1em rgba(0,0,0,.15); opacity: 0; transform: translateY(2em); }
.s-goal--hot { background: var(--o2); color: #fff; transform: translateY(2em) rotate(-2deg) scale(1.03); box-shadow: 0 1em 2.4em -1em rgba(255,106,26,.7); }
.s-goal__top { display: flex; justify-content: space-between; align-items: center; }
.s-goal__go { width: 3.2em; height: 3.2em; border-radius: 50%; background: var(--o2); color: #fff; display: grid; place-items: center; }
.s-goal--hot .s-goal__go { background: var(--ink); }
.s-goal__go .ico { width: 1.4em; height: 1.4em; }
.s-goal small { display: block; margin-top: .6em; font-size: 1em; letter-spacing: .16em; text-transform: uppercase; opacity: .55; font-weight: 600; }
.s-goal h5 { font-size: 1.55em; letter-spacing: -.03em; line-height: 1.12; margin-top: .2em; color: inherit; }
.s-goal p { font-size: 1.05em; opacity: .65; line-height: 1.35; margin-top: .3em; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.s-progress { height: .55em; border-radius: 1em; background: #F1EDE8; margin-top: 1em; overflow: hidden; }
.s-goal--hot .s-progress { background: rgba(255,255,255,.3); }
.s-progress i { display: block; height: 100%; width: calc(var(--p) * 1%); border-radius: inherit; background: var(--o2); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .6s; }
.s-goal--hot .s-progress i { background: #fff; }
.s-goal__pct { display: block; font-size: 1.05em; margin-top: .5em; opacity: .65; }
.screen.is-active .s-goal { animation: goalIn .8s var(--ease) forwards; }
.screen.is-active .s-goal:nth-child(2) { animation-name: goalHot; animation-delay: .12s; }
.screen.is-active .s-goal:nth-child(3) { animation-delay: .24s; }
.screen.is-active .s-progress i { transform: scaleX(1); }
@keyframes goalIn { to { opacity: 1; transform: none; } }
@keyframes goalHot { to { opacity: 1; transform: rotate(-2deg) scale(1.03); } }

/* plan */
.s-plan__head { display: flex; justify-content: space-between; align-items: flex-start; }
.s-plan__head small { font-size: 1.1em; color: #8a8580; }
.s-plan__head h4 { font-size: 2.3em; letter-spacing: -.04em; margin-top: .1em; }
.s-days { display: flex; gap: .7em; align-items: center; }
.s-today { flex: 1; height: 3.6em; border-radius: 2em; background: var(--o2); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 1.15em; box-shadow: 0 .6em 1.4em -.6em rgba(255,106,26,.8); }
.s-dayprog { padding: 1.3em 1.6em; border-radius: 2em; background: #fff; box-shadow: 0 .3em 1.6em -.8em rgba(0,0,0,.2); }
.s-dayprog__row { display: flex; justify-content: space-between; align-items: center; }
.s-dayprog small { font-size: 1em; letter-spacing: .16em; text-transform: uppercase; color: #8a8580; font-weight: 600; }
.s-dayprog b { font-size: 1.25em; }
.s-dayprog__bar { height: .9em; border-radius: 1em; background: #F1EDE8; margin-top: .9em; overflow: hidden; }
.s-dayprog__bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), #FF5A7A); transform: scaleX(.1); transform-origin: left; transition: transform 1s var(--ease); }
.s-timeline { display: grid; gap: .9em; position: relative; padding-left: 1.6em; }
.s-timeline::before { content: ""; position: absolute; left: .35em; top: 1em; bottom: 1em; width: .12em; background: #E6E1DA; }
.s-task { position: relative; display: flex; gap: 1em; align-items: center; padding: 1.3em 1.4em; border-radius: 2em; background: #fff; box-shadow: 0 .3em 1.6em -.8em rgba(0,0,0,.2); }
.s-task__dot { position: absolute; left: -1.65em; top: 50%; width: .9em; height: .9em; margin-top: -.45em; border-radius: 50%; background: #fff; border: .15em solid #D9D3CB; }
.s-task--dark { background: var(--ink); color: #fff; }
.s-task--dark .s-task__dot { background: var(--o2); border-color: var(--o2); box-shadow: 0 0 0 .35em rgba(255,106,26,.2); }
.s-task__check { width: 2.6em; height: 2.6em; border-radius: 50%; border: .15em solid #C9C3BB; flex: none; display: grid; place-items: center; color: #fff; transition: background-color .4s, border-color .4s; }
.s-task__check .ico { width: 1.4em; height: 1.4em; stroke-width: 3; transform: scale(0); transition: transform .5s var(--ease-back); }
.s-task--dark .s-task__check { border-color: rgba(255,255,255,.4); }
.s-task__body { flex: 1; min-width: 0; display: grid; }
.s-task__body b { font-size: 1.25em; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-task__body small { font-size: 1em; opacity: .6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-task__time { font-size: 1.05em; opacity: .6; }
.s-task.is-done .s-task__check { background: #2DB84C; border-color: #2DB84C; }
.s-task.is-done .s-task__check .ico { transform: scale(1); }
.s-task.is-done .s-task__body b { text-decoration: line-through; opacity: .5; }

/* health */
.s-health__title { font-size: 2.6em !important; line-height: 1; }
.s-tabs { display: flex; gap: .6em; overflow: hidden; }
.s-tabs span { flex: none; height: 3.2em; padding: 0 1.3em; border-radius: 2em; background: #fff; display: grid; place-items: center; font-size: 1.1em; font-weight: 500; box-shadow: 0 .2em 1em -.5em rgba(0,0,0,.2); }
.s-tabs .is-on { background: var(--ink); color: #fff; }
.s-actions { display: flex; gap: .7em; align-items: center; }
.s-adjust { flex: 1; height: 3.6em; display: flex; align-items: center; justify-content: center; gap: .5em; border-radius: 2em; background: var(--o2); color: #fff; font-weight: 600; font-size: 1.15em; box-shadow: 0 .6em 1.4em -.6em rgba(255,106,26,.8); }
.s-adjust .ico { width: 1.3em; height: 1.3em; }
.s-reset { height: 3.6em; padding: 0 1.4em; border-radius: 2em; background: #fff; display: grid; place-items: center; font-weight: 600; font-size: 1.15em; box-shadow: 0 .2em 1em -.5em rgba(0,0,0,.2); }
.s-note { font-size: 1.05em; line-height: 1.45; color: #666; padding: 1em 1.2em; border-radius: 1.6em; background: rgba(255,255,255,.6); }
.s-week { display: grid; gap: .8em; }
.s-wday { display: flex; gap: 1.1em; align-items: center; padding: 1.1em 1.3em; border-radius: 2em; background: #fff; box-shadow: 0 .3em 1.6em -.8em rgba(0,0,0,.2); opacity: 0; transform: translateX(2em); }
.s-wday__d { width: 3.6em; height: 3.6em; border-radius: 50%; background: var(--o2); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.15em; flex: none; }
.s-wday.is-rest .s-wday__d { background: #EFEBE6; color: #555; }
.s-wday div { flex: 1; display: grid; min-width: 0; }
.s-wday b { display: flex; gap: .4em; align-items: center; font-size: 1.25em; letter-spacing: -.02em; white-space: nowrap; }
.s-wday b .ico { width: 1.1em; height: 1.1em; color: var(--o2); }
.s-wday small { font-size: 1em; color: #888; }
.s-wday__chev { width: 1.6em !important; height: 1.6em !important; color: #888; }
.screen.is-active .s-wday { animation: goalIn .7s var(--ease) forwards; }
.screen.is-active .s-wday:nth-child(2) { animation-delay: .1s; }
.screen.is-active .s-wday:nth-child(3) { animation-delay: .2s; }
.screen.is-active .s-wday:nth-child(4) { animation-delay: .3s; }

/* task */
.screen--task { padding: 0; gap: 0; }
.s-taskbg { padding: .4em 1.8em; display: grid; gap: .8em; filter: blur(1.5px); opacity: .45; }
.s-sheet { position: absolute; left: 0; right: 0; bottom: 0; top: 9em; padding: 1.2em 1.8em 2em; border-radius: 3em 3em 0 0; background: #F8F6F2; box-shadow: 0 -1em 3em -1em rgba(0,0,0,.25); display: flex; flex-direction: column; gap: .9em; transform: translateY(100%); transition: transform .9s var(--ease) .2s; }
.screen.is-active .s-sheet { transform: none; }
.s-sheet__grab { width: 4em; height: .45em; border-radius: 1em; background: #D4CEC6; align-self: center; }
.s-sheet__head { display: flex; gap: .6em; align-items: flex-start; }
.s-sheet__head div { flex: 1; }
.s-sheet__head small { font-size: 1em; letter-spacing: .16em; text-transform: uppercase; color: #8a8580; font-weight: 600; }
.s-sheet__head h5 { font-size: 1.75em; letter-spacing: -.03em; line-height: 1.12; margin-top: .2em; }
.s-field { padding: 1.1em 1.4em; border-radius: 1.8em; background: #fff; display: grid; gap: .3em; box-shadow: 0 .3em 1.4em -.8em rgba(0,0,0,.2); }
.s-field small { display: flex; gap: .4em; align-items: center; font-size: 1em; letter-spacing: .14em; text-transform: uppercase; color: #8a8580; font-weight: 600; }
.s-field small .ico { width: 1.3em; height: 1.3em; color: var(--o2); }
.s-field b { font-size: 1.4em; }
.s-field span { font-size: 1.15em; line-height: 1.4; color: #333; }
.s-donebtn { margin-top: auto; height: 4.8em; border-radius: 3em; background: var(--o2); color: #fff; display: flex; gap: .5em; align-items: center; justify-content: center; font-weight: 700; font-size: 1.3em; box-shadow: 0 .8em 1.8em -.8em rgba(255,106,26,.9); }
.s-donebtn .ico { width: 1.3em; height: 1.3em; stroke-width: 3; }
.s-delete { display: flex; gap: .4em; align-items: center; justify-content: center; color: #E5372B; font-weight: 600; font-size: 1.15em; }
.s-delete .ico { width: 1.2em; height: 1.2em; }

/* telegram screen */
.screen--tg { padding: 0; gap: 0; background: linear-gradient(160deg, #F6E9DC, #F3D9C8 50%, #F7E4D3); }
.s-tg__head { display: flex; align-items: center; gap: 1em; padding: .6em 1.6em 1.2em; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); }
.s-tg__head > .ico { width: 2em; height: 2em; color: #229ED9; }
.s-tg__ava { width: 4em; height: 4em; border-radius: 50%; overflow: hidden; flex: none; }
.s-tg__ava svg { width: 100%; height: 100%; }
.s-tg__head b { display: block; font-size: 1.4em; color: var(--ink); }
.s-tg__head small { font-size: 1.1em; color: #229ED9; }
.s-tg__chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .7em; padding: 1.2em 1.4em; overflow: hidden; }
.s-tg__msg { position: relative; max-width: 80%; padding: .8em 1.2em 1.4em; border-radius: 1.6em; font-size: 1.25em; line-height: 1.38; color: #111; opacity: 0; transform: translateY(1em) scale(.95); }
.s-tg__msg time { position: absolute; right: 1em; bottom: .35em; font-size: .7em; opacity: .5; }
.s-tg__msg--in { align-self: flex-start; background: #fff; border-bottom-left-radius: .4em; }
.s-tg__msg--out { align-self: flex-end; background: #E1FEC6; border-bottom-right-radius: .4em; }
.s-tg__msg.is-in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease-back); }
.s-tg__input { display: flex; align-items: center; gap: 1em; margin: 0 1.2em 3em; padding: 0 .5em 0 1.6em; height: 4.6em; border-radius: 3em; background: #fff; font-size: 1em; }
.s-tg__input span:first-child { flex: 1; font-size: 1.2em; color: #999; }
.s-tg__send { width: 3.6em; height: 3.6em; border-radius: 50%; background: #229ED9; color: #fff; display: grid; place-items: center; }
.s-tg__send .ico { width: 1.6em; height: 1.6em; }
html:not(.js) .s-tg__msg, html.reduced .s-tg__msg { opacity: 1; transform: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: 100svh; padding: calc(var(--header-h) + clamp(24px, 6vh, 72px)) 0 clamp(60px, 8vh, 100px); display: flex; align-items: center; overflow: hidden; }
.hero__grain { position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__copy { display: grid; gap: 26px; justify-items: start; }
.hero__title { font-size: clamp(50px, 7.6vw, 118px); line-height: .94; letter-spacing: -.055em; display: grid; }
.hero__title-2 { font-size: .58em; line-height: 1.02; letter-spacing: -.045em; margin-top: .12em; }
.hero__lead { font-size: clamp(17px, 1.45vw, 21px); max-width: 33em; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 14px; border-radius: 999px; background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 10px 24px -14px rgba(80,30,0,.3); font-weight: 600; font-size: 15px; color: var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .4s var(--ease-back); }
.chip:hover { transform: translateY(-3px) rotate(-2deg); }
.chip .ico { color: var(--o2); width: 20px; height: 20px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__cta .btn--ghost { height: 58px; border-radius: 18px; }
.hero__note { font-size: 14px; color: var(--muted); }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 640px; }
.hero__halo { position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,140,60,.45), rgba(255,106,26,0) 68%); filter: blur(10px); }
.hero__phone-wrap { position: relative; z-index: 2; transform-style: preserve-3d; perspective: 1200px; }
.phone--hero { --pw: clamp(270px, 24vw, 340px); transform: rotate(-6deg); }
.tiles { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.tile { position: absolute; width: clamp(64px, 6.4vw, 96px); aspect-ratio: 1; border-radius: 28%; display: grid; place-items: center; background: linear-gradient(145deg, #fff, #F6F0EA); box-shadow: var(--sh-float), inset 0 -4px 10px rgba(255,140,60,.12), inset 0 2px 0 #fff; color: var(--o2); }
.tile .ico { width: 46%; height: 46%; stroke-width: 2.2; }
.tile--1 { left: 0; top: 12%; }
.tile--2 { left: -4%; top: 52%; }
.tile--3 { left: 8%; bottom: 4%; }
.tile--4 { right: -2%; top: 18%; }
.tile--5 { right: 2%; top: 62%; }
.tile i { display: contents; }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2; display: grid; justify-items: center; gap: 8px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { width: 24px; height: 38px; border-radius: 14px; border: 2px solid rgba(14,14,14,.2); position: relative; }
.hero__scroll i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--o2); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee { position: relative; padding: clamp(24px, 4vw, 48px) 0; overflow: hidden; background: var(--ink); color: #fff; transform: rotate(-2deg); margin: 0 -2vw; width: 104vw; z-index: 2; }
.marquee__row { display: flex; overflow: hidden; }
.marquee__track { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px); white-space: nowrap; flex: none; will-change: transform; }
.marquee__track span { font-size: clamp(40px, 6.4vw, 96px); font-weight: 800; letter-spacing: -.05em; line-height: 1.1; }
.marquee__track i { font-style: normal; display: grid; place-items: center; }
.marquee__track i svg { width: clamp(30px, 4vw, 56px); height: clamp(30px, 4vw, 56px); }
.marquee__row--outline .marquee__track span { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.5); }
.marquee__row--outline .marquee__track i { color: var(--o2); font-size: clamp(24px, 3vw, 40px); }
html:not(.js) .marquee__track, html.reduced .marquee__track { animation: none; }

/* ==========================================================================
   FEATURES (sticky phone storytelling)
   ========================================================================== */
.features { position: relative; padding: clamp(100px, 14vw, 180px) 0 clamp(60px, 8vw, 120px); }
.features__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.features__stage { position: relative; }
.features__sticky { position: sticky; top: calc(var(--header-h) + 2vh); height: calc(100vh - var(--header-h) - 4vh); display: grid; place-items: center; }
.features__phone { position: relative; z-index: 1; transition: transform 1s var(--ease); }
.phone--feature { --pw: clamp(260px, min(25vw, 34vh), 340px); }
.features__rail { position: absolute; left: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 14px; z-index: 2; }
.features__rail li { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); opacity: .5; transition: opacity .4s, color .4s; }
.features__rail li::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: width .5s var(--ease), background-color .4s; }
.features__rail li.is-active { opacity: 1; color: var(--ink); }
.features__rail li.is-active::before { width: 36px; background: var(--o2); }
.features__chapters { display: grid; }
.chapter { min-height: 92vh; display: flex; align-items: center; padding: 6vh 0; }
.chapter__card { display: grid; gap: 20px; max-width: 520px; opacity: .25; transform: translateX(20px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.chapter.is-active .chapter__card { opacity: 1; transform: none; }
.chapter__eyebrow { display: flex; gap: 12px; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chapter__eyebrow b { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--grad); color: #fff; letter-spacing: 0; font-size: 14px; box-shadow: var(--sh-orange); }
.chapter__title { font-size: clamp(36px, 4.4vw, 64px); letter-spacing: -.045em; line-height: 1; }
.chapter__text { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); }
.chapter__list { display: grid; gap: 12px; }
.chapter__list li { display: flex; gap: 12px; align-items: center; font-weight: 500; color: var(--ink); }
.chapter__list li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,106,26,.12); color: var(--o2); flex: none; }
.chapter__list .ico { width: 16px; height: 16px; stroke-width: 3; }

/* ==========================================================================
   HOW
   ========================================================================== */
.how { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.how__wrap { position: relative; }
.how__line { position: absolute; left: 0; right: 0; top: 10px; width: 100%; height: 220px; pointer-events: none; }
.how__line path { fill: none; stroke-width: 3; stroke-linecap: round; }
.how__path-bg { stroke: rgba(14,14,14,.08); stroke-dasharray: 2 12; }
.how__path { stroke: var(--o2); }
.how__steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.step { position: relative; display: grid; gap: 16px; align-content: start; padding: clamp(28px, 3vw, 40px); border-radius: var(--r-lg); background: rgba(255,255,255,.75); box-shadow: var(--sh-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.step:nth-child(2) { margin-top: 70px; }
.step:nth-child(3) { margin-top: 20px; }
.step:nth-child(4) { margin-top: 90px; }
@media (max-width: 1280px) and (min-width: 1025px) { .how__steps { grid-template-columns: repeat(2, 1fr); } .step:nth-child(n) { margin-top: 0; } .step:nth-child(even) { margin-top: 50px; } }
.step__num { font-size: clamp(64px, 7vw, 104px); font-weight: 800; letter-spacing: -.06em; line-height: .9; color: transparent; -webkit-text-stroke: 2px rgba(255,106,26,.45); }
.step__icon { position: absolute; top: clamp(28px, 3vw, 40px); right: clamp(28px, 3vw, 40px); width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: var(--sh-orange); }
.step__icon .ico { width: 26px; height: 26px; }
.step h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.03em; }
.step p { color: var(--ink-2); }

/* ==========================================================================
   BENTO
   ========================================================================== */
.bento-sec { padding: clamp(60px, 8vw, 120px) 0 clamp(80px, 10vw, 140px); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(260px, auto); gap: clamp(14px, 1.6vw, 22px); }
.card { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-card); overflow: hidden; transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s var(--ease); isolation: isolate; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(255,140,60,.18), transparent 60%); opacity: 0; transition: opacity .4s; }
.card:hover::before { opacity: 1; }
.card h3 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.035em; margin-bottom: 8px; }
.card p { color: var(--ink-2); max-width: 30em; }
.card__visual { position: relative; flex: 1; display: grid; place-items: center; min-height: 120px; }
.card--orange { background: var(--grad); color: #fff; }
.card--orange h3, .card--orange p { color: #fff; }
.card--orange::before { background: radial-gradient(400px circle at var(--mx) var(--my), rgba(255,255,255,.25), transparent 60%); }
.card--dark { background: var(--ink); }
.card--dark h3 { color: #fff; }
.card--dark p { color: rgba(255,255,255,.65); }
.card--voice { grid-column: span 7; grid-row: span 2; }
.card--memory { grid-column: span 5; }
.card--privacy { grid-column: span 5; }
.card--mind { grid-column: span 4; }
.card--health { grid-column: span 4; }
.card--langs { grid-column: span 4; }

.eqbig { display: flex; align-items: center; gap: clamp(4px, .5vw, 8px); height: 180px; }
.eqbig i { width: clamp(5px, .55vw, 9px); height: 100%; border-radius: 10px; background: rgba(255,255,255,.85); transform: scaleY(.2); animation: eqbig 1.6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.09s); }
@keyframes eqbig { 0%, 100% { transform: scaleY(.18); } 50% { transform: scaleY(.95); } }
.eqbig i:nth-child(3n) { animation-duration: 1.2s; }
.eqbig i:nth-child(4n) { animation-duration: 1.9s; }
.eqbig i:nth-child(5n) { animation-duration: 1.4s; }
.card__mic { position: absolute; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--o2); box-shadow: 0 20px 50px -14px rgba(120, 30, 0, .5); }
.card__mic::before, .card__mic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); animation: pulse 2.4s var(--ease) infinite; }
.card__mic::after { animation-delay: 1.2s; }
.card__mic .ico { width: 40px; height: 40px; }

.mem { position: relative; width: 180px; height: 170px; }
.card--memory .card__visual, .card--privacy .card__visual { min-height: 180px; }
.mem__core { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 20px; overflow: hidden; box-shadow: var(--sh-orange); z-index: 2; }
.mem__core svg { width: 100%; height: 100%; }
.mem__orb { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--o2); box-shadow: 0 10px 24px -12px rgba(0,0,0,.3); animation: orbit 12s linear infinite; }
.mem__orb .ico { width: 22px; height: 22px; }
.mem__orb--2 { animation-delay: -3s; } .mem__orb--3 { animation-delay: -6s; } .mem__orb--4 { animation-delay: -9s; }
@keyframes orbit { from { transform: rotate(0) translateX(72px) rotate(0); } to { transform: rotate(360deg) translateX(72px) rotate(-360deg); } }

.shield { width: 110px; height: 110px; border-radius: 34px; display: grid; place-items: center; background: linear-gradient(145deg, #2a2a2a, #111); color: var(--o2); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 0 60px -10px rgba(255,106,26,.55); animation: glow 3s ease-in-out infinite; }
.shield .ico { width: 54px; height: 54px; }
@keyframes glow { 50% { box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 90px -6px rgba(255,106,26,.8); } }
.mind { position: relative; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; color: var(--o2); background: rgba(255,106,26,.1); }
.mind::before, .mind::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1.5px dashed rgba(255,106,26,.35); animation: spin 16s linear infinite; }
.mind::after { inset: -32px; animation-duration: 26s; animation-direction: reverse; border-style: dotted; }
.mind .ico { width: 48px; height: 48px; }
.ecg { width: 100%; height: 90px; overflow: visible; }
.ecg path { fill: none; stroke: var(--o2); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: ecg 2.8s linear infinite; filter: drop-shadow(0 6px 10px rgba(255,106,26,.4)); }
@keyframes ecg { 0% { stroke-dashoffset: 520; } 60% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -520; } }
.flip { display: block; height: 1.1em; overflow: hidden; font-size: clamp(44px, 4.4vw, 64px); font-weight: 800; letter-spacing: -.05em; line-height: 1.1; color: var(--ink); }
.flip span { display: block; animation: flip 4s var(--ease) infinite; }
.flip span:nth-child(2) { color: var(--o2); }
@keyframes flip { 0%, 40% { transform: translateY(0); } 50%, 90% { transform: translateY(-100%); } 100% { transform: translateY(-200%); } }

/* ==========================================================================
   TELEGRAM
   ========================================================================== */
.tg { position: relative; padding: clamp(100px, 12vw, 160px) 0; color: rgba(255,255,255,.75); overflow: hidden; isolation: isolate; }
.tg__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(1200px 600px at 80% 40%, rgba(255,106,26,.18), transparent 60%), #0E0E0E; border-radius: clamp(28px, 4vw, 60px); margin: 0 clamp(8px, 1.4vw, 20px); }
.tg .h2 { color: #fff; }
.tg .lead { color: rgba(255,255,255,.7); }
.tg__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.tg__copy { display: grid; gap: 26px; justify-items: start; }
.tg__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.tg__actions .btn svg { width: 22px; height: 22px; }
.tg__tag { font-weight: 600; color: rgba(255,255,255,.55); }
.tg__qr { display: flex; align-items: center; gap: 18px; padding: 14px 22px 14px 14px; border-radius: 24px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.tg__qr-code { width: 112px; height: 112px; border-radius: 16px; background: #fff; padding: 8px; flex: none; }
.tg__qr-code svg { width: 100%; height: 100%; }
.tg__qr p { font-size: 14px; max-width: 14em; color: rgba(255,255,255,.65); }
.tg__visual { position: relative; display: grid; place-items: center; }
.tg__glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(34,158,217,.35), transparent 65%); filter: blur(20px); }
.phone--tg { --pw: clamp(260px, 24vw, 330px); transform: rotate(5deg); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: clamp(100px, 12vw, 160px) 0 clamp(60px, 8vw, 100px); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 40px); justify-items: start; margin-bottom: 0; }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: var(--r); background: var(--surface); box-shadow: var(--sh-card); overflow: hidden; transition: box-shadow .4s; }
.qa[open] { box-shadow: 0 0 0 2px rgba(255,106,26,.25), var(--sh-card); }
.qa summary { display: flex; align-items: center; gap: 18px; padding: 22px 24px; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa__n { font-size: 13px; font-weight: 700; color: var(--o2); letter-spacing: .06em; }
.qa__q { flex: 1; font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.qa__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); flex: none; transition: transform .5s var(--ease), background-color .4s, color .4s; }
.qa__icon .ico { width: 20px; height: 20px; }
.qa[open] .qa__icon { transform: rotate(135deg); background: var(--o2); color: #fff; }
.qa__a { padding: 0 24px 24px 56px; color: var(--ink-2); }
.qa__a p { max-width: 40em; }

/* ==========================================================================
   DOWNLOAD
   ========================================================================== */
.download { padding: clamp(40px, 6vw, 80px) 0; }
.download__card { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 32px; padding: clamp(36px, 6vw, 88px); border-radius: clamp(32px, 4vw, 56px); background: var(--grad); color: #fff; overflow: hidden; isolation: isolate; min-height: 620px; }
.download__waves { position: absolute; inset: 0; z-index: -1; }
.download__waves i { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.22); left: 70%; top: 50%; transform: translate(-50%, -50%); animation: ripple 6s linear infinite; }
.download__waves i:nth-child(1) { width: 400px; height: 400px; }
.download__waves i:nth-child(2) { width: 400px; height: 400px; animation-delay: -2s; }
.download__waves i:nth-child(3) { width: 400px; height: 400px; animation-delay: -4s; }
@keyframes ripple { 0% { transform: translate(-50%, -50%) scale(.6); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(3); opacity: 0; } }
.download__copy { display: grid; gap: 26px; justify-items: start; }
.download__logo { width: 64px; height: 64px; }
.download__title { color: #fff; font-size: clamp(42px, 6vw, 92px); letter-spacing: -.05em; line-height: .96; }
.download__title span { color: rgba(255,255,255,.75); }
.download__copy > p { font-size: clamp(17px, 1.4vw, 20px); max-width: 30em; color: rgba(255,255,255,.88); }
.download__visual { position: relative; display: grid; place-items: center; perspective: 1400px; }
.download__phone { transform-style: preserve-3d; }
.phone--download { --pw: clamp(250px, 22vw, 320px); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { padding: clamp(100px, 12vw, 160px) 0; }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__info { display: grid; gap: 24px; justify-items: start; }
.contact__cards { display: grid; gap: 12px; width: 100%; margin-top: 12px; }
.ccard { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r); background: var(--surface); box-shadow: var(--sh-card); transition: transform .5s var(--ease); }
.ccard:hover { transform: translateX(6px); }
.ccard > span:nth-child(2) { flex: 1; display: grid; min-width: 0; }
.ccard small { font-size: 13px; color: var(--muted); }
.ccard b { color: var(--ink); font-size: 18px; overflow-wrap: anywhere; }
.ccard__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,106,26,.12); color: var(--o2); flex: none; }
.ccard__ic--tg { background: #229ED9; color: #fff; }
.ccard__ic .ico { width: 24px; height: 24px; }
.ccard__arrow { color: var(--muted); transition: transform .5s var(--ease), color .3s; }
.ccard:hover .ccard__arrow { transform: rotate(45deg); color: var(--o2); }

.form-wrap { position: relative; padding: clamp(24px, 3.4vw, 48px); border-radius: var(--r-xl); background: var(--surface); box-shadow: 0 40px 80px -40px rgba(80, 30, 0, .3); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; display: grid; gap: 8px; }
.field__label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 15px 18px; border-radius: 16px; border: 1.5px solid transparent; background: var(--bg);
  transition: border-color .3s, background-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #B0AAA2; }
.field input:hover, .field textarea:hover, .field select:hover { background: var(--bg-2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--o2); background: #fff; box-shadow: 0 0 0 5px rgba(255,106,26,.12); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #E5372B; background: #FFF4F2; }
.field__chev { position: absolute; right: 16px; bottom: 16px; pointer-events: none; color: var(--muted); }
.field--select select { padding-right: 44px; cursor: pointer; }
.field__err { font-size: 13px; color: #E5372B; min-height: 0; }
.field__err:empty { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent__box { width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid #CFC8BF; display: grid; place-items: center; flex: none; color: #fff; transition: background-color .3s, border-color .3s; margin-top: 1px; }
.consent__box .ico { width: 16px; height: 16px; stroke-width: 3; transform: scale(0); transition: transform .4s var(--ease-back); }
.consent input:checked + .consent__box { background: var(--o2); border-color: var(--o2); }
.consent input:checked + .consent__box .ico { transform: scale(1); }
.consent input:focus-visible + .consent__box { outline: 3px solid var(--o2); outline-offset: 2px; }
.consent a { color: var(--o2); text-decoration: underline; text-underline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form__submit .spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
.form.is-loading .form__submit { pointer-events: none; opacity: .85; }
.form.is-loading .form__submit .spinner { display: block; }
.form.is-loading .form__submit .ico { display: none; }
.form__status { font-size: 14px; color: #E5372B; }
.form__status a { text-decoration: underline; }
.form__notice { padding: 14px 18px; border-radius: 14px; background: #E9F8EC; color: #1D7A33; font-weight: 600; margin-bottom: 8px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 40px 0; }
.form-success[hidden] { display: none; }
.form-success h3 { font-size: 40px; }
.form-success__check { width: 96px; height: 96px; }
.form-success__check circle { fill: rgba(45,184,76,.12); stroke: #2DB84C; stroke-width: 3; stroke-dasharray: 230; stroke-dashoffset: 230; animation: draw 1s var(--ease) forwards; }
.form-success__check path { fill: none; stroke: #2DB84C; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s var(--ease) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; padding: clamp(60px, 8vw, 100px) 0 28px; background: var(--bg-2); border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.footer__brand { display: grid; gap: 20px; justify-items: start; align-content: start; }
.footer__tagline { max-width: 26em; color: var(--ink-2); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__col h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.footer__col a { color: var(--ink); font-weight: 500; width: fit-content; background: linear-gradient(var(--o2), var(--o2)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease), color .3s; overflow-wrap: anywhere; }
.footer__col a:hover { background-size: 100% 2px; color: var(--o2); }
.footer__giant { margin: clamp(40px, 6vw, 80px) 0 16px; line-height: .9; padding-bottom: .02em; text-align: center; overflow: hidden; }
.footer__giant span { padding-bottom: .16em; }
.footer__giant span { display: inline-block; font-size: clamp(120px, 27vw, 420px); font-weight: 800; letter-spacing: -.07em; background: linear-gradient(180deg, rgba(255,106,26,.9), rgba(255,178,30,.25)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.totop { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.totop .ico { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--ink); color: #fff; transition: transform .4s var(--ease); }
.totop:hover .ico { transform: translateY(-4px); }

/* ==========================================================================
   LEGAL
   ========================================================================== */
.legal { position: relative; padding: calc(var(--header-h) + 60px) 0 100px; }
.legal .container { position: relative; z-index: 1; }
.legal__head { display: grid; gap: 18px; justify-items: start; margin-bottom: clamp(40px, 6vw, 72px); max-width: 900px; }
.legal__back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--muted); transition: color .3s, gap .3s; }
.legal__back:hover { color: var(--o2); gap: 10px; }
.legal__title { font-size: clamp(40px, 6vw, 84px); letter-spacing: -.05em; line-height: .98; }
.legal__updated { display: inline-flex; padding: 8px 14px; border-radius: 99px; background: #fff; box-shadow: var(--sh-card); font-size: 14px; color: var(--ink-2); }
.legal__grid { display: grid; grid-template-columns: 280px minmax(0, 760px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 22px; border-radius: var(--r); background: rgba(255,255,255,.7); box-shadow: var(--sh-card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
.toc__title { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 7px 10px; border-radius: 10px; font-size: 14px; line-height: 1.35; color: var(--ink-2); transition: background-color .3s, color .3s; }
.toc a:hover { background: var(--bg); }
.toc a.is-active { background: var(--ink); color: #fff; }
.prose { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; margin: 2.2em 0 .7em; line-height: 1.15; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; letter-spacing: -.02em; margin: 1.6em 0 .5em; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.5em; margin-bottom: .45em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.prose ol { list-style: decimal; }
.prose ol li { margin-bottom: .45em; padding-left: .3em; }
.prose ol li::marker { color: var(--o2); font-weight: 700; }
.prose a { color: var(--o2); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose strong { color: var(--ink); }
.prose .note { padding: 18px 22px; border-radius: 18px; background: #fff; box-shadow: var(--sh-card); border-left: 4px solid var(--o2); margin: 1.4em 0; }
.prose .req { padding: 22px 26px; border-radius: 20px; background: var(--ink); color: rgba(255,255,255,.8); margin-top: 1em; }
.prose .req strong { color: #fff; }
.legal__other { margin-top: clamp(60px, 8vw, 100px); display: grid; gap: 16px; }
.legal__other > p { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.legal__other > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.legal__doc { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; border-radius: var(--r); background: #fff; box-shadow: var(--sh-card); font-weight: 600; color: var(--ink); transition: transform .5s var(--ease), background-color .3s, color .3s; }
.legal__doc:hover { transform: translateY(-4px); background: var(--ink); color: #fff; }

/* ==========================================================================
   404
   ========================================================================== */
.nf { position: relative; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden; }
.nf__inner { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 22px; }
.nf__code { display: flex; align-items: center; gap: .05em; font-size: clamp(120px, 24vw, 300px); font-weight: 800; letter-spacing: -.06em; line-height: .9; color: var(--ink); }
.nf__code span { display: inline-block; }
.nf__zero { width: .78em; height: .78em; margin: 0 .04em; }
.nf__zero svg { width: 100%; height: 100%; border-radius: 22%; box-shadow: var(--sh-orange); animation: nfspin 6s var(--ease) infinite; }
@keyframes nfspin { 0%, 70% { transform: rotate(0); } 85% { transform: rotate(-12deg) scale(1.05); } 100% { transform: rotate(0); } }
.nf__title { font-size: clamp(30px, 4vw, 52px); letter-spacing: -.04em; }
.nf__text { max-width: 30em; font-size: 18px; }
.nf__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.nf__links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin-top: 18px; font-size: 14px; }
.nf__links a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   REVEAL STATES (тільки коли працює JS)
   ========================================================================== */
html.js:not(.reduced) [data-reveal] { opacity: 0; transform: translateY(40px); }
html.js:not(.reduced) [data-split-lines] { opacity: 0; }
html.js:not(.reduced) [data-hero="fade"], html.js:not(.reduced) [data-hero="split"], html.js:not(.reduced) [data-hero="phone"], html.js:not(.reduced) .chip { opacity: 0; }
html.js.anim-fallback [data-reveal], html.js.anim-fallback [data-split-lines], html.js.anim-fallback [data-hero], html.js.anim-fallback .chip { opacity: 1 !important; transform: none !important; }
.split-line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__cta span { display: none; }
  .header__cta { width: 46px; height: 46px; padding: 0; }
  .card--voice { grid-column: span 12; grid-row: span 1; }
  .card--memory, .card--privacy { grid-column: span 6; }
  .card--mind, .card--health, .card--langs { grid-column: span 4; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { justify-items: center; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .chips, .hero__cta { justify-content: center; }
  .hero__visual { min-height: 0; padding: 40px 0 20px; }
  .tile--1 { left: 10%; } .tile--2 { left: 6%; } .tile--3 { left: 14%; }
  .tile--4 { right: 10%; } .tile--5 { right: 8%; }

  /* features: телефон зверху, картки проїжджають поверх */
  .features__grid { grid-template-columns: 1fr; gap: 0; }
  .features__stage { position: sticky; top: var(--header-h); height: 64vh; z-index: 0; margin-bottom: -64vh; }
  .features__sticky { position: relative; top: 0; height: 100%; }
  .phone--feature { --pw: min(56vw, 30vh, 290px); }
  .features__rail { display: none; }
  .features__chapters { position: relative; z-index: 1; padding-top: 60vh; }
  .chapter { min-height: 0; padding: 0 0 46vh; align-items: flex-start; }
  .chapter:last-child { padding-bottom: 12vh; }
  .chapter__card { opacity: 1; transform: none; max-width: 640px; margin-inline: auto; padding: 28px 24px; border-radius: var(--r-lg); background: rgba(255,255,255,.88); box-shadow: 0 30px 60px -30px rgba(60, 30, 10, .35); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }

  .how__line { display: none; }
  .how__steps { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .step:nth-child(n) { margin-top: 0; }

  .tg__grid { grid-template-columns: 1fr; }
  .tg__copy { justify-items: center; text-align: center; }
  .tg__qr { display: none; }

  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }

  .download__card { grid-template-columns: 1fr; text-align: center; min-height: 0; }
  .download__copy { justify-items: center; }
  .download__waves i { left: 50%; top: 80%; }

  .contact__grid { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; }
  .legal__grid { grid-template-columns: 1fr; }
  .legal__aside { display: none; }
  .legal__other > div { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .lang__opt { width: 36px; height: 32px; }
  .brand__word { font-size: 22px; }
  .brand__mark { width: 30px; height: 30px; }
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero__title { font-size: clamp(52px, 15vw, 80px); }
  .hero__title-2 { font-size: .5em; }
  .chip { height: 38px; font-size: 14px; padding: 0 14px 0 11px; }
  .hero__cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 380px; margin-inline: auto; }
  .hero__cta .stores { justify-content: center; }
  .hero__cta .btn--ghost { width: 100%; }
  .phone--hero { --pw: min(68vw, 290px); }
  .tile { width: 58px; }
  .tile--1 { left: 0; top: 8%; } .tile--2 { left: -2%; top: 48%; } .tile--3 { left: 6%; bottom: 6%; }
  .tile--4 { right: 0; top: 14%; } .tile--5 { right: -2%; top: 60%; }
  .hero__scroll { display: none; }

  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .card--voice, .card--memory, .card--privacy, .card--mind, .card--health, .card--langs { grid-column: auto; }
  .card { min-height: 280px; }
  .card--voice { min-height: 380px; }

  .form__row { grid-template-columns: 1fr; }
  .form__submit { width: 100%; }
  .qa summary { padding: 18px; gap: 12px; }
  .qa__a { padding: 0 18px 20px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .stores { justify-content: center; }
  .footer__brand .stores, .download .stores { justify-content: flex-start; }
  .download .stores { justify-content: center; }
  .phone--download { --pw: min(64vw, 270px); }
  .phone--tg { --pw: min(66vw, 280px); }
  .intro__word { font-size: 56px; }
  .intro__logo { width: 68px; height: 68px; }
}

@media (max-width: 380px) {
  .store { height: 52px; padding: 0 16px 0 14px; }
  .store__txt b { font-size: 16px; }
  .header__cta { display: none; }
}

/* reduced motion: все статично */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .screen.is-active .s-bubble, .screen.is-active .s-goal, .screen.is-active .s-wday { opacity: 1; transform: none; }
}

/* features: м’яке сяйво за телефоном без різких країв */
.features__sticky .blobs { overflow: visible; }
.features__sticky .blobs .b1 { width: 30vw; height: 30vw; max-width: 520px; max-height: 520px; right: auto; left: 50%; top: 50%; margin: -15vw 0 0 -15vw; opacity: .35; }
.features__sticky .blobs .b2 { width: 18vw; height: 18vw; left: 6%; bottom: 8%; opacity: .25; }
@media (min-width: 1440px) { .features__sticky .blobs .b1 { margin: -260px 0 0 -260px; } }

/* не даємо повернутим/широким елементам розширювати сторінку на мобільних */
main { overflow-x: clip; }
@supports not (overflow: clip) { main { overflow-x: hidden; } }

/* ==========================================================================
   ROADMAP — горизонтальна стрічка
   ========================================================================== */
.roadmap { position: relative; padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 80px); }
.roadmap__pin { position: relative; }
.roadmap__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.roadmap__head .section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.roadmap__progress { width: 220px; height: 4px; border-radius: 4px; background: rgba(14,14,14,.08); margin-bottom: clamp(40px, 5vw, 64px); overflow: hidden; flex: none; }
.roadmap__progress i { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.roadmap__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.roadmap__viewport::-webkit-scrollbar { display: none; }
.roadmap__track { display: flex; gap: clamp(14px, 1.6vw, 22px); padding: 10px max(var(--gutter), calc((100vw - var(--container)) / 2)) 30px; width: max-content; will-change: transform; }
.rcard { position: relative; width: clamp(280px, 30vw, 400px); min-height: 400px; flex: none; display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 2.6vw, 36px); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-card); overflow: hidden; scroll-snap-align: center; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.rcard:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -30px rgba(80,30,0,.35); }
.rcard__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; padding-bottom: 40px; }
.rcard__icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: var(--sh-orange); }
.rcard__icon .ico { width: 30px; height: 30px; }
.rcard__tag { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 99px; background: rgba(255,106,26,.1); color: var(--o2); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.rcard__tag .ico { width: 14px; height: 14px; }
.rcard__num { position: absolute; right: 22px; bottom: -18px; font-size: 140px; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(14,14,14,.06); pointer-events: none; }
.rcard h3 { font-size: clamp(24px, 2.1vw, 30px); letter-spacing: -.035em; line-height: 1.08; position: relative; }
.rcard p { color: var(--ink-2); position: relative; }
.rcard--pro { background: radial-gradient(500px 300px at 100% 0%, rgba(255,106,26,.35), transparent 60%), var(--ink); }
.rcard--pro::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.rcard--pro h3 { color: #fff; }
.rcard--pro p { color: rgba(255,255,255,.68); }
.rcard--pro .rcard__tag { background: var(--grad); color: #fff; }
.rcard--pro .rcard__num { -webkit-text-stroke-color: rgba(255,255,255,.08); }
.rcard--end { width: 220px; min-height: 400px; align-items: center; justify-content: center; background: transparent; box-shadow: inset 0 0 0 2px rgba(14,14,14,.08); }
.rcard--end:hover { transform: none; box-shadow: inset 0 0 0 2px rgba(14,14,14,.08); }
.rcard--end svg { width: 72px; height: 72px; border-radius: 22px; box-shadow: var(--sh-orange); }
.rcard--end span { font-size: 40px; font-weight: 800; color: var(--muted); letter-spacing: .1em; }
.roadmap__note { margin-top: 8px; font-size: 14px; color: var(--muted); }
.roadmap.is-pinned .roadmap__viewport { overflow: visible; scroll-snap-type: none; }
.roadmap.is-pinned .roadmap__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); }

/* ==========================================================================
   BUSINESS
   ========================================================================== */
.biz { padding: clamp(60px, 8vw, 120px) 0 clamp(100px, 12vw, 160px); }
.biz__card { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 72px); padding: clamp(28px, 5vw, 72px); border-radius: clamp(32px, 4vw, 56px); background: linear-gradient(160deg, #fff 0%, #FFF6EE 60%, #FFE9D9 100%); box-shadow: 0 50px 100px -50px rgba(120, 50, 0, .35), inset 0 0 0 1px rgba(255,255,255,.9); overflow: hidden; isolation: isolate; }
.biz__glow { position: absolute; z-index: -1; width: 60%; aspect-ratio: 1; right: -18%; bottom: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(255,120,40,.35), transparent 65%); filter: blur(20px); animation: blob1 16s ease-in-out infinite; }
.biz__copy { display: grid; gap: 24px; align-content: start; justify-items: start; }
.biz__badge { margin-left: 6px; padding: 5px 10px; border-radius: 99px; background: var(--ink); color: #fff; letter-spacing: .06em; font-size: 11px; }
.biz__points { display: flex; flex-wrap: wrap; gap: 10px; }
.biz__points li { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 99px; background: #fff; box-shadow: 0 8px 20px -12px rgba(80,30,0,.3); font-weight: 600; font-size: 15px; color: var(--ink); }
.biz__points .ico { width: 18px; height: 18px; color: #2DB84C; stroke-width: 3; }
.biz__copy .btn .ico:last-child { transition: transform .4s var(--ease); }
.biz__copy .btn:hover .ico:last-child { transform: translateX(4px); }
.biz__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: center; }
.bfeat { padding: 24px; border-radius: var(--r); background: rgba(255,255,255,.75); box-shadow: 0 1px 0 #fff inset, 0 14px 34px -20px rgba(80,30,0,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; gap: 10px; align-content: start; transition: transform .5s var(--ease), background-color .4s; }
.bfeat:hover { transform: translateY(-5px); background: #fff; }
.bfeat__icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--ink); color: var(--o1); }
.bfeat__icon .ico { width: 24px; height: 24px; }
.bfeat h3 { font-size: 19px; letter-spacing: -.025em; line-height: 1.15; }
.bfeat p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* бренд з двох слів */
.brand__word { white-space: nowrap; }
.footer__giant span { font-size: clamp(64px, 15.5vw, 250px); white-space: nowrap; }
.mmenu.is-open .mmenu__link:nth-child(6) { transition-delay: .4s; }
.mmenu__link { font-size: clamp(34px, 9.5vw, 60px); }
html.js:not(.reduced) [data-bfeat] { opacity: 0; }

@media (max-width: 1024px) {
  .roadmap__head { display: block; }
  .roadmap__progress { display: none; }
  .biz__card { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .biz__grid { grid-template-columns: 1fr; }
  .biz__copy .btn { width: 100%; }
  .rcard { width: 82vw; min-height: 360px; }
  .rcard--end { display: none; }
  .header__cta { display: none; }
  .brand__word { font-size: 19px; }
  .intro__word { font-size: 40px; }
}
.roadmap.is-pinned .h2 { font-size: clamp(36px, 4.2vw, 64px); }
.roadmap.is-pinned .roadmap__head .section-head { gap: 14px; margin-bottom: 28px; }
.roadmap.is-pinned .roadmap__progress { margin-bottom: 36px; }
.roadmap.is-pinned .rcard { min-height: min(380px, 44vh); }
.roadmap.is-pinned .rcard__top { padding-bottom: 24px; }
.roadmap.is-pinned .roadmap__pin { padding-top: calc(var(--header-h) - 10px); }
