@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-company-ink: #13211a;
    --hb-company-muted: #67736b;
    --hb-company-green: #65d92e;
    --hb-company-green-dark: #228e43;
    --hb-company-lime: #b8f34a;
    --hb-company-soft: #eff8e9;
    --hb-company-border: rgba(27, 73, 43, .1);
    --hb-company-white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
}

svg {
    display: block;
    width: 1em;
    height: 1em;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hb-company-main {
    min-height: 100vh;
}

.hb-company-hero {
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(184, 243, 74, .2),
            transparent 24rem
        ),
        radial-gradient(
            circle at 88% 70%,
            rgba(101, 217, 46, .12),
            transparent 28rem
        ),
        linear-gradient(
            180deg,
            #fbfdfa 0%,
            #f4f9f1 100%
        );
}

.hb-company-shell {
    width: min(1180px, calc(100% - 40px));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin-inline: auto;
    padding-block: 24px;
}

.hb-company-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hb-company-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.hb-company-brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #14361f;
    background:
        linear-gradient(
            145deg,
            var(--hb-company-lime),
            #d5ff79
        );
    border-radius: 14px;
    box-shadow:
        0 10px 26px
        rgba(101, 217, 46, .18);
    font-weight: 700;
}

.hb-company-brand-name {
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

.hb-company-intro {
    max-width: 780px;
    margin:
        clamp(70px, 12vh, 130px)
        auto
        0;
    text-align: center;
}

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

.hb-company-intro h1 {
    margin: 20px 0 0;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.035em;
}

.hb-company-intro p {
    margin: 18px 0 0;
    color: var(--hb-company-muted);
    font-size: clamp(1rem, 1.8vw, 1.16rem);
    line-height: 1.8;
}

.hb-company-products {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-block-start:
        clamp(42px, 7vw, 76px);
}

.hb-company-product {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(25px, 4vw, 40px);
    background:
        rgba(255, 255, 255, .82);
    border: 1px solid var(--hb-company-border);
    border-radius: 32px;
    box-shadow:
        0 24px 65px
        rgba(18, 53, 31, .055);
    backdrop-filter: blur(12px);
    transition:
        transform 220ms cubic-bezier(.2,.7,.2,1),
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.hb-company-product::before {
    content: "";
    position: absolute;
    inset-inline-end: -65px;
    inset-block-start: -65px;
    width: 180px;
    aspect-ratio: 1;
    background:
        rgba(184, 243, 74, .12);
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
}

.hb-company-product-icon {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--hb-company-green-dark);
    background: var(--hb-company-soft);
    border: 1px solid rgba(101, 217, 46, .14);
    border-radius: 17px;
}

.hb-company-product-icon svg {
    width: 26px;
    height: 26px;
}

.hb-company-product-copy {
    position: relative;
    z-index: 1;
    margin-block-start: 26px;
}

.hb-company-product-label {
    color: var(--hb-company-green-dark);
    font-size: .74rem;
    font-weight: 700;
}

.hb-company-product h2 {
    margin: 9px 0 0;
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -.025em;
}

.hb-company-product p {
    min-height: 58px;
    margin: 15px 0 0;
    color: var(--hb-company-muted);
    font-size: .95rem;
    line-height: 1.8;
}

.hb-company-button {
    position: relative;
    z-index: 1;
    width: fit-content;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-block-start: 28px;
    padding-inline: 20px;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.hb-company-button svg {
    width: 18px;
    height: 18px;
    transform: scaleX(-1);
}

.hb-company-button-primary {
    color: #102018;
    background:
        linear-gradient(
            135deg,
            var(--hb-company-lime),
            #d1ff70
        );
    border: 1px solid rgba(101, 217, 46, .25);
    box-shadow:
        0 12px 28px
        rgba(101, 217, 46, .14);
}

.hb-company-button-secondary {
    color: var(--hb-company-green-dark);
    background: var(--hb-company-white);
    border: 1px solid rgba(101, 217, 46, .24);
    box-shadow:
        0 10px 24px
        rgba(18, 53, 31, .045);
}

.hb-company-footer {
    margin-block-start: auto;
    padding-block-start: 38px;
    color: #849087;
    text-align: center;
    font-size: .72rem;
}

@media (hover:hover) and (pointer:fine) {
    .hb-company-product:hover {
        transform: translateY(-5px);
        border-color: rgba(101, 217, 46, .28);
        box-shadow:
            0 30px 74px
            rgba(18, 53, 31, .085);
    }

    .hb-company-button:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 760px) {
    .hb-company-shell {
        width: min(100% - 28px, 620px);
        padding-block: 18px;
    }

    .hb-company-intro {
        margin-block-start: 68px;
    }

    .hb-company-products {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-block-start: 36px;
    }

    .hb-company-product {
        padding: 23px 19px;
        border-radius: 26px;
    }

    .hb-company-product p {
        min-height: 0;
    }

    .hb-company-button {
        width: 100%;
    }

    .hb-company-footer {
        padding-block:
            34px
            6px;
    }
}

@media (max-width: 430px) {
    .hb-company-intro h1 {
        font-size: 2.35rem;
    }

    .hb-company-intro p {
        font-size: .95rem;
    }

    .hb-company-brand-mark {
        width: 39px;
        height: 39px;
        border-radius: 13px;
    }
}

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

    .hb-company-product,
    .hb-company-button {
        transition: none !important;
        transform: none !important;
    }
}

/* ==========================================================================
   L4-3C Official HeroBot logo
   ========================================================================== */

.hb-company-brand {
    min-height: 52px;
}

.hb-company-logo {
    display: block;
    width: auto;
    max-width: min(190px, 42vw);
    height: 52px;
    object-fit: contain;
    object-position: right center;
}

@media (max-width: 760px) {
    .hb-company-logo {
        max-width: 155px;
        height: 46px;
    }
}

@media (max-width: 430px) {
    .hb-company-logo {
        max-width: 140px;
        height: 42px;
    }
}
