/* Flattened styles from Public/Home (header/home/footer/responsive) for static landing. */
:root {
    --primary: #1890ff;
    --primary-tint: #40a9ff;
    --text: #314659;
    --font: Lato, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0 !important;
    font-family: var(--font);
    color: var(--text);
    background: #fff;
}

a {
    color: var(--primary);
    text-decoration: none;
}

.clearfix::after {
    content: '';
    display: block;
    clear: both;
}

#header {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid transparent;
    transition:
        border 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955),
        background 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    height: 80px;
    padding: 0 40px;
    width: 100%;
    text-align: right;
}

#header.home-nav-bottom {
    background: rgba(255, 255, 255, 0.9);
    border-bottom-color: #ebedee;
}

#header.home-nav-bottom a,
#header.home-nav-bottom #logo span {
    color: var(--text);
}

#header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1500px;
    margin: 0 auto;
}

#logo {
    display: flex;
    align-items: center;
    height: 80px;
    color: #fff;
}

#logo img {
    width: 40px;
    height: 40px;
    margin-right: 8px;
}

#logo span {
    font-size: 16px;
    font-family: 'Raleway', 'Hiragino Sans GB', sans-serif;
    text-transform: uppercase;
    color: #fff;
}

#nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 4px 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#nav a.header-link {
    color: #ebedee;
    font-size: 14px;
    white-space: nowrap;
}

#nav a.header-link:hover {
    color: var(--primary-tint);
}

#header.home-nav-bottom #nav a.header-link {
    color: var(--text);
}

.nav-phone-icon {
    display: none;
    position: absolute;
    right: 24px;
    top: 28px;
    z-index: 2;
    width: 28px;
    height: 22px;
    cursor: pointer;
    border: 0;
    background: transparent;
    padding: 0;
}

.nav-phone-icon span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
    border-radius: 1px;
}

#header.home-nav-bottom .nav-phone-icon span {
    background: var(--text);
}

.banner-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: url('../img/bannerimg.jpg') no-repeat center / cover;
}

.banner-wrapper > .page {
    min-height: 700px;
    height: 100vh;
    position: relative;
}

.banner-text-wrapper {
    position: absolute;
    left: 13%;
    top: 53%;
    color: #fff;
    text-align: right;
    font-family: Lato, var(--font);
}

.banner-text-wrapper h2 {
    font-size: 40px;
    font-weight: normal;
    font-family: 'Raleway', 'Hiragino Sans GB', sans-serif;
    white-space: nowrap;
    color: #fff;
    margin: 0 0 8px;
}

.banner-text-wrapper h2 p {
    color: #e02635;
    display: inline-block;
    margin: 0;
}

.banner-text-wrapper .line {
    width: 0.8px;
    height: 76px;
    position: absolute;
    background: rgba(255, 255, 255, 0.44);
    background-image: linear-gradient(top, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.03));
    top: 16px;
    right: -25px;
}

.banner-text-wrapper > p {
    margin: 10px auto 24px;
    font-size: 16px;
}

.banner-text-wrapper .start-button {
    margin-bottom: 24px;
    text-align: right;
}

.banner-text-wrapper .start-button > a {
    display: inline-block;
    height: 40px;
    padding: 0 16px;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid var(--primary-tint);
    color: #0ae;
    font-size: 15px;
    background: transparent;
    transition: all 0.45s;
    text-align: center;
    line-height: 36px;
    margin-left: 8px;
}

.banner-text-wrapper .start-button > a:hover {
    color: #fff;
    background: var(--primary-tint);
}

.down {
    text-align: center;
    position: absolute;
    bottom: 30px;
    color: rgba(255, 255, 255, 0.75);
    left: 50%;
    margin-left: -7px;
    font-size: 18px;
    animation: upDownMove 1.2s ease-in-out infinite alternate;
}

@keyframes upDownMove {
    to {
        transform: translateY(10px);
    }
}

