/* Tilerow — один файл стилів для всього сайту */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(/fonts/PlusJakartaSans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(/fonts/PlusJakartaSans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* У Plus Jakarta Sans немає звичайної кирилиці — для українських заголовків Manrope */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(/fonts/Manrope-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --paper: #F6F4EF; --card: #FFFFFF; --ink: #18181B; --muted: #52525B; --line: #E4E1D8; --soft: #EEEBE3;
  --accent: #18181B; --radius: 24px;
  --head: "Plus Jakarta Sans", "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #111215; --card: #1B1C21; --ink: #F4F4F5; --muted: #A1A1AA; --line: #2A2B31; --soft: #22232A; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, .brand { font-family: var(--head); letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(32px, 6vw, 56px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.section { padding: 56px 0; }
.section > .wrap > h2 { margin-bottom: 24px; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 15px; color: var(--muted); white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); background: var(--soft); }
.lang { text-decoration: none; padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid var(--line); }
.lang:hover { background: var(--soft); }
@media (max-width: 760px) {
  .top .wrap { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 6px; gap: 6px; }
  .lang { margin-left: auto; }
  .nav { order: 3; width: calc(100% + 16px); margin: 0 -8px; justify-content: space-between; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: 14px; padding: 6px 5px; }
}

/* Головна */
.hero { padding: 56px 0 24px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 260px; gap: 40px; align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lead { font-size: 20px; color: var(--muted); margin-top: 18px; max-width: 40ch; }
.hero .tiles { width: 260px; height: 260px; border-radius: 48px; }
@media (max-width: 760px) {
  .hero { padding-top: 28px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 20px; }
  .hero .tiles { width: 140px; height: 140px; border-radius: 32px; order: -1; }
}

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 6px; position: relative; }
.card .icon { width: 64px; height: 64px; border-radius: 15px; margin-bottom: 10px; box-shadow: 0 1px 2px rgb(0 0 0 / .12); }
.cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--app, var(--muted)); }
.card h3 { font-size: 22px; }
.card .line { color: var(--muted); margin: 0 0 14px; flex: 1; }
.card .acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.card::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--app); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 16px;
  border-radius: 999px; font: 600 15px/1 var(--body); text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.btn.buy { background: var(--app, var(--ink)); color: #fff; }
.btn.buy:hover { filter: brightness(1.08); }
.btn.ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn.ghost:hover { background: var(--soft); }
.btn.soon { background: var(--soft); color: var(--muted); cursor: default; }
.btn.big { min-height: 52px; padding: 0 24px; font-size: 17px; }

.promise { border-block: 1px solid var(--line); }
.promise ul { list-style: none; margin: 0; padding: 22px 0; display: flex; justify-content: center; gap: 12px 40px; flex-wrap: wrap;
  font: 700 18px/1.3 var(--head); }
.promise li::before { content: "✕ "; color: var(--muted); font-weight: 600; }

.log { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.log li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.log a { text-decoration: none; } .log a:hover { text-decoration: underline; }
.log time { color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.log .dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--app); margin-right: 8px; }
@media (max-width: 560px) { .log li { grid-template-columns: 1fr; gap: 2px; } }

.notes-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.note-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none;
  display: flex; flex-direction: column; gap: 8px; }
.note-card:hover { border-color: var(--app); }
.note-card h3 { font-size: 20px; }
.note-card p { color: var(--muted); margin: 0; font-size: 16px; }
.note-card .meta { margin-top: auto; padding-top: 8px; font-size: 14px; color: var(--muted); }

/* Сторінка програми */
.app-hero { padding: 48px 0 24px; }
.app-hero .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.app-hero .icon { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 18px; box-shadow: 0 2px 6px rgb(0 0 0 / .12); }
.app-hero .lead { font-size: 20px; color: var(--muted); max-width: 46ch; margin: 14px 0 22px; }
.app-hero .acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.app-hero .small { font-size: 14px; color: var(--muted); margin-top: 12px; }
.qr { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; width: 200px; text-align: center; font-size: 13px; color: var(--muted); }
.qr img { width: 168px; height: 168px; margin: 0 auto 8px; border-radius: 8px; }
@media (max-width: 860px), (pointer: coarse) { .qr { display: none; } .app-hero .wrap { grid-template-columns: 1fr; } }

