/* Protocol X. Черна база, зърнест сив фон зад целия сайт, стъклени карти и само един цвят: червено. */

@font-face { font-family: "Exo 2"; src: url(fonts/exo-2-cyrillic.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Exo 2"; src: url(fonts/exo-2-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; src: url(fonts/onest-cyrillic.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url(fonts/onest-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --surface: #141416;
  --raised: #1f1f22;
  --line: #2e2e33;
  --fg: #f4f4f5;
  --fg2: #b4b4ba;
  --fg3: #929298;
  --red: #e3202a;
  --red-deep: #c4141d;
  --red-soft: #ff7a70;
  --pale: #d4d4d8;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head: "Exo 2", "Onest", system-ui, sans-serif;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
[hidden] { display: none !important; }
body::before { content: ""; position: fixed; inset: 0 0 auto; z-index: 30; height: env(safe-area-inset-top, 0px); background: var(--bg); }
h2 { font: 800 clamp(2.1rem, 4.7vw, 3.5rem)/1.08 var(--head); letter-spacing: -.01em; text-wrap: balance; }
h3 { font: 700 1.1875rem/1.3 var(--head); }
:focus-visible { outline: 2px solid var(--pale); outline-offset: 3px; border-radius: 6px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 40; padding: 10px 14px; border-radius: 8px; background: var(--fg); color: var(--bg); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

/* Плаващи бутони: WhatsApp е на всички страници, Назад е на подстраниците */
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 25; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 6px 22px rgba(0, 0, 0, .4); transition: transform .18s, background-color .18s; }
.wa-float:hover { transform: scale(1.08); background: var(--red-deep); }
.wa-float svg { position: relative; z-index: 1; width: 32px; height: 32px; }
.wa-float::before, .wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; animation: wa-ripple 2.6s ease-out infinite; }
.wa-float::after { animation-delay: 1.3s; }
@keyframes wa-ripple { from { box-shadow: 0 0 0 0 rgba(227, 32, 42, .5); } 70%, to { box-shadow: 0 0 0 22px rgba(227, 32, 42, 0); } }
.back-float { position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 25; display: inline-flex; align-items: center; gap: 7px; padding: 13px 20px 13px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--raised); color: var(--fg); font: 600 .9375rem/1 var(--sans); text-decoration: none; box-shadow: 0 6px 22px rgba(0, 0, 0, .4); transition: transform .18s; }
.back-float:hover { transform: translateX(-3px); }
.back-float svg { width: 16px; height: 16px; }
@media print { .wa-float, .back-float { display: none; } }

/* Фон */
.aurora { position: fixed; inset: 0; z-index: 0; display: block; width: 100%; height: 100vh; height: 100lvh; }
main, .foot { position: relative; z-index: 1; }