.page {
    min-height: 700px;
    height: 100vh;
}

.content-wrapper {
    width: 100%;
    max-width: 1500px;
    margin: auto;
    overflow: hidden;
    background: #fff;
}

.content-wrapper .image-wrapper {
    width: 65%;
    float: left;
    position: relative;
    opacity: 1;
    transform: none;
}

.content-wrapper .text-wrapper {
    width: 35%;
    float: left;
    position: relative;
    top: 20%;
    left: -30px;
    font-family: Lato, var(--font);
    z-index: 1;
}

.content-wrapper .text-wrapper h2,
.content-wrapper .text-wrapper-bottom h2 {
    font-size: 32px;
    color: var(--text);
    font-weight: normal;
    white-space: nowrap;
    margin: 0 0 0.5em;
}

.content-wrapper .text-wrapper h2 a,
.content-wrapper .text-wrapper-bottom h2 a {
    color: inherit;
}

.content-wrapper .text-wrapper p,
.content-wrapper .text-wrapper > div {
    margin: 10px 0 20px;
    font-size: 16px;
    line-height: 28px;
    color: #999;
}

.content-wrapper .left-text {
    padding-left: 10%;
}

.image1 {
    background: url('https://t.alipayobjects.com/images/T1Ch8kXfpdXXXXXXXX.png') no-repeat right / 841px;
    height: 511px;
    top: 50%;
    margin-top: -256px;
}

.image2 {
    background: url('https://t.alipayobjects.com/images/T1r5RkXotXXXXXXXXX.png') no-repeat left / 800px;
    height: 474px;
    top: 50%;
    margin-top: -266px;
}

.image4 {
    background: url('https://t.alipayobjects.com/images/T1lyJkXg4aXXXXXXXX.png') no-repeat center / 615px;
    height: 364px;
    margin: auto;
}

.text-wrapper-bottom {
    text-align: center;
    margin: 10% auto 40px;
    padding: 0 24px;
}

.text-wrapper-bottom p {
    margin: 20px auto;
    font-size: 16px;
    line-height: 28px;
    color: #999;
    max-width: 80%;
}

footer.dark {
    background-color: #000;
    color: rgba(255, 255, 255, 0.65);
    clear: both;
    font-size: 14px;
    position: relative;
    z-index: 100;
}

footer.dark a {
    color: rgba(255, 255, 255, 0.9);
}

footer.dark h2 {
    color: #fff;
    font-size: 16px;
    margin: 0 0 24px;
    font-weight: 500;
}

footer.dark .footer-wrap {
    padding: 64px 48px 48px;
    max-width: 1500px;
    margin: 0 auto;
}

footer.dark .footer-center {
    text-align: left;
}

footer.dark .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
}

footer.dark .bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding: 16px 48px 24px;
    max-width: 1500px;
    margin: 0 auto;
    overflow: hidden;
}

.cookie-banner {
    position: fixed;
    z-index: 1000;
    left: 16px;
    right: 16px;
    top: 96px;
    max-width: 720px;
    margin: 0 auto;
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner p {
    margin: 0 0 8px;
    font-size: 13px;
    color: #614700;
    line-height: 1.5;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.cookie-banner .btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 6px 12px;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    background: var(--primary);
    color: #fff;
}

.cookie-banner .btn--ghost {
    background: transparent;
    border-color: #d9d9d9;
    color: #614700;
}

/* Inner pages (Pricing, Quote, Privacy, …) keep landing chrome */
body.subpage {
    background: #f5f7fa;
}

body.subpage #header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: #ebedee;
}

body.subpage #header #logo span,
body.subpage #header #nav a.header-link {
    color: var(--text);
}

body.subpage #header #nav a.header-link[aria-current='page'] {
    color: var(--primary);
    font-weight: 600;
}

body.subpage .nav-phone-icon span {
    background: var(--text);
}

