/* ── Лендинг (index.html): головна й водночас сторінка входу ──
   Ідея — «креслення року». Уся сторінка стоїть на тих самих 12 колонках, що й дошка продукту:
   лінії-колонки проходять крізь героя та «Features» як лінійки, лінія «сьогодні» стоїть на
   справжній даті, замість іконок — справжні шматки інтерфейсу. Помаранчевий означає лише
   «зараз» і «прогрес»; ні свічень, ні нахилених макетів, ні скляних карток.
   Mobile-first: базові стилі — телефон, медіазапити лише вгору. Токени свої — лендинг не тягне
   стилі дашборда, — але з тими ж іменами, бо картка входу (css/auth.css) спільна.
   Анімації — transform/opacity (або малювання ліній) і всі вимикаються за prefers-reduced-motion. */

:root {
  --bg: #0b0b10;
  --surface: #14141c;
  --surface2: #1b1b25;
  --surface3: #262633;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);
  --text: #ecebe6;
  --text2: #b8b7b1;
  --muted: #8d8d9b;
  --accent: #f97316;
  --accent2: #fb923c;
  --accent-20: rgba(249, 115, 22, 0.2);
  --danger: #ef7d7d;
  --done: #6ec894;
  --yellow: #eab308;

  --line: rgba(236, 235, 230, 0.075);
  --line2: rgba(236, 235, 230, 0.16);
  --head: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 64px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  scrollbar-width: thin;
  scrollbar-color: #2a2a36 transparent;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { flex: 1; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(249, 115, 22, 0.32); color: var(--text); }

.lp-wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }

/* ── Шапка ── */

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
/* Прозора нагорі; коли під нею їде текст — суцільніша й з волосинкою, без розмитих плям */
.lp-nav.is-stuck {
  background: rgba(11, 11, 16, 0.84);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.lp-nav-in {
  width: min(100% - 2 * var(--gut), var(--max));
  height: var(--nav-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.lp-logo {
  font-family: var(--head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ff7a00;
  text-decoration: none;
}
/* Знак із підписом під ним — той самий, що в шапці дашборда (header.css): «Планер на рік» дрібними великими літерами
   на всю ширину знака (розрядку ставить Tagline, js/tagline.js — один код на обидві шапки). Під знаком підпис не
   забирає ширини, тож стоїть на будь-якій ширині; збоку, за рискою, він ховався на вузьких екранах */
.lp-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: none;
  text-decoration: none;
}
.lp-brand .lp-logo { line-height: 1; }
.lp-tag {
  font-size: 10px;
  line-height: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}
.lp-tag.tag-rules { display: flex; align-items: center; gap: 0.6em; }
.lp-tag.tag-rules::before,
.lp-tag.tag-rules::after { content: ''; flex: 1 1 0; height: 1px; background: currentColor; opacity: 0.45; }
.lp-tag.tag-rules::before { margin-inline-end: var(--tag-ls, 0px); }

.lp-links { display: none; margin-inline-start: auto; gap: 30px; }
.lp-links a {
  position: relative;
  padding: 6px 0;
  font-size: 14px;
  white-space: nowrap;                      /* «Карта активів» не переносимо на два рядки */
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.lp-links a:hover, .lp-links a.on { color: var(--text); }
/* Розділ, що зараз на екрані, позначений крапкою під пунктом */
.lp-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform 0.35s var(--ease);
}
.lp-links a.on::after { transform: scale(1); }

/* Перемикач мови в шапці — свій випадаючий список (js/site.js), а не <select>: системний список не стилізується і на
   темній сторінці виходить білим. Пункти — посилання на ту саму сторінку іншою мовою (кожна мова — своя адреса, її
   бачить і робот пошуку). Відкривається вниз від кнопки, до її кінця. */
.lp-dd { position: relative; margin-inline-start: auto; }
.lp-dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 10px 0 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: 1px solid var(--line2);
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.lp-dd-btn:hover, .lp-dd-btn[aria-expanded="true"] { color: var(--text); border-color: rgba(236, 235, 230, 0.4); }
.lp-dd-btn svg { transition: transform 0.2s var(--ease); }
.lp-dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lp-dd-list {
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 40;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: #16161d;
  border: 1px solid var(--line2);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  animation: lpDdIn 0.16s var(--ease);
}
.lp-dd-list[hidden] { display: none; }
.lp-dd-list a {
  display: block;
  padding: 6px 10px;
  font-size: 13px;
  white-space: nowrap;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  outline: none;
}
.lp-dd-list a:hover, .lp-dd-list a:focus-visible { color: var(--text); background: rgba(236, 235, 230, 0.07); }
.lp-dd-list a:focus-visible { box-shadow: inset 0 0 0 2px var(--accent2); }
/* Поточна мова — кольором тексту (акцент), без значка; селектор не слабший за :hover, щоб наведення його не гасило */
.lp-dd-list a[aria-current="true"] { color: var(--accent); font-weight: 600; }
@keyframes lpDdIn { from { opacity: 0; transform: translateY(-4px); } }
.lp-signin {
  margin-inline-start: 0;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line2);
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
}
.lp-signin:hover { border-color: rgba(236, 235, 230, 0.4); background: rgba(236, 235, 230, 0.05); }
/* «Демо» (.lp-signin.lp-demo) — той самий розмір, що в «Увійти», але акцентного кольору (просили): для того, хто
   прийшов уперше, це головна дорога. Стоять парою, щільніше за решту шапки. На телефоні поруч із ними не вміщається
   перемикач мови — він лишається у футері */
.lp-demo { margin-inline-start: auto; }
.lp-signin.lp-demo { font-weight: 700; color: #1a1206; background: var(--accent); border-color: var(--accent); }
.lp-signin.lp-demo:hover { background: var(--accent2); border-color: var(--accent2); }
/* Стрілка після слова (просили): «туди, всередину». Кнопка лишається тієї ж висоти — svg 16 px у рядку 14-піксельного
   тексту, inline-flex вирівнює їх по середині; рівно 2 px лінії на 16-сітці — горизонталь лягає на цілі пікселі.
   Під курсором стрілка ступає на 2 px уперед */
.lp-demo { display: inline-flex; align-items: center; gap: 6px; padding-inline-end: 12px; }
.lp-demo-arrow { flex: none; transition: transform 0.2s var(--ease); }
.lp-demo:hover .lp-demo-arrow, .lp-demo:focus-visible .lp-demo-arrow { transform: translateX(2px); }
.lp-demo + .lp-signin { margin-inline-start: -8px; }
.lp-nav .lp-dd { display: none; }

/* ── Лінійки: 12 колонок місяців, спільні для героя й «Features» ── */

.lp-sheet { position: relative; }
.lp-lines {
  position: absolute;
  inset: 0 auto;
  left: 50%;
  width: min(100% - 2 * var(--gut), var(--max));
  transform: translateX(-50%);
  pointer-events: none;
  /* Внизу лінії згасають, а не обриваються об наступну секцію */
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 280px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 280px), transparent);
}
.lp-lines i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--i) * 100% / 12);
  width: 1px;
  background: var(--line);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.8s var(--ease) calc(var(--i) * 75ms + 0.1s);
}
.lp-lines i:last-child { margin-left: -1px; }
.lp-lines.on i { transform: none; }
/* На телефоні — через одну: дванадцять ліній по 28 px рябіли б під текстом */
.lp-lines i:nth-child(even) { display: none; }

