@import url('https://fonts.cdnfonts.com/css/sinteca?styles=181865');

/* ===========================================================
   Design tokens — single source of truth for the Dialog365 theme.
   Every colour/typography value below is referenced through
   var(--token) so the brand stays consistent across all pages.
   =========================================================== */
:root {
    /* Brand palette */
    --Deep-Blue: #0d0864;
    --Deep-Blue-Dark: #07044d;
    --Deep-Blue-Light: #12186e;
    --White: #ffffff;
    --Light-Gray: #f6f6f6;
    --Black: #1e1e1e;
    --Body-Text: #333333;
    --Muted-Text: #555555;
    --Accent-Green: #4ff558;
    --Accent-Teal: #26d4d7;
    --Lavender: #c5c1ff;
    --AI-gradient: linear-gradient(180deg, #4ff558 0%, #26d4d7 100%);

    /* Typography */
    --font-sans: 'Sinteca', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --fs-display: 45px;
    --fs-h2: 40px;
    --fs-h3: 28px;
    --fs-lead: 22px;
    --fs-body: 18px;
    --fs-small: 16px;
    --lh-display: 1.25;
    --lh-heading: 1.3;
    --lh-body: 1.7;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    /* Shape */
    --radius-btn: 16px;
    --radius-card: 24px;
    --btn-height: 50px;
    --btn-padding-x: 32px;
}

body {
    font-family: var(--font-sans);
    color: var(--Black);
}

/* Bootstrap resets headings to its own stack — keep the brand font. */
h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
textarea,
select {
    font-family: var(--font-sans);
}

/* <picture> wraps the WebP sources but must not become the flex item itself —
   the layout sizing lives on the inner <img> (.hero-image). */
picture {
    display: contents;
}

.contact-center {
    background: var(--White);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


.header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--White);
    height: 70px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1111;
}

.header-child {
    width: 93%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.logo-img {
    width: 160px;
    height: 30px;
    padding-left: 20px;
}


.nav-menu {
    display: flex;
    align-items: center;
    padding-right: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--Deep-Blue) !important;
    font-size: 18px;
    transition: color 0.3s ease;
    padding: 0 20px;
    font-weight: 600;
    line-height: 30px;
    align-items: center;
    font-family: var(--font-sans);
}

.nav-link:hover {
    color: var(--Deep-Blue) !important;
    /* Optional hover effect */
}

/* Default styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* 44px is the minimum comfortable tap target; the old 25x20 was well under */
    width: 44px;
    height: 44px;
    gap: 6px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    z-index: 10;
    transition: background 0.25s ease;
}

.hamburger-menu:focus-visible {
    outline: 2px solid var(--Accent-Teal);
    outline-offset: 2px;
}

.hamburger-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--Deep-Blue);
    border-radius: 2px;
    transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out, width 0.3s ease-in-out;
}

.hamburger-menu.active {
    z-index: 12;
    /* the circular chip the site already uses for icons (.pillar-icon,
       .trio-icon, .footer-social-btn), so the close control looks designed
       rather than like a bare floating glyph */
    background: var(--Light-Gray);
}

.hamburger-menu.active:hover {
    background: #ecebf5;
}

.hamburger-menu.active span {
    /* 18px bars give a 25px diagonal X, correctly proportioned inside the
       44px chip; the old 25px bars produced a ~35px X */
    width: 18px;
}

/* bars sit at -8 / 0 / +8 from centre (2px tall, 6px gap), so 8px of
   translate collapses them onto the centre line */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hamburger menu styles */
.nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
}


.nav-menu.active {
    right: 0;
    /* Slide in from the right */
}

.nav-menu a {
    margin: 10px 0;
    text-decoration: none;
    color: var(--Deep-Blue);
    font-size: 18px;
    font-weight: 600;
    line-height: 30px;
    font-family: var(--font-sans);
}

.nav-menu a:hover {
    color: var(--Deep-Blue);
}

.integration-btn {
    align-self: flex-start;
    margin-top: 24px;
}

