* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(11, 79, 156, 0.13), transparent 30%),
        linear-gradient(180deg, #eef3f8 0%, #f8fafc 100%);
    color: #172033;
}

.hub-page {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 18px 72px;
}

.hub-hero {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: radial-gradient(circle at 15% 0%, #1f7ad6, transparent 34%), linear-gradient(135deg, #071a33, #0b2f5b 56%, #0b4f9c);
    color: #ffffff;
    padding: 28px;
    box-shadow: 0 24px 70px rgba(16, 24, 40, 0.18);
}

.hub-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.hub-hero-inner {
    position: relative;
    z-index: 1;
}

.hub-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.72);
}

.hub-crumb a {
    color: #ffffff;
    text-decoration: none;
}

.hub-crumb a:hover {
    text-decoration: underline;
}

.hub-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.hub-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 800;
}

.hub-hero h1 {
    margin: 0;
    font-size: 38px;
    line-height: 1.1;
    max-width: 780px;
}

.hub-hero-lead {
    margin: 14px 0 0;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.55;
}

.hub-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 16px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 900;
    font-size: 14px;
    border: 1px solid transparent;
}

.hub-btn--primary {
    background: #22c55e;
    color: #ffffff;
}

.hub-btn--primary:hover {
    background: #16a34a;
}

.hub-btn--ghost {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.hub-btn--dark {
    background: #0b4f9c;
    color: #ffffff;
}

.hub-btn--dark:hover {
    background: #09407d;
}

.hub-btn--line {
    background: #eef5ff;
    color: #0b4f9c;
    border-color: #cde4ff;
}

.hub-section {
    margin-top: 18px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.06);
    padding: 24px;
}

.hub-section h2 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #101828;
}

.hub-section h3 {
    margin: 18px 0 8px;
    font-size: 17px;
    color: #101828;
}

.hub-section p,
.hub-section li {
    color: #475467;
    line-height: 1.65;
    font-size: 15px;
}

.hub-section p {
    margin: 0 0 10px;
}

.hub-section a {
    color: #0b4f9c;
    font-weight: 800;
}

.hub-section p:last-child {
    margin-bottom: 0;
}

.hub-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.hub-note {
    background: #f9fafb;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    padding: 14px 16px;
}

.hub-note strong {
    display: block;
    margin-bottom: 6px;
    color: #101828;
    font-size: 14px;
}

.hub-family {
    margin-top: 18px;
}

.hub-family-head {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 12px;
}

.hub-family-head h2 {
    margin: 0;
}

.hub-family-head p {
    margin: 6px 0 0;
    max-width: 720px;
}

.hub-family-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hub-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef5ff;
    border: 1px solid #cde4ff;
    color: #0b4f9c;
    font-size: 12px;
    font-weight: 800;
}

.hub-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hub-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.04);
}

.hub-card:hover {
    border-color: #b9d6f7;
    box-shadow: 0 12px 28px rgba(11, 79, 156, 0.12);
}

.hub-card__image {
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #f8fafc, #eef5ff);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.hub-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hub-card__image img.is-broken {
    display: none;
}

.hub-card__fallback {
    display: none;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    color: #0b4f9c;
    font-size: 26px;
    font-weight: 900;
}

.hub-card__image img.is-broken + .hub-card__fallback,
.hub-card__image .hub-card__fallback.is-visible {
    display: flex;
}

.hub-card__body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.hub-card__body h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.3;
    color: #101828;
}

.hub-card__pack {
    margin: 0;
    color: #0b4f9c;
    font-size: 12px;
    font-weight: 800;
}

.hub-card__meta {
    margin: 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.4;
}

.hub-card__cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 10px;
    background: #eef5ff;
    color: #0b4f9c;
    font-size: 12px;
    font-weight: 900;
}

.hub-table-wrap {
    overflow-x: auto;
    margin-top: 8px;
    -webkit-overflow-scrolling: touch;
}

.hub-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.hub-table th,
.hub-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #e4e7ec;
    font-size: 14px;
    vertical-align: top;
}

.hub-table th {
    color: #667085;
    font-size: 12px;
    font-weight: 800;
    background: #f9fafb;
}

.hub-table td {
    color: #344054;
}

.hub-table a {
    color: #0b4f9c;
    font-weight: 800;
    text-decoration: none;
}

.hub-table a:hover {
    text-decoration: underline;
}

.hub-faq details {
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    padding: 12px 14px;
    margin-top: 10px;
    background: #f9fafb;
}

.hub-faq summary {
    cursor: pointer;
    font-weight: 800;
    color: #101828;
    font-size: 15px;
}

.hub-faq details p {
    margin: 10px 0 0;
}

.hub-cta {
    background: linear-gradient(135deg, #071a33, #0b4f9c);
    color: #ffffff;
    border: 0;
}

.hub-cta h2,
.hub-cta p {
    color: #ffffff;
}

.hub-cta p {
    color: rgba(255, 255, 255, 0.88);
}

.hub-empty {
    text-align: center;
    padding: 28px 12px;
    color: #667085;
}

.hub-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    justify-content: center;
}

.hub-footer-nav a {
    color: #0b4f9c;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.hub-footer-nav a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .hub-page {
        padding: 10px 10px 56px;
    }

    .hub-hero {
        border-radius: 24px;
        padding: 18px;
    }

    .hub-hero h1 {
        font-size: 26px;
    }

    .hub-hero-lead {
        font-size: 14px;
    }

    .hub-hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .hub-section {
        padding: 16px;
        border-radius: 20px;
    }

    .hub-grid-2,
    .hub-products {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .hub-hero-actions,
    .hub-grid-2,
    .hub-products {
        grid-template-columns: 1fr;
    }

    .hub-card__image {
        aspect-ratio: 4 / 3;
        max-height: 240px;
    }
}
