@font-face {
    font-family: "Ping AR LT";
    src: url("/assets/herobot-app/fonts/ping-ar-lt-light.woff2")
        format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Ping AR LT";
    src: url("/assets/herobot-app/fonts/ping-ar-lt-regular.woff2")
        format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Ping AR LT";
    src: url("/assets/herobot-app/fonts/ping-ar-lt-medium.woff2")
        format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Ping AR LT";
    src: url("/assets/herobot-app/fonts/ping-ar-lt-bold.woff2")
        format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --hb-blog-ink: #13211a;
    --hb-blog-muted: #66736b;
    --hb-blog-green: #65d92e;
    --hb-blog-green-dark: #238d43;
    --hb-blog-lime: #b8f34a;
    --hb-blog-soft: #f3f8f0;
    --hb-blog-border: rgba(24, 73, 40, .11);
    --hb-blog-white: #fff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--hb-blog-ink);
    background: #fafcf9;
    font-family:
        "Ping AR LT",
        Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.hb-blog-shell {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.hb-blog-header {
    position: sticky;
    z-index: 40;
    top: 0;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid var(--hb-blog-border);
    backdrop-filter: blur(16px);
}

.hb-blog-header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.hb-blog-brand {
    flex: 0 0 auto;
}

.hb-blog-brand img {
    width: auto;
    height: 46px;
}

.hb-blog-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #4d5b52;
    font-size: .86rem;
    font-weight: 500;
}

.hb-blog-nav a {
    text-decoration: none;
}

.hb-blog-language {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding-inline: 14px;
    color: var(--hb-blog-green-dark);
    background: var(--hb-blog-soft);
    border: 1px solid rgba(101, 217, 46, .18);
    border-radius: 999px;
    font-weight: 700;
}

.hb-blog-hero {
    padding-block:
        clamp(70px, 10vw, 120px)
        clamp(48px, 7vw, 78px);
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(184, 243, 74, .18),
            transparent 25rem
        ),
        linear-gradient(
            180deg,
            #fbfdfa 0%,
            #f6faf4 100%
        );
}

.hb-blog-hero-copy {
    max-width: 850px;
}

.hb-blog-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding-inline: 14px;
    color: var(--hb-blog-green-dark);
    background: rgba(184, 243, 74, .2);
    border: 1px solid rgba(101, 217, 46, .18);
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
}

.hb-blog-hero h1 {
    max-width: 900px;
    margin: 20px 0 0;
    font-size: clamp(2.4rem, 5.8vw, 4.8rem);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.hb-blog-hero p {
    max-width: 720px;
    margin: 20px 0 0;
    color: var(--hb-blog-muted);
    font-size: clamp(1rem, 1.7vw, 1.15rem);
    line-height: 1.9;
}

.hb-blog-list-section {
    padding-block: 56px 100px;
}

.hb-blog-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.hb-blog-card {
    overflow: hidden;
    background: var(--hb-blog-white);
    border: 1px solid var(--hb-blog-border);
    border-radius: 28px;
    box-shadow:
        0 22px 60px
        rgba(20, 54, 30, .05);
}

.hb-blog-card-media,
.hb-blog-card-placeholder {
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            #f4f9f1,
            #eaf6e4
        );
}

.hb-blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hb-blog-card-placeholder img {
    width: 64px;
    height: 64px;
}

.hb-blog-card-body {
    padding: 24px;
}

.hb-blog-card time {
    color: var(--hb-blog-green-dark);
    font-size: .72rem;
    font-weight: 700;
}

.hb-blog-card h2 {
    margin: 12px 0 0;
    font-size: 1.3rem;
    line-height: 1.5;
}

.hb-blog-card h2 a {
    text-decoration: none;
}

.hb-blog-card p {
    margin: 12px 0 0;
    color: var(--hb-blog-muted);
    line-height: 1.8;
    font-size: .9rem;
}

.hb-blog-read {
    display: inline-flex;
    margin-block-start: 20px;
    color: var(--hb-blog-green-dark);
    font-size: .86rem;
    font-weight: 700;
    text-decoration: none;
}

.hb-blog-empty {
    max-width: 620px;
    margin-inline: auto;
    padding:
        clamp(45px, 8vw, 78px)
        24px;
    text-align: center;
    background: var(--hb-blog-white);
    border: 1px solid var(--hb-blog-border);
    border-radius: 30px;
}

.hb-blog-empty img {
    margin-inline: auto;
}

.hb-blog-empty h2 {
    margin: 22px 0 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.hb-blog-empty p {
    margin: 10px 0 0;
    color: var(--hb-blog-muted);
}

.hb-blog-pagination {
    margin-block-start: 38px;
}

.hb-blog-footer {
    padding-block: 28px;
    color: #7f8b83;
    border-top: 1px solid var(--hb-blog-border);
    text-align: center;
    font-size: .74rem;
}

.hb-article {
    padding-block:
        clamp(45px, 7vw, 80px)
        100px;
}

.hb-article-shell {
    max-width: 880px;
}

.hb-article-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--hb-blog-muted);
    font-size: .78rem;
}

.hb-article-breadcrumbs a {
    text-decoration: none;
}

.hb-article-header {
    margin-block-start: 35px;
}