/* Media query for screens smaller than 600px */
@media (max-width: 600px) {
    .hamburger-menu {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 264px;
        background-color: var(--White);
        box-shadow: -8px 0 28px rgba(13, 8, 100, 0.14);
        flex-direction: column;
        align-items: flex-start;
        /* clears the 70px header without leaving a 60px hole above the first item */
        padding: 84px 26px 28px;
        transition: right 0.3s ease;
        z-index: 11;
    }

    /* dim the page behind the drawer so it reads as a layer, not a floating panel */
    .header::after {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(13, 8, 100, 0.42);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 10;
    }

    .header.menu-open::after {
        opacity: 1;
        visibility: visible;
    }

    /* stop the page scrolling underneath the open drawer */
    body.menu-open {
        overflow: hidden;
    }

    .nav-menu.active {
        right: 0;
        /* Slide in from the right */
        display: flex;
    }

    .nav-menu a {
        margin: 4px 0;
        width: 100%;
        padding: 10px 0;
    }

}




.hero-section,
.hero-section1,
.hero-section3 {
    width: 90%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 80px;
    font-family: var(--font-sans);
}

.hero-section1 {
    margin-top: 10px;
    color: var(--Light-Gray);
    padding: 10px 0;
    align-items: center;
    text-align: center;
}

/* Nested wrapper — the parent section already sets the gutter. */
.hero-section2 {
    width: 100%;
    margin: 0;
    color: var(--Deep-Blue);
    padding: 10px 0;
    display: flex;
    gap: 80px;
    align-items: center;
    text-align: center;
    font-family: var(--font-sans);
}



.scroll-content {
    display: flex;
    justify-content: center;
    gap: 50px;
    animation: scroll 20s linear infinite;
    align-items: center;
}

.hero-section,
.hero-section3 {
    margin-top: 150px;
    opacity: 0;
    transform: translateY(50px);
    animation: slideIn 1.5s ease-out forwards;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/*
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
 
    100% {
        transform: translateX(-50%);
    }
} */

/* .scroll-content span {
    flex-shrink: 0;
} */



.hero-content {
    display: flex;
    flex-direction: column;
    width: 50%;
    font-family: var(--font-sans);
}

.ai-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    line-height: 1;
    color: var(--Deep-Blue);
    width: 42%;
    margin-top: 20px;
    margin-bottom: 15px;
}

.ai-badge-icon {
    width: 24px;
    height: 24px;
    alt: "AI Copilot Icon";
}


.hero-title {
    color: var(--Deep-Blue);
    font-size: var(--fs-display);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-display);
    margin-top: 15px;
    font-family: var(--font-sans);
}

/* Section heading used on white backgrounds (AI resolve, Teams, CRM, FAQ). */
.section-title {
    color: var(--Deep-Blue);
    font-size: var(--fs-h2);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-heading);
    font-family: var(--font-sans);
    margin-bottom: 0;
}

.section-title--center {
    text-align: center;
}

.hero-description {
    color: var(--Black);
    font-size: var(--fs-body);
    font-weight: var(--fw-medium);
    line-height: var(--lh-body);
    font-family: var(--font-sans);
    margin-top: 10px;
}

/* Lead paragraph that follows a section title. */
.section-lead {
    font-size: var(--fs-lead);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-body);
    color: var(--Black);
    text-align: start;
    margin-top: 28px;
}

/* Bulleted benefit list inside a split section. */
.feature-list {
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-body);
    color: var(--Black);
    text-align: start;
    margin-top: 28px;
}

.feature-list li {
    text-align: start;
    display: flex;
    margin-bottom: 10px;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

/* Icon + label row (AI Copilot section). */
.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-body);
    font-weight: var(--fw-medium);
    line-height: var(--lh-body);
    color: var(--Black);
    margin-bottom: 4px;
}

.check-item img {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

/* ---- Shared button base: same height, radius and type everywhere ---- */
.cta-button,
.cnt-btn,
.integration-btn,
.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--btn-height);
    padding: 0 var(--btn-padding-x);
    border: 1px solid transparent;
    border-radius: var(--radius-btn);
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cta-button:hover,
.integration-btn:hover,
.submit-button:hover,
.cnt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(13, 8, 100, 0.18);
}

