/* Экран 4 воронки — пейволл («screen: offer» в хендоффе «Nila Quiz White.dc.html»),
   первый блок: оффер, чек-лист и телефон в двух версиях — десктопной (справа)
   и мобильной (выкатывается по скроллу). Остальные секции пейволла лежат в
   offerSections.css, липкая кнопка — там же.
   Как и funnel.css, это построчная транскрипция inline-стилей хендоффа в
   классы: значения не переписаны, различия между похожими узлами сохранены как
   отдельные модификаторы, а не «унифицированы». */

.nl-offer {
  max-width: 1180px; width: 100%; margin: 0 auto;
  padding-bottom: clamp(40px, 6vw, 90px); animation: nlFadeUp 460ms ease both;
}
/* Место под липкую кнопку: на узком экране она перекрывает низ страницы
   (offerPadBottom в хендоффе). */
@media (max-width: 680px) {
  .nl-offer { padding-bottom: 188px; }
}

/* --- блок 1: оффер --- */
.nl-offer-hero {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 4vw, 64px); align-items: center;
  padding: clamp(18px, 4vw, 54px) 0 clamp(36px, 6vw, 80px);
}
.nl-offer-copy { order: 2; }

.nl-hero-kicker {
  font-family: Lora, Georgia, serif; font-weight: 700; font-size: clamp(34px, 9.6vw, 62px);
  line-height: 1.04; letter-spacing: -.025em; color: #E8703C;
  margin-bottom: clamp(20px, 2.6vw, 30px); white-space: nowrap;
}
.nl-hero-kicker-line { display: block; }
/* Высота держится заранее, иначе строка «подрастает» по мере набора текста. */
.nl-hero-typed { min-height: 1.06em; }
.nl-hero-you { display: inline-block; }
.nl-hero-caret {
  display: inline-block; width: .06em; height: .78em; margin-left: .06em;
  vertical-align: baseline; background: #E8703C; animation: nlCaret 900ms step-end infinite;
}
.nl-hero-caret--done { opacity: 0; animation: none; }
.nl-hero-you--done { animation: nlYouPulse 820ms cubic-bezier(.34,1.2,.5,1) both; }

/* Заголовок выезжает из-за левого края, поэтому его обрезает отдельная обёртка. */
.nl-pocket-clip { overflow: hidden; }
.nl-pocket-head {
  font-family: Lora, Georgia, serif; font-weight: 400; font-size: clamp(22px, 5vw, 28px);
  line-height: 1.2; letter-spacing: -.012em; margin: 0 0 clamp(12px, 1.6vw, 18px);
  color: #17110D; text-wrap: pretty;
}
.nl-pocket-line { display: inline-block; opacity: 0; }
.nl-pocket-line--in { opacity: 1; animation: nlSlideFromLeft 780ms cubic-bezier(.22,.7,.24,1) 120ms both; }