.hb-article-header h1 {
    margin: 0;
    font-size: clamp(2.35rem, 5vw, 4.5rem);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.hb-article-excerpt {
    max-width: 760px;
    margin: 20px 0 0;
    color: var(--hb-blog-muted);
    font-size: 1.08rem;
    line-height: 1.9;
}

.hb-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-block-start: 20px;
    color: #7d8880;
    font-size: .78rem;
}

.hb-article-cover {
    overflow: hidden;
    margin:
        clamp(34px, 6vw, 56px)
        0
        0;
    border-radius: 30px;
    background: var(--hb-blog-soft);
}

.hb-article-cover img {
    width: 100%;
    height: auto;
}

.hb-article-body {
    margin-block-start:
        clamp(42px, 7vw, 70px);
    font-size: 1.02rem;
    line-height: 2;
}

.hb-article-body > * {
    max-width: 760px;
    margin-inline: auto;
}

.hb-article-body h2,
.hb-article-body h3 {
    margin-block:
        2.1em
        .7em;
    line-height: 1.35;
}

.hb-article-body h2 {
    font-size: 1.8rem;
}

.hb-article-body h3 {
    font-size: 1.35rem;
}

.hb-article-body p,
.hb-article-body ul,
.hb-article-body ol {
    color: #344139;
}

.hb-article-body a {
    color: var(--hb-blog-green-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.hb-article-body img {
    width: 100%;
    height: auto;
    margin-block: 34px;
    border-radius: 22px;
}

.hb-article-faq {
    max-width: 760px;
    margin:
        70px
        auto
        0;
    padding-block-start: 40px;
    border-top: 1px solid var(--hb-blog-border);
}

.hb-article-faq h2 {
    margin: 0 0 24px;
    font-size: 1.8rem;
}

.hb-article-faq-list {
    display: grid;
    gap: 10px;
}

.hb-article-faq details {
    background: var(--hb-blog-white);
    border: 1px solid var(--hb-blog-border);
    border-radius: 18px;
    padding: 18px 20px;
}

.hb-article-faq summary {
    cursor: pointer;
    font-weight: 700;
}

.hb-article-faq p {
    margin: 12px 0 0;
    color: var(--hb-blog-muted);
    line-height: 1.8;
}

.hb-article-back {
    max-width: 760px;
    margin:
        52px
        auto
        0;
}

.hb-article-back a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    padding-inline: 18px;
    color: var(--hb-blog-green-dark);
    background: var(--hb-blog-soft);
    border: 1px solid rgba(101, 217, 46, .2);
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 900px) {
    .hb-blog-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .hb-blog-nav a:not(.hb-blog-language) {
        display: none;
    }
}

@media (max-width: 620px) {
    .hb-blog-shell {
        width: min(100% - 28px, 560px);
    }

    .hb-blog-header-inner {
        min-height: 66px;
    }

    .hb-blog-brand img {
        height: 40px;
    }

    .hb-blog-grid {
        grid-template-columns: 1fr;
    }

    .hb-blog-hero {
        padding-block:
            58px
            42px;
    }

    .hb-blog-list-section {
        padding-block:
            38px
            72px;
    }

    .hb-blog-card {
        border-radius: 24px;
    }

    .hb-blog-card-body {
        padding: 20px;
    }

    .hb-article {
        padding-block:
            34px
            72px;
    }

    .hb-article-header {
        margin-block-start: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* L5-2C visual polish */
@media (min-width: 901px) {
    .hb-blog-hero {
        padding-block: 76px 54px;
    }

    .hb-blog-hero h1 {
        max-width: 820px;
        font-size: clamp(2.35rem, 4.1vw, 3.85rem);
        line-height: 1.12;
    }

    .hb-blog-hero p {
        max-width: 760px;
        margin-block-start: 16px;
    }

    .hb-blog-list-section {
        padding-block: 44px 88px;
    }

    .hb-blog-grid-count-1 {
        grid-template-columns: minmax(0, 520px);
        justify-content: center;
    }

    .hb-blog-grid-count-2 {
        max-width: 920px;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        margin-inline: auto;
    }

    .hb-article {
        padding-block: 54px 96px;
    }

    .hb-article-shell {
        max-width: 960px;
    }

    .hb-article-header {
        margin-block-start: 28px;
    }

    .hb-article-header h1 {
        max-width: 860px;
        font-size: clamp(2.3rem, 4.2vw, 3.9rem);
        line-height: 1.14;
    }

    .hb-article-excerpt {
        margin-block-start: 16px;
    }

    .hb-article-cover {
        margin-block-start: 42px;
    }
}

.hb-blog-hero h1,
.hb-blog-card h2,
.hb-article-header h1 {
    unicode-bidi: plaintext;
}

.hb-blog-card-body {
    min-height: 270px;
    display: flex;
    flex-direction: column;
}

.hb-blog-card-body .hb-blog-read {
    margin-block-start: auto;
    padding-block-start: 20px;
}

@media (max-width: 900px) {
    .hb-blog-grid-count-1,
    .hb-blog-grid-count-2 {
        max-width: none;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        margin-inline: 0;
    }
}

@media (max-width: 620px) {
    .hb-blog-grid-count-1,
    .hb-blog-grid-count-2 {
        grid-template-columns: 1fr;
    }

    .hb-blog-card-body {
        min-height: 0;
    }

    .hb-blog-hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1.15;
    }

    .hb-article-header h1 {
        font-size: clamp(2rem, 10vw, 3.15rem);
        line-height: 1.17;
    }
}