.cta-button:focus-visible,
.cnt-btn:focus-visible,
.integration-btn:focus-visible,
.submit-button:focus-visible {
    outline: 2px solid var(--Accent-Teal);
    outline-offset: 3px;
}

/* Primary — deep blue on light backgrounds */
.cta-button,
.integration-btn,
.submit-button {
    background: var(--Deep-Blue);
    color: var(--White);
}

.cta-button {
    align-self: flex-start;
    margin-top: 24px;
}

.hero-image {
    width: 50%;
    /* the width/height attributes supply the aspect ratio (and prevent layout shift);
       height:auto stops them from also setting the used height */
    height: auto;
    /* each image keeps its own proportions — the old fixed 1.26 ratio letterboxed
       every one of them by 800-1100px */
    object-fit: contain;
    align-self: center;
}

/* Features Section */
.features-section {
    background: var(--Deep-Blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--Light-Gray);
    text-align: center;
    padding: 55px 0;
    margin-top: 60px;
    font-family: var(--font-sans);
}

.features-section2 {
    background: var(--Deep-Blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--Light-Gray);
    text-align: center;
    padding: 70px 0;
    margin-top: 170px;
    font-family: var(--font-sans);

}

.features-title {
    background: var(--AI-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-sans);
    font-size: var(--fs-display);
    font-weight: var(--fw-bold);
    line-height: var(--lh-display);
    /* the clipped gradient crops descenders without a little breathing room */
    padding-bottom: 0.08em;
    margin-bottom: 0;
}

/* Accent — AI gradient, used on the deep-blue band */
.cnt-btn {
    background: var(--AI-gradient);
    color: var(--Deep-Blue);
    min-width: 168px;
}

.gradient {
    background: var(--AI-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-description {
    margin-top: 18px;
    width: 100%;
    max-width: 1032px;
    padding: 0 20px;
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: var(--fw-medium);
    line-height: var(--lh-body);
    color: var(--White);
}

/* Contact Form */
.contact-form {
    border-radius: 40px;
    /* box-shadow: 7px -2px 35px 3px rgba(0, 0, 0, 0.1); */
    border: 20px solid var(--Light-Gray);
    padding: 63px 72px;
    margin-top: 80px;
    width: 80%;
    max-width: 1400px;
    font-family: var(--font-sans);

}

.form-title {
    color: var(--Deep-Blue);
    font-family: var(--font-sans);
    font-size: 36px;
    font-weight: var(--fw-semibold);
    line-height: var(--lh-heading);
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    gap: 64px;
    margin-bottom: 0;
}

.form-field {
    flex: 1;
    min-width: 240px;
}

.form-label {
    display: block;
    color: var(--Black);
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: var(--fw-regular);
    line-height: 1;
}

.form-input {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 1);
    padding: 10px;
}

.form-textarea {
    width: 100%;
    min-height: 120px;
    border: 1px solid rgba(0, 0, 0, 1);
    padding: 10px;
    font-family: var(--font-sans);

}

.submit-button {
    min-width: 168px;
    margin-top: 40px;
}

.contact-form .form-input {
    border: none;
    border-bottom: 1px solid #000000;
    outline: none;
    padding: 8px 0;
    width: 100%;
    background: transparent;
    font-size: 16px;
    border-radius: 0px !important;
}

.contact-form .form-input:focus {
    border-bottom-color: var(--Deep-Blue);
    /* Change bottom border color on focus */
}

.contact-form .form-field {
    margin-bottom: 26px;
}


.form-result {
    margin: 16px 0 0;
    min-height: 1.4em;
    font-family: var(--font-sans);
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    line-height: 1.4;
    color: var(--Deep-Blue);
}

.form-result.is-error {
    color: #c62828;
}

.submit-button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Keyboard-only skip link: off-screen until focused */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    padding: 12px 20px;
    background: var(--Deep-Blue);
    color: var(--White);
    font-family: var(--font-sans);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    border-radius: 0 0 var(--radius-btn) 0;
}

