/* Spisok — сайт. Бумага, чернила, лайм и зелень иконки. */

:root {
  --paper: #f4efe4;
  --paper-2: #ebe3d1;
  --paper-3: #dfd4bc;
  --ink: #0d1a12;
  --ink-2: #33433a;
  --ink-3: #66726a;
  --forest: #0e3a27;
  --forest-2: #15543a;
  --lime: #d4f26a;
  --tomato: #ff5a3c;
  --yolk: #ffc940;
  --brand: #2fc265;
  --sky: #0088ff;
  --rule: rgba(13, 26, 18, 0.14);

  --sans: 'Geologica', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', monospace;
  --hand: 'Caveat', 'Segoe Print', cursive;
  --ios: -apple-system, 'SF Pro Text', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --emoji: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;

  --maxw: 1240px;
  --gutter: clamp(18px, 4.5vw, 44px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

main {
  overflow-x: clip;
}

/* бумажное зерно поверх всего */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 8px;
  top: 8px;
  transform: translateY(-200%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 200;
}
.skip:focus {
  transform: none;
}

/* ------------------------------------------------------------------ шапка */

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
}
.top.is-stuck {
  background: rgba(244, 239, 228, 0.86);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--rule);
}
.top__in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.brand img {
  width: 34px;
  height: 34px;
}
.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
}
.nav a {
  text-decoration: none;
  color: var(--ink-2);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover {
  color: var(--ink);
}
.nav a:hover::after {
  transform: scaleX(1);
}
.top .btn-store--sm {
  margin-left: 6px;
}

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

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  line-height: 1.1;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 10px 24px -12px rgba(13, 26, 18, 0.7);
}
.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 16px 30px -14px rgba(13, 26, 18, 0.8);
}
.btn-store svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.btn-store small {
  display: block;
  font-size: 11.5px;
  opacity: 0.75;
  letter-spacing: 0.01em;
}
.btn-store b {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.btn-store--sm {
  padding: 8px 16px 8px 13px;
  border-radius: 11px;
  gap: 8px;
}
.btn-store--sm svg {
  width: 18px;
  height: 18px;
}
.btn-store--sm b {
  font-size: 15px;
}
.btn-store--lime {
  background: var(--lime);
  color: var(--ink);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow span {
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover span {
  transform: translateY(3px);
}

/* ------------------------------------------------------------------ общие подписи */

.byline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
}
.byline img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.hand {
  font-family: var(--hand);
  font-weight: 600;
  line-height: 1;
}

.h2 {
  font-size: clamp(36px, 5vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 750;
  margin: 0;
  text-wrap: balance;
}
.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-2);
  max-width: 34em;
  margin: 22px 0 0;
  text-wrap: pretty;
}

.marker {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
.marker::before {
  content: '';
  position: absolute;
  left: -0.08em;
  right: -0.1em;
  bottom: 0.06em;
  height: 0.42em;
  background: var(--lime);
  border-radius: 0.12em 0.3em 0.18em 0.4em;
  transform: skewX(-8deg) rotate(-1deg) scaleX(var(--mk, 1));
  transform-origin: left;
  z-index: -1;
  transition: transform 0.9s var(--ease) 0.3s;
}

section {
  position: relative;
}

/* ------------------------------------------------------------------ hero */

.hero {
  padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 90px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(44px, 6.1vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-weight: 800;
  margin: 0;
}
.hero h1 .ln {
  display: block;
}
.hero h1 .ln--muted {
  color: var(--forest-2);
}
.hero__lede {
  font-size: clamp(17px, 1.45vw, 20px);
  color: var(--ink-2);
  max-width: 31em;
  margin: 26px 0 0;
  text-wrap: pretty;
}
.hero__lede b {
  color: var(--ink);
  font-weight: 600;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 34px;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.facts li {
  font: 500 14px/1 var(--sans);
  padding: 9px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
}
.facts li:nth-child(2) {
  background: var(--lime);
  border-color: var(--lime);
}

/* сцена: дома ↔ в магазине */
.stage {
  position: relative;
  height: clamp(600px, 52vw, 730px);
}
.stage .phone--home {
  --w: clamp(196px, 17.5vw, 244px);
  position: absolute;
  left: 3%;
  top: 13%;
  transform: rotate(-5deg);
  z-index: 1;
}
.stage .phone--store {
  --w: clamp(222px, 20vw, 282px);
  position: absolute;
  right: 4%;
  top: 6%;
  transform: rotate(3deg);
  z-index: 2;
}
.stage__label {
  position: absolute;
  font-size: clamp(26px, 2.3vw, 34px);
  color: var(--ink);
  z-index: 3;
  white-space: nowrap;
}
.stage__label small {
  display: block;
  font: 400 14px/1.2 var(--sans);
  color: var(--ink-3);
  margin-top: 4px;
}
.stage__label--home {
  left: 0;
  bottom: 3%;
  transform: rotate(-4deg);
}
.stage__label--store {
  right: 0;
  bottom: 0;
  transform: rotate(3deg);
  text-align: right;
}
.stage__notif {
  position: absolute;
  z-index: 4;
  width: clamp(250px, 23vw, 320px);
  right: -4%;
  top: -2%;
  transform: rotate(-2.5deg) translateY(-12px);
  opacity: 0;
  filter: drop-shadow(0 24px 34px rgba(13, 26, 18, 0.24));
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}
.stage__notif.is-in {
  opacity: 1;
  transform: rotate(-2.5deg) translateY(0);
}
.stage__sync {
  position: absolute;
  left: 30%;
  top: 40%;
  width: 40%;
  height: 22%;
  z-index: 3;
  overflow: visible;
  pointer-events: none;
}
.stage__sync path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-dasharray: 2 7;
  stroke-linecap: round;
  opacity: 0.5;
}
.stage__sync circle {
  fill: var(--brand);
  stroke: var(--paper);
  stroke-width: 3;
  opacity: 0;
}
.stage__sync.is-pulse circle {
  animation: travel 0.7s var(--ease) forwards;
}
@keyframes travel {
  0% {
    opacity: 1;
    offset-distance: 0%;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    offset-distance: 100%;
  }
}

/* ------------------------------------------------------------------ живой телефон (1 дизайн-пиксель = --u) */

.phone {
  --w: 280px;
  --u: calc(var(--w) / 412);
  width: var(--w);
  aspect-ratio: 412 / 866;
  position: relative;
  font-family: var(--ios);
  color: #000;
  user-select: none;
}
.phone__frame {
  position: absolute;
  inset: 0;
  border-radius: calc(66 * var(--u));
  background: #121412;
  padding: calc(11 * var(--u));
  box-shadow:
    0 0 0 calc(2 * var(--u)) #2d302d inset,
    0 calc(40 * var(--u)) calc(70 * var(--u)) calc(-20 * var(--u)) rgba(13, 26, 18, 0.55),
    0 calc(8 * var(--u)) calc(18 * var(--u)) rgba(13, 26, 18, 0.25);
}
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: calc(55 * var(--u));
  overflow: hidden;
  background: #f2f2f7;
}
.phone__island {
  position: absolute;
  top: calc(11 * var(--u));
  left: 50%;
  width: calc(120 * var(--u));
  height: calc(34 * var(--u));
  margin-left: calc(-60 * var(--u));
  border-radius: calc(20 * var(--u));
  background: #000;
  z-index: 5;
}
.phone__status {
  position: absolute;
  top: calc(16 * var(--u));
  left: calc(34 * var(--u));
  right: calc(30 * var(--u));
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: calc(16 * var(--u));
}
.phone__status svg {
  height: calc(12 * var(--u));
  width: auto;
}
.phone__nav {
  position: absolute;
  top: calc(56 * var(--u));
  left: calc(16 * var(--u));
  width: calc(40 * var(--u));
  height: calc(40 * var(--u));
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
}
.phone__nav svg {
  width: calc(18 * var(--u));
}
.phone__body {
  position: absolute;
  top: calc(104 * var(--u));
  left: 0;
  right: 0;
  padding: 0 calc(16 * var(--u));
}
.phone__title {
  font-size: calc(29 * var(--u));
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.phone__who {
  display: flex;
  align-items: center;
  gap: calc(7 * var(--u));
  margin-top: calc(10 * var(--u));
  font-size: calc(13.5 * var(--u));
  color: rgba(60, 60, 67, 0.6);
  white-space: nowrap;
}
.phone__who b {
  color: #000;
  font-weight: 600;
}
.ava {
  width: calc(24 * var(--u));
  height: calc(24 * var(--u));
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: calc(11 * var(--u));
  font-weight: 700;
  flex: none;
}
.phone__progress {
  margin-top: calc(14 * var(--u));
  font-size: calc(14 * var(--u));
  font-weight: 600;
}
.bar {
  margin-top: calc(7 * var(--u));
  height: calc(6 * var(--u));
  border-radius: 99px;
  background: rgba(120, 120, 128, 0.16);
  display: flex;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  width: 0;
  transition: width 0.6s var(--ease);
}
.bar i:first-child {
  background: #34c759;
}
.bar i:last-child {
  background: #ff8d28;
}
.dept {
  display: flex;
  justify-content: space-between;
  margin: calc(18 * var(--u)) calc(16 * var(--u)) calc(7 * var(--u));
  font-size: calc(13.5 * var(--u));
  font-weight: 500;
  color: rgba(60, 60, 67, 0.6);
}
.dept--out {
  color: #c93400;
  font-weight: 600;
}
.dept--done {
  color: #248a3d;
  font-weight: 600;
}
.card {
  background: #fff;
  border-radius: calc(18 * var(--u));
  overflow: hidden;
}
.row {
  display: flex;
  align-items: center;
  gap: calc(11 * var(--u));
  padding: 0 calc(14 * var(--u));
  height: calc(56 * var(--u));
  position: relative;
  overflow: hidden;
  transition: height 0.5s var(--ease), opacity 0.35s, background 0.3s;
}
.row + .row::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: calc(92 * var(--u));
  height: 0.5px;
  background: rgba(60, 60, 67, 0.2);
}
.tick {
  width: calc(24 * var(--u));
  height: calc(24 * var(--u));
  border-radius: 50%;
  border: calc(2 * var(--u)) solid #aeaeb2;
  flex: none;
  display: grid;
  place-items: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.tick svg {
  width: 62%;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.2s, transform 0.3s var(--ease);
}
.emo {
  width: calc(34 * var(--u));
  height: calc(34 * var(--u));
  border-radius: calc(9 * var(--u));
  background: #f2f2f7;
  display: grid;
  place-items: center;
  font-family: var(--emoji);
  font-size: calc(19 * var(--u));
  flex: none;
}
.row__txt {
  min-width: 0;
  line-height: 1.2;
}
.row__name {
  display: block;
  font-size: calc(16 * var(--u));
  white-space: nowrap;
}
.row__qty {
  display: block;
  font-size: calc(12.5 * var(--u));
  font-weight: 600;
  margin-top: calc(2 * var(--u));
}
.row.is-bought .tick {
  background: #34c759;
  border-color: #34c759;
  transform: scale(1.08);
}
.row.is-bought .tick svg,
.row.is-out .tick svg {
  opacity: 1;
  transform: scale(1);
}
.row.is-bought .row__name {
  color: rgba(60, 60, 67, 0.5);
}
.row.is-out .tick {
  background: rgba(255, 141, 40, 0.18);
  border-color: transparent;
}
.row.is-out .row__qty {
  color: #c93400;
  font-weight: 500;
}
.row.is-gone {
  opacity: 0;
}
.phone__bottom {
  position: absolute;
  left: calc(16 * var(--u));
  right: calc(16 * var(--u));
  bottom: calc(30 * var(--u));
  display: flex;
  gap: calc(10 * var(--u));
  align-items: center;
}
.plus {
  width: calc(50 * var(--u));
  height: calc(50 * var(--u));
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 calc(4 * var(--u)) calc(14 * var(--u)) rgba(0, 0, 0, 0.1);
  display: grid;
  place-items: center;
  flex: none;
}
.plus svg {
  width: 42%;
}
.finish {
  flex: 1;
  height: calc(50 * var(--u));
  border-radius: 99px;
  background: #0088ff;
  color: #fff;
  font-size: calc(16 * var(--u));
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(7 * var(--u));
  box-shadow: 0 calc(8 * var(--u)) calc(18 * var(--u)) rgba(0, 136, 255, 0.3);
  transition: background 0.3s;
}
.finish.is-done {
  background: #34c759;
  box-shadow: 0 calc(8 * var(--u)) calc(18 * var(--u)) rgba(52, 199, 89, 0.35);
}
.addbar {
  flex: 1;
  height: calc(50 * var(--u));
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 calc(4 * var(--u)) calc(14 * var(--u)) rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: calc(9 * var(--u));
  padding: 0 calc(16 * var(--u));
  font-size: calc(16 * var(--u));
  color: rgba(60, 60, 67, 0.3);
}
.addbar svg {
  width: calc(22 * var(--u));
}
.phone__home {
  position: absolute;
  bottom: calc(8 * var(--u));
  left: 50%;
  width: calc(140 * var(--u));
  height: calc(5 * var(--u));
  margin-left: calc(-70 * var(--u));
  border-radius: 9px;
  background: #000;
}
.toast {
  position: absolute;
  top: calc(58 * var(--u));
  left: 50%;
  z-index: 6;
  transform: translate(-50%, calc(-90 * var(--u)));
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  padding: calc(10 * var(--u)) calc(16 * var(--u));
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 calc(10 * var(--u)) calc(30 * var(--u)) rgba(0, 0, 0, 0.16);
  font-size: calc(13.5 * var(--u));
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.5s var(--ease);
}
.toast.is-in {
  transform: translate(-50%, 0);
}
.toast i {
  width: calc(20 * var(--u));
  height: calc(20 * var(--u));
  border-radius: 50%;
  background: #34c759;
  display: grid;
  place-items: center;
  flex: none;
}
.toast i.is-out {
  background: #ff8d28;
}
.toast i svg {
  width: 62%;
}

/* статичный телефон со скриншотом */
.shot {
  --w: 300px;
  width: var(--w);
  max-width: 100%;
  aspect-ratio: 412 / 866;
  border-radius: calc(var(--w) * 0.16);
  background: #121412;
  padding: calc(var(--w) * 0.027);
  box-shadow:
    0 0 0 2px #2d302d inset,
    0 40px 70px -26px rgba(13, 26, 18, 0.5),
    0 8px 18px rgba(13, 26, 18, 0.18);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--w) * 0.134);
}

/* ------------------------------------------------------------------ лента-чек */

.tape {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-block: 1px solid var(--ink);
  transform: rotate(-1.2deg);
  margin: 10px -20px 0;
  position: relative;
  z-index: 3;
}
.tape__track {
  display: flex;
  width: max-content;
  animation: tape 46s linear infinite;
}
.tape__track span {
  font: 500 15px/1 var(--mono);
  padding: 16px 0;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.tape__track span i {
  font-style: normal;
  color: var(--lime);
  margin: 0 18px;
}
@keyframes tape {
  to {
    transform: translateX(-50%);
  }
}

/* ------------------------------------------------------------------ было / стало */

.before {
  padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 8vw, 110px);
}
.before__head {
  max-width: 900px;
}
.before__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  margin-top: clamp(40px, 6vw, 72px);
}
.panel {
  position: relative;
  border-radius: 28px;
  padding: 26px;
}
.panel__tag {
  position: absolute;
  top: -18px;
  left: 24px;
  font-size: 34px;
  transform: rotate(-4deg);
  background: var(--paper);
  padding: 0 10px;
}
.panel--chat {
  background: var(--paper-2);
  border: 1.5px solid var(--rule);
}
.chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--ios);
  font-size: 15px;
}
.chat__who {
  font: 400 13px/1 var(--ios);
  color: var(--ink-3);
  text-align: center;
  margin-bottom: 6px;
}
.msg {
  max-width: 78%;
  padding: 8px 13px 9px;
  border-radius: 18px;
  line-height: 1.3;
  position: relative;
}
.msg time {
  font-size: 11px;
  opacity: 0.55;
  margin-left: 8px;
}
.msg--me {
  align-self: flex-end;
  background: #0b7d48;
  color: #fff;
  border-bottom-right-radius: 6px;
}
.msg--them {
  align-self: flex-start;
  background: #fff;
  border-bottom-left-radius: 6px;
}
.msg--loud {
  font-weight: 700;
}
.before__arrow {
  font-size: 46px;
  color: var(--ink);
  text-align: center;
  line-height: 1;
}
.before__arrow svg {
  width: 90px;
  display: block;
  margin: 8px auto 0;
}
.panel--app {
  background: var(--forest);
  color: var(--paper);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: center;
}
.panel--app .panel__tag {
  background: var(--lime);
  color: var(--ink);
  border-radius: 6px;
}
.panel--app .shot {
  --w: 210px;
}
.panel--app ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  font-size: 16px;
}
.panel--app li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
}
.panel--app li::before {
  content: '✓';
  color: var(--lime);
  font-weight: 700;
}