.subpage-main {
    max-width: 800px;
    margin: 0 auto;
    padding: 112px 24px 64px;
    min-height: calc(100vh - 280px);
}

.subpage-panel {
    background: #fff;
    border: 1px solid #ebedee;
    border-radius: 8px;
    padding: 28px 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.subpage-panel h1 {
    margin: 0 0 16px;
    font-size: 28px;
    font-weight: 600;
    color: var(--text);
}

.subpage-panel h2 {
    margin: 28px 0 12px;
    font-size: 20px;
    font-weight: 600;
}

.subpage-panel h3 {
    margin: 24px 0 12px;
    font-size: 18px;
    font-weight: 600;
}

.subpage-panel p,
.subpage-panel li {
    font-size: 15px;
    line-height: 1.65;
    color: #5c6578;
}

.subpage-panel ul,
.subpage-panel ol {
    padding-left: 1.25rem;
}

.subpage-panel .muted {
    color: #8c8c8c;
    font-size: 14px;
}

.subpage-panel .btn {
    display: inline-block;
    appearance: none;
    border: 1px solid transparent;
    border-radius: 6px;
    background: var(--primary);
    color: #fff !important;
    font: inherit;
    font-weight: 600;
    padding: 10px 16px;
    cursor: pointer;
}

.subpage-panel .btn:hover {
    background: #40a9ff;
}

.subpage-panel .btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.subpage-panel .field {
    margin-bottom: 16px;
}

.subpage-panel .field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.subpage-panel .field .hint,
.subpage-panel .field .error {
    margin: 4px 0 0;
    font-size: 12px;
}

.subpage-panel .field .hint {
    color: #8c8c8c;
}

.subpage-panel .field .error {
    color: #cf1322;
}

.subpage-panel .field input[type='text'],
.subpage-panel .field input[type='email'],
.subpage-panel .field textarea {
    width: 100%;
    padding: 8px 11px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font: inherit;
    line-height: 1.5;
}

.subpage-panel .field textarea {
    resize: vertical;
    min-height: 120px;
}

.subpage-panel .checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.subpage-panel .checkbox-row label {
    margin: 0;
    font-weight: 400;
}

.subpage-panel .hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.subpage-panel .alert {
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 16px;
    border: 1px solid;
}

.subpage-panel .alert--success {
    background: #f6ffed;
    border-color: #b7eb8f;
    color: #389e0d;
}

.subpage-panel .alert--error {
    background: #fff2f0;
    border-color: #ffccc7;
    color: #cf1322;
}

@media only screen and (max-width: 992px) {
    .nav-phone-icon {
        display: block;
    }

    #nav {
        display: none;
        position: absolute;
        top: 80px;
        right: 0;
        left: 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(0, 0, 0, 0.92);
        padding: 12px 20px 20px;
        gap: 12px;
    }

    #nav.is-open {
        display: flex;
    }

    #header.home-nav-bottom #nav {
        background: rgba(255, 255, 255, 0.98);
    }

    a#logo {
        margin-left: auto;
        margin-right: auto;
    }

    .image-wrapper {
        display: none;
    }

    .banner-wrapper {
        background-position: 40%;
    }

    .banner-text-wrapper {
        left: 0;
        right: 0;
        padding: 0 24px;
        text-align: center;
    }

    .banner-text-wrapper .line {
        display: none;
    }

    .banner-text-wrapper .start-button {
        text-align: center;
    }

    .content-wrapper .text-wrapper {
        float: none;
        text-align: center;
        left: 0;
        width: 100%;
        padding: 40px 24px;
        top: 0;
    }

    .content-wrapper .left-text {
        padding-left: 24px;
    }

    .content-wrapper.page {
        min-height: 300px;
        height: auto;
        padding: 48px 0;
    }

    .page {
        min-height: 300px;
        height: auto;
    }

    .banner-wrapper > .page {
        min-height: 100vh;
        height: 100vh;
    }
}