/* ── Перший екран ── */

.lp-hero { position: relative; padding: 28px 0 0; }
.lp-hero-grid { display: grid; gap: 36px; }
.lp-hero-copy { padding-inline-start: 4px; }

.lp-h1 {
  margin: 0;
  font-family: var(--head);
  font-size: clamp(28px, 8.4vw, 56px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
/* Рядок над гаслом — що це таке, словами, якими шукають («Online year planner & life dashboard»). Він у самому <h1>,
   щоб заголовок сторінки називав предмет, а не лише гасло. Службовий кегль, капітель і приглушений колір: гасло лишається
   головним; помаранчевим не фарбуємо — він на лендингу означає лише «зараз» і «прогрес» */
.lp-kicker {
  display: block;
  margin-bottom: 18px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.lp-lead {
  max-width: 30em;
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text2);
  text-wrap: pretty;
}
/* «Що всередині» — не перелік бейджів, а рядок: модулі дашборда через крапки, як пункти меню продукту */
.lp-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
}
.lp-facts li { display: flex; align-items: center; }
/* Точки між пунктами — лише там, де рядок не переноситься: інакше вони стояли б на початку другого рядка */
@media (min-width: 720px) {
  .lp-facts { gap: 6px 0; }
  .lp-facts li + li::before {
    content: '';
    width: 3px;
    height: 3px;
    margin: 0 12px;
    border-radius: 50%;
    background: var(--accent);
  }
}

/* ── Вхід ── */

.lp-auth { position: relative; }
.lp-auth .auth-card {
  max-width: 440px;
  margin: 0;
  padding: 24px 20px;
  background: #101017;
  border: 1px solid var(--line2);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 40px 90px -30px rgba(0, 0, 0, 0.8);
}
.lp-auth .auth-input { background: rgba(255, 255, 255, 0.035); }
.lp-auth .auth-btn:not(.primary) { background: rgba(255, 255, 255, 0.045); }
.lp-auth .auth-tabs { background: rgba(0, 0, 0, 0.28); }

/* Заготовка форми тієї ж висоти — сторінка не стрибає, коли форма з'являється.
   Висоти виміряні на справжній картці входу (js/auth.js): змінилася форма — перемірити. */
.lp-skeleton { min-height: 587px; gap: 16px; }
.sk { border-radius: 12px; background: rgba(255, 255, 255, 0.05); animation: lp-pulse 1.4s ease-in-out infinite; }
.sk-tabs { height: 48px; }
.sk-title { height: 30px; width: 60%; }
.sk-line { height: 16px; width: 80%; }
.sk-btn { height: 48px; }
.sk-btn.accent { background: rgba(249, 115, 22, 0.25); }
.sk-field { height: 70px; }
@keyframes lp-pulse { 50% { opacity: 0.5; } }
.lp-noscript { color: var(--muted); text-align: center; }

/* ── Дошка року ──
   Колонки-місяці, у кожній — картки. Ліворуч від лінії «сьогодні» все зроблено, праворуч — відкрито:
   дошка читається без слів. На вузькому екрані картки стають смужками — штрихкод року. */

.lp-year {
  container: lpy / inline-size;
  position: relative;
  min-height: 170px;                      /* місце під дошку, поки JS її не збудував: нижче ніщо не стрибає */
  margin-top: 44px;
  padding-top: 30px;                      /* смуга під підпис маркера */
}
.lp-months {
  position: relative;
  z-index: 1;                             /* над лінією маркера: вона проглядає лише між картками */
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.lp-m { position: relative; min-width: 0; }
.lp-m.now { background: linear-gradient(to bottom, rgba(249, 115, 22, 0.075), rgba(249, 115, 22, 0) 260px); }

/* Шапка колонки — це й лінійка: тижневі поділки над назвою місяця */
.lp-mh {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 17px 10px 9px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.25s;
}
.lp-mh::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 9px;
  background:
    repeating-linear-gradient(90deg, rgba(236, 235, 230, 0.34) 0 1px, transparent 1px calc(100% / 4.35)) 0 0 / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, rgba(236, 235, 230, 0.15) 0 1px, transparent 1px calc(100% / 30.4)) 0 0 / 100% 5px no-repeat;
}
.lp-mh b { font-weight: inherit; }
.lp-mh b::before { content: attr(data-m1); }
.lp-mh em {
  display: none;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  opacity: 0.65;
}
.lp-m.now .lp-mh { color: var(--accent2); }
.lp-m:hover .lp-mh { color: var(--text); }
.lp-m.now:hover .lp-mh { color: var(--accent2); }

/* Колонка — стопка карток. Flex, а не grid: виконана картка зникає, згортаючи свою висоту й відступ, а порожній
   рядок grid лишив би по собі проміжок */
.lp-cards { display: flex; flex-direction: column; padding: 8px 3px 0; }

/* Картка — така, як у продукту: плитка з текстом, без галочки. Кольори міток — ті самі, що в tasks.css.
   На вузькому екрані вона стає штрихом — штрихкод року */
.lp-card {
  --t-y: #f0c040;
  --t-r: #e07070;
  --t-p: #a07ee0;
  display: block;
  height: 8px;
  margin-bottom: 4px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(236, 235, 230, 0.2);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), height 0.5s var(--ease) 0.14s,
              margin-bottom 0.5s var(--ease) 0.14s, border-width 0.3s, background 0.4s;
}
.lp-card span, .lp-card small { display: none; }
.lp-card.y { background: var(--t-y); }
.lp-card.r { background: var(--t-r); }
.lp-card.p { background: var(--t-p); }
/* Застрягла: місяць минув, а вона досі тут. На тлі порожніх колонок її видно одразу */
.lp-card.late { background: rgba(236, 235, 230, 0.45); }
/* Виконана покидає дошку так, як у продукті (tasks.js, подвійний клік): зникає й трохи стискається,
   потім колонка змикається. Рамка групи йде разом із останньою її карткою */