/* ------------------------------------------------------------------ один вечер (таймлайн) */

.evening {
  padding: clamp(60px, 9vw, 130px) 0;
  background: var(--paper-2);
  border-block: 1.5px solid var(--rule);
}
.evening__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}
.evening__head .hand {
  font-size: 30px;
  transform: rotate(-3deg);
  color: var(--forest-2);
}
.steps {
  list-style: none;
  margin: clamp(48px, 7vw, 90px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 34px);
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 19px;
  left: 0;
  right: 0;
  border-top: 2px dashed rgba(13, 26, 18, 0.3);
}
.step {
  position: relative;
}
.step__time {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 15px/1 var(--mono);
  background: var(--ink);
  color: var(--paper);
  padding: 11px 14px;
  border-radius: 999px;
  position: relative;
}
.step__time em {
  font-style: normal;
  color: var(--lime);
}
.step h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 22px 0 10px;
}
.step p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-2);
}
.step .shot {
  --w: 100%;
  width: 100%;
  margin-top: 26px;
  border-radius: 13% / 6.2%;
  padding: 2.6%;
}
.step .shot img {
  border-radius: 11% / 5.2%;
}
.step:nth-child(even) .shot {
  transform: rotate(1.5deg);
}
.step:nth-child(odd) .shot {
  transform: rotate(-1.5deg);
}

