/* ==========================================================================
   Kazhy (Кажи) — лендинг. Темна піксельна естетика (референс: vibeisland.app).
   Майже чорний фон з dot-grid текстурою, піксельний Handjet для заголовків,
   один кораловий акцент з іконки, фотореалістичний мокап екрана з нотчем.
   ========================================================================== */

:root {
  /* Темна база */
  --bg: #0a0b0d;
  --bg-2: #0e1013;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.055);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #ededed;
  --text-dim: #9aa0a8;
  --text-mute: #6b7178;

  /* Акцент = крапка запису з іконки */
  --coral: #ff6b57;
  --coral-bright: #ff8571;
  --coral-soft: rgba(255, 107, 87, 0.13);

  /* Океан — для морського wallpaper у мокапі */
  --ocean-deep: #052a63;
  --ocean: #0a4a9e;
  --ocean-mid: #218fdb;
  --ocean-light: #6fc0f0;

  --font-pixel: "Handjet", "JetBrains Mono", monospace;
  --font-sans: "Inter", -apple-system, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --maxw: 1140px;
  --nav-h: 60px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* Ледь помітна dot-grid текстура на весь фон */
  background-image: radial-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 22px 22px;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.05; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Піксельні заголовки */
.pixel { font-family: var(--font-pixel); font-weight: 600; letter-spacing: 0.01em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--sp-10) 0; position: relative; }
@media (max-width: 720px) { .section { padding: var(--sp-9) 0; } }

/* Eyebrow у моно-стилі з кораловим маркером */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral);
  margin-bottom: var(--sp-5);
}
.eyebrow::before { content: "//"; opacity: 0.6; }

.section-head { max-width: 720px; margin-bottom: var(--sp-8); }
.section-head h2 { font-family: var(--font-pixel); font-weight: 600; font-size: clamp(34px, 5vw, 56px); letter-spacing: 0.01em; }
.section-head p { margin-top: var(--sp-4); color: var(--text-dim); font-size: 18px; line-height: 1.55; }

/* --- Кнопки ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: 13px 24px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn-primary { background: #fff; color: #0a0b0d; }
.btn-primary:hover { transform: translateY(-1px); background: #fff; opacity: 0.92; }
.btn-ghost { color: var(--text); border: 1px solid var(--border-strong); background: var(--surface); }
.btn-ghost:hover { border-color: #ffffff40; background: var(--surface-2); }
.btn svg { width: 17px; height: 17px; }
.btn-lg { padding: 15px 30px; font-size: 16.5px; }

.cta-note { margin-top: var(--sp-3); font-family: var(--font-mono); font-size: 13px; color: var(--text-mute); letter-spacing: 0.02em; }
.cta-note b { color: var(--coral); font-weight: 500; }

/* --- Navbar ------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 11, 13, 0.72); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--border-soft);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: var(--sp-3); }
.brand .mark { width: 26px; height: 26px; border-radius: 7px; }
.brand .name { font-family: var(--font-pixel); font-weight: 600; font-size: 21px; letter-spacing: 0.03em; }
.nav-links { display: flex; align-items: center; gap: var(--sp-6); }
.nav-links a:not(.nav-cta) { font-size: 14.5px; font-weight: 500; color: var(--text-dim); transition: color .15s; }
.nav-links a:not(.nav-cta):hover { color: var(--text); }
/* Компактна CTA під масштаб навбару: базовий .btn завеликий для хедера. */
.nav-cta { padding: 8px 16px; font-size: 14px; }
.nav-cta svg { width: 15px; height: 15px; }
@media (max-width: 760px) { .nav-links a:not(.nav-cta) { display: none; } }

/* --- Hero --------------------------------------------------------------- */
.hero { padding: calc(var(--nav-h) + var(--sp-9)) 0 0; position: relative; overflow: hidden; }
/* Світлові промені згори */
.hero::before {
  content: ""; position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 120%; height: 70%; z-index: 0; pointer-events: none;
  background: conic-gradient(from 180deg at 50% 0%, transparent 0deg, rgba(255,255,255,0.05) 20deg, transparent 40deg, transparent 320deg, rgba(255,255,255,0.05) 340deg, transparent 360deg);
  opacity: 0.7;
}
.hero::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 0%, var(--coral-soft), transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; text-align: center; }
.hero h1 {
  font-family: var(--font-pixel); font-weight: 600;
  font-size: clamp(44px, 8vw, 92px); line-height: 1.02; letter-spacing: 0.005em;
}
.hero h1 .accent { color: var(--coral); }
.hero-sub {
  max-width: 600px; margin: var(--sp-6) auto 0;
  font-size: clamp(17px, 2.2vw, 20px); color: var(--text-dim); line-height: 1.55;
}
.hero-sub b { color: var(--text); font-weight: 600; }
.chips { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--sp-2); margin: var(--sp-6) 0 0; }
.chip {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 8px 15px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13.5px; font-weight: 500; color: var(--text-dim);
}
.chip kbd { font-family: var(--font-mono); font-size: 12px; color: var(--text); padding: 1px 6px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--border); }
.chip.sep { border: none; background: none; color: var(--text-mute); padding: 0 2px; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); margin-top: var(--sp-7); }
.hero-cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); }

