/* myTably — лендинг у стилі Instagram @mytably_ (тестовий варіант) */
:root {
  --bg: #F6F5F1;          /* ледь кремове тло */
  --surface: #FDFDFB;     /* картки */
  --ink: #0D0D10;
  --ink-2: #3A3A44;       /* 10.3:1 на --bg */
  --muted: #5E5E69;       /* 5.6:1 на --bg, 5.2:1 на лаймі */
  --lime: #D4F95B;
  --violet: #6B3DFF;      /* білий на ньому 5.6:1 */
  --violet-text: #5528F0;
  --red: #FF3D5A;
  --line: rgba(13,13,16,.12);
  --grid: rgba(13,13,16,.07);
  --on-ink: #F2EEE6;
  --wrap: 1240px;
  --g: 16px;
  --display: "Geologica", "Golos Text", system-ui, sans-serif;
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --r: 18px;
  --rb: 12px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141416; --surface: #1D1D21; --ink: #F2EEE6; --ink-2: #CFCBC2; --muted: #A9A6A0;
    --violet-text: #A88FFF; --line: rgba(242,238,230,.14); --grid: rgba(242,238,230,.06); --on-ink: #0D0D10;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html { background: var(--bg); }
body { margin: 0; background: transparent; }
html, body { color: var(--ink); overflow-x: clip; }
/* сітка, як у блокноті (як на слайдах); повільно пливе — окремим шаром, лише transform */
body::before { content: ""; position: fixed; inset: -48px; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px; animation: grid-drift 24s linear infinite; }
@keyframes grid-drift { to { transform: translate(48px, 48px); } }
body { font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--violet-text); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--g); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