.skip-link:focus {
    left: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ===========================================================
   AI-Native section + the AI Emotion / Assist / Coaching trio.
   Built from the existing tokens and card idioms — no new colours.
   =========================================================== */

.section-head {
    width: 100%;
    max-width: 820px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-intro {
    font-size: var(--fs-lead);
    font-weight: var(--fw-medium);
    line-height: var(--lh-body);
    color: var(--Black);
    margin: 18px 0 0;
}

/* ---- AI-Native pillars (white background) ---- */
.ai-native {
    width: 90%;
    max-width: 1400px;
    margin: 110px auto 0;
    font-family: var(--font-sans);
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* .pillar sits inside the shared .box-wrapper / .box card shell */
.pillar {
    gap: 0;
    padding: 26px;
}

.pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--Light-Gray);
    color: var(--Deep-Blue);
    margin-bottom: 22px;
    flex: 0 0 auto;
}

.pillar-title {
    font-size: var(--fs-h3);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-heading);
    color: var(--Deep-Blue);
    margin: 0 0 12px;
}

.pillar-text {
    font-size: var(--fs-body);
    font-weight: var(--fw-medium);
    line-height: var(--lh-body);
    color: var(--Black);
    margin: 0;
}

.pillar-list {
    margin-top: 20px;
    margin-bottom: 0;
    font-weight: var(--fw-medium);
}

.pillar-list li {
    margin-bottom: 6px;
}

/* ---- AI trio (deep-blue band) ---- */
.trio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 90%;
    max-width: 1400px;
    margin: 56px auto 0;
    text-align: left;
}

.trio-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 26px;
}

/* same chip treatment as the footer social buttons */
.trio-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    color: var(--Accent-Green);
    margin-bottom: 22px;
}

.trio-title {
    font-size: 24px;
    font-weight: var(--fw-semibold);
    line-height: var(--lh-heading);
    color: var(--White);
    margin: 0 0 10px;
}

.trio-text {
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    line-height: var(--lh-body);
    color: var(--Lavender);
    margin: 0;
}

@media (max-width: 991px) {
    .ai-native {
        margin-top: 70px;
    }

    .pillar-grid,
    .trio-grid {
        grid-template-columns: 1fr;
    }

    .section-head {
        margin-bottom: 32px;
    }

    .section-intro {
        font-size: var(--fs-body);
    }
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 28px;
}

.gradient-divider {
    width: 90%;
    height: 2px;
    margin: 0 auto;
    background: var(--AI-gradient);
    border: none;
    margin-top: 50px;
}


@media (max-width: 991px) {
    .header {
        padding: 20px;
    }

    .hero-section {
        flex-direction: column;
        margin: 100px auto 0;
    }

    .hero-section3 {
        flex-direction: column;
        margin: 20px auto 0;
    }

    .hero-section1 {
        flex-direction: column;
        margin: 40px auto 0;
    }

    .hero-section2 {
        flex-direction: column;
        gap: 40px;
    }

    .hero-content,
    .hero-image {
        width: 100%;
    }

    .hero-title {
        font-size: 40px;
    }


    .features-section {
        margin-top: 40px;
        padding: 40px 20px;
    }

    .features-section2 {
        margin-top: 100px;
        padding: 40px 20px;
    }

    .features-title {
        font-size: 40px;
    }

    .ai-resolve-title,
    .integrate-title,
    .section-title {
        font-size: 34px;
    }

    .contact-form {
        padding: 40px 20px;
        margin-top: 40px;
    }

    .form-group {
        flex-direction: column;
        gap: 0;
    }
}

.responsive-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    /* same 90% gutter as the split sections above */
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 0;
    font-family: var(--font-sans);
}

.box-wrapper {
    display: flex;
    border-radius: var(--radius-card);
    padding: 10px;
    border: 2px solid var(--Accent-Green);
}

.box {
    background-color: var(--White);
    padding: 14px;
    text-align: left;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.box-title {
    font-size: var(--fs-h3);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-heading);
    color: var(--Deep-Blue);
    margin: 0;
}

.box-text {
    font-size: var(--fs-body);
    font-weight: var(--fw-medium);
    line-height: var(--lh-body);
    color: var(--Black);
    margin: 0;
}

