/* ==========================================================================
   Parelio by SP4 · мягкий лендинг: «Вы разные. Вот где именно.» (до 01.10.2026 — SP4 Couples)
   Настроение: тёплый вечерний свет — персик → роза → слива → ночь.
   Мотив: два света (тёплый янтарь и сирень — двое в паре), которые то расходятся, то встречаются.
   Телефон первым: 390×844 и 360×740. Без сердечек, без стоковых фото.
   ========================================================================== */

:root {
  color-scheme: light;

  --ink:        #3A1E2C;
  --ink-2:      #5A3446;
  --ink-soft:   rgba(58, 30, 44, .7);
  --ink-mute:   rgba(58, 30, 44, .52);
  --cream:      #FFF4EC;
  --cream-soft: rgba(255, 244, 236, .74);
  --cream-mute: rgba(255, 244, 236, .52);
  --plum-ink:   #2B1531;

  --amber: #FFB27E;   /* свет одного */
  --lilac: #BFA3F2;   /* свет другого */
  --rose:  #EE8E9C;
  --honey: #F6C77A;

  --paper:      rgba(255, 250, 246, .74);
  --glass:      rgba(255, 250, 246, .42);
  --glass-line: rgba(255, 255, 255, .66);

  --shadow-card:
    0 1px 0 rgba(255, 255, 255, .85) inset,
    0 -1px 0 rgba(160, 90, 110, .08) inset,
    0 50px 90px -46px rgba(96, 36, 70, .62),
    0 16px 34px -22px rgba(96, 36, 70, .4);
  --shadow-soft: 0 24px 50px -30px rgba(96, 36, 70, .5);

  --serif: 'Cormorant Garamond', 'PT Serif', Georgia, 'Times New Roman', serif;
  --sans:  'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease:      cubic-bezier(.22, .8, .24, 1);

  --gutter: 18px;
  --maxw: 1040px;
  --section-gap: clamp(76px, 12vw, 132px);
  --h2: clamp(2.35rem, 1.6rem + 3.2vw, 3.8rem);

  /* Небо — часть документа: верх и низ неба; тот же цвет у html (виден над началом и под концом страницы) */
  --sky-top: #FCE2CF;
  --sky-end: #1C0F22;
  /* место, которое занимает шапка-капсула над первым экраном: отступ 10 + высота 52 */
  --top-h: 62px;

  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .24 0 0 0 0 .1 0 0 0 0 .16 0 0 0 .16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --grain-light: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .92 0 0 0 .1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* --------------------------------------------------------------------- *
   Сброс и основа
   --------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px;
  /* Цвет «холста» — Safari показывает его над началом страницы (и в зоне статус-бара при прокрутке 0)
     и под её концом. Вверху — верх неба, у низа — низ неба (переключает JS). */
  background-color: var(--sky-top);
}
body {
  position: relative; /* небо (.sky) растянуто на всю высоту body */
  margin: 0;
  min-width: 320px;
  background: transparent;
  color: var(--ink);
  font: 400 1.03rem / 1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
em { font-style: italic; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(255, 178, 126, .45); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 50%; top: 8px; z-index: 100; translate: -50% -160%;
  padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--cream); text-decoration: none;
  transition: translate .2s ease;
}
.skip-link:not(:focus) { opacity: 0; pointer-events: none; }
.skip-link:focus { translate: -50% 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--mid { max-width: 720px; }

.section { position: relative; padding-block: var(--section-gap); }
.tone-dark { color: var(--cream); }
/* без JS небо не темнеет: тёмным блокам — свой вечер */
.no-js .tone-dark { background: #33193B; } /* один тон на все тёмные блоки: без швов между ними */
.no-js .privacy { background: linear-gradient(180deg, #6A3A66 0%, #33193B 60%); }
.no-js .site-footer { background: #1E1022; }

.h2 { font: 500 var(--h2) / 1.02 var(--serif); letter-spacing: -.015em; }
.h2 em, .final__title em { font-weight: 500; }
.h2 em { display: block; font-style: italic; } /* вторая строка заголовка — курсивом */
.eyebrow {
  margin: 0 0 14px;
  font: 500 .76rem / 1.3 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.tone-dark .eyebrow { color: var(--cream-mute); }

/* иконки из спрайта — контурные */
.btn svg, .share__opt svg, .c-shared__lock, .link-btn svg {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* --------------------------------------------------------------------- *
   Небо — фон самого документа: едет вместе со страницей
   --------------------------------------------------------------------- */

/* Safari 26 (iOS) не рисует фиксированные слои под статус-баром и нижней панелью. Если у края
   экрана стоит фиксированный элемент во всю ширину, он заливает эти зоны сплошным цветом.
   Поэтому на сайте нет фиксированных слоёв у краёв: небо — обычный фон документа во всю его
   высоту, шапка — парящая капсула с отступом сверху. Тогда под «стеклом» панелей Safari
   просвечивает сама страница — тот же фон и тот же контент, что рядом.
   Цвет по вертикали: на главной soft.js ставит градиент с точками на уровне блоков
   (тон блока — data-sky, как раньше «вечер» темнел по прокрутке). Ниже — запасной градиент без JS. */
.sky {
  position: absolute;
  inset: 0;
  z-index: -1; overflow: hidden; overflow: clip; pointer-events: none;
  background-color: var(--sky-top);
  background-image: linear-gradient(to bottom,
    #FCE2CF 0, #F7BCAD 9%, #EDB0AB 16%, #E6A1A8 24%, #CF8E94 34%,
    #7A4677 44%, #6A3D6A 52%, #573260 60%, #2B1734 70%, #2B1734 92%, #1C0F22 100%);
}
/* тёплая дымка у верха первого экрана (бывший блик слоя «персик») */
.sky__dawn {
  position: absolute; top: 0; left: 0; right: 0; height: 100vh; height: 100svh;
  background: radial-gradient(110% 55% at 85% -5%, rgba(255, 238, 220, .95) 0%, rgba(255, 238, 220, 0) 62%);
}
.sky__light {
  position: absolute;
  width: 110vmax;
  height: 110vmax;
  border-radius: 50%;
  will-change: transform;
}
/* два света: a — у верха (первый экран), b — ниже, в районе второго-третьего экрана */
.sky__light--a {
  top: -48vmax; left: -52vmax;
  background: radial-gradient(circle, rgba(255, 183, 128, .62) 0%, rgba(255, 183, 128, .2) 34%, rgba(255, 183, 128, 0) 62%);
  animation: drift-a 28s ease-in-out infinite alternate;
}
.sky__light--b {
  top: calc(200vh - 55vmax); right: -58vmax;
  background: radial-gradient(circle, rgba(196, 162, 246, .55) 0%, rgba(196, 162, 246, .18) 34%, rgba(196, 162, 246, 0) 62%);
  animation: drift-b 34s ease-in-out infinite alternate;
}
.sky__grain { position: absolute; inset: 0; background-image: var(--grain); opacity: .85; }
/* У самого начала и конца документа небо ровного цвета — того же, что у html:
   над началом страницы и под её концом Safari показывает цвет html, стыка нет. */
.sky__cap { position: absolute; left: 0; right: 0; height: 180px; }
.sky__cap--t {
  top: 0;
  background: linear-gradient(to bottom, var(--sky-top) 0, var(--sky-top) 8px, color-mix(in srgb, var(--sky-top) 55%, transparent) 45%, transparent 100%);
}
.sky__cap--b {
  bottom: 0;
  background: linear-gradient(to top, var(--sky-end) 0, var(--sky-end) 8px, color-mix(in srgb, var(--sky-end) 55%, transparent) 45%, transparent 100%);
}
@keyframes drift-a { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(14vmax, 10vmax, 0); } }
@keyframes drift-b { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-16vmax, -12vmax, 0); } }

/* --------------------------------------------------------------------- *
   Кнопки
   --------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--ink);
  --btn-ink: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font: 500 1rem / 1.2 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform .15s ease, background-color .25s ease, box-shadow .3s ease, border-color .25s ease, opacity .25s;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .6; cursor: default; }
.tone-dark .btn { --btn-bg: var(--cream); --btn-ink: var(--plum-ink); }
.btn--ink { --btn-bg: var(--ink); --btn-ink: var(--cream); box-shadow: 0 16px 30px -16px rgba(58, 30, 44, .7); }
.btn--ink:hover { --btn-bg: #4B2839; }
.btn--cream { --btn-bg: var(--cream); --btn-ink: var(--plum-ink); box-shadow: 0 18px 50px -20px rgba(255, 190, 150, .6); }
.btn--glass {
  --btn-bg: rgba(255, 255, 255, .42);
  --btn-ink: var(--ink);
  border-color: var(--glass-line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--glass:hover { --btn-bg: rgba(255, 255, 255, .6); }
.btn--line { --btn-bg: transparent; --btn-ink: currentColor; border-color: rgba(255, 244, 236, .34); }
.tone-dark .btn--line { --btn-bg: transparent; --btn-ink: var(--cream); }
.tone-dark .btn--line:hover { border-color: var(--cream); }
.btn--big { min-height: 62px; padding-inline: 34px; font-size: 1.08rem; }
.btn--quiet {
  --btn-bg: transparent;
  --btn-ink: var(--cream-soft);
  min-height: 44px;
  padding: 8px 16px;
  font-size: .9rem;
  border-color: rgba(255, 244, 236, .22);
}
.tone-dark .btn--quiet { --btn-bg: transparent; --btn-ink: var(--cream-soft); }
.btn--quiet.is-done { color: #BFE6CF; border-color: currentColor; }
.btn--wide { width: 100%; }

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 2px;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font: 500 .95rem / 1.25 var(--sans);
  text-decoration: underline;
  text-decoration-color: rgba(58, 30, 44, .3);
  text-underline-offset: 4px;
  cursor: pointer;
}
.link-btn:hover { color: var(--ink); }

/* --------------------------------------------------------------------- *
   Шапка
   --------------------------------------------------------------------- */

.top {
  /* Парящая капсула: всегда 10px от верха видимой области — и в начале страницы, и прилипшая.
     У верхнего края экрана нет фиксированных элементов, и Safari 26 не заливает зону статус-бара. */
  position: sticky;
  top: 10px;
  z-index: 40;
  width: calc(100% - 20px);
  max-width: calc(var(--maxw) - 2 * var(--gutter) + 32px);
  margin: 10px auto 0;
  border: 1px solid transparent;
  border-radius: 26px;
  transition: background-color .35s ease, border-color .35s ease, color .35s ease, box-shadow .35s ease;
}
.top.is-stuck {
  background: rgba(255, 242, 234, .5);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-color: rgba(255, 255, 255, .55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 12px 30px -18px rgba(96, 36, 70, .5);
}
.top.is-dark { color: var(--cream); }
.top.is-dark.is-stuck { background: rgba(38, 20, 44, .5); border-color: rgba(255, 255, 255, .12); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 12px 30px -18px rgba(8, 0, 12, .7); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; }
.top .top__in { max-width: none; padding-inline: 16px 3px; }
.mark { display: inline-flex; align-items: baseline; gap: 7px; padding-block: 11px; text-decoration: none; color: inherit; }
.mark__sp4 { font: 600 .9rem / 1 var(--sans); letter-spacing: .14em; }
.mark__c { font: italic 600 1.45rem / 1 var(--serif); letter-spacing: .005em; }
/* 01.10.2026: «Parelio» / «Svela» + мелкая подпись «by SP4» справа, по базовой линии имени.
   Цвет — от .mark (тёмная или светлая шапка), подпись тише за счёт прозрачности. */
.mark__by { font: 500 .74rem / 1 var(--sans); letter-spacing: .05em; opacity: .74; white-space: nowrap; }
.top__cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font: 500 .875rem / 1.1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
}
.top.is-dark .top__cta { background: var(--cream); color: var(--plum-ink); }
.top.show-cta .top__cta { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .35s ease, visibility 0s; }
.no-js .top__cta { display: none; }
/* --------------------------------------------------------------------- *
   1. Первый экран: одна сцена, два смысла
   --------------------------------------------------------------------- */

.hero { overflow-x: hidden; overflow-x: clip; }
/* --top-h — шапка-капсула с отступом сверху. 100vh — запас для браузеров без svh. */
.hero__wrap { max-width: 520px; display: flex; flex-direction: column; min-height: calc(100vh - var(--top-h)); min-height: calc(100svh - var(--top-h)); padding-bottom: 14px; }
.hero__main { margin-block: auto; display: grid; justify-items: center; text-align: center; padding-top: clamp(6px, 2.5svh, 26px); }
.hero__eyebrow { margin-bottom: 12px; }
.hero__title { font: 500 clamp(2.6rem, 1.85rem + 3.6vw, 4.4rem) / 1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.hero__title em { display: block; font-style: italic; color: var(--ink-2); }

/* две реплики: первая выезжает слева, вторая справа, потом проявляется строка */
.scene { width: 100%; margin-top: clamp(18px, 3.8svh, 36px); display: grid; gap: 10px; }
.bubble {
  position: relative;
  max-width: 86%;
  padding: 12px 18px 14px;
  border-radius: 24px;
  text-align: left;
  background: linear-gradient(165deg, rgba(255, 252, 249, .86) 0%, rgba(255, 244, 238, .64) 100%);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.bubble--a { justify-self: start; border-bottom-left-radius: 8px; rotate: -1.2deg; animation: from-left 1s var(--ease) .35s both; }
.bubble--b { justify-self: end; border-bottom-right-radius: 8px; rotate: 1.2deg; animation: from-right 1s var(--ease) 1.05s both; }
.bubble__who {
  display: flex; align-items: center; gap: 8px;
  font: 600 .7rem / 1.2 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.bubble__who::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px 1px var(--amber); }
.bubble--b .bubble__who::before { background: var(--lilac); box-shadow: 0 0 10px 1px var(--lilac); }
.bubble__t { margin-top: 5px; font: 500 clamp(1.32rem, 1.1rem + .9vw, 1.62rem) / 1.15 var(--serif); letter-spacing: -.005em; color: var(--ink); }
.scene__line {
  margin-top: 8px;
  text-align: center;
  font: italic 500 clamp(1.5rem, 1.2rem + 1.2vw, 1.9rem) / 1.1 var(--serif);
  color: var(--ink-2);
  animation: line-in 1.2s var(--ease) 1.9s both;
}
@keyframes from-left { from { opacity: 0; transform: translateX(-38px); } to { opacity: 1; transform: none; } }
@keyframes from-right { from { opacity: 0; transform: translateX(38px); } to { opacity: 1; transform: none; } }
@keyframes line-in { from { opacity: 0; filter: blur(6px); transform: translateY(6px); } to { opacity: 1; filter: none; transform: none; } }

.hero__sub { margin-top: clamp(16px, 3svh, 30px); font: 500 1.02rem / 1.45 var(--sans); color: var(--ink-soft); }
.hero__sub span { display: block; }
.hero__cta { margin-top: clamp(14px, 2.4svh, 24px); }
.hero__note {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  font: 500 .82rem / 1.3 var(--sans);
  color: var(--ink-mute);
}
.hero__note svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------------- *
   2. Пример разбора: одна карточка пары, одно действие — два смысла.
   Два света внутри карточки: янтарь за Русланом, сирень за Алией (как «Он» и «Она»
   на первом экране). Свечения пересекаются посередине, где стоит «Одно действие → два смысла».
   --------------------------------------------------------------------- */

.report .eyebrow, .report .h2 { text-align: center; }
.report .eyebrow { color: var(--ink-soft); }
.report__wrap { max-width: 540px; }
/* «Посмотреть пример разбора ↓» ведёт на заголовок. До появления он сдвинут вниз на 22px (data-reveal),
   поэтому запас больше: после появления над заголовком видна надпись «Пример разбора», карточка пары — целиком в экране. */
#report-title { scroll-margin-top: 50px; }

.report__pair {
  margin-top: 14px;
  display: flex; align-items: center; justify-content: center;
  font: italic 500 1.35rem / 1.1 var(--serif);
  color: var(--ink-2);
}
.report__orb { width: 13px; height: 13px; border-radius: 50%; flex: none; }
.report__orb--a { background: radial-gradient(circle, #FFEBDB 0%, #FF9E68 62%); box-shadow: 0 0 10px 1px rgba(255, 150, 95, .75); }
.report__orb--b { margin: 0 10px 0 -4px; background: radial-gradient(circle, #F6F0FF 0%, var(--lilac) 60%); box-shadow: 0 0 10px 1px rgba(180, 150, 240, .7); }

.rep { margin-top: 18px; }
.rep__k {
  font: 600 .75rem / 1.3 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* карточка пары */
.pair {
  position: relative;
  padding: 20px 18px 42px;
  border-radius: 32px;
  overflow: hidden; overflow: clip;
  isolation: isolate;
  background: linear-gradient(165deg, rgba(255, 252, 249, .74) 0%, rgba(255, 245, 240, .5) 55%, rgba(255, 240, 236, .44) 100%);
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.pair__light {
  position: absolute;
  z-index: -1;
  width: 118%;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}
.pair__light--a {
  top: -8%; left: -52%;
  background: radial-gradient(circle, rgba(255, 178, 126, .62) 0%, rgba(255, 178, 126, .26) 36%, rgba(255, 178, 126, 0) 66%);
  animation: pair-a 16s ease-in-out infinite alternate;
}
.pair__light--b {
  bottom: -40%; right: -52%;
  background: radial-gradient(circle, rgba(191, 163, 242, .6) 0%, rgba(191, 163, 242, .24) 36%, rgba(191, 163, 242, 0) 66%);
  animation: pair-b 19s ease-in-out infinite alternate;
}
/* медленно тянутся друг к другу и обратно, не сливаясь */
@keyframes pair-a { from { transform: translate(0, 0); } to { transform: translate(7%, 4%); } }
@keyframes pair-b { from { transform: translate(0, 0); } to { transform: translate(-7%, -4%); } }

/* сцена: нейтральное событие — просто текст, без коробки и без цвета; снизу волосяная линия, из неё растёт развилка */
.pair__sit {
  position: relative;
  padding: 4px 8px 14px;
  text-align: center;
}
.pair__sit::after {
  content: ''; position: absolute; left: 30%; right: 30%; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(58, 30, 44, 0), rgba(58, 30, 44, .3) 50%, rgba(58, 30, 44, 0));
}
.pair__sit-k { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink-soft); }
/* полый круг — одно общее событие, ещё без цвета */
.pair__sit-k::before { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid rgba(58, 30, 44, .4); }
.pair__sit-t { margin-top: 6px; font: 400 1rem / 1.45 var(--sans); color: var(--ink-2); text-wrap: balance; }

/* развилка: от сцены одна линия, в узле она расходится на два цвета — к Руслану и к Алие.
   Концы веток приходятся над шарами-аватарами (x = 19px от края содержимого карточки). */
.fork { position: relative; padding-top: 24px; margin-bottom: 14px; text-align: center; }
.fork::before {
  content: ''; position: absolute; left: 50%; top: 0; width: 1.5px; height: 13px; margin-left: -.75px;
  background: linear-gradient(180deg, rgba(58, 30, 44, .1), rgba(58, 30, 44, .38));
  transform-origin: 50% 0;
}
.fork::after {
  content: ''; position: absolute; z-index: 1; left: 50%; top: 9px; width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%;
  background: #FFF8F2;
  border: 1.5px solid rgba(58, 30, 44, .4);
  box-shadow: 0 0 12px 3px rgba(255, 240, 228, .95);
}
.fork__arm { position: absolute; top: 13px; height: 30px; border: 0 solid; border-top-width: 1.5px; }
.fork__arm--a { left: 18px; right: 50%; border-left-width: 1.5px; border-top-left-radius: 24px; border-color: rgba(222, 136, 86, .9); }
.fork__arm--b { right: 18px; left: 50%; border-right-width: 1.5px; border-top-right-radius: 24px; border-color: rgba(152, 118, 222, .9); }
.fork__arm::after { content: ''; position: absolute; bottom: -5px; width: 9px; height: 9px; border-radius: 50%; }
.fork__arm--a::after { left: -5.25px; background: radial-gradient(circle, #FFEBDB 0%, #FF9E68 70%); box-shadow: 0 0 10px 2px rgba(255, 150, 95, .7); }
.fork__arm--b::after { right: -5.25px; background: radial-gradient(circle, #F6F0FF 0%, var(--lilac) 70%); box-shadow: 0 0 10px 2px rgba(180, 150, 240, .7); }
.pair__mid {
  position: relative;
  font: italic 500 1.2rem / 1.2 var(--serif);
  color: var(--ink-2);
  white-space: nowrap;
}
.pair__arrow {
  display: inline-block; margin-inline: .12em; font-style: normal;
  color: #B7708A;
  background: linear-gradient(90deg, #DE8856, #9876DE);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* реплики: двое как два света — шар-аватар на углу, пузырь своего цвета, лёгкий наклон навстречу */
.pair__sides { display: grid; gap: 16px; }
.side {
  position: relative;
  z-index: 1;
  isolation: isolate;
  margin: 0;
  padding: 13px 17px 16px 21px;
  border-radius: 22px;
}
/* подложка пузыря — отдельным слоем: наклон навстречу получает только она, текст остаётся ровным */
.side::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, .82);
}
.side--a {
  margin: 0 6px 0 24px;
  padding-left: 23px;
  border-top-left-radius: 8px;
}
.side--a::before {
  rotate: -.8deg;
  background: linear-gradient(160deg, rgba(255, 248, 242, .94) 0%, rgba(255, 230, 212, .74) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 22px 36px -24px rgba(206, 104, 58, .62), 0 0 36px -8px rgba(255, 178, 126, .5);
}
.side--b {
  margin: 0 24px 0 6px;
  padding-right: 23px;
  border-top-right-radius: 8px;
  text-align: right;
}
.side--b::before {
  rotate: .8deg;
  background: linear-gradient(200deg, rgba(250, 246, 255, .94) 0%, rgba(232, 221, 255, .76) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 22px 36px -24px rgba(118, 84, 200, .6), 0 0 36px -8px rgba(191, 163, 242, .55);
}
.side__who {
  font: 600 .75rem / 1.2 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.side--a .side__who { color: #A4552E; padding-left: 12px; }
.side--b .side__who { color: #6A4BAE; padding-right: 12px; }

/* шар-аватар: чистый свет без букв (как везде на сайте), блик и медленное дыхание ореола */
.side__orb {
  position: absolute; top: -11px;
  width: 34px; height: 34px;
  border-radius: 50%;
}
.side__orb::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid; opacity: .5;
  animation: orb-halo 5.2s ease-in-out infinite;
}
.side--a .side__orb {
  left: -22px;
  background:
    radial-gradient(circle at 31% 27%, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, 0) 22%),
    radial-gradient(circle at 34% 30%, #FFF7F0 0%, #FFD3AE 30%, #FFA56F 72%, #EF8753 100%);
  box-shadow: inset 0 -3px 6px rgba(196, 86, 36, .22), 0 8px 18px -6px rgba(214, 104, 56, .62), 0 0 26px 3px rgba(255, 170, 115, .55);
}
.side--a .side__orb::after { border-color: rgba(240, 150, 100, .7); }
.side--b .side__orb {
  right: -22px;
  background:
    radial-gradient(circle at 31% 27%, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, 0) 22%),
    radial-gradient(circle at 34% 30%, #FBF8FF 0%, #E0D2FF 30%, #B79BF0 72%, #9C7BE2 100%);
  box-shadow: inset 0 -3px 6px rgba(96, 60, 170, .2), 0 8px 18px -6px rgba(118, 84, 200, .6), 0 0 26px 3px rgba(191, 163, 242, .6);
}
.side--b .side__orb::after { border-color: rgba(160, 128, 230, .7); animation-delay: -2.6s; }
@keyframes orb-halo { 0%, 100% { transform: scale(.94); opacity: .55; } 50% { transform: scale(1.14); opacity: 0; } }

.side__q { margin: 6px 0 0; }
.side__q p { font: 500 1.42rem / 1.13 var(--serif); letter-spacing: -.005em; color: var(--ink); text-wrap: balance; }
.side__ln { display: block; }
/* ёлочки своего цвета; открывающая у Руслана и закрывающая у Алии — висячие */
.qm { font-weight: 600; }
.side--a .qm { color: #D47A47; }
.side--b .qm { color: #8A66D6; }
.side--a .side__ln:first-child .qm { margin-left: -.42em; }
.side--b .side__ln:last-child .qm { margin-right: -.42em; }

/* «Что видит SP4» — линза поверх сцены: заметно уже карточки пары, почти белая и холодная, полоса двух цветов.
   Без backdrop-filter: под ней анимируется свет, размытие пересчитывалось бы каждый кадр. */
.insight {
  position: relative;
  z-index: 1;
  isolation: isolate;
  margin: -28px 22px 0;
  padding: 16px 18px 18px 26px;
  border-radius: 22px;
  overflow: hidden; overflow: clip;
  background: linear-gradient(180deg, rgba(255, 255, 255, .93) 0%, rgba(250, 249, 255, .88) 100%);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .95) inset,
    0 30px 52px -30px rgba(70, 40, 96, .5),
    0 10px 22px -16px rgba(70, 40, 96, .3);
}
.insight::before {
  content: ''; position: absolute; left: 10px; top: 18px; bottom: 18px; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, #FFB27E 0%, #EE8E9C 50%, #B596F0 100%);
  box-shadow: 0 0 10px rgba(238, 142, 156, .45);
}
.insight::after {
  content: ''; position: absolute; z-index: -1; right: -56px; top: -70px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 196, 250, .42) 0%, rgba(214, 196, 250, .18) 42%, rgba(214, 196, 250, 0) 70%);
  pointer-events: none;
}
.insight__k { display: flex; align-items: center; gap: 9px; color: var(--ink-2); }
.insight__eye { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linejoin: round; }
.insight__eye circle { stroke: none; }
.insight__t { margin-top: 8px; font: 400 1rem / 1.5 var(--sans); color: var(--ink-2); text-wrap: pretty; }
/* первое предложение — антиквой, как вывод; имена — цветом своего света */
.insight__lead { display: block; margin-bottom: 5px; font: italic 500 1.2rem / 1.25 var(--serif); color: var(--ink); text-wrap: balance; }
.insight__a, .insight__b { font-weight: 500; }
.insight__lead .insight__a, .insight__lead .insight__b { font-weight: 600; }
.insight__a { color: #A4552E; }
.insight__b { color: #6A4BAE; }

/* «Что попробовать» — финал другой формы: не карточка, а метка с тёплым шаром и насыщенная тёплая капсула по центру */
.try {
  position: relative;
  margin-top: 26px;
  text-align: center;
}
.try__k {
  display: inline-flex; align-items: center; gap: 9px;
  color: #95493A;
}
.try__k::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #FFF3E8 0%, #FFB27E 55%, #F08F62 100%);
  box-shadow: 0 0 10px 2px rgba(255, 160, 105, .65);
}
.try__t {
  display: flex; align-items: center; gap: 12px;
  width: fit-content; max-width: 340px;
  margin: 10px auto 0;
  padding: 10px 24px 10px 10px;
  border-radius: 999px;
  text-align: left;
  font: 500 1.3rem / 1.14 var(--serif);
  letter-spacing: -.005em;
  color: var(--ink);
  background: linear-gradient(115deg, #FFD6B6 0%, #FFBE9A 48%, #F4A08A 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .7),
    inset 0 -8px 16px -10px rgba(190, 80, 60, .35),
    0 18px 34px -16px rgba(214, 100, 78, .7),
    0 0 40px -6px rgba(255, 178, 126, .55);
}
.try__line { text-wrap: balance; }
.try__ic {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #A4552E;
  background: radial-gradient(circle at 32% 28%, #FFFFFF 0%, rgba(255, 246, 238, .9) 60%, rgba(255, 234, 220, .85) 100%);
  box-shadow: 0 6px 14px -8px rgba(160, 70, 40, .6);
}
.try__ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* появление по очереди: сцена → развилка (ствол, узел, ветки, надпись) → Руслан → Алия → линза → действие */
.js .rep[data-reveal] { opacity: 1; transform: none; filter: none; }
.js .rep [data-step] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  transition-delay: calc(var(--s, 0) * 1ms);
}
.js .rep .side--a[data-step] { transform: translateX(-26px); }
.js .rep .side--b[data-step] { transform: translateX(26px); }
.js .rep .fork[data-step] { transform: none; transition-duration: .4s; }
.js .rep .fork::before { transform: scaleY(0); transition: transform .35s var(--ease) calc(var(--s, 0) * 1ms); }
.js .rep .fork::after { transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.5, .5, 1) calc(var(--s, 0) * 1ms + 160ms); }
.js .rep .fork__arm { transition: clip-path .7s var(--ease) calc(var(--s, 0) * 1ms + 200ms); }
.js .rep .fork__arm--a { clip-path: inset(-10px -10px -10px 100%); }
.js .rep .fork__arm--b { clip-path: inset(-10px 100% -10px -10px); }
.js .rep .pair__mid { opacity: 0; filter: blur(5px); transition: opacity .8s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--s, 0) * 1ms + 340ms); }
.js .rep.is-in [data-step],
.js .rep.is-in .fork::before,
.js .rep.is-in .fork::after,
.js .rep.is-in .pair__mid { opacity: 1; transform: none; filter: none; }
.js .rep.is-in .fork__arm { clip-path: inset(-10px); }
.no-anim .rep [data-step],
.no-anim .rep .fork::before,
.no-anim .rep .fork::after,
.no-anim .rep .pair__mid { opacity: 1 !important; transform: none !important; filter: none !important; }
.no-anim .rep .fork__arm { clip-path: none !important; }

/* телефон: реплики друг под другом — сиреневая ветка продолжается нитью мимо карточки Руслана к шару Алии.
   Нить — псевдоэлемент сетки: занимает строку Руслана, поэтому её длина сама равна высоте его карточки. */
@media (max-width: 819px) {
  .fork__arm--b::after { display: none; }
  .side--a { grid-area: 1 / 1; margin-right: 32px; }
  .side--b { grid-area: 2 / 1; }
  .pair__sides::before {
    content: ''; position: relative; z-index: 0;
    grid-row: 1; grid-column: 1;
    justify-self: end;
    width: 1.5px;
    margin: -18px 18px -8px 0;
    background: linear-gradient(180deg, rgba(152, 118, 222, .9) 0%, rgba(152, 118, 222, .72) 60%, rgba(152, 118, 222, .9) 100%);
    box-shadow: 0 0 8px rgba(180, 150, 240, .45);
    transform-origin: 50% 0;
    pointer-events: none;
  }
  .js .rep .pair__sides::before { transform: scaleY(0); transition: transform .55s var(--ease) 780ms; }
  .js .rep.is-in .pair__sides::before { transform: none; }
  .no-anim .rep .pair__sides::before { transform: none !important; }
}

/* десктоп: Руслан и Алия рядом, ветки развилки приходят к каждому */
@media (min-width: 820px) {
  .report__wrap { max-width: 980px; }
  .rep { margin-top: 24px; }
  .pair { padding: 30px 40px 58px; border-radius: 36px; }
  /* свет по центру своей стороны: margin в процентах считается от ширины карточки */
  .pair__light { width: 62%; top: 50%; bottom: auto; margin-top: -31%; }
  .pair__light--a { left: -16%; }
  .pair__light--b { right: -16%; }
  .pair__sit { max-width: 560px; margin-inline: auto; padding: 14px 24px 16px; }
  .pair__sit-t { font-size: 1.08rem; }
  .fork { margin-bottom: 22px; }
  .fork__arm { height: 34px; }
  .pair__mid { font-size: 1.3rem; padding-top: 4px; }
  .pair__sides { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .side--a { margin: 0 0 0 24px; }
  .side--b { margin: 36px 24px 0 0; }
  .side__q p { font-size: 1.62rem; }
  .insight { max-width: 620px; margin-inline: auto; margin-top: -30px; padding: 20px 28px 22px 30px; }
  .insight__t { font-size: 1.05rem; }
  .insight__lead { font-size: 1.3rem; }
  .try { margin-top: 34px; }
  .try__t { max-width: 560px; padding: 12px 34px 12px 12px; gap: 16px; font-size: 1.62rem; }
  .try__ic { width: 50px; height: 50px; }
}

@media (max-width: 379px) {
  .pair { padding: 18px 14px 40px; border-radius: 28px; }
  .side__q p { font-size: 1.3rem; }
  .side--a { margin-right: 30px; padding: 12px 14px 15px 21px; }
  .side--b { margin-left: 2px; padding: 12px 21px 15px 14px; }
  .pair__mid { font-size: 1.12rem; }
  .insight { margin-inline: 18px; padding: 14px 16px 16px 24px; }
  .try__t { font-size: 1.2rem; padding-right: 20px; }
}

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------- *
   Появление блоков
   --------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(6px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }

/* --------------------------------------------------------------------- *
   3. Как это устроено: три шага
   --------------------------------------------------------------------- */

.evening .h2, .evening .eyebrow { text-align: center; }
.evening__list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; position: relative; }
.evening__step {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 18px;
  padding: 14px 18px 14px 14px;
  border-radius: 30px;
  background: linear-gradient(165deg, rgba(255, 252, 249, .62), rgba(255, 240, 234, .36));
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: var(--shadow-soft);
}
.evening__t { font: 500 1.5rem / 1.12 var(--serif); letter-spacing: -.005em; text-wrap: balance; }
@media (min-width: 900px) {
  .evening .wrap--mid { max-width: 1000px; }
  .evening__list { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .evening__step { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 26px 22px 30px; }
}

.ill { position: relative; width: 112px; height: 96px; border-radius: 24px; overflow: hidden; overflow: clip; background: rgba(255, 255, 255, .35); }
.ill--apart { display: flex; align-items: center; justify-content: center; gap: 8px; }
.ill__ring {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(58, 30, 44, .16);
  background: rgba(255, 255, 255, .45);
}
.ill__orb { width: 26px; height: 26px; border-radius: 50%; animation: pulse 4.5s ease-in-out infinite; }
.ill__orb--a { background: radial-gradient(circle, #FFF3E8 0%, var(--amber) 45%, rgba(255, 178, 126, 0) 72%); box-shadow: 0 0 22px 2px rgba(255, 170, 120, .55); }
.ill__orb--b { background: radial-gradient(circle, #F6F0FF 0%, var(--lilac) 45%, rgba(191, 163, 242, 0) 72%); box-shadow: 0 0 22px 2px rgba(180, 150, 240, .55); animation-delay: -2.2s; }
@keyframes pulse { 0%, 100% { transform: scale(.9); } 50% { transform: scale(1.06); } }

.ill__disc { position: absolute; top: 50%; width: 50px; height: 50px; margin-top: -25px; border-radius: 50%; opacity: .9; }
.ill__disc--b { opacity: .8; }
.ill__disc--a { left: 18px; background: radial-gradient(circle, #FFE9D8 0%, var(--amber) 55%, rgba(255, 178, 126, .2) 100%); animation: disc-a 6s ease-in-out infinite; }
.ill__disc--b { right: 18px; background: radial-gradient(circle, #F3EDFF 0%, var(--lilac) 55%, rgba(191, 163, 242, .2) 100%); animation: disc-b 6s ease-in-out infinite; }
.ill__spark {
  position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 12px 4px rgba(255, 255, 255, .9);
  animation: spark 6s ease-in-out infinite;
}
@keyframes disc-a { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(9px); } }
@keyframes disc-b { 0%, 100% { transform: translateX(4px); } 50% { transform: translateX(-9px); } }
@keyframes spark { 0%, 30%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1); } 70% { opacity: .2; } }

.ill--week { display: flex; align-items: center; justify-content: center; gap: 6px; }
.ill--week i { width: 8px; height: 8px; border-radius: 50%; background: rgba(58, 30, 44, .2); }
.ill--week i:nth-child(1), .ill--week i:nth-child(7) { translate: 0 -10px; }
.ill--week i:nth-child(2), .ill--week i:nth-child(6) { translate: 0 -3px; }
.ill--week i:nth-child(3), .ill--week i:nth-child(5) { translate: 0 2px; }
.ill--week i.is-today {
  width: 18px; height: 18px; translate: 0 4px;
  background: radial-gradient(circle at 38% 36%, #FFF4E6, var(--honey) 50%, #F29A7E);
  box-shadow: 0 0 20px 4px rgba(255, 190, 120, .75);
  animation: pulse 3.6s ease-in-out infinite;
}

.evening__n { margin-bottom: 6px; font: 600 .74rem / 1 var(--sans); letter-spacing: .16em; color: #A04C62; }
.evening__d { margin-top: 6px; font: 400 .92rem / 1.4 var(--sans); color: var(--ink-soft); text-wrap: pretty; }
@media (min-width: 900px) { .evening__body { text-align: center; } }

/* --------------------------------------------------------------------- *
   4. Приватность: два согласия
   --------------------------------------------------------------------- */

.privacy .h2 { text-align: center; }
.consent {
  margin-top: 34px;
  padding: 22px 16px 16px;
  border-radius: 34px;
  background: linear-gradient(170deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 40px 80px -50px rgba(10, 0, 20, .8);
}
.consent__stage { position: relative; height: 150px; display: flex; align-items: center; justify-content: space-between; padding-inline: 4px; }
.c-orb {
  position: relative;
  z-index: 1;
  width: 96px; height: 96px; margin-inline: -8px; border-radius: 50%;
  opacity: .3;
  transform: scale(.82);
  transition: opacity .8s ease, transform 1.1s var(--ease), box-shadow .8s ease;
}
.c-orb--a { background: radial-gradient(circle, #FFF3E8 0%, rgba(255, 178, 126, .95) 24%, rgba(255, 178, 126, .4) 46%, rgba(255, 178, 126, 0) 70%); }
.c-orb--b { background: radial-gradient(circle, #F6F0FF 0%, rgba(191, 163, 242, .95) 24%, rgba(191, 163, 242, .4) 46%, rgba(191, 163, 242, 0) 70%); }
.consent.is-a .c-orb--a, .consent.is-b .c-orb--b { opacity: 1; transform: scale(1); }

.consent.is-open .c-orb--a { transform: translateX(14px) scale(1.04); }
.consent.is-open .c-orb--b { transform: translateX(-14px) scale(1.04); }
.c-shared {
  position: relative;
  width: 104px; height: 124px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px dashed rgba(255, 255, 255, .3);
  transition: background-color .8s ease, border-color .8s ease, box-shadow .8s ease;
}
.c-shared__lock { width: 30px; height: 30px; color: var(--cream-soft); transition: opacity .5s ease, transform .6s var(--ease); }
.c-shared__lines { position: absolute; inset: 22px 16px; display: grid; align-content: center; gap: 10px; opacity: 0; transition: opacity .8s ease .2s; }
.c-shared__lines i { height: 6px; border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.c-shared__lines i:nth-child(1) { background: linear-gradient(90deg, var(--amber), var(--lilac)); transition-delay: .3s; }
.c-shared__lines i:nth-child(2) { width: 72%; background: linear-gradient(90deg, var(--lilac), var(--rose)); transition-delay: .45s; }
.c-shared__lines i:nth-child(3) { width: 48%; background: linear-gradient(90deg, var(--honey), var(--amber)); transition-delay: .6s; }
.consent.is-open .c-shared { background: rgba(255, 244, 236, .16); border-style: solid; border-color: rgba(255, 244, 236, .5); box-shadow: 0 0 60px -10px rgba(255, 200, 170, .5); }
.consent.is-open .c-shared__lock { opacity: 0; transform: translateY(-10px) scale(.8); }
.consent.is-open .c-shared__lines { opacity: 1; }
.consent.is-open .c-shared__lines i { transform: none; }

.consent__ctrl { margin-top: 12px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; }
@media (max-width: 379px) {
  .consent { padding-inline: 12px; }
  .consent__ctrl { gap: 6px; }
  .consent .sw { gap: 8px; padding-inline: 10px; }
}
.sw {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
  color: var(--cream);
  font: 500 .95rem / 1 var(--sans);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.sw__track { position: relative; width: 40px; height: 24px; border-radius: 12px; background: rgba(255, 255, 255, .18); transition: background-color .35s ease; }
.sw__knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--cream); transition: transform .35s var(--ease); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.sw[aria-pressed='true'] .sw__knob { transform: translateX(16px); }
.sw--a[aria-pressed='true'] .sw__track { background: var(--amber); }
.sw--b[aria-pressed='true'] .sw__track { background: var(--lilac); }
.consent__status { text-align: center; font: italic 500 1.12rem / 1.1 var(--serif); color: var(--cream-soft); }
.consent__status .st-open { display: none; color: var(--cream); }
.consent.is-open .consent__status .st-open { display: inline; }
.consent.is-open .consent__status .st-closed { display: none; }
.privacy__foot { margin-top: 22px; text-align: center; color: var(--cream-soft); font-size: .98rem; }
.privacy__foot a { display: inline-block; padding: 10px 4px; margin: -10px 0; color: var(--cream); font-weight: 500; }

/* --------------------------------------------------------------------- *
   6. Закрытая бета
   --------------------------------------------------------------------- */

.beta__copy { text-align: center; }
.beta__sub { margin: 16px auto 0; max-width: 28ch; font-size: 1.08rem; color: var(--cream-soft); }

.poll { margin-top: 34px; min-width: 0; }
.poll__q { margin-bottom: 12px; text-align: center; font: 500 .76rem / 1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--cream-mute); }
.poll__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.poll__opt {
  position: relative;
  display: grid;
  align-content: space-between;
  justify-items: start;
  gap: 14px;
  min-height: 104px;
  padding: 15px 14px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(165deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
  color: var(--cream);
  font: 500 1.02rem / 1.2 var(--sans);
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: border-color .25s, background-color .25s, box-shadow .3s, opacity .3s, transform .15s;
}
.poll__opt:active { transform: scale(.98); }
.poll__opt::after {
  content: '';
  position: absolute;
  top: 13px; right: 13px;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background-position: center;
  background-repeat: no-repeat;
  transition: background-color .25s, border-color .25s;
}
.poll__opt[aria-pressed='true'] {
  border-color: var(--cream);
  background: rgba(255, 244, 236, .16);
  box-shadow: 0 0 0 1px var(--cream), 0 20px 50px -24px rgba(255, 190, 150, .75);
}
.poll__opt[aria-pressed='true']::after {
  border-color: var(--cream);
  background-color: var(--cream);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'><path d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%232B1531' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.poll.has-vote .poll__opt:not([aria-pressed='true']) { opacity: .55; }
.poll__ico { width: 26px; height: 26px; overflow: visible; }
/* два света — двое в паре: вместе, второй пока пунктиром, один */
.poll__ico:not(.poll__ico--eye) { filter: drop-shadow(0 0 5px rgba(255, 190, 150, .45)); }
.poll__ico .a { fill: var(--amber); }
.poll__ico .b { fill: var(--lilac); fill-opacity: .85; }
.poll__ico .b.is-dash { fill: none; stroke: var(--lilac); stroke-width: 1.5; stroke-dasharray: 2.6 2.2; }
.poll__ico--eye { fill: none; stroke: var(--cream-soft); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.no-js .poll__q, .no-js .poll__grid { display: none; }

.poll__res { margin-top: 20px; text-align: center; font: 500 1.6rem / 1.15 var(--serif); }
.poll__res p { margin: 0; }
.poll__res:not([hidden]) { animation: rise .6s var(--ease) both; }
.poll__res--share .share { margin-top: 16px; justify-items: center; font-family: var(--sans); }
.poll__form { margin-top: 20px; scroll-margin-top: 160px; }

.form-shell {
  position: relative;
  padding: 24px 18px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .16);
  background:
    radial-gradient(80% 50% at 0% 0%, rgba(255, 190, 150, .12), transparent 70%),
    radial-gradient(80% 50% at 100% 100%, rgba(191, 163, 242, .12), transparent 70%),
    rgba(34, 16, 38, .7);
  box-shadow: 0 50px 110px -60px rgba(255, 180, 150, .45);
  color: var(--cream);
}
@media (min-width: 560px) { .form-shell { padding: 34px; } }
.form-shell .card__title { font: 500 1.9rem / 1.05 var(--serif); margin: 0 0 8px; }
.form-shell .muted { color: var(--cream-mute); }
.form-shell .small { font-size: .88rem; }
.field { margin-bottom: 18px; min-width: 0; }
.field__label { display: block; font-weight: 500; margin-bottom: 7px; }
legend.field__label { padding: 0; }
/* вопрос о партнёре отвечает голос шкалы (poll.js отмечает радиокнопку); без JS он виден.
   [data-voted] ставит poll.js: если он не загрузился, вопрос остаётся — иначе форму не отправить */
.js [data-poll][data-voted] .field--partner { display: none; }
.field__hint { display: block; font-size: .86rem; color: var(--cream-mute); margin-top: 6px; }
.field__error { display: block; font-size: .88rem; color: #FFB3B8; margin-top: 6px; }
.input, .select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  font: 400 1rem / 1.2 var(--sans);
  color: var(--cream);
  background: rgba(16, 6, 20, .5);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 16px;
  transition: border-color .16s, box-shadow .16s;
}
.input { text-overflow: ellipsis; }
.input::placeholder { color: rgba(255, 244, 236, .38); }
@media (max-width: 419px) { .input::placeholder { font-size: .875rem; } }
.input:focus, .select:focus { outline: none; border-color: var(--cream); box-shadow: 0 0 0 3px rgba(255, 244, 236, .14); }
.field--invalid .input, .field--invalid .select { border-color: #FFB3B8; }
.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}
.select option { background: #2B1531; color: var(--cream); }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: grid; place-items: center;
  min-height: 48px; padding: 10px 6px;
  text-align: center; line-height: 1.2;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 16px;
  background: rgba(16, 6, 20, .4);
  transition: border-color .15s, background-color .15s;
}
.choice input:checked + span { border-color: var(--cream); background: rgba(255, 244, 236, .14); font-weight: 500; }
.choice input:focus-visible + span { outline: 2px solid var(--cream); outline-offset: 2px; }
.rule { height: 1px; background: rgba(255, 255, 255, .14); border: 0; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; min-height: 44px; margin-bottom: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--amber); }
.check__text { font-size: .88rem; color: var(--cream-mute); }
.check__text b { display: block; color: var(--cream); font-size: 1rem; font-weight: 500; margin-bottom: 2px; }
.check__text a { color: var(--cream-soft); display: inline-block; padding-block: 12px; margin-block: -12px; }
.form-alert { padding: 14px 16px; margin-bottom: 16px; border-radius: 16px; background: rgba(255, 163, 163, .1); border: 1px solid rgba(255, 163, 163, .35); font-size: .9rem; }
.form-alert a { color: var(--cream); font-weight: 500; white-space: nowrap; }
.form-shell [data-form-submit] { margin-top: 8px; }
.form-success { display: grid; gap: 14px; }
/* после отправки заголовок формы не повторяет «Заявка получена» */
.form-shell:has(> [data-form-success]:not([hidden])) > :is([data-form-heading], [data-form-sub]) { display: none; }
.form-success:focus { outline: none; }
.form-success__mark {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 190, 150, .16); color: var(--amber); font-size: 1.4rem;
  box-shadow: 0 0 30px -6px rgba(255, 190, 150, .6);
}
.form-success p { margin: 0; }
.form-success .btn--quiet { justify-self: start; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* «Поделиться»: системное меню, а без него — три кнопки */
.share { display: grid; justify-items: start; gap: 12px; }
.share__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.js .share__opts { display: none; }
.js .share.is-open .share__opts { display: flex; animation: rise .45s var(--ease) both; }
.no-js .share__main, .no-js .share__copy { display: none; }
.share__opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(58, 30, 44, .16);
  background: rgba(255, 255, 255, .6);
  color: var(--ink);
  font: 500 .9rem / 1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.share__opt svg { width: 18px; height: 18px; }
.tone-dark .share__opt { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); color: var(--cream); }
.tone-dark .share__opt:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }
.share__opt.is-done { color: #2F6B4D; border-color: currentColor; }
.tone-dark .share__opt.is-done { color: #BFE6CF; }
.share--success { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); gap: 10px; }

.privacy__small { margin-top: 10px; text-align: center; font: 400 .86rem / 1.4 var(--sans); color: var(--cream-mute); }
.poll__res--link a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--cream); text-decoration-color: rgba(255, 244, 236, .4); }

/* --------------------------------------------------------------------- *
   5. Финал: начните с себя
   --------------------------------------------------------------------- */

.final { overflow: hidden; overflow: clip; text-align: center; padding-bottom: calc(var(--section-gap) + 30px); }
/* overflow-anchor: none — иначе браузер цепляет прокрутку за «горизонт» внизу блока,
   и при раскрытии кнопок «Поделиться» страница прыгает вверх */
.final__horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 300px; pointer-events: none; overflow-anchor: none; -webkit-mask: linear-gradient(to bottom, #000 45%, transparent 96%); mask: linear-gradient(to bottom, #000 45%, transparent 96%); }
.final__sun {
  position: absolute; bottom: 0; width: 420px; height: 420px; border-radius: 50%;
  mix-blend-mode: screen;
  opacity: .8;
  transition: transform 2.6s var(--ease);
}
.final__sun--a { left: 50%; margin-left: -420px; background: radial-gradient(circle, rgba(255, 178, 126, .8) 0%, rgba(255, 178, 126, .28) 32%, rgba(255, 178, 126, 0) 64%); transform: translate(-60px, 230px); }
.final__sun--b { left: 50%; background: radial-gradient(circle, rgba(191, 163, 242, .75) 0%, rgba(191, 163, 242, .26) 32%, rgba(191, 163, 242, 0) 64%); transform: translate(60px, 230px); }
.final.is-in .final__sun--a { transform: translate(130px, 190px); }
.final.is-in .final__sun--b { transform: translate(-130px, 190px); }
/* Когда встали на место — медленно сближаются и расходятся, но не сливаются.
   Отдельное свойство translate складывается с transform выше. */
.final.is-in .final__sun--a { animation: sun-a 22s ease-in-out 2.8s infinite; }
.final.is-in .final__sun--b { animation: sun-b 22s ease-in-out 2.8s infinite; }
@keyframes sun-a { 0%, 100% { translate: 0 0; } 30% { translate: -30px 0; } 70% { translate: 22px 0; } }
@keyframes sun-b { 0%, 100% { translate: 0 0; } 30% { translate: 30px 0; } 70% { translate: -22px 0; } }
.final__title { position: relative; font: 500 clamp(2.6rem, 12vw, 4.8rem) / 1 var(--serif); letter-spacing: -.02em; }
.final__title span, .final__title em { display: block; }
.final__title em { font-style: italic; color: #FFD9C0; }
.final__sub { position: relative; margin: 18px auto 0; max-width: 30ch; font-size: 1.05rem; color: var(--cream-soft); text-wrap: balance; }
.final__actions { position: relative; margin-top: 30px; display: grid; justify-items: center; gap: 12px; }
.final__beta { min-width: min(100%, 280px); }
.share--final { justify-items: center; }
.share--final .share__opts { justify-content: center; }

/* --------------------------------------------------------------------- *
   7. Вопросы и подвал
   --------------------------------------------------------------------- */

.faq-section { padding-top: calc(var(--section-gap) * .6); }
.faq { margin-top: 26px; display: grid; gap: 8px; }
.faq__item { border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 60px;
  padding: 14px 18px;
  font: 500 1.3rem / 1.15 var(--serif);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '';
  flex: none;
  width: 22px; height: 22px;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  opacity: .7;
  transition: transform .35s var(--ease);
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 18px 18px; color: var(--cream-soft); font-size: .98rem; }
.faq__a a { color: var(--cream); }
.faq__item[open] .faq__a { animation: rise .4s var(--ease) both; }

.site-footer { padding: 44px 0 36px; font-size: .88rem; color: var(--cream-mute); }
.site-footer a { color: var(--cream-soft); }
.site-footer p { margin: 0 0 8px; }
.site-footer .mark { color: var(--cream); margin-bottom: 12px; }
.site-footer p > a { display: inline-block; padding: 12px 10px; margin: -12px -10px; }
.site-footer__cols { display: grid; gap: 26px; }
@media (min-width: 720px) { .site-footer__cols { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer__label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-mute); }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin: 0; }
.site-footer__links a { display: inline-block; padding: 12px 0; }
.site-footer__bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* --------------------------------------------------------------------- *
   Невысокие экраны
   --------------------------------------------------------------------- */

/* невысокие экраны (360×740, 375×667): первый экран целиком — ужимаем отступы и кегль сцены, не текст */
@media (max-height: 760px) {
  .hero__eyebrow { margin-bottom: 8px; }
  .hero__title { font-size: clamp(2.3rem, 1.7rem + 3vw, 3.4rem); }
  .scene { margin-top: 16px; gap: 8px; }
  .bubble { padding: 10px 16px 12px; }
  .bubble__t { font-size: 1.24rem; }
  .scene__line { margin-top: 4px; font-size: 1.36rem; }
  .hero__sub { margin-top: 14px; font-size: .96rem; }
  .hero__cta { margin-top: 14px; min-height: 50px; }
  .report__pair { margin-top: 10px; }
  .rep { margin-top: 14px; }
  .hero__note { padding-top: 10px; }
}

/* --------------------------------------------------------------------- *
   Без движения
   --------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { filter: none; transform: none; }
  .bubble, .scene__line, .final__sun, .pair__light, .side__orb::after { animation: none !important; }
  .js .rep [data-step],
  .js .rep .side--a[data-step],
  .js .rep .side--b[data-step],
  .js .rep .fork::before,
  .js .rep .fork::after,
  .js .rep .pair__mid { opacity: 1; transform: none; filter: none; }
  .js .rep .fork__arm { clip-path: none; }
  .js .rep .pair__sides::before { transform: none; }
}

/* --------------------------------------------------------------------- *
   Старая страница для тех, кто пока без пары (папка dating/, с 01.10.2026 — Svela на svela.sp4.ai)
   --------------------------------------------------------------------- */

.dating-page { background-color: #7E4A78; }
.dating-page .top { position: relative; color: var(--cream); }
.dating__back {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 2px;
  color: var(--cream-soft); font: 500 .92rem / 1.2 var(--sans); text-decoration: none;
}
.dating__back:hover { color: var(--cream); }
.dating { display: flex; align-items: center; min-height: calc(100vh - 59px); min-height: calc(100svh - 59px); padding-block: 12px 16px; }
.dating__wrap { max-width: 520px; }
.dating__head { text-align: center; }
.dating__title { font: 500 clamp(2.5rem, 11vw, 4.2rem) / 1 var(--serif); letter-spacing: -.02em; }
.dating__title em { display: block; font-style: italic; color: #FFD9C0; }
.dating__sub { margin: 16px auto 0; max-width: 28ch; font-size: 1.06rem; color: var(--cream-soft); }
.dating .form-shell { margin-top: 28px; }
.dating__contact { margin-top: 18px; text-align: center; font-size: .88rem; color: var(--cream-mute); }
.dating__contact a { color: var(--cream-soft); }