.clips { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: flex-start; }
.clip { margin: 8px 0 32px; flex: 0 1 300px; }
.clip h2 { margin-bottom: 12px; }
.clip video { display: block; width: 100%; max-width: 300px; height: auto; border-radius: 20px; background: var(--soft); }
.clip .fine { font-size: 14px; color: var(--muted); margin-top: 10px; max-width: 60ch; }
.clip .fine a { color: inherit; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shots figure { margin: 0; }
.shots img { border-radius: 20px; background: var(--soft); aspect-ratio: 1206 / 2622; width: 100%; height: auto; object-fit: cover; }
.shots figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
@media (max-width: 700px) {
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 6px; }
  .shots figure { flex: 0 0 68%; scroll-snap-align: center; }
}
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.benefit .n { font: 800 14px/1 var(--head); color: var(--app); margin-bottom: 12px; }
.benefit p { color: var(--muted); margin: 8px 0 0; }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; } }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); }
.links-row { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; color: var(--muted); margin-top: 18px; }

.mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.mini a { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px; text-decoration: none; }
.mini a:hover { border-color: var(--app); }
.mini img { width: 44px; height: 44px; border-radius: 10px; }
.mini b { font-family: var(--head); display: block; }
.mini span { color: var(--muted); font-size: 14px; line-height: 1.35; display: block; }

/* Статті */
.article { padding: 40px 0 24px; }
.article .kicker { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.article .kicker a { color: var(--app); font-weight: 600; text-decoration: none; }
.article h1 { font-size: clamp(30px, 5vw, 46px); }
.article .also { font-size: 14px; color: var(--muted); margin: -12px 0 24px; }
.article .also a { color: var(--app); }
.article .dek { font-size: 20px; color: var(--muted); margin: 16px 0 28px; }
.prose h2 { font-size: 26px; margin: 36px 0 12px; }
.prose h3 { margin: 24px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 28px; }
.prose .box > h2:first-child { margin-top: 0; font-size: 20px; }
.prose .check { list-style: none; padding: 0; margin: 0; }
.prose .check li { padding-left: 32px; position: relative; margin-bottom: 10px; }
.prose .check li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border: 2px solid var(--app); border-radius: 6px; }
.table-wrap { overflow-x: auto; margin: 0 -4px 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
@media (max-width: 560px) { .prose table { font-size: 14px; } .prose th, .prose td { padding: 8px 6px; } .prose .box { padding: 18px 16px; } }
.prose .fine { font-size: 14px; color: var(--muted); }
.prose blockquote { margin: 0 0 1em; padding: 4px 0 4px 18px; border-left: 3px solid var(--app); color: var(--muted); }

.app-card { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; background: var(--card);
  border: 2px solid var(--app); border-radius: var(--radius); padding: 22px; margin: 40px 0 8px; }
.app-card img { width: 72px; height: 72px; border-radius: 17px; }
.app-card .cat { margin-bottom: 2px; }
.app-card h3 { font-size: 22px; }
.app-card p { margin: 4px 0 12px; color: var(--muted); }
.app-card .acts { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 520px) { .app-card { grid-template-columns: 1fr; } }

/* Правила, підтримка */
.rules { counter-reset: r; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.rules li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px 72px; position: relative; }
.rules li::before { counter-increment: r; content: counter(r); position: absolute; left: 22px; top: 20px; width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); color: var(--paper); font: 800 17px/34px var(--head); text-align: center; }
.rules h3 { margin-bottom: 6px; }
.rules p { margin: 0; color: var(--muted); }
.contacts { width: 100%; border-collapse: collapse; font-size: 16px; }
.contacts td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.contacts img { width: 32px; height: 32px; border-radius: 8px; }
.contacts td:first-child { width: 44px; }
.contacts a { word-break: break-all; }

/* Підвал */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; margin-top: 40px; font-size: 15px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot b { color: var(--ink); font-family: var(--head); }