.ai-resolve-title {
    font-weight: var(--fw-semibold);
    font-family: var(--font-sans);
    font-size: var(--fs-h2);
    line-height: var(--lh-heading);
    text-align: start;
    color: var(--Deep-Blue);
}

.integrate-title {
    font-size: var(--fs-h2);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-heading);
    text-align: center;
    color: var(--Deep-Blue);
}

@media (max-width: 900px) {
    .responsive-section {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 0;
    }

    .cta-button {
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .responsive-section {
        grid-template-columns: 1fr;
    }

    .logo-img {
        width: 140px;
        height: 28px;
        padding-left: 0px;
    }

    .hero-title,
    .features-title {
        font-size: 34px;
    }

    .features-title {
        margin-bottom: 24px;
    }

    .ai-resolve-title,
    .integrate-title,
    .section-title {
        font-size: 30px;
    }

    .box-title {
        font-size: 24px;
    }

    .cta-button,
    .integration-btn,
    .submit-button {
        align-self: stretch;
        width: 100%;
    }


}


.features-container {
    display: flex;
    flex-wrap: wrap;
    /* Allows wrapping on smaller screens */
    justify-content: space-between;
    gap: 10px;
    /* Adds space between the items */
    margin-top: 80px;
    padding: 30px;
}

.features-container div {
    flex: 1 1 calc(25% - 10px);
    /* Each div takes up 25% of the width minus the gap */
    padding: 10px 20px 10px 50px;
    text-align: left;
    position: relative;
    font-family: var(--font-sans);

}

.features-container div:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.stat-value {
    font-size: 32px;
    font-weight: var(--fw-semibold);
    line-height: var(--lh-heading);
    color: var(--White);
    /* min-height keeps the four columns aligned without ever clipping */
    min-height: 130px;
    margin-bottom: 12px;
}

.stat-text {
    font-size: var(--fs-body);
    font-weight: var(--fw-medium);
    line-height: var(--lh-body);
    color: var(--White);
    margin: 0;
}




/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .features-container div {
        flex: 1 1 calc(50% - 10px);
        /* On medium screens, each div takes up 50% */
    }

    .features-container {
        margin-top: 0px;
    }

    .features-container div:not(:last-child) {
        border-right: 1px solid rgba(255, 255, 255, 0.28);
    }

    .form-title {
        font-size: 28px;
    }


}

@media (max-width: 768px) {
    .stat-value {
        min-height: 0;
    }

    .features-container div {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .features-container div {
        flex: 1 1 100%;
    }

    .features-container div:not(:last-child) {
        border-right: none;
    }
}


/* —— Legal pages (privacy policy, terms) —— */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 130px 24px 60px;
    min-height: 70vh;
    font-family: var(--font-sans);
}

.legal-page h1 {
    color: var(--Deep-Blue);
    font-size: var(--fs-h2);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-heading);
    margin-bottom: 0.5rem;
}

.legal-page h2 {
    color: var(--Deep-Blue);
    font-size: 22px;
    font-weight: var(--fw-semibold);
    line-height: var(--lh-heading);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-page p,
.legal-page li {
    color: var(--Body-Text);
    font-size: var(--fs-small);
    line-height: var(--lh-body);
    margin-bottom: 0.75rem;
}

.legal-page a {
    color: var(--Deep-Blue);
    font-weight: var(--fw-semibold);
}

.legal-page ul {
    padding-left: 1.25rem;
    list-style: disc;
}

.legal-page .last-updated {
    color: var(--Muted-Text);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.legal-back {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--Deep-Blue);
    font-weight: var(--fw-semibold);
    text-decoration: none;
}

.legal-back:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .legal-page {
        padding-top: 110px;
    }

    .legal-page h1 {
        font-size: 30px;
    }
}

/* —— Site footer —— */
.site-footer {
    position: relative;
    background: linear-gradient(160deg, var(--Deep-Blue-Dark) 0%, var(--Deep-Blue) 42%, var(--Deep-Blue-Light) 100%);
    color: #fff;
    padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem) clamp(1.75rem, 3vw, 2.25rem);
    text-align: left;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.35),
            rgba(140, 170, 255, 0.55),
            rgba(255, 255, 255, 0.35),
            transparent);
    pointer-events: none;
}

