.python-site-page {
    background: #f5f7fb;
    color: #172033;
    font-family: inherit;
}

.python-site-page *,
.python-site-page *::before,
.python-site-page *::after {
    box-sizing: border-box;
}

.python-site-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    color: #fff;
}

.python-site-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 17, 31, .94), rgba(10, 48, 74, .76));
}

.python-site-hero .container,
.python-site-shell .container {
    position: relative;
    z-index: 1;
}

.python-site-hero-copy {
    max-width: 840px;
    padding: 78px 0;
}

.python-site-kicker {
    display: inline-block;
    margin: 0 0 14px;
    color: #1fb7a6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.python-site-hero h1,
.python-site-page h2,
.python-site-page h3 {
    letter-spacing: 0;
}

.python-site-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.04;
    font-weight: 800;
}

.python-site-hero p {
    max-width: 760px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .9);
    font-size: 20px;
    line-height: 1.65;
}

.python-site-actions,
.python-site-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.python-site-button,
.python-site-actions a,
.python-site-cta-actions a,
.python-site-side-card a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 6px;
    border: 2px solid transparent;
    background: #0c7f72;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.python-site-actions a:nth-child(2),
.python-site-cta-actions a:nth-child(2) {
    border-color: rgba(255, 255, 255, .52);
    background: transparent;
}

.python-site-button:hover,
.python-site-actions a:hover,
.python-site-actions a:focus,
.python-site-cta-actions a:hover,
.python-site-cta-actions a:focus,
.python-site-side-card a:hover,
.python-site-side-card a:focus {
    background: #096a60;
    color: #fff;
    text-decoration: none;
}

.python-site-actions a:nth-child(2):hover,
.python-site-actions a:nth-child(2):focus {
    border-color: #fff;
    background: rgba(255, 255, 255, .12);
}

.python-site-shell {
    padding: 68px 0;
}

.python-site-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .75fr);
    gap: 34px;
    align-items: stretch;
    margin-bottom: 50px;
}

.python-site-panel,
.python-site-side-card,
.python-site-card,
.python-site-cta {
    border: 1px solid #dce5ee;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 35, 53, .07);
}

.python-site-panel,
.python-site-side-card {
    padding: 34px;
}

.python-site-page h2 {
    margin: 0 0 16px;
    color: #172033;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 800;
}

.python-site-page h3 {
    margin: 0 0 10px;
    color: #172033;
    font-size: 21px;
    line-height: 1.28;
    font-weight: 800;
}

.python-site-page p,
.python-site-page li {
    color: #46576d;
    font-size: 17px;
    line-height: 1.7;
}

.python-site-page p {
    margin: 0 0 18px;
}

.python-site-side-card ul {
    margin: 0 0 24px;
    padding-left: 20px;
}

.python-site-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.python-site-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.python-site-card {
    display: flex;
    min-height: 255px;
    flex-direction: column;
    padding: 28px;
}

.python-site-card::before {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: #1fb7a6;
}

.python-site-tag {
    display: inline-block;
    width: fit-content;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef8f7;
    color: #0b7168;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.python-site-card a {
    color: #086b8f;
    font-weight: 800;
    text-decoration: none;
}

.python-site-card a:hover,
.python-site-card a:focus {
    color: #0c7f72;
    text-decoration: underline;
}

.python-site-card__link {
    margin-top: auto;
}

.python-site-section {
    margin-top: 54px;
}

.python-site-feature {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
    gap: 34px;
    align-items: center;
    margin-top: 54px;
}

.python-site-feature img {
    width: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(15, 35, 53, .14);
}

.python-site-cta {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
    margin-top: 54px;
    padding: 34px;
    background: #102033;
}

.python-site-cta h2,
.python-site-cta p {
    color: #fff;
}

.python-site-cta p {
    color: rgba(255, 255, 255, .82);
}

@media (max-width: 991px) {
    .python-site-intro,
    .python-site-feature,
    .python-site-grid,
    .python-site-grid--two {
        grid-template-columns: 1fr;
    }

    .python-site-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .python-site-hero {
        min-height: 380px;
    }

    .python-site-hero-copy {
        padding: 58px 0;
    }

    .python-site-panel,
    .python-site-side-card,
    .python-site-card,
    .python-site-cta {
        padding: 24px;
    }
}
