  :root {
      --font: 'Montserrat', sans-serif;
      --red: #E8302A;
      --pink: #E0457B;
      --b1-color: #7B52AB;
      --b2-color: #2E86C1;
      --bg: #ffffff;
      --bg-light: #f8f8f8;
      --text: #1a1a1a;
      --text-muted: #555;
      --radius: 16px;
    }

  .info-banner {
      background: #fff5f5;
      border-left: 4px solid var(--red);
      border-radius: 8px;
      padding: 14px 18px;
      margin-bottom: 32px;
      font-size: 14px;
      color: #6b1010;
      line-height: 1.5;
      font-weight: 600;
    }

    /* ── Сетка карточек ─── */
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
      gap: 20px;
      margin-bottom: 32px;
    }

    /* ── Карточка ─── */
    .level-card {
      background: #fff;
      border: 1.5px solid #eee;
      border-radius: var(--radius);
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      transition: box-shadow 0.2s;
    }
    .level-card:hover {
      box-shadow: 0 6px 28px rgba(0,0,0,0.09);
    }

    /* Шапка карточки */
    .card-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 8px;
    }
    .card-level-label { display: flex; flex-direction: column; gap: 0px; }
    .card-level-hint {
      font-size: 10px;
      font-weight: 700;
      color: #aaa;
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }
    .card-badge {
      font-size: 48px;
      font-weight: 900;
      line-height: 1;
      letter-spacing: -0.03em;
    }
    .badge-a1 { color: var(--red); }
    .badge-a2 { color: var(--pink); }
    .badge-b1 { color: var(--b1-color); }
    .badge-b2 { color: var(--b2-color); }

    .card-tag {
      font-size: 11px;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 99px;
      white-space: nowrap;
      letter-spacing: 0.02em;
    }
    .tag-a1 { background: #fde8e8; color: #991b1b; }
    .tag-a2 { background: #fde8f0; color: #9d174d; }
    .tag-b1 { background: #ede9fe; color: #5b21b6; }
    .tag-b2 { background: #dbeafe; color: #1e40af; }

    .card-name {
      font-size: 15px;
      font-weight: 700;
      color: var(--text);
    }
    .card-desc {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.55;
      margin-top: 4px;
    }

    /* Мета */
    .card-meta {
      display: flex;
      gap: 20px;
      padding: 12px 0;
      border-top: 1px solid #eee;
      border-bottom: 1px solid #eee;
    }
    .meta-item {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      font-weight: 600;
      color: var(--text-muted);
    }
    .meta-item svg { width: 15px; height: 15px; }

    /* Кнопки */
    .card-actions { display: flex; flex-direction: column; gap: 8px; }
    .btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      padding: 12px 18px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 700;
      font-family: var(--font);
      cursor: pointer;
      text-decoration: none;
      border: none;
      transition: opacity 0.15s, transform 0.1s;
    }
    .btn:hover { opacity: 0.88; transform: translateY(-1px); }
    .btn svg { width: 15px; height: 15px; flex-shrink: 0; }

    .btn-test-a1 { background: var(--red); color: #fff; }
    .btn-test-a2 { background: var(--pink); color: #fff; }
    .btn-test-b1 { background: var(--b1-color); color: #fff; }
    .btn-test-b2 { background: var(--b2-color); color: #fff; }

    .btn-course {
      background: transparent;
      border: 2px solid #ddd;
      color: var(--text-muted);
    }

    /* ── Нижняя подсказка ─── */
    .bottom-note {
      background: var(--bg-light);
      border-radius: var(--radius);
      padding: 20px 24px;
      display: flex;
      align-items: flex-start;
      gap: 14px;
    }
    .bottom-note svg { width: 20px; height: 20px; color: #aaa; flex-shrink: 0; margin-top: 2px; }
    .bottom-note p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
    .bottom-note strong { color: var(--text); font-weight: 700; }

    /* ── Адаптив ─── */
    @media (max-width: 700px) {
      .cards-grid { grid-template-columns: 1fr; }
      .card-badge { font-size: 40px; }
    }