.footer-shell {
    max-width: 1120px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(200px, 1.4fr) minmax(140px, 0.85fr) minmax(180px, 1fr);
    gap: clamp(1.75rem, 4vw, 3rem);
    align-items: start;
    justify-items: start;
}

.footer-social {
    justify-self: start;
}

.footer-logo-link {
    display: inline-block;
    line-height: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer .footer-logo-link.nav-link {
    color: transparent !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
}

.site-footer .footer-logo-link.nav-link:hover {
    color: transparent !important;
}

.footer-logo-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.footer-logo-img {
    height: 36px;
    width: auto;
    max-width: 176px;
    object-fit: contain;
}

.footer-tagline {
    margin: 1.1rem 0 0;
    max-width: 280px;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 400;
}

.footer-heading {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
    margin: 0 0 0.65rem;
    padding: 0;
}

.footer-nav {
    min-width: 0;
}

.footer-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.site-footer ul.footer-link-list>li:before,
.site-footer ul.footer-link-list>li::before {
    content: none !important;
    display: none !important;
    padding: 0 !important;
    font-size: inherit !important;
}

.footer-link-list>li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .foot-link {
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.98rem;
    font-weight: 500;
    padding: 0.28rem 0;
    display: block;
    width: fit-content;
    max-width: 100%;
    position: relative;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer .foot-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.25rem;
    width: 0;
    height: 2px;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.85);
    transition: width 0.22s ease;
}

.site-footer .foot-link:hover {
    color: #fff !important;
    transform: translateX(2px);
}

.site-footer .foot-link:hover::after {
    width: 2rem;
}

.site-footer .foot-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 3px;
    border-radius: 2px;
}

.footer-brand .footer-copyright {
    margin-top: 1.85rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.62);
    letter-spacing: 0.03em;
}

.footer-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.footer-social-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 3px;
}

.footer-mobile-meta .footer-copyright {
    margin: 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.62);
    letter-spacing: 0.02em;
}

@media screen and (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.75rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-social-row {
        justify-content: flex-start;
    }
}

/* .footer-links {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    flex-wrap: wrap;
}
 
.footer-links div a {
    text-decoration: none;
    color: var(--White);
    text-align: left;
}
 
.footer-links div {
    margin-bottom: 30px;
}
 
.footer-links div p {
    text-align: start;
    font-size: 20px;
}
 
#footer-text {
    font-size: 10x;
    display: flex;
    justify-content: center;
} */

.copy-hide {
    display: none !important;
    ;
}



@media screen and (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links a,
    .footer-social a {
        margin: 5px 0;
    }

    .intigration-btn {
        width: 100%;
    }

    .copy-show {
        display: none !important;
        ;
    }

    .copy-hide.footer-mobile-meta {
        margin-top: 0.25rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        width: 100%;
        display: flex !important;
        justify-content: center;
        text-align: center;
    }

    .site-footer {
        padding: 2.25rem 1.15rem 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-social-row {
        justify-content: flex-start;
    }

}


.accordion {
    border: 5px solid var(--Light-Gray);
    border-radius: 18px;
    overflow: hidden;
    width: 80%;
    max-width: 1400px;
}

.accordion-item {
    border: none !important;

}

.accordion-item:last-child {
    border-bottom: none;
}

.faq-title {
    text-align: center;
    color: var(--Deep-Blue);
    font-family: var(--font-sans);
    font-size: var(--fs-h2);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-heading);
    margin: 100px auto 0;
    max-width: 900px;
    padding: 0 20px;
}

/* --- Split-section detail rows on the deep-blue band --- */
.dialog-item {
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
    text-align: left;
}

.dialog-item:last-child {
    margin-bottom: 0;
}

.dialog-item img {
    height: 40px;
    width: 40px;
    flex: 0 0 auto;
}

.dialog-header {
    text-align: left;
    font-weight: var(--fw-semibold);
    font-size: 24px;
    line-height: var(--lh-heading);
    color: var(--White);
    margin: 0 0 6px;
}

