.page-hero {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
    border-bottom: 0;
    background: #f7f9fc;
}

.page-hero .container,
.catalog-section .container {
    max-width: 920px;
}

.page-hero .eyebrow {
    margin-bottom: 0.75rem;
    color: var(--blue);
}

.page-hero h1 {
    max-width: 760px;
    margin-bottom: 1rem;
    font-size: clamp(2.25rem, 5vw, 3.6rem);
    line-height: 1.02;
    text-wrap: balance;
}

.page-hero > div > p:last-child {
    max-width: 620px;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    text-wrap: pretty;
}

.catalog-section {
    padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.catalog-toolbar {
    max-width: none;
    margin-bottom: 2rem;
}

.catalog-toolbar-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.6rem;
}

.catalog-toolbar label {
    margin: 0;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 700;
}

.catalog-toolbar-heading span {
    color: var(--muted);
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}

.catalog-toolbar input {
    min-height: 3.75rem;
    border-color: #c8d1de;
    border-radius: 1rem;
    padding: 0.9rem 1.1rem;
    background: #fff;
    font-size: 1rem;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.catalog-toolbar input:focus {
    border-color: var(--blue);
    outline: 0;
    box-shadow: 0 0 0 4px rgb(11 99 229 / 13%);
}

.scheme-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.scheme-card {
    padding: clamp(1.25rem, 4vw, 2rem);
    border: 1px solid #e1e7ef;
    border-radius: 1.375rem;
    background: #fff;
    box-shadow: none;
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.scheme-card:hover {
    border-color: #c8d7eb;
    box-shadow: 0 14px 34px rgb(23 42 70 / 7%);
    transform: translateY(-2px);
}

.scheme-card-top {
    align-items: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #edf0f4;
}

.scheme-number {
    color: #9aa7b8;
    font-size: 0.8rem;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.08em;
}

.channel-tags {
    justify-content: flex-end;
}

.channel-tags span {
    padding: 0.35rem 0.55rem;
    border-radius: 0.5rem;
    background: #eef4fc;
    color: #315d91;
    font-size: 0.75rem;
}

.scheme-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    gap: clamp(1.5rem, 5vw, 3.5rem);
    padding: 1.5rem 0 1.75rem;
}

.scheme-card h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    line-height: 1.12;
    text-wrap: balance;
}

.scheme-card p {
    max-width: 34rem;
    margin: 0;
    line-height: 1.6;
}

.scheme-card h3 {
    margin: 0 0 0.75rem;
    color: #3d4a5e;
    font-size: 0.85rem;
    font-weight: 750;
}

.scheme-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.scheme-card li {
    position: relative;
    padding-left: 1.15rem;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.scheme-card li + li {
    margin-top: 0.55rem;
}

.scheme-card li::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: #e59a35;
}

.scheme-card .button {
    width: max-content;
    min-height: 2.75rem;
    margin-top: auto;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--blue);
    font-size: 0.95rem;
}

.scheme-card .button:hover {
    color: var(--blue-dark);
}

.scheme-card .button span {
    transition: transform 180ms ease;
}

.scheme-card .button:hover span {
    transform: translateX(3px);
}

.catalog-empty {
    border: 0;
    border-radius: 1.375rem;
    background: #f6f8fb;
}

@media (max-width: 767px) {
    .container {
        width: min(calc(100% - 40px), var(--container));
    }

    .page-hero {
        padding: 3rem 0 2.75rem;
    }

    .page-hero h1 {
        font-size: clamp(2rem, 9vw, 2.4rem);
        line-height: 1.06;
    }

    .catalog-section {
        padding: 2rem 0 4rem;
    }

    .catalog-toolbar input {
        min-height: 3.5rem;
    }

    .scheme-card {
        padding: 1.25rem;
        border-radius: 1.25rem;
    }

    .scheme-card:hover {
        transform: none;
    }

    .scheme-card-top {
        display: flex;
    }

    .scheme-card-top .channel-tags {
        margin-top: 0;
    }

    .scheme-card-body {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        padding: 1.25rem 0 1rem;
    }

    .scheme-card h2 {
        font-size: 1.5rem;
    }

    .scheme-card .button {
        min-height: 3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scheme-card,
    .scheme-card .button span {
        transition: none;
    }
}
