/* StorySong public site — rebuilt from the Tilda page story-song.ru/concept2025 (Figma 3084:63) for the bot era.
   Tokens of the live site: sand #F3DCBD, sheets #F9EEDE r30, ink #262626, red #D1252F, footer #1A1A1A,
   Lumios Marker (script) + Onest, blur spots #FFAF6A/#FFB2B2, film grain 10 %. Animations live in anim.js. */
@font-face { font-family: "Lumios Marker"; src: url("/fonts/Lumios-Marker.woff") format("woff"); font-display: block; }
@font-face { font-family: Onest; font-weight: 400; src: url("/fonts/Onest-Regular.woff") format("woff"); font-display: block; }
@font-face { font-family: Onest; font-weight: 500; src: url("/fonts/Onest-Medium.woff") format("woff"); font-display: block; }
@font-face { font-family: Onest; font-weight: 700; src: url("/fonts/Onest-Bold.woff") format("woff"); font-display: block; }

:root {
  --sand: #f3dcbd; --sheet: #f9eede; --nude: #eccdb5; --ink: #262626; --muted: #6f655c;
  --red: #d1252f; --footer: #1a1a1a; --white: #fff; --light: #f7f7f7; --violet: #6539bc;
  --r: 30px; --pad: 40px;
  --script: "Lumios Marker", "Marck Script", cursive;
  --sans: Onest, "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
html.is-loading, html.no-scroll { overflow: hidden; }
body { margin: 0; position: relative; font: 400 16px/1.55 var(--sans); color: var(--ink); background: var(--sand); overflow-x: hidden; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 520px at 8% 12%, rgba(255, 175, 106, .55), transparent 70%),
    radial-gradient(600px 600px at 92% 30%, rgba(255, 178, 178, .55), transparent 70%),
    radial-gradient(500px 500px at 20% 80%, rgba(255, 175, 106, .35), transparent 70%),
    radial-gradient(500px 500px at 85% 95%, rgba(255, 178, 178, .35), transparent 70%);
}
body::after { content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; background: url("/img/noise.gif") repeat; opacity: .1; }
a { color: var(--red); }
img, video, iframe { max-width: 100%; }
button { font: inherit; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.center { text-align: center; }
.small { font-size: 14px; color: var(--muted); max-width: 760px; margin-left: auto; margin-right: auto; }
.lead { font-size: 20px; max-width: 760px; margin: -8px auto 36px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px; z-index: 100; }
h2.script { font: 400 clamp(40px, 6.6vw, 100px)/1.05 var(--script); color: var(--red); margin: 80px 0 36px; }
h2.script.center { text-align: center; }
h2.script.dark-ink { color: var(--ink); } h2.script.violet { color: #c9b8ef; }
section > h2.script:first-child { margin-top: 60px; }

/* preloader (ANNEXX-014: white screen, spinning mark, «Загружаем музыку N%») */
#preloader { position: fixed; inset: 0; z-index: 100; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: var(--ink); font-weight: 500; }
#preloader img { width: 80px; height: 80px; }

/* header: social pills left, capsule menu with the spinning mark, outlined CTA right */
.top { position: sticky; top: 0; z-index: 40; background: rgba(243, 220, 189, .8); backdrop-filter: blur(14px); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.socials svg, .soc svg { width: 20px; height: 20px; fill: var(--red); }
.menu { display: flex; align-items: center; gap: 2px; background: rgba(255, 255, 255, .55); border-radius: 40px; padding: 6px 12px; }
.menu a { padding: 8px 10px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; position: relative; }
.menu a:not(.mark)::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.menu a:not(.mark):hover::after { transform: scaleX(1); }
.menu .mark { width: 60px; height: 60px; margin: -16px 8px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0; filter: drop-shadow(0 10px 20px rgba(209, 37, 47, .35)); }
.menu .mark img { width: 60px; height: 60px; }
.cta-line { padding: 10px 24px; border-radius: 40px; border: 1.5px solid var(--red); color: var(--red); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; background: rgba(255, 255, 255, .35); transition: background .3s, color .3s; }
.cta-line:hover { background: var(--red); color: #fff; }

/* buttons */
.round {
  display: inline-flex; align-items: center; justify-content: center; text-align: center; width: 120px; height: 120px; border-radius: 50%;
  background: var(--red); color: #fff; text-decoration: none; font-weight: 500; font-size: 14px; line-height: 1.2; padding: 10px;
  box-shadow: 0 16px 34px rgba(209, 37, 47, .28); flex: none; transition: transform .3s;
}
.round:hover { transform: scale(1.06); }
.round.white { background: #fff; color: var(--ink); box-shadow: 0 16px 34px rgba(38, 38, 38, .12); }
.round.violet { background: var(--violet); box-shadow: 0 16px 34px rgba(101, 57, 188, .35); }
.round.small { width: auto; height: auto; border-radius: 40px; padding: 12px 30px; }
.line { display: inline-block; padding: 12px 28px; border-radius: 40px; border: 1.5px solid var(--red); background: #fff; color: var(--red); cursor: pointer; font-weight: 500; font-size: 14px; }
.line.light { background: #fff; border-color: #fff; color: var(--ink); }
.btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
p.center { margin: 40px 0 0; }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 80px; min-height: 640px; }
.spot { position: absolute; left: 10%; top: 20%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 178, 178, .7), rgba(255, 175, 106, .25) 55%, transparent 72%); filter: blur(60px); z-index: -1; pointer-events: none; }
.hero h1 { margin: 0 0 32px; font: 400 clamp(38px, 5.4vw, 78px)/1.02 var(--script); animation: fade 1.5s ease; }
.hero .l1 { display: block; color: var(--red); } .hero .l2 { display: block; color: #fff; font-size: .82em; margin-top: 6px; text-shadow: 0 2px 18px rgba(209, 37, 47, .18); }
@keyframes fade { from { opacity: 0; } }
.offer { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 80px; padding: 14px 14px 14px 36px; max-width: 600px; box-shadow: 0 20px 50px rgba(38, 38, 38, .08); }
.offer p { margin: 0; font-size: 15px; line-height: 1.45; }
.alt { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.alt a { padding: 10px 18px; border-radius: 40px; background: rgba(255, 255, 255, .7); color: var(--ink); text-decoration: none; font-size: 14px; }
.hero-video { aspect-ratio: 9 / 14; max-width: 400px; width: 100%; margin-left: auto; border-radius: var(--r); overflow: hidden; background: #262626; box-shadow: 0 30px 60px rgba(38, 38, 38, .25); }
.hero-video iframe, .v iframe, .why-video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* sheets (section panels r30, inset 40) */
.sheet { background: var(--sheet); border-radius: var(--r); padding: 10px var(--pad) 56px; margin-top: 40px; }
.sheet h2.script { margin-top: 40px; }

/* why */
.why { display: grid; grid-template-columns: 1fr 1.05fr 1fr; grid-template-rows: auto auto; gap: 28px; align-items: center; }
.circle { border-radius: 50%; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 15%; }
.circle b { font: 400 clamp(28px, 2.8vw, 40px)/1.1 var(--script); margin-bottom: 10px; }
.circle p { margin: 0; font-size: 15px; }
.circle.light { background: var(--light); } .circle.dark { background: #262626; color: #fff; } .circle.dark b { color: #f1c9b3; }
.circle.brown { background: #4a3a37; color: #fff; } .circle.brown b { color: #f1c9b3; } .circle.rose { background: #f6ddd2; }
.why-video { grid-row: 1 / 3; grid-column: 2; aspect-ratio: 9 / 15; max-width: 380px; width: 100%; margin: 0 auto; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 20px 50px rgba(38, 38, 38, .12); display: flex; flex-direction: column; }
.why-video iframe { flex: 1; }
.why-video p { margin: 10px 16px 12px; font-size: 14px; text-align: center; }

/* reactions */
.tab-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.tab-btns button { font-weight: 500; font-size: 15px; padding: 12px 26px; border-radius: 40px; border: 1.5px solid var(--red); background: transparent; color: var(--red); cursor: pointer; transition: background .25s, color .25s; }
.tab-btns button[aria-selected="true"] { background: var(--red); color: #fff; }
.tab-panel[hidden] { display: none; }
.tab-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.circle.big { padding: 12%; } .circle.big p { font: 400 clamp(26px, 2.9vw, 42px)/1.15 var(--script); } .circle.big em { font-style: normal; color: var(--red); } .circle.big b { font: inherit; text-decoration: underline; text-underline-offset: 4px; }
.v { aspect-ratio: 9 / 14; max-width: 380px; width: 100%; margin: 0 auto; border-radius: var(--r); overflow: hidden; background: #262626; }

/* products */
.products { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.prod { background: #fff; border-radius: var(--r); padding: 20px 20px 28px; display: flex; flex-direction: column; }
.prod .media { aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--sheet); display: flex; align-items: center; justify-content: center; }
.prod .media img, .prod .media video { width: 100%; height: 100%; object-fit: cover; }
.prod .media.wide img { object-fit: contain; background: #f3dcbd; }
.prod h3 { margin: 20px 0 8px; font-size: 22px; }
.prod p { margin: 0 0 16px; color: var(--muted); font-size: 15px; flex: 1; }
.prod a { font-weight: 500; text-decoration: none; }

/* how it works: four steps with script numbers */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.step { background: #fff; border-radius: var(--r); padding: 28px 26px 30px; position: relative; }
.step .num { display: block; font: 400 56px/1 var(--script); color: var(--red); margin-bottom: 10px; }
.step b { display: block; font-size: 18px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* examples: cassettes with the mini player (line, dot, «1.27 / -2.09», round play button) */
.examples { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.cassette { background: #fff; border-radius: var(--r); padding: 0 28px 28px; text-align: center; margin-top: 56px; }
.cassette img { width: 100%; max-width: 300px; margin: -56px auto 12px; display: block; filter: drop-shadow(0 20px 30px rgba(38, 38, 38, .2)); }
.cassette b { display: block; font-size: 15px; margin-bottom: 14px; }
.player { position: relative; }
.player .seek { height: 2px; background: #c9c0b5; border-radius: 2px; position: relative; cursor: pointer; margin: 0 6px; }
.player .seek i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ink); border-radius: 2px; display: block; }
.player .seek i::after { content: ""; position: absolute; right: -6px; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.player .time { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin: 6px 2px 12px; }
.player button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.player button svg { width: 22px; height: 22px; fill: #fff; } .player .s { display: none; } .player.on .p { display: none; } .player.on .s { display: block; }
.player.on-red .seek { background: rgba(255, 255, 255, .45); } .player.on-red .seek i, .player.on-red .seek i::after { background: #fff; }
.player.on-red .time { color: rgba(255, 255, 255, .8); } .player.on-red button { background: #fff; } .player.on-red button svg { fill: var(--red); }
.player .player-label { display: block; margin-top: 8px; font-size: 13px; opacity: .85; }

/* trust */
.trust { display: grid; grid-template-columns: 1fr 2.1fr 1fr; gap: 24px; align-items: stretch; }
.trust img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; min-height: 200px; }
.plate { border-radius: var(--r); padding: 44px var(--pad); text-align: center; display: flex; flex-direction: column; justify-content: center; }
.plate.light { background: var(--light); } .plate.dark { background: #262626; color: #fff; } .plate.dark b { color: #f1c9b3; }
.plate.red { background: var(--red); color: #fff; } .plate.red b { color: #fff; }
.plate b { font: 400 clamp(28px, 3vw, 44px)/1.1 var(--script); margin-bottom: 12px; }
.plate p { margin: 0; font-size: 15px; }

/* reviews */
.clients { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: center; max-width: 900px; margin: 0 auto 48px; }
.avatars { display: flex; justify-content: center; }
.avatars img { width: 84px; height: 84px; border-radius: 50%; border: 3px solid #fff; margin-left: -18px; object-fit: cover; box-shadow: 0 6px 16px rgba(38, 38, 38, .15); }
.avatars img:first-child { margin-left: 0; }
.clients-plate { background: #fff; border-radius: 24px; padding: 22px 28px; font-size: 15px; }
.clients-plate p { margin: 0 0 8px; } .clients-plate p:last-child { margin: 0; }
.polaroids { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); align-items: start; max-width: 1000px; margin: 0 auto; }
.polaroids .pol { width: 100%; height: auto; display: block; filter: drop-shadow(0 16px 30px rgba(38, 38, 38, .15)); }
.pol.p1 { transform: rotate(-3deg); } .pol.p2 { transform: translateY(16px); } .pol.p3 { transform: rotate(2deg); }

/* free: song + photo */
.free { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.free-card { background: #fff; border-radius: var(--r); padding: 28px var(--pad) 40px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.free-media { width: 100%; max-width: 360px; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
.free-media img { max-height: 100%; filter: drop-shadow(0 20px 30px rgba(38, 38, 38, .2)); }
.free-media.photo { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; } .free-media.photo img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.free-card h3 { font: 400 clamp(32px, 3.4vw, 46px)/1 var(--script); margin: 10px 0 18px; } .free-card h3 b { color: var(--red); font-weight: 400; }
.free-card ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; width: 100%; max-width: 420px; }
.free-card li { background: var(--red); color: #fff; border-radius: 40px; padding: 9px 18px; font-weight: 500; font-size: 14px; text-align: left; }
.free-card p { margin: 0 0 20px; font-size: 14px; color: var(--muted); }

/* tariffs (Figma 05_tarify: script title, description plate, pills with emoji, big red price, object peeking from the bottom) */
.tariffs { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.tariff { position: relative; overflow: hidden; background: var(--sheet); border-radius: var(--r); padding: 30px 22px 160px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.tariff.hot { background: #fff; outline: 2px solid var(--red); }
.tariff .badge { position: absolute; top: 14px; right: 14px; background: var(--red); color: #fff; font-size: 12px; padding: 5px 12px; border-radius: 40px; }
.tariff h3 { font: 400 40px/1 var(--script); color: var(--red); margin: 0 0 12px; }
.tariff .desc { background: var(--light); border-radius: 20px; padding: 12px 16px; font-size: 14px; margin: 0 0 16px; min-height: 66px; width: 100%; }
.tariff .price { margin: 0 0 16px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tariff .price s { color: var(--muted); font-size: 16px; } .tariff .price s.none { visibility: hidden; }
.tariff .price b { font: 700 44px/1.1 var(--sans); color: var(--red); }
.tariff .off { background: #262626; color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 40px; } .tariff .off.base { background: transparent; color: var(--muted); font-weight: 400; }
.tariff ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; width: 100%; }
.tariff li { background: var(--red); color: #fff; border-radius: 40px; padding: 9px 16px; font-weight: 500; font-size: 15px; text-align: left; }
.tariff .per { margin: auto 0 14px; font-size: 13px; color: var(--muted); }
.tariff .obj { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; display: flex; justify-content: center; align-items: flex-start; pointer-events: none; }
.obj-cassette img { width: 240px; margin-top: 30px; transform: rotate(-8deg); filter: drop-shadow(0 16px 24px rgba(38, 38, 38, .25)); }
.obj-vinyl img { width: 230px; margin-top: 26px; }
.obj-envelope img { width: 280px; margin-top: 18px; filter: drop-shadow(0 16px 24px rgba(38, 38, 38, .2)); }
.obj-phone img { width: 150px; margin-top: 16px; filter: drop-shadow(0 16px 24px rgba(38, 38, 38, .3)); }

/* done for you */
.custom { display: grid; gap: 24px; grid-template-columns: 1.15fr 1fr; grid-auto-rows: 1fr; }
.custom .plate.tall { grid-row: 1 / 3; }
.custom .plate { text-align: left; align-items: flex-start; }
.custom .plate p { margin: 0 0 18px; }

/* hit: the dark B2B section with the iPhone mock-up */
.hit { background: #262626; padding: 10px 0 90px; margin-top: 90px; }
.hit-card { position: relative; background: linear-gradient(180deg, #f7f7f7 0%, #d9d2ea 55%, #7e62bd 100%); border-radius: var(--r); padding: 48px var(--pad) 40px; display: grid; grid-template-columns: 1.4fr .8fr; gap: 24px; align-items: end; overflow: hidden; }
.hit-lead { grid-column: 1 / -1; margin: 0 0 8px; font-weight: 700; font-size: 22px; text-align: center; max-width: 640px; justify-self: center; }
.hit-body { background: #fff; border-radius: 24px; padding: 28px 36px; position: relative; }
.hit-body ul { margin: 0 0 20px; padding-left: 20px; } .hit-body li { margin: 8px 0; font-size: 15px; }
.hit-phone { max-width: 220px; justify-self: center; margin-bottom: -20px; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 1000px; margin: 0 auto; }
.faq details { background: #262626; color: #fff; border-radius: 24px; padding: 0 28px; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #262626; display: inline-flex; align-items: center; justify-content: center; font-weight: 400; flex: none; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 24px; color: #e3d8cb; }
.faq a { color: #f1c9b3; }

/* footer: the dark half-disc, nude social tiles, red mark */
.foot { margin-top: 100px; }
.disc { background: #262626; color: #cfc6ba; text-align: center; padding: 80px 24px 170px; border-radius: 50% 50% 0 0 / 180px 180px 0 0; position: relative; overflow: hidden; }
.disc .nude { font: 400 clamp(40px, 5vw, 64px)/1 var(--script); color: var(--nude); margin: 0 0 28px; }
.soc { display: flex; gap: 24px; justify-content: center; }
.soc a { width: 70px; height: 70px; border-radius: 16px; background: var(--nude); display: flex; align-items: center; justify-content: center; }
.soc svg { fill: #262626; width: 30px; height: 30px; }
.disc-mark { position: absolute; left: 50%; bottom: -120px; transform: translateX(-50%); width: 240px; height: 240px; }
.foot-bar { background: var(--footer); color: #cfc6ba; font-size: 13px; padding: 26px 0 30px; position: relative; z-index: 1; }
.foot-bar .wrap { display: grid; gap: 16px; grid-template-columns: 1fr 1.6fr auto; align-items: center; }
.foot-bar a { color: #fff; text-decoration: none; display: block; margin: 3px 0; } .foot-bar .req a { display: inline; } .foot-bar a:hover { text-decoration: underline; }
.foot-bar .copy { color: #fff; font-weight: 700; }

/* popup «Подарок» (replaces «Акция»): 510×510 white card, script title, poster, black capsule button */
#popup, #lightbox { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; }
#popup[hidden], #lightbox[hidden] { display: none; }
.popup-bg { position: absolute; inset: 0; background: rgba(35, 35, 35, .3); backdrop-filter: blur(2px); }
.popup-card { position: relative; width: 100%; max-width: 520px; background: linear-gradient(180deg, #fff 0%, #fff 55%, #f6cfcf 100%); border-radius: var(--r); padding: 28px 28px 20px; text-align: center; box-shadow: 0 30px 70px rgba(38, 38, 38, .3); }
.popup-x { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #262626; color: #fff; font-size: 22px; cursor: pointer; z-index: 1; }
.popup-title { font: 400 64px/1 var(--script); color: var(--red); margin: 0 0 10px; }
.popup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: stretch; margin-bottom: 18px; }
.popup-text { background: #fff; border-radius: 20px; padding: 22px 20px; text-align: left; font-size: 15px; display: flex; flex-direction: column; }
.popup-text p { margin: 0 0 12px; } .popup-text .red { color: var(--red); }
.popup-text .arrow { margin-top: auto; color: var(--red); font-size: 30px; line-height: 1; }
.popup-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.popup-btn { display: block; background: #262626; color: #fff; text-decoration: none; border-radius: 40px; padding: 16px; font-weight: 700; }
.popup-fine { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.lightbox-card { position: relative; width: 100%; max-width: 960px; }
.lightbox-card .popup-x { top: -16px; right: -16px; }
.lb-video { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }
.lb-video iframe { width: 100%; height: 100%; border: 0; }
.lb-img { display: block; max-height: 85vh; margin: 0 auto; border-radius: var(--r); }

@media (max-width: 1100px) {
  :root { --pad: 28px; }
  .menu a:not(.mark) { display: none; } .menu { padding: 0; background: transparent; }
  .tariffs, .steps { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 2fr 1fr; }
}
@media (max-width: 860px) {
  .hero, .free, .tab-panel, .clients, .custom, .hit-card { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 24px; }
  .hero-video { margin: 0 auto; max-width: 340px; }
  .why { grid-template-columns: 1fr 1fr; } .why-video { grid-row: auto; grid-column: 1 / -1; }
  .products, .examples, .polaroids { grid-template-columns: 1fr; }
  .polaroids { max-width: 420px; }
  .trust { grid-template-columns: 1fr; } .trust img { display: none; }
  .custom .plate.tall { grid-row: auto; }
  .hit-phone { margin: 0 auto; }
  .foot-bar .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --pad: 20px; }
  .cta-line { display: none; }
  .why { grid-template-columns: 1fr; }
  .offer { flex-direction: column; padding: 24px; border-radius: 30px; text-align: center; }
  .tariffs, .steps { grid-template-columns: 1fr; }
  .popup-grid { grid-template-columns: 1fr; }
  .pol.p1, .pol.p2, .pol.p3 { transform: none; }
  .avatars img { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero h1 { animation: none; } }
