@media (min-width: 1151px) {
    .company-site .hero {
        min-height: 100vh;
        box-sizing: border-box;
        padding-bottom: 0;
        margin-top: 0;
    }

    .company-site .hero-image-visual {
        align-self: end;
        margin-bottom: 0;
    }
}

.company-site .site-header {
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    z-index: 60;
    min-height: 86px;
    box-sizing: border-box;
    width: calc(100% - 26px);
    margin: 6px 13px 12px;
    padding: 8px 12px 8px 24px;
    gap: 28px;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 23px;
    box-shadow: 0 16px 42px rgba(36, 6, 38, .18);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.company-site .site-main,
.company-site .hero {
    margin-top: 0;
}

.company-site .site-brand {
    gap: 10px;
    min-width: 0;
}

.company-site .site-brand img {
    width: 168px;
    height: 66px;
}

.company-site .site-brand strong {
    display: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .1px;
    white-space: nowrap;
}

.company-site .site-header nav {
    flex: 1;
    justify-content: center;
    gap: 14px;
}

.company-site .site-header nav a:not(.login-link) {
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    transition: color .2s ease, background-color .2s ease;
}

.company-site .site-header nav a:not(.login-link):hover {
    background: rgba(165, 0, 157, .07);
}

.company-site .site-header .login-link {
    min-width: 112px;
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(120deg, #8f00b9 15%, #bb00d2 55%, #ff7a18 100%);
    box-shadow: 0 10px 26px rgba(165, 0, 157, .25);
}

.company-site .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.company-site .site-header .signup-link {
    min-width: 104px;
    padding: 12px 20px;
    border: 1px solid rgba(214, 70, 128, .32);
    border-radius: 999px;
    color: #8f007d;
    background: #fffaf7;
    box-shadow: 0 8px 22px rgba(69, 12, 64, .09);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.company-site .site-header .header-normal-link {
    padding: 8px 4px;
    color: #2d1830;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.company-site .site-header .helpline-link:hover {
    color: #98008f;
}

.company-site .site-header .helpline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(143, 0, 125, .14);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(143, 0, 185, .06), rgba(255, 122, 24, .08));
}

.company-site .site-header .helpline-link small,
.company-site .site-header .helpline-link strong {
    display: block;
    line-height: 1.15;
}

.company-site .site-header .helpline-link small {
    color: #76566f;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.company-site .site-header .helpline-link strong {
    margin-top: 2px;
    color: #65005e;
    font-size: 13px;
    letter-spacing: .3px;
}

.company-site .site-header .helpline-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #8f00b9, #ff7a18);
    font-size: 13px;
}

.company-site .site-header .partner-enquiry-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 15px;
    border: 1px solid rgba(143, 0, 125, .22);
    border-radius: 999px;
    color: #76006e;
    background: linear-gradient(135deg, #fff 35%, #fff3fb 100%);
    box-shadow: 0 7px 18px rgba(82, 5, 77, .08);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.company-site .site-header .partner-enquiry-icon {
    color: #f06b21;
    font-size: 15px;
    line-height: 1;
}

.company-site .site-header .helpdesk-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(143, 0, 125, .14);
    border-radius: 12px;
    color: #2d1830;
    background: linear-gradient(135deg, rgba(255, 122, 24, .07), rgba(143, 0, 185, .06));
}

.company-site .site-header .helpdesk-link small,
.company-site .site-header .helpdesk-link strong {
    display: block;
    line-height: 1.15;
}

.company-site .site-header .helpdesk-link small {
    color: #76566f;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.company-site .site-header .helpdesk-link strong {
    margin-top: 2px;
    color: #65005e;
    font-size: 12px;
    letter-spacing: .2px;
}

.company-site .site-header .helpdesk-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #f06b21, #8f00b9);
    font-size: 13px;
}

.company-site .site-header .get-started-link {
    min-width: 122px;
    padding: 13px 22px;
    border: 1px solid rgba(214, 70, 128, .32);
    border-radius: 999px;
    color: #8f007d;
    background: #fffaf7;
    box-shadow: 0 8px 22px rgba(69, 12, 64, .09);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.company-site .mobile-menu {
    padding: 7px 10px;
    font-size: 18px;
}

@media (max-width: 1150px) {
    .company-site .site-header {
        min-height: 68px;
        border-radius: 18px;
        padding: 6px 14px;
    }

    .company-site .site-brand img {
        width: 126px;
        height: 48px;
    }

    .company-site .site-header nav {
        top: 74px;
    }

    .company-site .header-actions {width:100%;justify-content:flex-end}
}

.company-site .hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.company-site .hero-background-video,
.company-site .hero-video-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.company-site .hero-background-video {
    z-index: -2;
    object-fit: cover;
}

.company-site .hero-video-overlay {
    z-index: -1;
    background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .76) 48%, rgba(255, 244, 255, .55) 100%);
}

