/* Лендинг Miso. Цвета только из токенов приложения
   (Packages/MisoKit/Sources/MisoDesign/Tokens/Tokens.swift), пастельные
   фоны секций смешиваются из них же через color-mix.
   Сон, нагрузка и стресс один голубой, sage только у восстановления. */

:root {
  --cream: #FAF5EC;
  --card: #FFFFFF;
  --border: #EADFC9;
  --ink: #33302A;
  --ink-2: rgba(51, 48, 42, 0.68);
  --ink-3: rgba(51, 48, 42, 0.5);
  --tabbar: #F3EBDD;

  --blue: #A8C6E8;
  --blue-ink: #4A6076;
  --sage: #8FBF9F;
  --sage-ink: #3E7C5B;
  --sun: #F7DFA0;
  --pink: #F2A2B6;
  --pink-ink: #B8476E;

  /* ночная секция: тёмная тема приложения поверх сумеречного неба промо */
  --night: #2B2643;
  --night-card: #38322A;
  --night-ink: #F7F1E5;

  --wash-pink: #F8E4E1;
  --wash-peach: color-mix(in srgb, #F2C79E 26%, var(--cream));
  --wash-mint: #EFF1E8;
  --wash-sky: color-mix(in srgb, var(--blue) 24%, var(--cream));

  --r-card: 16px;
  --r-big: 24px;
  --shadow: 0 1px 0 rgba(51, 48, 42, 0.04), 0 18px 40px -24px rgba(51, 48, 42, 0.35);

  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
section { padding: clamp(72px, 10vw, 128px) 0; }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.lead { margin-top: 18px; font-size: 19px; color: var(--ink-2); max-width: 64ch; }
.fine { font-size: 14px; color: var(--ink-3); margin-top: 16px; max-width: 70ch; }
.fine a { color: var(--ink-2); font-weight: 700; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }

/* шапка как таббар приложения: плавающая стеклянная пилюля, активный раздел в капсуле */
.top { position: fixed; top: 14px; left: 0; right: 0; z-index: 40; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.tabbar {
  pointer-events: auto; display: flex; align-items: center; gap: 6px; width: min(100%, 1160px); padding: 6px; max-width: 100%;
  border-radius: 999px; background: transparent; border: 1px solid transparent; box-shadow: none;
  transition: background-color .3s, box-shadow .3s, border-color .3s;
}
/* стеклянная пилюля только после прокрутки; наверху меню лежит прямо на небе */
.top.scrolled .tabbar {
  background: color-mix(in srgb, #FFFDF8 72%, transparent);
  border-color: color-mix(in srgb, #FFFFFF 80%, transparent);
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 12px 32px -14px rgba(51, 48, 42, .35), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; text-decoration: none; letter-spacing: -0.02em; padding: 0 16px 0 4px; margin-right: auto; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.anchors { display: flex; gap: 2px; }
.anchors a { display: flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 700; color: color-mix(in srgb, var(--ink) 72%, transparent); transition: background-color .25s, color .25s; }
.anchors a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.anchors a[aria-current="true"] { background: color-mix(in srgb, var(--ink) 8%, #FFFFFF); color: var(--sage-ink); box-shadow: inset 0 0 0 1px rgba(51, 48, 42, .04); }
.tabbar .store-sm { margin-left: 4px; }
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  padding: 8px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; color: color-mix(in srgb, var(--ink) 78%, transparent);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); }
.lang svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lang summary svg:last-child { width: 11px; height: 11px; stroke-width: 1.8; transition: transform .2s; }
.lang[open] summary svg:last-child { transform: rotate(180deg); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px;
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 20px 40px -18px rgba(51, 48, 42, .35);
  animation: pop .18s ease-out;
}
.lang li a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; }
.lang li a:hover { background: var(--cream); }
.lang li a[aria-current] { background: color-mix(in srgb, var(--pink) 22%, var(--card)); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }

/* кнопка магазина: текстовая, без чужих логотипов */
.cta-row { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.store {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px;
  border-radius: 999px; background: var(--ink); color: var(--cream);
  font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(51, 48, 42, .6);
  transition: transform .2s, box-shadow .2s;
}
a.store:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(51, 48, 42, .65); }
.store.is-soon { cursor: default; }
.store-sm { min-height: 40px; padding: 0 16px; font-size: 14px; box-shadow: none; }
.text-link { font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: var(--ink); }

/* hero: рассвет, живой экран, карточки показателей вокруг */
.hero { position: relative; padding: calc(96px + clamp(24px, 5vw, 56px)) 0 clamp(80px, 10vw, 128px); overflow: hidden; isolation: isolate; }
.sky { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 38%, color-mix(in srgb, var(--sun) 70%, transparent), transparent 70%),
    radial-gradient(50% 60% at 10% 0%, color-mix(in srgb, var(--pink) 38%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, #F2C79E 30%, var(--cream)), var(--cream) 88%);
}
.sun { position: absolute; width: 520px; height: 520px; right: max(-80px, calc((100vw - 1160px) / 2 - 40px)); top: 40px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--sun) 85%, white) 0%, color-mix(in srgb, var(--sun) 40%, transparent) 45%, transparent 70%);
  animation: glow 7s ease-in-out infinite alternate; }
@keyframes glow { to { transform: scale(1.08); opacity: .85; } }
.spark { position: absolute; width: 18px; color: var(--sun); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--sun) 80%, transparent)); animation: twinkle 3.2s ease-in-out infinite; }
.spark svg { width: 100%; fill: currentColor; display: block; }
.s1 { top: 18%; right: 40%; animation-delay: .2s; }
.s2 { top: 30%; right: 8%; width: 12px; animation-delay: 1.1s; }
.s3 { top: 62%; right: 37%; width: 14px; animation-delay: 1.9s; color: color-mix(in srgb, var(--pink) 80%, white); }
.s4 { top: 12%; right: 18%; width: 10px; animation-delay: 2.6s; }
.s5 { top: 78%; right: 6%; width: 16px; animation-delay: .7s; }
@keyframes twinkle { 0%, 100% { transform: scale(.6) rotate(0); opacity: .35; } 50% { transform: scale(1) rotate(20deg); opacity: 1; } }

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.2vw, 70px); line-height: 1.02; letter-spacing: -0.035em; overflow-wrap: break-word; }
/* в китайском заголовке переносить только по пробелу, не посреди слова 睡眠 */
:lang(zh-Hans) h1, :lang(zh-Hans) h2, :lang(zh-Hans) h3 { word-break: keep-all; overflow-wrap: anywhere; }
.hero .sub { margin-top: 26px; font-size: clamp(18px, 1.7vw, 21px); color: var(--ink-2); max-width: 32em; }
.facts-line { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.facts-line li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: color-mix(in srgb, var(--ink) 80%, transparent); }
.ck { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: color-mix(in srgb, var(--sage) 30%, transparent); fill: none; stroke: var(--sage-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.hero-art { position: relative; justify-self: center; width: min(100%, 460px); display: grid; justify-items: center; }
.device { position: relative; width: 300px; }
.phone {
  width: 100%; max-width: 360px; border-radius: 46px;
  border: 9px solid var(--ink); background: var(--ink);
  box-shadow: 0 40px 80px -36px rgba(51, 48, 42, 0.55);
}
.phone-video { display: block; width: 100%; height: auto; aspect-ratio: 480 / 1044; object-fit: cover; box-shadow: 0 50px 90px -30px rgba(51, 48, 42, .55), 0 0 0 1px rgba(51, 48, 42, .08); }
.pet-hit { position: absolute; left: 22%; right: 22%; top: 16%; height: 24%; border: 0; background: none; cursor: pointer; border-radius: 40%; -webkit-tap-highlight-color: transparent; }
.bubble {
  position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, 8px) scale(.96);
  width: max-content; max-width: 240px; padding: 11px 15px;
  background: #FFFFFF; color: #33302A; border: 1px solid var(--border); border-radius: 18px;
  font-size: 15px; font-weight: 600; line-height: 1.3; text-align: center;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .25s cubic-bezier(.3, 1.5, .5, 1);
}
.bubble::after { content: ""; position: absolute; left: 50%; top: 100%; width: 12px; height: 12px; background: #fff; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transform: translate(-50%, -6px) rotate(45deg); }
.bubble.on { opacity: 1; transform: translate(-50%, 0) scale(1); }

.hero-card {
  position: absolute; display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center;
  padding: 12px 16px; border-radius: 20px;
  background: color-mix(in srgb, #FFFFFF 78%, transparent); border: 1px solid color-mix(in srgb, #FFFFFF 70%, var(--border));
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 24px 40px -24px rgba(51, 48, 42, .45);
  animation: bob 6s ease-in-out infinite;
}
.hc-label { grid-column: 1; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.hc-value { grid-column: 1; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.hc-note { grid-column: 1; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.hc-ring, .hc-bars, .hc-curve { grid-column: 2; grid-row: 1 / span 3; }
.hc-recovery { left: -14%; top: 12%; }
.hc-recovery .hc-value { color: var(--sage-ink); }
.hc-ring { width: 46px; height: 46px; border-radius: 50%; background: conic-gradient(var(--sage) 0 82%, color-mix(in srgb, var(--sage) 20%, transparent) 82% 100%); mask: radial-gradient(circle, transparent 54%, #000 56%); -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%); }
.hc-sleep { right: -16%; top: 44%; animation-delay: -2s; }
.hc-sleep .hc-value { color: var(--blue-ink); }
.hc-bars { display: flex; gap: 3px; width: 60px; height: 8px; border-radius: 4px; overflow: hidden; }
.hc-bars i { display: block; height: 100%; }
.hc-bars i:nth-child(1) { flex: 61; background: #A8C6E8; }
.hc-bars i:nth-child(2) { flex: 22; background: #DCE8F6; }
.hc-bars i:nth-child(3) { flex: 16; background: #5B7FA3; }
.hc-stress { left: -6%; bottom: 10%; animation-delay: -4s; }
.hc-stress .hc-value { color: var(--blue-ink); }
.hc-curve { width: 96px; height: 30px; fill: none; stroke: var(--blue-ink); stroke-width: 2; stroke-linecap: round; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* единственный оркестрованный момент загрузки */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .sub, .hero .cta-row, .facts-line { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
  .hero .sub { animation-delay: .08s; }
  .hero .cta-row { animation-delay: .16s; }
  .facts-line { animation-delay: .24s; }
  .device { animation: phone-in 1s cubic-bezier(.2, .8, .2, 1) .1s both; }
  .hero-card { animation: card-in .7s cubic-bezier(.3, 1.4, .5, 1) both, bob 6s ease-in-out infinite; }
  .hc-recovery { animation-delay: .55s, 1.2s; }
  .hc-sleep { animation-delay: .7s, -2s; }
  .hc-stress { animation-delay: .85s, -4s; }
  .hc-ring { animation: ring 1.2s cubic-bezier(.2, .8, .2, 1) .8s both; }
  .hc-curve path { stroke-dasharray: 220; animation: draw 1.6s ease-out 1s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(40px) scale(.97); } }
@keyframes card-in { from { opacity: 0; scale: .7; } }
@keyframes draw { from { stroke-dashoffset: 220; } }
@property --ring { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@keyframes ring { from { --ring: 0%; } to { --ring: 82%; } }
.hc-ring { --ring: 82%; background: conic-gradient(var(--sage) 0 var(--ring), color-mix(in srgb, var(--sage) 20%, transparent) var(--ring) 100%); }

/* четыре показателя: телефон держится, пока листаются описания */
.metrics-grid { display: grid; grid-template-columns: 440px 1fr; gap: 64px; }
.metrics-phone { position: relative; }
.phone-stack { position: sticky; top: 96px; display: grid; }
.phone-layer {
  grid-area: 1 / 1; width: 100%; max-width: 360px; border-radius: 46px;
  border: 9px solid var(--ink); background: var(--ink);
  box-shadow: 0 40px 80px -36px rgba(51, 48, 42, 0.55);
  opacity: 0; transition: opacity .45s ease;
}
.phone-layer.is-active { opacity: 1; }
.metric { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
.metric:first-child { min-height: 64vh; justify-content: flex-start; padding-top: 48px; }
.metric p { max-width: 52ch; font-size: 18px; color: var(--ink-2); margin-top: 14px; }
.metric .metric-label { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--ink); }
.metric h3 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.12; letter-spacing: -0.02em; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; background: var(--blue); }
.dot-recovery { background: var(--sage); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.facts li { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--border); }
.metric[data-key="recovery"] .facts li { background: color-mix(in srgb, var(--sage) 14%, var(--card)); border-color: color-mix(in srgb, var(--sage) 40%, var(--border)); }
.metric:not([data-key="recovery"]) .facts li { background: color-mix(in srgb, var(--blue) 14%, var(--card)); border-color: color-mix(in srgb, var(--blue) 45%, var(--border)); }
.m-shot { display: none; }

/* фон секции: голубой на сне, нагрузке и стрессе, sage только на восстановлении */
.metrics { transition: background-color .6s; }
.metrics[data-active="sleep"], .metrics[data-active="load"], .metrics[data-active="stress"] { background-color: color-mix(in srgb, var(--blue) 12%, var(--cream)); }
.metrics[data-active="recovery"] { background-color: color-mix(in srgb, var(--sage) 14%, var(--cream)); }

/* смена экранов: новый выезжает снизу, старый уходит вверх */
.phone-layer { transform: translateY(24px) scale(.98); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.phone-layer.is-active { transform: none; }
.phone-layer.is-past { transform: translateY(-24px) scale(.98); }
.phone-stack { grid-template-columns: 1fr auto; column-gap: 28px; align-items: center; }
.phone-stack > .phone-layer { grid-column: 1; }
.rail { grid-column: 2; grid-row: 1; display: grid; gap: 18px; position: relative; }
.rail::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--border); }
.rail li { position: relative; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; color: var(--ink-3); transition: color .3s; }
.rail li i { width: 12px; height: 12px; border-radius: 50%; background: var(--cream); border: 2px solid var(--border); transition: background .3s, border-color .3s, transform .3s; z-index: 1; }
.rail li.on { color: var(--ink); }
.rail li.on i { background: var(--blue); border-color: var(--blue-ink); transform: scale(1.25); }
.rail li[data-i="1"].on i { background: var(--sage); border-color: var(--sage-ink); }

/* визуализации показателей: оживают, когда карточка доходит до середины экрана */
.viz { margin-bottom: 26px; max-width: 420px; }
.viz-num { display: block; font-size: clamp(48px, 5vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--blue-ink); }
.viz-num small { font-size: .5em; letter-spacing: 0; margin-left: 2px; color: var(--ink-3); }
.stages { display: flex; gap: 4px; height: 14px; margin-top: 18px; }
.stages i { display: block; height: 100%; border-radius: 7px; width: 0; transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.stages i:nth-child(1) { background: #A8C6E8; }
.stages i:nth-child(2) { background: #DCE8F6; transition-delay: .15s; }
.stages i:nth-child(3) { background: #5B7FA3; transition-delay: .3s; }
.is-in .stages i { width: var(--w); }
.stage-keys { display: flex; gap: 16px; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.stage-keys .right { margin-left: auto; }
.stage-keys i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.k1 { background: #A8C6E8; } .k2 { background: #DCE8F6; outline: 1px solid #A8C6E8; } .k3 { background: #5B7FA3; }

.viz-recovery { display: flex; align-items: center; gap: 26px; }
.ring { position: relative; width: 132px; height: 132px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 12; stroke: color-mix(in srgb, var(--sage) 22%, transparent); }
.ring .ring-fill { stroke: var(--sage); stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; transition: stroke-dashoffset 1.4s cubic-bezier(.2, .8, .2, 1); }
.is-in .ring .ring-fill { stroke-dashoffset: 56.5; }
.ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: var(--sage-ink); }
.ring b small { font-size: .5em; }
.ring-side { display: grid; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.ring-side b { color: var(--ink); }

.loadbar { position: relative; height: 14px; margin-top: 18px; border-radius: 7px; background: color-mix(in srgb, var(--blue) 25%, transparent); }
.lb-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 7px; background: var(--blue); transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.is-in .lb-fill { width: 55%; }
.lb-ceil { position: absolute; left: 82%; top: -5px; bottom: -5px; width: 4px; border-radius: 2px; background: var(--sage-ink); }

.viz-stress svg { width: 100%; height: auto; overflow: visible; }
.viz-stress .night { fill: color-mix(in srgb, var(--blue) 18%, transparent); }
.viz-stress .hi { stroke: var(--ink-3); stroke-dasharray: 4 5; stroke-width: 1.2; }
.viz-stress .curve { fill: none; stroke: var(--blue-ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 1.8s ease-out; }
.is-in .viz-stress .curve { stroke-dashoffset: 0; }
.viz-stress .dot { fill: var(--blue-ink); opacity: 0; transition: opacity .3s 1.6s; }
.is-in .viz-stress .dot { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .stages i, .ring .ring-fill, .lb-fill, .viz-stress .curve, .phone-layer { transition: none; }
}

/* как считаются цифры: веса частей полосой */
.formula { background: var(--cream); padding-bottom: 40px; }
.fcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fcard { padding: 28px; border-radius: 28px; background: var(--card); box-shadow: 0 30px 60px -45px rgba(51, 48, 42, .5); }
.fcard h3 { font-size: 22px; }
.fbar { display: flex; gap: 4px; height: 18px; margin: 18px 0 16px; }
.fbar i { display: block; height: 100%; border-radius: 6px; flex: 0 0 0; transition: flex-basis .9s cubic-bezier(.2, .8, .2, 1) var(--d); }
.fcard.is-in .fbar i { flex-basis: calc(var(--w) - 3px); }
.fparts { display: grid; gap: 8px; }
.fparts li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.fparts b { min-width: 3ch; color: var(--ink); font-variant-numeric: tabular-nums; }
.sw { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.fcard p { margin-top: 16px; font-size: 14px; line-height: 1.55; color: var(--ink-3); }
.f-recovery .fbar i:nth-child(1), .f-recovery .sw0 { background: #35684D; }
.f-recovery .fbar i:nth-child(2), .f-recovery .sw1 { background: #5E9E77; }
.f-recovery .fbar i:nth-child(3), .f-recovery .sw2 { background: #8FBF9F; }
.f-recovery .fbar i:nth-child(4), .f-recovery .sw3 { background: #C4DBCC; }
.f-sleep .fbar i:nth-child(1), .f-sleep .sw0, .f-load .fbar i:nth-child(1), .f-load .sw0 { background: #4A6076; }
.f-sleep .fbar i:nth-child(2), .f-sleep .sw1, .f-load .fbar i:nth-child(2), .f-load .sw1 { background: #A8C6E8; }
.f-sleep .fbar i:nth-child(3), .f-sleep .sw2, .f-load .fbar i:nth-child(3), .f-load .sw2 { background: #DCE8F6; }
@media (prefers-reduced-motion: reduce) { .fbar i { transition: none; flex-basis: calc(var(--w) - 3px); } }

/* как это работает: одна панель от ночи к утру, три сцены и пунктир между ними */
.how { background: var(--cream); }
.journey {
  position: relative; margin-top: 44px; padding: 56px clamp(24px, 4vw, 56px) 48px; border-radius: 36px; overflow: hidden;
  background: linear-gradient(90deg, #2B2643 0%, #4E4775 28%, #C9A9B8 52%, #F2C79E 72%, #FBEFD6 100%);
  box-shadow: 0 40px 80px -50px rgba(43, 38, 67, .7);
}
.moon { position: absolute; left: 7%; top: 30px; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset -12px -6px 0 0 #F7F1E5; transform: scaleX(-1); opacity: .9; }
.sunrise { position: absolute; right: 6%; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, #FFF6DD 0%, color-mix(in srgb, var(--sun) 70%, transparent) 40%, transparent 70%); }
.journey-path { position: absolute; left: 4%; right: 4%; top: 150px; width: 92%; height: 120px; overflow: visible; }
.journey-path path { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 2.5; stroke-dasharray: 2 10; stroke-linecap: round; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; }
.steps .pet-img { width: 190px; height: 190px; object-fit: contain; margin: 0 auto 18px; filter: drop-shadow(0 18px 20px rgba(43, 38, 67, .25)); }
.steps h3 { font-size: 21px; }
.steps h3::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 10px; border-radius: 50%; font-size: 15px; vertical-align: 2px; background: rgba(255, 255, 255, .85); color: var(--ink); }
.steps p { margin-top: 10px; max-width: 32ch; }
.steps li:nth-child(1) { color: #F7F1E5; }
.steps li:nth-child(1) p { color: rgba(247, 241, 229, .8); }
.steps li:nth-child(2) h3, .steps li:nth-child(3) h3 { color: var(--ink); }
.steps li:nth-child(2) p, .steps li:nth-child(3) p { color: color-mix(in srgb, var(--ink) 78%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .journey .steps li { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .8s cubic-bezier(.2, .8, .2, 1); }
  .journey .steps li:nth-child(2) { transition-delay: .25s; }
  .journey .steps li:nth-child(3) { transition-delay: .5s; }
  .journey.is-in .steps li { opacity: 1; transform: none; }
  .journey-path path { stroke-dashoffset: 400; transition: stroke-dashoffset 2.2s ease-out .2s; }
  .journey.is-in .journey-path path { stroke-dashoffset: 0; }
  .journey .steps .pet-img { animation: breathe 4.5s ease-in-out infinite; transform-origin: 50% 90%; }
  .journey .steps li:nth-child(2) .pet-img { animation-delay: -1.5s; }
  .journey .steps li:nth-child(3) .pet-img { animation-delay: -3s; }
}
@keyframes breathe { 0%, 100% { scale: 1 1; } 50% { scale: 1.015 1.03; } }

/* переход в ночь и обратно: небо темнеет на целый экран скролла, без резкой смены яркости */
.journey::after { -webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); pointer-events: none; mix-blend-mode: soft-light; }

/* норма сна: ночь, спящая Мисо, звёзды */
.need { position: relative; margin: 0 clamp(12px, 2vw, 28px); border-radius: clamp(28px, 4vw, 48px); background: radial-gradient(120% 90% at 80% 0%, #3A3358 0%, var(--night) 60%); color: var(--night-ink); overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; }
.stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #F7F1E5; opacity: .7; animation: star 4s ease-in-out infinite; }
.stars i:nth-child(1) { left: 8%; top: 14%; } .stars i:nth-child(2) { left: 22%; top: 70%; animation-delay: -1s; }
.stars i:nth-child(3) { left: 35%; top: 22%; animation-delay: -2s; width: 2px; height: 2px; } .stars i:nth-child(4) { left: 48%; top: 84%; animation-delay: -3s; }
.stars i:nth-child(5) { left: 58%; top: 10%; animation-delay: -.5s; } .stars i:nth-child(6) { left: 66%; top: 46%; animation-delay: -1.5s; width: 2px; height: 2px; }
.stars i:nth-child(7) { left: 76%; top: 18%; animation-delay: -2.5s; background: var(--sun); } .stars i:nth-child(8) { left: 88%; top: 64%; animation-delay: -3.5s; }
.stars i:nth-child(9) { left: 93%; top: 28%; animation-delay: -.8s; } .stars i:nth-child(10) { left: 14%; top: 42%; animation-delay: -2.2s; width: 2px; height: 2px; }
.stars i:nth-child(11) { left: 40%; top: 52%; animation-delay: -1.2s; } .stars i:nth-child(12) { left: 82%; top: 88%; animation-delay: -3.2s; background: var(--sun); }
@keyframes star { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: .9; transform: scale(1.2); } }
.night-moon { position: absolute; right: max(32px, calc((100vw - 1160px) / 2 + 40px)); top: 48px; width: 64px; height: 64px; border-radius: 50%; box-shadow: inset -16px -8px 0 0 #F7F1E5; filter: drop-shadow(0 0 18px rgba(247, 241, 229, .35)); }
.need-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; }
.need-copy p { margin-top: 20px; font-size: 19px; color: rgba(247, 241, 229, .8); max-width: 46ch; }
.need-art { position: relative; display: grid; justify-items: center; }
.sleeper { position: relative; width: 74%; max-width: 330px; margin-bottom: -30px; }
.sleeper .pet-img { width: 100%; animation: breathe 5s ease-in-out infinite; transform-origin: 50% 85%; }
.zz { position: absolute; right: 8%; top: -6%; font-weight: 800; color: #DCE8F6; }
.zz i { position: absolute; font-style: normal; opacity: 0; animation: zz 3.6s ease-in infinite; }
.zz i:nth-child(1) { font-size: 18px; } .zz i:nth-child(2) { font-size: 24px; animation-delay: 1.2s; } .zz i:nth-child(3) { font-size: 30px; animation-delay: 2.4s; }
@keyframes zz { 0% { opacity: 0; transform: translate(0, 10px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(26px, -60px); } }
.night-card { position: relative; z-index: 1; width: min(100%, 390px); padding: 22px 24px; background: var(--night-card); border-radius: var(--r-big); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.nc-label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: rgba(247, 241, 229, .6); }
.nc-note { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(247, 241, 229, .12); color: rgba(247, 241, 229, .7); }
.nc-value { font-size: 46px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; }
.nc-bars { display: grid; gap: 6px; margin: 6px 0 12px; }
.nc-bars i { display: block; height: 8px; border-radius: 4px; width: 0; transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.nc-slept { background: #A8C6E8; }
.nc-need { background: rgba(247, 241, 229, .25); transition-delay: .2s; }
.is-in .nc-slept { width: 98%; } .is-in .nc-need { width: 100%; }
.nc-line { color: rgba(247, 241, 229, .8); }
.nc-next { color: #9BB9D6; margin-top: 4px; font-weight: 600; }

/* инсайты: живая таблица «мешает / помогает», как во вкладке приложения */
.insights { background: var(--wash-mint); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-copy > p:first-of-type { margin-top: 20px; font-size: 19px; color: var(--ink-2); max-width: 52ch; }
.split-art { justify-self: center; }
.split-art .phone { max-width: 330px; }
.tags-label { margin-top: 28px; font-size: 15px; font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; max-width: 560px; }
.tags li { font-size: 15px; padding: 6px 12px; border-radius: 10px; background: color-mix(in srgb, var(--card) 70%, transparent); color: var(--ink-2); }
.impact { position: relative; padding: 26px 28px 22px; border-radius: 28px; background: var(--card); box-shadow: 0 40px 70px -40px rgba(51, 48, 42, .45); }
.impact-wrap { position: relative; padding: 70px 0 70px; }
.impact-pet { position: absolute; right: 8px; top: -44px; width: 140px; z-index: 3; animation: breathe 4.5s ease-in-out infinite; transform-origin: 50% 90%; filter: drop-shadow(0 14px 16px rgba(51, 48, 42, .18)); pointer-events: none; }
.impact { z-index: 1; }
.impact-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-right: 96px; }
.found { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; }
.found svg { width: 16px; fill: var(--sun); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--sun) 80%, transparent)); }
.impact-top .nc-note { background: var(--tabbar); color: var(--ink-3); }
.say-card { position: absolute; left: -28px; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 12px; max-width: 360px; padding: 14px 18px 14px 12px; border-radius: 22px; background: var(--card); box-shadow: 0 24px 44px -24px rgba(51, 48, 42, .5); }
.say-card p { font-size: 15px; font-weight: 700; line-height: 1.35; }
.say-face { flex: none; width: 52px; height: 52px; border-radius: 50%; background: color-mix(in srgb, var(--sun) 45%, var(--cream)); display: grid; place-items: center; overflow: hidden; }
.say-face .pet-img { width: 48px; }
@media (prefers-reduced-motion: no-preference) {
  .impact-wrap .say-card { opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .5s .7s, transform .6s cubic-bezier(.3, 1.4, .5, 1) .7s; }
  .impact-wrap.is-in .say-card { opacity: 1; transform: none; }
}
.it-name::first-letter, .tags li::first-letter { text-transform: uppercase; }
.it-name, .tags li { display: inline-block; }
.impact ul { display: grid; gap: 14px; }
.impact li { display: grid; grid-template-columns: 9.5em 1fr 3em; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.impact li b { text-align: right; font-weight: 800; }
.it-bar { position: relative; height: 12px; }
.it-bar::before { content: ""; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1.5px; background: var(--border); }
.it-bar i { position: absolute; top: 0; bottom: 0; width: 0; border-radius: 6px; transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.help .it-bar i { left: 50%; background: #5E9E77; }
.hurt .it-bar i { right: 50%; background: #B35D50; }
.help b { color: #35684D; } .hurt b { color: #8C4237; }
.is-in .impact .it-bar i { width: calc(var(--v) / 2); }
.impact li:nth-child(2) .it-bar i { transition-delay: .1s; } .impact li:nth-child(3) .it-bar i { transition-delay: .2s; }
.impact li:nth-child(4) .it-bar i { transition-delay: .3s; } .impact li:nth-child(5) .it-bar i { transition-delay: .4s; }

/* тренды и возраст по Мисо: данные рисуются сами */
.deep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.deep-card { background: var(--card); border-radius: 32px; padding: clamp(28px, 4vw, 44px); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 60px -45px rgba(51, 48, 42, .5); }
.deep-card h2 { font-size: clamp(26px, 3vw, 34px); }
.deep-card > p { margin-top: 16px; color: var(--ink-2); max-width: 46ch; }
:root { --p0: #F0A9BC; --p1: #F2C79E; --p2: #F2DC9B; --p3: #BACBA4; --p4: #8FBF9F; }
.trends { display: flex; flex-direction: column; }
.tstat { margin-top: 26px; }
.tstat b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--blue-ink); }
.tstat span { font-size: 14px; font-weight: 700; color: var(--sage-ink); }
.ttabs { display: inline-flex; align-self: flex-start; gap: 4px; margin-top: 18px; padding: 4px; border-radius: 999px; background: var(--tabbar); }
.ttabs button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; font: 700 14px var(--font); color: var(--ink-2); padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.ttabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 2px 6px rgba(51, 48, 42, .12); }
.lock { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.tcharts { position: relative; flex: 1; min-height: 240px; margin-top: 22px; }
.tbars { position: absolute; inset: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; align-items: end; opacity: 0; pointer-events: none; transition: opacity .35s; }
.tbars.on { opacity: 1; }
.tbars li { display: grid; grid-template-rows: 1fr auto; height: 100%; text-align: center; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.tbars i { align-self: end; display: block; height: 0; border-radius: 10px 10px 6px 6px; background: var(--c); transition: height .9s cubic-bezier(.2, .8, .2, 1) var(--d); }
.trends.is-in .tbars.on i { height: var(--h); }
.t-month { gap: 4px; } .t-month i { border-radius: 5px 5px 3px 3px; }
.t-half { gap: 5px; } .t-half i { border-radius: 5px 5px 3px 3px; }
.tbars span { margin-top: 8px; }
.tkeys { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.tkeys i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.age-card { margin-top: 28px; padding: 24px 26px; border-radius: var(--r-big); background: var(--cream); position: relative; }
.age-card .nc-note { position: absolute; top: 14px; right: 14px; background: var(--tabbar); color: var(--ink-3); }
.age-value { font-size: 72px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.age-line { margin-top: 8px; font-weight: 700; color: var(--sage-ink); }
.age-sub { font-size: 14px; color: var(--ink-3); }
.zone { position: relative; height: 12px; margin: 44px 0 30px; border-radius: 6px; background: linear-gradient(90deg, #C08957, #E3C878 45%, #8FBF9F 75%, #5E9E77); opacity: .85; }
.zone i { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 3px solid var(--card); box-shadow: 0 2px 6px rgba(51, 48, 42, .3); transition: left 1.4s cubic-bezier(.2, .8, .2, 1); left: 50%; }
.zone-avg { background: var(--ink-3); }
.zone-now { background: var(--sage-ink); }
.age.is-in .zone-avg { left: 58%; } .age.is-in .zone-now { left: 72%; }
.zl { position: absolute; font-size: 12px; font-weight: 800; white-space: nowrap; transform: translateX(-50%); transition: left 1.4s cubic-bezier(.2, .8, .2, 1); left: 50%; }
.zl-now { bottom: calc(100% + 14px); color: var(--sage-ink); }
.zl-now::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top: 6px solid var(--sage-ink); }
.zl-avg { top: calc(100% + 14px); color: var(--ink-3); }
.zl-avg::before { content: ""; position: absolute; left: 50%; bottom: 100%; margin-left: -5px; border: 5px solid transparent; border-bottom: 6px solid var(--ink-3); }
.age.is-in .zl-avg { left: 58%; } .age.is-in .zl-now { left: 72%; }
.zone-keys { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.age { position: relative; }
.factors { margin-top: 18px; padding: 20px 22px; border-radius: var(--r-big); background: var(--cream); }
.ftitle { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; color: var(--ink-3); margin-bottom: 12px; }
.factors ul { display: grid; gap: 10px; }
.factors li { display: grid; grid-template-columns: minmax(0, 1fr) 30% 3.2em; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; }
.factors li > span:first-child { overflow-wrap: anywhere; hyphens: auto; }
.factors li b { text-align: right; font-variant-numeric: tabular-nums; }
.fb { position: relative; height: 8px; }
.fb::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1.5px; background: var(--border); }
.fb i { position: absolute; top: 0; bottom: 0; width: 0; border-radius: 4px; transition: width 1s cubic-bezier(.2, .8, .2, 1) .3s; }
.young .fb i { left: 50%; background: #5E9E77; } .young b { color: #35684D; }
.old .fb i { right: 50%; background: #B35D50; } .old b { color: #8C4237; }
.age.is-in .fb i { width: calc(var(--v) / 2); }
.fprem { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--ink-3); }

/* часы: выезжают по очереди и тихо плавают */
.watch-sec { background: var(--wash-sky); overflow: hidden; }
.watches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.watch { width: 100%; border-radius: 30%/26%; border: 8px solid var(--ink); background: #000; box-shadow: 0 34px 60px -30px rgba(43, 38, 67, .6); }
@media (prefers-reduced-motion: no-preference) {
  .watches .watch { opacity: 0; transform: translateY(40px); transition: opacity .7s, transform .9s cubic-bezier(.2, .8, .2, 1); }
  .watches .watch:nth-child(2) { transition-delay: .12s; } .watches .watch:nth-child(3) { transition-delay: .24s; } .watches .watch:nth-child(4) { transition-delay: .36s; }
  .watches.is-in .watch { opacity: 1; transform: none; }
  .watches.is-in .watch:nth-child(even) { transform: translateY(28px); }
}
.widgets { margin-top: 44px; color: var(--ink-2); font-size: 17px; }

/* лицо Мисо: игрушка с ползунками и особые дни */
.face { background: var(--wash-pink); }
.toy { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 36px; background: color-mix(in srgb, var(--card) 70%, transparent); box-shadow: 0 40px 80px -60px rgba(51, 48, 42, .5); }
.toy-stage { display: grid; justify-items: center; text-align: center; }
.toy-pet { position: relative; width: min(100%, 340px); aspect-ratio: 1; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--sun) 55%, transparent), transparent 62%); border-radius: 50%; }
.toy-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.94) translateY(8px); transition: opacity .35s, transform .45s cubic-bezier(.3, 1.4, .5, 1); }
.toy-img.on { opacity: 1; transform: none; }
.toy-pet .toy-img.on { animation: breathe 4.5s ease-in-out infinite; transform-origin: 50% 90%; }
.toy-state { margin-top: 10px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.toy-why { margin-top: 4px; min-height: 1.5em; color: var(--ink-2); font-weight: 600; }
.toy-try { font-size: 16px; font-weight: 700; color: var(--ink-2); margin-bottom: 20px; }
.slider { display: grid; gap: 10px; margin-bottom: 22px; font-weight: 700; }
.slider span { display: flex; justify-content: space-between; }
.slider b { font-variant-numeric: tabular-nums; }
.slider input { -webkit-appearance: none; appearance: none; width: 100%; height: 12px; border-radius: 6px; background: var(--track, var(--border)); outline-offset: 6px; }
.slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--card); border: 3px solid var(--thumb, var(--ink)); box-shadow: 0 3px 10px rgba(51, 48, 42, .25); cursor: grab; }
.slider input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--card); border: 3px solid var(--thumb, var(--ink)); cursor: grab; }
.s-sleep { --track: linear-gradient(90deg, var(--p0), var(--p2), var(--p4)); --thumb: var(--blue-ink); }
.s-rec { --track: linear-gradient(90deg, #B35D50, #C08957, #E3C878, #8FBF9F, #5E9E77); --thumb: var(--sage-ink); }
.s-stress { --track: color-mix(in srgb, var(--blue) 45%, var(--cream)); --thumb: var(--blue-ink); }
.toy-stress-note { margin-top: -8px; font-size: 14px; color: var(--ink-3); font-weight: 600; }
.specials-label { margin-top: 56px; font-weight: 800; font-size: 18px; }
.states { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 16px; }
.polaroid { margin: 0; padding: 10px 10px 14px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.polaroid:hover { transform: translateY(-6px); }
.polaroid .pet-img { display: block; width: 100%; height: auto; border-radius: 12px; aspect-ratio: 1; object-fit: contain; padding: 8px; }
.polaroid figcaption { margin-top: 8px; text-align: center; font-size: 14px; font-weight: 700; }
.p0 .pet-img { background: color-mix(in srgb, var(--sage) 30%, var(--cream)); }
.p1 .pet-img { background: color-mix(in srgb, var(--blue) 40%, var(--cream)); }
.p2 .pet-img { background: color-mix(in srgb, var(--sun) 50%, var(--cream)); }
.p3 .pet-img { background: color-mix(in srgb, #F2C79E 40%, var(--cream)); }
.promise { margin-top: 48px; font-size: clamp(20px, 2vw, 24px); font-weight: 700; max-width: 40ch; letter-spacing: -0.01em; }

/* приватность: фраза проявляется по словам, схема «часы → телефон, облако отрезано» */
.privacy-box { max-width: 960px; }
.big-line { margin-top: 28px; font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; line-height: 1.18; letter-spacing: -0.025em; }
.big-line span { color: color-mix(in srgb, var(--ink) 18%, transparent); transition: color .4s; }
.big-line span.lit { color: var(--ink); }
.flow { display: flex; align-items: center; gap: 0; margin: 40px 0 8px; flex-wrap: wrap; row-gap: 12px; }
.node { padding: 12px 18px; border-radius: 16px; background: var(--card); font-weight: 800; box-shadow: var(--shadow); }
.node-main { background: var(--ink); color: var(--cream); }
.node-off { background: transparent; box-shadow: none; border: 2px dashed var(--border); color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 2px; }
.pipe { position: relative; width: 90px; height: 3px; background: var(--border); margin: 0 6px; overflow: hidden; border-radius: 2px; }
.pipe b { position: absolute; top: -2.5px; left: -10px; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); animation: flow 2.4s linear infinite; }
.pipe b:nth-child(2) { animation-delay: .8s; } .pipe b:nth-child(3) { animation-delay: 1.6s; }
@keyframes flow { to { left: 100%; } }
.pipe-cut { background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 12px); }
.privacy .lead { margin-top: 28px; }
.tenets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; margin-top: 28px; }
.tenets li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.privacy .fine { font-size: 15px; }

/* цена: две карточки, сравнение, спокойные гарантии */
.pricing { padding-top: clamp(40px, 6vw, 80px); }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }
.plans { display: grid; grid-template-columns: 1fr 1.08fr; gap: 22px; align-items: stretch; }
.plan { position: relative; padding: 36px; border-radius: 34px; background: var(--card); box-shadow: 0 30px 60px -45px rgba(51, 48, 42, .5); overflow: hidden; }
.plan h3 { font-size: 20px; }
.plan-pet { position: absolute; right: 18px; top: 14px; width: 130px; animation: breathe 4.5s ease-in-out infinite; transform-origin: 50% 90%; }
.price { margin-top: 18px; font-size: clamp(40px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.price-sub { margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--ink-3); }
.price-note { display: inline-block; margin-top: 14px; padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 800; background: color-mix(in srgb, var(--sage) 25%, transparent); color: #CFE6D6; }
.plan ul { margin-top: 26px; display: grid; gap: 12px; }
.plan li { padding-left: 30px; position: relative; font-weight: 600; }
.plan li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 14px; height: 8px; border-left: 2.5px solid var(--sage-ink); border-bottom: 2.5px solid var(--sage-ink); transform: rotate(-45deg); }
.plan-prem { background: linear-gradient(160deg, #3A3358 0%, var(--night) 55%, #221E36 100%); color: var(--night-ink); box-shadow: 0 50px 90px -40px rgba(43, 38, 67, .75); }
.plan-prem .stars i { opacity: .45; }
.plan-prem .plan-pet { width: 150px; filter: drop-shadow(0 0 30px color-mix(in srgb, var(--sun) 50%, transparent)); }
.plan-prem .price-sub { color: rgba(247, 241, 229, .6); }
.plan-prem li::before { border-color: #9CCBAA; }
.plus { margin-top: 22px; font-size: 14px; font-weight: 700; color: rgba(247, 241, 229, .6); }
.plan-prem ul { margin-top: 12px; }
.prem-viz { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: center; margin-top: 26px; padding: 14px 16px; border-radius: 18px; background: rgba(247, 241, 229, .06); }
.prem-viz svg { width: 100%; height: 50px; fill: none; stroke: #9BB9D6; stroke-width: 2.5; stroke-linecap: round; }
.fbars { display: grid; gap: 6px; }
.fbars i { display: block; height: 7px; width: var(--w); border-radius: 4px; background: #8FBF9F; }
.fbars i:nth-child(even) { background: #C97A6C; opacity: .8; }
.renew { margin-top: 18px; font-size: 13px; line-height: 1.5; color: rgba(247, 241, 229, .55); }
.cmp { margin-top: 48px; padding: 28px 32px; border-radius: 28px; background: var(--card); }
.cmp h3 { font-size: 20px; margin-bottom: 8px; }
.cmp table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 0; }
.cmp th, .cmp td { padding: 13px 10px; border-bottom: 1px solid var(--border); text-align: left; background: none; }
.cmp thead th { font-weight: 800; color: var(--ink-3); font-size: 13px; }
.cmp tbody th { font-weight: 600; width: 46%; }
.cmp td { color: var(--ink-2); font-weight: 600; }
.cmp td:last-child { color: var(--ink); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.tick { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: color-mix(in srgb, var(--sage) 25%, transparent); fill: none; stroke: var(--sage-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.reassure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.reassure li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.reassure svg { width: 40px; height: 40px; padding: 9px; border-radius: 14px; background: var(--card); fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; box-shadow: 0 8px 16px -12px rgba(51, 48, 42, .4); }
.cta-row.center { justify-content: center; margin-top: 36px; }

/* вопросы */
.faq { padding-top: 0; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 28px; width: 10px; height: 10px; border-right: 2.5px solid var(--ink-3); border-bottom: 2.5px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 32px; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 64ch; }

/* финал: рассвет, сияющая Мисо */
.final { position: relative; padding-bottom: clamp(150px, 16vw, 210px); background: linear-gradient(180deg, var(--cream), color-mix(in srgb, #F2C79E 35%, var(--cream)) 60%, var(--wash-pink)); text-align: center; overflow: hidden; }
.final-box { position: relative; display: grid; justify-items: center; }
.final-sun { position: absolute; top: -40px; left: 50%; width: 460px; height: 460px; margin-left: -230px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--sun) 80%, white), color-mix(in srgb, var(--sun) 35%, transparent) 45%, transparent 70%); animation: glow 7s ease-in-out infinite alternate; }
.final .final-pet { position: relative; width: 220px; margin-bottom: 12px; animation: breathe 4.5s ease-in-out infinite; transform-origin: 50% 90%; }
.final .f1 { left: 34%; top: 8%; } .final .f2 { right: 33%; top: 22%; width: 12px; animation-delay: 1s; } .final .f3 { left: 38%; top: 44%; width: 10px; animation-delay: 2s; }
.final h2, .final p, .final .cta-row { position: relative; }
.final p { margin-top: 14px; color: var(--ink-2); font-size: 19px; }
.final .cta-row { justify-content: center; }
.foot { position: relative; overflow: visible; margin: calc(-1 * clamp(28px, 4vw, 48px)) 0 0; z-index: 1; border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0; background: radial-gradient(120% 80% at 85% 0%, #3A3358 0%, var(--night) 60%); color: var(--night-ink); padding: 72px 0 40px; }
.foot .stars { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.foot .stars i { opacity: .5; }
.foot-night { position: absolute; right: 24px; top: -190px; width: 270px; text-align: center; z-index: 2; }
.foot-night .pet-img { width: 100%; animation: breathe 5s ease-in-out infinite; transform-origin: 50% 85%; }
.foot-say { position: absolute; right: 78%; top: 70px; width: max-content; max-width: 220px; padding: 10px 14px; border-radius: 16px; background: #FFFFFF; color: #33302A; font-size: 14px; font-weight: 700; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .4); }
.foot .wrap { position: relative; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-top: 24px; }
.foot .brand { color: var(--night-ink); padding: 0; font-size: 22px; }
.foot .brand img { width: 42px; height: 42px; }
.foot-brand p { margin-top: 14px; max-width: 26ch; color: rgba(247, 241, 229, .7); font-weight: 600; }
.foot-brand .store { margin-top: 20px; }
.store-light { background: var(--night-ink); color: var(--ink); }
.foot h3 { font-size: 13px; font-weight: 800; color: rgba(247, 241, 229, .55); margin-bottom: 14px; letter-spacing: 0; }
.foot ul { display: grid; gap: 10px; }
.foot ul a { text-decoration: none; font-weight: 600; color: rgba(247, 241, 229, .88); }
.foot ul a:hover, .foot ul a[aria-current] { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--pink); }
.foot-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(247, 241, 229, .12); display: grid; gap: 8px; font-size: 13px; color: rgba(247, 241, 229, .5); max-width: 90ch; }

/* планшет */
@media (max-width: 980px) {
  .anchors { display: none; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .hero-grid, .need-grid, .split { grid-template-columns: 1fr; }
  .hero-art { margin-top: 24px; }
  .hc-recovery { left: -4%; }
  .hc-sleep { right: -6%; }
  .metrics-grid { grid-template-columns: 1fr; gap: 0; }
  .metrics-phone { display: none; }
  .metric, .metric:first-child { min-height: 0; padding: 40px 0; }
  .m-shot { display: block; margin-top: 28px; max-width: 320px; }
  .states { grid-template-columns: repeat(2, 1fr); }
  .toy { grid-template-columns: 1fr; }
  .fcards { grid-template-columns: 1fr; }
  .impact li { grid-template-columns: 8em 1fr 2.6em; }
  .say-card { left: 0; right: 0; max-width: none; }
  .impact-pet { width: 110px; }
  .watches { grid-template-columns: repeat(2, 1fr); max-width: 520px; }
  .need-art { margin-top: 12px; }
}

/* телефон */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top { top: 10px; padding: 0 12px; }
  .tabbar { width: 100%; justify-content: space-between; }
  .tabbar .store-sm { display: none; }
  .foot-night { width: 170px; top: -120px; right: 8px; }
  .foot-say { right: 70%; top: 40px; font-size: 13px; }
  .foot-grid { padding-top: 40px; }
  .device { width: 240px; }
  .hero-card { padding: 9px 12px; border-radius: 16px; column-gap: 8px; }
  .hc-value { font-size: 19px; }
  .hc-recovery { left: 0; top: 6%; }
  .hc-sleep { right: 0; top: 46%; }
  .hc-stress { left: 2%; bottom: 6%; }
  .hc-curve { width: 70px; }
  .bubble { max-width: 200px; font-size: 14px; }
  .steps, .deep-grid, .plans, .tenets, .reassure { grid-template-columns: 1fr; }
  .plan { padding: 28px 24px; }
  .plan-pet { position: static; float: right; width: 86px !important; margin: -10px -8px 4px 8px; }
  .price { font-size: 36px; }
  .cmp { padding: 18px; }
  .cmp tbody th { width: 40%; }
  .steps .pet-img { width: 150px; height: 150px; }
  .journey { background: linear-gradient(180deg, #2B2643 0%, #4E4775 26%, #C9A9B8 50%, #F2C79E 72%, #FBEFD6 100%); padding-top: 72px; }
  .journey-path { display: none; }
  .steps li:nth-child(2) h3 { color: var(--ink); }
  .states { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pipe { width: 36px; }
  .node { padding: 10px 12px; font-size: 14px; }
  .tbars { height: 170px; gap: 6px; }
  .phone-crop { margin-bottom: -140px; max-width: 260px; }
  .lead, .need-copy p, .split-copy > p:first-of-type { font-size: 17px; }
  .plan { padding: 24px; }
  .faq summary { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone-layer, .bubble, .top { transition: none; }
  .sun, .spark, .hero-card, .stars i, .zz i, .pipe b, .final-sun, .pet-img, .toy-img { animation: none !important; }
  .nc-bars i, .it-bar i, .tbars i, .zone i, .big-line span, .fb i, .zl { transition: none; }
}

/* ссылки на статьи из лендинга */
.guide-link { display: inline-block; margin-top: 18px; font-weight: 700; font-size: 16px; color: var(--blue-ink); text-underline-offset: 3px; }
.need .guide-link { color: #9BB9D6; }
.foot-guides { margin-top: 12px; }

/* статьи */
.article { padding-top: calc(96px + clamp(24px, 4vw, 48px)); }
.article h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; }
.article .lead { font-size: clamp(18px, 1.8vw, 21px); }
.prose { margin-top: 40px; padding-bottom: 72px; }
.prose h2 { font-size: clamp(24px, 2.8vw, 32px); margin: 48px 0 14px; }
.prose p { font-size: 18px; line-height: 1.65; margin-top: 14px; max-width: 68ch; }
.prose .fine { font-size: 14px; }
.prose-list { margin-top: 14px; display: grid; gap: 10px; }
.prose-list li { position: relative; padding-left: 24px; font-size: 18px; line-height: 1.6; max-width: 66ch; }
.prose-list li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.table-wrap { margin-top: 20px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border); }
thead th { background: var(--tabbar); font-weight: 700; }
tbody th { font-weight: 700; width: 22%; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td:nth-child(2) { background: color-mix(in srgb, var(--sage) 8%, var(--card)); }
.article-promo { background: var(--wash-mint); }
.article-promo .split-copy > p:first-of-type { margin-top: 16px; }
.more-h { margin-top: 56px; font-size: 24px; }
.more { margin-top: 14px; display: grid; gap: 10px; }
.more a { font-weight: 700; font-size: 18px; color: var(--blue-ink); text-underline-offset: 3px; }

/* калькулятор долга сна */
.calc { margin-top: 8px; padding: clamp(20px, 3vw, 32px); border-radius: 28px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); }
.calc-label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.calc-field { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.calc input[type="number"] { width: 92px; padding: 10px 12px; font: 600 18px/1.2 var(--font); color: var(--ink); background: var(--cream); border: 1.5px solid var(--border); border-radius: 12px; }
.calc input[type="number"]:focus { border-color: var(--blue-ink); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 45%, transparent); }
.calc-usual .fine { margin-top: 8px; }
.calc-nights { border: 0; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.calc-nights legend { padding: 0; }
.calc-night { display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
.calc-night input[type="number"] { width: 100%; padding: 10px 8px; text-align: center; }
.calc-check { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 600; }
.calc-check input { width: 20px; height: 20px; accent-color: var(--blue-ink); }
.calc-out { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-out div { padding: 16px 18px; border-radius: var(--r-card); background: color-mix(in srgb, var(--blue) 18%, var(--cream)); }
.calc-out span { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.calc-out b { display: block; margin-top: 4px; font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; color: var(--blue-ink); }

@media (max-width: 640px) {
  .calc-nights { grid-template-columns: repeat(4, 1fr); }
  .calc-out { grid-template-columns: 1fr; }
  .prose p, .prose-list li { font-size: 17px; }
}

/* в приватности главная фраза крупная, заголовок секции тише */
.privacy h2 { font-size: clamp(20px, 2vw, 24px); color: var(--sage-ink); letter-spacing: -0.01em; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* теги журнала двумя встречными лентами */
@keyframes slide { to { transform: translateX(calc(-50% - 4px)); } }
.tag-marquee { margin-top: 12px; display: grid; gap: 10px; max-width: 600px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tag-track { display: flex; gap: 8px; width: max-content; animation: slide 36s linear infinite; }
.r1 .tag-track { animation-direction: reverse; animation-duration: 42s; }
.tag-track span { display: inline-block; padding: 8px 14px; border-radius: 12px; background: var(--card); font-size: 15px; font-weight: 600; color: var(--ink-2); white-space: nowrap; box-shadow: 0 6px 14px -10px rgba(51, 48, 42, .4); }
.tag-track span::first-letter { text-transform: uppercase; }

@media (max-width: 980px) {
}
@media (prefers-reduced-motion: reduce) {
  .tag-track { animation: none; }
}

/* грид-колонки не растягиваются под бегущие ленты */
.split > *, .hero-grid > *, .need-grid > *, .deep-grid > *, .metrics-grid > * { min-width: 0; }
.tag-marquee { max-width: 100%; }


/* движение в нижних блоках: у каждого своё */
@media (prefers-reduced-motion: no-preference) {
  /* карточки по очереди выезжают снизу */
  .rise > * { opacity: 0; transform: translateY(36px); transition: opacity .7s, transform .9s cubic-bezier(.2, .8, .2, 1); }
  .rise > *:nth-child(2) { transition-delay: .14s; } .rise > *:nth-child(3) { transition-delay: .28s; }
  .rise.is-in > * { opacity: 1; transform: none; }

  /* таблица сравнения: строки и галочки строка за строкой */
  .cmp tbody tr { opacity: 0; transform: translateX(-12px); transition: opacity .45s, transform .5s cubic-bezier(.2, .8, .2, 1); }
  .cmp.is-in tbody tr { opacity: 1; transform: none; }
  .cmp tbody tr:nth-child(2) { transition-delay: .06s; } .cmp tbody tr:nth-child(3) { transition-delay: .12s; } .cmp tbody tr:nth-child(4) { transition-delay: .18s; }
  .cmp tbody tr:nth-child(5) { transition-delay: .24s; } .cmp tbody tr:nth-child(6) { transition-delay: .3s; } .cmp tbody tr:nth-child(7) { transition-delay: .36s; } .cmp tbody tr:nth-child(8) { transition-delay: .42s; }
  .cmp .tick path { stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .4s ease-out .5s; }
  .cmp.is-in .tick path { stroke-dashoffset: 0; }

  /* гарантии и особые дни: всплывают с пружинкой */
  .pop > * { opacity: 0; transform: translateY(20px) scale(.92); transition: opacity .5s, transform .6s cubic-bezier(.3, 1.5, .5, 1); }
  .pop > *:nth-child(2) { transition-delay: .1s; } .pop > *:nth-child(3) { transition-delay: .2s; } .pop > *:nth-child(4) { transition-delay: .3s; }
  .pop.is-in > * { opacity: 1; transform: none; }
  .states.pop.is-in .polaroid:hover { transform: translateY(-6px); }

  /* приватность: галочки прорисовываются */
  .tenets .ck path { stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .5s ease-out; }
  .tenets li:nth-child(2) .ck path { transition-delay: .15s; } .tenets li:nth-child(3) .ck path { transition-delay: .3s; } .tenets li:nth-child(4) .ck path { transition-delay: .45s; }
  .tenets.is-in .ck path { stroke-dashoffset: 0; }

  /* финал: Мисо подпрыгивает, когда до неё доскроллили */
  .final-box.is-in .final-pet { animation: hop 1s cubic-bezier(.3, 1.6, .5, 1) 1, breathe 4.5s ease-in-out 1s infinite; }

  /* часы потом тихо плавают */
  .watches.is-in .watch { animation: float 6s ease-in-out 1.2s infinite; }
  .watches.is-in .watch:nth-child(2) { animation-delay: 2s; } .watches.is-in .watch:nth-child(3) { animation-delay: 2.8s; } .watches.is-in .watch:nth-child(4) { animation-delay: 3.6s; }
}
@keyframes hop { 0% { transform: translateY(0) scale(1); } 30% { transform: translateY(-26px) scale(1.03, .98); } 55% { transform: translateY(0) scale(1.04, .95); } 75% { transform: translateY(-6px); } 100% { transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* вопросы раскрываются плавно (где браузер умеет анимировать высоту) */
.faq details { interpolate-size: allow-keywords; }
.faq details::details-content { height: 0; overflow: hidden; opacity: 0; transition: height .35s ease, opacity .3s ease, content-visibility .35s allow-discrete; }
.faq details[open]::details-content { height: auto; opacity: 1; }