.dialog-content {
    text-align: left;
    font-weight: var(--fw-medium);
    font-size: var(--fs-small);
    line-height: var(--lh-body);
    color: var(--Lavender);
    margin: 0;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background-color: var(--White);
    color: var(--Black);
    border: 0px;
    text-align: left;
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--Light-Gray);
    border-top: 1px solid var(--Light-Gray);
    border-radius: 10px;
    font-weight: 600;

}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 15px;
    font-family: var(--font-sans);
    font-weight: var(--fw-medium);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--Black);
}

.accordion-content.open {
    /* generous cap: answers wrap to 7+ lines on a phone and were being clipped at 200px */
    max-height: 480px;
    padding: 15px;
}


.icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.accordion-header[aria-expanded="true"] .icon {
    transform: rotate(180deg);

}

html {
    scroll-behavior: smooth;
}




@media (max-width: 900px) {
    #button {
        right: 16px;
    }
}

#button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--Deep-Blue);
    border: none;
    width: 52px;
    height: 52px;
    text-align: center;
    border-radius: 100px;
    position: fixed;
    bottom: 40px;
    right: 30px;
    transition: background-color .3s,
        opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    font-size: 30px;
    text-decoration: none !important;
    color: var(--Deep-Blue);
    text-align: center;
    align-items: center;
}

#button img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

#button:hover {
    cursor: pointer;
    background-color: var(--Deep-Blue-Light);
}

#button:focus-visible {
    outline: 2px solid var(--Accent-Teal);
    outline-offset: 3px;
}

#button.show {
    opacity: 1;
    visibility: visible;
}


@media (min-width: 500px) {
    #button {
        margin: 30px;
    }
}




.scroll-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.scroll-content {
    display: inline-flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.logo1 {
    width: 75px;
    height: 46px;
}

.logo2 {
    width: 153px;
    height: 40px;
}

.logo3 {
    width: 180px;
    height: 52px;
}

.logo4 {
    width: 104px;
    height: 44px;
}

.logo5 {
    width: 190px;
    height: 42px;
}

.logo6 {
    width: 180px;
    height: 42px;
}

.integrate-body {
    font-family: var(--font-sans);
    font-size: var(--fs-lead);
    font-weight: var(--fw-medium);
    line-height: var(--lh-body);
    text-align: center;
    color: var(--Black);
    margin-top: 12px;
}


@media (max-width: 600px) {
    .scroll-container {
        overflow: hidden;
        white-space: nowrap;
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .scroll-content {
        display: inline-flex;
        align-items: center;
        gap: 30px;
    }

    .integrate-body {
        font-size: var(--fs-small);
        margin-bottom: 40px;
    }


    .contact-form {
        width: 90%;
        border-width: 12px;
        border-radius: 28px;
    }

    .accordion {
        width: 90%;
    }



}

.toast {
    visibility: hidden;
    min-width: 250px;
    /* transform-centred: the old -125px margin assumed a fixed 250px width and
       pushed the toast off-screen once the text made it wider */
    max-width: calc(100% - 32px);
    background: var(--AI-gradient);
    color: var(--Deep-Blue);
    font-weight: var(--fw-semibold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    text-align: center;
    border-radius: 10px;
    padding: 16px;
    position: fixed;
    z-index: 1200;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    font-family: var(--font-sans);
    font-size: var(--fs-small);
    transition: visibility 0s, opacity 0.5s ease-in-out;
    opacity: 0;
}

.toast.show {
    visibility: visible;
    opacity: 1;
}


.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li:before {
    content: "•";
    font-size: 40px;
    line-height: 0.6;
    padding-right: 10px;
    color: var(--Deep-Blue);
}

.color-blue {
    color: var(--Deep-Blue);
}

/* The hCaptcha iframe has a fixed ~303px width — scale it on narrow phones
   so it stays inside the form card. */
@media (max-width: 420px) {
    .h-captcha {
        transform: scale(0.82);
        transform-origin: 0 0;
        height: 62px;
    }
}
