* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: #172033;
    background:
        radial-gradient(circle at top left, #dbeafe 0, transparent 34%),
        radial-gradient(circle at bottom right, #e0e7ff 0, transparent 30%),
        linear-gradient(135deg, #f8fafc, #eef2ff);
}

.page {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    padding: 56px 0 32px;
}

.hero {
    text-align: center;
    margin-bottom: 36px;
}

.badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ffffff;
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(15, 23, 42, .08);
}

h1 {
    margin: 18px 0 10px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.hero p {
    margin: 0 auto;
    max-width: 640px;
    color: #64748b;
    font-size: 18px;
    line-height: 1.6;
}

.layout {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 22px;
    align-items: stretch;
}

.feature-card,
.links-card {
    border-radius: 30px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(148, 163, 184, .24);
    box-shadow: 0 22px 70px rgba(15, 23, 42, .09);
}

.feature-card {
    display: flex;
    gap: 22px;
    min-height: 220px;
    padding: 30px;
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.feature-card:hover,
.links-list a:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, .35);
    box-shadow: 0 28px 85px rgba(15, 23, 42, .14);
}

.feature-card:first-child {
    grid-row: span 2;
    min-height: 462px;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card.secondary {
    min-height: 220px;
}

.icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #eff6ff;
    font-size: 30px;
}

.feature-card:first-child .icon {
    width: 74px;
    height: 74px;
    font-size: 38px;
    border-radius: 26px;
}

h2 {
    margin: 0 0 10px;
    font-size: 28px;
    letter-spacing: -0.035em;
}

.feature-card:first-child h2 {
    font-size: 42px;
}

p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

strong {
    display: inline-block;
    margin-top: 22px;
    color: #2563eb;
}

.links-card {
    padding: 26px;
}

.links-head {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 20px;
}

.links-head h2 {
    font-size: 26px;
}

.links-list {
    display: grid;
    gap: 12px;
}

.links-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 20px;
    color: inherit;
    text-decoration: none;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, .22);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.links-list b,
.links-list small {
    display: block;
}

.links-list b {
    margin-bottom: 4px;
}

.links-list small {
    color: #64748b;
    line-height: 1.45;
}

.links-list em {
    color: #2563eb;
    font-style: normal;
    font-weight: 700;
}

footer {
    margin-top: 34px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

@media (max-width: 820px) {
    .page {
        width: min(100% - 22px, 1100px);
        padding-top: 34px;
    }

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

    .feature-card,
    .feature-card:first-child {
        min-height: auto;
        flex-direction: row;
    }

    .feature-card:first-child h2 {
        font-size: 32px;
    }
}

@media (max-width: 520px) {
    .feature-card,
    .feature-card:first-child,
    .links-head {
        flex-direction: column;
        align-items: flex-start;
    }
}