/* --- головний прийом: лаймовий маркер --- */
/* маркер лежить під текстом сусідніх рядків (z-index:-1 всередині заголовка), верх трохи зрізаний */
h1, h2 { isolation: isolate; }
.hl {
  position: relative; z-index: -1;
  background: linear-gradient(transparent 10%, var(--lime) 10%); color: #0D0D10;
  padding: 0 .12em; margin: 0 -.04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* --- плашка-рубрика, як у постах --- */
.chip {
  display: inline-block; background: #0D0D10; color: var(--lime);
  font: 700 13px/1 var(--font); padding: 8px 12px; border-radius: 6px;
}
.chip-sm { font-size: 12px; padding: 6px 10px; }
.chip-lime { background: var(--lime); color: #0D0D10; }
@media (prefers-color-scheme: dark) { .chip { box-shadow: 0 0 0 1px rgba(242,238,230,.18); } }

/* --- кнопки --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: var(--rb); border: 0;
  font: 600 17px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-lime { background: var(--lime); color: #0D0D10; }
/* головна дія: фіолетова з жорсткою чорною тінню, як плашки на слайдах — помітна на світлому тлі */
.btn-cta { background: var(--violet); color: #fff; border: 2px solid #0D0D10; box-shadow: 4px 4px 0 #0D0D10; }
.btn-cta:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #0D0D10; }
.btn-cta:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #0D0D10; }
.btn-lime { border: 2px solid #0D0D10; box-shadow: 4px 4px 0 var(--violet); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--violet); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: 10px; box-shadow: 3px 3px 0 #0D0D10; }

/* --- шапка --- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 21px/1 var(--display); letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.nav { display: none; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font: 500 15px/1 var(--font); }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.top-cta { margin-left: auto; }
.menu-btn { font: 600 15px/1 var(--font); color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 10px; height: 42px; padding: 0 14px; cursor: pointer; }
@media (min-width: 960px) {
  .nav { display: flex; }
  .top-cta { margin-left: 8px; }
  .menu-btn { display: none; }
}
@media (max-width: 600px) { .top-cta { display: none; } .menu-btn { margin-left: auto; } }

.menu { position: fixed; inset: 0; z-index: 50; background: var(--bg); padding: 0 var(--g) 32px; display: flex; flex-direction: column; }
.menu[hidden] { display: none; }
.menu-head { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.menu-close { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; padding: 10px; }
.menu-list { display: flex; flex-direction: column; margin-top: 16px; }
.menu-list a { font: 800 clamp(36px, 10vw, 56px)/1.1 var(--display); letter-spacing: -.03em; color: var(--ink); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu-cta { margin-top: auto; }
.menu-open, .menu-open body { overflow: hidden; }

/* --- секції --- */
.sec { padding: 72px 0 0; }
.sec h2 { font-size: clamp(34px, 8.6vw, 64px); line-height: 1.02; margin: 16px 0 0; }
.card { background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .sec { padding-top: 120px; }
  .split { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  .split.rev > :first-child { order: 2; }
}

/* футер-лінія, як на слайдах */
.slide-foot { display: flex; justify-content: space-between; border-top: 1.5px solid var(--ink); margin-top: 56px; padding-top: 12px; font: 700 14px/1 var(--font); }
.slide-foot span:first-child { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; }

/* --- перший екран --- */
.hero { padding: 28px 0 0; }
.hero-grid { display: grid; gap: 40px; }
.hero h1 { font-size: clamp(40px, 11.2vw, 84px); line-height: .98; margin: 18px 0 0; }
.lead { font-size: clamp(18px, 4.6vw, 21px); color: var(--ink-2); margin-top: 20px; max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.cta-note { font: 600 15px/1.3 var(--font); color: var(--ink); }
.cta-note::before { content: ""; display: inline-block; width: 9px; height: 9px; background: var(--violet); margin-right: 8px; vertical-align: 1px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; font-weight: 500; color: var(--ink-2); }
.ticks li::before { content: "✓"; flex: none; width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--lime); color: #0D0D10; font-size: 12px; font-weight: 700; transform: translateY(3px); }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; max-width: 460px; }
.kpi { border-top: 1.5px solid var(--ink); padding-top: 12px; }
.kpi b { display: block; font: 800 clamp(36px, 9vw, 48px)/1 var(--display); letter-spacing: -.03em; color: var(--violet); }
@media (prefers-color-scheme: dark) { .kpi b { color: #A88FFF; } }
.kpi span { display: block; font-size: 14px; line-height: 1.35; color: var(--ink-2); margin-top: 6px; }
@media (min-width: 960px) {
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
}

/* сцена: фіолетова панель з чорною тінню, як на слайдах */
.stage { position: relative; display: grid; place-items: center; padding: 28px 0 8px; }
.panel { position: absolute; inset: 8% 6% 16% 6%; background: var(--lime); border: 3px solid #0D0D10; box-shadow: 14px 14px 0 #0D0D10; }
.stage-sm .panel { inset: 10% 4% 6% 4%; }
.phone { position: relative; width: min(320px, 86vw); border-radius: 46px; background: #0D0D10; padding: 10px; box-shadow: 0 30px 60px -20px rgba(13,13,16,.45); }
.demo-hint { position: relative; margin-top: 18px; font: 600 14px/1 var(--font); color: var(--muted); }

/* рядок рубрик */
.rubrics { list-style: none; padding: 0; margin: 56px 0 0; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.rubrics li { background: #0D0D10; color: #fff; font: 700 13px/1 var(--font); padding: 9px 12px; border-radius: 6px; }
.rubrics li:nth-child(2) { background: var(--lime); color: #0D0D10; }
@media (prefers-color-scheme: dark) { .rubrics li { box-shadow: 0 0 0 1px rgba(242,238,230,.18); } }

/* --- знайомо? --- */
.pain .manifesto { font-size: clamp(30px, 7.4vw, 60px); line-height: 1.05; margin-top: 18px; max-width: 22ch; text-wrap: pretty; }
.pains { display: grid; gap: 12px; margin-top: 40px; }
.pain-card { padding: 22px; }
.pain-card s { display: block; font: 800 22px/1.15 var(--display); letter-spacing: -.02em; text-decoration-color: var(--red); text-decoration-thickness: 3px; color: var(--ink); }
.pain-card p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
@media (min-width: 720px) { .pains { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pains { grid-template-columns: repeat(4, 1fr); } }

/* --- три кроки: фіолетові кружечки й лінії --- */
.steps { list-style: none; padding: 0; margin: 32px 0 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; font: 800 20px/1 var(--display); }
.steps h3 { font-size: 22px; line-height: 1.15; align-self: center; }
.steps p { color: var(--ink-2); margin-top: 4px; }

/* --- кабінет --- */
.day-list { list-style: none; padding: 0; margin: 28px 0 0; }
.day-list li { padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); }
.day-list li::before { content: ""; position: absolute; left: 0; top: 24px; width: 12px; height: 12px; background: var(--violet); }
.day-list b { color: var(--ink); font-weight: 600; }

/* --- можливості --- */
.bento { display: grid; gap: 12px; margin-top: 40px; }
.feature { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.feature .chip { align-self: flex-start; }
.feature h3 { font-size: 26px; line-height: 1.05; margin-top: 6px; }
.feature p { color: var(--ink-2); font-size: 15.5px; }
.f-lime { background: var(--lime); border-color: transparent; color: #0D0D10; }
.f-lime p { color: #2B2B33; }
.f-ink { background: #0D0D10; border-color: transparent; color: #F2EEE6; }
.f-ink p { color: #CFCBC2; }
@media (prefers-color-scheme: dark) { .f-ink { box-shadow: inset 0 0 0 1px rgba(242,238,230,.18); } }
@media (min-width: 600px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .bento { grid-template-columns: repeat(4, 1fr); } }

/* --- для кого --- */
.who { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.who li { display: inline-flex; align-items: center; min-height: 52px; padding: 0 20px; border-radius: 12px; font: 600 18px/1 var(--font);
  background: var(--surface); border: 1.5px solid var(--ink); color: var(--ink); }
.who li:has(a) { padding: 0; }
.who a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 20px; color: inherit; text-decoration: none; border-radius: 12px; }
.who a:hover { text-decoration: underline; text-decoration-color: var(--violet); text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* --- ціна --- */
.price { display: grid; gap: 32px; padding: 28px 22px; }
.price-copy p { margin-top: 18px; color: var(--ink-2); max-width: 52ch; }
.price .btn { margin-top: 28px; }
.price-tag { align-self: center; background: var(--bg); border-radius: var(--r); padding: 28px 24px; border: 1.5px solid var(--ink); }
.pt-cap { font: 700 14px/1 var(--font); color: var(--muted); }
.price-tag b { display: block; font: 800 clamp(60px, 17vw, 84px)/.95 var(--display); white-space: nowrap; letter-spacing: -.05em; color: var(--violet); margin-top: 12px; }
.price-tag b small { font-size: .32em; letter-spacing: -.01em; color: var(--ink); margin-left: 4px; }
@media (prefers-color-scheme: dark) { .price-tag b { color: #A88FFF; } }
.pt-stars { display: block; margin-top: 12px; font: 600 15px/1.2 var(--font); color: var(--ink-2); }
@media (min-width: 960px) { .price { grid-template-columns: 1.2fr .8fr; padding: 56px; gap: 56px; } }

/* --- FAQ --- */
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } .faq-wrap > :first-child { position: sticky; top: 100px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; cursor: pointer; font: 600 18px/1.3 var(--font); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 8px; background: #0D0D10; color: var(--lime); display: grid; place-items: center; font: 700 22px/1 var(--font); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lime); color: #0D0D10; }
.faq .a { padding: 0 48px 20px 0; color: var(--ink-2); }

/* --- фінал --- */
.outro { padding-bottom: 72px; }
.outro-card { background: #0D0D10; color: #F2EEE6; border-radius: var(--r); padding: 40px 22px; }
@media (prefers-color-scheme: dark) { .outro-card { box-shadow: inset 0 0 0 1px rgba(242,238,230,.18); } }
.outro-card h2 { color: #F2EEE6; font-size: clamp(40px, 11vw, 96px); line-height: .98; }
.outro-card .cta-note { color: #F2EEE6; }
.outro-card .btn:hover { box-shadow: 4px 4px 0 var(--violet); }
@media (min-width: 960px) { .outro { padding-bottom: 120px; } .outro-card { padding: 72px 64px; } }

/* --- футер --- */
.foot { padding: 0 0 40px; }
.foot-line { display: flex; justify-content: space-between; align-items: center; border-top: 1.5px solid var(--ink); padding-top: 14px; }
.foot-logo { font: 800 22px/1 var(--display); letter-spacing: -.03em; }
.foot-line a { color: var(--ink); text-decoration: none; font-weight: 700; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; margin-top: 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot nav a { color: var(--ink-2); font-size: 15px; text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink) !important; }
.social svg { width: 18px; height: 18px; }
.copy { margin-top: 24px; font-size: 13px; color: var(--muted); }

/* --- поява блоків: лише якщо JS додав клас --- */
.js-rv .rv { opacity: 0; transform: translateY(12px); transition: opacity .3s ease-out, transform .3s ease-out; }
.js-rv .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* справжні екрани застосунку в рамці телефона */
.phone.real { --k: .8; --rx: 0deg; --ry: 0deg; width: calc(390px * var(--k) + 20px); padding: 10px; border-radius: 52px;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease-out; will-change: transform; }
.phone.real > picture, .phone.real > .live, .phone.real > .poster { display: block; width: calc(390px * var(--k)); height: calc(844px * var(--k)); border-radius: 42px; overflow: hidden; }
.phone.real img { width: 100%; height: 100%; object-fit: cover; }
.phone.real > .live { border: 0; width: 390px; height: 844px; padding-top: 44px; transform: scale(var(--k)); transform-origin: 0 0; margin-bottom: calc(844px * (var(--k) - 1));
  margin-right: calc(390px * (var(--k) - 1)); border-radius: 52px; background: linear-gradient(90deg, rgb(229,233,218), rgb(223,220,239)); }
.phone.real .island { position: absolute; z-index: 3; top: 20px; left: 50%; transform: translateX(-50%); width: calc(120px * var(--k)); height: calc(34px * var(--k)); border-radius: 20px; background: #000; }
.phone.real .sb { position: absolute; z-index: 3; top: calc(10px + 15px * var(--k)); left: calc(10px + 36px * var(--k)); font: 600 calc(16px * var(--k))/1 -apple-system, "SF Pro Text", var(--font); color: #0D0D10; }
@media (max-width: 430px) { .phone.real { --k: .74; } .stage .panel { inset: 8% 2% 14% 2%; box-shadow: 8px 8px 0 #0D0D10; } }
@media (max-width: 370px) { .phone.real { --k: .7; } }

.hero, .sec { position: relative; }
.wrap { position: relative; z-index: 1; }

/* --- піксельні бʼюті-предмети (img/bt-*.png, 32×32): 3 px екрана на піксель, літають по секції позаду тексту й карток --- */
.bt { position: absolute; z-index: 0; pointer-events: none; width: 96px; height: 96px; image-rendering: pixelated;
  animation: fly-l 46s ease-in-out infinite; }
.bt.go-r { animation-name: fly-r; }
@keyframes fly-l {
  0%, 100% { transform: translate(0, 0) rotate(-8deg); }
  20% { transform: translate(-18vw, 60px) rotate(10deg); }
  42% { transform: translate(-48vw, -10px) rotate(-14deg); }
  60% { transform: translate(-66vw, 90px) rotate(8deg); }
  80% { transform: translate(-30vw, 130px) rotate(-6deg); }
}
@keyframes fly-r {
  0%, 100% { transform: translate(0, 0) rotate(8deg); }
  22% { transform: translate(20vw, 80px) rotate(-10deg); }
  45% { transform: translate(52vw, 10px) rotate(14deg); }
  65% { transform: translate(64vw, 120px) rotate(-8deg); }
  82% { transform: translate(28vw, 160px) rotate(6deg); }
}
.b2 { top: 40px; left: 2%; width: 80px; height: 80px; animation-duration: 52s; }
.b3 { top: 40px; right: 4%; width: 112px; height: 112px; animation-duration: 40s; animation-delay: -12s; }
.b4 { top: 24px; left: 4%; animation-duration: 48s; animation-delay: -6s; }
.b5 { top: 60px; right: 5%; width: 80px; height: 80px; animation-duration: 44s; animation-delay: -20s; }
.b6 { top: 30px; left: 6%; animation-duration: 50s; animation-delay: -30s; }
.b7 { top: 30px; right: 6%; width: 88px; height: 88px; animation-duration: 42s; animation-delay: -8s; }
@media (max-width: 700px) {
  .bt { width: 52px; height: 52px; }
  .b3 { width: 60px; height: 60px; } .b5 { width: 46px; height: 46px; } .b7 { width: 50px; height: 50px; }
  .b2 { top: auto; bottom: 30%; width: 48px; height: 48px; }
}

/* плашка-номер, як «02/05» на слайдах: лайм, чорна рамка й жорстка тінь */
.tag { display: inline-block; font: 700 14px/1 var(--mono); color: #0D0D10; background: var(--lime); border: 2px solid #0D0D10; box-shadow: 4px 4px 0 #0D0D10; padding: 7px 10px 6px; }
@media (prefers-color-scheme: dark) { .btn-cta, .btn-cta:hover { box-shadow: 4px 4px 0 rgba(242,238,230,.4); } .tag { box-shadow: 4px 4px 0 rgba(242,238,230,.35); } }

@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }

/* --- гортання й курсор --- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 30; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--violet); transform: scaleX(0); transform-origin: 0 50%; }
.trail { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
.tilt-btn { position: relative; margin-top: 10px; border: 2px solid #0D0D10; background: var(--lime); color: #0D0D10; font: 600 14px/1 var(--font);
  padding: 10px 14px; border-radius: 10px; box-shadow: 3px 3px 0 #0D0D10; cursor: pointer; }
.tilt-btn[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .phone.real { transform: none; } }
/* обкладинка демо до завантаження iframe: лежить поверх, поки той вантажиться */
.phone.real { position: relative; }
.phone.real > .poster { position: relative; padding: 0; border: 0; background: none; cursor: pointer; display: block; }
.phone.real > .live + .poster { position: absolute; left: 10px; top: 10px; }
.poster img { width: 100%; height: 100%; display: block; }
.poster.wait::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%;
  border: 3px solid rgba(107,61,255,.25); border-top-color: var(--violet); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== підсторінки (про нас, ніші, конфіденційність) ===== */
.prose { max-width: 820px; padding-top: 48px; padding-bottom: 72px; }
.prose h1 { font-size: clamp(36px, 9vw, 64px); line-height: 1.02; margin: 16px 0 0; }
.prose .lead { max-width: none; }
.prose h2 { font-size: clamp(24px, 5.6vw, 34px); line-height: 1.1; margin: 44px 0 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin: 14px 0 0; }
.prose ul { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--violet); }
.prose .cta-row { margin-top: 40px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.sec-head h2 { margin-top: 16px; }
.more { margin-top: 24px; color: var(--ink-2); }
.demo-note { position: relative; margin-top: 18px; font: 600 14px/1 var(--font); color: var(--muted); }

/* макет запису на сторінках ніш — у кольорах справжнього клієнтського застосунку */
.phone-3d { position: relative; }
.phone:not(.real) { position: relative; width: min(320px, 84vw); border-radius: 46px; background: #0D0D10; padding: 10px; box-shadow: 0 30px 60px -20px rgba(13,13,16,.45); }
.phone:not(.real) .screen { border-radius: 37px; background: linear-gradient(160deg, #EEF0E6, #E8E7EF 40%, #E3E1F0); color: #17151F; padding: 52px 14px 18px; }
.phone:not(.real)::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; border-radius: 20px; background: #000; z-index: 2; }
.m-strip { display: flex; gap: 10px; align-items: center; }
.m-ava { width: 40px; height: 40px; border-radius: 12px; background: #6A3DF8; color: #fff; display: grid; place-items: center; font: 800 15px/1 var(--display); }
.m-name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.m-sub { font-size: 12.5px; color: #5F5D6E; }
.m-h { font: 800 26px/1.1 var(--font); letter-spacing: -.02em; margin: 16px 0 10px; }
.m-tiles { display: grid; gap: 8px; }
.m-tile { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 12px 12px 14px; border-radius: 16px; background: #F5F4F9; border: 1.5px solid transparent; font-size: 14px; box-shadow: 0 1px 2px rgba(23,20,48,.04), 0 10px 28px -14px rgba(40,24,110,.18); }
.m-tile b { font-weight: 700; display: grid; gap: 2px; }
.m-tile small { font-weight: 500; font-size: 12px; color: #5F5D6E; }
.m-tile span { background: var(--lime); color: #0D0D10; font-weight: 800; font-size: 13px; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.m-tile.on { border-color: #6A3DF8; background: #ECE6FF; }
.m-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 14px; }
.m-day { display: grid; gap: 2px; text-align: center; padding: 8px 0; border-radius: 14px; background: #F5F4F9; font-size: 12px; color: #5F5D6E; }
.m-day b { font: 800 18px/1 var(--font); color: #17151F; }
.m-day.on { background: #6A3DF8; color: #E9E3FF; } .m-day.on b { color: #fff; }
.m-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.m-slot { text-align: center; padding: 10px 0; border-radius: 12px; background: #F5F4F9; font-weight: 700; font-size: 13px; }
.m-slot.off { background: transparent; color: #8C8A9C; text-decoration: line-through; font-weight: 500; }
.m-slot.on { background: #17151F; color: #fff; }
.m-btn { display: block; text-align: center; margin-top: 16px; padding: 15px 0; border-radius: 16px; background: #6A3DF8; color: #fff; font-weight: 700; font-size: 15px; }