/* ---------- рух на всьому сайті ---------- */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.3, .9, .25, 1); }
::view-transition-old(root) { animation: vt-out .28s ease both; }
::view-transition-new(root) { animation: vt-in .46s .06s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
.top .nav a[aria-current] { view-transition-name: nav-pill; }
.app-hero .icon { view-transition-name: app-icon; }

/* Кнопки: плитка, яку можна натиснути, по ній пробігає світло */
.btn, .nav a, .lang { transition: transform .18s cubic-bezier(.3, 1.4, .5, 1), background-color .25s, color .25s, border-color .25s, box-shadow .18s; }
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn:not(.soon)::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / .34) 50%, transparent 70%); transform: translateX(-110%); }
.btn.buy { box-shadow: 0 3px 0 color-mix(in srgb, var(--app, var(--ink)) 68%, #000); }
.btn.ghost { box-shadow: 0 2px 0 var(--line); }
@media (hover: hover) {
  .btn:not(.soon):hover { transform: translateY(-1px); }
  .btn:not(.soon):hover::after { transform: translateX(110%); transition: transform .75s cubic-bezier(.3, .6, .3, 1); }
  .card:hover, .note-card:hover, .mini a:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -18px rgb(0 0 0 / .35); }
}
.btn:not(.soon):active { transform: translateY(2px) scale(.985); box-shadow: 0 1px 0 color-mix(in srgb, var(--app, var(--ink)) 68%, #000); }
.nav a:active, .lang:active { transform: scale(.95); }
.card, .note-card, .mini a { transition: transform .32s cubic-bezier(.2, .8, .2, 1), box-shadow .32s, border-color .25s; }
.card:active, .note-card:active, .mini a:active { transform: scale(.985); }
.faq details { transition: border-color .25s; }
.faq details[open] { border-color: var(--muted); }
.faq details[open] > p { animation: rise .4s cubic-bezier(.2, .8, .2, 1) both; }

/* Сторінки: блоки м'яко піднімаються, коли з'являються на екрані */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@supports (animation-timeline: view()) {
  .card, .note-card, .benefit, .rules li, .mini a, .faq details, .log li, .shots figure, .prose > h2, .contacts tr {
    animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 42%; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .btn::after { display: none; }
  .card, .note-card, .benefit, .rules li, .mini a, .faq details, .log li, .shots figure, .prose > h2, .contacts tr { animation: none; }
  .btn, .card, .note-card, .mini a, .nav a, .lang { transition: none; }
}

/* ---------- історія на головній ---------- */
.home .story { position: relative; z-index: 1; }
.beat { position: relative; color: #F6F4EF; background: var(--still, #111); }
.beat .inner { padding: 40px 20px; max-width: 1120px; margin: 0 auto; }
.beat .eyebrow { display: flex; align-items: center; gap: 10px; font: 700 15px/1.3 var(--head); margin: 0 0 14px; opacity: .85; }
.beat .ico { width: 36px; height: 36px; border-radius: 9px; }
.beat h1, .beat h2 { font-size: clamp(30px, 5.2vw, 54px); font-weight: 800; line-height: 1.1; text-wrap: balance; }
.beat .sub { font-size: clamp(18px, 2vw, 21px); line-height: 1.45; margin: 16px 0 0; max-width: 34ch; color: var(--stage-muted, inherit); text-wrap: pretty; }
.beat .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.beat .btn.ghost { color: inherit; border-color: color-mix(in srgb, currentColor 35%, transparent); box-shadow: none; }
.beat .btn.ghost:hover { background: rgb(255 255 255 / .1); }
.beat .more { display: inline-block; margin-top: 14px; font-size: 15px; color: inherit; opacity: .8; text-underline-offset: 3px; }
.beat .more:hover { opacity: 1; }
.hero-apps { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
.hero-apps a { display: flex; flex-direction: column; align-items: center; gap: 7px; font: 700 13px/1.2 var(--head); color: inherit; text-decoration: none; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.hero-apps a:hover { transform: translateY(-3px); }
.hero-apps a:active { transform: scale(.94); }
.hero-apps img { width: 52px; height: 52px; border-radius: 12px; box-shadow: 0 8px 18px -8px rgb(0 0 0 / .4); }
.beat .skip { display: inline-block; margin-top: 18px; font-size: 15px; color: inherit; opacity: .7; text-underline-offset: 3px; }
.beat .phone { width: min(62vw, 300px); height: auto; border: 8px solid #0B0B0D; border-radius: 40px; background: #0B0B0D; margin: 28px auto 0; box-shadow: 0 30px 70px -22px rgb(0 0 0 / .75), 0 0 0 1px rgb(255 255 255 / .1); }
.beat .hint { display: none; }
/* Без анімації (зменшений рух або немає JS): звичайні кольорові блоки */
.beat.hello, .beat.final { --still: var(--paper); color: var(--ink); }
.beat[data-tone^="sky"] { --still: #0B1A33; }
.beat[data-tone^="fire"] { --still: #170C08; }
.beat[data-tone^="care"] { --still: #0D2B29; }

html.anim .home .stage { position: fixed; inset: 0; width: 100vw; height: 100lvh; z-index: 0; pointer-events: none; display: block; }
html.anim .home .stage-glow { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
html:not(.anim) .stage, html:not(.anim) .stage-glow { display: none; }
html.anim .home { transition: none; }
html.anim .home .top { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--stage-ink, var(--ink)); transition: background-color .3s, color .4s; }
html.anim .home .top .nav a, html.anim .home .top .lang { color: inherit; border-color: color-mix(in srgb, currentColor 25%, transparent); }
html.anim .home .top .nav a:hover, html.anim .home .top .nav a[aria-current] { background: color-mix(in srgb, currentColor 13%, transparent); }
html.anim .home .top .brand img { border-radius: 9px; }
html.anim .home .top.past { background: color-mix(in srgb, var(--paper) 88%, transparent); border-color: var(--line); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); color: var(--ink); }
html.anim .home main { position: relative; }
html.anim .home .after { position: relative; z-index: 2; background: var(--paper); }
html.anim .home .foot { position: relative; z-index: 2; background: var(--paper); margin-top: 0; }

html.anim .beat { background: transparent; height: 145vh; height: 145lvh; color: var(--stage-ink, #F6F4EF); }
html.anim .beat .inner { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; padding: 112px 20px 0; max-width: none; }
html.anim .beat .txt { max-width: 1120px; margin: 0 auto; will-change: opacity, transform; }
html.anim .beat .phone { will-change: opacity, transform; transform-origin: 50% 40%; display: block; }
html.anim .beat .hint { display: block; position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: 1; color: var(--stage-muted, currentColor); animation: hint 2.6s ease-in-out infinite; }
@keyframes hint { 50% { translate: 0 5px; } }
html.anim .beat.hello .txt h1 { max-width: 15ch; }
@media (max-width: 759px) {
  html.anim .beat h1, html.anim .beat h2 { font-size: clamp(27px, 7.6vw, 34px); }
  html.anim .beat .inner { padding-top: 104px; }
  html.anim .beat .phone { width: min(58vw, 33svh); margin-top: 18px; border-width: 5px; border-radius: 26px; }
  html.anim .beat .sub { font-size: 17px; margin-top: 12px; }
  html.anim .beat .acts { margin-top: 14px; }
  html.anim .beat .acts .btn { min-height: 40px; }
  html.anim .beat .more { margin-top: 10px; font-size: 14px; }
  html.anim .beat.solve .eyebrow { margin-bottom: 8px; }
}
@media (min-width: 760px) {
  html.anim .beat .inner { display: flex; flex-direction: column; justify-content: flex-start; padding-top: 16vh; }
  html.anim .beat .txt { width: 100%; }
  html.anim .beat .txt > * { max-width: 620px; }
  html.anim .beat.hello .inner { justify-content: center; padding-top: 40px; }
  html.anim .beat.hello .txt h1 { max-width: 13ch; font-size: clamp(36px, 4.6vw, 56px); }
  html.anim .beat.final .txt h2 { max-width: 13ch; }
  html.anim .beat.final .inner { justify-content: center; padding-top: 40px; }
  html.anim .beat.solve .inner { justify-content: center; padding-top: 40px; }
  html.anim .beat.solve .txt > * { max-width: 46%; }
  html.anim .beat .phone { position: absolute; right: max(6vw, calc((100vw - 1120px) / 2 + 30px)); top: 50%; margin: -44vh 0 0; box-sizing: content-box; height: calc(88vh - 22px); width: auto; aspect-ratio: 1206 / 2622; border-width: 11px; border-radius: 58px; }
}
html.anim .final .sub { margin-top: 14px; }
@media (max-width: 759px) { .beat .btn.buy { box-shadow: 0 2px 0 color-mix(in srgb, var(--app, var(--ink)) 68%, #000); } }

/* ---------- кнопка музики ---------- */
.music { position: fixed; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 30; display: flex; flex-direction: row-reverse; align-items: center; gap: 8px; max-width: calc(100vw - 28px); font: 600 14px/1 var(--body); }
.music button { font: inherit; cursor: pointer; border: 1px solid rgb(255 255 255 / .22); color: #F6F4EF; background: rgb(24 24 27 / .72); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border-radius: 999px; min-height: 40px; padding: 0 14px; white-space: nowrap; transition: transform .18s cubic-bezier(.3, 1.4, .5, 1), background-color .25s; }
.music button:active { transform: scale(.95); }
.m-main { display: flex; align-items: center; gap: 8px; flex: none; }
.m-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.m-bars i { width: 3px; height: 4px; background: currentColor; border-radius: 2px; }
.music.on .m-bars i { animation: bars 1.05s ease-in-out infinite alternate; }
.music.on .m-bars i:nth-child(2) { animation-delay: -.4s; } .music.on .m-bars i:nth-child(3) { animation-delay: -.75s; }
@keyframes bars { to { height: 14px; } }
.music.waiting .m-main { animation: m-call 3.3s ease-in-out infinite; }
@keyframes m-call { 50% { box-shadow: 0 0 0 5px rgb(242 164 60 / .28); } }
.m-list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; opacity: 0; transform: translateX(14px) scale(.97); transform-origin: right center; pointer-events: none; visibility: hidden; transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1), visibility .3s; }
.m-list::-webkit-scrollbar { display: none; }
.music.open .m-list { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.m-list button { padding: 0 11px; }
.m-list button[aria-current="true"] { background: #F2A43C; border-color: #F2A43C; color: #18181B; }
.m-off { opacity: .8; }
@media (max-width: 480px) { .music.open .m-main .m-name { display: none; } .m-list button { padding: 0 9px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .music.on .m-bars i { animation: none; height: 9px; } .music.waiting .m-main { animation: none; } }

/* ---------- розділ «Замовити» ---------- */
.work-hero { padding: 48px 0 16px; }
.work-hero .wrap { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center; }
.work-hero .eyebrow { font: 700 15px/1.3 var(--head); color: var(--muted); margin: 0 0 12px; }
.work-hero h1 { max-width: 16ch; }
.work-hero .lead { font-size: 20px; color: var(--muted); margin: 18px 0 24px; max-width: 42ch; }
.work-two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .work-hero { padding-top: 28px; } .work-hero .wrap { grid-template-columns: 1fr; gap: 20px; } .work-two { grid-template-columns: 1fr; } }
.tile-art { position: relative; width: 100%; aspect-ratio: 280 / 200; }
.work-art { display: block; width: 100%; height: auto; overflow: visible; }
.work-art .tile { transform-box: fill-box; transform-origin: center; animation: breathe 3.34s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.03); } }
/* П'ята плитка: прозоре скло, крізь яке видно колір сусідньої плитки */
.glass-glow { position: absolute; left: 56%; top: 16%; width: 42%; height: 68%; border-radius: 50%; filter: blur(22px); opacity: .55;
  background: conic-gradient(from 40deg, #F2A43C, #C9436A, #6A63C9, #1F7A8C, #6FAE7C, #F2A43C); animation: glow-turn 18s linear infinite; }
@keyframes glow-turn { to { rotate: 360deg; } }
.glass-shade { position: absolute; left: 59%; top: 74%; width: 34%; height: 9%; border-radius: 50%; background: rgb(24 24 27 / .2); filter: blur(9px); }
.glass { position: absolute; left: 55%; top: 29%; width: 36%; aspect-ratio: 100 / 76; perspective: 620px; }
.glass-spin { position: absolute; inset: 0; transform-style: preserve-3d; animation: glass-turn 11s cubic-bezier(.45, .05, .55, .95) infinite; }
@keyframes glass-turn { from { transform: rotateX(8deg) rotateY(-18deg); } to { transform: rotateX(8deg) rotateY(342deg); } }
.glass-spin svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.glass-body { position: absolute; inset: 0; clip-path: polygon(100.0% 50.0%, 99.4% 52.4%, 97.5% 56.6%, 94.4% 61.8%, 90.3% 67.7%, 85.3% 73.7%, 79.7% 79.7%, 73.7% 85.3%, 67.7% 90.3%, 61.8% 94.4%, 56.6% 97.5%, 52.4% 99.4%, 50.0% 100.0%, 47.6% 99.4%, 43.4% 97.5%, 38.2% 94.4%, 32.3% 90.3%, 26.3% 85.3%, 20.3% 79.7%, 14.7% 73.7%, 9.7% 67.7%, 5.6% 61.8%, 2.5% 56.6%, 0.6% 52.4%, 0.0% 50.0%, 0.6% 47.6%, 2.5% 43.4%, 5.6% 38.2%, 9.7% 32.3%, 14.7% 26.3%, 20.3% 20.3%, 26.3% 14.7%, 32.3% 9.7%, 38.2% 5.6%, 43.4% 2.5%, 47.6% 0.6%, 50.0% 0.0%, 52.4% 0.6%, 56.6% 2.5%, 61.8% 5.6%, 67.7% 9.7%, 73.7% 14.7%, 79.7% 20.3%, 85.3% 26.3%, 90.3% 32.3%, 94.4% 38.2%, 97.5% 43.4%, 99.4% 47.6%);
  -webkit-backdrop-filter: blur(7px) saturate(1.7) brightness(1.08); backdrop-filter: blur(7px) saturate(1.7) brightness(1.08);
  background: linear-gradient(135deg, rgb(255 255 255 / .62), rgb(255 255 255 / .1) 42%, rgb(255 255 255 / .06) 62%, rgb(255 255 255 / .38)); }
.glass-plus { stroke: #fff; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 1px 1.5px rgb(24 24 27 / .35)); }
.order { padding: 72px 0 40px; }
.order-cta { display: grid; grid-template-columns: minmax(280px, 440px) 1fr; gap: 48px; align-items: center; }
.order-cta h2 { font-size: clamp(30px, 4.6vw, 48px); margin-bottom: 14px; text-wrap: balance; }
.order-cta p { color: var(--muted); font-size: 19px; line-height: 1.5; margin: 0 0 22px; max-width: 44ch; }
.work-hero .tile-art { max-width: 340px; justify-self: end; }
@media (max-width: 760px) {
  .order { padding: 56px 0 24px; }
  .order-cta { grid-template-columns: 1fr; gap: 26px; }
  .order-cta .tile-art { max-width: 320px; }
  .work-hero .tile-art { max-width: 250px; justify-self: start; order: -1; }
}
@media (prefers-reduced-motion: reduce) { .work-art .tile, .glass-glow, .glass-spin { animation: none; } .glass-spin { transform: rotateX(8deg) rotateY(-18deg); } }
@media (max-width: 760px) { .top .nav a { font-size: 13px; padding: 6px 4px; } .top .nav { justify-content: space-between; } }

/* Кнопка каналу студії на YouTube у шапці */
.yt { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; padding: 6px 12px 6px 9px; border-radius: 999px;
  font-size: 14px; font-weight: 600; border: 1px solid var(--line); white-space: nowrap; }
.yt:hover { background: var(--soft); }
.yt svg { flex: none; }
.yt-short { display: none; }
@media (max-width: 1180px) { .yt-long { display: none; } .yt-short { display: inline; } }
@media (max-width: 760px) { .yt { margin-left: auto; padding: 5px 10px 5px 8px; font-size: 13px; } .yt + .lang { margin-left: 0; } }
html.anim .home .top .yt { color: inherit; border-color: color-mix(in srgb, currentColor 25%, transparent); }
html.anim .home .top .yt:hover { background: color-mix(in srgb, currentColor 13%, transparent); }