.nl-offer-lede {
  font-size: clamp(17px, 4.2vw, 19px); line-height: 1.55; color: #4A3F35;
  margin: 0 0 12px; max-width: 38ch; text-wrap: pretty;
}
.nl-applies { font-family: Lora, Georgia, serif; font-style: italic; font-weight: 400; font-size: 1.06em; color: #17110D; }
.nl-offer-sub {
  margin: 0 0 clamp(22px, 3vw, 30px); font-size: clamp(16px, 4vw, 17.5px);
  line-height: 1.6; color: #4A3F35; max-width: 40ch; text-wrap: pretty;
}

/* --- чек-лист --- */
/* Кольцо теперь рисуется статически: в новой версии анимируется только
   «подскок» строки (nlPopIn) и прорисовка галочки (nlTick). Задержки заданы
   инлайном на узлах (ckVals в хендоффе), а старт ждёт скролла — offerScreen.js
   вешает класс --running, пока его нет, обе анимации стоят на паузе. */
.nl-checklist-card {
  border: 1px solid #D7E1EF; background: #FFFFFF; border-radius: 20px;
  padding: clamp(18px, 2vw, 24px); margin-bottom: clamp(22px, 3vw, 30px);
}
.nl-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.nl-check-row { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.45; color: #2B2320; text-wrap: pretty; }
.nl-check {
  flex: 0 0 auto; width: 24px; height: 24px; transform-origin: 50% 50%;
  animation: nlPopIn 620ms cubic-bezier(.34,1.35,.5,1) both; animation-play-state: paused;
}
.nl-check-ring { fill: none; stroke: #E8703C; stroke-width: 2; }
.nl-check-tick {
  fill: none; stroke: #E8703C; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 17; stroke-dashoffset: 17;
  animation: nlTick 300ms ease-out forwards; animation-play-state: paused;
}
.nl-checklist--running .nl-check,
.nl-checklist--running .nl-check-tick { animation-play-state: running; }

/* --- цена и кнопка --- */
.nl-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: clamp(16px, 2vw, 20px); }
.nl-price { font-family: Lora, Georgia, serif; font-weight: 400; font-size: clamp(32px, 3.4vw, 40px); line-height: 1; color: #17110D; }

.nl-buy {
  appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Satoshi', system-ui, sans-serif; font-size: 15px; font-weight: 600; letter-spacing: .08em;
  color: #17110D; background: #E8703C; border-radius: 999px; padding: 18px 30px; min-height: 56px;
  box-shadow: 0 14px 30px -18px rgba(232,112,60,.9); transition: background 180ms ease, transform 180ms ease;
}
.nl-buy:hover { background: #F0824F; transform: translateY(-1px); }
/* Кнопка в блоке «Your Answers, Put to Work.» у хендоффа чуть плотнее и с другой тенью. */
.nl-buy--compact { padding: 17px 28px; min-height: 54px; box-shadow: 0 14px 30px -20px rgba(232,112,60,.9); }
.nl-price-note { margin: 16px 0 0; font-family: Lora, Georgia, serif; font-style: italic; font-size: 15.5px; color: #4A3F35; }

/* Колонка CTA внутри текста — только на широком экране: на узком её роль
   берёт липкая панель внизу (showBodyCta = !mob в хендоффе). */
@media (max-width: 680px) {
  .nl-body-cta { display: none; }
}

/* --- телефон, десктопная версия (sc-if notMob) --- */
.nl-phone-stage { position: relative; display: flex; justify-content: center; padding: clamp(30px, 3.4vw, 52px) 0; overflow: hidden; order: 3; }
.nl-phone-wrap { position: relative; width: 100%; max-width: clamp(196px, 54vw, 278px); }
.nl-phone-lock {
  position: relative; width: 100%; aspect-ratio: 390 / 844; border-radius: 44px; border: 1px solid #C3D5E8;
  background: radial-gradient(120% 80% at 70% 6%, rgba(116,160,200,.26), transparent 62%), linear-gradient(180deg, #EDF3FA 0%, #C4D6E6 100%);
  box-shadow: 0 32px 64px -34px rgba(23,17,13,.32), 0 0 0 8px rgba(23,17,13,.03);
  overflow: hidden; padding: 26px 16px; display: flex; flex-direction: column; z-index: 2;
}
.nl-phone-glow {
  position: absolute; left: 50%; top: 40%; width: 112%; transform: translate(-50%, -50%);
  opacity: .34; filter: blur(14px) saturate(1.1) brightness(1.04); pointer-events: none; z-index: 0;
}
.nl-phone-vignette {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(88% 58% at 50% 40%, rgba(255,255,255,.34), rgba(158,186,212,.34) 78%);
}
.nl-lock-clock { position: relative; z-index: 1; text-align: center; flex: 0 0 auto; }
.nl-lock-date { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #4A3F35; }
.nl-lock-time {
  font-family: Lora, Georgia, serif; font-weight: 400; font-size: 62px;
  line-height: 1.05; color: #17110D; letter-spacing: -.02em;
}
.nl-lock-notifications { position: relative; z-index: 1; margin-top: auto; display: flex; flex-direction: column; gap: 9px; }
/* «Стекло» уведомлений: светлая тема держится не заливкой, а размытием фона —
   без backdrop-filter карточка сливается с обоями телефона. */
.nl-lock-note {
  background: linear-gradient(180deg, rgba(255,255,255,.58), rgba(255,255,255,.34));
  border: 1px solid rgba(255,255,255,.72);
  backdrop-filter: blur(20px) saturate(1.7); -webkit-backdrop-filter: blur(20px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 10px 24px -18px rgba(23,17,13,.4);
  border-radius: 18px; padding: 12px 13px; display: flex; gap: 10px; align-items: flex-start;
}
.nl-note-logo { width: 24px; height: 24px; flex: 0 0 auto; }
.nl-note-body { min-width: 0; }
.nl-note-head {
  display: flex; justify-content: space-between; gap: 8px; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: #4A3F35; margin-bottom: 4px;
}
.nl-note-text { margin: 0; font-size: 13.5px; line-height: 1.45; color: #2C241D; text-wrap: pretty; }

.nl-float--hero { position: absolute; left: -14%; right: -14%; bottom: 30%; z-index: 4; pointer-events: none; }
.nl-float-card--hero {
  background: linear-gradient(180deg, rgba(255,255,255,.66), rgba(255,255,255,.44));
  border: 1px solid rgba(255,255,255,.72);
  backdrop-filter: blur(24px) saturate(1.8); -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-radius: 20px; padding: 14px 15px; display: flex; gap: 11px; align-items: flex-start;
  box-shadow: 0 22px 44px -24px rgba(23,17,13,.32), inset 0 1px 0 rgba(255,255,255,.8);
}
.nl-float-logo { width: 26px; height: 26px; flex: 0 0 auto; }
.nl-float-card--hero .nl-note-head { margin-bottom: 5px; }
.nl-float-text { margin: 0 0 10px; font-size: 14px; line-height: 1.45; color: #17110D; text-wrap: pretty; }
.nl-play-row { display: flex; align-items: center; gap: 9px; }
.nl-play {
  width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; background: #E8703C; color: #17110D;
  display: flex; align-items: center; justify-content: center; font-size: 11px;
}
.nl-play-label { font-size: 12.5px; letter-spacing: .04em; color: #4A3F35; }

/* Предметы вокруг телефона. В светлой теме у них нет затемняющего brightness —
   только тень, иначе они читаются как вырезанные из тёмного макета. */
.nl-obj--mat {
  position: absolute; left: 0; top: 5%; width: clamp(104px, 26%, 168px); z-index: 0;
  filter: drop-shadow(0 20px 28px rgba(23,17,13,.22)); animation: nlDrift 8s ease-in-out infinite;
}
.nl-obj--sneakers {
  position: absolute; left: 0; bottom: 5%; width: clamp(112px, 28%, 182px); z-index: 0;
  filter: drop-shadow(0 22px 32px rgba(23,17,13,.22)); animation: nlDrift 6.6s ease-in-out .7s infinite;
}
.nl-obj--bottle {
  position: absolute; right: -2%; top: 3%; width: clamp(76px, 19%, 124px);
  transform: rotate(16deg); transform-origin: 50% 60%; z-index: 0;
  filter: drop-shadow(0 20px 28px rgba(23,17,13,.22)); animation: nlDriftTilt 7.4s ease-in-out .3s infinite;
}
.nl-obj--tracker {
  position: absolute; right: 0; bottom: 10%; width: clamp(80px, 20%, 126px); z-index: 0;
  filter: drop-shadow(0 20px 28px rgba(23,17,13,.22)); animation: nlDrift 7s ease-in-out 1.1s infinite;
}

/* --- телефон, мобильная версия: выкат по скроллу (sc-if isMob) ---
   Геометрия связана с offerReveal.js и меняется только вместе с ним: обёртка
   растёт по высоте, а маска на .nl-reveal-inner отодвигает срез вниз. Предметы
   съезжаются к телефону, вечернее уведомление, кроссовки и трекер проявляются
   по своим отрезкам прогресса.
   -webkit-mask-* обязателен: без него на iOS (WebKit) маски нет вовсе и
   телефон торчит поверх текста с самого начала. */
.nl-reveal { position: relative; height: 214px; width: 100%; overflow: visible; order: 1; will-change: height; }
.nl-reveal-inner {
  position: absolute; top: 0; left: -120px; right: -120px; padding-top: 24px; height: 420px;
  display: flex; justify-content: center; will-change: mask-image;
  mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat;
  mask-size: 100% 100%; -webkit-mask-size: 100% 100%;
  mask-image: linear-gradient(180deg, #000 0 204px, rgba(0,0,0,0) 222px);
  -webkit-mask-image: linear-gradient(180deg, #000 0 204px, rgba(0,0,0,0) 222px);
}
.nl-reveal-phone { position: relative; width: 172px; height: 372px; flex: 0 0 auto; }
.nl-reveal-lock {
  position: absolute; inset: 0; border-radius: 30px 30px 26px 26px; border: 1px solid #C3D5E8;
  background: radial-gradient(120% 80% at 70% 6%, rgba(116,160,200,.26), transparent 62%), linear-gradient(180deg, #EDF3FA 0%, #C4D6E6 100%);
  box-shadow: 0 22px 44px -26px rgba(23,17,13,.32), 0 0 0 6px rgba(23,17,13,.03);
  overflow: hidden; padding: 18px 11px; display: flex; flex-direction: column; z-index: 2;
  will-change: transform, opacity;
}
.nl-reveal-glow {
  position: absolute; left: 50%; top: 40%; width: 112%; transform: translate(-50%, -50%);
  opacity: .34; filter: blur(12px) saturate(1.1) brightness(1.04); pointer-events: none; z-index: 0;
}
.nl-reveal-vignette {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(88% 58% at 50% 40%, rgba(255,255,255,.34), rgba(158,186,212,.34) 78%);
}
.nl-reveal-clock { position: relative; z-index: 1; text-align: center; flex: 0 0 auto; }
.nl-reveal-date { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #4A3F35; }
.nl-reveal-time {
  font-family: Lora, Georgia, serif; font-weight: 400; font-size: 40px;
  line-height: 1.05; color: #17110D; letter-spacing: -.02em;
}

.nl-reveal-obj--mat {
  position: absolute; left: -118px; top: -6px; width: 120px; z-index: 4;
  will-change: transform; filter: drop-shadow(0 16px 24px rgba(23,17,13,.28));
}
.nl-reveal-obj--mat img { display: block; width: 100%; height: auto; animation: nlDrift 8s ease-in-out infinite; }
.nl-reveal-obj--bottle { position: absolute; right: -98px; top: 2px; width: 86px; z-index: 4; will-change: transform; }
.nl-reveal-obj--bottle img {
  display: block; width: 100%; transform: rotate(16deg); transform-origin: 50% 60%;
  filter: drop-shadow(0 16px 24px rgba(23,17,13,.28)); animation: nlDriftTilt 7.4s ease-in-out .3s infinite;
}
.nl-reveal-obj--sneakers { position: absolute; left: -112px; bottom: -8px; width: 126px; z-index: 1; opacity: 0; will-change: transform, opacity; }
.nl-reveal-obj--sneakers img { display: block; width: 100%; filter: drop-shadow(0 18px 26px rgba(23,17,13,.28)); animation: nlDrift 6.6s ease-in-out .7s infinite; }
.nl-reveal-obj--tracker { position: absolute; right: -88px; bottom: 4%; width: 92px; z-index: 1; opacity: 0; will-change: transform, opacity; }
.nl-reveal-obj--tracker img { display: block; width: 100%; filter: drop-shadow(0 18px 26px rgba(23,17,13,.28)); animation: nlDrift 7s ease-in-out 1.1s infinite; }

.nl-reveal-note--morning { position: absolute; left: -16%; right: -16%; top: 82px; z-index: 5; pointer-events: none; will-change: transform; }
.nl-reveal-card {
  background: linear-gradient(180deg, rgba(255,255,255,.66), rgba(255,255,255,.44));
  border: 1px solid rgba(255,255,255,.72);
  backdrop-filter: blur(24px) saturate(1.8); -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-radius: 14px; padding: 9px 10px; display: flex; gap: 8px; align-items: flex-start;
  box-shadow: 0 18px 36px -22px rgba(23,17,13,.3), inset 0 1px 0 rgba(255,255,255,.8);
}
.nl-reveal-note-logo { width: 18px; height: 18px; flex: 0 0 auto; }
.nl-reveal-note-head {
  display: flex; justify-content: space-between; gap: 8px; font-size: 9.5px; letter-spacing: .1em;
  text-transform: uppercase; color: #4A3F35; margin-bottom: 3px;
}
.nl-reveal-note-text { margin: 0 0 6px; font-size: 11.5px; line-height: 1.35; color: #17110D; text-wrap: pretty; }
.nl-reveal-play-row { display: flex; align-items: center; gap: 6px; }
.nl-reveal-play {
  width: 20px; height: 20px; flex: 0 0 auto; border-radius: 50%; background: #E8703C; color: #17110D;
  display: flex; align-items: center; justify-content: center; font-size: 8px;
}
.nl-reveal-play-label { font-size: 10px; letter-spacing: .04em; color: #4A3F35; }

.nl-reveal-note--evening {
  position: absolute; left: -9%; right: -9%; top: 196px; z-index: 3; pointer-events: none;
  opacity: 0; transform: translateY(-22px);
  transition: opacity 300ms ease, transform 460ms cubic-bezier(.25,.8,.3,1);
}
.nl-reveal-card--evening {
  background: linear-gradient(180deg, rgba(255,255,255,.66), rgba(255,255,255,.44));
  border: 1px solid rgba(255,255,255,.72);
  backdrop-filter: blur(24px) saturate(1.8); -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-radius: 12px; padding: 8px 9px; display: flex; gap: 7px; align-items: flex-start;
  box-shadow: 0 18px 36px -22px rgba(23,17,13,.3), inset 0 1px 0 rgba(255,255,255,.8);
}
.nl-reveal-note-logo--sm { width: 15px; height: 15px; flex: 0 0 auto; }
.nl-reveal-note-head--sm {
  display: flex; justify-content: space-between; gap: 8px; font-size: 9px; letter-spacing: .1em;
  text-transform: uppercase; color: #4A3F35; margin-bottom: 2px;
}
.nl-reveal-note-text--sm { margin: 0; font-size: 10.5px; line-height: 1.35; color: #2C241D; text-wrap: pretty; }

/* Две версии телефона взаимоисключающие — как два sc-if в хендоффе. */
@media (max-width: 680px) { .nl-phone-stage { display: none; } }
@media (min-width: 681px) { .nl-reveal { display: none; } }
