:root {
      --ink: #111827;
      --muted: #5d6675;
      --line: #d9e1e8;
      --paper: #ffffff;
      --soft: #f7f9fb;
      --soft-2: #eef5f3;
      --teal: #0f766e;
      --teal-dark: #0a4f4a;
      --amber: #b45309;
      --red: #b42318;
      --charcoal: #18202b;
      --shadow: 0 18px 42px rgba(17, 24, 39, 0.12);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    html,
    body {
      margin: 0;
      overflow-x: hidden;
      color: var(--ink);
      background: var(--soft);
    }

    body {
      min-height: 100vh;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .site-header {
      position: fixed;
      inset: 0 0 auto;
      z-index: 20;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      min-height: 72px;
      padding: 14px clamp(18px, 4vw, 56px);
      color: #ffffff;
      background: rgba(12, 19, 27, 0.72);
      border-bottom: 1px solid rgba(255, 255, 255, 0.14);
      backdrop-filter: blur(14px);
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      letter-spacing: 0;
      white-space: nowrap;
    }

    .brand-mark {
      width: 38px;
      height: 38px;
      border-radius: 9px;
      display: grid;
      place-items: center;
      background: var(--teal);
      box-shadow: 0 10px 24px rgba(15, 118, 110, 0.28);
    }

    .brand-mark svg {
      width: 24px;
      height: 24px;
    }

    nav {
      display: flex;
      align-items: center;
      gap: 16px;
      color: rgba(255, 255, 255, 0.82);
      font-size: 14px;
    }

    nav a {
      white-space: nowrap;
    }

    nav a:hover {
      color: #ffffff;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-left: auto;
    }

    .language-switch {
      width: 34px;
      height: 30px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
      border: 1px solid rgba(255, 255, 255, 0.28);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.08);
    }

    .language-switch:hover {
      background: rgba(255, 255, 255, 0.16);
    }

    .flag {
      position: relative;
      width: 24px;
      height: 16px;
      overflow: hidden;
      border-radius: 2px;
      box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.22);
    }

    .flag-us {
      background: repeating-linear-gradient(to bottom, #b22234 0 1.23px, #ffffff 1.23px 2.46px);
    }

    .flag-us::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      width: 10.6px;
      height: 8.6px;
      background: #3c3b6e;
    }

    .flag-ru {
      background: linear-gradient(to bottom, #ffffff 0 33.333%, #1c57a7 33.333% 66.666%, #d52b1e 66.666% 100%);
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 12px 18px;
      border-radius: 8px;
      border: 1px solid rgba(255, 255, 255, 0.24);
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
    }

    .button.primary {
      background: var(--teal);
      border-color: var(--teal);
      color: #ffffff;
    }

    .button.primary:hover {
      background: #0b625d;
      border-color: #0b625d;
    }

    .button.light {
      background: #ffffff;
      color: var(--charcoal);
      border-color: #ffffff;
    }

    .button.outline {
      color: #ffffff;
    }

    .button.dark {
      background: var(--charcoal);
      color: #ffffff;
      border-color: var(--charcoal);
    }

    .button.card {
      min-height: 40px;
      padding: 10px 14px;
      background: #ffffff;
      color: var(--charcoal);
      border-color: var(--line);
      font-size: 14px;
    }

    .button.card:hover {
      color: var(--teal);
      border-color: var(--teal);
    }

    .button.market {
      min-height: 40px;
      padding: 10px 14px;
      background: var(--charcoal);
      color: #ffffff;
      border-color: var(--charcoal);
      font-size: 14px;
    }

    .hero {
      min-height: 300px;
      padding: 76px clamp(18px, 5vw, 72px) 20px;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
      color: #ffffff;
      background:
        linear-gradient(90deg, rgba(8, 14, 20, 0.92) 0%, rgba(8, 14, 20, 0.82) 34%, rgba(8, 14, 20, 0.25) 70%, rgba(8, 14, 20, 0.08) 100%),
        url("plugin-hero.png") center / cover no-repeat;
      background:
        linear-gradient(90deg, rgba(8, 14, 20, 0.92) 0%, rgba(8, 14, 20, 0.82) 34%, rgba(8, 14, 20, 0.25) 70%, rgba(8, 14, 20, 0.08) 100%),
        image-set(url("plugin-hero-1440.webp") type("image/webp"), url("plugin-hero.png") type("image/png")) center / cover no-repeat;
    }

    .hero-inner {
      width: min(760px, 100%);
      min-width: 0;
      position: relative;
      z-index: 2;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 10px;
      color: #bcece5;
      font-size: 14px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0;
    }

    .eyebrow::before {
      content: "";
      width: 34px;
      height: 2px;
      background: var(--amber);
    }

    h1 {
      margin: 0;
      max-width: 720px;
      font-size: 38px;
      line-height: 1.02;
      letter-spacing: 0;
    }

    h1 span {
      display: block;
    }

    .hero p {
      max-width: 620px;
      margin: 14px 0 0;
      color: rgba(255, 255, 255, 0.86);
      font-size: 16px;
      line-height: 1.4;
    }

    .hero-slogan {
      max-width: 650px;
      margin-top: 18px;
      padding-left: 16px;
      border-left: 3px solid var(--amber);
      color: #ffffff;
      font-size: 26px;
      line-height: 1.25;
      font-weight: 800;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 16px;
    }

    .hero-facts {
      display: none;
      grid-template-columns: repeat(2, minmax(120px, 1fr));
      gap: 12px;
      max-width: 680px;
      margin-top: 20px;
    }

    .fact {
      padding: 10px 0 0;
      border-top: 1px solid rgba(255, 255, 255, 0.24);
    }

    .fact strong {
      display: block;
      font-size: 20px;
      line-height: 1.1;
      color: #ffffff;
    }

    .fact span {
      display: block;
      margin-top: 4px;
      color: rgba(255, 255, 255, 0.72);
      font-size: 13px;
      line-height: 1.35;
    }

    section {
      padding: 74px clamp(18px, 5vw, 72px);
    }

    #plugins {
      padding-top: 32px;
    }

    .section-inner {
      max-width: 1180px;
      margin: 0 auto;
    }

    .section-head {
      max-width: 760px;
      margin-bottom: 16px;
    }

    .section-kicker {
      color: var(--teal);
      font-size: 13px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0;
    }

    h2 {
      margin: 8px 0 0;
      font-size: 36px;
      line-height: 1.12;
      letter-spacing: 0;
    }

    .section-head p {
      margin: 14px 0 0;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.6;
    }

    .plugins-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .plugin-card {
      min-height: 420px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 22px;
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 8px;
      box-shadow: var(--shadow);
    }

    .plugin-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
    }

    .plugin-icon {
      width: 46px;
      height: 46px;
      flex: 0 0 46px;
      border-radius: 8px;
      display: grid;
      place-items: center;
      color: #ffffff;
      background: var(--teal);
    }

    .plugin-card:nth-child(2) .plugin-icon {
      background: var(--amber);
    }

    .plugin-card h2 {
      margin: 12px 0 0;
      font-size: 24px;
      line-height: 1.18;
    }

    .plugin-card p {
      margin: 10px 0 0;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.5;
    }

    .plugin-demo {
      margin-top: 14px;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #101821;
    }

    .plugin-demo picture {
      display: block;
    }

    .plugin-demo img {
      display: block;
      width: 100%;
      height: auto;
    }

    @media (min-width: 981px) {
      .plugin-demo img {
        height: 300px;
        object-fit: contain;
        background: #101821;
      }

      #scenarios .section-head {
        max-width: 860px;
      }

      #scenarios .scenario-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      #scenarios .scenario-list li {
        min-height: 150px;
      }
    }

    .plugin-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 22px;
    }

    .tag {
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      padding: 6px 10px;
      border-radius: 999px;
      background: var(--soft-2);
      color: var(--teal-dark);
      font-size: 12px;
      font-weight: 800;
      white-space: nowrap;
    }

    .feature-list {
      display: grid;
      gap: 11px;
      margin: 24px 0 0;
      padding: 0;
      list-style: none;
    }

    .feature-list li {
      position: relative;
      padding-left: 24px;
      color: #2c3442;
      line-height: 1.45;
    }

    .feature-list li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 9px;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--teal);
    }

    .plugin-card:nth-child(2) .feature-list li::before {
      background: var(--amber);
    }

    .band {
      background: #ffffff;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .value-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
    }

    .value-item {
      min-height: 190px;
      padding: 22px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--soft);
    }

    .value-item strong {
      display: block;
      font-size: 18px;
      line-height: 1.25;
    }

    .value-item p {
      margin: 10px 0 0;
      color: var(--muted);
      line-height: 1.55;
    }

    .scenario-list {
      display: grid;
      gap: 12px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .scenario-list li {
      padding: 18px 20px;
      border-left: 4px solid var(--teal);
      background: #ffffff;
      border-radius: 0 8px 8px 0;
      box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
    }

    .scenario-list strong {
      display: block;
      margin-bottom: 5px;
    }

    .scenario-list span {
      color: var(--muted);
      line-height: 1.55;
    }

    footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 24px clamp(18px, 5vw, 72px);
      color: var(--muted);
      background: #ffffff;
      border-top: 1px solid var(--line);
      font-size: 14px;
    }

    .email-image {
      display: block;
      width: 285px;
      max-width: 100%;
      height: auto;
    }

    .liveinternet-counter {
      display: inline-flex;
      align-items: center;
      line-height: 0;
      opacity: 0.78;
    }

    .liveinternet-counter:hover {
      opacity: 1;
    }

    .liveinternet-counter img {
      display: block;
      width: 88px;
      height: 31px;
      border: 0;
    }

    @media (max-width: 980px) {
      .site-header {
        position: absolute;
      }

      .site-header {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 10px;
      }

      .header-actions {
        width: 100%;
        margin-left: 0;
        padding-right: 46px;
      }

      nav {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 8px 14px;
        overflow-x: visible;
        padding: 2px 0 4px;
        font-size: 13px;
      }

      nav a {
        flex: 0 1 auto;
      }

      nav a[target="_blank"] {
        display: none;
      }

      .language-switch {
        position: absolute;
        top: 14px;
        right: clamp(18px, 4vw, 56px);
      }

      .hero {
        padding-top: 126px;
      }

      .hero-facts {
        display: grid;
      }

      .hero {
        min-height: 780px;
        background:
          linear-gradient(180deg, rgba(8, 14, 20, 0.96) 0%, rgba(8, 14, 20, 0.84) 46%, rgba(8, 14, 20, 0.34) 100%),
          url("plugin-hero.png") center bottom / cover no-repeat;
        background:
          linear-gradient(180deg, rgba(8, 14, 20, 0.96) 0%, rgba(8, 14, 20, 0.84) 46%, rgba(8, 14, 20, 0.34) 100%),
          image-set(url("plugin-hero-mobile.webp") type("image/webp"), url("plugin-hero.png") type("image/png")) center bottom / cover no-repeat;
      }

      h1 {
        font-size: 42px;
      }

      .hero p {
        font-size: 18px;
      }

      .hero-slogan {
        font-size: 22px;
      }

      .plugins-grid,
      .value-grid {
        grid-template-columns: 1fr;
      }

      .value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 640px) {
      .site-header {
        min-height: 64px;
        padding: 12px 16px;
      }

      .language-switch {
        top: 12px;
        right: 16px;
      }

      .brand {
        max-width: calc(100% - 52px);
        white-space: nowrap;
        font-size: 13px;
      }

      .hero {
        display: block;
        min-height: 760px;
        padding: 140px 18px 44px;
      }

      h1 {
        width: auto;
        font-size: 28px;
        max-width: 340px;
        overflow-wrap: normal;
      }

      h2 {
        font-size: 28px;
      }

      .hero-inner,
      .hero p,
      .hero-slogan {
        width: auto;
        max-width: 340px;
      }

      .hero-slogan {
        padding-left: 12px;
        font-size: 20px;
      }

      section {
        padding: 54px 18px;
      }

      .hero-actions,
      .hero-facts,
      .value-grid,
      footer {
        grid-template-columns: 1fr;
      }

      .button {
        width: 100%;
      }

      .plugin-card {
        padding: 22px;
      }

      .plugin-top {
        flex-direction: column;
      }

      footer {
        display: grid;
        justify-content: start;
        align-items: start;
        gap: 10px;
      }

      footer span {
        justify-self: start;
      }
    }