/* Бутони: главният е плътно бял с тъмен текст, вторият е тънка рамка, която се пълни в бяло. Червеното остава за логото и акцентите */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 26px; border: 1px solid var(--fg); border-radius: 10px; background: var(--fg); color: var(--bg); font: 700 .9375rem/1.2 var(--head); letter-spacing: .07em; text-align: center; text-decoration: none; text-transform: uppercase; box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .8); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .18s; }
.btn:hover { border-color: #fff; background: #fff; box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .9); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { min-height: 38px; padding: 8px 16px; border-radius: 8px; font-size: .8125rem; box-shadow: none; }
.btn-lg { min-height: 58px; padding: 16px 36px; font-size: 1rem; }
.btn-ghost { border-color: rgba(244, 244, 245, .32); background: transparent; color: var(--fg); box-shadow: none; }
.btn-ghost:hover { border-color: var(--fg); background: var(--fg); color: var(--bg); }

/* Меню */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; border-bottom: 1px solid rgba(255, 255, 255, .06); background: rgba(10, 10, 11, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-x { width: 30px; height: 30px; flex: none; }
.brand-word { font: 800 1.0625rem/1 var(--head); letter-spacing: .07em; }

/* Начало */
.hero { position: relative; display: grid; place-items: center; min-height: calc(100vh - 65px); min-height: calc(100svh - 65px); padding: 72px var(--gutter-r) 120px var(--gutter-l); }
.hero::after, .final::before, .final::after { content: ""; position: absolute; left: 0; right: 0; height: 130px; pointer-events: none; }
.hero::after { bottom: 0; background: linear-gradient(transparent, var(--bg)); }
.final::before { top: 0; background: linear-gradient(var(--bg), transparent); }
.final::after { bottom: 0; background: linear-gradient(transparent, var(--bg)); }
.glass { position: relative; z-index: 1; border: 1px solid rgba(255, 255, 255, .11); border-radius: 26px; background: rgba(20, 20, 22, .58); box-shadow: 0 34px 90px -28px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.hero-card { display: grid; justify-items: center; gap: 14px; width: 100%; max-width: 600px; padding: 34px clamp(20px, 5vw, 44px) 28px; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 5px 13px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; background: rgba(0, 0, 0, .3); color: var(--fg2); font-size: .95rem; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(255, 45, 45, .25); }
.wordmark { display: inline-flex; align-items: center; gap: .3em; margin-top: 4px; font: 800 clamp(2rem, 10.4vw, 3.5rem)/1.12 var(--head); letter-spacing: .03em; }
.wm-x { width: .95em; height: .95em; flex: none; }
h1 { font: 700 clamp(1.45rem, 4vw, 1.875rem)/1.2 var(--head); text-wrap: balance; }
.lede { max-width: 31em; color: var(--fg2); }
.hero-card .btn { margin-top: 8px; }
.fine { color: var(--fg2); font-size: .95rem; }

/* Секции */
.band { position: relative; padding-block: clamp(64px, 9vw, 112px); background: var(--bg); }
.head { display: grid; gap: 12px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.head p { color: var(--fg2); font-size: 1.25rem; }

/* Онлайн и на живо */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.panel { display: grid; grid-template-rows: auto 1fr auto; gap: 16px; min-width: 0; }
.panel-text { display: grid; gap: 6px; }
.panel-text p { color: var(--fg2); }
.note { color: var(--fg3); font-size: .95rem; }

.chat { display: grid; grid-template-columns: 168px minmax(0, 1fr); min-height: 400px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); font-size: 1rem; line-height: 1.4; }
.chat-side { display: grid; align-content: start; gap: 3px; padding: 14px 10px; border-right: 1px solid var(--line); background: #0e0e10; }
.chat-server { padding: 0 8px 10px; font-weight: 800; }
.chat-ch { padding: 4px 8px; border-radius: 7px; color: var(--fg3); font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-ch span, .chat-title span { margin-right: 5px; opacity: .6; }
.chat-ch.is-on { background: var(--raised); color: var(--fg); }
.chat-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 14px 16px; }
.chat-title { padding-bottom: 12px; border-bottom: 1px solid var(--line); font-weight: 700; }
.msg { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
.msg > div { display: grid; gap: 2px; color: #dedee2; }
.ava { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-weight: 700; font-size: .95rem; }
.ava-a { background: #55555c; }
.ava-b { background: #3e3e44; }
.ava-c { background: #6a6a71; }
.msg-who { color: var(--fg); font-weight: 700; }
.msg-who time { margin-left: 6px; color: var(--fg3); font-weight: 400; font-size: .85rem; }
.react { justify-self: start; margin-top: 3px; padding: 0 8px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 7px; background: rgba(255, 255, 255, .06); color: var(--pale); font-size: .9rem; }
/* Отговорът е червен, защото показва обещанието: някой забелязва */
.msg-reply { position: relative; row-gap: 3px; }
.msg-reply::before { content: ""; position: absolute; top: 9px; left: 16px; width: 19px; height: 12px; border: 0 solid var(--red); border-width: 2px 0 0 2px; border-top-left-radius: 6px; }
.msg-to { grid-column: 2; color: var(--fg3); font-size: .875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-input { margin-top: auto; padding: 9px 12px; border-radius: 9px; background: var(--raised); color: var(--fg3); }

.map { position: relative; min-height: 400px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(70% 70% at 54% 46%, #1d1d21, #0c0c0e 72%); }
.map canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-x { position: absolute; left: 54%; top: 46%; width: 34px; height: 34px; transform: translate(-50%, -50%); fill: none; stroke: var(--fg); stroke-width: 5; stroke-linecap: square; }
.map.is-live #roads { -webkit-mask: radial-gradient(circle at 54% 46%, transparent var(--gap), #000 calc(var(--gap) + 1px)); mask: radial-gradient(circle at 54% 46%, transparent var(--gap), #000 calc(var(--gap) + 1px)); }
.map.is-live .map-x { transition: stroke .3s; }
.map.is-met .map-x { stroke: var(--red); }
.map-tag { position: absolute; left: 54%; top: calc(46% + 28px); transform: translateX(-50%); padding: 1px 9px; border-radius: 7px; background: rgba(8, 8, 13, .78); color: var(--fg); font-size: .95rem; white-space: nowrap; }

/* Плочки */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: grid; grid-template-rows: 190px auto; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 10px 28px -12px rgba(0, 0, 0, .65); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .06) 50%, transparent 62%); transform: translateX(-110%); transition: transform .8s ease; pointer-events: none; }
.tile:hover::after { transform: translateX(110%); }
.tile-body { display: grid; align-content: start; gap: 6px; padding: 6px 20px 22px; }
.tile-body p { color: var(--fg2); font-size: 1rem; line-height: 1.5; }
.tiles-note { margin-top: 14px; }
.tv { position: relative; display: grid; align-content: center; gap: 12px; min-width: 0; padding: 16px 20px; background: radial-gradient(85% 120% at 72% 0%, rgba(255, 255, 255, .05), transparent 72%); color: var(--fg2); font-size: .8125rem; line-height: 1.3; }
.tv-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--fg); font-weight: 600; }
.tv-row strong { color: var(--pale); font-weight: 700; }
.chip { flex: none; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: var(--pale); font-size: .75rem; font-weight: 600; }
.chip-live { background: rgba(255, 45, 45, .16); color: var(--red-soft); }
.chip-ok { background: var(--red); color: #fff; }
.chip-corner { position: absolute; left: 14px; top: 14px; }

.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.day { display: grid; gap: 4px; padding: 6px 4px 7px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .02); }
.day b { color: var(--fg3); font-size: .6875rem; font-weight: 600; text-align: center; }
.day i { height: 7px; border-radius: 2px; background: rgba(255, 255, 255, .06); }
.day .h1.is-on, .hbar .h1 { background: var(--red); }
.day .h2.is-on, .hbar .h2 { background: var(--pale); }
.day .h3.is-on, .hbar .h3 { background: #77777e; }
.day.is-today { border-color: var(--pale); }
.day.is-today b { color: var(--fg); }
.day.is-next { opacity: .55; }

.wave { display: flex; align-items: center; gap: 4px; height: 56px; }
.wave i { flex: 1; min-width: 2px; height: var(--h); border-radius: 2px; background: linear-gradient(var(--pale), #66666c); animation: talk 1.5s ease-in-out var(--d) infinite alternate; transform-origin: center; }
@keyframes talk { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
.people-row { display: flex; align-items: center; }
.people-row .ava { width: 26px; height: 26px; margin-right: -6px; border: 2px solid var(--surface); font-size: .6875rem; }
.ava-more { background: var(--raised); color: var(--fg2); }
.people-txt { margin-left: 16px; }

.tv-habits { grid-template-columns: 96px minmax(0, 1fr); align-items: center; align-content: center; gap: 20px; }
.ring { position: relative; display: grid; place-items: center; width: 96px; height: 96px; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; }
.ring-bg { stroke: rgba(255, 255, 255, .08); }
.ring-fg { stroke: var(--red); stroke-linecap: round; stroke-dasharray: 213.6; }
.ring-full { stroke-dashoffset: 0; }
.ring-part { stroke-dashoffset: 87.6; }
.ring p { display: grid; justify-items: center; }
.ring b { color: var(--fg); font: 800 1.375rem/1.1 var(--head); font-variant-numeric: tabular-nums; }
.hbars { display: grid; gap: 9px; min-width: 0; }
.hbars p { display: grid; gap: 4px; }
.hbar { display: block; height: 6px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, .08); }
.hbar i { display: block; width: var(--v); height: 100%; border-radius: 3px; transform-origin: left; }

.tv-timer { place-items: center; }
.ring-big { width: 134px; height: 134px; }
.ring-big b { font-size: 1.75rem; }
.ring-big span { font-size: .75rem; }

.tv-rec { display: inline-flex; align-items: center; gap: 8px; }
.tv-rec svg { width: 22px; height: 22px; padding: 5px; border-radius: 6px; background: var(--red); fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: square; }
.chart { height: 88px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.chart svg { display: block; width: 100%; height: 100%; }
.chart-line { fill: none; stroke: var(--red); stroke-width: 2; vector-effect: non-scaling-stroke; }

.event { display: grid; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .22); }
.event-top { padding: 11px; border-radius: 8px; background: linear-gradient(100deg, #2b2b30, #1f1f23); color: var(--fg); font: 800 .875rem/1 var(--head); letter-spacing: .14em; text-align: center; }
.event-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-inline: 2px; }
.event-row p { display: grid; }
.event-row b { color: var(--fg); }
.event-row strong { color: var(--pale); font-size: 1rem; }
.event-low { padding-top: 7px; border-top: 1px solid var(--line); }

/* Еднократно, когато плочките влязат в екрана */
.is-seen .ring-fg { animation: ring-in 1.1s cubic-bezier(.3, .7, .2, 1) backwards; }
.is-seen .hbar i { animation: bar-in 1.1s cubic-bezier(.3, .7, .2, 1) backwards; }
.is-seen .chart svg { animation: reveal 1.3s ease-out backwards; }
@keyframes ring-in { from { stroke-dashoffset: 213.6; } }
@keyframes bar-in { from { transform: scaleX(0); } }
@keyframes reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Телефон: Discord в рамка. script.js сменя екраните, сцената е в index.html */
.phone-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(32px, 6vw, 80px); align-items: center; }
.phone-text { display: grid; gap: 16px; }
.phone-text > p { color: var(--fg2); font-size: 1.25rem; }
.phone-points { display: grid; gap: 9px; margin-top: 6px; }
.phone-points li { position: relative; padding-left: 24px; color: var(--fg2); }
.phone-points li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 12px; height: 6px; border: solid var(--red); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.phone-stage { position: relative; display: grid; justify-items: center; gap: 16px; min-width: 0; }
.phone-stage .note { text-align: center; }
.phone { position: relative; width: 292px; max-width: 100%; padding: 9px; border: 1px solid #3a3a40; border-radius: 46px; background: #000; box-shadow: 0 44px 90px -34px #000, inset 0 0 0 2px #1b1b1e; }
.ph-screen { position: relative; aspect-ratio: 9 / 19.5; overflow: hidden; border-radius: 37px; background: #0e0e10; font-size: .8125rem; line-height: 1.35; }
.ph-status { position: absolute; inset: 0 0 auto; z-index: 3; display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 2px 26px 0; font-size: .75rem; font-weight: 700; }
.ph-status::after { content: ""; position: absolute; left: 50%; top: 8px; width: 74px; height: 21px; border-radius: 12px; background: #000; transform: translateX(-50%); }
.ph-batt { width: 20px; height: 10px; border: 1px solid var(--fg2); border-radius: 3px; background: linear-gradient(90deg, var(--fg) 70%, transparent 70%) 1px 1px / calc(100% - 2px) calc(100% - 2px) no-repeat; }

.ph-view { position: absolute; inset: 0; display: flex; flex-direction: column; padding-top: 36px; background: var(--surface); transition: transform .36s cubic-bezier(.3, .7, .2, 1), filter .36s; }
.ph-room { box-shadow: -14px 0 28px rgba(0, 0, 0, .45); transform: translateX(118%); }
.ph-room.is-on { transform: none; }
.ph-home { flex-direction: row; background: #0e0e10; }
.phone.is-in .ph-home { filter: brightness(.55); transform: translateX(-24%); }
.ph-rail { position: relative; display: grid; flex: none; align-content: start; justify-items: center; gap: 10px; width: 54px; padding-top: 8px; }
.ph-rail::before { content: ""; position: absolute; left: 0; top: 16px; width: 4px; height: 22px; border-radius: 0 4px 4px 0; background: var(--fg); }
.ph-rail img { width: 38px; height: 38px; }
.ph-add { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(var(--fg2), var(--fg2)) center / 14px 2px no-repeat, linear-gradient(var(--fg2), var(--fg2)) center / 2px 14px no-repeat, var(--raised); }
.ph-chans { flex: 1; min-width: 0; padding: 8px 7px 0; overflow: hidden; border-radius: 14px 0 0; background: var(--surface); -webkit-mask-image: linear-gradient(#000 88%, transparent); mask-image: linear-gradient(#000 88%, transparent); }
.ph-server { padding: 4px 8px 8px; font: 800 .9375rem/1.2 var(--head); letter-spacing: .05em; }
.ph-cat { padding: 11px 8px 3px; color: var(--fg3); font-size: .625rem; font-weight: 700; letter-spacing: .03em; }
/* Стрелката на секцията като в Discord: надолу е отворена, надясно е свита */
.ph-cat::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 7px 2px 1px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.ph-cat.is-shut { padding-top: 12px; }
.ph-cat.is-shut::before { margin-bottom: 0; transform: rotate(-45deg); }
.ph-chans .chat-ch { padding: 3px 8px; font-size: .8125rem; line-height: 1.35; transition: background-color .15s, color .15s; }
.ph-chans .chat-ch.is-new { color: var(--fg); font-weight: 600; }
.ph-chans .chat-ch.is-press { background: var(--raised); color: var(--fg); }
.ph-voice { width: 13px; height: 13px; margin-right: 5px; fill: currentColor; opacity: .7; vertical-align: -2px; }
.ph-wave { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }

.ph-top { display: flex; flex: none; align-items: center; height: 42px; padding: 0 14px; }
.ph-top .chip { margin-left: auto; }
.ph-back { width: 9px; height: 9px; margin: 0 12px 0 2px; border: solid var(--fg2); border-width: 0 0 2px 2px; transform: rotate(45deg); }
.ph-feed { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; gap: 12px; min-height: 0; padding: 12px; overflow: hidden; }
.phone .msg { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; }
.phone .ava { width: 28px; height: 28px; font-size: .75rem; }
.phone .msg-who time { font-size: .6875rem; }
.phone .react { font-size: .75rem; }
.ph-new { display: grid; grid-template-rows: 0fr; margin-top: -12px; opacity: 0; transition: grid-template-rows .24s ease-out, margin-top .24s ease-out, opacity .24s; }
.ph-new > .msg { min-height: 0; overflow: hidden; }
.ph-new.is-in { grid-template-rows: 1fr; margin-top: 0; opacity: 1; }
.ph-react { opacity: 0; transform: scale(.7); transition: opacity .16s, transform .16s; }
.ph-react.is-on { opacity: 1; transform: none; }
.phone .ph-input { flex: none; min-height: 38px; margin: 0 10px 18px; padding: 9px 14px; border-radius: 19px; }
.ph-input span:empty::before { content: "Напиши отчета си за днес"; }
.ph-input span:not(:empty) { color: var(--fg); }
.ph-input.is-typing span::after { content: ""; display: inline-block; width: 1px; height: 1.05em; margin-left: 1px; background: var(--fg); vertical-align: -2px; }

.ph-seats { display: grid; flex: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-height: 0; padding: 12px 12px 0; }
.ph-seat { display: grid; align-content: center; justify-items: center; gap: 9px; border: 2px solid transparent; border-radius: 14px; background: var(--raised); color: var(--fg2); font-weight: 600; transition: border-color .18s, color .18s; }
.phone .ph-seat .ava { width: 56px; height: 56px; font-size: 1.25rem; transition: box-shadow .18s; }
.ph-seat.is-talk { border-color: var(--red); color: var(--fg); }
.phone .ph-seat.is-talk .ava { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--red); }
.ph-more { padding: 10px 0 4px; color: var(--fg3); font-size: .75rem; text-align: center; }
.ph-bar { display: flex; flex: none; justify-content: center; gap: 14px; padding: 8px 0 24px; }
.ph-bar i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--raised); color: var(--fg); }
.ph-bar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.ph-bar .ph-leave { background: var(--red); }

.phone .event { flex: none; }
.phone .event-row { font-size: .75rem; }
.phone .people-row .ava { width: 22px; height: 22px; margin-right: -5px; font-size: .625rem; }
.phone .people-txt { margin-left: 12px; }
.phone .people-row .ph-me { width: 0; margin-right: 0; border-width: 0; opacity: 0; transition: width .2s, margin-right .2s, opacity .2s; }
.phone .people-row .ph-me.is-in { width: 22px; margin-right: -5px; border-width: 2px; opacity: 1; }
.ph-join { padding: 4px 12px; font-size: .8125rem; transition: background-color .15s, color .15s; }

.ph-tap { position: absolute; z-index: 4; left: 0; top: 0; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; background: rgba(255, 255, 255, .3); opacity: 0; pointer-events: none; }
.ph-tap.is-on { animation: ph-tap .5s ease-out; }
@keyframes ph-tap { 0% { opacity: 0; transform: scale(1.5); } 35% { opacity: 1; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.15); } }

.ph-tag { position: absolute; z-index: 2; display: none; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; background: rgba(20, 20, 22, .82); color: var(--fg3); font-size: .9375rem; font-weight: 600; white-space: nowrap; transition: border-color .25s, color .25s; }
.ph-tag.is-on { border-color: var(--red); color: var(--fg); }
.ph-tag-a { right: calc(50% + 134px); top: 14%; }
.ph-tag-b { left: calc(50% + 134px); top: 40%; }
.ph-tag-c { right: calc(50% + 134px); top: 68%; }
@media (min-width: 1100px) {
  .ph-tag { display: block; }
}

/* Протоколи */
.head-mid { margin-inline: auto; justify-items: center; text-align: center; }
.head-mid p { max-width: 34em; text-wrap: balance; }
.tree { --reach: clamp(44px, 8.4vw, 120px); --tick: 12px; --r: 16px; --pad: 11px; --fade: 56px; --name: clamp(1.5rem, 3vw, 2.5rem); --twig: 24px; }
.tree-x { display: block; width: 72px; height: 72px; margin: 0 auto 8px; }
.branches { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: calc(var(--reach) * 2); }
.branches::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 1px); width: 2px; background: linear-gradient(var(--red) calc(100% - var(--fade)), transparent); }
.branches > li { --ink: var(--red); position: relative; grid-column: 1; grid-row: span 2; min-width: 0; padding-block: var(--pad); text-align: right; }
.branches > li:nth-child(even) { grid-column: 2; text-align: left; }
.branches > li:nth-child(2) { grid-row: 2 / span 2; }
.branches h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font: 800 var(--name)/1.15 var(--head); letter-spacing: -.005em; overflow-wrap: anywhere; }
.branches > li:nth-child(odd) h3 { flex-direction: row-reverse; }
.branches .chip { font: 600 .875rem/1.5 var(--sans); letter-spacing: 0; }
/* Клонът излиза от гръбнака, извива се и спира до името */
.branches > li::before { content: ""; position: absolute; top: calc(var(--pad) + var(--name) * .665 - var(--r) + 1px); width: calc(var(--reach) + 1px - var(--tick)); height: var(--r); border: 0 solid var(--ink); border-bottom-width: 2px; transition: border-color .25s; }
.branches > li:nth-child(odd)::before { right: calc(-1px - var(--reach)); border-right-width: 2px; border-bottom-right-radius: var(--r); }
.branches > li:nth-child(even)::before { left: calc(-1px - var(--reach)); border-left-width: 2px; border-bottom-left-radius: var(--r); }
/* Клончетата: всяка тема излиза от линия под името на протокола */
.twigs { margin-top: 6px; }
.twigs li { --ink: var(--red); position: relative; padding: 3px 0 3px var(--twig); color: var(--fg2); font-size: 1rem; line-height: 1.45; transition: color .25s; }
.twigs li::before, .twigs li::after { content: ""; position: absolute; left: 0; border: 0 solid var(--ink); transition: border-color .25s; }
.twigs li::before { top: 0; width: calc(var(--twig) - 8px); height: calc(.725em + 3px); border-width: 0 0 2px 2px; border-bottom-left-radius: 8px; }
.twigs li::after { top: 0; bottom: 0; border-left-width: 2px; }
.twigs li:last-child::after { display: none; }
/* Червеното слиза със скрола. Без JavaScript и при намалено движение дървото е цяло червено */
.tree.is-live .branches::before { bottom: auto; height: var(--len); background: var(--line); }
.tree.is-live .branches::after { content: ""; position: absolute; top: 0; left: calc(50% - 1px); width: 2px; height: var(--fill, 0); background: var(--red); box-shadow: 0 0 12px rgba(227, 32, 42, .6); }
.tree.is-live .branches > li:not(.is-on), .tree.is-live .twigs li:not(.is-on) { --ink: var(--line); }
.tree.is-live .branches > li:not(.is-on) h3, .tree.is-live .twigs li:not(.is-on) { color: var(--fg3); }
.tree.is-live .twigs li.is-on { color: var(--fg); }
.branches h3 { transition: color .25s; }
.tree.is-live .branches .chip-live { position: relative; transition: background-color .25s, color .25s; }
.tree.is-live .branches > li:not(.is-on) .chip-live { background: var(--raised); color: var(--fg3); }
.tree.is-live .branches > li.is-on .chip-live { animation: live-on .7s cubic-bezier(.2, .7, .2, 1); }
.tree.is-live .branches > li.is-cur .chip-live::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--red); border-radius: inherit; animation: live-ping 1.8s ease-out infinite; }
@keyframes live-on { 0%, 35% { background: var(--red); color: #fff; box-shadow: 0 0 18px rgba(227, 32, 42, .7); } 20% { transform: scale(1.2); } }
@keyframes live-ping { from { opacity: .8; } to { opacity: 0; transform: scale(1.3, 1.7); } }
.tree-note { margin-top: 28px; text-align: center; }
.tree-join { display: grid; justify-items: center; gap: 8px; max-width: 34em; margin: 40px auto 0; text-align: center; }
.tree-join p { color: var(--fg2); text-wrap: balance; }
.tree-join-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
@media (min-width: 761px) {
  .branches > li:nth-child(odd) .twigs li { padding: 3px var(--twig) 3px 0; }
  .branches > li:nth-child(odd) .twigs li::before, .branches > li:nth-child(odd) .twigs li::after { left: auto; right: 0; }
  .branches > li:nth-child(odd) .twigs li::before { border-width: 0 2px 2px 0; border-radius: 0 0 8px 0; }
  .branches > li:nth-child(odd) .twigs li::after { border-width: 0 2px 0 0; }
}

/* Една година */
.year { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.year li { display: grid; align-content: start; gap: 8px; min-width: 0; }
.year li > p:last-child { color: var(--fg2); }
.year-n { font: 800 clamp(3.75rem, 8vw, 6rem)/1 var(--head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
/* Чертичките са в цели пиксели и отговарят на броя: 52 седмици и 12 месеца в една и съща дължина */
.year { --week: 5px; --month: 22px; --bar: 260px; }
.year-bar { display: block; width: 100%; max-width: var(--bar); height: 10px; margin-block: 6px 8px; }
.year-bar-day { background: var(--pale); }
.year-bar-week { background: repeating-linear-gradient(90deg, var(--pale) 0 2px, transparent 2px var(--week)); }
.year-bar-month { background: repeating-linear-gradient(90deg, var(--pale) 0 2px, transparent 2px var(--month)); }
.year-bar-one { width: 3px; background: var(--pale); }
/* Годината минава при първо показване: чертичките светват отляво надясно, а изкачването светва червено накрая */
.year.is-live { --p: 0%; }
.year.is-live .year-bar:not(.year-bar-one) { -webkit-mask-image: linear-gradient(90deg, #000 var(--p), rgba(0, 0, 0, .2) var(--p)); mask-image: linear-gradient(90deg, #000 var(--p), rgba(0, 0, 0, .2) var(--p)); }
.year.is-live .year-bar-one { opacity: .2; }
.year.is-done .year-bar-one { opacity: 1; animation: year-peak 1.8s ease-out; }
.year.is-done li:last-child .year-n { animation: year-peak-n 1.8s ease-out; }
@keyframes year-peak { 0%, 25% { background: var(--red); box-shadow: 0 0 14px 2px rgba(227, 32, 42, .8); } }
@keyframes year-peak-n { 0%, 25% { color: var(--red); } }

/* Хората */
.people { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 80px); align-items: start; }
.people-cols { display: grid; gap: 26px; }
.people-cols div { display: grid; gap: 6px; }
.people-cols p { max-width: 36em; color: var(--fg2); }

/* Абонамент */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-bottom: 36px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-content: start; gap: 2px 12px; counter-increment: step; }
.steps li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--pale); font-weight: 700; font-size: 1rem; }
.steps p { grid-column: 2; color: var(--fg2); }

.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr); gap: 20px; }
.plan { display: grid; align-content: start; gap: 10px; min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.plan-best { border-color: var(--red); }
.plan h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.tag { padding: 1px 9px; border-radius: 999px; background: rgba(255, 45, 45, .14); color: var(--red-soft); font: 600 .9rem/1.5 var(--sans); }
.price { color: var(--fg2); }
.price strong { display: block; color: var(--fg); font: 800 clamp(2.75rem, 4.4vw, 3.25rem)/1.05 var(--head); letter-spacing: -.012em; }
.plan-sub { color: var(--fg3); }
.plan .btn { margin-top: 8px; }
.plan-note { color: var(--pale); font-size: 1rem; }
.includes { display: grid; align-content: start; gap: 12px; min-width: 0; padding: 26px 6px; }
.includes ul { display: grid; gap: 9px; }
.includes li { position: relative; padding-left: 24px; color: var(--fg2); }
.includes li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 12px; height: 6px; border: solid var(--pale); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.legal { margin-top: 20px; color: var(--fg3); font-size: 1rem; }
.legal a { color: var(--fg2); }

/* Въпроси */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(32px, 6vw, 80px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 18px 40px 18px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 15px; height: 2px; background: var(--pale); transition: transform .18s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { max-width: 40em; padding: 0 40px 20px 0; color: var(--fg2); }

/* Край */
.final { position: relative; display: grid; place-items: center; min-height: 500px; padding: 110px var(--gutter-r) 110px var(--gutter-l); }
.final-card { display: grid; justify-items: center; gap: 10px; width: 100%; max-width: 520px; padding: 36px 28px; text-align: center; }
.final-card p { color: var(--fg2); font-size: 1.25rem; }
.final-card .btn { margin-top: 10px; }

.foot { padding-block: 28px; border-top: 1px solid rgba(255, 255, 255, .07); background: var(--bg); color: var(--fg3); font-size: 1rem; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--fg2); text-decoration: none; }
.foot a:hover { color: var(--fg); text-decoration: underline; }

/* Подстраници */
.page { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; padding: 56px var(--gutter-r) 72px var(--gutter-l); background: var(--bg); }
.page h1 { margin-bottom: 8px; font: 800 clamp(2.1rem, 6vw, 3rem)/1.1 var(--head); }
.page h2 { margin-top: 32px; font: 700 1.25rem/1.3 var(--head); }
.page p, .page li { margin-top: 10px; color: var(--fg2); }
.page ul { display: grid; gap: 2px; }
.page li { position: relative; padding-left: 18px; }
.page li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 6px; height: 2px; background: var(--pale); }
.page mark { padding: 0 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); color: var(--pale); }
.page-date { color: var(--fg3); font-size: 1rem; }
/* Инструкциите: всяка стъпка е кратък текст и нарисуван екран, а червеният кръг показва какво да се натисне */
.how-list { display: grid; gap: 48px; margin-top: 36px; counter-reset: how; }
.page .how-step { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 18px 36px; align-items: start; margin-top: 0; padding-left: 0; counter-increment: how; }
.page .how-step::before { content: none; }
.how-text { min-width: 0; }
.page .how-text h2 { display: flex; align-items: center; gap: 12px; margin-top: 0; color: var(--fg); font-size: 1.375rem; }
.how-text h2::before { content: counter(how); display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font: 700 1rem/1 var(--head); }
.how-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page .how-note { margin-top: 40px; color: var(--fg3); }
.how-faq { margin-top: 14px; }

.how-phone { width: 240px; max-width: 100%; padding: 8px 8px 0; overflow: hidden; border: 1px solid #3a3a40; border-bottom-color: var(--line); border-radius: 36px 36px 0 0; background: #000; }
.how-face { position: relative; display: flex; flex-direction: column; gap: 10px; height: 300px; overflow: hidden; padding: 38px 14px 16px; border-radius: 28px 28px 0 0; background: var(--surface); color: var(--fg); font-size: .8125rem; line-height: 1.35; }
.how-face::before { content: ""; position: absolute; z-index: 2; left: 50%; top: 9px; width: 60px; height: 17px; border-radius: 10px; background: #000; transform: translateX(-50%); }
.how-face small { display: block; color: var(--fg3); font-size: .6875rem; }
.how-fill { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 0; color: var(--fg2); text-align: center; }
.how-big { color: var(--fg); font: 800 1.125rem/1.2 var(--head); }
.how-row { display: flex; align-items: center; gap: 10px; }
.how-row img { flex: none; }
.how-icon { display: grid; flex: none; place-items: center; width: 52px; height: 52px; border-radius: 13px; background: var(--raised); font: 800 1.375rem/1 var(--head); }
.how-shots { display: grid; flex: 1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; min-height: 0; margin-top: 4px; }
.how-shots i { border-radius: 8px; background: var(--raised); }
.how-btn { position: relative; display: grid; flex: none; place-items: center; min-height: 36px; padding: 6px 10px; border-radius: 9px; background: var(--raised); font-weight: 700; text-align: center; }
.how-red { background: var(--fg); color: var(--bg); }
.how-half { flex: 1; }
.how-pop { align-self: flex-start; min-width: 76px; }
.how-plan { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: var(--fg2); }
.how-plan strong { color: var(--fg); font: 800 1.0625rem/1 var(--head); }
.how-gap { margin-top: 6px; }
.how-field { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--fg3); }
.how-check { display: flex; align-items: center; gap: 8px; color: var(--fg2); font-size: .75rem; }
.how-check i { width: 14px; height: 14px; border: 1px solid var(--fg3); border-radius: 3px; }
.how-face .how-top { flex: none; margin-inline: -14px; padding: 0 14px 10px; }
.how-input { display: flex; flex: none; align-items: center; gap: 8px; min-height: 40px; padding: 5px 6px 5px 12px; border-radius: 20px; background: var(--raised); color: var(--fg2); }
.how-input span { flex: 1; min-width: 0; }
.how-send { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; }
.how-send svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.how-home { display: flex; flex: 1; min-height: 0; margin: -8px -14px -16px; }
.how-home .ph-rail::before { content: none; }
.how-tile { display: grid; border-radius: 10px; }
.how-tile img { display: block; }
.how-hit { position: relative; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--red); }
.how-hit::after { content: ""; position: absolute; inset: -4px; border: 2px solid var(--red); border-radius: 13px; pointer-events: none; animation: how-ping 1.8s ease-out infinite; }
.how-send.how-hit::after { border-radius: 50%; }
@keyframes how-ping { from { opacity: .8; } to { opacity: 0; transform: scale(1.05, 1.22); } }
.howto-form { margin: 10px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--fg2); font: 400 1rem/1.5 var(--sans); white-space: pre-wrap; }
.howto b { color: var(--fg); font-weight: 600; }
.howto a { color: var(--fg); }
.draft { margin-bottom: 24px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 10px; color: var(--pale) !important; font-size: 1rem; }
.welcome { position: relative; z-index: 1; display: grid; place-items: center; min-height: calc(100vh - 66px); min-height: calc(100svh - 66px); padding: 48px var(--gutter-r) 48px var(--gutter-l); }
.welcome-card { display: grid; justify-items: center; gap: 12px; width: 100%; max-width: 560px; padding: 36px clamp(20px, 5vw, 40px); text-align: center; }
.welcome-card h1 { font: 800 clamp(2.1rem, 6vw, 3rem)/1.1 var(--head); }
.welcome-card p { color: var(--fg2); }

/* Без WebGL */
.no-webgl .aurora { display: none; }
.no-webgl .hero, .no-webgl .final, .no-webgl .welcome { background: radial-gradient(46% 40% at 28% 36%, rgba(120, 120, 126, .4), transparent 70%), radial-gradient(46% 40% at 74% 62%, rgba(72, 72, 78, .5), transparent 70%), #000; }

@media (max-width: 960px) {
  .tiles, .year { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .includes { grid-column: 1 / -1; padding: 6px 2px; }
  .people, .faq-wrap, .phone-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .duo, .steps, .tiles { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 16px; }
  .head-mid { margin-inline: 0; justify-items: start; text-align: left; }
  .head-mid p { font-size: 1.0625rem; }
  .tree { --reach: 34px; --s: 24px; --pad: 9px; --name: 1.625rem; }
  .tree-x { width: 48px; height: 48px; margin-inline: 0; }
  .branches { grid-template-columns: minmax(0, 1fr); padding-left: calc(var(--s) + var(--reach)); }
  .branches::before, .tree.is-live .branches::after { left: calc(var(--s) - 1px); }
  .branches > li:nth-child(n) { grid-column: 1; grid-row: auto; text-align: left; }
  .branches > li:nth-child(n) h3 { flex-direction: row; }
  .branches > li:nth-child(n)::before { right: auto; left: calc(-1px - var(--reach)); border-width: 0 0 2px 2px; border-radius: 0 0 0 var(--r); }
  .tree-note { text-align: left; }
  .tree-join { justify-items: start; margin-inline: 0; text-align: left; }
  .tree-join-btns { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .brand-word { font-size: .95rem; }
  .wa-float { right: 16px; width: 56px; height: 56px; }
  .page .how-step { grid-template-columns: minmax(0, 1fr); }
  .how-phone { justify-self: center; }
  .back-float { left: 16px; }
  .chat { grid-template-columns: minmax(0, 1fr); }
  .chat-side { display: none; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .year { gap: 28px 20px; --week: 3px; --month: 13px; --bar: 156px; }
  .hero { padding-top: 40px; padding-bottom: 96px; }
  .nav-in { gap: 10px; }
  .brand-word { white-space: nowrap; }
  .nav .btn { padding-inline: 11px; letter-spacing: .04em; }
  .btn-lg { padding-inline: 22px; font-size: .9375rem; letter-spacing: .05em; }
}
@media (max-width: 380px) {
  .plan { padding: 22px 20px; }
  .plan .btn { padding-inline: 12px; font-size: .875rem; letter-spacing: .04em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave i, .wa-float::before, .wa-float::after, .how-hit::after { animation: none; }
  .tile::after { display: none; }
  .ph-view, .ph-new { transition: none; }
  .btn, .faq summary::after, .faq summary::before { transition: none; }
}