.company-site .hero-image-visual {
    min-height: 390px;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

.company-site .hero-image-visual .hero-main-image {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    min-height: 390px;
    object-fit: cover;
    border-radius: 28px;
}

.company-site .legacy-hero-brand {
    display: none;
}

.company-site footer {
    display: none;
}

/* Responsive public home page: keep the desktop design intact while making
   the header actions and hero usable on tablets and phones. */
@media (min-width: 721px) and (max-width: 1150px) {
    .company-site .site-header {
        width: calc(100% - 20px);
        margin: 4px 10px 10px;
    }

    .company-site .site-header nav {
        left: 10px;
        right: 10px;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .company-site .header-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .company-site .hero {
        min-height: 100svh;
        padding: 120px clamp(32px, 7vw, 76px) 0;
        gap: 30px;
    }

    .company-site .hero-copy {
        max-width: 760px;
    }

    .company-site .hero-image-visual {
        width: min(720px, 100%);
        min-height: 340px;
        margin: 0 auto;
    }
}

@media (max-width: 720px) {
    .company-site {
        overflow-x: hidden;
    }

    .company-site .site-header {
        top: 0;
        width: calc(100% - 16px);
        min-height: 62px;
        margin: 8px;
        padding: 6px 10px 6px 14px;
        gap: 10px;
        border-radius: 17px;
    }

    .company-site .site-brand {
        flex: 1;
        max-width: calc(100% - 54px);
    }

    .company-site .site-brand img {
        width: 122px;
        height: 46px;
        max-width: 100%;
        object-fit: contain;
        object-position: left center;
    }

    .company-site .mobile-menu {
        display: grid;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        padding: 0;
        place-items: center;
        border: 1px solid rgba(143, 0, 125, .14);
        border-radius: 12px;
        color: #76006e;
        background: #fff5fc;
        cursor: pointer;
    }

    .company-site .site-header nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100svh - 84px);
        box-sizing: border-box;
        padding: 12px;
        overflow-y: auto;
        border: 1px solid #eadbea;
        border-radius: 16px;
        background: rgba(255, 255, 255, .99);
        box-shadow: 0 18px 40px rgba(40, 10, 42, .18);
    }

    .company-site .site-header nav.open {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .company-site .header-actions {
        width: 100%;
        margin: 0;
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .company-site .site-header .helpline-link,
    .company-site .site-header .helpdesk-link,
    .company-site .site-header .partner-enquiry-link,
    .company-site .site-header .signup-link,
    .company-site .site-header .login-link {
        width: 100%;
        min-width: 0;
        min-height: 46px;
        box-sizing: border-box;
        justify-content: flex-start;
    }

    .company-site .site-header .signup-link,
    .company-site .site-header .login-link {
        display: grid;
        padding: 12px 16px;
        place-items: center;
    }

    .company-site .hero {
        display: flex;
        min-height: 100svh;
        box-sizing: border-box;
        padding: 104px 18px 0;
        align-items: stretch;
        flex-direction: column;
        gap: 24px;
    }

    .company-site .hero-video-overlay {
        background: linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .78) 52%, rgba(255, 244, 255, .58) 100%);
    }

    .company-site .hero-copy {
        width: 100%;
        text-align: center;
    }

    .company-site .hero-copy > span {
        font-size: 11px;
        letter-spacing: 1.6px;
    }

    .company-site .hero h1 {
        max-width: 100%;
        margin: 10px 0 14px;
        overflow-wrap: anywhere;
        font-size: clamp(38px, 12vw, 58px);
        line-height: 1.02;
    }

    .company-site .hero p {
        max-width: 100%;
        margin: 0 auto;
        font-size: 15px;
        line-height: 1.55;
    }

    .company-site .hero-copy > div {
        margin-top: 22px;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .company-site .primary-link,
    .company-site .secondary-link {
        min-height: 44px;
        box-sizing: border-box;
        padding: 12px 16px;
    }

    .company-site .hero-image-visual {
        width: calc(100% + 36px);
        min-height: 300px;
        height: min(44svh, 430px);
        margin: auto -18px 0;
        border-radius: 0;
    }

    .company-site .hero-image-visual .hero-main-image {
        width: 100%;
        min-height: 0;
        height: 100%;
        object-fit: contain;
        object-position: center bottom;
        border-radius: 0;
    }
}

@media (max-width: 420px) {
    .company-site .hero {
        padding-top: 92px;
    }

    .company-site .hero h1 {
        font-size: clamp(34px, 11.5vw, 46px);
    }

    .company-site .hero-copy > div {
        align-items: stretch;
        flex-direction: column;
    }

    .company-site .primary-link,
    .company-site .secondary-link {
        width: 100%;
        text-align: center;
    }

    .company-site .hero-image-visual {
        min-height: 265px;
        height: 38svh;
    }
}
/* Public-home SEO content */
.company-site .hero-copy > h1 {
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 .55rem;
}

.company-site .hero-display-headline {
    color: var(--site-text, #211224);
    font-size: clamp(2.7rem, 5.2vw, 5.4rem);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: 1.02;
    margin: 0 0 1rem;
    max-width: 780px;
}

@media (max-width: 700px) {
    .company-site .hero-display-headline {
        font-size: clamp(2.35rem, 12vw, 3.8rem);
    }
}