.lp-card.gone { opacity: 0; transform: scale(0.93); height: 0; margin-bottom: 0; border-width: 0; }
.lp-grp {
  display: flex;
  flex-direction: column;
  max-height: 240px;
  margin-bottom: 4px;
  transition: opacity 0.3s var(--ease), max-height 0.5s var(--ease) 0.14s, margin-bottom 0.5s var(--ease) 0.14s,
              padding 0.5s var(--ease) 0.14s, border-width 0.3s;
}
.lp-grp.gone { opacity: 0; max-height: 0; margin-bottom: 0; padding-block: 0; border-width: 0; overflow: hidden; }

/* Лінія «сьогодні»: за картками, а голівка з підписом — над ними */
.lp-now-line, .lp-now-head {
  position: absolute;
  top: 0;
  left: calc(var(--nf, 0) * 100%);
  pointer-events: none;
}
.lp-now-line {
  top: 30px;
  bottom: 0;
  width: 1px;
  margin-left: -0.5px;
  background: linear-gradient(to bottom, var(--accent), rgba(249, 115, 22, 0.35) 55%, rgba(249, 115, 22, 0));
  opacity: 0;
  transition: opacity 0.5s;
}
.lp-now-head { z-index: 3; width: 0; height: 30px; opacity: 0; transition: opacity 0.5s; }
.lp-now-head i {
  position: absolute;
  left: -4.5px;
  top: 25.5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.lp-now-head i::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
}
.lp-year.settled .lp-now-head i::after { animation: lp-ping 3.2s ease-out infinite; }
@keyframes lp-ping {
  0% { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(3.4); opacity: 0; }
}
.lp-now-head b {
  position: absolute;
  left: 12px;
  top: 4px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--accent2);
}
/* Біля правого краю підпис перекидається ліворуч від маркера */
.lp-year.flip .lp-now-head b { left: auto; right: 12px; }
.lp-year.live .lp-now-line, .lp-year.live .lp-now-head { opacity: 1; }

/* Поява: місяці виїжджають по черзі, за ними — картки (клас .pre знімає JS, коли дошка на екрані).
   Картки з'являються анімацією з fill-mode backwards, а не переходом: після неї в них лишаються звичайні стилі,
   і зникнення виконаних (.gone) не змагається з анімацією за opacity */
.lp-year.pre .lp-m { opacity: 0; transform: translateY(10px); }
.lp-m { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.lp-year.enter .lp-m { transition-delay: calc(var(--i) * 40ms); }
.lp-year.pre .lp-card, .lp-year.pre .lp-grp { opacity: 0; }
.lp-year.enter .lp-card, .lp-year.enter .lp-grp {
  animation: lp-card-in 0.5s var(--ease) backwards;
  animation-delay: calc(var(--i) * 40ms + var(--k, 0) * 40ms + 0.1s);
}
@keyframes lp-card-in { from { opacity: 0; transform: translateY(6px); } }

/* Середня ширина: справжня плитка, а текст — ще «рядком» */
@container lpy (min-width: 700px) {
  .lp-mh b::before { content: attr(data-m3); }
  .lp-cards { padding: 9px 5px 0; }
  .lp-card {
    display: flex;
    align-items: center;
    height: 24px;
    margin-bottom: 5px;
    padding: 0 9px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #1b1b25;
  }
  .lp-card span { display: block; flex: 1; height: 4px; border-radius: 2px; background: rgba(236, 235, 230, 0.22); font-size: 0; }
  .lp-card.y { --mark: var(--t-y); }
  .lp-card.r { --mark: var(--t-r); }
  .lp-card.p { --mark: var(--t-p); }
  .lp-card.y, .lp-card.r, .lp-card.p {
    border-color: var(--mark);
    background: color-mix(in srgb, var(--mark) 7%, #1b1b25);
  }
  .lp-card.late { background: #1b1b25; }
  .lp-card.late span { background: rgba(236, 235, 230, 0.5); }
  .lp-grp {
    padding: 3px;
    border: 1px solid var(--line2);
    border-radius: 11px;
  }
  .lp-grp .lp-card { height: 24px; margin-bottom: 3px; border-radius: 6px; }
  .lp-grp .lp-card:last-child { margin-bottom: 0; }
}

/* Широка: у картках — справжні назви задач, у застряглих ще й скільки вони прострочені */
@container lpy (min-width: 1180px) {
  .lp-mh em { display: block; }
  .lp-card { height: 30px; padding: 0 11px; }
  .lp-card span {
    height: auto;
    background: none;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1;
    color: #e0dfda;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .lp-card.late { height: 40px; flex-wrap: wrap; align-content: center; }
  .lp-card.late span { flex: 1 0 100%; background: none; }
  .lp-card small {
    display: block;
    flex: 1 0 100%;
    margin-top: 4px;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--danger);
  }
  .lp-grp .lp-card { height: 28px; }
}

/* ── Секції: спільне ── */

.lp-section { padding: 72px 0; }

.lp-h2 {
  max-width: 15em;
  margin: 0;
  font-family: var(--head);
  font-size: clamp(28px, 7.4vw, 52px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.lp-muted { color: var(--muted); }
.lp-textlink { color: var(--accent2); font-weight: 600; text-underline-offset: 3px; }

/* Волосинка над рядком «малюється» зліва направо, коли рядок з'являється (клас .in ставить JS) */
.lp-draw { position: relative; }
.lp-draw::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease);
}
.lp-draw.in::before { transform: none; }

/* ── Features: рядки-«специфікації». Ліворуч — шматок інтерфейсу, що показує саму фічу ── */

.lp-features { padding-top: 88px; }
.lp-rows { margin: 44px 0 0; padding: 0; list-style: none; }
.lp-row {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 28px 0 36px;
}
.lp-row::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease);
}
.lp-row.in::before { transform: none; }
.lp-row h3 {
  margin: 0;
  font-family: var(--head);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.lp-row p { margin: 0; max-width: 30em; font-size: 15px; line-height: 1.65; color: var(--text2); }

/* ── Малюнки у «Features» ──
   Замість іконок — справжні шматки інтерфейсу. По кутках — мітки різу, як на кресленні: вони
   обмежують малюнок, і той не висить між лініями сам по собі. Клас .arm ставить JS, коли малюнок
   готовий розігруватися (без нього — одразу остаточний стан), .f-play запускає анімації. */

.lp-fig {
  --m: rgba(236, 235, 230, 0.3);
  max-width: 560px;
  padding: 8px 4px;
  background:
    linear-gradient(var(--m), var(--m)) 0 0 / 9px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) 0 0 / 1px 9px no-repeat,
    linear-gradient(var(--m), var(--m)) 100% 0 / 9px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) 100% 0 / 1px 9px no-repeat,
    linear-gradient(var(--m), var(--m)) 0 100% / 9px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) 0 100% / 1px 9px no-repeat,
    linear-gradient(var(--m), var(--m)) 100% 100% / 9px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) 100% 100% / 1px 9px no-repeat var(--bg);
}
.f-svg { display: block; width: 100%; height: auto; overflow: visible; }
.lp-fig .iso-svg { aspect-ratio: 440 / 176; height: auto; }
.f-svg text { font-family: 'Manrope', system-ui, sans-serif; }

