  :root {
    --ink:        oklch(16% 0.02 242);
    --surface:    oklch(20% 0.024 242);
    --surface-2:  oklch(24% 0.028 242);
    --line:       oklch(100% 0 0 / 0.10);
    --line-strong:oklch(100% 0 0 / 0.20);
    --paper:      oklch(97% 0.012 90);
    --text:       oklch(87% 0.02 220);
    --muted:      oklch(74% 0.03 220);
    --muted-2:    oklch(58% 0.03 220);
    --gold:       oklch(76% 0.11 78);
    --gold-dim:   oklch(76% 0.11 78 / 0.12);
    --gold-line:  oklch(76% 0.11 78 / 0.35);

    --font-display: 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;

    --nav-h: 76px;
    --z-nav: 40;
    --z-whatsapp: 45;
    --z-mobile-menu: 50;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  }

  body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--ink);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  img { max-width: 100%; display: block; }
  a { color: inherit; }
  ::selection { background: var(--gold-dim); color: var(--paper); }

  a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
  }

  .skip-link {
    position: absolute; left: 16px; top: -60px;
    background: var(--gold); color: #1a1305;
    padding: 10px 16px; border-radius: 6px; font-weight: 600;
    z-index: 100; transition: top 0.2s ease;
  }
  .skip-link:focus { top: 16px; }

  .mono { font-family: var(--font-mono); }

  .container {
    width: min(1180px, 100% - 48px);
    margin: 0 auto;
  }

  h1, h2, h3 {
    margin: 0;
    color: var(--paper);
    font-family: var(--font-display);
    font-weight: 600;
    text-wrap: balance;
  }

  p { margin: 0; }
  p.prose, .prose p { text-wrap: pretty; }

  h1 {
    font-size: clamp(2.5rem, 5.6vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
  }

  h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
  }

  h3 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -0.01em; }

  .kicker {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
  }

  .section-head { max-width: 640px; margin-bottom: 44px; }
  .section-head h2 { margin-bottom: 14px; }
  .section-head p { color: var(--muted); font-size: 17px; max-width: 560px; }

  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
    padding: 13px 22px;
    min-height: 44px;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s cubic-bezier(0.16,1,0.3,1);
  }

  .button.primary {
    background: var(--gold-dim);
    color: var(--paper);
    border-color: var(--gold-line);
  }
  .button.primary:hover { background: oklch(76% 0.11 78 / 0.2); border-color: var(--gold); }

  .button.secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--line-strong);
  }
  .button.secondary:hover { border-color: var(--muted); background: oklch(100% 0 0 / 0.03); }

  .button.small { padding: 10px 16px; font-size: 13px; min-height: 40px; }

  /* ===== nav ===== */
  .topbar {
    position: sticky; top: 0; z-index: var(--z-nav);
    height: var(--nav-h);
    display: flex; align-items: center;
    background: oklch(16% 0.02 242 / 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }

  .topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

  .brand { display: flex; align-items: center; text-decoration: none; }
  .brand .name {
    font-family: var(--font-display); font-weight: 700; font-size: 19px;
    color: var(--paper); letter-spacing: -0.01em;
  }
  .brand .name span { color: var(--gold); }

  .nav-links { display: flex; align-items: center; gap: 32px; }
  .nav-links a {
    white-space: nowrap;
    text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500;
    padding-bottom: 4px; border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
  }
  .nav-links a:hover { color: var(--paper); border-color: var(--gold-line); }

  /* services dropdown (pure CSS: opens on hover and on keyboard focus) */
  .nav-dropdown { position: relative; }
  .nav-dropdown > a { display: inline-flex; align-items: center; gap: 7px; }
  .nav-dropdown > a::after {
    content: ''; width: 5px; height: 5px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px); opacity: 0.7;
    transition: transform 0.2s ease;
  }
  .nav-dropdown:hover > a::after, .nav-dropdown:focus-within > a::after { transform: rotate(225deg) translateY(-1px); }
  .dropdown-panel {
    position: absolute; top: 100%; left: -18px; padding-top: 18px; min-width: 290px;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
  .dropdown-inner {
    display: grid; gap: 2px; padding: 8px;
    background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px;
    box-shadow: 0 18px 44px rgba(0,0,0,0.45);
  }
  .nav-links .dropdown-inner a {
    display: block; padding: 12px 14px; border: 0; border-radius: 6px;
    color: var(--paper); font-size: 14px; font-weight: 600;
  }
  .nav-links .dropdown-inner a small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; font-weight: 400; }
  .nav-links .dropdown-inner a:hover { background: oklch(100% 0 0 / 0.05); border: 0; }

  .nav-right { display: flex; align-items: center; gap: 16px; }

  /* language toggle */
  .lang-toggle {
    display: inline-flex; align-items: center; padding: 4px;
    background: oklch(100% 0 0 / 0.03); border: 1px solid var(--line);
    border-radius: 6px; gap: 2px; flex-shrink: 0;
  }
  .lang-toggle button {
    border: 0; background: transparent; color: var(--muted);
    padding: 8px 11px; min-height: 34px; border-radius: 6px;
    font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: 0.01em;
    cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease;
  }
  .lang-toggle button.active { background: var(--gold); color: #1a1305; font-weight: 700; }
  .lang-toggle button:hover:not(.active) { color: var(--paper); }

  .mobile-menu .lang-toggle { padding: 6px; gap: 4px; align-self: flex-start; }
  .mobile-menu .lang-toggle button { padding: 10px 16px; font-size: 13px; min-height: 44px; }

  .menu-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-strong);
    border-radius: 6px; cursor: pointer; flex-shrink: 0;
  }
  .menu-toggle span { width: 18px; height: 2px; background: var(--paper); margin: 0 auto; transition: transform 0.25s ease, opacity 0.25s ease; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    position: fixed; inset: 0; top: var(--nav-h);
    background: var(--ink);
    z-index: var(--z-mobile-menu);
    display: flex; flex-direction: column; gap: 26px;
    padding: 36px 24px 40px;
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    overflow-y: auto;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-menu a.nav-link { text-decoration: none; color: var(--paper); font-family: var(--font-display); font-size: 26px; font-weight: 600; }
  .mobile-menu a.nav-sub { font-size: 18px; font-weight: 500; color: var(--muted); margin-top: -14px; padding-left: 16px; }
  .mobile-menu .button { align-self: flex-start; margin-top: 4px; }

  /* ===== hero ===== */
  .hero { padding: 76px 0 88px; }
  .hero-copy { max-width: 760px; }
  .hero-copy h1 { margin-bottom: 22px; color: #F3ECE0; }
  .hero-sub { color: var(--muted); font-size: 18px; max-width: 620px; margin-bottom: 36px; }
  .hero-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

  /* taller, Teneo-style opening screen on desktop */
  @media (min-width: 861px) {
    .hero { min-height: min(calc(100svh - var(--nav-h)), 780px); display: flex; align-items: center; }
  }

  /* inner pages (services, how we work, about, FAQ): compact header in the same voice as the hero */
  .page-hero { padding: 72px 0 40px; }
  .page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); color: #F3ECE0; margin-bottom: 16px; }
  .page-hero p { color: var(--muted); font-size: 18px; max-width: 620px; }
  html:lang(ru) .page-hero h1, html:lang(uk) .page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; }

  /* Cyrillic runs ~25% longer than English: a slightly smaller, tighter H1 keeps it to three lines */
  html:lang(ru) h1, html:lang(uk) h1 { font-size: clamp(2.1rem, 4.4vw, 3.7rem); line-height: 1.1; letter-spacing: -0.015em; }

  /* hero artwork: abstract finance chart / health pulse, sits behind the copy */
  .hero { position: relative; overflow: hidden; }
  .hero > .container { position: relative; z-index: 1; }
  .hero-art {
    position: absolute; top: 0; bottom: 0; right: 0; width: min(60%, 900px);
    display: flex; align-items: center; justify-content: flex-end; pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 20%, #000 54%);
    mask-image: linear-gradient(to right, transparent 0%, transparent 20%, #000 54%);
  }
  .hero-art svg { width: 100%; height: auto; max-height: 100%; overflow: visible; }
  .art-grid { stroke: oklch(100% 0 0 / 0.07); stroke-width: 1; fill: none; }
  .art-bar { fill: oklch(100% 0 0 / 0.05); }
  .art-bar.fc { fill: oklch(76% 0.11 78 / 0.09); }
  .art-line { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.75; stroke-dasharray: 1; stroke-dashoffset: 0; }
  .art-cone { fill: oklch(76% 0.11 78 / 0.08); stroke: none; }
  .art-fc { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 9; opacity: 0.7; }
  .art-today { fill: none; stroke: oklch(100% 0 0 / 0.16); stroke-width: 1; stroke-dasharray: 3 7; }
  .art-dot { fill: var(--gold); }
  .art-ring { fill: none; stroke: oklch(76% 0.11 78 / 0.4); stroke-width: 1.5; }
  .art-gauge-bg { fill: none; stroke: oklch(100% 0 0 / 0.06); stroke-width: 12; }
  .art-gauge { fill: none; stroke: var(--gold); stroke-width: 12; stroke-linecap: round; opacity: 0.5; stroke-dasharray: 0.72 1; }

  @media (prefers-reduced-motion: no-preference) {
    .art-draw { animation: art-draw 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both; }
    .art-fade { animation: art-fade 1.4s ease-out 1.5s both; }
    .art-gauge { animation: art-gauge 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both; }
    @keyframes art-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
    @keyframes art-fade { from { opacity: 0; } to { opacity: 1; } }
    @keyframes art-gauge { from { stroke-dasharray: 0 1; } to { stroke-dasharray: 0.72 1; } }
  }

  /* ===== sections ===== */
  .section { padding: 100px 0; }
  .section.tight { padding: 80px 0; }
  .section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

  /* comparison */
  .compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
  .compare-col { border-radius: 14px; padding: 30px 28px; border: 1px solid var(--line); background: var(--ink); }
  .compare-col.now { border-color: var(--gold-line); background: var(--surface-2); }
  .compare-label { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; color: var(--muted-2); margin-bottom: 16px; }
  .compare-col.now .compare-label { color: var(--gold); }
  .compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
  .compare-col li { color: var(--muted); font-size: 15px; padding-left: 20px; position: relative; }
  .compare-col li::before { content: '–'; position: absolute; left: 0; color: var(--muted-2); }
  .compare-col.now li { color: var(--text); }
  .compare-col.now li::before { content: '→'; color: var(--gold); }
  .compare-close { font-size: 17px; color: var(--paper); max-width: 720px; font-family: var(--font-display); font-weight: 500; line-height: 1.5; }

  /* pain cards */
  .pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 30px; }
  .pain-card { border: 1px solid var(--line); border-radius: 14px; padding: 28px; background: var(--surface); }
  .pain-card h3 { margin-bottom: 10px; font-size: 19px; }
  .pain-card p { color: var(--muted); font-size: 15px; }
  .filter-line { color: var(--muted-2); font-size: 14px; border-top: 1px solid var(--line); padding-top: 22px; }
  .filter-line strong { color: var(--muted); font-weight: 600; }

  /* three areas */
  .areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .area-card { border: 1px solid var(--line); border-radius: 14px; padding: 30px 26px; background: var(--ink); }
  .area-card .n { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: -0.005em; color: var(--gold); margin-bottom: 16px; display: block; }
  .area-card h3 { margin-bottom: 12px; }
  .area-card p { color: var(--muted); font-size: 14.5px; }

  /* services */
  .service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .service-panel {
    display: flex; flex-direction: column; scroll-margin-top: 96px;
    border: 1px solid var(--line); border-radius: 16px; background: var(--ink);
    padding: 36px 34px 34px;
  }
  .service-panel.primary { border-color: var(--gold-line); background: var(--surface-2); }
  .service-panel .tag { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: -0.005em; color: var(--muted-2); margin-bottom: 14px; }
  .service-panel.primary .tag { color: var(--gold); }
  .service-panel h3 { font-size: 26px; margin-bottom: 12px; }
  .service-panel .lead { color: var(--muted); font-size: 15.5px; margin-bottom: 26px; max-width: 470px; }
  .service-list { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid var(--line); }
  .service-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .service-list b { display: block; color: var(--paper); font-weight: 600; font-size: 15.5px; margin-bottom: 4px; }
  .service-list span { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
  .service-panel .button { align-self: flex-start; margin-top: auto; }
  .service-stack { display: grid; gap: 18px; }
  .service-groups { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; margin-bottom: 32px; }
  .service-group h4 { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -0.005em; color: var(--muted-2); margin-bottom: 14px; }
  .service-group.main h4 { color: var(--gold); }
  .service-group .service-list { margin-bottom: 0; }
  .service-group.main .service-list b { font-size: 17px; }
  .service-also { padding: 28px 34px 30px; background: var(--ink); }
  .service-also h3 { font-size: 20px; margin-bottom: 8px; }
  .service-also .lead { margin-bottom: 20px; }
  .service-also .service-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 44px; border-top: 0; margin-bottom: 24px; }
  .service-also .service-list li { border-top: 1px solid var(--line); border-bottom: 0; padding: 14px 0; }

  /* free health check promo bar (home page) */
  .promo {
    display: flex; align-items: center; justify-content: space-between; gap: 28px;
    margin-top: 40px; padding: 28px 32px;
    border: 1px solid var(--gold-line); border-radius: 14px; background: var(--surface-2);
  }
  .promo h3 { font-size: 21px; margin-bottom: 6px; }
  .promo p { color: var(--muted); font-size: 15px; max-width: 520px; }
  .promo .button { flex-shrink: 0; }

  /* health check page */
  .hero-note { color: var(--muted-2); font-size: 13.5px; margin-top: 18px; }
  .split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
  .split .section-head { margin-bottom: 0; }
  .check-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 1px solid var(--line); }
  .check-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
  .check-item h3 { font-size: 18px; margin-bottom: 6px; }
  .check-item p { color: var(--muted); font-size: 15px; }
  .plain-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
  .plain-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .plain-list b { display: block; color: var(--paper); font-weight: 600; font-size: 16px; margin-bottom: 4px; }
  .plain-list span { color: var(--muted); font-size: 15px; }
  .nav-links a[aria-current="page"] { color: var(--paper); border-color: var(--gold-line); }

  /* work formats */
  .format-primary {
    border: 1px solid var(--gold-line); border-radius: 16px; background: var(--surface-2);
    padding: 40px; margin-bottom: 18px;
    display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 32px; align-items: center;
  }
  .format-primary .tag { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: -0.005em; color: var(--gold); margin-bottom: 14px; }
  .format-primary h3 { font-size: 24px; margin-bottom: 14px; }
  .format-primary p { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
  .format-primary .fine { color: var(--muted-2); font-size: 13px; font-style: italic; }
  .format-primary .action { text-align: right; }

  .format-secondary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 30px; }
  .format-card { border: 1px solid var(--line); border-radius: 14px; padding: 28px; background: var(--surface); display: flex; flex-direction: column; gap: 14px; }
  .format-card .tag { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: -0.005em; color: var(--muted-2); }
  .format-card h3 { font-size: 19px; }
  .format-card p { color: var(--muted); font-size: 14px; }
  .format-card .fine { color: var(--muted-2); font-size: 12.5px; font-style: italic; }
  .format-card .button { align-self: flex-start; margin-top: 4px; }

  .fd-compare { color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); padding-top: 24px; max-width: 640px; }
  .fd-compare strong { color: var(--paper); }

  /* about */
  .about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
  .photo-wrap {
    border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
    background: var(--surface); position: relative;
  }
  .photo-wrap img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) contrast(1.04); }
  .about-copy p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
  .about-copy p:last-of-type { margin-bottom: 0; }
  .about-copy strong { color: var(--paper); }
  .credentials { list-style: none; margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 28px; }
  .credentials li { font-family: var(--font-body); font-weight: 500; font-size: 13.5px; color: var(--muted); }
  .credentials li::before { content: '· '; color: var(--gold); }

  /* process */
  .process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 44px; }
  .step { position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 32px 26px 28px; background: var(--surface); overflow: hidden; min-height: 220px; }
  .step .ghost-num { position: absolute; top: 4px; right: 14px; font-family: var(--font-mono); font-size: 76px; font-weight: 600; color: var(--gold); opacity: 0.14; line-height: 1; user-select: none; }
  .step h3 { margin-bottom: 12px; position: relative; }
  .step p { color: var(--muted); font-size: 15px; position: relative; }
  .process-tag { text-align: center; font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--paper); font-weight: 600; letter-spacing: -0.01em; }
  .process-tag span { color: var(--gold); }

  /* recent work */
  .case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .case-card { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 34px; }
  .case-card .tag { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: -0.005em; color: var(--gold); margin-bottom: 16px; }
  .case-card h3 { font-size: 21px; margin-bottom: 16px; }
  .case-card p { color: var(--muted); font-size: 15.5px; }

  /* faq */
  .faq-list { display: grid; gap: 12px; }
  details.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 4px 22px; }
  details.faq-item[open] { border-color: var(--line-strong); }
  details.faq-item summary {
    list-style: none; cursor: pointer; padding: 19px 0; display: flex; align-items: center;
    justify-content: space-between; gap: 16px; font-weight: 600; color: var(--paper); font-size: 15.5px;
  }
  details.faq-item summary::-webkit-details-marker { display: none; }
  .faq-icon { font-family: var(--font-mono); color: var(--gold); font-size: 18px; flex-shrink: 0; transition: transform 0.2s ease; }
  details.faq-item[open] .faq-icon { transform: rotate(45deg); }
  .faq-item .faq-a { color: var(--muted); font-size: 15px; padding: 0 0 22px; max-width: 700px; }

  /* final cta */
  .final-cta { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
  .final-cta-inner { padding: 84px 0; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center; }
  .final-cta h2 { margin-bottom: 16px; }
  .final-cta p { color: var(--muted); font-size: 16px; max-width: 540px; }
  .final-cta .action { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
  .final-cta .action small { color: var(--muted-2); font-size: 13px; }

  /* footer */
  footer { padding: 48px 0 40px; }
  .footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
  .footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; }
  .footer-links a { text-decoration: none; color: var(--muted); }
  .footer-links a:hover { color: var(--paper); }
  .disclaimer { padding-top: 22px; font-size: 12px; line-height: 1.7; color: var(--muted-2); max-width: 820px; }
  .copyright { margin-top: 14px; font-size: 12px; color: var(--muted-2); }

  /* multi-page helpers */
  .page-hero + .section { padding-top: 56px; }
  .section.alt .step { background: var(--ink); }
  .section.alt:has(+ .final-cta) { border-bottom: 0; }
  .section.alt + .final-cta { border-top: 0; }
  .section-cta { margin-top: 32px; }
  .footer-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .footer-nav a { color: var(--muted); text-decoration: none; }
  .footer-nav a:hover { color: var(--paper); }

  /* ===== whatsapp popup ===== */
  .whatsapp-popup {
    position: fixed; left: 50%; bottom: 28px; z-index: var(--z-whatsapp);
    display: flex; align-items: center; gap: 8px;
    opacity: 0; transform: translateX(-50%) translateY(16px) scale(0.92);
    transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1);
  }
  .whatsapp-popup.in { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
  .whatsapp-popup.dismissed { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(16px) scale(0.92); }

  /* dark pill that matches the site; only the icon is WhatsApp green (white-on-green text had ~2:1 contrast) */
  .wa-pill {
    display: flex; align-items: center; gap: 12px;
    background: var(--surface-2); color: var(--paper); text-decoration: none;
    border: 1px solid var(--line-strong);
    padding: 7px 22px 7px 7px; border-radius: 999px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.45), 0 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s ease, border-color 0.25s ease;
  }
  .wa-pill:hover, .wa-pill:focus-visible {
    transform: translateY(-3px) scale(1.03); border-color: #25D366;
    box-shadow: 0 18px 40px rgba(0,0,0,0.5), 0 2px 10px rgba(0,0,0,0.3);
  }

  .wa-icon {
    position: relative; width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    background: #25D366; display: flex; align-items: center; justify-content: center;
  }
  .wa-icon svg { width: 24px; height: 24px; fill: #fff; position: relative; z-index: 1; }
  .wa-ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid #25D366;
    animation: wa-pulse 2.4s cubic-bezier(0.2,0.6,0.4,1) infinite;
  }
  .wa-ring.wa-ring-2 { animation-delay: 1.2s; }
  @keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.9); opacity: 0; }
  }

  .wa-text { font-family: var(--font-body); font-weight: 500; font-size: 15px; letter-spacing: 0; white-space: nowrap; }

  .wa-dismiss {
    width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
    background: var(--surface); border: 1px solid var(--line-strong); color: var(--muted);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }
  .wa-dismiss:hover, .wa-dismiss:focus-visible { color: var(--paper); border-color: var(--muted); }
  .wa-dismiss svg { width: 13px; height: 13px; }

  @media (max-width: 620px) {
    .whatsapp-popup { left: 16px; right: 16px; bottom: 16px; transform: translateY(16px) scale(0.94); }
    .whatsapp-popup.in { transform: translateY(0) scale(1); }
    .whatsapp-popup.dismissed { transform: translateY(16px) scale(0.94); }
    .wa-pill { flex: 1; justify-content: center; }
    .wa-text { font-size: 14px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .whatsapp-popup { transition: none; }
    .wa-ring { animation: none; opacity: 0; }
  }

  /* ===== reveal-on-scroll ===== */
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1); }
  .reveal.in { opacity: 1; transform: translateY(0); }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
  }

  /* ===== responsive ===== */
  @media (max-width: 1024px) {
    .about-grid, .format-primary, .final-cta-inner { grid-template-columns: 1fr; }
    .format-primary .action { text-align: left; }
    .areas { grid-template-columns: 1fr; }
  }

  /* five nav items + language toggle + CTA need more room than the old 860px switch (RU/UA labels are long) */
  @media (max-width: 1180px) {
    .nav-links { display: none; }
    .topbar .lang-toggle { display: none; }
    .menu-toggle { display: flex; }
  }

  @media (max-width: 860px) {
    /* phones/tablets: the artwork gets its own strip under the buttons instead of running behind them */
    .hero { padding-bottom: 210px; }
    .hero-art {
      top: auto; width: 100%; height: 200px; align-items: flex-end; opacity: 0.8;
      -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 45%);
      mask-image: linear-gradient(to bottom, transparent 0%, #000 45%);
    }
    .hero-art svg { width: 100%; height: 100%; }
    .compare { grid-template-columns: 1fr; }
    .pain-grid { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr; }
    .service-groups { grid-template-columns: 1fr; gap: 30px; }
    .service-also .service-list { grid-template-columns: 1fr; }
    .check-grid { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; gap: 28px; }
    .split .section-head { margin-bottom: 0; }
    .promo { flex-direction: column; align-items: flex-start; }
    .format-secondary-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .case-grid { grid-template-columns: 1fr; }
  }

  @media (max-width: 620px) {
    .container { width: min(100% - 32px, 1180px); }
    .section { padding: 68px 0; }
    .section.tight { padding: 56px 0; }
    .hero { padding: 44px 0 210px; }
    .service-panel { padding: 28px 24px 26px; }
    .promo { padding: 24px 22px; }
    .format-primary { padding: 28px; }
    .final-cta-inner { padding: 60px 0; }
    .compare-close { font-size: 16px; }
    /* long RU/UA CTA sentences can exceed a nowrap button's width at narrow viewports — let them wrap */
    .button { white-space: normal; text-align: center; }
  }

  @media (max-width: 479px) {
    .nav-right { gap: 8px; }
    .topbar .nav-right .button.primary { display: none; }
  }
