/* Sightline — лендинг. Палитра и формы те же, что в иконке и окне настроек расширения. */
:root {
  --paper: #F4F1EA;
  --paper-2: #E8E1D3;
  --card: #FFFFFF;
  --ink: #141414;
  --ink-2: #4A453D;
  --muted: #6B6458;
  --line: #DDD5C6;
  --coral: #F0563C;
  --coral-ink: #C2410C; /* коралловый для текста на светлом: контраст ≥ 4.5:1 */
  --display: "Bricolage Grotesque", "Onest", "Hiragino Sans", "Apple SD Gothic Neo", "Noto Sans Devanagari", system-ui, sans-serif;
  --text: Inter, "Hiragino Sans", "Apple SD Gothic Neo", "Noto Sans Devanagari", -apple-system, "Segoe UI", system-ui, sans-serif;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--coral-ink); }
a:hover { color: #9A3412; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:lang(ja) h1, :lang(ja) h2, :lang(ko) h1, :lang(ko) h2, :lang(hi) h1, :lang(hi) h2 { letter-spacing: -0.01em; line-height: 1.2; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 16px; }

/* ---------- шапка ---------- */
.top { position: sticky; top: 0; z-index: 5; background: rgba(244, 241, 234, 0.88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(20, 20, 20, 0.06); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 800 21px/1 var(--display); letter-spacing: -0.02em; }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }

.langs { position: relative; }
.langs summary { list-style: none; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 12px; cursor: pointer; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover { background: var(--paper-2); }
.langs svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.langs .menu { position: absolute; right: 0; top: calc(100% + 6px); display: grid; min-width: 200px; padding: 6px; border-radius: 16px; background: var(--card); box-shadow: 0 20px 50px rgba(20, 20, 20, 0.16); }
.langs .menu a { padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 15px; }
.langs .menu a:hover { background: var(--paper); }
.langs .menu a[aria-current] { font-weight: 600; color: var(--coral-ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 14px; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; white-space: nowrap; }
.btn:hover { color: var(--paper); background: #2B2A28; }
.btn.small { font-size: 15px; }

/* ---------- первый экран: всё по центру, одна яркая кнопка ---------- */
.hero { position: relative; padding: clamp(24px, 5vh, 72px) 0 clamp(12px, 2.4vh, 28px); overflow: hidden; text-align: center; isolation: isolate; }
.hero-copy { position: relative; display: flex; flex-direction: column; align-items: center; }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-ink); }
.hero h1 { margin-top: 16px; max-width: 11em; font-size: clamp(40px, min(7vw, 9vh), 100px); line-height: 0.94; font-weight: 800; letter-spacing: -0.05em; }
.lead { margin-top: 22px; font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.hero .lead { margin-top: clamp(16px, 2.6vh, 28px); font-size: clamp(18px, 2vw, 22px); max-width: 38em; }
.free { margin-top: clamp(10px, 1.8vh, 18px); font-size: 15px; color: var(--muted); }

.cta { margin-top: clamp(22px, 3.6vh, 40px); display: inline-flex; align-items: center; gap: 16px; min-height: 72px; padding: 12px 34px 12px 14px; border-radius: 40px; background: var(--coral); color: #fff; text-decoration: none; text-align: left; box-shadow: 0 18px 44px rgba(240, 86, 60, 0.42), inset 0 -3px 0 rgba(0, 0, 0, 0.12); transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s; }
.cta:hover { color: #fff; background: #E9482D; transform: translateY(-3px); box-shadow: 0 26px 56px rgba(240, 86, 60, 0.5), inset 0 -3px 0 rgba(0, 0, 0, 0.12); }
.cta:active { transform: translateY(0); }
.cta-ic { width: 48px; height: 48px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.cta-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--coral); stroke-width: 3; stroke-linecap: round; }
.cta-t { display: flex; flex-direction: column; font: 800 22px/1.1 var(--display); letter-spacing: -0.02em; }
.cta-t small { margin-top: 4px; font: 500 13px/1.2 var(--text); letter-spacing: 0; color: rgba(255, 255, 255, 0.88); }

/* фон с параллаксом: клин летит в круг */
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg > * { position: absolute; will-change: transform; }
.hero-bg .disc { width: 620px; height: 620px; right: -220px; top: -160px; border-radius: 50%; background: var(--paper-2); transform: translate3d(0, calc(var(--sy, 0) * -0.18px), 0); }
.hero-bg .ring { width: 300px; height: 300px; left: -120px; bottom: -150px; border-radius: 50%; border: 2px solid var(--line); transform: translate3d(0, calc(var(--sy, 0) * -0.3px), 0); }
.hero-bg .wedge { width: 260px; height: 166px; left: -60px; top: 44%; background: url(wedge.svg) center/contain no-repeat; transform: translate3d(calc(var(--sy, 0) * 0.55px), calc(var(--sy, 0) * -0.1px), 0) rotate(-8deg); }
.hero-bg .dot { width: 22px; height: 22px; right: 18%; bottom: 18%; border-radius: 50%; background: var(--coral); transform: translate3d(0, calc(var(--sy, 0) * -0.45px), 0); }

/* появление при прокрутке */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero .reveal:nth-child(4) { transition-delay: 0.24s; }
.hero .reveal:nth-child(5) { transition-delay: 0.32s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- прокрутка: захламлённый сайт выключается по шагам ---------- */
.scrolly { position: relative; height: 300vh; background: linear-gradient(var(--paper), var(--paper-2) 12%, var(--paper-2) 82%, var(--card)); }
.stage { position: sticky; top: 68px; height: calc(100vh - 68px); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 16px; padding: 12px 0 24px; overflow: hidden; }
.hint { display: flex; align-items: center; gap: 10px; font: 700 clamp(18px, 2.2vw, 24px)/1.2 var(--display); letter-spacing: -0.02em; transition: opacity 0.4s; }
.hint i { width: 10px; height: 10px; border-right: 2.5px solid var(--coral); border-bottom: 2.5px solid var(--coral); transform: rotate(45deg); animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px) rotate(45deg); } }
.s4 .hint { opacity: 0.35; }

.stage-in { width: min(1180px, 100% - 32px); display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: center; transform: scale(calc(0.94 + var(--p, 0) * 0.06)); transform-origin: 50% 40%; }

.win { position: relative; border-radius: 18px; background: #fff; box-shadow: 0 30px 80px rgba(20, 20, 20, 0.16), 0 2px 6px rgba(20, 20, 20, 0.06); overflow: hidden; color: var(--ink); }
.bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #EFEBE3; }
.bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5CEC1; }
.bar .url { margin-left: 12px; flex: 1; height: 22px; border-radius: 11px; background: #fff; }
.bar .ext svg { width: 20px; height: 20px; display: block; }
.burger { width: 18px; height: 12px; border-top: 2px solid #8A8478; border-bottom: 2px solid #8A8478; position: relative; flex: none; }
.burger::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid #8A8478; }
.logo { width: 84px; height: 20px; border-radius: 6px; background: #D9D3C7; flex: none; }
.create { width: 74px; height: 30px; border-radius: 15px; background: #EFEBE3; flex: none; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: #C9A66B; flex: none; }

.yt { height: min(560px, calc(100vh - 220px)); display: flex; flex-direction: column; }
.yt-head { height: 54px; flex: none; display: flex; align-items: center; gap: 14px; padding: 0 18px; }
.ysearch { flex: 1; max-width: 420px; margin: 0 auto; height: 34px; display: flex; border: 1.5px solid #E2DCD0; border-radius: 17px; overflow: hidden; }
.ysearch span { flex: 1; }
.ysearch b { width: 48px; background: #F3F0EA; display: grid; place-items: center; }
.ysearch svg, .sbox svg { width: 16px; height: 16px; fill: none; stroke: #4A453D; stroke-width: 2.2; }
.bell { position: relative; width: 22px; height: 22px; border-radius: 6px 6px 9px 9px; border: 2px solid #8A8478; flex: none; }
.bell .badge { position: absolute; top: -9px; right: -14px; padding: 1px 5px; border-radius: 8px; background: #E5322D; color: #fff; font: 700 10px/14px var(--text); transition: transform 0.35s; }
.s2 .bell .badge { transform: scale(0); }

.yt-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 190px minmax(0, 1fr); }
.side { padding: 6px 10px; display: flex; flex-direction: column; overflow: hidden; }
.side .it { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 10px; border-radius: 10px; flex: none; transition: height 0.45s, opacity 0.35s; overflow: hidden; }
.side .it:first-child { background: #F1EEE8; }
.side .it i { width: 16px; height: 16px; border-radius: 5px; background: #CFC8BA; flex: none; }
.side .it em { height: 9px; width: 70%; border-radius: 5px; background: #E4DED3; }
.side .sb-shorts i { background: #E5322D; border-radius: 4px 9px 4px 9px; }
.side .sb-shorts em { font: 600 13px/1 var(--text); font-style: normal; background: none; height: auto; color: var(--ink-2); }
.side .junk { display: flex; flex-direction: column; border-top: 1px solid #EEE9E0; margin-top: 6px; padding-top: 6px; transition: opacity 0.4s; }
.side .junk .it:nth-child(3n) i { background: #F2B53C; }
.side .junk .it:nth-child(4n) i { background: #7C5CFA; }
.s1 .side .sb-shorts { height: 0; opacity: 0; }
.s2 .side .junk { opacity: 0; }
.s2 .side .junk .it { height: 0; }

.main { position: relative; padding: 4px 18px 18px 6px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.chips { display: flex; gap: 8px; flex: none; overflow: hidden; transition: height 0.4s, opacity 0.35s; height: 28px; }
.chips span { flex: none; width: 74px; height: 28px; border-radius: 9px; background: #F1EEE8; }
.chips span.on { background: var(--ink); width: 48px; }
.promo { flex: none; height: 64px; border-radius: 12px; background: linear-gradient(100deg, #FFE27A, #FFB547); display: flex; align-items: center; gap: 14px; padding: 0 16px; overflow: hidden; transition: height 0.45s, opacity 0.35s, margin 0.45s; }
.promo .pi { width: 38px; height: 38px; border-radius: 10px; background: #E5322D; flex: none; }
.promo .pl { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.promo .pl span { height: 10px; width: 60%; border-radius: 5px; background: rgba(20, 20, 20, 0.55); }
.promo .pl .s { width: 38%; background: rgba(20, 20, 20, 0.25); }
.promo .pb { width: 92px; height: 32px; border-radius: 16px; background: var(--ink); flex: none; }
.s2 .chips, .s2 .promo { height: 0; opacity: 0; margin-top: -12px; }

.feed { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 12px; flex: none; }
.card { transition: opacity 0.45s, transform 0.55s, filter 0.45s; transition-delay: calc(var(--i) * 40ms); }
.th { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; }
.th b { position: absolute; right: 6px; bottom: 6px; padding: 1px 5px; border-radius: 4px; background: rgba(0, 0, 0, 0.78); color: #fff; font: 600 10px/14px var(--text); }
.th b:empty { display: none; }
.th .live { background: #E5322D; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.55; } }
.th .burst { position: absolute; left: 10%; top: 18%; width: 34%; height: 46%; background: #FFE45C; clip-path: polygon(50% 0, 61% 32%, 98% 20%, 70% 50%, 100% 80%, 60% 68%, 50% 100%, 40% 68%, 0 80%, 30% 50%, 2% 20%, 39% 32%); }
.c1 { background: linear-gradient(135deg, #FF4D4D, #FFB03A); }
.c2 { background: linear-gradient(135deg, #7C3AED, #EC4899); }
.c3 { background: linear-gradient(135deg, #06B6D4, #3B82F6); }
.c4 { background: linear-gradient(135deg, #22C55E, #FACC15); }
.c5 { background: linear-gradient(135deg, #F97316, #DB2777); }
.c6 { background: linear-gradient(135deg, #111827, #EF4444); }
.c7 { background: linear-gradient(135deg, #F59E0B, #EF4444); }
.c8 { background: linear-gradient(135deg, #8B5CF6, #06B6D4); }
.meta { display: flex; gap: 8px; margin-top: 8px; }
.meta .av { width: 22px; height: 22px; border-radius: 50%; background: #E4DED3; flex: none; }
.meta .ln { flex: 1; display: flex; flex-direction: column; gap: 6px; padding-top: 3px; }
.meta .ln span { height: 8px; border-radius: 4px; background: #DDD6CA; }
.meta .ln .s { width: 60%; background: #EAE5DC; }
.s3 .card { opacity: 0; transform: translateY(14px) scale(0.92); filter: blur(4px); }

.shorts { flex: none; max-height: 240px; overflow: hidden; transition: max-height 0.55s ease, opacity 0.35s, margin 0.55s; }
.shorts p { display: flex; align-items: center; gap: 8px; font: 700 15px/1 var(--display); margin: 2px 0 10px; }
.shorts p i { width: 16px; height: 18px; background: #E5322D; border-radius: 4px 9px 4px 9px; }
.shorts .row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.shorts .sh { position: relative; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; }
.shorts .sh::before { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.55)); }
.shorts .sl { position: absolute; left: 7px; right: 7px; bottom: 8px; display: flex; flex-direction: column; gap: 4px; }
.shorts .sl span { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.92); }
.shorts .sl .s { width: 55%; background: rgba(255, 255, 255, 0.6); }
.s1 .shorts { max-height: 0; opacity: 0; margin-top: -12px; }

.calm { position: absolute; inset: 0 0 0 -190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; background: #fff; opacity: 0; transform: scale(1.04); pointer-events: none; transition: opacity 0.6s ease, transform 0.8s cubic-bezier(.2, .7, .2, 1); }
.calm .q { font: 700 clamp(22px, 2.4vw, 30px)/1.2 var(--display); letter-spacing: -0.02em; }
.sbox { display: flex; width: min(440px, 90%); height: 48px; border: 1.5px solid #D9D3C7; border-radius: 24px; overflow: hidden; background: #fff; }
.sbox span { flex: 1; display: flex; align-items: center; padding: 0 20px; color: #8A8478; font-size: 15px; white-space: nowrap; overflow: hidden; }
.sbox b { width: 58px; background: #EFEBE3; display: grid; place-items: center; }
.quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.quick span { padding: 7px 14px; border-radius: 16px; background: #EFEBE3; font-size: 14px; color: #4A453D; }
.s3 .calm { opacity: 0.3; transform: scale(1.02); }
.s4 .calm { opacity: 1; transform: none; }
.s4 .side { opacity: 0; transition: opacity 0.4s; }

/* окно настроек рядом: переключатели щёлкают вслед за прокруткой */
.pp.mini { max-width: 300px; font-size: 14px; }
.pp.mini .rw { min-height: 50px; font-size: 14px; line-height: 1.25; padding-block: 6px; }
.pp.mini .sw, .pp.mini .seg span { transition: background 0.3s, color 0.3s; }
.pp.mini .sw::after { transition: left 0.3s cubic-bezier(.3, 1.4, .5, 1); }
.pp.mini .rw .sw { background: #e3e3e8; }
.pp.mini .rw .sw::after { left: 2px; }
.scrolly.s1 .pp.mini .t1 .sw, .scrolly.s2 .pp.mini .t2 .sw, .scrolly.s3 .pp.mini .t3 .sw { background: var(--coral); }
.scrolly.s1 .pp.mini .t1 .sw::after, .scrolly.s2 .pp.mini .t2 .sw::after, .scrolly.s3 .pp.mini .t3 .sw::after { left: 18px; }
.pp.mini .rw { transition: box-shadow 0.4s; }
.st1 .t1, .st2 .t2, .st3 .t3 { box-shadow: 0 0 0 2px var(--coral); }
.seg { position: relative; }
.seg .knob { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 16px) / 3); border-radius: 11px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); transform: translateX(calc(200% + 8px)); transition: transform 0.45s cubic-bezier(.3, 1.3, .5, 1); }
.pp.mini .seg span { position: relative; }
.seg .o3 { color: #1d1d1f; }
.s4 .seg .knob { transform: none; }
.s4 .seg .o3 { color: #6e6e73; }
.s4 .seg .o1 { color: #1d1d1f; }


/* ---------- возможности ---------- */
.features { padding: 96px 0; background: var(--card); }
.features h2, .faq h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.02; font-weight: 800; max-width: 14em; }
.grid { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { padding: 28px; border-radius: var(--radius); background: var(--paper); display: flex; flex-direction: column; gap: 10px; }
.feature .n { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; color: var(--coral-ink); }
.feature h3 { font-size: 26px; line-height: 1.1; font-weight: 800; }
.feature p { color: var(--ink-2); }
.feature:first-child { grid-row: span 2; background: var(--ink); color: var(--paper); justify-content: flex-end; min-height: 320px; position: relative; overflow: hidden; }
.feature:first-child::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--paper); }
.feature:first-child::after { content: ""; position: absolute; right: 70px; top: 60px; width: 150px; height: 92px; background: url(../assets/wedge.svg) center/100% 100% no-repeat; }
.feature:first-child p { color: #CFC8BA; }
.feature:first-child .n { color: var(--coral); }

/* ---------- окно настроек ---------- */
.control { padding: 110px 0; }
.control-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 64px; align-items: center; }
.control h2, .privacy h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.02; font-weight: 800; }
.pp { width: 100%; max-width: 400px; justify-self: center; padding: 14px; border-radius: 26px; background: #f5f5f7; box-shadow: 0 30px 80px rgba(20, 20, 20, 0.16); color: #1d1d1f; font: 15px/20px Inter, -apple-system, sans-serif; display: flex; flex-direction: column; gap: 10px; }
.pp-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 4px 8px; }
.pp-top b { display: block; font-size: 18px; font-weight: 600; }
.pp-top small { font-size: 12px; color: #86868b; }
.pp-card { padding: 16px; border-radius: 22px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.pp-card h3 { font: 600 15px/20px Inter, sans-serif; letter-spacing: 0; margin-bottom: 4px; }
.rw { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 10px 0 14px; border-radius: 14px; background: #f5f5f7; color: #3a3a3c; }
.sw { width: 40px; height: 24px; border-radius: 12px; background: var(--coral); position: relative; flex: none; }
.sw::after { content: ""; position: absolute; top: 2px; left: 18px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); }
.sw.lg { width: 48px; height: 28px; border-radius: 14px; }
.sw.lg::after { top: 3px; left: 23px; width: 22px; height: 22px; }
.sw.off { background: #e3e3e8; }
.sw.off::after { left: 2px; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: #f2f2f4; }
.seg span { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 6px; border-radius: 11px; color: #6e6e73; font-size: 13px; font-weight: 500; text-align: center; }
.seg span.on { background: #fff; color: #1d1d1f; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }

/* ---------- приватность ---------- */
.privacy { padding: 110px 0; background: var(--ink); color: var(--paper); }
.privacy-in { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 72px; align-items: center; }
.privacy .big svg { width: 100%; max-width: 360px; display: block; }
.privacy .lead { color: #CFC8BA; }
.privacy h3 { margin-top: 40px; font-size: 20px; letter-spacing: -0.01em; }
.lang-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lang-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1.5px solid #3D3B38; color: #E8E1D3; text-decoration: none; font-size: 15px; }
.lang-chips a:hover { border-color: var(--paper); color: var(--paper); }
.lang-chips a[aria-current] { background: var(--coral); border-color: var(--coral); color: var(--ink); font-weight: 600; }

/* ---------- вопросы ---------- */
.faq { padding: 110px 0; }
.faq h2 { margin-bottom: 32px; }
.faq details { border-top: 1.5px solid var(--line); }
.faq details:last-child { border-bottom: 1.5px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; font: 600 20px/1.3 var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg) translateY(-4px); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 40em; }

/* ---------- подвал ---------- */
.foot { padding: 48px 0; background: var(--ink); color: #CFC8BA; border-top: 1px solid #2B2A28; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot .brand { color: var(--paper); }
.foot p { flex: 1 1 320px; font-size: 14px; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--paper); font-size: 15px; }
.foot-links a:hover { color: var(--coral); }

/* ---------- узкие экраны ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .langs { margin-left: auto; }
  .control-in, .privacy-in { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .feature:first-child { grid-row: auto; min-height: 280px; }
  .privacy .big { max-width: 200px; }
  .features, .control, .privacy, .faq { padding: 72px 0; }
}
@media (max-width: 520px) {
  .top .btn.small { display: none; }
  .lead { font-size: 18px; }
}
@media (max-width: 900px) {
  .hero { padding: 40px 0 16px; }
  .hero-bg .disc { width: 380px; height: 380px; right: -200px; top: -120px; }
  .hero-bg .wedge { width: 130px; height: 84px; left: -64px; top: auto; bottom: 36px; }
  .stage-in { grid-template-columns: minmax(0, 1fr); gap: 14px; width: min(560px, 100% - 32px); }
  .yt { height: min(440px, calc(100vh - 360px)); min-height: 280px; }
  .yt-body { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .calm { left: 0; }
  .main { padding-left: 14px; }
  .feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shorts .row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shorts .sh:nth-child(n+5) { display: none; }
  .shorts { max-height: 260px; }
  .create, .ysearch { display: none; }
  .yt-head .sp { flex: 1; }
  .bell { margin-left: auto; }
  .pp.mini { max-width: none; width: 100%; padding: 8px; gap: 6px; border-radius: 20px; }
  .pp.mini .pp-top, .pp.mini .pp-card + .pp-card { display: none; }
  .pp.mini .pp-card { padding: 8px; gap: 4px; border-radius: 16px; }
  .pp.mini .rw { min-height: 40px; font-size: 13px; }
}
@media (max-width: 520px) {
  .cta { padding-right: 24px; min-height: 64px; }
  .cta-ic { width: 40px; height: 40px; }
  .cta-t { font-size: 19px; }
  .chips span { width: 56px; }
  .promo { height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg > *, .stage-in, [data-par] { transform: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hint i, .th .live { animation: none; }
  .scrolly *, .scrolly *::after { transition-duration: 0.01s !important; transition-delay: 0s !important; }
}

@media (max-height: 820px) and (min-width: 521px) {
  .cta { min-height: 60px; padding: 8px 28px 8px 10px; }
  .cta-ic { width: 42px; height: 42px; }
  .cta-t { font-size: 20px; }
}

/* Bricolage без кириллицы — русскую версию целиком набираем Onest */
:lang(ru) { --display: "Onest", system-ui, sans-serif; }
h1, h2, h3 { hyphens: none; overflow-wrap: normal; }
