  :root {
    --bg: #131417;
    --bg-raise: #1b1d22;
    --line: #2a2d34;
    --text: #eceae5;
    --text-dim: #a09d96;
    --accent: #e6a24e;
    --accent-soft: rgba(230, 162, 78, 0.12);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

  /* Header */
  header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(19, 20, 23, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
  .logo { font-weight: 700; letter-spacing: 0.02em; font-size: 22px; color: var(--text); text-decoration: none; }
  .logo span { color: var(--accent); }
  .nav a.cta-mini {
    background: var(--accent); color: #17130c; text-decoration: none;
    padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 15px;
  }
  .nav a.cta-mini:hover { filter: brightness(1.08); }

  /* Hero */
  .hero { padding-block: 84px 72px; }
  .hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
  .kicker {
    display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--accent);
    background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
  }
  h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 750; }
  .hero p.lede { margin: 22px 0 32px; font-size: 18px; color: var(--text-dim); max-width: 46ch; }
  .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
  .btn {
    display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px;
    padding: 14px 26px; border-radius: 10px;
  }
  .btn-primary { background: var(--accent); color: #17130c; }
  .btn-primary:hover { filter: brightness(1.08); }
  .btn-ghost { border: 1px solid var(--line); color: var(--text); }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
  /* три первых вопроса клиента — срок, цена, правки — прямо под кнопками */
  .hero-terms { margin-top: 20px; font-size: 14px; color: var(--text-dim); max-width: 46ch; }
  .hero-terms b { color: var(--text); }
  .hero-video-box { justify-self: center; width: 100%; }
  .hero-video {
    width: 100%; aspect-ratio: 16 / 9; border-radius: 16px;
    object-fit: cover; border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    display: block; cursor: pointer;
  }
  .hero-hint { display: block; margin-top: 10px; font-size: 12px; color: var(--text-dim); text-align: center; }

  /* Proof bar */
  .proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-raise); }
  /* auto-fit: пунктов пять, жёсткая четвёрка оставляла пятый сиротой */
  .proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 24px; padding-block: 34px; }
  .proof-item strong { display: block; font-size: 26px; letter-spacing: -0.01em; color: var(--text); }
  .proof-item span { font-size: 14px; color: var(--text-dim); }
  /* проверяемые пункты ведут на профиль Upwork — клиент может убедиться сам */
  a.proof-item { display: block; text-decoration: none; color: inherit; }
  a.proof-item span { border-bottom: 1px dotted var(--line); }
  a.proof-item:hover strong { color: var(--accent); }
  a.proof-item:hover span { color: var(--text); border-bottom-color: var(--accent); }

  /* Sections */
  section { padding: 80px 0; }
  .sec-head { margin-bottom: 44px; max-width: 60ch; }
  .sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.015em; margin-bottom: 12px; }
  .sec-head p { color: var(--text-dim); font-size: 17px; }

  /* Work */
  .work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .work-card { background: var(--bg-raise); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease; }
  .work-card:hover, .work-card:focus-within { transform: translateY(-4px); border-color: var(--accent); }
  .work-card video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; cursor: pointer; background: #000; }
  .work-meta { padding: 18px 20px 20px; }
  .work-meta h3 { font-size: 17px; margin-bottom: 6px; }
  .work-meta p { font-size: 14px; color: var(--text-dim); }

  /* Play affordance поверх видео */
  .vid { position: relative; display: block; }
  .play-badge {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 74px; height: 74px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(10, 12, 16, 0.62); backdrop-filter: blur(3px);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.28), 0 10px 30px rgba(0,0,0,0.45);
    display: grid; place-items: center; transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease;
  }
  .play-badge:hover { transform: translate(-50%, -50%) scale(1.07); background: rgba(10, 12, 16, 0.78); }
  .play-badge::before {
    content: ""; width: 0; height: 0; margin-left: 5px;
    border-left: 22px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent;
  }
  .play-label {
    position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
    font-size: 13px; letter-spacing: 0.01em; color: #fff; white-space: nowrap;
    background: rgba(10, 12, 16, 0.62); padding: 6px 12px; border-radius: 999px;
    transition: opacity 0.18s ease;
  }
  .vid.playing .play-badge, .vid.playing .play-label { opacity: 0; pointer-events: none; }

  /* Case study */
  .case-box { background: var(--bg-raise); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
  .case-box video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; cursor: pointer; background: #000; }
  .case-meta { padding: 26px 28px 28px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
  .case-meta p { font-size: 15px; color: var(--text-dim); }
  .case-meta h3 { font-size: 19px; margin-bottom: 10px; }
  .case-facts { list-style: none; display: grid; gap: 10px; align-content: start; }
  .case-facts li { font-size: 14px; color: var(--text-dim); }
  .case-facts b { color: var(--text); }
  .case-note { font-size: 12px; color: var(--text-dim); opacity: 0.75; margin-top: 16px; }
  @media (max-width: 720px) { .case-meta { grid-template-columns: 1fr; gap: 18px; } }

  /* Services */
  /* auto-fit, а не жёсткие 3 колонки: с 7 офферами тройка давала последнюю
     строку из одной карточки-сироты. Так на десктопе выходит 4+3. */
  .svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
  .svc-card, .vert-card {
    background: var(--bg-raise); border: 1px solid var(--line); border-radius: 16px;
    padding: 28px 26px; display: flex; flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
  }
  .svc-card:hover, .vert-card:hover { transform: translateY(-4px); border-color: var(--accent); }
  video[role="button"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .svc-card h3, .vert-card h3 { font-size: 19px; margin-bottom: 10px; }
  .svc-card p, .vert-card p { font-size: 15px; color: var(--text-dim); flex: 1; }
  .svc-foot { margin-top: 22px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .svc-price { font-size: 15px; }
  .svc-price strong { color: var(--accent); font-size: 22px; }
  /* письмо с уже названной услугой в теме — клиенту не надо ничего формулировать */
  /* Зона тапа 44 px по норме Apple HIG и WCAG 2.5.5: padding растит область,
     отрицательный margin возвращает её из раскладки — визуально ничего не сдвигается. */
  .svc-cta { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap;
    display: inline-block; padding-block: 11px; margin-block: -11px; }
  .svc-cta:hover { text-decoration: underline; }
  .svc-note { margin-top: 36px; padding: 20px 24px; border: 1px dashed var(--line); border-radius: 12px; color: var(--text-dim); font-size: 15px; }
  .svc-note b { color: var(--text); }

  /* Reviews — дословные отзывы с Upwork */
  .rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
  .rev-card { background: var(--bg-raise); border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px; display: flex; flex-direction: column; }
  .rev-stars { color: var(--accent); font-size: 15px; letter-spacing: 0.08em; margin-bottom: 14px; }
  .rev-card blockquote { font-size: 16px; line-height: 1.62; color: var(--text); flex: 1; }
  .rev-who { margin-top: 18px; font-size: 14px; color: var(--text-dim); }
  .rev-who a { color: var(--accent); text-decoration: none; }
  .rev-who a:hover { text-decoration: underline; }

  /* FAQ — details/summary, без JS */
  .faq { max-width: 78ch; }
  .faq details { border-bottom: 1px solid var(--line); }
  .faq details:first-of-type { border-top: 1px solid var(--line); }
  .faq summary {
    list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative;
    font-size: 17px; font-weight: 600; color: var(--text);
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    font-size: 24px; font-weight: 400; color: var(--accent); line-height: 1;
  }
  .faq details[open] summary::after { content: "−"; }
  .faq summary:hover { color: var(--accent); }
  .faq .answer { padding: 0 36px 22px 0; font-size: 15px; color: var(--text-dim); }
  .faq .answer p + p { margin-top: 12px; }
  .faq .answer b { color: var(--text); }

  /* Process */
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
  .step { position: relative; padding-top: 14px; }
  .step::before {
    counter-increment: step; content: "0" counter(step);
    font-size: 40px; font-weight: 750; color: var(--accent-soft);
    -webkit-text-stroke: 1px var(--accent); color: transparent;
    display: block; margin-bottom: 12px; letter-spacing: 0.02em;
  }
  .step h3 { font-size: 16px; margin-bottom: 8px; }
  .step p { font-size: 14px; color: var(--text-dim); }

  /* About / trust */
  .about { background: var(--bg-raise); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .about-inner { max-width: 68ch; }
  .about-inner p { font-size: 17px; color: var(--text-dim); margin-bottom: 16px; }
  .about-inner p b { color: var(--text); }

  /* Final CTA */
  .final { text-align: center; padding: 96px 0; }
  .final h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; margin-bottom: 16px; }
  .final p { color: var(--text-dim); font-size: 17px; margin-bottom: 34px; }
  .final .btn-row { justify-content: center; }
  /* запасной путь: на телефоне без почтового клиента mailto молча ничего не делает */
  .copy-btn { border: 1px solid var(--line); background: none; color: var(--text); font: inherit; font-weight: 600; font-size: 16px; padding: 14px 26px; border-radius: 10px; cursor: pointer; }
  .copy-btn:hover { border-color: var(--accent); color: var(--accent); }
  .final .hint-line { margin-top: 18px; font-size: 14px; color: var(--text-dim); }
  .contact-alt { margin-top: 26px; font-size: 15px; color: var(--text-dim); }
  .contact-alt a { color: var(--accent); text-decoration: none; }
  .contact-alt a:hover { text-decoration: underline; }

  footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 13px; color: var(--text-dim); }
  .foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  /* CAN-SPAM: почтовый адрес обязан быть виден в каждом коммерческом письме и на сайте */
  .foot-addr { display: block; margin-top: 6px; font-style: normal; color: var(--text-dim); }

  @media (max-width: 860px) {
    .hero { padding-block: 56px 48px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-video { justify-self: start; }
    .work-grid, .svc-grid, .steps { grid-template-columns: 1fr; }
    section { padding: 56px 0; }
  }

    .ba-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:8px}
    .ba-item{margin:0}
    .ba-item .vid{margin:0}
    .ba-item video{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;background:#000;border-radius:12px;cursor:pointer}
    .ba-cap{margin-top:10px;font-size:14px;line-height:1.45}
    .ba-cap b{display:block;font-size:15px;margin-bottom:2px}
    @media (max-width:760px){.ba-grid{grid-template-columns:1fr}}
    .shot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:8px}
    .shot{margin:0}
    .shot img{width:100%;height:auto;display:block;border-radius:10px}
    .shot figcaption{margin-top:8px;font-size:14px;opacity:.72}
    @media (max-width:700px){.shot-grid{grid-template-columns:1fr}}
  
    .hook-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:8px}
    .hookcell{margin:0}
    .hookcell video{width:100%;height:auto;display:block;border-radius:8px;cursor:pointer}
    .hookcell figcaption{margin-top:6px;font-size:13px;opacity:.7}
    .hook-facts{margin-top:18px}
    @media (max-width:900px){.hook-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
  
    .hook-sub{margin:28px 0 10px;font-size:15px;font-weight:600;opacity:.8}
    .hook-grid.vertical .hookcell video{aspect-ratio:9/16;object-fit:cover}

  /* Меню разделов (07.10.2026). Размеры сняты с шапок конкурентов: высота 74-128 px,
     пункты 15-18 px, светлые, у Explainify, Yum Yum и Knowlify раскрываются списком услуг. */
  .menu { display: flex; gap: 6px; margin-left: auto; margin-right: 26px; height: 100%; }
  .menu-item { position: relative; display: flex; align-items: center; }
  .menu-top { color: var(--text); text-decoration: none; font-size: 16px; font-weight: 600;
    padding: 10px 14px; border-radius: 8px; position: relative; }
  .menu-top::after { content: ""; margin-left: 7px; display: inline-block; width: 6px; height: 6px;
    border-right: 2px solid var(--text-dim); border-bottom: 2px solid var(--text-dim);
    transform: translateY(-3px) rotate(45deg); }
  .menu-item:hover .menu-top, .menu-item:focus-within .menu-top { color: var(--accent); background: var(--accent-soft); }
  /* текущий раздел: акцентная черта по нижнему краю шапки */
  .menu-top[aria-current="page"] { color: var(--accent); }
  .menu-top[aria-current="page"]::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: -19px;
    height: 3px; border-radius: 2px; background: var(--accent); }
  .menu-drop { position: absolute; top: 100%; left: 0; min-width: 250px; padding: 10px;
    background: var(--bg-raise); border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.45); display: none; flex-direction: column; }
  .menu-item:hover .menu-drop, .menu-item:focus-within .menu-drop { display: flex; }
  .menu-drop a { color: var(--text); text-decoration: none; font-size: 15px; padding: 9px 12px; border-radius: 8px; white-space: nowrap; }
  .menu-drop a:hover { background: var(--accent-soft); color: var(--accent); }
  /* телефон: вместо выпадающих списков вторая строка шапки с четырьмя разделами */
  .menu-m { display: none; }
  @media (max-width: 860px) {
    .menu { display: none; }
    .nav { height: 64px; }
    .logo { font-size: 19px; }
    .menu-m { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between;
      gap: 4px; padding: 0 16px 10px; }
    .menu-m a { color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600;
      padding: 8px 4px; border-bottom: 2px solid transparent; text-align: center; white-space: nowrap; }
    .menu-m a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
  }
  .page-head { padding-block: 64px 8px; }
  .page-head .lede { margin: 18px 0 26px; font-size: 18px; color: var(--text-dim); max-width: 60ch; }
  .chips { display: flex; flex-wrap: wrap; gap: 10px; }
  .chips a { font-size: 14px; color: var(--text); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
  .chips a:hover { border-color: var(--accent); color: var(--accent); }
  a.area-card { text-decoration: none; color: inherit; }
  /* четыре раздела: 2x2, иначе auto-fit даёт 3+1 с карточкой-сиротой */
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  @media (max-width: 860px) { .area-grid { grid-template-columns: 1fr; } }
  .sec-head p a { color: var(--accent); }
  /* под липкой шапкой якорь не должен прятать заголовок секции */
  section[id] { scroll-margin-top: 96px; }
  @media (max-width: 860px) { section[id] { scroll-margin-top: 116px; } }
