/* ==========================================================================
   QRMotion — главная страница.
   Фирменный цвет — var(--brand) (меняется в «Админка → Настройки → Оформление»).
   Единственная «громкая» анимация — круг оборота в первом экране;
   остальное движение — только в ответ на действия посетителя.
   ========================================================================== */

.lp { overflow-x: clip; --qr-pattern: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2021%2021%22%20shape-rendering%3D%22crispEdges%22%3E%3Cpath%20d%3D%22M0%200h1v1h-1zM1%200h1v1h-1zM2%200h1v1h-1zM3%200h1v1h-1zM4%200h1v1h-1zM5%200h1v1h-1zM6%200h1v1h-1zM8%200h1v1h-1zM12%200h1v1h-1zM14%200h1v1h-1zM15%200h1v1h-1zM16%200h1v1h-1zM17%200h1v1h-1zM18%200h1v1h-1zM19%200h1v1h-1zM20%200h1v1h-1zM0%201h1v1h-1zM6%201h1v1h-1zM8%201h1v1h-1zM9%201h1v1h-1zM11%201h1v1h-1zM14%201h1v1h-1zM20%201h1v1h-1zM0%202h1v1h-1zM2%202h1v1h-1zM3%202h1v1h-1zM4%202h1v1h-1zM6%202h1v1h-1zM8%202h1v1h-1zM9%202h1v1h-1zM10%202h1v1h-1zM11%202h1v1h-1zM12%202h1v1h-1zM14%202h1v1h-1zM16%202h1v1h-1zM17%202h1v1h-1zM18%202h1v1h-1zM20%202h1v1h-1zM0%203h1v1h-1zM2%203h1v1h-1zM3%203h1v1h-1zM4%203h1v1h-1zM6%203h1v1h-1zM8%203h1v1h-1zM10%203h1v1h-1zM12%203h1v1h-1zM14%203h1v1h-1zM16%203h1v1h-1zM17%203h1v1h-1zM18%203h1v1h-1zM20%203h1v1h-1zM0%204h1v1h-1zM2%204h1v1h-1zM3%204h1v1h-1zM4%204h1v1h-1zM6%204h1v1h-1zM9%204h1v1h-1zM10%204h1v1h-1zM11%204h1v1h-1zM12%204h1v1h-1zM14%204h1v1h-1zM16%204h1v1h-1zM17%204h1v1h-1zM18%204h1v1h-1zM20%204h1v1h-1zM0%205h1v1h-1zM6%205h1v1h-1zM8%205h1v1h-1zM10%205h1v1h-1zM12%205h1v1h-1zM14%205h1v1h-1zM20%205h1v1h-1zM0%206h1v1h-1zM1%206h1v1h-1zM2%206h1v1h-1zM3%206h1v1h-1zM4%206h1v1h-1zM5%206h1v1h-1zM6%206h1v1h-1zM8%206h1v1h-1zM10%206h1v1h-1zM12%206h1v1h-1zM14%206h1v1h-1zM15%206h1v1h-1zM16%206h1v1h-1zM17%206h1v1h-1zM18%206h1v1h-1zM19%206h1v1h-1zM20%206h1v1h-1zM0%208h1v1h-1zM1%208h1v1h-1zM4%208h1v1h-1zM5%208h1v1h-1zM6%208h1v1h-1zM12%208h1v1h-1zM15%208h1v1h-1zM17%208h1v1h-1zM18%208h1v1h-1zM19%208h1v1h-1zM20%208h1v1h-1zM0%209h1v1h-1zM1%209h1v1h-1zM2%209h1v1h-1zM3%209h1v1h-1zM5%209h1v1h-1zM7%209h1v1h-1zM8%209h1v1h-1zM9%209h1v1h-1zM10%209h1v1h-1zM12%209h1v1h-1zM16%209h1v1h-1zM18%209h1v1h-1zM20%209h1v1h-1zM1%2010h1v1h-1zM3%2010h1v1h-1zM4%2010h1v1h-1zM6%2010h1v1h-1zM7%2010h1v1h-1zM9%2010h1v1h-1zM10%2010h1v1h-1zM12%2010h1v1h-1zM14%2010h1v1h-1zM16%2010h1v1h-1zM17%2010h1v1h-1zM18%2010h1v1h-1zM19%2010h1v1h-1zM0%2011h1v1h-1zM2%2011h1v1h-1zM3%2011h1v1h-1zM11%2011h1v1h-1zM12%2011h1v1h-1zM19%2011h1v1h-1zM0%2012h1v1h-1zM2%2012h1v1h-1zM4%2012h1v1h-1zM6%2012h1v1h-1zM8%2012h1v1h-1zM9%2012h1v1h-1zM10%2012h1v1h-1zM11%2012h1v1h-1zM13%2012h1v1h-1zM14%2012h1v1h-1zM15%2012h1v1h-1zM16%2012h1v1h-1zM18%2012h1v1h-1zM19%2012h1v1h-1zM20%2012h1v1h-1zM8%2013h1v1h-1zM9%2013h1v1h-1zM11%2013h1v1h-1zM12%2013h1v1h-1zM16%2013h1v1h-1zM17%2013h1v1h-1zM20%2013h1v1h-1zM0%2014h1v1h-1zM1%2014h1v1h-1zM2%2014h1v1h-1zM3%2014h1v1h-1zM4%2014h1v1h-1zM5%2014h1v1h-1zM6%2014h1v1h-1zM9%2014h1v1h-1zM10%2014h1v1h-1zM11%2014h1v1h-1zM14%2014h1v1h-1zM16%2014h1v1h-1zM19%2014h1v1h-1zM0%2015h1v1h-1zM6%2015h1v1h-1zM8%2015h1v1h-1zM10%2015h1v1h-1zM13%2015h1v1h-1zM14%2015h1v1h-1zM16%2015h1v1h-1zM0%2016h1v1h-1zM2%2016h1v1h-1zM3%2016h1v1h-1zM4%2016h1v1h-1zM6%2016h1v1h-1zM8%2016h1v1h-1zM10%2016h1v1h-1zM12%2016h1v1h-1zM13%2016h1v1h-1zM14%2016h1v1h-1zM16%2016h1v1h-1zM19%2016h1v1h-1zM0%2017h1v1h-1zM2%2017h1v1h-1zM3%2017h1v1h-1zM4%2017h1v1h-1zM6%2017h1v1h-1zM10%2017h1v1h-1zM12%2017h1v1h-1zM13%2017h1v1h-1zM14%2017h1v1h-1zM16%2017h1v1h-1zM17%2017h1v1h-1zM19%2017h1v1h-1zM20%2017h1v1h-1zM0%2018h1v1h-1zM2%2018h1v1h-1zM3%2018h1v1h-1zM4%2018h1v1h-1zM6%2018h1v1h-1zM9%2018h1v1h-1zM12%2018h1v1h-1zM13%2018h1v1h-1zM16%2018h1v1h-1zM18%2018h1v1h-1zM0%2019h1v1h-1zM6%2019h1v1h-1zM8%2019h1v1h-1zM9%2019h1v1h-1zM11%2019h1v1h-1zM12%2019h1v1h-1zM15%2019h1v1h-1zM16%2019h1v1h-1zM0%2020h1v1h-1zM1%2020h1v1h-1zM2%2020h1v1h-1zM3%2020h1v1h-1zM4%2020h1v1h-1zM5%2020h1v1h-1zM6%2020h1v1h-1zM8%2020h1v1h-1zM9%2020h1v1h-1zM10%2020h1v1h-1zM11%2020h1v1h-1zM14%2020h1v1h-1zM15%2020h1v1h-1zM17%2020h1v1h-1zM20%2020h1v1h-1z%22%20fill%3D%22%230e1c33%22%2F%3E%3C%2Fsvg%3E"); }
.lp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lp-section { padding: 88px 0 0; scroll-margin-top: 70px; }
.lp-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.015em; max-width: 22ch; }
.lp-sub { color: var(--ink-soft); font-size: 17px; line-height: 1.6; margin-top: 14px; max-width: 62ch; }
.lp-note { color: var(--ink-faint); font-size: 13px; margin-top: 14px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.green { background: var(--green-soft); color: var(--green-deep); }
.pill.amber { background: #fdf0d8; color: #9a5d0c; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 14px; border-radius: 10px; background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: 13px; }
.lp-btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }

/* ------------------------------------------------------------- первый экран */
.lp-hero { position: relative; padding: 48px 0 40px; isolation: isolate; }
.lp-hero::before { content: ""; position: absolute; inset: -80px 0 0; z-index: -1;
  background-image: radial-gradient(color-mix(in srgb, var(--brand) 22%, transparent) 1.3px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 70% at 78% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(70% 70% at 78% 40%, #000 0%, transparent 70%); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: center; }
.lp-display { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4.7vw, 60px); line-height: 1.05; letter-spacing: -.025em; color: var(--ink); max-width: 15ch; text-wrap: balance; }
.lp-lead { font-size: clamp(16px, 1.6vw, 18.5px); line-height: 1.6; color: var(--ink-soft); margin-top: 24px; max-width: 54ch; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lp-cta .btn { border-radius: 14px; padding: 15px 24px; }
.lp-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; color: var(--ink-soft); font-size: 13.5px; }
.lp-facts li { display: inline-flex; align-items: center; gap: 8px; }
.lp-facts .ic-sm { color: var(--brand); }

/* Круг оборота */
.lp-loop { position: relative; width: 100%; max-width: 520px; margin: 0 0 0 auto; aspect-ratio: 1; color: var(--brand); }
.lp-loop-svg { width: 100%; height: 100%; overflow: visible; }
.lp-ring-track { fill: none; stroke: color-mix(in srgb, var(--brand) 9%, #ffffff); stroke-width: 26; }
.lp-ring { fill: none; stroke-width: 2.5; stroke-dasharray: 2 9; stroke-linecap: round; animation: lp-flow 3s linear infinite; }
@keyframes lp-flow { to { stroke-dashoffset: -22; } }
.lp-arrows path { fill: var(--brand); opacity: .55; }
.lp-st-dot { fill: #fff; stroke: var(--line); stroke-width: 2; animation: lp-st-dot 12s linear infinite; }
.lp-st-ic { color: var(--ink-soft); animation: lp-st-ic 12s linear infinite; }
.lp-st-halo { fill: var(--brand); opacity: 0; transform-box: fill-box; transform-origin: center; animation: lp-st-halo 12s ease-out infinite; }
.lp-st-label { font: 600 13.5px var(--font); fill: var(--ink-soft); animation: lp-st-label 12s linear infinite; }
@keyframes lp-st-dot { 0%, 10% { fill: var(--brand); stroke: var(--brand); } 14%, 96% { fill: #fff; stroke: var(--line); } 100% { fill: var(--brand); stroke: var(--brand); } }
@keyframes lp-st-ic { 0%, 10% { color: #fff; } 14%, 96% { color: var(--ink-soft); } 100% { color: #fff; } }
@keyframes lp-st-label { 0%, 10% { fill: var(--ink); } 14%, 96% { fill: var(--ink-soft); } 100% { fill: var(--ink); } }
@keyframes lp-st-halo { 0% { opacity: .28; transform: scale(.8); } 12% { opacity: 0; transform: scale(1.6); } 100% { opacity: 0; } }
.lp-st1 * { animation-delay: -9s; } .lp-st2 * { animation-delay: -6s; } .lp-st3 * { animation-delay: -3s; }
.lp-token-bg { fill: #fff; stroke: var(--brand); stroke-width: 2.5; filter: drop-shadow(0 6px 10px rgba(14,28,51,.22)); }
.lp-token-qr rect { fill: var(--ink); }

.lp-sticker { position: absolute; left: 50%; top: 50%; width: 49%; transform: translate(-50%, -50%); background: #fff; border-radius: 20px; padding: 16px 16px 14px;
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -20px rgba(14,28,51,.28); outline: 1.5px dashed color-mix(in srgb, var(--brand) 35%, transparent); outline-offset: 7px; }
.lp-sticker-head { display: flex; gap: 11px; align-items: center; }
.lp-sticker-head b { display: block; font-family: var(--font-head); font-size: 14.5px; line-height: 1.25; }
.lp-sticker-qr .brand-logo { width: 40px; height: 40px; border-radius: 11px; }
.lp-sticker-id { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); letter-spacing: .06em; }
.lp-states { position: relative; height: 58px; margin-top: 12px; }
.lp-state { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); opacity: 0; animation: lp-state 12s linear infinite; }
.lp-s1 { animation-delay: -9s; } .lp-s2 { animation-delay: -6s; } .lp-s3 { animation-delay: -3s; }
@keyframes lp-state { 0% { opacity: 0; transform: translateY(5px); } 3%, 23% { opacity: 1; transform: none; } 25.5%, 100% { opacity: 0; transform: translateY(-4px); } }
.lp-sticker-foot { border-top: 1px dashed var(--line); padding-top: 9px; font-size: 12.5px; color: var(--ink-faint); }
.lp-sticker-foot b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- как это работает */
.lp-how { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; margin-top: 36px; }
.lp-how .lp-steps { margin-top: 36px; }
.lp-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; position: relative; }
.lp-steps::before { content: ""; position: absolute; left: 33px; top: 30px; bottom: 30px; border-left: 2px dashed var(--line); }
.lp-step { position: relative; width: 100%; display: flex; gap: 18px; align-items: flex-start; text-align: left; padding: 16px 18px; border-radius: 18px; border: 1px solid transparent; background: transparent; cursor: pointer; font: inherit; color: inherit; transition: background .2s, border-color .2s, box-shadow .2s; }
.lp-step:hover { background: color-mix(in srgb, var(--surface) 70%, transparent); }
.lp-step.is-active { background: var(--surface); border-color: var(--brand-line); box-shadow: 0 16px 36px -24px rgba(14,28,51,.35); }
.lp-step-num { width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; background: var(--surface); border: 1.5px solid var(--line); color: var(--ink-soft); position: relative; z-index: 1; }
.lp-step.is-active .lp-step-num { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.lp-step-body b { display: block; font-family: var(--font-head); font-size: 17px; }
.lp-step-body span { display: block; color: var(--ink-soft); margin-top: 4px; font-size: 14.5px; line-height: 1.55; }

.lp-phone { position: relative; width: 320px; height: 600px; margin: 0 auto; border-radius: 46px; background: #0e1c33; padding: 12px; box-shadow: 0 40px 80px -40px rgba(14,28,51,.6), inset 0 0 0 2px #23324d; }
.lp-phone-notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 14px; background: #0e1c33; z-index: 3; }
.lp-screen { position: absolute; inset: 12px; border-radius: 35px; background: var(--bg); padding: 58px 18px 20px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; animation: lp-screen-in .35s ease; }
.lp-screen[hidden] { display: none; }
@keyframes lp-screen-in { from { opacity: 0; transform: translateY(8px); } }
.lp-screen-title { font-family: var(--font-head); font-weight: 800; font-size: 20px; }
.lp-field { display: flex; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; font-size: 13.5px; }
.lp-field span { color: var(--ink-soft); }
.lp-sheet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.lp-sheet span { border: 1px dashed var(--line); border-radius: 8px; padding: 6px 4px 5px; font-size: 9.5px; font-weight: 700; text-align: center; color: var(--ink); }
.lp-sheet i, .lp-bin-label i, .lp-mini-qr { display: block; aspect-ratio: 1; background: var(--qr-pattern) center / contain no-repeat; }
.lp-sheet i { width: 70%; margin: 0 auto 4px; }
.lp-screen .lp-btn { margin-top: auto; padding: 13px; font-size: 14.5px; border-radius: 14px; }
.lp-object { flex: 1; display: grid; place-items: center; }
.lp-bin { position: relative; width: 170px; height: 220px; border-radius: 18px 18px 24px 24px; background: linear-gradient(90deg, #2c7a55, #34936a 45%, #2a7451); box-shadow: inset 0 -14px 0 rgba(0,0,0,.12); }
.lp-bin-lid { position: absolute; left: -10px; right: -10px; top: -18px; height: 26px; border-radius: 10px; background: #246247; }
.lp-bin-label { position: absolute; left: 50%; top: 58px; width: 92px; margin-left: -46px; background: #fff; border-radius: 10px; padding: 8px 8px 6px; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,.18); }
.lp-bin-label b { display: block; font-size: 10px; margin-top: 3px; }
.lp-screen-note { text-align: center; color: var(--ink-soft); font-size: 13px; }
.lp-scanframe { position: relative; height: 210px; border-radius: 20px; background: radial-gradient(80% 70% at 50% 40%, #33465f, #172338); overflow: hidden; }
.lp-scanframe span { position: absolute; inset: 36px 60px; border-radius: 12px; background: #fff var(--qr-pattern) center / 82% no-repeat; box-shadow: 0 0 0 999px rgba(5,12,24,.35); }
.lp-scanframe::before, .lp-scanframe::after { content: ""; position: absolute; inset: 26px 50px; border: 3px solid transparent; border-radius: 16px;
  background: linear-gradient(var(--brand), var(--brand)) top left / 26px 3px no-repeat, linear-gradient(var(--brand), var(--brand)) top left / 3px 26px no-repeat,
              linear-gradient(var(--brand), var(--brand)) top right / 26px 3px no-repeat, linear-gradient(var(--brand), var(--brand)) top right / 3px 26px no-repeat,
              linear-gradient(var(--brand), var(--brand)) bottom left / 26px 3px no-repeat, linear-gradient(var(--brand), var(--brand)) bottom left / 3px 26px no-repeat,
              linear-gradient(var(--brand), var(--brand)) bottom right / 26px 3px no-repeat, linear-gradient(var(--brand), var(--brand)) bottom right / 3px 26px no-repeat; }
.lp-scanframe::after { display: none; }
.lp-scanline { position: absolute; left: 56px; right: 56px; top: 40px; height: 2px; background: var(--brand); box-shadow: 0 0 12px 2px color-mix(in srgb, var(--brand) 70%, transparent); animation: lp-scan 2.2s ease-in-out infinite alternate; }
@keyframes lp-scan { to { top: 166px; } }
.lp-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.lp-card b { font-family: var(--font-head); font-size: 15px; }
.lp-input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; font-size: 12.5px; color: var(--ink-soft); }
.lp-btns { display: flex; gap: 8px; width: 100%; }
.lp-btns .lp-btn { flex: 1; }
.lp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lp-kpis span { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; font-size: 11px; color: var(--ink-soft); }
.lp-kpis b { display: block; font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.lp-kpis .warn b { color: var(--red); }
.lp-bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.lp-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(var(--brand), color-mix(in srgb, var(--brand) 55%, #fff)); }
/* Телефон листается свайпом влево/вправо; точки под ним — на узком экране, где список шагов выше. */
.lp-phone { touch-action: pan-y pinch-zoom; -webkit-user-select: none; user-select: none; }
.lp-screen.from-right, .lp-case.from-right { animation: lp-slide-r .35s ease; }
.lp-screen.from-left, .lp-case.from-left { animation: lp-slide-l .35s ease; }
@keyframes lp-slide-r { from { opacity: 0; transform: translateX(28px); } }
@keyframes lp-slide-l { from { opacity: 0; transform: translateX(-28px); } }
.lp-dots { display: none; justify-content: center; gap: 8px; margin-top: 18px; }
.lp-dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .25s, background-color .25s; }
.lp-dots span.is-active { width: 22px; background: var(--brand); }

/* ------------------------------------------------------------- для кого */
.lp-tabs { display: flex; gap: 8px; margin-top: 34px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.lp-tabs::-webkit-scrollbar { display: none; }
.lp-tab { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.lp-tab:hover { color: var(--ink); border-color: var(--brand-line); }
.lp-tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.lp-case { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 36px; }
/* Карточки отраслей лежат стопкой: высота блока — по самой высокой, страница не прыгает при переключении. */
.lp-case-stack { display: grid; margin-top: 26px; }
.lp-case-stack > .lp-case { grid-area: 1 / 1; margin-top: 0; touch-action: pan-y pinch-zoom; }
.lp-case-stack > .lp-case[hidden] { display: grid !important; visibility: hidden; }
.lp-case[hidden] { display: none; }
.lp-case h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.2; }
.lp-case p { color: var(--ink-soft); margin-top: 12px; font-size: 16px; line-height: 1.6; max-width: 56ch; }
.lp-case ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 9px; font-weight: 500; }
.lp-case li { display: flex; gap: 9px; align-items: center; }
.lp-case li .ic-sm { color: var(--brand); }
.lp-case-card { display: grid; place-items: center; background: var(--brand-tint); border-radius: 20px; padding: 30px; }
.lp-label-sheet { width: 100%; max-width: 320px; background: #fff; border-radius: 18px; padding: 16px; outline: 1.5px dashed var(--brand-line); outline-offset: 7px; box-shadow: 0 20px 40px -26px rgba(14,28,51,.4); }
.lp-label-row { display: flex; gap: 12px; align-items: center; }
.lp-mini-qr { width: 52px; flex-shrink: 0; border-radius: 6px; }
.lp-label-row b { display: block; font-family: var(--font-head); }
.lp-label-row small { color: var(--ink-faint); font-size: 12px; }
.lp-label-field { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; }
.lp-label-field span { color: var(--ink-soft); }
.lp-label-actions { display: flex; gap: 8px; margin-top: 12px; }
.lp-label-actions .lp-btn { flex: 1; }

/* ------------------------------------------------------------- посылки
   Нижняя линия — путь коробки через руки сотрудников, пунктир сверху — код,
   который письмом идёт сразу получателю. Схема проигрывается один раз: на широком
   экране — целиком, когда появляется; на узком — по остановкам, по мере прокрутки
   (landing.js: is-armed, затем is-in на остановках). Без скрипта и при «уменьшить
   движение» сразу видно итоговое состояние. */
.pill.brand { background: var(--brand-soft); color: var(--brand-deep); }
.lp-pc { margin: 36px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 30px 28px 22px; }
.lp-pc > .lp-note { text-align: center; margin-top: 22px; }
.lp-pc-route { position: relative; padding-top: 76px; }
.lp-pc-mail { position: absolute; top: 24px; left: 12.5%; right: 12.5%; height: 52px; }
.lp-pc-mail::before { content: ""; position: absolute; inset: 0; border: 2px dashed color-mix(in srgb, var(--brand) 50%, transparent); border-bottom: 0; border-radius: 22px 22px 0 0; }
.lp-pc-mail::after { content: ""; position: absolute; right: -7px; bottom: -3px; border: 6px solid transparent; border-top: 8px solid color-mix(in srgb, var(--brand) 70%, transparent); border-bottom: 0; }
.lp-pc-chip { position: absolute; left: 50%; top: 6px; transform: translateX(-50%); z-index: 1; margin: 0; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--brand-line); font-size: 13px; font-weight: 600; color: var(--ink);
  box-shadow: 0 10px 24px -16px rgba(14,28,51,.45); }
.lp-pc-chip .ic-sm { color: var(--brand); }
.lp-pc-code { position: relative; font-family: var(--mono); font-weight: 700; letter-spacing: .14em; padding: 1px 4px 1px 6px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-deep); }
.lp-pc-code::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 1.5px; background: currentColor; transform-origin: left; }
.lp-pc-used { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--green-soft); color: var(--green-deep); }

.lp-pc-stops { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-pc-stops::before, .lp-pc-stops::after { content: ""; position: absolute; top: 26px; left: 12.5%; height: 3px; margin-top: -1.5px; border-radius: 3px; }
.lp-pc-stops::before { right: 12.5%; background: var(--line-soft); }
.lp-pc-stops::after { width: 75%; background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 55%, transparent), var(--brand)); }
.lp-pc-stop { position: relative; padding: 0 10px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lp-pc-dot { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: var(--on-brand); box-shadow: 0 0 0 6px var(--surface), inset 0 0 0 2px var(--brand); }
.lp-pc-dot .ic { width: 22px; height: 22px; }
.lp-pc-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--brand); opacity: 0; pointer-events: none; }
.lp-pc-stop > b { margin-top: 14px; font-family: var(--font-head); font-size: 16px; }
.lp-pc-desc { margin-top: 4px; min-height: 3em; color: var(--ink-soft); font-size: 13.5px; line-height: 1.5; max-width: 24ch; }
.lp-pc-card { margin-top: 12px; width: 100%; max-width: 232px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start; text-align: left; font-size: 13px; }
.lp-pc-card b { font-family: var(--font-head); font-size: 14px; line-height: 1.3; }
.lp-pc-card small { color: var(--ink-faint); font-size: 12px; }
.lp-pc-row { display: flex; gap: 10px; align-items: center; }
.lp-pc-row small { display: block; }
/* коробка с наклейкой — «бумажная» в обеих темах */
.lp-pc-box { position: relative; width: 40px; height: 34px; flex-shrink: 0; border-radius: 6px; background: linear-gradient(180deg, #d9a86e, #c58f55); box-shadow: inset 0 -5px 0 rgba(0,0,0,.08); }
.lp-pc-box::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 8px; margin-left: -4px; background: rgba(255,255,255,.22); }
.lp-pc-box i { position: absolute; right: 4px; bottom: 5px; width: 15px; height: 15px; border-radius: 2px; background: #fff var(--qr-pattern) center / 80% no-repeat; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.lp-pc-pin { display: flex; gap: 6px; }
.lp-pc-pin span { width: 30px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--brand-line);
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); }
.lp-pc-pin i { font-style: normal; }
.lp-pc-state { display: grid; }
.lp-pc-state > .pill { grid-area: 1 / 1; justify-self: start; }
.lp-pc-wait { background: var(--gray-soft); color: var(--ink-soft); opacity: 0; }

.lp-pc-facts { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 28px; }
.lp-pc-facts li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-content: start; }
.lp-pc-facts .lp-fic { grid-row: span 2; }
.lp-pc-facts .lp-fic .ic { width: 20px; height: 20px; }
.lp-pc-facts b { font-family: var(--font-head); font-size: 15.5px; line-height: 1.3; }
.lp-pc-ft { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }

/* исходное состояние перед показом */
.lp-pc.is-armed .lp-pc-dot { background: var(--surface); color: var(--ink-faint); box-shadow: 0 0 0 6px var(--surface), inset 0 0 0 2px var(--line); }
.lp-pc.is-armed .lp-pc-card, .lp-pc.is-armed .lp-pc-chip, .lp-pc.is-armed .lp-pc-used, .lp-pc.is-armed .lp-pc-pin i, .lp-pc.is-armed .lp-pc-done { opacity: 0; }
.lp-pc.is-armed .lp-pc-wait { opacity: 1; }
.lp-pc.is-armed .lp-pc-mail::before { clip-path: inset(0 100% 0 0); }
.lp-pc.is-armed .lp-pc-mail::after { opacity: 0; }
.lp-pc.is-armed .lp-pc-stops::after { width: 0; transition: width .8s ease-in-out; }
.lp-pc.is-armed .lp-pc-stops[data-at="2"]::after { width: 25%; }
.lp-pc.is-armed .lp-pc-stops[data-at="3"]::after { width: 50%; }
.lp-pc.is-armed .lp-pc-stops[data-at="4"]::after { width: 75%; }
.lp-pc.is-armed .lp-pc-code::after { transform: scaleX(0); }
/* показ: каждая остановка — когда до неё дошла очередь (на широком экране — по времени,
   на узком — когда она прокручена на экран); упаковка → склад → курьер → получатель → код погашен */
.lp-pc-stop.is-in .lp-pc-dot { animation: lp-pc-dot .45s ease-out both; }
.lp-pc-stop.is-in .lp-pc-dot::after { animation: lp-pc-halo 1s ease-out forwards; }
.lp-pc-stop.is-in .lp-pc-card { animation: lp-pc-in .45s .1s ease-out both; }
.lp-pc-s4.is-in .lp-pc-d1 { animation: lp-pc-in .25s .5s ease-out both; }
.lp-pc-s4.is-in .lp-pc-d2 { animation: lp-pc-in .25s .7s ease-out both; }
.lp-pc-s4.is-in .lp-pc-d3 { animation: lp-pc-in .25s .9s ease-out both; }
.lp-pc-s4.is-in .lp-pc-d4 { animation: lp-pc-in .25s 1.1s ease-out both; }
.lp-pc-s4.is-in .lp-pc-wait { animation: lp-pc-out .3s 1.5s both; }
.lp-pc-s4.is-in .lp-pc-done { animation: lp-pc-in .4s 1.6s ease-out both; }
.lp-pc.is-mail .lp-pc-mail::before { animation: lp-pc-draw 1s ease-in-out both; }
.lp-pc.is-mail .lp-pc-mail::after { animation: lp-pc-in .3s .9s ease-out both; }
.lp-pc-chip.is-in { animation: lp-pc-chip .45s ease-out both; }
.lp-pc.is-end .lp-pc-used { animation: lp-pc-in .4s 1.7s ease-out both; }
.lp-pc.is-end .lp-pc-code::after { animation: lp-pc-strike .35s 1.7s ease-out both; }
@keyframes lp-pc-dot { from { background: var(--surface); color: var(--ink-faint); box-shadow: 0 0 0 6px var(--surface), inset 0 0 0 2px var(--line); }
  to { background: var(--brand); color: var(--on-brand); box-shadow: 0 0 0 6px var(--surface), inset 0 0 0 2px var(--brand); } }
@keyframes lp-pc-halo { 0% { opacity: .35; transform: scale(1); } 100% { opacity: 0; transform: scale(1.75); } }
@keyframes lp-pc-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes lp-pc-chip { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes lp-pc-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes lp-pc-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes lp-pc-strike { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ------------------------------------------------------------- польза */
.lp-value { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.lp-value-chart { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 30px; }
.lp-donut { position: relative; width: min(100%, 240px); margin: 0 auto; aspect-ratio: 1; }
.lp-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lp-donut circle { fill: none; stroke-width: 14; }
.lp-donut-bg { stroke: var(--line-soft); }
.lp-donut-seg.green { stroke: var(--green); } .lp-donut-seg.amber { stroke: #e3a32b; } .lp-donut-seg.red { stroke: var(--red); }
.lp-donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.lp-donut-center b { font-family: var(--font-display); font-size: 34px; line-height: 1; }
.lp-donut-center span { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.lp-legend { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.lp-legend li { display: flex; align-items: center; gap: 10px; }
.lp-legend b { margin-left: auto; font-variant-numeric: tabular-nums; }
.lp-legend i { width: 12px; height: 12px; border-radius: 4px; }
.lp-legend i.green { background: var(--green); } .lp-legend i.amber { background: #e3a32b; } .lp-legend i.red { background: var(--red); }
.lp-value-chart .lp-note { text-align: center; }
.lp-value-list dl { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.lp-value-list dt { display: flex; gap: 10px; align-items: center; font-family: var(--font-head); font-weight: 800; font-size: 17px; }
.lp-value-list dt .ic { color: var(--brand); width: 22px; height: 22px; }
.lp-value-list dd { margin: 8px 0 0; color: var(--ink-soft); line-height: 1.6; }

/* ------------------------------------------------------------- возможности */
.lp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 40px; }
.lp-fgroup { border-top: 3px solid var(--brand); padding-top: 22px; }
.lp-fgroup h3 { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.lp-fic { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; }
.lp-fgroup ul { list-style: none; padding: 0; margin: 18px 0 0; }
.lp-fgroup li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.lp-fgroup li:last-child { border-bottom: 0; }

/* ------------------------------------------------------------- безопасность */
.lp-dark { margin-top: 96px; background: var(--side); color: #dbe4f2; padding: 80px 0; }
.lp-sec { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; }
.lp-dark .lp-h2 { color: #fff; }
.lp-sec-head p { margin-top: 16px; color: #a9b8cf; font-size: 16.5px; line-height: 1.6; max-width: 46ch; }
.lp-sec-link { display: inline-block; margin-top: 22px; color: #fff; font-weight: 600; text-underline-offset: 4px; }
.lp-sec-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lp-sec-grid li { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 18px; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 4px; }
.lp-sec-grid .ic { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 35%, transparent); color: #fff; }
.lp-sec-grid b { color: #fff; font-family: var(--font-head); }
.lp-sec-grid span { color: #a9b8cf; font-size: 14px; line-height: 1.5; }

/* ------------------------------------------------------------- тарифы */
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 36px; align-items: stretch; }
.lp-plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; }
.lp-plan.is-featured { border: 2px solid var(--brand); box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--brand) 70%, transparent); }
.lp-plan-flag { position: absolute; top: -13px; left: 26px; background: var(--brand); color: var(--on-brand); font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.lp-plan h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.lp-plan-desc { color: var(--ink-soft); margin-top: 6px; font-size: 14.5px; }
.lp-plan-price { margin: 20px 0 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.lp-plan-price b { font-family: var(--font-display); font-size: 32px; letter-spacing: -.02em; }
.lp-plan-price b.lp-plan-ask { font-size: 22px; }
.lp-plan-price span { color: var(--ink-soft); font-size: 14px; }
.lp-plan ul { list-style: none; padding: 0; margin: 14px 0 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; font-size: 14.5px; }
.lp-plan li { display: flex; gap: 9px; align-items: flex-start; }
.lp-plan li .ic-sm { color: var(--brand); margin-top: 3px; }

/* ------------------------------------------------------------- вопросы */
.lp-faq-wrap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 48px; align-items: start; }
.lp-faq-wrap .lp-h2 { position: sticky; top: 96px; }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq details:first-child { border-top: 1px solid var(--line); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 2px; font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary:hover { color: var(--brand-deep); }
.lp-faq-ic { position: relative; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--line); transition: transform .25s, background .2s, border-color .2s; }
.lp-faq-ic::before, .lp-faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--ink); border-radius: 2px; }
.lp-faq-ic::after { transform: rotate(90deg); transition: transform .25s; }
.lp-faq details[open] .lp-faq-ic { background: var(--brand); border-color: var(--brand); }
.lp-faq details[open] .lp-faq-ic::before, .lp-faq details[open] .lp-faq-ic::after { background: var(--on-brand); }
.lp-faq details[open] .lp-faq-ic::after { transform: rotate(0); }
.lp-faq p { padding: 0 44px 22px 2px; color: var(--ink-soft); line-height: 1.65; font-size: 15.5px; }

/* ------------------------------------------------------------- нашли вещь */
.lp-found { margin-top: 88px; background: var(--brand); color: var(--on-brand); }
.lp-found-inner { display: flex; gap: 22px; align-items: center; padding-top: 34px; padding-bottom: 34px; }
.lp-found-ic { width: 60px; height: 60px; border-radius: 18px; background: rgba(255,255,255,.16); display: grid; place-items: center; flex-shrink: 0; }
.lp-found h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: inherit; }
.lp-found p { margin-top: 6px; opacity: .88; max-width: 70ch; }

/* ------------------------------------------------------------- связь */
.lp-contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.lp-mail { margin-top: 20px; display: flex; gap: 8px; align-items: center; font-weight: 600; }
.lp-form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: 0 24px 50px -36px rgba(14,28,51,.4); }
.lp-form .form-actions .hint { flex: 1 1 220px; }

/* ------------------------------------------------------------- адаптивность */
@media (max-width: 1020px) {
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-loop { margin: 10px auto 0; max-width: 470px; }
  .lp-how { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 28px; }
  .lp-how .lp-steps { margin-top: 0; }
  .lp-how .lp-dots { display: flex; margin-top: -10px; }
  .lp-hero { padding-bottom: 8px; }
  .lp-hero + .lp-section { padding-top: 56px; }
  .lp-sec, .lp-faq-wrap, .lp-contact { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  /* «Что меняется»: заголовок — над примером сводки, как у остальных блоков */
  .lp-value { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .lp-value-list { display: contents; }
  .lp-value-list .lp-h2 { order: 1; }
  .lp-value-chart { order: 2; margin-top: 28px; }
  .lp-value-list dl { order: 3; margin-top: 32px; }
  .lp-faq-wrap .lp-h2 { position: static; }
  .lp-features { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lp-pc-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* посылки на узком экране: остановки столбиком, код — строкой над ними */
@media (max-width: 860px) {
  .lp-pc { padding: 18px 16px 14px; border-radius: 20px; margin-top: 28px; }
  .lp-pc-route { padding-top: 0; }
  .lp-pc-mail { display: none; }
  .lp-pc-chip { position: static; transform: none; margin: 0 0 22px; display: flex; flex-wrap: wrap; white-space: normal; line-height: 1.6; border-radius: 14px; padding: 9px 12px; }
  .lp-pc-chip.is-in { animation-name: lp-pc-in; }
  .lp-pc-stops { grid-template-columns: minmax(0, 1fr); }
  .lp-pc-stops::before, .lp-pc-stops::after { display: none; }
  .lp-pc-stop { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; align-items: start; text-align: left; padding: 0 0 24px; }
  .lp-pc-stop:last-child { padding-bottom: 4px; }
  .lp-pc-stop::before { content: ""; position: absolute; left: 24.5px; top: 0; bottom: 0; width: 3px; background: color-mix(in srgb, var(--brand) 30%, var(--line-soft)); }
  .lp-pc-stop:first-child::before { top: 26px; }
  .lp-pc-stop:last-child::before { bottom: auto; height: 26px; }
  .lp-pc-dot { grid-row: 1 / span 3; }
  .lp-pc-stop > b { grid-column: 2; margin-top: 4px; }
  .lp-pc-desc { grid-column: 2; min-height: 0; max-width: none; }
  .lp-pc-card { grid-column: 2; max-width: none; margin-top: 10px; }
}
@media (max-width: 720px) {
  /* Ритм на телефоне: 72 px между блоками, 28 px от подзаголовка до содержимого. */
  .lp-wrap { padding: 0 16px; }
  .lp-hero { padding-top: 32px; }
  .lp-section { padding-top: 72px; }
  .lp-hero + .lp-section { padding-top: 56px; }
  .lp-how, .lp-tabs, .lp-features, .lp-plans, .lp-pc, .lp-pc-facts { margin-top: 28px; }
  .lp-case-stack { margin-top: 16px; }
  .lp-sec, .lp-faq-wrap, .lp-contact { gap: 28px; }
  .lp-value-chart { padding: 22px 18px; border-radius: 20px; }
  .lp-donut { width: min(100%, 210px); }
  .lp-sub { font-size: 16px; }
  .lp-cta .btn { flex: 1 1 100%; }
  .lp-facts { flex-direction: column; gap: 10px; }
  .lp-sticker { width: 52%; padding: 10px 10px 8px; border-radius: 14px; outline-offset: 5px; }
  .lp-sticker-qr .brand-logo { width: 30px; height: 30px; border-radius: 9px; }
  .lp-sticker-head { gap: 8px; }
  .lp-sticker-id { font-size: 10px; }
  .lp-sticker-foot { font-size: 11px; padding-top: 6px; }
  .lp-sticker-head b { font-size: 12px; }
  .lp-states { height: 54px; margin-top: 8px; }
  .lp-state { font-size: 11px; gap: 4px; }
  .lp-state .pill { font-size: 10.5px; padding: 2px 8px; }
  .lp-st-label { font-size: 15px; }
  .lp-step { padding: 14px 12px; gap: 14px; }
  .lp-steps::before { left: 27px; }
  .lp-phone { width: 290px; height: 560px; }
  .lp-case { grid-template-columns: minmax(0, 1fr); padding: 22px; gap: 22px; border-radius: 20px; }
  .lp-case-card { padding: 22px; }
  .lp-value-list dl { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .lp-pc-facts { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .lp-sec-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-dark { padding: 56px 0; margin-top: 72px; }
  .lp-found { margin-top: 72px; }
  .lp-found-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
  .lp-form { padding: 20px 16px; border-radius: 20px; }
  .lp-faq p { padding-right: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-ring, .lp-st-dot, .lp-st-ic, .lp-st-halo, .lp-st-label, .lp-scanline, .lp-screen, .lp-case { animation: none !important; }
  .lp-state { animation: none !important; opacity: 0; }
  .lp-s0 { opacity: 1; }
  .lp-st0 .lp-st-dot { fill: var(--brand); stroke: var(--brand); }
  .lp-st0 .lp-st-ic { color: #fff; }
}
/* Анимация круга перезапускается скриптом синхронно с движением наклейки. */
.lp-loop.is-paused * { animation-play-state: paused !important; }
.lp-loop.no-anim * { animation: none !important; }

/* ==========================================================================
   Тёмная тема главной (кнопка в шапке или настройка системы).
   Наклейки, этикетки и QR-коды остаются «бумажными» — белыми.
   ========================================================================== */
@media screen {
  :root[data-mode="dark"] .pill.amber { background: var(--amber-soft); color: #f4bd6e; }
  :root[data-mode="dark"] .lp-btn.ghost { background: var(--surface-2); }

  /* первый экран: круг оборота и карточка вещи */
  :root[data-mode="dark"] .lp-hero::before { background-image: radial-gradient(color-mix(in srgb, var(--brand) 30%, transparent) 1.3px, transparent 1.6px); }
  :root[data-mode="dark"] .lp-ring-track { stroke: color-mix(in srgb, var(--brand) 14%, var(--surface)); }
  :root[data-mode="dark"] .lp-arrows path { opacity: .7; }
  :root[data-mode="dark"] .lp-st-dot { fill: var(--surface); stroke: var(--line-strong); animation-name: lp-st-dot-dark; }
  :root[data-mode="dark"] .lp-token-bg { filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .55)); }
  :root[data-mode="dark"] .lp-token-qr rect { fill: #0e1c33; }
  :root[data-mode="dark"] .lp-sticker { background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 28px 56px -22px rgba(0, 0, 0, .8);
    outline-color: color-mix(in srgb, var(--brand) 45%, transparent); }

  /* «Как это работает»: телефон показывает приложение в тёмной теме */
  :root[data-mode="dark"] .lp-step.is-active { box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .8); }
  :root[data-mode="dark"] .lp-phone { background: #030711; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), inset 0 0 0 2px #2a3a56, 0 0 0 1px rgba(255, 255, 255, .05); }
  :root[data-mode="dark"] .lp-phone-notch { background: #030711; }
  :root[data-mode="dark"] .lp-field, :root[data-mode="dark"] .lp-card, :root[data-mode="dark"] .lp-kpis span, :root[data-mode="dark"] .lp-bars { background: var(--surface); }
  :root[data-mode="dark"] .lp-bars i { background: linear-gradient(var(--brand), color-mix(in srgb, var(--brand) 45%, var(--surface))); }
  :root[data-mode="dark"] .lp-sheet { border-color: transparent; }
  :root[data-mode="dark"] .lp-sheet span { color: #0e1c33; border-color: #d3dbe6; }
  :root[data-mode="dark"] .lp-bin-label { color: #0e1c33; }

  /* «Для кого» */
  :root[data-mode="dark"] .lp-tab.is-active { color: var(--bg); }
  :root[data-mode="dark"] .lp-label-sheet { background: var(--surface-2); box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .8); }
  :root[data-mode="dark"] .lp-mini-qr { background-color: #fff; box-shadow: 0 0 0 3px #fff; }

  /* «Посылки» */
  :root[data-mode="dark"] .lp-pc-chip { box-shadow: 0 12px 28px -16px rgba(0, 0, 0, .8); }
  :root[data-mode="dark"] .lp-pc-mail::before { border-color: color-mix(in srgb, var(--brand) 60%, transparent); }
  :root[data-mode="dark"] .lp-pc-box i { box-shadow: 0 1px 2px rgba(0, 0, 0, .4); }

  /* блоки с тенями */
  :root[data-mode="dark"] .lp-plan.is-featured { box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--brand) 60%, transparent); }
  :root[data-mode="dark"] .lp-form { box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8); }

  /* «Безопасность» — тёмный блок отделяется линией */
  :root[data-mode="dark"] .lp-dark { background: var(--side); border-block: 1px solid var(--line-soft); }
  :root[data-mode="dark"] .lp-sec-grid li { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .07); }
}
@keyframes lp-st-dot-dark { 0%, 10% { fill: var(--brand); stroke: var(--brand); } 14%, 96% { fill: var(--surface); stroke: var(--line-strong); } 100% { fill: var(--brand); stroke: var(--brand); } }
@media screen and (prefers-reduced-motion: reduce) {
  :root[data-mode="dark"] .lp-st0 .lp-st-dot { fill: var(--brand); stroke: var(--brand); }
}