/* --- Мокап екрана з нотчем (placeholder під Remotion) ------------------- */
.stage { margin: var(--sp-9) auto 0; max-width: 940px; position: relative; padding-bottom: var(--sp-10); }
.screen {
  position: relative; border-radius: 20px 20px 8px 8px; overflow: hidden;
  border: 1px solid var(--border-strong); border-bottom: none;
  background: linear-gradient(160deg, #0f1830, #0a1526 60%, #081120);
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03);
  aspect-ratio: 16 / 10;
}
/* Жива анімація hero (рендер Remotion) заповнює екран мокапу */
.screen-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Морський wallpaper = бренд */
.screen .wall {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 90% at 20% 15%, rgba(33,143,219,0.5), transparent 55%),
    radial-gradient(70% 80% at 85% 30%, rgba(255,107,87,0.28), transparent 55%),
    linear-gradient(165deg, #0e3a72, #052247 70%);
}
.screen .wall::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(100deg, transparent 0 60px, rgba(255,255,255,0.02) 60px 61px);
}
.menubar {
  position: absolute; top: 0; left: 0; right: 0; height: 26px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; padding: 0 14px;
  font-family: var(--font-sans); font-size: 11px; color: rgba(255,255,255,0.72); font-weight: 500;
  background: rgba(0,0,0,0.25); backdrop-filter: blur(8px);
}
.menubar .left { display: flex; gap: 15px; align-items: center; }
.menubar .left .app { font-weight: 700; color: #fff; }
.menubar .right { font-variant-numeric: tabular-nums; }

/* Dynamic Island */
.island {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 5;
  display: flex; align-items: center; gap: 13px; height: 32px; padding: 0 15px;
  background: #000; border-radius: 19px; box-shadow: 0 8px 24px rgba(0,0,0,0.55), inset 0 0 0 0.5px rgba(255,255,255,0.12);
  color: #fff;
}
.island .rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.meter { display: flex; align-items: center; gap: 2.5px; height: 15px; }
.meter i { width: 2.5px; border-radius: 2px; background: rgba(255,255,255,0.85); height: 4px; }
.island .timer { font-family: var(--font-mono); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.island .x { font-size: 12px; color: rgba(255,255,255,0.5); }

/* Вікно застосунку у мокапі: показує вставлений текст */
.mockwin {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 74%; z-index: 3;
  background: rgba(16,18,22,0.92); border: 1px solid var(--border); border-bottom: none;
  border-radius: 12px 12px 0 0; backdrop-filter: blur(12px); overflow: hidden;
}
.mockwin .bar { display: flex; align-items: center; gap: 6px; padding: 10px 13px; border-bottom: 1px solid var(--border-soft); }
.mockwin .bar i { width: 10px; height: 10px; border-radius: 50%; background: #ffffff22; }
.mockwin .bar i:first-child { background: #ff5f57; } .mockwin .bar i:nth-child(2){ background:#febc2e; } .mockwin .bar i:nth-child(3){ background:#28c840; }
.mockwin .bar span { margin-left: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); }
.mockwin .body { padding: 18px 18px 26px; }
.mockwin .body p { font-size: 15px; color: #dfe3e8; line-height: 1.55; }
.mockwin .body .cursor { display: inline-block; width: 2px; height: 1.05em; background: var(--coral); vertical-align: text-bottom; margin-left: 1px; }

.stage-label {
  position: absolute; bottom: var(--sp-6); left: 50%; transform: translateX(-50%); z-index: 6;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border);
}
.stage-label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }

@media (prefers-reduced-motion: no-preference) {
  .rec-dot { animation: pulse-dot 1.6s ease-in-out infinite; }
  .meter i { animation: meter 1.1s ease-in-out infinite; }
  .meter i:nth-child(2){animation-delay:.1s} .meter i:nth-child(3){animation-delay:.2s}
  .meter i:nth-child(4){animation-delay:.15s} .meter i:nth-child(5){animation-delay:.28s}
  .meter i:nth-child(6){animation-delay:.06s} .meter i:nth-child(7){animation-delay:.32s}
  .mockwin .cursor { animation: blink 1.1s step-end infinite; }
}
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:.45} }
@keyframes meter { 0%,100%{height:4px} 50%{height:14px} }
@keyframes blink { 0%,50%{opacity:1} 51%,100%{opacity:0} }