.f-card { fill: #1b1b25; stroke: rgba(236, 235, 230, 0.06); }
.f-card2 { fill: #101017; stroke: rgba(236, 235, 230, 0.09); }
.f-card.m-y { stroke: #f0c040; fill: color-mix(in srgb, #f0c040 7%, #1b1b25); }
.f-card.m-r { stroke: #e07070; fill: color-mix(in srgb, #e07070 7%, #1b1b25); }
.f-card.m-p { stroke: #a07ee0; fill: color-mix(in srgb, #a07ee0 7%, #1b1b25); }
.f-card.now { stroke: var(--accent); fill: color-mix(in srgb, var(--accent) 14%, #1b1b25); }
.f-t { font-size: 11.5px; font-weight: 500; fill: #d6d5d0; }
.f-tb { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; fill: var(--text); }
.f-tb.sm { font-size: 12px; }
.f-t2 { font-size: 11.5px; font-weight: 600; fill: var(--text2); }
.f-td { font-size: 10px; font-weight: 500; fill: var(--muted); }
.f-h { font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; fill: var(--muted); }
.f-ln { fill: none; stroke: rgba(236, 235, 230, 0.1); }
.f-ln2 { fill: none; stroke: rgba(236, 235, 230, 0.22); }
.f-bar { fill: rgba(236, 235, 230, 0.22); }
.f-bar2 { fill: rgba(236, 235, 230, 0.1); }
.f-slot { fill: none; stroke: rgba(236, 235, 230, 0.3); stroke-dasharray: 4 3; }
.f-frame { fill: none; stroke: rgba(236, 235, 230, 0.22); }

/* Дати */
.f-chip { fill: rgba(236, 235, 230, 0.04); stroke: rgba(236, 235, 230, 0.16); }
.f-accbar { fill: var(--accent); }
.f-hol { font-size: 11.5px; font-weight: 700; fill: var(--accent2); }
.f-wd { font-size: 9px; font-weight: 700; letter-spacing: 0.06em; fill: var(--muted); }
.f-d { font-size: 10px; font-weight: 500; fill: #cfcec9; font-variant-numeric: tabular-nums; }
.f-wd.we, .f-d.we { fill: #7c7c89; }
.f-hl { fill: var(--accent); }
.f-d.on { fill: #0b0b10; font-weight: 800; }
.f-lead { fill: none; stroke: var(--accent2); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 0.85; }

/* Проєкти */
.f-track { fill: rgba(236, 235, 230, 0.08); }
.f-fill { fill: var(--accent); }
.f-knob { fill: var(--text); stroke: #15151d; stroke-width: 2.5; }
.f-pct { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; fill: var(--text); font-variant-numeric: tabular-nums; }
.f-pct .pu { font-size: 14px; font-weight: 600; fill: var(--muted); }
.f-edge { fill: none; stroke: rgba(236, 235, 230, 0.28); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.f-edge.dash { stroke-dasharray: 3 3; stroke: rgba(236, 235, 230, 0.2); }

/* Доходи й витрати */
.f-big { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; fill: var(--text); font-variant-numeric: tabular-nums; }
.f-up { font-size: 11px; font-weight: 700; fill: var(--done); }
.f-seg.r1 { fill: #f87171; }
.f-seg.r2 { fill: #f8a35a; }
.f-seg.r3 { fill: #facc6b; }
.f-bar-r { fill: #f87171; }
.f-bar-o { fill: var(--accent); }

/* Бажання */
.f-cam { fill: none; stroke: rgba(236, 235, 230, 0.55); stroke-width: 1.5; }
.f-cam.fillc { fill: rgba(236, 235, 230, 0.55); stroke: none; }
.f-prio { fill: var(--yellow); }
.f-num { font-size: 12px; font-weight: 700; fill: var(--text); font-variant-numeric: tabular-nums; }
.f-cur { fill: rgba(236, 235, 230, 0.08); }
.f-curt { font-size: 9.5px; font-weight: 700; fill: var(--text2); }
.f-tot { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; fill: var(--text); font-variant-numeric: tabular-nums; }

/* Синхронізація */
.f-new { fill: color-mix(in srgb, var(--accent) 22%, transparent); stroke: var(--accent); stroke-width: 1.2; }
.f-route { fill: none; stroke: rgba(236, 235, 230, 0.22); stroke-dasharray: 2 4; }
.f-pk { fill: var(--accent); }
.f-tk { fill: none; stroke: rgba(236, 235, 230, 0.26); stroke-width: 1.2; }
.f-tk.now { stroke: var(--accent); stroke-width: 1.6; }
.f-td.c { letter-spacing: 0.02em; }

/* Розігрування. Остаточний стан — це стан за замовчуванням; .arm повертає малюнок на початок,
   а .f-play програє шлях до остаточного */
@keyframes fx-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fx-inx { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes fx-fade { from { opacity: 0; } to { opacity: 1; } }

.arm .x-in, .arm .x-row, .arm .x-holi, .arm .x-cal, .arm .x-tot, .arm .x-tk, .arm .x-lbl, .arm .f-node, .arm .f-new { opacity: 0; }
.arm.f-play .x-in { animation: fx-in 0.8s var(--ease) both; animation-delay: calc(var(--d, 0) * 1s); }
.arm.f-play .x-row { animation: fx-inx 0.8s var(--ease) both; animation-delay: calc(var(--d, 0) * 1s); }

/* 1 · Місяці: картка піднімається, їде в наступну колонку й опускається */
.x-drag { transform: translate(132px, 0); transform-box: fill-box; transform-origin: center; }
.arm .x-drag { transform: none; }
.arm.f-play .x-drag { animation: fx-drag 3.4s cubic-bezier(0.65, 0, 0.35, 1) 1.3s both; }
@keyframes fx-drag {
  0%, 8% { transform: none; filter: none; }
  22% { transform: translate(0, -7px) scale(1.05); filter: drop-shadow(0 9px 9px rgba(0, 0, 0, 0.55)); }
  72% { transform: translate(132px, -7px) scale(1.05); filter: drop-shadow(0 9px 9px rgba(0, 0, 0, 0.55)); }
  90%, 100% { transform: translate(132px, 0); filter: none; }
}
.x-slot .f-slot { opacity: 0; }
.arm.f-play .x-slot .f-slot { animation: fx-slot 3.4s linear 1.3s both; }
@keyframes fx-slot { 0%, 14% { opacity: 0; } 26%, 72% { opacity: 1; } 92%, 100% { opacity: 0; } }
.x-src { opacity: 0.55; }
.arm .x-src { opacity: 0; }
.arm.f-play .x-src { animation: fx-src 3.4s linear 1.3s both; }
@keyframes fx-src { 0%, 14% { opacity: 0; } 30%, 100% { opacity: 0.55; } }

/* 2 · Дати: сітка з'являється, день спалахує, лінія тягнеться до свята */
.arm.f-play .x-cal { animation: fx-in 0.9s var(--ease) 0.25s both; }
.f-hl { transform-box: fill-box; transform-origin: center; }
.arm .f-hl { transform: scale(0); }
.arm.f-play .f-hl { animation: fx-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1s both; }
@keyframes fx-pop { from { transform: scale(0); } to { transform: scale(1); } }
.arm .f-d.on { fill: var(--text); }
.arm.f-play .f-d.on { animation: fx-dark 0.01s 1.15s both; }
@keyframes fx-dark { to { fill: #0b0b10; } }
.arm .f-lead { stroke-dashoffset: 1; }
.arm.f-play .f-lead { animation: fx-draw 0.7s cubic-bezier(0.65, 0, 0.35, 1) 1.15s both; }
@keyframes fx-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.arm.f-play .x-holi { animation: fx-in 0.7s var(--ease) 1.75s both; }

/* 3 · Проєкти: смуга й повзунок їдуть разом, потім граф прокладає зв'язки */
.x-bar { transform-box: fill-box; transform-origin: left center; }
.arm .x-bar { transform: scaleX(0); }
.arm .x-knob { transform: translateX(-144px); }
.arm.f-play .x-bar { animation: fx-bar 1.5s cubic-bezier(0.33, 1, 0.68, 1) 0.5s both; }
.arm.f-play .x-knob { animation: fx-knob 1.5s cubic-bezier(0.33, 1, 0.68, 1) 0.5s both; }
@keyframes fx-bar { from { transform: scaleX(0); } to { transform: none; } }
@keyframes fx-knob { from { transform: translateX(-144px); } to { transform: none; } }
.arm .f-edge:not(.dash) { stroke-dashoffset: 1; }
.arm.f-play .f-edge:not(.dash) { animation: fx-draw 0.55s ease-out both; }
.arm.f-play .e1 { animation-delay: 0.7s; }
.arm.f-play .e2 { animation-delay: 0.9s; }
.arm.f-play .e3 { animation-delay: 1.15s; }
.arm.f-play .e4 { animation-delay: 1.35s; }
.arm.f-play .f-node { animation: fx-fade 0.5s ease-out both; }
.arm.f-play .n0 { animation-delay: 0.55s; }
.arm.f-play .n1 { animation-delay: 0.85s; }
.arm.f-play .n2 { animation-delay: 1.05s; }
.arm.f-play .n3 { animation-delay: 1.6s; }

/* 3b · Гроші: стовпчики ростуть від бази, смужка витрат розгортається, число росте */
.x-col { transform-box: fill-box; transform-origin: 50% 100%; }
.arm .x-col { transform: scaleY(0); }
.arm.f-play .x-col { animation: fx-grow 0.9s var(--ease) both; animation-delay: calc(var(--d, 0) * 1s); }
@keyframes fx-grow { from { transform: scaleY(0); } to { transform: none; } }
.x-seg-box { transform-box: fill-box; transform-origin: 0 50%; }
.arm .x-seg-box { transform: scaleX(0); }
.arm.f-play .x-seg-box { animation: fx-seg 1s var(--ease) 0.5s both; }
@keyframes fx-seg { from { transform: scaleX(0); } to { transform: none; } }
.arm.f-play .x-lbl { animation: fx-fade 0.5s ease-out both; animation-delay: calc(var(--d, 0) * 1s); }

/* 4 · Бажання: рядки в'їжджають, лінія підсумку малюється, число росте */
.x-sum { stroke-dasharray: 202; stroke-dashoffset: 0; }
.arm .x-sum { stroke-dashoffset: 202; }
.arm.f-play .x-sum { animation: fx-sum 0.7s cubic-bezier(0.65, 0, 0.35, 1) 0.6s both; }
@keyframes fx-sum { from { stroke-dashoffset: 202; } to { stroke-dashoffset: 0; } }
.arm.f-play .x-tot { animation: fx-fade 0.6s ease-out 0.75s both; }

/* 6 · Синхронізація: правка з'являється на ноутбуці, пакет біжить до телефона, і вона є там */
.x-pk { opacity: 0; }
.arm.f-play .x-pk { animation: fx-pk 1.1s cubic-bezier(0.5, 0, 0.3, 1) 1.15s both; }
@keyframes fx-pk {
  0% { opacity: 0; transform: translateX(0); }
  10%, 88% { opacity: 1; }
  100% { opacity: 0; transform: translateX(152px); }
}
.arm.f-play .f-new.nl { animation: fx-fade 0.5s ease-out 0.6s both; }
.arm.f-play .f-new.np { animation: fx-fade 0.5s ease-out 2.2s both; }
.arm.f-play .x-tk { animation: fx-fade 0.8s ease-out 0.4s both; }

/* Ізометрія — спільне для міста в «Asset map» і блока у «Features»: ті самі кольори, що на карті продукту */
.iso-svg { display: block; width: 100%; height: auto; overflow: visible; }
.iso-svg * { vector-effect: non-scaling-stroke; }
.pl-face { fill: rgba(255, 255, 255, 0.028); stroke: rgba(255, 255, 255, 0.13); }
.pl-grid { fill: none; stroke: rgba(255, 255, 255, 0.05); }
.fl-bar { fill: var(--c); }
.fl-t { font-family: 'Manrope', system-ui, sans-serif; font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; fill: #0b0b10; text-anchor: middle; dominant-baseline: central; }
.bs { stroke: rgba(255, 255, 255, 0.17); stroke-linejoin: round; }
.bs-t { fill: color-mix(in srgb, var(--c) 20%, #2c2c38); }
.bs-r { fill: color-mix(in srgb, var(--c) 11%, #1f1f29); }
.bs-l { fill: color-mix(in srgb, var(--c) 6%, #17171f); }
.fill { stroke: none; }
.bf-t { fill: color-mix(in srgb, var(--c) 78%, #2c2c38); }
.bf-r { fill: color-mix(in srgb, var(--c) 56%, #1f1f29); }
.bf-l { fill: color-mix(in srgb, var(--c) 38%, #17171f); }
.void { stroke: none; fill-opacity: 0.42; }
.bv-t { fill: color-mix(in srgb, var(--c) 20%, #2c2c38); }
.bv-r { fill: color-mix(in srgb, var(--c) 11%, #1f1f29); }
.bv-l { fill: color-mix(in srgb, var(--c) 6%, #17171f); }
.bw { fill: none; stroke: rgba(255, 255, 255, 0.2); stroke-linejoin: round; }
.blk.wish .bs, .blk.wish .bw { stroke-dasharray: 3 3; }
.blk.wish .bs { fill-opacity: 0.4; }
.blk.wish .fill { fill-opacity: 0.7; }
.blk { cursor: default; }
.blk.hov .bs-t { fill: color-mix(in srgb, var(--c) 46%, #2c2c38); }
.blk.hov .bs-r { fill: color-mix(in srgb, var(--c) 30%, #1f1f29); }
.blk.hov .bs-l { fill: color-mix(in srgb, var(--c) 20%, #17171f); }
.blk.hov .bw, .blk.hov .bs { stroke: color-mix(in srgb, var(--c) 70%, rgba(255, 255, 255, 0.2)); }
.plot-furrow { fill: none; stroke: rgba(255, 255, 255, 0.16); }
.plot-flag { fill: var(--c); stroke: none; }

/* ── Asset map: місто росте з прокруткою ── */

.lp-assets { overflow-x: clip; }
.lp-assets-grid { display: grid; gap: 28px; }
/* На телефоні текст, місто й ведомість стоять у такому порядку, хоч у розмітці ведомість — усередині тексту */
.lp-assets-copy { display: contents; }
.lp-assets-copy .lp-h2 { order: 1; }
.lp-assets-copy p { order: 2; margin: 0; max-width: 30em; color: var(--text2); }
.lp-assets-copy .lp-muted { color: var(--muted); }
.lp-city { order: 3; position: relative; }
.lp-ledger { order: 4; }

.lp-ledger {
  padding-top: 22px;
  border-top: 1px solid var(--line2);
  font-variant-numeric: tabular-nums;
}
.lg-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lg-cap { font-size: 13px; color: var(--muted); }
.lg-tot {
  font-family: var(--head);
  font-size: clamp(30px, 8vw, 44px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
}
.lg-rows { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.lg-rows li {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  column-gap: 10px;
  align-items: baseline;
  font-size: 14px;
  color: var(--text2);
}
.lg-rows i, .lg-inc i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); align-self: center; }
.lg-rows em, .lg-inc em { font-style: normal; font-weight: 600; color: var(--text); }
.lg-rows s {
  grid-column: 2 / -1;
  height: 2px;
  margin-top: 7px;
  background: rgba(236, 235, 230, 0.08);
  overflow: hidden;
}
.lg-rows s::after {
  content: '';
  display: block;
  height: 100%;
  background: var(--c);
  transform: scaleX(var(--w, 0));
  transform-origin: left;
}
.lg-inc {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  column-gap: 10px;
  align-items: baseline;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text2);
}

/* Підписи-виноски: з'являються, коли блок виріс; на вузькому екрані лишаються найважливіші */
.lp-lbl {
  display: none;
  position: absolute;
  z-index: 2;
  padding: 5px 9px 6px;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
  background: rgba(11, 11, 16, 0.78);
  border: 1px solid var(--line2);
  border-radius: 8px;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 10px));
  transition: opacity 0.45s, transform 0.6s var(--ease);
}
.lp-lbl b { display: block; font-weight: 700; color: var(--text); }
.lp-lbl span { color: var(--muted); font-variant-numeric: tabular-nums; }
.lp-lbl::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 12px;
  background: rgba(236, 235, 230, 0.4);
}
.lp-lbl::after {
  content: '';
  position: absolute;
  left: 50%;
  top: calc(100% + 11px);
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--text);
}
.lp-lbl.on { opacity: 1; transform: translate(-50%, calc(-100% - 16px)); }
.lp-lbl.wish { border-style: dashed; }
/* Другорядні підписи — лише коли блок під курсором; вони з'являються поверх решти */
.lp-lbl.minor { display: none; }
.lp-lbl.minor.hot { z-index: 3; opacity: 1; transform: translate(-50%, calc(-100% - 16px)); }
.iso-svg .fl { display: none; }
.lp-city .iso-svg { overflow: visible; }

/* ── Privacy: схема «рядок за рядком» і твердження з анотаціями-розмірами ── */

.lp-privacy-grid { display: grid; gap: 44px; }
.lp-privacy-head p { margin: 22px 0 0; }
.lp-privacy-head .lp-textlink { font-size: 15px; }

.lp-rls {
  max-width: 460px;
  margin-top: 36px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.rls-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.rls-you { color: var(--accent2); }
.rls-body {
  position: relative;
  border-top: 1px solid var(--line2);
  border-bottom: 1px solid var(--line);
}
.rls-row {
  display: grid;
  grid-template-columns: 8px 116px 1fr;
  gap: 12px;
  align-items: center;
  height: 30px;
  border-bottom: 1px solid var(--line);
}
.rls-row:last-of-type { border-bottom: 0; }
.rls-row i { width: 6px; height: 6px; border-radius: 50%; background: rgba(236, 235, 230, 0.35); }
.rls-row .k { color: #cfcec9; font-weight: 600; white-space: nowrap; }
.rls-row .k s { display: block; width: 84px; height: 8px; border-radius: 2px; background: rgba(236, 235, 230, 0.18); }
.rls-row .v { position: relative; display: block; width: var(--w); height: 8px; border-radius: 2px; background: rgba(236, 235, 230, 0.2); }
.rls-row.mine i { background: var(--accent); box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2); }
.rls-row.mine .v { background: color-mix(in srgb, var(--accent) 62%, transparent); }
/* Чужий рядок замкнений: штрихування замість заливки, тьмяніше */
.rls-row.other { opacity: 0.55; }
.rls-row.other .k s, .rls-row.other .v {
  background: repeating-linear-gradient(135deg, rgba(236, 235, 230, 0.34) 0 1px, transparent 1px 4px);
}
.rls-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0), var(--accent) 30%, var(--accent) 70%, rgba(249, 115, 22, 0));
  opacity: 0;
  pointer-events: none;
}
/* Розігрування: до початку всі рядки «відкриті», лінія проходить і замикає чужі, а свої підсвічує */
.arm .rls-row.other { opacity: 1; }
.arm .rls-row.other .k s, .arm .rls-row.other .v { background: rgba(236, 235, 230, 0.2); }
.arm .rls-row.mine i { background: rgba(236, 235, 230, 0.35); box-shadow: none; }
.arm .rls-row.mine .v { background: rgba(236, 235, 230, 0.2); }
.arm.f-play .rls-row.other { animation: rls-lock 0.5s ease-out both; animation-delay: calc(var(--i) * 0.19s + 0.3s); }
.arm.f-play .rls-row.other .k s, .arm.f-play .rls-row.other .v {
  animation: rls-hatch 0.5s ease-out both;
  animation-delay: calc(var(--i) * 0.19s + 0.3s);
}
.arm.f-play .rls-row.mine i { animation: rls-lit 0.5s ease-out both; animation-delay: calc(var(--i) * 0.19s + 0.3s); }
.arm.f-play .rls-row.mine .v { animation: rls-vlit 0.5s ease-out both; animation-delay: calc(var(--i) * 0.19s + 0.3s); }
.arm.f-play .rls-scan { animation: rls-scan 1.9s cubic-bezier(0.45, 0, 0.25, 1) 0.2s both; }
/* Ваш рядок — шифр замість даних: до проходу лінії на його місці смуга, як у решти (відкриті дані), після — текст
   шифру в акценті. Смуга — ::before тієї ж висоти, що й .v, щоб рядки до проходу не відрізнялись */
.rls-row .v.c,
.arm .rls-row.mine .v.c {
  width: auto;
  height: auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--accent) 82%, transparent);
  background: none;
}
.arm .rls-row.mine .v.c { color: transparent; }
.arm .rls-row.mine .v.c::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: 8px;
  margin-top: -4px;
  border-radius: 2px;
  background: rgba(236, 235, 230, 0.2);
}
.arm.f-play .rls-row.mine .v.c { animation: rls-cipher 0.5s ease-out both; animation-delay: calc(var(--i) * 0.19s + 0.3s); }
.arm.f-play .rls-row.mine .v.c::before { animation: rls-unbar 0.5s ease-out both; animation-delay: calc(var(--i) * 0.19s + 0.3s); }
@keyframes rls-cipher { to { color: color-mix(in srgb, var(--accent) 82%, transparent); } }
@keyframes rls-unbar { to { opacity: 0; } }
@keyframes rls-lock { to { opacity: 0.55; } }
@keyframes rls-hatch { to { background: repeating-linear-gradient(135deg, rgba(236, 235, 230, 0.34) 0 1px, transparent 1px 4px); } }
@keyframes rls-lit { to { background: var(--accent); box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2); } }
@keyframes rls-vlit { to { background: color-mix(in srgb, var(--accent) 62%, transparent); } }
@keyframes rls-scan {
  0% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateY(calc(var(--n) * 30px)); }
}

.lp-list { margin: 0; padding: 0; list-style: none; }
.lp-list li {
  position: relative;
  padding: 24px 0 26px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.lp-list b { display: block; margin-bottom: 4px; font-size: 20px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; color: var(--text); }
.lp-list li:last-child { border-bottom: 1px solid var(--line2); }
/* Анотація-«розмір» справа, як підпис на кресленні: дрібна, цифрова */
.lp-list li::after {
  content: attr(data-note);
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

/* ── Фінал: дзеркало героя — дошка порожня й чекає на першу картку ── */

.lp-final { position: relative; padding: 64px 0 0; overflow-x: clip; }
.lp-lines--end {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 140px);
  mask-image: linear-gradient(to bottom, transparent, #000 140px);
}
.lp-final .lp-year--empty { min-height: 150px; margin-top: 0; }
.lp-year--empty .lp-cards { position: relative; min-height: 84px; }
.lp-slot {
  height: 8px;
  border: 1px dashed rgba(236, 235, 230, 0.35);
  border-radius: 3px;
  transition: opacity 0.5s;
}
.lp-ghost {
  position: absolute;
  z-index: 2;
  left: 3px;
  right: 3px;
  top: 8px;
  background: var(--accent);
  transform: translateY(-14px) rotate(-2deg);
  box-shadow: 0 14px 22px -8px rgba(0, 0, 0, 0.7);
  transition: transform 0.75s var(--ease), box-shadow 0.75s var(--ease), background 0.5s;
}
/* Кнопка «Create your free account» — це й є «покласти картку в місяць» */
.lp-final:has(.lp-cta:hover, .lp-cta:focus-visible) .lp-ghost { transform: none; box-shadow: none; }
.lp-final:has(.lp-cta:hover, .lp-cta:focus-visible) .lp-slot { opacity: 0; }
@container lpy (min-width: 700px) {
  .lp-slot { height: 24px; border-radius: 8px; }
  .lp-ghost, .lp-card.lp-ghost {
    left: 5px;
    right: 5px;
    top: 9px;
    background: color-mix(in srgb, var(--accent) 14%, #1b1b25);
    border-color: var(--accent);
  }
}
@container lpy (min-width: 1180px) {
  .lp-slot { height: 30px; border-radius: 9px; }
}
.lp-final:has(.lp-cta:hover, .lp-cta:focus-visible) .lp-year--empty .roll { transform: translateY(-50%); }
.lp-mh .roll { display: flex; flex-direction: column; transition: transform 0.5s var(--ease); }
.lp-mh .roll s { display: block; height: 1.3em; line-height: 1.3; text-decoration: none; }
.lp-year--empty .lp-mh em { height: 1.3em; overflow: hidden; line-height: 1.3; }

.lp-final-copy { display: grid; gap: 22px; padding: 56px 4px 88px; }
.lp-final-copy .lp-h2 { max-width: 12em; }
.lp-final-copy p { margin: 0; max-width: 28em; font-size: 17px; color: var(--text2); }
.lp-cta {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 700;
  color: #1a1206;
  text-decoration: none;
  background: var(--accent);
  border-radius: 12px;
  transition: background 0.2s, transform 0.2s var(--ease);
}
.lp-cta:hover { background: var(--accent2); transform: translateY(-2px); }
.lp-cta:active { transform: none; }

.lp-foot { border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.lp-foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 26px 0 34px; }
.lp-foot a { color: var(--muted); text-underline-offset: 3px; transition: color 0.2s; }
.lp-foot a:hover { color: var(--text); }
/* Копірайт і профілі бренду (tools/pages.cjs → PROFILES) — одна група: знак X стоїть поруч із назвою, а не посеред футера.
   Мішень 32 px, сам знак 16 — у рядку 13-піксельного тексту він не важчий за слова поруч */
.lp-foot-brand { display: flex; align-items: center; gap: 6px; }
.lp-social {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-block: -8px;
  border-radius: 8px;
}
.lp-social:hover { background: rgba(236, 235, 230, 0.07); }
/* Статті сайту (tools/pages.cjs): кожна має вхідне посилання з кожної сторінки. На телефоні — окремим рядком на всю
   ширину, ширше — між копірайтом і мовою */
.lp-foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; flex-basis: 100%; }
.lp-foot-links a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* Смуга «Ця сторінка є українською →» на англійському корені (js/landing-i18n.js): людині з українським чи російським
   браузером, яка мову ще не вибирала. Тонка, над шапкою, прокручується разом зі сторінкою — не заважає читати */
.lp-langbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 40px;
  padding: 0 4px 0 16px;
  font-size: 14px;
  font-weight: 600;
  background: var(--surface2);
  border-bottom: 1px solid var(--line);
}
.lp-langbar a { padding: 8px 4px; color: var(--accent2); text-decoration: none; }
.lp-langbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lp-langbar button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.lp-langbar button:hover { color: var(--text); background: rgba(236, 235, 230, 0.07); }
/* Перемикач мови у футері: той самий .lp-dd, але без рамки — просто слово зі стрілкою, а список відкривається вгору */
.lp-dd-foot { margin: 0; }
.lp-dd-foot .lp-dd-btn { height: auto; padding: 0; gap: 6px; font-size: 13px; font-weight: 500; border: 0; border-radius: 4px; }
.lp-dd-foot .lp-dd-btn:focus-visible { outline: 2px solid var(--accent2); outline-offset: 4px; }
.lp-dd-foot .lp-dd-list { inset-block-start: auto; inset-block-end: calc(100% + 10px); inset-inline-end: auto; inset-inline-start: -10px; }

/* ── Ширше ──
   Медіазапити стоять в самому кінці файла: правило, дописане нижче, перебило б їх — вони не мають
   переваги в специфічності, вирішує лише порядок. */

@media (min-width: 720px) {
  :root { --nav-h: 72px; }
  .lp-skeleton { min-height: 599px; }
  .lp-fig { padding: 14px; }
  .lp-lbl { display: block; font-size: 12.5px; }
  .lp-links { display: flex; }
  .lp-nav .lp-dd { display: block; }
  .lp-dd { margin-inline-start: 6px; }
  .lp-signin { margin-inline-start: 6px; }
  .lp-lines i:nth-child(even) { display: block; }
  .lp-hero { padding-top: 36px; }
  .lp-hero-grid { gap: 44px; }
  .lp-h1 { font-size: clamp(44px, 6.6vw, 72px); }
  .lp-kicker { margin-bottom: 22px; font-size: 13px; }
  .lp-lead { font-size: 18px; }
  .lp-foot-links { flex-basis: auto; }
  .lp-auth .auth-card { padding: 30px 28px; }
  .lp-year { min-height: 256px; margin-top: 72px; }
  .lp-section { padding: 104px 0; }
  .lp-features { padding-top: 112px; }
  .lp-rows { margin-top: 64px; }
  .lp-row h3 { font-size: 22px; }
}

@media (min-width: 1040px) {
  .lp-privacy-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; gap: 0; }
  .lp-privacy-head { grid-column: 1 / span 5; padding-inline: 14px 24px; }
  .lp-list { grid-column: 7 / span 6; }
  .lp-list li { padding-inline-end: 160px; }
  .lp-list li::after { position: absolute; top: 30px; right: 0; margin: 0; font-size: 12px; }
  .lp-final-copy { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; column-gap: 0; padding: 64px 14px 104px; }
  .lp-final-copy .lp-h2 { grid-column: 1 / span 7; }
  .lp-final-copy p { grid-column: 1 / span 7; }
  .lp-final-copy .lp-cta { grid-column: 9 / span 4; grid-row: 1 / span 2; align-self: end; justify-self: start; margin-inline-start: 0; }
  .lp-assets-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; gap: 0; }
  .lp-assets-copy { display: block; grid-column: 1 / span 4; padding-inline: 14px 12px; }
  .lp-assets-copy p { margin-top: 22px; }
  .lp-ledger { margin-top: 40px; }
  .lp-city { grid-column: 5 / span 8; }
  .iso-svg .fl { display: block; }
  .lp-lbl.minor { display: block; opacity: 0; }
  .lp-lbl.minor.hot { opacity: 1; }
  .lp-hero { padding-top: 16px; }
  .lp-hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; gap: 0; }
  .lp-hero-copy { grid-column: 1 / span 6; padding-inline: 14px 16px; }
  .lp-auth { grid-column: 8 / span 5; }
  .lp-auth .auth-card { max-width: none; gap: 15px; padding: 26px 24px; }
  .lp-skeleton { min-height: 576px; }
  .lp-h1 { font-size: clamp(38px, 3.7vw, 52px); }
  .lp-year { margin-top: 34px; }

  /* Малюнок — на п'ять колонок, назва — на три, текст — на чотири: усе стоїть на лініях сітки,
     а текст центрований відносно малюнка, а не притиснутий до верху рядка */
  .lp-row {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    padding: 22px 0;
  }
  .lp-row .lp-fig { grid-column: 1 / span 5; }
  .lp-row h3 { grid-column: 6 / span 3; padding-inline: 16px 24px; font-size: 24px; }
  .lp-row p { grid-column: 9 / span 4; padding-inline-start: 16px; }
}

@media (min-width: 1800px) {
  :root { --max: 1480px; }
}

@media (min-width: 1280px) {
  .lp-hero-copy { grid-column: 1 / span 7; padding-inline: 14px 24px; }
  .lp-auth { grid-column: 9 / span 4; }
  .lp-h1 { font-size: clamp(50px, 3.9vw, 62px); }
}

/* Шапка між телефоном і широким екраном: поруч із меню й мовою дві кнопки (Демо, Увійти), тож не вміщене не
   стискається, а ховається — пункти меню (розділи й так ідуть один за одним). Гасло ховати не треба: воно під знаком
   (.lp-brand) і ширини не забирає. До 939, а не 919 px: зі стрілкою в «Демо» російська шапка на 920–929 px виходила
   за край на 2 px (зі звичайною смугою прокрутки) */
@media (min-width: 720px) and (max-width: 939px) {
  .lp-links { display: none; }
  .lp-nav .lp-dd { margin-inline-start: auto; }
}
/* Найвужчі телефони (320 px): шапці бракує кількох пікселів — віддає проміжок між логотипом і кнопками. Стрілка «Демо»
   (+18 px) тут не вміщається (uk виходив за край на 13 px) — її немає, кнопка стає такою, як була без неї */
/* Узкие телефоны в языках с длинной кнопкой входа («Connexion», «Anmelden», «Inloggen»): до 375 px кнопки чуть
   компактнее — иначе французская шапка на 360 px выходила за поле на 13 px, немецкая на 8 */
@media (max-width: 374px) {
  .lp-nav-in { gap: 12px; }
  .lp-signin { padding-inline: 13px; }
  .lp-demo { padding-inline-end: 10px; }
}
@media (max-width: 359px) {
  :root { --gut: 12px; }
  .lp-nav-in { gap: 8px; }
  .lp-signin { padding-inline: 10px; }
  .lp-demo + .lp-signin { margin-inline-start: -2px; }
  .lp-demo-arrow { display: none; }
  .lp-demo { padding-inline-end: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-lines i, .lp-draw::before, .lp-row::before, .lp-m, .lp-card, .lp-now-line, .lp-now-head,
  .lp-lbl, .lp-ghost, .lp-slot, .lp-mh .roll, .lp-cta, .lp-links a::after, .lp-demo-arrow { transition: none; }
  .lp-dd-list { animation: none; }
  .lp-year.settled .lp-now-head i::after { animation: none; }
  .sk { animation: none; }
}
