:root {
    --hp-ink: #202124;
    --hp-muted: #62666d;
    --hp-line: rgba(18, 24, 32, 0.10);
    --hp-dark: #222426;
}

.hp-blog-page {
    width: 100vw;
    max-width: none;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    color: var(--hp-ink);
    background: #ffffff;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hp-blog-page * {
    box-sizing: border-box;
}

.hp-blog-page a {
    color: inherit;
}

.hp-blog-hero-dark {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 8vw 178px;
    border-radius: 0 0 64px 64px;
    color: #ffffff;
    background: #242527;
}

.hp-blog-hero-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 30%, rgba(255, 255, 255, 0.18), transparent 12%),
        radial-gradient(circle at 24% 76%, rgba(255, 255, 255, 0.08), transparent 16%),
        linear-gradient(135deg, #202224 0%, #282a2c 54%, #1d1f21 100%);
}

.hp-blog-hero-dark::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, rgba(18, 20, 22, 0.42));
}

.hp-blog-hero-shell {
    position: relative;
    z-index: 2;
    width: min(1200px, 100%);
    margin: 0 auto;
}

.hp-blog-kicker,
.hp-blog-topic-kicker {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.hp-blog-hero-dark h1 {
    max-width: 950px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(52px, 5.4vw, 92px);
    font-weight: 600;
    line-height: 1.03;
    letter-spacing: 0;
}

.hp-blog-hero-dark p:not(.hp-blog-kicker) {
    max-width: 720px;
    margin: 32px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(17px, 1.25vw, 20px);
    font-weight: 400;
    line-height: 1.65;
}

.hp-blog-content {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: -74px 0 0;
    padding: clamp(112px, 10vw, 168px) 8vw clamp(92px, 10vw, 140px);
    border-radius: 64px 64px 0 0;
    background: #ffffff;
}

.hp-blog-content-head {
    width: min(1200px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
    gap: clamp(34px, 7vw, 112px);
    align-items: end;
    margin: 0 auto clamp(34px, 5vw, 58px);
    padding-bottom: 34px;
    border-bottom: 1px solid var(--hp-line);
}

.hp-blog-content-head .hp-blog-kicker {
    color: #7a7e85;
}

.hp-blog-content-head h2 {
    max-width: 760px;
    margin: 0;
    color: var(--hp-ink);
    font-size: clamp(42px, 4.8vw, 78px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0;
}

.hp-blog-content-head > p {
    margin: 0 0 10px;
    color: var(--hp-muted);
    font-size: clamp(16px, 1.2vw, 19px);
    font-weight: 400;
    line-height: 1.68;
}

.hp-blog-card-grid {
    width: min(1200px, 100%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 0 auto;
}

.hp-blog-topic {
    min-height: 430px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 38px;
    border: 1px solid var(--hp-line);
    border-radius: 30px;
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.88), transparent 30%),
        linear-gradient(145deg, #ffffff 0%, var(--card-tone, #f5f6f7) 100%);
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.045);
}

.hp-blog-topic:nth-child(1) { --card-tone: #f3f4f5; }
.hp-blog-topic:nth-child(2) { --card-tone: #edf0f2; }
.hp-blog-topic:nth-child(3) { --card-tone: #f8f8f9; }
.hp-blog-topic:nth-child(4) { --card-tone: #eceef1; }

.hp-blog-topic.silver { --card-tone: #eef1f3; }
.hp-blog-topic.mist { --card-tone: #edf4f6; }
.hp-blog-topic.white { --card-tone: #ffffff; }
.hp-blog-topic.graphite {
    --card-tone: #2b2d30;
    color: #ffffff;
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.12), transparent 30%),
        linear-gradient(145deg, #3a3d41 0%, #202225 100%);
}

.hp-blog-topic.graphite h3,
.hp-blog-topic.graphite p {
    color: #ffffff;
}

.hp-blog-topic.graphite .hp-blog-topic-kicker {
    color: rgba(255, 255, 255, 0.58);
}

.hp-blog-topic.graphite .hp-blog-tags span {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.hp-blog-topic.graphite .hp-blog-topic-link {
    background: #ffffff;
    color: #15171a;
}

.hp-blog-topic-copy {
    width: min(56%, 360px);
    position: relative;
    z-index: 2;
}

.hp-blog-topic-kicker {
    color: #878b91;
    font-size: 12px;
    letter-spacing: 1.8px;
}

.hp-blog-topic h3 {
    margin: 0 0 18px;
    color: var(--hp-ink);
    font-size: clamp(31px, 3vw, 44px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: 0;
}

.hp-blog-topic p {
    margin: 0 0 18px;
    color: var(--hp-muted);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.58;
}

.hp-blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 24px;
}

.hp-blog-tags span {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: #383b40;
    box-shadow: inset 0 0 0 1px rgba(18, 24, 32, 0.08);
    font-size: 11px;
    font-weight: 700;
}

.hp-blog-topic-link {
    width: fit-content;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    background: #111114;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.16);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.hp-blog-topic img {
    position: absolute;
    right: clamp(-22px, -1.2vw, -6px);
    bottom: clamp(-28px, -2vw, -10px);
    z-index: 1;
    width: min(52%, 390px);
    max-height: 330px;
    object-fit: contain;
    filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.14));
}

.hp-blog-topic:nth-child(2) img,
.hp-blog-topic:nth-child(4) img {
    right: clamp(10px, 2.2vw, 34px);
    bottom: clamp(18px, 3vw, 44px);
    width: min(42%, 300px);
}

@media (min-width: 1500px) {
    .hp-blog-hero-shell,
    .hp-blog-content-head,
    .hp-blog-card-grid {
        width: min(1320px, 100%);
    }
}

@media (max-width: 980px) {
    .hp-blog-hero-dark {
        min-height: 660px;
        padding: 118px 42px 140px;
        border-radius: 0 0 42px 42px;
    }

    .hp-blog-content {
        margin-top: -48px;
        padding-right: 42px;
        padding-left: 42px;
        border-radius: 42px 42px 0 0;
    }

    .hp-blog-content-head,
    .hp-blog-card-grid {
        grid-template-columns: 1fr;
    }

    .hp-blog-topic-copy {
        width: min(64%, 420px);
    }
}

@media (max-width: 640px) {
    .hp-blog-hero-dark {
        min-height: 590px;
        padding: 110px 24px 104px;
    }

    .hp-blog-hero-dark h1 {
        font-size: clamp(42px, 13vw, 62px);
    }

    .hp-blog-content {
        padding: 76px 24px 88px;
    }

    .hp-blog-content-head h2 {
        font-size: clamp(38px, 12vw, 58px);
    }

    .hp-blog-topic {
        min-height: 520px;
        padding: 28px;
        border-radius: 24px;
    }

    .hp-blog-topic-copy {
        width: 100%;
        max-width: 360px;
    }

    .hp-blog-topic img,
    .hp-blog-topic:nth-child(2) img,
    .hp-blog-topic:nth-child(4) img {
        width: min(78%, 300px);
        right: -18px;
        bottom: -18px;
        opacity: 0.82;
    }
}