/* ------------------------------------------------------------------ уведомления */

.notify {
  padding: clamp(80px, 11vw, 150px) 0;
}
.notify__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.lock {
  position: relative;
  border-radius: 40px;
  padding: 40px clamp(18px, 3vw, 34px) 36px;
  background:
    radial-gradient(120% 90% at 10% 0%, #2a7d50 0%, transparent 60%),
    radial-gradient(90% 80% at 100% 100%, #d4f26a 0%, transparent 55%),
    linear-gradient(160deg, #0e3a27, #15543a 55%, #2a6b3e);
  overflow: hidden;
  isolation: isolate;
}
.lock__date {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font: 600 17px/1 var(--ios);
}
.lock__time {
  text-align: center;
  color: #fff;
  font: 700 clamp(72px, 8vw, 104px)/1 var(--ios);
  letter-spacing: -0.03em;
  margin: 8px 0 28px;
  opacity: 0.94;
}
.notif {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 4px 12px;
  align-items: start;
  padding: 13px 15px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--ios);
  color: #000;
  margin-top: 9px;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.notif.is-in {
  opacity: 1;
  transform: none;
}
.notif img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  grid-row: span 2;
}
.notif b {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}
.notif time {
  font-size: 13px;
  color: rgba(60, 60, 67, 0.6);
}
.notif p {
  grid-column: 2 / 4;
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}
.notify__list {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: grid;
  gap: 0;
}
.notify__list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1.5px solid var(--rule);
  font-size: 16px;
}
.notify__list li:last-child {
  border-bottom: 1.5px solid var(--rule);
}
.notify__list b {
  font-weight: 600;
}

/* ------------------------------------------------------------------ чеки */

.receipts {
  background: var(--forest);
  color: var(--paper);
  padding: clamp(80px, 11vw, 150px) 0;
  overflow: hidden;
}
.receipts .lede {
  color: rgba(244, 239, 228, 0.78);
}
.receipts__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.receipts__scene {
  position: relative;
  height: clamp(520px, 52vw, 680px);
}
.paper-receipt {
  position: absolute;
  left: 0;
  top: 6%;
  width: clamp(230px, 22vw, 290px);
  background: #fbf9f3;
  color: #222;
  font: 400 11.5px/1.5 var(--mono);
  padding: 22px 20px 30px;
  transform: rotate(-6deg);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.6);
  z-index: 1;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 12px 51% repeat-x,
    linear-gradient(#000 0 0) top / 100% calc(100% - 6px) no-repeat;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 12px 51% repeat-x,
    linear-gradient(#000 0 0) top / 100% calc(100% - 6px) no-repeat;
}
.paper-receipt h4 {
  margin: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.paper-receipt .c {
  text-align: center;
  color: #666;
}
.paper-receipt hr {
  border: 0;
  border-top: 1px dashed #999;
  margin: 10px 0;
}
.paper-receipt .ln {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.paper-receipt .tot {
  font-weight: 700;
  font-size: 13.5px;
}
.paper-receipt .qr {
  width: 108px;
  margin: 14px auto 6px;
  position: relative;
}
.paper-receipt .qr::after {
  content: '';
  position: absolute;
  inset: -10px;
  border: 3px solid var(--lime);
  border-radius: 14px;
  clip-path: polygon(0 0, 30% 0, 30% 8%, 8% 8%, 8% 30%, 0 30%, 0 70%, 8% 70%, 8% 92%, 30% 92%, 30% 100%, 70% 100%, 70% 92%, 92% 92%, 92% 70%, 100% 70%, 100% 30%, 92% 30%, 92% 8%, 70% 8%, 70% 0, 100% 0, 100% 100%, 0 100%);
  animation: scan 2.4s ease-in-out infinite;
}
@keyframes scan {
  50% {
    inset: -4px;
  }
}
.receipts__scene .shot {
  position: absolute;
  --w: clamp(220px, 21vw, 280px);
  right: 22%;
  top: 0;
  transform: rotate(3deg);
  z-index: 2;
}
.receipts__scene .shot--b {
  --w: clamp(190px, 17vw, 230px);
  right: 0;
  top: 30%;
  transform: rotate(-4deg);
  z-index: 3;
}
.receipts__hand {
  position: absolute;
  left: 6%;
  bottom: 4%;
  color: var(--lime);
  font-size: clamp(26px, 2.4vw, 34px);
  transform: rotate(-6deg);
  z-index: 4;
}
.points {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: grid;
  gap: 18px;
}
.points li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}
.points span {
  font: 700 40px/0.9 var(--hand);
  color: var(--lime);
  transform: rotate(-6deg);
}
.points b {
  display: block;
  font-weight: 600;
  font-size: 18px;
}
.points p {
  margin: 4px 0 0;
  color: rgba(244, 239, 228, 0.72);
  font-size: 15.5px;
}
.note-small {
  margin-top: 28px;
  font-size: 14px;
  color: rgba(244, 239, 228, 0.55);
}

/* ------------------------------------------------------------------ рядом с магазином */

.near {
  padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 8vw, 110px);
}
.near__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.map {
  position: relative;
  aspect-ratio: 1.15;
  border-radius: 34px;
  overflow: hidden;
  background: #e6dfcd;
  border: 1.5px solid var(--rule);
}
.map svg.streets {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map__zone {
  position: absolute;
  left: 58%;
  top: 40%;
  width: 34%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(47, 194, 101, 0.16);
  border: 2px dashed var(--forest-2);
}
.map__zone::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  animation: ring 2.6s ease-out infinite;
}
@keyframes ring {
  from {
    transform: scale(0.7);
    opacity: 0.9;
  }
  to {
    transform: scale(1.35);
    opacity: 0;
  }
}
.map__pin {
  position: absolute;
  left: 58%;
  top: 40%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.map__pin span {
  font: 600 13px/1 var(--sans);
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  border-radius: 10px;
  white-space: nowrap;
}
.map__pin i {
  width: 14px;
  height: 14px;
  background: var(--ink);
  transform: rotate(45deg) translateY(-8px);
}
.map__me {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sky);
  border: 3px solid #fff;
  box-shadow: 0 0 0 8px rgba(0, 136, 255, 0.18);
  left: 10%;
  top: 84%;
  transform: translate(-50%, -50%);
  animation: walk 7s ease-in-out infinite;
}
@keyframes walk {
  0% {
    left: 10%;
    top: 84%;
  }
  25% {
    left: 26%;
    top: 74%;
  }
  42% {
    left: 40%;
    top: 63%;
  }
  58%,
  100% {
    left: 53%;
    top: 51%;
  }
}
.map__radius {
  position: absolute;
  left: 74%;
  top: 58%;
  font: 700 24px/1 var(--hand);
  color: var(--forest-2);
  transform: rotate(-8deg);
}
.map .notif {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 5%;
  margin: 0;
  opacity: 0;
  transform: translateY(-20px);
  animation: near 7s var(--ease) infinite;
}
@keyframes near {
  0%,
  52% {
    opacity: 0;
    transform: translateY(-20px);
  }
  60%,
  92% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* ------------------------------------------------------------------ детали */

.details {
  padding: clamp(60px, 9vw, 120px) 0 clamp(80px, 11vw, 150px);
}
.index {
  list-style: none;
  margin: clamp(40px, 6vw, 70px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(30px, 5vw, 80px);
}
.index li {
  display: block;
  padding: 28px 0;
  border-top: 1.5px solid var(--ink);
}
.index h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 700;
}
.index p {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 16px;
}
.code {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}
.code span {
  width: 38px;
  height: 46px;
  display: grid;
  place-items: center;
  font: 700 21px/1 var(--mono);
  border-radius: 9px;
  background: var(--ink);
  color: var(--lime);
}
.qty {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.qty span {
  font: 600 14px/1 var(--ios);
  padding: 8px 11px;
  border-radius: 99px;
  background: var(--paper-2);
  border: 1.5px solid var(--rule);
}
.qty span.on {
  background: var(--sky);
  color: #fff;
  border-color: var(--sky);
}

/* ------------------------------------------------------------------ вопросы */

.faq {
  padding: clamp(70px, 9vw, 130px) 0;
  background: var(--paper-2);
  border-top: 1.5px solid var(--rule);
}
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 90px);
}
.faq details {
  border-bottom: 1.5px solid var(--rule);
}
.faq details:first-child {
  border-top: 1.5px solid var(--rule);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 6px;
  background:
    linear-gradient(var(--ink) 0 0) center / 100% 2px no-repeat,
    linear-gradient(var(--ink) 0 0) center / 2px 100% no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin: -6px 0 22px;
  color: var(--ink-2);
  max-width: 40em;
}

/* ------------------------------------------------------------------ финал */

.final {
  background: var(--lime);
  padding: clamp(80px, 11vw, 150px) 0;
  overflow: hidden;
}
.final__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
}
.final h2 {
  font-size: clamp(46px, 8.4vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 800;
  margin: 0;
}
.final h2 s {
  text-decoration: none;
  position: relative;
  color: var(--forest-2);
}
.final h2 s::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  top: 52%;
  height: 0.09em;
  background: var(--tomato);
  border-radius: 99px;
  transform: rotate(-3deg) scaleX(var(--mk, 1));
  transform-origin: left;
  transition: transform 0.8s var(--ease) 0.4s;
}
.final__cta {
  display: flex;
  align-items: center;
  gap: 26px;
}
.qrbox {
  background: #fff;
  border-radius: 20px;
  padding: 14px;
  width: 150px;
  text-align: center;
  font: 500 13px/1.3 var(--sans);
  box-shadow: 0 20px 40px -24px rgba(13, 26, 18, 0.6);
  transform: rotate(3deg);
}
.qrbox svg {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 8px;
}
.final .lede {
  color: var(--ink);
  margin-top: 26px;
}

/* ------------------------------------------------------------------ подвал */

.foot {
  background: var(--ink);
  color: rgba(244, 239, 228, 0.7);
  padding: 50px 0 40px;
  font-size: 15px;
}
.foot__in {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: center;
  justify-content: space-between;
}
.foot .brand {
  color: var(--paper);
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.foot a {
  text-decoration: none;
}
.foot a:hover {
  color: var(--lime);
}
.foot__small {
  width: 100%;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(244, 239, 228, 0.45);
  border-top: 1px solid rgba(244, 239, 228, 0.14);
  padding-top: 22px;
}

/* ------------------------------------------------------------------ появление при прокрутке */

.js .rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .rv.is-in {
  opacity: 1;
  transform: none;
}
.rv-d1 {
  transition-delay: 0.08s;
}
.rv-d2 {
  transition-delay: 0.16s;
}
.rv-d3 {
  transition-delay: 0.24s;
}
.js .marker:not(.is-in) {
  --mk: 0;
}
.js .final h2:not(.is-in) s {
  --mk: 0;
}

/* ------------------------------------------------------------------ документы (политика, поддержка) */

.doc {
  padding: clamp(40px, 7vw, 90px) 0 clamp(70px, 9vw, 120px);
}
.doc__in {
  max-width: 760px;
}
.doc h1 {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.05em;
  line-height: 0.95;
  font-weight: 800;
  margin: 18px 0 0;
}
.doc h2 {
  font-size: 26px;
  letter-spacing: -0.025em;
  margin: 44px 0 0;
}
.doc h3 {
  font-size: 19px;
  margin: 26px 0 0;
}
.doc p,
.doc li {
  color: var(--ink-2);
}
.doc .meta {
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 14px;
}
.doc .box {
  background: var(--lime);
  border-radius: 18px;
  padding: 18px 22px;
  margin: 28px 0 0;
  color: var(--ink);
}
.doc .langs {
  display: flex;
  gap: 8px;
  margin: 26px 0 34px;
}
.doc .langs a {
  font: 500 14px/1 var(--sans);
  padding: 9px 13px;
  border: 1.5px solid var(--ink);
  border-radius: 99px;
  text-decoration: none;
}
.doc hr {
  border: 0;
  border-top: 1.5px solid var(--rule);
  margin: 70px 0 0;
}

/* ------------------------------------------------------------------ адаптив */

@media (max-width: 1080px) {
  .nav {
    display: none;
  }
  .top .btn-store--sm {
    margin-left: auto;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 60px;
  }
  .steps::before {
    display: none;
  }
  .before__grid {
    grid-template-columns: 1fr;
  }
  .before__arrow svg {
    transform: rotate(90deg);
    width: 60px;
  }
}

@media (max-width: 900px) {
  .hero__grid,
  .notify__grid,
  .receipts__grid,
  .near__grid,
  .faq__grid,
  .final__grid {
    grid-template-columns: 1fr;
  }
  .stage {
    height: 560px;
    max-width: 520px;
    width: 100%;
    margin: 10px auto 0;
  }
  .stage .phone--home {
    --w: 200px;
  }
  .stage .phone--store {
    --w: 228px;
  }
  .stage__notif {
    width: 250px;
    right: 0;
  }
  .index {
    grid-template-columns: 1fr;
  }
  .receipts__scene {
    height: 560px;
    max-width: 520px;
  }
  .final__cta {
    flex-wrap: wrap;
  }
  .near__grid .map {
    order: 2;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .brand {
    font-size: 19px;
  }
  .top .btn-store--sm small {
    display: none;
  }
  .stage {
    height: 470px;
  }
  .stage .phone--home {
    --w: 160px;
    left: 0;
    top: 16%;
  }
  .stage .phone--store {
    --w: 186px;
    right: 0;
  }
  .stage__notif {
    width: 220px;
    right: -6px;
    top: -4%;
  }
  .stage__label {
    font-size: 25px;
  }
  .stage__sync {
    display: none;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step .shot {
    width: 72%;
  }
  .panel {
    padding: 22px 16px;
  }
  .panel--app {
    grid-template-columns: 1fr;
  }
  .panel--app .shot {
    --w: 200px;
    margin: 0 auto;
  }
  .notify__list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .paper-receipt {
    width: 200px;
    font-size: 10px;
    padding: 18px 14px 26px;
  }
  .paper-receipt .qr {
    width: 84px;
  }
  .receipts__scene .shot {
    --w: 190px;
    right: 6%;
  }
  .receipts__scene .shot--b {
    --w: 160px;
    right: 0;
    top: 40%;
  }
  .receipts__scene {
    height: 560px;
  }
  .receipts__hand {
    left: 0;
    bottom: 0;
    font-size: 24px;
    max-width: 160px;
    white-space: normal;
    line-height: 1.05;
  }
  .qrbox {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .rv {
    opacity: 1;
    transform: none;
  }
  .js .marker:not(.is-in),
  .js .final h2:not(.is-in) s {
    --mk: 1;
  }
  .notif,
  .map .notif,
  .stage__notif {
    opacity: 1;
    transform: none;
  }
  .tape__track {
    animation: none;
  }
}

/* абзацы-детали без стандартных отступов */
.msg,
.chat__who,
.stage__label,
.panel__tag,
.lock__date,
.receipts__hand,
.map__radius,
.paper-receipt p {
  margin: 0;
}