/* --- Демо до/після ------------------------------------------------------ */
.tabs { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-6); }
.tab {
  padding: 9px 16px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 500;
  color: var(--text-dim); border: 1px solid var(--border); background: var(--surface); transition: all .15s ease;
}
.tab:hover { color: var(--text); border-color: var(--border-strong); }
.tab.active { background: #fff; color: #0a0b0d; border-color: #fff; }

.demo-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: var(--sp-4); }
@media (max-width: 820px) { .demo-grid { grid-template-columns: 1fr; } }
.demo-col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-6); }
.demo-col .tag { display: inline-flex; align-items: center; gap: var(--sp-2); font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--sp-4); color: var(--text-mute); }
.demo-col .tag .d { width: 6px; height: 6px; border-radius: 50%; }
.demo-col.before .tag .d { background: var(--text-mute); }
.demo-col.after .tag .d { background: var(--coral); }
.demo-col.after .tag { color: var(--coral); }
.demo-text { font-size: 16px; line-height: 1.65; }
.demo-col.before .demo-text { font-family: var(--font-mono); font-size: 14.5px; color: var(--text-dim); }
.demo-col.after .demo-text { color: var(--text); font-weight: 500; }
.demo-arrow { display: flex; align-items: center; justify-content: center; width: 52px; }
@media (max-width: 820px) { .demo-arrow { width: auto; transform: rotate(90deg); margin: -6px auto; } }
.demo-arrow .pill { width: 50px; height: 28px; border-radius: 15px; background: #000; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.demo-arrow .pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.demo-hint { margin-top: var(--sp-5); font-size: 14px; color: var(--text-mute); display: flex; align-items: flex-start; gap: var(--sp-2); max-width: 720px; }
.demo-hint svg { flex: none; margin-top: 2px; color: var(--text-mute); }

/* --- Як працює ---------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-6); }
.step .num { font-family: var(--font-pixel); font-weight: 700; font-size: 15px; color: var(--coral); margin-bottom: var(--sp-4); letter-spacing: 0.1em; }
.step h3 { font-family: var(--font-pixel); font-weight: 600; font-size: 22px; margin-bottom: var(--sp-2); }
.step p { color: var(--text-dim); font-size: 15.5px; }
.step p b { color: var(--text); font-weight: 600; }
/* Мікродемо станів острівця (рендер Remotion), фон збігається з секцією */
.how-demo { margin-top: var(--sp-7); display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); }
.island-video { width: 100%; max-width: 480px; aspect-ratio: 1000 / 640; display: block; }
.how-demo-cap { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-mute); letter-spacing: 0.02em; }

