:root {
      --bg: #f5f8fb;
      --text: #102033;
      --muted: #5d6f83;
      --line: #dce6ef;
      --blue: #1261a6;
      --blue-dark: #0b477c;
      --panel: #fff;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--text);
      background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 22px clamp(18px, 5vw, 64px);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-right: 10px;
      color: var(--text);
      text-decoration: none;
      font-weight: 700;
    }

    .brand img {
      width: 34px;
      height: 34px;
      object-fit: contain;
    }

    .tab {
      display: inline-flex;
      align-items: center;
      min-height: 38px;
      padding: 0 16px;
      border: 1px solid var(--line);
      border-radius: 8px;
      color: var(--text);
      background: #fff;
      text-decoration: none;
      font-size: 14px;
      font-weight: 700;
    }

    .tab.active,
    .tab:hover {
      border-color: rgba(18, 97, 166, 0.45);
      color: var(--blue-dark);
    }

    .wrap {
      width: min(1060px, calc(100% - 36px));
      margin: 0 auto;
      padding: 52px 0 70px;
    }

    .hero {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 24px;
      align-items: center;
      padding-bottom: 34px;
      border-bottom: 1px solid var(--line);
    }

    h1 {
      margin: 0;
      font-size: clamp(36px, 6vw, 64px);
      line-height: 1;
      letter-spacing: 0;
    }

    .lead {
      margin: 18px 0 0;
      max-width: 680px;
      color: var(--muted);
      line-height: 1.65;
      font-size: 18px;
    }

    .hero img {
      width: min(190px, 28vw);
      height: auto;
      object-fit: contain;
    }

    .downloads-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 16px;
      margin-top: 28px;
    }

    .download-card {
      padding: 22px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--panel);
      box-shadow: 0 18px 40px rgba(16, 32, 51, 0.1);
    }

    .download-head {
      display: flex;
      gap: 14px;
      align-items: center;
      margin-bottom: 14px;
    }

    .download-head img {
      width: 52px;
      height: 52px;
      object-fit: contain;
    }

    h2 {
      margin: 0;
      font-size: 22px;
    }

    .version {
      margin: 3px 0 0;
      color: var(--muted);
      font-size: 13px;
    }

    .download-card p {
      color: var(--muted);
      line-height: 1.55;
      margin: 0 0 18px;
    }

    .download-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .secondary-actions {
      margin-top: 10px;
    }

    .license-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 0 0 18px;
    }

    .license-badges span {
      padding: 6px 9px;
      border-radius: 999px;
      color: var(--blue-dark);
      background: #eaf4ff;
      font-size: 12px;
      font-weight: 700;
    }

    .license-badges .paid {
      color: #7c2d12;
      background: #fff0df;
    }

    .feature-list {
      display: grid;
      gap: 8px;
      margin: 0 0 18px;
    }

    .feature-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #f8fbfe;
      color: var(--text);
      font-size: 14px;
    }

    .feature-row strong {
      color: var(--blue-dark);
      font-size: 12px;
    }

    .feature-row.paid-feature strong {
      color: #7c2d12;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 0 15px;
      border-radius: 8px;
      border: 1px solid var(--line);
      color: var(--blue-dark);
      background: #fff;
      text-decoration: none;
      font-weight: 700;
      font-size: 14px;
    }

    .button.primary {
      color: #fff;
      background: var(--blue);
      border-color: var(--blue);
    }

    .status {
      margin-top: 18px;
      color: var(--muted);
      font-size: 14px;
    }

    @media (max-width: 760px) {
      .nav {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 16px;
      }

      .brand {
        flex-basis: 100%;
      }

      .hero {
        grid-template-columns: 1fr;
      }
    }
