/* Улибу (Ulyboo) — лендинг. Палитра и шрифты — как в продукте и деке («Сумеречная сказка»). */
:root {
  --bg: #0B0918;
  --bg2: #110E22;
  --plum: #3B2668;
  --violet: #8B6CFF;
  --rose: #E58BC4;
  --gold: #F2C46D;
  --gold2: #C98A2B;
  --ink: #F6F0E6;
  --body: #C8C1DD;
  --muted: #9C94B8;
  --line: rgba(255, 255, 255, 0.09);
  --card: rgba(255, 255, 255, 0.045);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(20px, 5vw, 88px);
  --max: 1320px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--bg); color: var(--body); font-family: var(--sans); font-size: 18px; line-height: 1.6; font-variant-numeric: lining-nums; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--bg); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 720px; }
em { font-style: italic; color: var(--gold); }

/* ---------- плёнка и курсор ---------- */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) } }
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(242,196,109,.10) 0%, rgba(139,108,255,.06) 35%, transparent 70%); transform: translate3d(-999px,-999px,0); transition: opacity .4s; mix-blend-mode: screen; }

/* ---------- типографика ---------- */
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.display { font-family: var(--serif); font-weight: 600; font-size: clamp(56px, 8.2vw, 132px); line-height: .94; color: var(--ink); letter-spacing: -.015em; }
.display-2 { font-family: var(--serif); font-weight: 600; font-size: clamp(48px, 6.4vw, 104px); line-height: .96; color: var(--ink); }
.h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 5.2vw, 84px); line-height: 1; color: var(--ink); letter-spacing: -.01em; max-width: 1100px; }
.h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.05; color: var(--ink); }
.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.6; color: #DCD5EE; max-width: 600px; margin-top: 28px; }
.body { font-size: clamp(17px, 1.3vw, 20px); color: var(--body); margin-top: 24px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 28px; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.split .w > span { display: inline-block; transform: translateY(105%); }
.reveal { opacity: 0; transform: translateY(28px); }
.no-js .reveal, .reduced .reveal { opacity: 1; transform: none; }
.no-js .split .w > span, .reduced .split .w > span { transform: none; }

/* ---------- кнопки ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 60px; padding: 0 30px; border-radius: 999px; font-weight: 800; font-size: 16px; letter-spacing: .01em; cursor: pointer; border: 0; white-space: nowrap; transition: background .3s, color .3s, box-shadow .4s var(--ease); will-change: transform; }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn-wide { width: 100%; }
.btn-gold { color: #1B1306; background: linear-gradient(135deg, #FFE2A3 0%, var(--gold) 45%, var(--gold2) 100%); box-shadow: 0 10px 40px -8px rgba(242,196,109,.55), inset 0 1px 0 rgba(255,255,255,.6); overflow: hidden; }
.btn-gold::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s var(--ease) infinite; }
@keyframes shine { 0%, 60% { transform: translateX(-120%) } 85%, 100% { transform: translateX(120%) } }
.btn-gold:hover { box-shadow: 0 18px 60px -8px rgba(242,196,109,.8), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-gold i { width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .3s var(--ease); }
.btn-gold:hover i { transform: translateX(4px); }
.btn-ghost { color: var(--ink); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- навигация ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--pad); transition: background .4s, padding .4s, backdrop-filter .4s, box-shadow .4s; }
.nav.solid { background: rgba(11,9,24,.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav { transition: transform .5s var(--ease), background .4s, padding .4s; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.logo b { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .22em; color: var(--gold); margin-left: 2px; }
.logo-mark { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFE7B0 0%, var(--gold) 35%, #7A4FD6 100%); box-shadow: 0 0 24px rgba(242,196,109,.55); }
.nav-links { display: flex; gap: 34px; font-size: 15px; font-weight: 600; color: var(--body); }
.nav-links a { position: relative; transition: color .3s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); transform-origin: left; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang { font-size: 13px; font-weight: 800; letter-spacing: .16em; color: var(--muted); padding: 10px 6px; }
.lang:hover { color: var(--ink); }

/* ---------- устройства ---------- */
.tablet { position: relative; aspect-ratio: 16 / 10.4; border-radius: 34px; padding: 2.1%; background: linear-gradient(150deg, #2C2740 0%, #0D0B16 40%, #1C1830 100%); box-shadow: 0 0 0 1px rgba(255,255,255,.10), inset 0 0 0 1px rgba(255,255,255,.05), 0 60px 120px -30px rgba(0,0,0,.8), 0 30px 60px -20px rgba(59,38,104,.6); }
.tablet-screen, .phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: #140F27; }
.tablet-screen { border-radius: 20px; }
.tablet-screen img, .phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tablet-screen::after, .phone-screen::after { content: ''; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 30%); pointer-events: none; }
.tablet-cam { position: absolute; top: 50%; left: .9%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #2A2540; }
.phone { position: relative; aspect-ratio: 9 / 19.4; border-radius: 46px; padding: 9px; background: linear-gradient(150deg, #34304A 0%, #0D0B16 45%, #26213A 100%); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 50px 100px -30px rgba(0,0,0,.85); }
.phone-screen { border-radius: 38px; }
.phone-island { position: absolute; top: 18px; left: 50%; width: 30%; height: 22px; margin-left: -15%; border-radius: 20px; background: #05040A; }
[data-i] { opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
[data-i].on { opacity: 1; transform: none; }
.stage-glow { position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(circle, rgba(139,108,255,.45) 0%, rgba(242,196,109,.12) 40%, transparent 70%); filter: blur(40px); pointer-events: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 90px; isolation: isolate; }
.aurora { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, var(--bg)); z-index: -1; }
.hero-film { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .35; mix-blend-mode: screen; }
.hero-inner { width: 100%; max-width: 1500px; margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 4vw; align-items: center; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 30px; font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #7CE3A5; box-shadow: 0 0 0 0 rgba(124,227,165,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(124,227,165,.55) } 70% { box-shadow: 0 0 0 12px rgba(124,227,165,0) } 100% { box-shadow: 0 0 0 0 rgba(124,227,165,0) } }
.hero-stage { position: relative; aspect-ratio: 1 / .82; perspective: 1600px; }
.hero-tablet { position: absolute; left: 0; top: 8%; width: 88%; transform: rotateY(-14deg) rotateX(8deg) rotateZ(-2deg); transform-style: preserve-3d; }
.hero-phone { position: absolute; right: 0; bottom: 0; width: 27%; transform: rotateY(-10deg) rotateZ(5deg) translateZ(80px); }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(23,18,44,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 20px 40px -12px rgba(0,0,0,.6); font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.chip span { width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, var(--gold), #E58BC4); flex: none; }
.chip-0 { left: -4%; top: 2%; }
.chip-1 { right: 18%; top: -3%; }
.chip-1 span { background: linear-gradient(135deg, #8B6CFF, #5EC8F2); }
.chip-2 { left: 8%; bottom: 4%; }
.chip-2 span { background: linear-gradient(135deg, #F2C46D, #8B6CFF); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-cue span { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0) } 50% { transform: scaleY(1) } 100% { transform: scaleY(1); opacity: 0 } }

/* ---------- боль ---------- */
.pain { position: relative; padding: 22vh 0; overflow: hidden; }
.film { position: absolute; inset: -10% 0; background-size: cover; background-position: center; opacity: .5; z-index: -1; }
.film::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(11,9,24,.55) 30%, rgba(11,9,24,.55) 70%, var(--bg) 100%); }
.film-fallback { background: radial-gradient(ellipse at 70% 40%, rgba(59,38,104,.7) 0%, transparent 60%), radial-gradient(ellipse at 20% 70%, rgba(201,138,43,.18) 0%, transparent 55%); opacity: 1; }
.pain-text { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 5.4vw, 88px); line-height: 1.08; color: var(--ink); max-width: 1200px; }
.words .wd { opacity: .14; transition: opacity .2s; }
.pain-stat { display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; align-items: baseline; margin-top: 72px; padding-top: 34px; border-top: 1px solid var(--line); max-width: 760px; }
.pain-stat b { font-family: var(--serif); font-size: clamp(44px, 5vw, 76px); font-weight: 600; color: var(--gold); line-height: 1; grid-row: span 2; white-space: nowrap; }
.pain-stat span { font-size: 19px; color: var(--ink); }
.pain-stat small { font-size: 13px; color: var(--muted); }

/* ---------- инсайт ---------- */
.insight { padding: 14vh 0; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 60px; }
.cmp { position: relative; padding: 36px; border-radius: 30px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.cmp-voice { background: linear-gradient(160deg, rgba(242,196,109,.16) 0%, rgba(242,196,109,.03) 100%); box-shadow: inset 0 0 0 1px rgba(242,196,109,.32); }
.cmp .wave { position: absolute; left: 0; right: 0; top: 30px; height: 130px; width: 100%; }
.cmp-k { font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cmp-v { font-family: var(--serif); font-size: clamp(30px, 3vw, 46px); font-weight: 600; color: var(--ink); line-height: 1.1; margin-top: 6px; }
.cmp-voice .cmp-v { color: var(--gold); }
.bubbles { position: absolute; left: 36px; right: 36px; top: 36px; display: flex; flex-direction: column; gap: 10px; }
.bubbles i { display: block; height: 30px; border-radius: 16px 16px 16px 4px; background: rgba(255,255,255,.08); width: 62%; }
.bubbles i:nth-child(2) { width: 44%; }
.bubbles i:nth-child(3) { width: 54%; opacity: .5; }
.cite { font-size: 13px; color: var(--muted); margin-top: 20px; }
.punch { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3vw, 44px); color: var(--ink); margin-top: 60px; max-width: 900px; line-height: 1.15; }

/* ---------- день (закреплённый сторителлинг) ---------- */
.day { position: relative; padding: 12vh 0 6vh; }
.day-pin { position: relative; max-width: 1500px; margin: 60px auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 5vw; }
.day-steps { position: relative; padding-left: 40px; }
.day-rail { position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; }
.day-rail i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(var(--gold), var(--rose)); border-radius: 2px; box-shadow: 0 0 18px var(--gold); }
.step { min-height: 76vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s var(--ease); }
.step.on { opacity: 1; }
.step-time { font-family: var(--serif); font-size: 26px; font-style: italic; color: var(--gold); }
.step h3 { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 54px); font-weight: 600; color: var(--ink); line-height: 1.04; margin-top: 10px; }
.step p { font-size: 19px; margin-top: 18px; max-width: 520px; }
.step-devices { display: none; }
.day-stage { position: sticky; top: 0; align-self: start; height: 100vh; display: flex; align-items: center; justify-content: center; }
.day-tablet { width: 92%; transform: rotateY(-8deg) rotateX(4deg); }
.day-stage { perspective: 1600px; }
.day-phone { position: absolute; right: 0; bottom: 14vh; width: 24%; transform: rotateZ(4deg) translateZ(60px); }

/* ---------- голос ---------- */
.voice { position: relative; padding: 16vh 0; overflow: hidden; }
.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
.voice-visual { position: relative; }
.voice-player { position: absolute; left: 6%; right: 6%; bottom: -34px; display: flex; align-items: center; gap: 16px; padding: 14px 22px 14px 14px; border-radius: 22px; background: rgba(23,18,44,.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgba(242,196,109,.3), 0 30px 60px -20px rgba(0,0,0,.8); }
.vp-dot { width: 12px; height: 12px; margin: 0 6px 0 8px; border-radius: 50%; flex: none; background: var(--gold); box-shadow: 0 0 18px rgba(242,196,109,.8); }
.req { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--muted, #9C94B8); max-width: 520px; }
.voice-player b { font-size: 14px; font-weight: 800; color: var(--gold); white-space: nowrap; }
.voice-player .wave { flex: 1; height: 44px; min-width: 0; }
.play { width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, #FFE2A3, var(--gold)); display: grid; place-items: center; flex: none; box-shadow: 0 0 30px rgba(242,196,109,.5); }
.play span { width: 0; height: 0; border-left: 14px solid #1B1306; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.play.on span { width: 14px; height: 16px; border: 0; margin: 0; background: linear-gradient(90deg, #1B1306 0 35%, transparent 35% 65%, #1B1306 65%); }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 110px; }
.stat { padding-top: 26px; border-top: 1px solid rgba(242,196,109,.4); }
.stat b { font-family: var(--serif); font-size: clamp(44px, 4.4vw, 70px); font-weight: 600; color: var(--gold); line-height: 1; white-space: nowrap; }
.stat p { margin-top: 12px; font-size: 16px; }
.voice-cards { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; margin-top: 60px; }
.vcard { position: relative; padding: 36px; border-radius: 30px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.vcard.gold { background: linear-gradient(160deg, rgba(242,196,109,.16) 0%, rgba(242,196,109,.03) 100%); box-shadow: inset 0 0 0 1px rgba(242,196,109,.32); }
.vcard h3 { font-family: var(--serif); font-size: 38px; font-weight: 600; color: var(--ink); line-height: 1.05; }
.vcard p { margin-top: 12px; }
.badge { display: inline-block; margin-bottom: 16px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #1B1306; background: var(--gold); }

/* ---------- с бумаги ---------- */
.paper { padding: 14vh 0; }
.paper-stage { position: relative; display: grid; grid-template-columns: .62fr .3fr 1fr; align-items: center; gap: 2vw; margin-top: 70px; }
.paper-sheet { position: relative; padding: 14px; background: #FBF8F1; border-radius: 6px; transform: rotate(-5deg); box-shadow: 0 40px 80px -20px rgba(0,0,0,.8); }
.paper-sheet img { border-radius: 2px; }
.paper-beam { position: relative; height: 200px; }
.paper-beam i { position: absolute; left: 0; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px var(--gold), 0 0 40px var(--rose); opacity: 0; }
.paper-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; }
.paper-steps li { padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 28px; color: var(--ink); }
.paper-steps span { display: block; font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .2em; color: var(--gold); margin-bottom: 6px; }

/* ---------- родитель ---------- */
.parent { padding: 14vh 0; overflow: hidden; }
.parent-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.parent-head .h2 { margin: 0 auto; }
.fan { position: relative; display: flex; justify-content: center; gap: 2.4vw; margin-top: 80px; perspective: 1400px; }
.fan-item { width: min(23%, 290px); transform-origin: 50% 120%; }
.fan-item figcaption { text-align: center; margin-top: 20px; font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- безопасность ---------- */
.safety { padding: 14vh 0; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 60px; }
.tile { position: relative; grid-column: span 2; padding: 34px; border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transform-style: preserve-3d; min-height: 250px; }
.tile-0, .tile-1 { grid-column: span 3; }
.tile-0 { background: linear-gradient(160deg, rgba(242,196,109,.15) 0%, rgba(242,196,109,.02) 100%); box-shadow: inset 0 0 0 1px rgba(242,196,109,.3); }
.tile-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; color: var(--gold); background: rgba(242,196,109,.1); box-shadow: inset 0 0 0 1px rgba(242,196,109,.25); }
.tile-ic svg { width: 28px; height: 28px; }
.tile h3 { font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--ink); margin-top: 28px; line-height: 1.05; }
.tile p { margin-top: 10px; font-size: 16px; }
.tile-shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.08), transparent 45%); opacity: 0; transition: opacity .3s; }
.tile:hover .tile-shine { opacity: 1; }

/* ---------- бегущая строка ---------- */
.modules { padding: 10vh 0; overflow: hidden; }
.modules .h3 { margin-bottom: 50px; }
.marquee { display: flex; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 16px; }
.track { display: flex; gap: 16px; flex: none; animation: marq 60s linear infinite; padding-right: 16px; }
.rev .track { animation-direction: reverse; animation-duration: 70s; }
@keyframes marq { to { transform: translateX(-50%) } }
.track span { flex: none; padding: 18px 30px; border-radius: 999px; font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.track span:nth-child(5n+2) { color: var(--gold); box-shadow: inset 0 0 0 1px rgba(242,196,109,.3); }

/* ---------- для кого ---------- */
.who { padding: 14vh 0; }
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; }
.who-card { position: relative; min-height: 330px; padding: 32px; border-radius: 28px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: linear-gradient(200deg, hsl(calc(260 + var(--h) * 18), 45%, 22%) 0%, rgba(17,14,34,.9) 70%); box-shadow: inset 0 0 0 1px var(--line); }
.who-card::before { content: ''; position: absolute; width: 240px; height: 240px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(242,196,109,.35), transparent 65%); filter: blur(10px); transition: transform .8s var(--ease); }
.who-card:hover::before { transform: scale(1.4); }
.who-n { position: absolute; top: 28px; left: 32px; font-size: 13px; font-weight: 800; letter-spacing: .2em; color: var(--gold); }
.who-card h3 { font-family: var(--serif); font-size: 38px; font-weight: 600; color: var(--ink); line-height: 1.02; }
.who-card p { margin-top: 10px; font-size: 16px; }

/* ---------- цены ---------- */
.pricing { padding: 14vh 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 40px 34px 34px; border-radius: 32px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.plan-hot { background: linear-gradient(170deg, rgba(242,196,109,.2) 0%, rgba(139,108,255,.08) 60%, rgba(17,14,34,.6) 100%); box-shadow: inset 0 0 0 1px rgba(242,196,109,.45), 0 40px 90px -30px rgba(242,196,109,.35); }
.plan-badge { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #1B1306; background: var(--gold); }
.plan h3 { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--ink); }
.price { margin: 14px 0 26px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-family: var(--serif); font-size: clamp(44px, 4.3vw, 62px); font-weight: 600; color: var(--ink); line-height: 1; white-space: nowrap; }
.plan-hot .price b { color: var(--gold); }
.price span { color: var(--muted); font-weight: 700; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 34px; flex: 1; }
.plan li { position: relative; padding-left: 28px; font-size: 16px; }
.plan li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 9px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.plan li em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 2px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); margin-left: 4px; white-space: nowrap; }
.free { margin-top: 34px; text-align: center; font-family: var(--serif); font-size: 26px; font-style: italic; color: var(--ink); }

/* ---------- основатель ---------- */
.founder { padding: 14vh 0; }
.founder-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 6vw; align-items: end; }
.facts { display: flex; flex-direction: column; gap: 22px; }
.fact { padding: 26px 0 0; border-top: 1px solid rgba(242,196,109,.4); display: flex; flex-direction: column; gap: 4px; }
.fact b { font-family: var(--serif); font-size: 44px; font-weight: 600; color: var(--gold); line-height: 1; }

/* ---------- вопросы ---------- */
.faq { padding: 14vh 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 6vw; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); font-weight: 600; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; width: 18px; height: 18px; flex: none; }
.faq-list summary i::before, .faq-list summary i::after { content: ''; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: var(--gold); transition: transform .4s var(--ease); }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-list details p { padding: 0 0 26px; max-width: 680px; }

/* ---------- заявка ---------- */
.join { position: relative; padding: 18vh 0; overflow: hidden; }
.film-castle { opacity: .55; filter: blur(2px) saturate(1.1); }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
.form { display: flex; flex-direction: column; gap: 14px; padding: 36px; border-radius: 32px; background: rgba(17,14,34,.72); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 60px 120px -40px rgba(0,0,0,.9); }
.form label { display: flex; flex-direction: column; gap: 6px; }
.form label > span { font-size: 13px; font-weight: 700; color: var(--muted); }
.form input, .form select { height: 54px; padding: 0 18px; border-radius: 16px; border: 0; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: var(--ink); font-size: 16px; outline: none; transition: box-shadow .3s, background .3s; -webkit-appearance: none; appearance: none; }
.form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2C46D' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.form select option { background: #1A1530; }
.form input:focus, .form select:focus { box-shadow: inset 0 0 0 1.5px var(--gold); background: rgba(255,255,255,.09); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .check { flex-direction: row; align-items: flex-start; gap: 12px; font-size: 14px; margin: 4px 0 6px; }
.form .check input { width: 22px; height: 22px; padding: 0; flex: none; border-radius: 7px; cursor: pointer; }
.form .check input:checked { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1306' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/16px no-repeat; }
.form .check span { font-size: 14px; font-weight: 500; color: var(--body); }
.form .check a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { min-height: 24px; font-size: 15px; font-weight: 700; text-align: center; }
.form-msg.ok { color: #7CE3A5; }
.form-msg.err { color: #FF9C9C; }
.form.done > :not(.form-msg) { opacity: .35; pointer-events: none; }

/* ---------- подвал, cookie, юр. страница ---------- */
.foot { position: relative; padding: 96px 0 40px; border-top: 1px solid var(--line); overflow: hidden; background: radial-gradient(900px 460px at 82% 8%, rgba(139,108,255,.16), transparent 70%), radial-gradient(700px 380px at 6% 100%, rgba(242,196,109,.07), transparent 70%), linear-gradient(var(--bg), #0E0B20); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, .9fr); gap: 48px; align-items: start; }
.foot-tag { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 3.3vw, 50px); line-height: 1.04; color: var(--ink); margin-top: 28px; max-width: 480px; }
.foot-mail { display: inline-block; margin-top: 26px; font-size: 17px; font-weight: 800; color: var(--gold); border-bottom: 1px solid rgba(242,196,109,.35); padding-bottom: 3px; transition: border-color .3s var(--ease); }
.foot-mail:hover { border-color: var(--gold); }
.foot-col { padding-top: 14px; }
.foot-col h2 { font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.foot-col a { display: block; padding: 7px 0; font-size: 16px; color: var(--body); transition: color .3s var(--ease); }
.foot-col a:hover { color: var(--ink); }
.foot-col .foot-cta { margin-top: 10px; font-weight: 800; color: var(--gold); }
.foot-buddy { justify-self: end; align-self: end; width: 100%; max-width: 230px; height: auto; margin-bottom: -18px; filter: drop-shadow(0 30px 50px rgba(139,108,255,.35)); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px 32px; flex-wrap: wrap; margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-made { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--body); }
.foot-bottom nav { display: flex; gap: 24px; }
.foot-bottom nav a:hover { color: var(--ink); }
@media (max-width: 1000px) {
  .foot { padding-top: 72px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-buddy { display: none; }
  .foot-bottom { margin-top: 48px; }
}
@media (max-width: 600px) {
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
.cookie { position: fixed; left: 50%; bottom: 20px; z-index: 95; width: min(760px, calc(100% - 32px)); transform: translateX(-50%); display: flex; align-items: center; gap: 20px; padding: 16px 16px 16px 24px; border-radius: 22px; background: rgba(23,18,44,.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 30px 60px -20px rgba(0,0,0,.8); font-size: 14px; }
.cookie p { flex: 1; }
.cookie a { color: var(--gold); }
.cookie div { display: flex; gap: 8px; flex: none; }
.legal { padding: 60px 0; }
.legal-wrap { max-width: 800px; }
.legal-wrap .h2 { margin: 50px 0 6px; }
.legal-wrap h2:not(.h2) { font-family: var(--serif); color: var(--ink); font-size: 28px; margin: 34px 0 8px; }
.legal-wrap a:not(.logo) { color: var(--gold); display: inline-block; margin-top: 40px; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 70px; }
  .hero-stage { max-width: 760px; width: 100%; margin: 0 auto; }
  .voice-grid, .founder-grid, .faq-grid, .join-grid { grid-template-columns: 1fr; }
  .voice-visual { margin-top: 30px; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .tile-0, .tile-1 { grid-column: span 1; }
}
@media (max-width: 900px) {
  body { font-size: 17px; }
  .day-pin { grid-template-columns: 1fr; }
  .day-stage { display: none; }
  .day-steps { padding-left: 0; }
  .day-rail { display: none; }
  .step { min-height: 0; opacity: 1; padding: 46px 0; border-top: 1px solid var(--line); }
  .step-devices { display: block; margin-top: 28px; }
  .plans { grid-template-columns: 1fr; }
  .stats3 { grid-template-columns: 1fr; gap: 26px; margin-top: 90px; }
  .voice-cards { grid-template-columns: 1fr; }
  .paper-stage { grid-template-columns: 1fr; gap: 26px; }
  .paper-sheet { width: 62%; margin: 0 auto; }
  .paper-beam { display: none; }
  .paper-steps { grid-template-columns: 1fr 1fr; }
  .fan { gap: 12px; overflow-x: auto; justify-content: flex-start; padding: 0 var(--pad) 20px; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .fan-item { width: 62vw; flex: none; scroll-snap-align: center; transform: none !important; }
  .compare { grid-template-columns: 1fr; }
  .cursor-glow { display: none; }
}
@media (max-width: 600px) {
  .nav { padding: 14px 16px; }
  .nav .btn-sm { padding: 0 16px; }
  .lang { display: none; }
  .hero { padding-top: 110px; }
  .hero-ctas .btn { width: 100%; }
  .chip { font-size: 12px; padding: 8px 12px 8px 8px; }
  .chip span { width: 22px; height: 22px; border-radius: 7px; }
  .chip-0 { left: -2%; top: -12%; }
  .chip-1 { right: -2%; top: 2%; }
  .chip-2 { left: 4%; bottom: 2%; }
  .who-grid, .bento { grid-template-columns: 1fr; }
  .who-card { min-height: 220px; }
  .form { padding: 24px; }
  .form .row2 { grid-template-columns: 1fr; }
  .cookie { flex-direction: column; align-items: stretch; }
  .cookie div { justify-content: flex-end; }
  .track span { font-size: 22px; padding: 12px 22px; }
  .pain-stat { grid-template-columns: 1fr; }
  .pain-stat b { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .btn-gold::after, .track, .pulse, .scroll-cue span { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.cookie[hidden] { display: none; }

/* ---------- кинокадры ---------- */
.cine { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.cine-media, .film > .cine-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .cine-media { transform: scale(1.06); animation: kenburns 24s var(--ease) infinite alternate; object-position: 62% 40%; }
@keyframes kenburns { to { transform: scale(1.14) translate(-1.5%, -1%); } }
.cine-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,9,24,.94) 0%, rgba(11,9,24,.78) 32%, rgba(11,9,24,.2) 62%, rgba(11,9,24,.05) 100%), linear-gradient(180deg, rgba(11,9,24,.35) 0%, transparent 25%, transparent 70%, var(--bg) 100%); }
.hero .hero-inner { grid-template-columns: minmax(0, 760px); }
.hero .lead { color: #E6E0F2; }
.film { overflow: hidden; }
.film > .cine-media { z-index: -1; }
.film::after { z-index: 0; }
.pain .film { opacity: .62; }
.film-soft { opacity: .22 !important; }
.film-soft::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(11,9,24,.4) 40%, rgba(11,9,24,.4) 60%, var(--bg) 100%); }

/* ---------- что это: устройства ---------- */
.promise { position: relative; padding: 16vh 0 14vh; overflow: hidden; isolation: isolate; text-align: center; }
.promise .aurora { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.promise::before, .promise::after { content: ''; position: absolute; left: 0; right: 0; height: 30%; z-index: -1; pointer-events: none; }
.promise::before { top: 0; background: linear-gradient(var(--bg), transparent); }
.promise::after { bottom: 0; background: linear-gradient(transparent, var(--bg)); }
.promise-head { display: flex; flex-direction: column; align-items: center; }
.promise-head .h2 { margin: 0 auto; }
.promise .hero-stage { width: min(1080px, 90vw); margin: 70px auto 0; text-align: left; }

/* ---------- ночь ---------- */
.night { position: relative; min-height: 100vh; display: flex; align-items: flex-end; padding: 0 0 14vh; overflow: hidden; isolation: isolate; }
.night .film { inset: 0; opacity: 1; }
.night .film::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(11,9,24,.1) 28%, rgba(11,9,24,.25) 60%, var(--bg) 100%), linear-gradient(90deg, rgba(11,9,24,.7) 0%, transparent 60%); }
.night-time { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 2.6vw, 40px); color: var(--gold); margin-bottom: 10px; }
.night .display-2 { max-width: 1000px; text-shadow: 0 4px 40px rgba(0,0,0,.6); }

/* ---------- карточки с кадрами ---------- */
.who-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 1.2s var(--ease); }
.who-card { min-height: 440px; }
.who-card::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,9,24,.15) 0%, rgba(11,9,24,.35) 45%, rgba(11,9,24,.94) 100%); }
.who-card::before { z-index: 2; opacity: .5; }
.who-card > :not(.who-media) { position: relative; z-index: 3; }
.who-card .who-n { position: absolute; }
.who-card:hover .who-media { transform: scale(1.06); }
.vcard-img { overflow: hidden; }
.vcard-media { display: block; width: calc(100% + 72px); height: 230px; margin: -36px -36px 26px; object-fit: cover; object-position: 50% 35%; }
@media (max-width: 1100px) {
  .promise .hero-stage { width: 100%; }
}
@media (max-width: 600px) {
  .cine-shade { background: linear-gradient(180deg, rgba(11,9,24,.2) 0%, rgba(11,9,24,.55) 40%, rgba(11,9,24,.92) 72%, var(--bg) 100%); }
  .hero { align-items: flex-end; }
  .hero .cine-media { object-position: 60% 30%; }
  .night { min-height: 80vh; }
  .who-card { min-height: 340px; }
}
@media (prefers-reduced-motion: reduce) { .hero .cine-media { animation: none; } }
@media (min-width: 901px) {
  .hero .cine-media { left: 24%; width: 76%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
  .hero .cine-shade { background: linear-gradient(90deg, rgba(11,9,24,.9) 0%, rgba(11,9,24,.55) 38%, rgba(11,9,24,.08) 62%, transparent 100%), linear-gradient(180deg, rgba(11,9,24,.35) 0%, transparent 25%, transparent 70%, var(--bg) 100%); }
}
/* фон-кадр живёт внутри своей секции, а не под фоном body */
.pain, .night, .paper, .join, .voice { position: relative; isolation: isolate; }
.film > .cine-media { z-index: auto; }

/* ---------- доступность ---------- */
.skip { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 12px 18px; border-radius: 12px; background: var(--gold); color: #1B1306; font-weight: 800; transition: top .2s; }
.skip:focus { top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.form input:focus-visible, .form select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.form input[aria-invalid="true"], .form select[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #FF9C9C; }
.form .check input[aria-invalid="true"] { box-shadow: 0 0 0 2px #FF9C9C; }
.form button:disabled { opacity: .6; cursor: progress; }
.paper-sheet img { height: auto; }
/* без JavaScript: ничего не прячем и не приглушаем */
.no-js .step { opacity: 1; }
.no-js .cursor-glow { display: none; }

/* ---------- Улибу: герой бренда ---------- */
/* Логотип — мордочка зверька + слово, в кривых (var/brand/logo2/final.py): высота задаёт размер, ширина по пропорции. */
.logo-img { display: block; width: auto; height: 48px; }
.logo-foot .logo-img { height: 76px; }
.legal-wrap .logo-img { height: 52px; }
@media (max-width: 600px) { .logo-img { height: 40px; } }
.buddy-glow { position: absolute; left: 50%; top: 52%; width: 125%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(242,196,109,.30) 0%, rgba(139,108,255,.18) 42%, transparent 70%); filter: blur(18px); pointer-events: none; }
@keyframes buddyFloat { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }

.friend { position: relative; padding: 14vh 0; overflow: hidden; }
.friend-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 5vw; align-items: center; }
.friend-points { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 26px; }
.friend-points li { padding-left: 24px; border-left: 2px solid var(--gold); }
.friend-points h3 { font-family: var(--serif); font-size: clamp(26px, 2.2vw, 34px); font-weight: 600; line-height: 1.1; color: var(--ink); }
.friend-points p { margin-top: 6px; font-size: 17px; line-height: 1.55; color: var(--body); }
.friend-visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.friend-visual .buddy-glow { top: 36%; width: 105%; }
.friend-hero { position: relative; width: min(100%, 420px); height: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.5)); animation: buddyFloat 7s ease-in-out infinite; }
.moods { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 540px; margin-top: 30px; }
.moods figure { margin: 0; text-align: center; }
.moods img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; box-shadow: 0 0 0 1px var(--line), 0 16px 30px -12px rgba(0,0,0,.6); }
.moods figcaption { margin-top: 9px; font-size: 13px; font-weight: 700; color: var(--muted); }

@media (max-width: 1100px) {
  .friend-grid { grid-template-columns: 1fr; }
  .friend-visual { margin-top: 20px; }
}
@media (max-width: 600px) {
  .moods { gap: 8px; }
  .moods img { border-radius: 14px; }
  .moods figcaption { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .friend-hero { animation: none; } }
/* Планшет в «С бумаги — в цифру» до анимации сдвинут вправо: без обрезки страница на телефоне шире экрана. */
.paper { overflow-x: clip; }