/* --- Приватність -------------------------------------------------------- */
.privacy { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--bg-2); }
.privacy h2 { font-family: var(--font-pixel); font-weight: 600; font-size: clamp(32px, 5vw, 52px); max-width: 640px; }
.privacy .lead { margin-top: var(--sp-5); max-width: 660px; font-size: 18px; color: var(--text-dim); line-height: 1.6; }
.privacy-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); margin-top: var(--sp-7); }
@media (max-width: 720px) { .privacy-cards { grid-template-columns: 1fr; } }
.pcard { padding: var(--sp-5); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.pcard .big { font-family: var(--font-pixel); font-size: 40px; font-weight: 700; color: #fff; line-height: 1; }
.pcard .lbl { margin-top: var(--sp-3); color: var(--text-dim); font-size: 14.5px; }

/* --- Працює всюди ------------------------------------------------------- */
.apps-grid { margin-top: var(--sp-6); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
@media (max-width: 760px) { .apps-grid { grid-template-columns: repeat(2, 1fr); } }
.apptile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-3); padding: var(--sp-6) var(--sp-3); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.apptile:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-2px); }
.apptile .lg { color: rgba(255, 255, 255, 0.82); display: grid; place-items: center; }
.apptile .lg svg { width: 30px; height: 30px; display: block; }
.apptile:hover .lg { color: #fff; }
.apptile .nm { font-size: 13.5px; font-weight: 500; color: var(--text-dim); }

/* --- Можливості --------------------------------------------------------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features-grid { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-6); transition: border-color .18s ease, background .18s ease; }
.feature:hover { border-color: var(--border-strong); background: var(--surface-2); }
.feature .fic { width: 40px; height: 40px; border-radius: 10px; margin-bottom: var(--sp-4); display: grid; place-items: center; background: var(--coral-soft); color: var(--coral); }
.feature .fic svg { width: 21px; height: 21px; }
.feature h3 { font-family: var(--font-pixel); font-weight: 600; font-size: 19px; margin-bottom: var(--sp-2); letter-spacing: 0.01em; }
.feature p { color: var(--text-dim); font-size: 15px; line-height: 1.55; }
.feature p code { font-family: var(--font-mono); font-size: 13px; color: var(--coral-bright); background: rgba(255,107,87,0.1); padding: 1px 5px; border-radius: 4px; }

/* --- Порівняння --------------------------------------------------------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 15px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border-soft); }
.compare thead th { font-family: var(--font-pixel); font-size: 16px; font-weight: 600; vertical-align: bottom; }
.compare thead th:first-child { color: var(--text-mute); }
.compare tbody th { font-weight: 500; color: var(--text-dim); font-size: 14.5px; }
.compare .us { background: var(--coral-soft); }
.compare thead .us { color: var(--coral); }
.compare .us-cell { font-weight: 600; color: var(--text); }
.compare td { color: var(--text-dim); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }
.compare .brand-cell { display: inline-flex; align-items: center; gap: var(--sp-2); }
.compare .brand-cell .mark { width: 22px; height: 22px; border-radius: 6px; }
.compare .logo-img { flex: none; width: 22px; height: 22px; border-radius: 6px; object-fit: cover; background: #fff; }
.compare-note { margin-top: var(--sp-5); font-size: 17px; color: var(--text); max-width: 720px; line-height: 1.55; }
.compare-note b { color: #fff; font-weight: 600; }
.compare-refs { margin-top: var(--sp-3); font-family: var(--font-mono); font-size: 12.5px; color: var(--text-mute); }
.compare-cta { margin-top: var(--sp-6); }

/* --- Від автора --------------------------------------------------------- */
.author-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-8); max-width: 760px; }
.author-card .quote { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.6; color: var(--text); }
.author-card .quote b { font-weight: 600; }
.author-sign { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-6); }
.author-sign .avatar { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--ocean-mid), var(--ocean-deep)); flex: none; }
.author-sign .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-sign .who b { display: block; font-weight: 600; font-size: 15.5px; }
.author-sign .who a { font-size: 13.5px; color: var(--coral); font-weight: 500; }

/* --- FAQ ---------------------------------------------------------------- */
#faq .section-head { text-align: center; }
.faq-list { max-width: 760px; margin-left: auto; margin-right: auto; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-5) 0; text-align: left; font-size: 17px; font-weight: 600; color: var(--text); }
.faq-q .ico { position: relative; flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--border); transition: background .2s, border-color .2s; }
.faq-q .ico::before, .faq-q .ico::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 2px; border-radius: 2px; background: var(--text-dim); transform: translate(-50%,-50%); transition: transform .25s ease, background .2s; }
.faq-q .ico::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item.open .faq-q .ico { background: var(--coral); border-color: var(--coral); }
.faq-item.open .faq-q .ico::before, .faq-item.open .faq-q .ico::after { background: #fff; }
.faq-item.open .faq-q .ico::after { transform: translate(-50%,-50%) rotate(0deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 0 var(--sp-5); color: var(--text-dim); font-size: 16px; line-height: 1.6; max-width: 720px; }
@media (prefers-reduced-motion: reduce) { .faq-a { transition: none; } }

/* --- Фінальний CTA ------------------------------------------------------ */
.final { text-align: center; position: relative; overflow: hidden; border-top: 1px solid var(--border-soft); }
.final::after { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(50% 60% at 50% 0%, var(--coral-soft), transparent 70%); z-index: 0; }
.final .wrap { position: relative; z-index: 1; }
.final h2 { font-family: var(--font-pixel); font-weight: 600; font-size: clamp(40px, 7vw, 84px); letter-spacing: 0.01em; }
.final h2 .accent { color: var(--coral); }
.final p { margin-top: var(--sp-4); font-size: 19px; color: var(--text-dim); }
.final .hero-cta { margin-top: var(--sp-7); }

/* --- Footer ------------------------------------------------------------- */
.footer { border-top: 1px solid var(--border-soft); padding: var(--sp-8) 0 var(--sp-6); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-7); }
.footer .tagline { margin-top: var(--sp-3); font-size: 14.5px; color: var(--text-mute); max-width: 280px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.footer-col h4 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-mute); margin: 0 0 var(--sp-3); font-weight: 500; }
.footer-col a { display: block; font-size: 14.5px; color: var(--text-dim); padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); padding-top: var(--sp-5); font-size: 13.5px; color: var(--text-mute); }
.footer-bottom a { color: var(--text-dim); font-weight: 500; }

/* --- Scroll reveal ------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
