* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f8fafc;
    color: #111827;
    font-family: var(--body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    margin: 0 0 16px;
    font-family: var(--heading);
    line-height: 1.08;
}

.wrap {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.nav {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 18px 22px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
}

.nav img {
    max-width: 180px;
    max-height: 38px;
    object-fit: contain;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px;
}

.menu a {
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.18s ease;
}

.menu a:hover {
    color: var(--primary);
}

.has-menu main {
    margin-top: -72px;
}

.no-menu main {
    margin-top: 0;
}

.hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: 720px;
    overflow: hidden;
    padding: 170px 0 120px;
    background: linear-gradient(135deg, #111827, #020617);
    color: #fff;
    isolation: isolate;
}

.hero::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.52) 44%, rgba(0, 0, 0, 0.28));
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .wrap {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 48px));
    max-width: none;
}

.hero-grid {
    max-width: 760px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.hero h1 {
    max-width: 920px;
    margin-bottom: 18px;
    font-size: clamp(48px, 7vw, 86px);
    letter-spacing: -0.055em;
}

.hero .rich-text {
    max-width: 720px;
}

.hero .rich-text,
.hero .rich-text p {
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.62;
}

.rich-text > *:first-child {
    margin-top: 0;
}

.rich-text > *:last-child {
    margin-bottom: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    margin-top: 18px;
    padding: 15px 24px;
    border-radius: var(--button-radius);
    background: var(--primary-button-bg);
    color: var(--primary-button-text);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.24);
}

.micro {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
}

.section {
    padding: 96px 0;
    scroll-margin-top: 24px;
}

.section .wrap,
.final .wrap,
footer .wrap {
    width: min(1120px, calc(100% - 48px));
}

.section h2 {
    margin-bottom: 28px;
    font-size: clamp(32px, 4vw, 54px);
    letter-spacing: -0.04em;
    text-align: center;
}

.logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.logo-pill,
.customer-logo {
    display: grid;
    place-items: center;
    min-width: 148px;
    height: 72px;
    padding: 14px 22px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: var(--radius);
    background: #fff;
    color: #6b7280;
    font-weight: 700;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
}

.customer-logo {
    width: auto;
    max-width: 210px;
    object-fit: contain;
}

.benefit-list {
    display: grid;
    gap: 72px;
}

.benefit-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.benefit-row-reverse .benefit-copy {
    order: 2;
}

.benefit-row-reverse .benefit-image {
    order: 1;
}

.benefit-copy {
    color: #374151;
    font-size: 18px;
}

.benefit-copy h1,
.benefit-copy h2,
.benefit-copy h3 {
    margin-top: 0;
    color: #111827;
    font-size: clamp(30px, 4vw, 50px);
    letter-spacing: -0.04em;
    text-align: left;
}

.benefit-copy p {
    margin: 0 0 16px;
}

.visual,
.media,
.benefit-image {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 380px;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--surface), #fff);
    color: #6b7280;
    text-align: center;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.benefit-image img,
.benefit-image video,
.media img,
.media video,
.visual img,
.visual video {
    width: 100%;
    height: 100%;
    min-height: inherit;
    border-radius: var(--radius);
    object-fit: cover;
}

.link {
    display: inline-flex;
    margin-top: 12px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.testimonial {
    position: relative;
    overflow: hidden;
    padding: 112px 0;
    background: var(--primary);
    text-align: center;
    isolation: isolate;
}

.testimonial::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: linear-gradient(320deg, rgba(255, 255, 255, 0.78), #fff 58%);
}

.testimonial::after {
    position: absolute;
    right: -12%;
    bottom: -50%;
    z-index: -2;
    width: 56%;
    aspect-ratio: 1;
    border-radius: 50%;
    content: "";
    background: var(--primary);
    opacity: 0.18;
}

.quote-mark {
    height: auto;
    margin-bottom: 4px;
    color: var(--primary);
    font-family: var(--heading);
    font-size: 92px;
    line-height: 1;
}

.quote {
    max-width: 860px;
    margin: 0 auto;
    color: #374151;
    font-size: clamp(34px, 5.5vw, 64px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.045em;
}

.quote p {
    margin: 0;
}

.testimonial-person {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
    padding: 10px 16px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    text-align: left;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
}

.testimonial-avatar {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: var(--surface);
    color: var(--primary);
    font-size: 16px;
    font-weight: 800;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-meta {
    display: grid;
    gap: 2px;
}

.person {
    margin: 0;
    color: var(--primary);
    font-weight: 700;
}

.testimonial-role {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
}

.section details {
    max-width: 860px;
    margin: 0 auto;
    padding: 22px 0;
    border-top: 1px solid rgba(17, 24, 39, 0.12);
}

.section details:last-child {
    border-bottom: 1px solid rgba(17, 24, 39, 0.12);
}

summary {
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

details div {
    max-width: 760px;
    color: #4b5563;
}

details p {
    margin: 8px 0 0;
}

.final {
    position: relative;
    overflow: hidden;
    padding: 96px 0;
    background: var(--primary);
    color: #fff;
    scroll-margin-top: 24px;
    isolation: isolate;
}

.final::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.26), transparent 34%), linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.28));
}

.final .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
    gap: 54px;
    align-items: center;
    max-width: none;
}

.final h1,
.final h2,
.final h3 {
    font-size: clamp(36px, 5vw, 68px);
    letter-spacing: -0.05em;
}

.final p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 20px;
}

.final .button {
    background: var(--secondary-button-bg);
    color: var(--secondary-button-text);
}

.final .media,
.final .visual {
    min-height: 340px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

footer {
    padding: 34px 0;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    background: #fff;
    scroll-margin-top: 24px;
}

footer nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

footer a {
    color: #6b7280;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 900px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        width: min(100% - 32px, 1180px);
    }

    .menu {
        justify-content: flex-start;
    }

    .hero {
        min-height: 620px;
        padding: 150px 0 88px;
    }

    .benefit-row,
    .benefit-row-reverse,
    .final .wrap {
        grid-template-columns: 1fr;
    }

    .benefit-row-reverse .benefit-copy,
    .benefit-row-reverse .benefit-image {
        order: initial;
    }

    .benefit-list {
        gap: 46px;
    }

    .section {
        padding: 70px 0;
    }

    .benefit-image,
    .media,
    .visual {
        min-height: 280px;
    }

    .quote {
        font-size: clamp(30px, 9vw, 44px);
    }
}

@media (max-width: 560px) {
    .nav,
    .hero .wrap,
    .section .wrap,
    .final .wrap,
    footer .wrap {
        width: calc(100% - 32px);
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero .rich-text,
    .hero .rich-text p {
        font-size: 18px;
    }

    .section h2 {
        text-align: left;
    }

    .logos {
        justify-content: flex-start;
    }

    .testimonial-person {
        align-items: flex-start;
        border-radius: var(--radius);
    }

    .final {
        padding: 72px 0;
    }
}
