/* Страница SplitBill. Система — как у сайта «Мои финансы» (шрифты, сетка, карточки), цвета — палитра «Океан» из
   приложения (core/designsystem/.../theme/Color.kt: глубокий синий и коралл) и цвета долгов: «мне должны», «я должен», расчёт. */

@font-face { font-family: "Unbounded"; font-weight: 300 900; font-display: block; src: url("fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 300 900; font-display: block; src: url("fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: "Golos"; font-weight: 400 900; font-display: block; src: url("fonts/golos-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos"; font-weight: 400 900; font-display: block; src: url("fonts/golos-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: "Receipt"; font-weight: 500; font-display: block; src: url("fonts/jetbrains-mono-cyrillic-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Receipt"; font-weight: 500; font-display: block; src: url("fonts/jetbrains-mono-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }

:root {
  color-scheme: light dark;
  --mist: #e8eef5;        /* фон страницы */
  --surface: #ffffff;
  --ink: #0a2540;
  --muted: #4a6078;
  --line: #c8d5e3;
  --navy: #1f4e79;        /* верхняя панель «Океана» */
  --deep: #14304a;
  --deeper: #0b1f33;
  --coral: #d13c0c;       /* акцент «Океана» — только действие */
  --coral-fill: #d13c0c;  /* фон под белым текстом, в обеих темах (контраст с белым 4,8:1) */
  --coral-soft: #ee6a3f;
  --owed: #2e7d32;        /* «мне должны» */
  --owe: #c62828;         /* «я должен» */
  --settle: #1565c0;      /* расчёт между участниками */
  --on-deep: #e6eef7;
  --on-deep-muted: #a9bed4;
  --paper: #fffdf8;
  --print: #2a2a2a;
  --display: "Unbounded", "Golos", system-ui, sans-serif;
  --text: "Golos", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Receipt", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --t-sea: #d6e6f5; --t-coral: #ffe3d9; --t-green: #dcefdc; --t-sky: #dbeafb; --t-sand: #f6ead2;
}
@media (prefers-color-scheme: dark) {
  :root { --mist: #07121e; --surface: #0f2133; --ink: #e3ecf5; --muted: #9cb1c6; --line: #213a53; --navy: #9cc7ee; --coral: #ee6a3f;
    --owed: #66bb6a; --owe: #f05f5c; --settle: #42a5f5;
    --t-sea: #12304d; --t-coral: #3d1d12; --t-green: #15301a; --t-sky: #122a48; --t-sand: #352a14; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--coral-soft); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Шапка — продолжение первого экрана */
.top { background: var(--deeper); color: var(--on-deep); }
.top-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 17px/1 var(--display); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav a, .nav-studio, .nav-login { text-decoration: none; color: var(--on-deep-muted); }
.nav a:hover, .nav-studio:hover, .nav-login:hover { color: var(--on-deep); }
/* Ссылка на страницу студии — тихая; кнопка — общий личный кабинет */
.nav-studio { font-size: 15px; white-space: nowrap; margin-right: -12px; }
.nav-login { padding: 8px 16px; border: 1px solid #36597c; border-radius: 999px; color: var(--on-deep); font-size: 15px; white-space: nowrap; }
.testbar { background: #5c1131; color: #ffd9e2; text-align: center; font-size: 14px; padding: 6px 16px; }

/* Первый экран */
.hero { background: linear-gradient(180deg, var(--deeper) 0%, #14304a 100%); color: var(--on-deep); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding: 56px 0 0; }
.hero-text { padding-bottom: 72px; }
.kicker { display: inline-block; margin: 0 0 18px; padding: 4px 12px; border-radius: 999px; background: rgba(238, 106, 63, .16); color: #ffc6b2; font-size: 14px; font-weight: 500; }
h1 { font: 700 clamp(30px, 3.9vw, 46px)/1.1 var(--display); letter-spacing: -0.025em; margin: 0 0 24px; max-width: 12em; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--on-deep-muted); max-width: 31rem; margin: 0 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--text);
  text-decoration: none; border: 0; cursor: pointer; text-align: center; }
.btn-main { background: var(--coral-fill); color: #fff; }
.btn-main:hover { background: #b23309; }
.btn-quiet { color: var(--on-deep); box-shadow: inset 0 0 0 1px #4a6d90; }
.btn-quiet:hover { box-shadow: inset 0 0 0 1px var(--on-deep); }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 28px 0 0; font-size: 14px; color: var(--on-deep-muted); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral-soft); }

.hero-visual { position: relative; align-self: end; justify-self: end; width: min(340px, 100%); margin-right: 24px; }
.hero-visual::before { content: ""; position: absolute; z-index: 0; inset: 8% -30% 10% -10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(238, 106, 63, .30), rgba(238, 106, 63, 0) 70%), radial-gradient(closest-side at 70% 30%, rgba(156, 199, 238, .35), rgba(156, 199, 238, 0) 70%);
  filter: blur(10px); }
.phone { position: relative; background: #050f19; padding: 9px; border-radius: 38px; box-shadow: 0 0 0 1px #24425f, 0 40px 80px -30px rgba(2, 10, 20, .7); }
.phone img { border-radius: 30px; }
.phone-hero { margin-bottom: -120px; z-index: 1; }

/* Чек, разрезанный на две части: сверху позиции, снизу — кто кому */
.receipt { position: absolute; z-index: 2; left: -30%; bottom: 96px; width: 262px; transform: rotate(-4deg); filter: drop-shadow(0 18px 24px rgba(2, 10, 20, .45)); }
.receipt-paper, .receipt-stub { --zig: 8px; background: var(--paper); color: var(--print); font: 500 12.5px/1.55 var(--mono); }
.receipt-paper { padding: 18px 18px calc(var(--zig) + 12px); animation: print 1.1s cubic-bezier(.2, .7, .2, 1) .35s both;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zig)) 100%; }
.receipt-stub { padding: calc(var(--zig) + 10px) 18px 16px; margin-top: 6px; transform: translate(14px, 10px) rotate(5deg);
  mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zig)) 100%;
  animation: tear .7s cubic-bezier(.3, .7, .2, 1) 1.45s both; }
.receipt p { margin: 0; }
.r-center { text-align: center; letter-spacing: 0.06em; }
.r-small { font-size: 11px; color: #6b6b6b; letter-spacing: 0.02em; margin-bottom: 4px !important; }
.r-rule { border-top: 1.5px dashed #9a9a9a; margin: 8px 0 !important; }
.r-line { display: flex; gap: 6px; white-space: nowrap; }
.r-line span:first-child { flex: 1; overflow: hidden; }
.r-line span:first-child::after { content: " ............................................"; color: #9a9a9a; }
.r-total { font-size: 15px; }
.r-total span:first-child::after { content: ""; }
.r-note { font-size: 11.5px; color: #4a4a4a; }
.r-head { font-size: 11px; letter-spacing: .08em; color: #6b6b6b; margin-bottom: 4px !important; }
.r-pay span:last-child { color: #0d4f9e; }
@keyframes print {
  from { clip-path: inset(0 0 100% 0); transform: translateY(-18px); }
  to { clip-path: inset(0 0 -40px 0); transform: translateY(0); }
}
@keyframes tear {
  from { opacity: 0; transform: translate(0, -8px) rotate(0deg); }
  to { opacity: 1; transform: translate(14px, 10px) rotate(5deg); }
}

/* Заголовки разделов */
.section-title { font: 600 clamp(26px, 3.3vw, 40px)/1.12 var(--display); letter-spacing: -0.02em; margin: 0 0 20px; text-wrap: balance; }
h3 { font: 600 clamp(20px, 2vw, 24px)/1.25 var(--display); letter-spacing: -0.015em; margin: 0 0 14px; text-wrap: balance; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }

/* Возможности: телефон и текст по очереди слева и справа */
.features { padding: 96px 0 40px; }
.feature { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 7vw, 96px); align-items: center; margin: 72px 0 0; }
.feature:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) 280px; }
.feature:nth-of-type(even) .phone { order: 2; }
.feature .phone { isolation: isolate; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -32px rgba(10, 37, 64, .55); }
.feature .phone::before { content: ""; position: absolute; z-index: -1; inset: 8% -18% -6% -18%; border-radius: 44px; background: var(--tone); }
.feature-text { max-width: 31rem; }
.feature-text p { color: var(--muted); }
.feature:nth-of-type(even) .feature-text { justify-self: end; }
.feature.tone-sea { --tone: var(--t-sea); } .feature.tone-coral { --tone: var(--t-coral); } .feature.tone-green { --tone: var(--t-green); }
.feature.tone-sky { --tone: var(--t-sky); } .feature.tone-sand { --tone: var(--t-sand); }
.f-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 14px; background: var(--tone); }
.i { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.f-ic .i { width: 28px; height: 28px; color: var(--ink); }
.split-ways { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 4px 0 16px; }
.split-ways li { padding: 4px 12px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--ink); }

/* «И ещё» — плитки */
.extras { margin: 112px 0 0; padding-top: 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 7vw, 96px); }
.extras ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.extras li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; color: var(--muted); }
.extras li .i { width: 26px; height: 26px; flex: none; margin-top: 1px; color: var(--navy); transition: transform .3s cubic-bezier(.2, .7, .2, 1.3); }
.extras strong { display: block; color: var(--ink); font-weight: 600; }
.extras li span { display: block; }

/* Приватность */
.privacy { background: var(--deep); color: var(--on-deep); padding: 96px 0; margin-top: 96px; }
@media (prefers-color-scheme: dark) { .privacy { background: #0c1d2e; } }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; }
.privacy .section-title { max-width: 7.6em; }
.privacy-intro { color: var(--on-deep-muted); max-width: 22rem; }
.privacy-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
.privacy-list dt { font: 600 18px/1.3 var(--display); margin-bottom: 8px; }
.privacy-list dd { margin: 0; color: var(--on-deep-muted); }

/* Premium */
.premium { padding: 104px 0 24px; }
.premium-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.premium-text { max-width: 30rem; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.plan { background: var(--surface); border-radius: 22px; padding: 22px 22px 18px; box-shadow: inset 0 0 0 1px var(--line); }
.plan-best { position: relative; box-shadow: inset 0 0 0 2px var(--coral); background: linear-gradient(160deg, var(--surface) 0%, var(--surface) 55%, var(--t-coral) 100%); }
.plan-best::after { content: "выгоднее"; position: absolute; top: -10px; right: 16px; background: var(--coral-fill); color: #fff; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.plan-name { font-weight: 600; margin: 0 0 6px; }
.plan-price { font: 700 clamp(28px, 3vw, 36px)/1.1 var(--display); letter-spacing: -0.02em; margin: 0 0 6px; }
.plan-note { color: var(--muted); font-size: 14px; margin: 0; }
.plans-cta { grid-column: 1 / -1; }
.plans-soon { grid-column: 1 / -1; margin: 0; padding: 14px 18px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.trial-note { display: inline-block; padding: 10px 16px; border-radius: 14px; background: var(--t-sea); font-weight: 500; }
.family-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 15px; }

/* Вопросы */
.faq { padding: 96px 0 24px; }
.faq-wrap > * { max-width: 760px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 18px; }
summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 26px/1 var(--display); color: var(--coral); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); max-width: 40rem; margin: -4px 0 20px; }
details a { color: var(--ink); }

/* Финальная полоса */
.get { padding: 64px 0 88px; }
.get-band { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; padding: 32px 36px; border-radius: 28px; color: #fff;
  background: linear-gradient(120deg, #0b1f33 0%, #1f4e79 50%, #a8340d 100%); }
.get-band .section-title { color: #fff; margin-bottom: 8px; }
.get-band p { color: #e3dcd8; margin: 0; max-width: 34rem; }
.get-icon { width: 88px; height: 88px; border-radius: 24px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); }
.get-text { flex: 1 1 320px; }
.btn-light { background: #fff; color: #0b1f33; }
.btn-light:hover { background: #ffe3d9; }

/* Подвал */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-nav a { color: var(--muted); }
.foot-nav a:hover { color: var(--ink); }

/* Планшеты и телефоны */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-studio, .nav-login { margin-left: auto; }
  .nav-studio + .nav-login { margin-left: 0; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 32px; gap: 8px; }
  .hero-text { padding-bottom: 24px; }
  .hero-visual { width: min(290px, 70%); justify-self: end; margin-right: 4%; }
  .receipt { left: -62%; bottom: 80px; width: 236px; }
  .features { padding-top: 72px; }
  .feature, .feature:nth-of-type(even) { grid-template-columns: 1fr; gap: 28px; margin-top: 64px; }
  .feature:nth-of-type(even) .phone { order: 0; }
  .feature:nth-of-type(even) .feature-text { justify-self: start; }
  .feature .phone { width: min(260px, 72%); }
  .extras { grid-template-columns: 1fr; gap: 16px; }
  .privacy-grid, .premium-grid { grid-template-columns: 1fr; gap: 28px; }
  .privacy .section-title { max-width: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top-row { gap: 12px; }
  .nav-studio { display: none; }
  .nav-login, .nav-studio + .nav-login { margin-left: auto; padding: 7px 12px; font-size: 14px; }
  .extras ul, .privacy-list, .plans { grid-template-columns: 1fr; }
  .hero-visual { width: min(250px, 66%); margin-right: 0; }
  .receipt { left: -50%; width: 196px; bottom: 64px; }
  .receipt-paper, .receipt-stub { font-size: 10px; }
  .receipt-paper { padding: 12px 12px calc(var(--zig) + 8px); }
  .receipt-stub { padding: calc(var(--zig) + 6px) 12px 12px; }
  .r-total { font-size: 12.5px; }
  .get-band { padding: 24px; }
  .get-icon { width: 64px; height: 64px; }
  .cta-row .btn { flex: 1 1 auto; }
}

/* --- Движение. Только CSS (скрипты запрещены политикой безопасности). Всё — через transform и opacity, поэтому
   соседние блоки не сдвигаются. При «Уменьшить движение» остаются только смены цвета. --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .receipt-paper, .receipt-stub { animation: none; }
}

/* Отклик на наведение и нажатие */
.extras li, .btn, .plan, .nav-login { transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease, background-color .2s ease, color .2s ease; }
.btn:active, .nav-login:active { transform: translateY(1px) scale(.98); transition-duration: .08s; }
.nav a { background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .3s ease, color .2s ease; }
.nav a:hover, .nav a:focus-visible { background-size: 100% 1.5px; }
.brand img { transition: transform .4s cubic-bezier(.2, .7, .2, 1.3); }
.faq summary { transition: color .2s ease; }
.split-ways li { transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
@media (hover: hover) {
  .brand:hover img { transform: rotate(-8deg) scale(1.06); }
  .nav-login:hover { background-color: rgba(255, 255, 255, .08); }
  .extras li:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -22px rgba(10, 37, 64, .55); }
  .extras li:hover .i { transform: scale(1.12) rotate(-6deg); }
  .plan:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 20px 36px -24px rgba(10, 37, 64, .5); }
  .plan-best:hover { box-shadow: inset 0 0 0 2px var(--coral), 0 20px 36px -22px rgba(209, 60, 12, .45); }
  .btn:hover { transform: translateY(-2px); }
  .btn-main:hover { box-shadow: 0 12px 22px -14px var(--coral-fill); }
  .feature .phone img { transition: transform .4s ease; }
  .feature:hover .phone img { transform: scale(1.015); }
  .faq summary:hover { color: var(--coral); }
  .split-ways li:hover { background-color: var(--coral-fill); color: #fff; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .extras li, .btn, .plan, .nav-login, .brand img, .extras li .i { transition-property: background-color, color, box-shadow; }
  .feature .phone img { transition: none; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Первый экран: текст поднимается по очереди, пока печатается чек и отрывается корешок «кто кому» */
  .hero-text > * { animation: rise-in .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: .1s; }
  .hero-text > :nth-child(3) { animation-delay: .2s; }
  .hero-text > :nth-child(4) { animation-delay: .3s; }
  @keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .phone-hero { animation: phone-in 1s cubic-bezier(.2, .7, .2, 1) both, float 7s ease-in-out 2.2s infinite; }
  @keyframes phone-in { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
  @keyframes float { 50% { transform: translateY(-10px); } }

  /* Суммы на корешке подсвечиваются по очереди, когда он оторвался */
  .r-pay span:last-child { animation: amount .9s ease-out both; }
  .r-pay:nth-of-type(2) span:last-child { animation-delay: 2.1s; }
  .r-pay:nth-of-type(3) span:last-child { animation-delay: 2.35s; }
  @keyframes amount { from { background-color: rgba(13, 79, 158, .25); } to { background-color: transparent; } }

  /* Свечение за телефоном медленно перетекает */
  .hero-visual::before { animation: glow 16s ease-in-out infinite alternate; }
  @keyframes glow { 50% { transform: translate(-8%, 6%) scale(1.08) rotate(8deg); } to { transform: translate(6%, -4%) scale(.96) rotate(-6deg); } }

  .hero-facts li::before { animation: blink .5s ease-out both; }
  .hero-facts li:nth-child(1)::before { animation-delay: .9s; }
  .hero-facts li:nth-child(2)::before { animation-delay: 1.05s; }
  .hero-facts li:nth-child(3)::before { animation-delay: 1.2s; }
  @keyframes blink { from { transform: scale(0); } 60% { transform: scale(1.8); } to { transform: none; } }

  /* Появление при прокрутке. translate и rotate — отдельными свойствами, чтобы не спорить с transform при наведении */
  @supports (animation-timeline: view()) {
    .feature .feature-text, .extras li, .privacy-list > div, .premium .plan, .faq details, .get-band {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 5% cover 28%;
    }
    .extras li:nth-child(even), .privacy-list > div:nth-child(even) { animation-range: entry 10% cover 32%; }
    .feature .phone { animation: from-left linear both; animation-timeline: view(); animation-range: entry 5% cover 30%; }
    .feature:nth-of-type(even) .phone { animation-name: from-right; }
    @keyframes rise { from { opacity: 0; translate: 0 42px; } to { opacity: 1; translate: none; } }
    @keyframes from-left { from { opacity: 0; translate: -60px 0; rotate: -3deg; } to { opacity: 1; translate: none; rotate: none; } }
    @keyframes from-right { from { opacity: 0; translate: 60px 0; rotate: 3deg; } to { opacity: 1; translate: none; rotate: none; } }

    /* Цветная подложка за телефоном отстаёт от него при прокрутке */
    .feature .phone::before { animation: lag linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes lag { from { translate: 0 48px; } to { translate: 0 -48px; } }

    /* Значок возможности прорисовывается линией, способы деления выкладываются по одному */
    .feature .f-ic { animation: pop linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
    .feature .f-ic .i > * { stroke-dasharray: 1; animation: draw linear both; animation-timeline: view(); animation-range: entry 20% cover 42%; }
    .split-ways li { animation: pop linear both; animation-timeline: view(); animation-range: entry 30% cover 45%; }
    .split-ways li:nth-child(2) { animation-range: entry 34% cover 48%; } .split-ways li:nth-child(3) { animation-range: entry 38% cover 51%; }
    .split-ways li:nth-child(4) { animation-range: entry 42% cover 54%; } .split-ways li:nth-child(5) { animation-range: entry 46% cover 57%; }
    @keyframes pop { from { opacity: 0; scale: .6; rotate: -12deg; } to { opacity: 1; scale: none; rotate: none; } }
    @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  }

  @supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    details::details-content { height: 0; overflow: clip; transition: height .3s ease, content-visibility .3s allow-discrete; }
    details[open]::details-content { height: auto; }
  }
}
