
    :root{
      --blue:#2f80ed;
      --blue-dark:#1873e2;
      --ink:#0b2b4d;
      --muted:#728197;
      --line:#d9e5f1;
      --page:#f6f7f9;
      --white:#fff;
    }

    *{box-sizing:border-box}

    html,body{
      margin:0;
      min-height:100%;
      background:var(--page);
      color:var(--ink);
      font-family:Arial,Helvetica,sans-serif;
    }

    /* Навигация проекта — статическая, без JS-слоёв */
    .project-nav{
      width:min(1148px,calc(100% - 32px));
      margin:18px auto 12px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:16px;
      box-shadow:0 5px 18px rgba(20,74,130,.05);
      overflow:hidden;
    }

    .project-nav-inner{
      display:grid;
      grid-template-columns:repeat(5,minmax(0,1fr));
    }

    .project-nav a{
      min-height:62px;
      padding:12px 10px;
      display:flex;
      align-items:center;
      justify-content:center;
      text-align:center;
      text-decoration:none;
      color:#082b50;
      font-weight:700;
      font-size:14px;
      line-height:1.2;
      transition:background .15s ease,color .15s ease,box-shadow .15s ease;
    }

    .project-nav a:hover{
      background:#f2f8ff;
      color:#0878ef;
    }

    .project-nav a.active{
      color:#0878ef;
      background:#eef7ff;
      box-shadow:inset 0 -3px 0 #0878ef;
    }

    main{
      width:min(1148px,calc(100% - 32px));
      margin:20px auto 34px;
    }

    .page-head{
      margin:0 0 16px;
    }

    .page-head h1{
      margin:0 0 6px;
      color:var(--ink);
      font-size:30px;
      line-height:1.15;
      letter-spacing:-.02em;
    }

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

    .download-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:12px;
      margin-bottom:16px;
    }

    .download-card{
      min-width:0;
      min-height:82px;
      padding:13px 15px;
      display:grid;
      grid-template-columns:48px minmax(0,1fr) auto;
      align-items:center;
      gap:12px;
      border:1px solid #d5e2ef;
      border-radius:14px;
      background:#fff;
      color:var(--ink);
      text-decoration:none;
      box-shadow:0 4px 14px rgba(20,74,130,.06);
      transition:transform .12s ease,border-color .15s ease,box-shadow .15s ease,filter .15s ease;
    }

    .download-card:hover{
      transform:translateY(-1px);
      border-color:#91c3f7;
      box-shadow:0 7px 18px rgba(8,120,239,.10);
    }

    .download-card:active{
      transform:translateY(1px) scale(.99);
      filter:brightness(.98);
    }

    .download-card.primary{
      border-color:#0878ef;
      background:#0878ef;
      color:#fff;
      box-shadow:0 7px 18px rgba(8,120,239,.18);
    }

    .program-icon{
      width:48px;
      height:48px;
      display:flex;
      align-items:center;
      justify-content:center;
      overflow:hidden;
      border-radius:11px;
      background:#f5f9fd;
    }

    .primary .program-icon{
      background:rgba(255,255,255,.16);
    }

    .program-icon img{
      display:block;
      width:38px;
      height:38px;
      object-fit:contain;
    }

    .program-text{
      min-width:0;
    }

    .program-name{
      display:block;
      margin:0 0 4px;
      font-size:18px;
      line-height:1.15;
      font-weight:800;
      letter-spacing:-.01em;
    }

    .program-download{
      display:block;
      color:#65768a;
      font-size:13px;
      line-height:1.25;
      font-weight:700;
    }

    .primary .program-download{
      color:rgba(255,255,255,.88);
    }

    .program-side{
      display:flex;
      align-items:center;
      gap:8px;
      flex:0 0 auto;
    }

    .recommend{
      padding:5px 8px;
      border-radius:999px;
      background:rgba(255,255,255,.18);
      color:#fff;
      font-size:10px;
      font-weight:800;
      white-space:nowrap;
    }

    .arrow{
      font-size:23px;
      line-height:1;
      font-weight:800;
      color:#0878ef;
    }

    .primary .arrow{
      color:#fff;
    }

    /* Баннер — реальная ссылка на PARUS, без JS */
    .remote-banner-link{
      position:relative;
      display:block;
      overflow:hidden;
      border:1px solid #d8e3ef;
      border-radius:18px;
      background:#eef6ff;
      box-shadow:0 8px 24px rgba(20,74,130,.08);
      text-decoration:none;
      cursor:pointer;
      outline:none;
    }

    .remote-banner-link img{
      display:block;
      width:100%;
      height:auto;
      aspect-ratio:16/9;
      object-fit:cover;
      transition:transform .18s ease,filter .18s ease;
    }

    .remote-banner-link:hover img{
      transform:scale(1.002);
      filter:brightness(.99);
    }

    .remote-banner-link:focus-visible{
      outline:3px solid rgba(8,120,239,.35);
      outline-offset:3px;
    }

    .banner-link-hint{
      position:absolute;
      right:16px;
      bottom:14px;
      padding:8px 12px;
      border-radius:10px;
      background:rgba(8,120,239,.92);
      color:#fff;
      font-size:12px;
      font-weight:800;
      box-shadow:0 4px 14px rgba(0,0,0,.12);
      pointer-events:none;
    }

    @media(max-width:900px){
      .download-grid{grid-template-columns:1fr}
      .download-card{min-height:78px}
    }

    @media(max-width:780px){
      .project-nav{
        width:calc(100% - 20px);
        margin:10px auto;
        border-radius:13px;
      }

      .project-nav-inner{
        display:flex;
        overflow-x:auto;
        scrollbar-width:thin;
      }

      .project-nav a{
        flex:0 0 auto;
        min-width:170px;
        min-height:54px;
        padding:10px 14px;
        white-space:nowrap;
      }

      main{
        width:calc(100% - 20px);
        margin:14px auto 26px;
      }

      .page-head h1{font-size:26px}
      .remote-banner-link{border-radius:14px}
      .banner-link-hint{right:10px;bottom:10px}
    }

    @media(max-width:480px){
      .download-card{
        grid-template-columns:44px minmax(0,1fr) auto;
        gap:10px;
        padding:12px;
      }

      .program-icon{width:44px;height:44px}
      .program-icon img{width:34px;height:34px}
      .program-name{font-size:17px}
      .program-download{font-size:12.5px}
      .recommend{display:none}
      .banner-link-hint{font-size:11px;padding:7px 9px}
    }
  