  :root{
    --bg:#F6F9FF; --bg-alt:#EEF3FE; --card:#FFFFFF; --line:#E1E8F7;
    --blue:#2F6BF0; --blue-dark:#1E4FCB; --blue-soft:#EAF0FF; --blue-ink:#0E2A63;
    --text:#10192E; --text-dim:#5B6784; --text-faint:#626E8A;
    --shadow:0 12px 28px -14px rgba(30,64,175,0.22);
    --shadow-sm:0 6px 16px -8px rgba(30,64,175,0.16);
    --radius:14px; --radius-s:10px;
    --font-display:'Space Grotesk','Inter',sans-serif;
    --font-body:'Inter',sans-serif;
    box-sizing:border-box;
    padding-top:env(safe-area-inset-top,0px);
    padding-bottom:env(safe-area-inset-bottom,0px);
  }
  *{ box-sizing:inherit; }
  html{ scroll-behavior:smooth; }
  /* ---------- СВОЙ ПОЛЗУНОК ПРОКРУТКИ (вместо верхней полоски, решение владельца 2026-10-10) ---------- */
  html{ scrollbar-width:none; }
  html::-webkit-scrollbar{ display:none; }
  .sbar{ position:fixed; right:0; top:76px; bottom:12px; width:26px; z-index:55; pointer-events:none; }
  .sbar-thumb{
    position:absolute; right:3px; top:0; width:26px; min-height:56px; border-radius:999px;
    pointer-events:auto; touch-action:none; cursor:grab;
    background:transparent; opacity:0.8; transition:opacity .25s ease;
  }
  .sbar-thumb::before{
    content:""; position:absolute; right:0; top:0; bottom:0; width:3px; border-radius:999px;
    background:#fff; box-shadow:0 0 0 1px rgba(47,107,240,0.42), 0 2px 8px rgba(31,64,140,0.34);
    transition:width .18s ease, box-shadow .18s ease, background .18s ease;
  }
  .sbar.show .sbar-thumb, .sbar-thumb:hover{ opacity:1; }
  .sbar.show .sbar-thumb::before{ width:3px; }
  .sbar.drag .sbar-thumb{ opacity:1; cursor:grabbing; }
  .sbar.drag .sbar-thumb::before{ width:6px; background:#fff; box-shadow:0 0 0 1.5px rgba(47,107,240,0.55), 0 3px 12px rgba(31,64,140,0.35); }
  @media (max-width:720px){ .sbar{ top:70px; } }
  html,body{ background:var(--bg); }
  body{ margin:0; font-family:var(--font-body); color:var(--text); line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
  img{ max-width:100%; display:block; }
  a{ color:var(--blue); }
  h1,h2,h3{ font-family:var(--font-display); font-weight:600; margin:0; letter-spacing:-0.01em; color:var(--text); }
  p{ margin:0; }

  .btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:15px 28px; border-radius:999px; font-family:var(--font-display); font-weight:600; font-size:.98rem; text-decoration:none; border:1px solid transparent; cursor:pointer; transition:transform .2s ease, background .25s ease, box-shadow .25s ease; }
  .btn-primary{ background:var(--blue); color:#fff; box-shadow:var(--shadow-sm); }
  .btn-primary:hover{ background:var(--blue-dark); transform:translateY(-2px); }

  /* header */
  header{ position:sticky; top:0; z-index:50; padding-top:env(safe-area-inset-top,0px); background:rgba(246,249,255,.9); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
  .nav{ display:flex; align-items:center; justify-content:space-between; padding:14px 24px; max-width:1120px; margin:0 auto; }
  .brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
  .brand img{ width:32px; height:32px; }
  .brand span{ font-family:var(--font-display); font-weight:600; font-size:1.05rem; color:var(--text); }
  .nav .btn{ padding:10px 20px; font-size:.88rem; }
  .nav-links{ display:flex; gap:28px; }
  .nav-links a{ font-size:.9rem; font-weight:500; color:var(--text-dim); text-decoration:none; }
  .nav-links a:hover{ color:var(--blue); }
  .nav-right{ display:flex; align-items:center; gap:14px; }
  .menu-btn{ display:none; width:38px; height:38px; align-items:center; justify-content:center; background:none; border:1px solid var(--line); border-radius:10px; color:var(--text); cursor:pointer; }
  .menu-btn svg{ width:19px; height:19px; }
  .mobile-menu{ display:none; flex-direction:column; padding:6px 24px 16px; border-top:1px solid var(--line); background:var(--bg); }
  .mobile-menu a{ padding:13px 0; font-size:.98rem; font-weight:500; color:var(--text); text-decoration:none; border-bottom:1px solid var(--line); }
  .mobile-menu a:last-child{ border-bottom:none; }
  .mobile-menu.open{ display:flex; }

  /* ---------- МЕНЮ-КАРТКА (вариант 10 «З підтримкою», решение владельца 2026-10-12) ---------- */
  .mobile-menu{ position:absolute; top:calc(100% + 8px); right:12px; left:auto; width:min(90vw,340px); padding:10px; border:1px solid var(--line); border-radius:22px; background:#fff; box-shadow:0 18px 50px rgba(31,64,140,.22); transform-origin:top right; }
  .mobile-menu.open{ display:flex; animation:menuPop .18s ease; }
  @keyframes menuPop{ from{ opacity:0; transform:scale(.94); } to{ opacity:1; transform:none; } }
  .mobile-menu a{ padding:15px 16px; font-size:1rem; font-weight:500; border-bottom:0; border-radius:14px; }
  .mobile-menu a:active{ background:#EEF3FF; }
  .mobile-menu hr{ border:0; border-top:1px solid var(--line); margin:8px 10px; }
  .mobile-menu .tg-row{ display:flex; align-items:center; gap:14px; padding:13px 16px; }
  .mobile-menu .tg-row .ic{ width:40px; height:40px; border-radius:50%; background:#2F6BF0; color:#fff; display:flex; align-items:center; justify-content:center; flex:none; }
  .mobile-menu .tg-row .ic svg{ width:20px; height:20px; }
  .mobile-menu .tg-row b{ display:block; font-size:.95rem; font-weight:600; }
  .mobile-menu .tg-row small{ display:block; color:#5B6784; font-size:.8rem; font-weight:400; margin-top:2px; }
  .menu-dim{ position:fixed; inset:0; background:rgba(16,25,46,.4); opacity:0; pointer-events:none; transition:opacity .25s; z-index:40; }
  .menu-dim.open{ opacity:1; pointer-events:auto; }
  @media (min-width:861px){ .menu-dim{ display:none; } }
  @media (max-width:860px){ .nav-links{ display:none; } .menu-btn{ display:flex; } .nav .btn .full{ display:none; } .nav .btn .short{ display:inline !important; } }
  @media (min-width:861px){ .mobile-menu{ display:none !important; } }

  /* article */
  .page{ max-width:720px; margin:0 auto; padding:36px 24px 72px; }
  .breadcrumbs{ font-size:.84rem; color:var(--text-faint); margin-bottom:22px; }
  .breadcrumbs a{ color:var(--text-dim); text-decoration:none; }
  .breadcrumbs a:hover{ color:var(--blue); }
  .breadcrumbs .sep{ margin:0 6px; }
  .eyebrow{ display:inline-flex; align-items:center; gap:8px; font-family:var(--font-display); font-size:.8rem; font-weight:600; color:var(--blue-dark); margin-bottom:14px; }
  .eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--blue); }
  h1{ font-size:clamp(1.8rem,4.2vw,2.5rem); line-height:1.15; }
  .article-meta{ margin-top:16px; font-size:.86rem; color:var(--text-faint); }
  .lead{ margin-top:26px; font-size:1.12rem; line-height:1.65; color:var(--text-dim); }

  .tldr{ margin:28px 0; padding:20px 22px; background:var(--blue-soft); border-left:3px solid var(--blue); border-radius:0 var(--radius-s) var(--radius-s) 0; }
  .tldr h2{ font-size:1rem; margin-bottom:10px; }
  .tldr ul{ margin:0; padding-left:1.1rem; }
  .tldr li{ margin:6px 0; font-size:.95rem; }

  .toc{ margin:0 0 8px; padding:18px 22px; background:var(--card); border-radius:var(--radius-s); box-shadow:var(--shadow-sm); }
  .toc h2{ font-size:.95rem; margin-bottom:8px; }
  .toc ol{ margin:0; padding-left:1.2rem; }
  .toc li{ margin:5px 0; font-size:.92rem; }
  .toc a{ text-decoration:none; color:var(--text-dim); }
  .toc a:hover{ color:var(--blue); }

  article h2{ font-size:1.55rem; line-height:1.25; margin:2.6rem 0 1rem; scroll-margin-top:90px; }
  article h3{ font-size:1.05rem; margin:1.4rem 0 .4rem; }
  article p{ margin:0 0 1rem; font-size:1.03rem; line-height:1.75; }
  article ul, article ol{ margin:0 0 1.1rem; padding-left:1.25rem; }
  article li{ margin:.5rem 0; font-size:1.03rem; line-height:1.7; }
  article li strong{ color:var(--text); }

  figure{ margin:1.6rem 0; }
  .fig-ph{ aspect-ratio:16/9; border:1.5px dashed #B9C8EA; border-radius:var(--radius); background:linear-gradient(135deg,#F1F5FF,#E7EEFF); display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:20px; color:var(--blue); font-size:.9rem; font-weight:500; }
  .fig-ph svg{ width:30px; height:30px; margin-bottom:10px; opacity:.6; }
  figcaption{ margin-top:8px; font-size:.84rem; color:var(--text-faint); text-align:center; }

  .cta-box{ margin:2.4rem 0; padding:32px 28px; border-radius:var(--radius); background:linear-gradient(135deg,var(--blue),var(--blue-dark)); color:#fff; text-align:center; box-shadow:var(--shadow); }
  .cta-box h2{ color:#fff; margin:0 0 8px !important; font-size:1.35rem !important; }
  .cta-box p{ color:#DCE6FF; margin:0 0 20px !important; font-size:.98rem !important; }
  .cta-box .btn{ background:#fff; color:var(--blue-dark); }
  .cta-box .btn:hover{ background:#EAF0FF; }

  .author{ margin-top:2.4rem; padding:18px 20px; background:var(--card); border-radius:var(--radius-s); box-shadow:var(--shadow-sm); display:flex; gap:14px; align-items:center; }
  .author img{ width:40px; height:40px; flex-shrink:0; }
  .author strong{ display:block; font-family:var(--font-display); font-size:.95rem; }
  .author span{ font-size:.86rem; color:var(--text-dim); }

  footer{ border-top:1px solid var(--line); padding:40px 0; }
  .footer-wrap{ max-width:1120px; margin:0 auto; padding:0 24px; }
  .footer-row{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; }
  .footer-brand{ display:flex; align-items:center; gap:10px; }
  .footer-brand img{ width:24px; height:24px; }
  .footer-brand span{ font-family:var(--font-display); font-weight:600; }
  .footer-links{ display:flex; gap:24px; flex-wrap:wrap; font-size:.88rem; }
  .footer-links a{ color:var(--text-dim); text-decoration:none; }
  .footer-links a:hover{ color:var(--blue); }
  .footer-legal{ margin-top:24px; font-size:.78rem; color:var(--text-faint); }
  .footer-legal a{ color:inherit; }
  .legal h2{ margin-top:34px; }
  .legal ul{ margin:10px 0 14px 20px; }
  .legal li{ margin-bottom:6px; }
  .btn .tg{ width:18px; height:18px; flex-shrink:0; }
  @media (max-width: 400px){ .nav .btn .tg{ display:none; } }
  /* Название бренда — «капсула» (утверждено владельцем 2026-10-07) */
  span.bn{
    display:inline-block;
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-weight:700;
    white-space:nowrap;
    color:#1E4FCB;
    background:#EAF0FF;
    border:1px solid #D3E0FF;
    border-radius:999px;
    padding:0 12px;
    font-size:0.92em;
    line-height:1.5;
  }
  .brand span.bn, .footer-brand span.bn{ font-size:0.95rem; font-weight:700; color:#1E4FCB; padding:1px 12px; }
  .footer-brand span.bn{ font-size:0.88rem; }
  .footer-legal span.bn{ font-size:0.86em; padding:0 9px; }
  h1 span.bn, h2 span.bn, h3 span.bn{ font-size:0.9em; padding:0 14px; }
  @media (max-width: 400px){ .brand{ gap:6px; } .brand span.bn{ font-size:0.82rem; padding:1px 8px; } }
  /* 2026-10-25: сторінка «Повернення коштів» */
  .legal .note{ margin:16px 0; padding:14px 16px; background:#FFF7E6; color:#6B4A00; border-radius:var(--radius-s); font-size:.95rem; }
  .legal .tpl{ margin:14px 0; padding:16px 18px; background:var(--card,#fff); border:1px dashed var(--line); border-radius:var(--radius-s); }
  .legal .tpl p{ margin:0 0 8px; }
  .legal .tpl ol{ margin:0; padding-left:1.2rem; }
  .legal .tpl li{ margin:6px 0; }
  .legal .tldr h2{ margin:0 0 10px !important; }

  /* ---------- СТРАНИЦА 404 (2026-11-17, аудит SEO-01) ---------- */
  .nf{ text-align:center; padding-top:56px; padding-bottom:72px; }
  .nf-code{ margin:0; font-family:var(--font-display); font-weight:700; font-size:4.5rem; line-height:1; color:var(--blue); letter-spacing:-.02em; }
  .nf h1{ margin-top:14px; }
  .nf .lead{ max-width:520px; margin-left:auto; margin-right:auto; }
  .nf-btns{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin:28px 0 30px; }
  .btn-line{ background:var(--card); color:var(--blue-dark); border-color:var(--line); }
  .btn-line:hover{ border-color:var(--blue); transform:translateY(-2px); }
  .nf-links{ list-style:none; padding:0; margin:0 auto; max-width:440px; text-align:left; border-top:1px solid var(--line); }
  .nf-links li{ border-bottom:1px solid var(--line); }
  .nf-links a{ display:block; padding:14px 4px; color:var(--text); text-decoration:none; font-weight:500; }
  .nf-links a::after{ content:"›"; float:right; color:var(--blue); }
  .nf-links a:hover{ color:var(--blue-dark); }
