/* ============ RESET & TOKENS ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-white);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

:root {
    --bg-white: #ffffff;
    --bg-light: #f7f7f7;
    --bg-input-dark: #141414;
    --bg-dark-card: #161616;
    --text-dark: #000000;
    --text-white: #ffffff;
    --text-grey: #4a4a4a;
    --text-muted-on-dark: #bdbdbd;
    --accent-blue: #0030cf;
    --accent-blue-hover: #0024a0;
    --accent-orange: #ff9d00;
    --border-light: #e6e6e6;
    --border-dark: #1f1f1f;
    --container-max: 1115px;
    --gutter: 20px;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    width: 100%;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 6px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, opacity 0.2s;
    white-space: nowrap;
    min-height: 50px;
}
.btn-blue { background: var(--accent-blue); color: #fff; }
.btn-blue:hover { background: var(--accent-blue-hover); }
.btn-blue:active { transform: translateY(1px); }
.btn-white { background: #fff; color: #000; }
.btn-white:hover { opacity: 0.88; }
.btn-white:active { transform: translateY(1px); }

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 80px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo-svg { height: 22px; width: auto; display: block; }
.logo-svg--dark { filter: invert(1); }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s;
}
.nav a:hover { color: var(--accent-blue); }
.header-btn { padding: 10px 22px; font-size: 14px; min-height: 40px; }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
}
.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    display: block;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 1000;
    display: none;
    flex-direction: column;
}
.mobile-menu.active { display: flex; }
.mobile-menu-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}
.mobile-menu-header .logo { margin: 0 auto; }
.mobile-menu-header .mobile-menu-close {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}
.mobile-menu-close {
    width: 28px; height: 28px;
    background: none; border: none;
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
.mobile-menu-close span {
    width: 24px; height: 2px;
    background: var(--text-dark);
    display: block;
    position: absolute;
}
.mobile-menu-close span:first-child { transform: rotate(45deg); }
.mobile-menu-close span:last-child { transform: rotate(-45deg); }

.mobile-menu-content {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}
.mobile-menu-content nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    text-align: center;
}
.mobile-menu-content nav a {
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 500;
}
.mobile-participate-btn { align-self: center; }

/* ============ SECTION BG VARIANTS ============ */
.section-white { background: var(--bg-white); color: var(--text-dark); position: relative; }
.section-light { background: var(--bg-light); color: var(--text-dark); position: relative; }
.section-dark {
    background: radial-gradient(ellipse 70% 90% at 50% 50%, #000b31 0%, #000000 100%);
    color: var(--text-white);
}
.section-dark--blue {
    background: radial-gradient(ellipse 70% 90% at 50% 50%, #001351 0%, #000000 100%);
    color: var(--text-white);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    background: var(--bg-white);
    padding: 130px 0 0;
    min-height: 800px;
    overflow: hidden;
    text-align: center;
}
.hero-bg {
    position: absolute;
    left: 50%;
    top: 130px;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1115px;
    height: 330px;
    overflow: hidden;
    border-radius: 16px;
    z-index: 0;
    pointer-events: none;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 65%, #fff 100%);
}
.hero-illustration {
    position: absolute;
    left: 50%;
    top: 130px;
    transform: translateX(-50%);
    width: 452px;
    max-width: 70%;
    z-index: 1;
    pointer-events: none;
}
.hero-illustration img { width: 100%; height: auto; }
.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 330px;
    padding-bottom: 80px;
    max-width: 720px;
}
.hero h1 {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 20px;
    letter-spacing: -0.5px;
    color: var(--text-dark);
}
.hero p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-grey);
    margin: 0 auto 28px;
    max-width: 560px;
}
.hero-cta { padding: 14px 36px; }
.hero-badge {
    margin-top: 22px;
    font-size: 14px;
    color: var(--text-grey);
}

/* ============ FEATURES (1 block) — no card bg, 4 columns wide ============ */
.features { padding: 80px 0; background: var(--bg-light); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.feature-card {
    background: transparent;
    color: var(--text-dark);
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
/* Wide image slot: ~5:3 (matches Figma 254x153) */
.feature-img-slot {
    width: 100%;
    aspect-ratio: 254 / 153;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    overflow: hidden;
    border-radius: 10px;
}
.feature-img-slot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.feature-img-slot--square img {
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.feature-img-slot--square { justify-content: center; }
.feature-card h3 {
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 10px;
    color: var(--text-dark);
    width: 100%;
}
.feature-card p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    color: var(--text-grey);
    width: 100%;
}
.features-cta {
    display: flex;
    margin: 36px 0 0;
    width: 100%;
    padding: 14px 28px;
}

/* ============ SECTION TYPOGRAPHY ============ */
.section-title {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.22;
    margin: 0 0 16px;
    text-align: center;
    letter-spacing: -0.5px;
}
.section-subtitle {
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}
.section-light .section-subtitle,
.section-white .section-subtitle { color: var(--text-grey); }
.section-dark .section-subtitle,
.section-dark--blue .section-subtitle { color: var(--text-muted-on-dark); }

.section-title--left { text-align: left; }
.section-subtitle--left { text-align: left; margin-left: 0; max-width: none; }
.section-cta {
    display: flex;
    margin: 40px auto 0;
    width: max-content;
    padding: 14px 40px;
}

/* ============ HOW IT WORKS (2 block) ============ */
.how-it-works { padding: 90px 0; }
.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 595px;
    margin: 0 auto;
}
.step-card {
    background: rgba(22, 22, 22, 0.3);
    border-radius: 5px;
    padding: 22px 28px 24px;
    border: 1px solid rgba(255,255,255,0.04);
}
.step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 10px;
    color: var(--text-white);
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--accent-blue);
    color: #fff;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
}
.step-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-muted-on-dark);
}

/* ============ STATS (3 block) ============ */
.stats { padding: 80px 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 32px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.stat-num {
    font-size: 32px;
    font-weight: 500;
    color: var(--accent-blue);
    line-height: 1.22;
    margin-bottom: 12px;
    text-align: center;
}
.stat-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-grey);
    text-align: center;
    max-width: 320px;
}

/* ============ INTEGRATION (4 block) ============ */
.integration { padding: 80px 0; }
.integration-block {
    display: grid;
    grid-template-columns: 436px 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}
.integration-block:last-child { margin-bottom: 0; }
.integration-block--reverse { grid-template-columns: 1fr 436px; }
.integration-block--reverse .integration-left { order: 2; }
.integration-block--reverse .integration-right { order: 1; }
.integration-illustration { width: 100%; height: auto; display: block; }

.integration-right .section-title {
    font-size: 32px;
    margin-bottom: 14px;
}
.integration-right .section-subtitle {
    font-size: 16px;
    margin-bottom: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
}
.feature-list li {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}
.feature-list li img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    flex-shrink: 0;
}
.feature-list li p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--text-dark);
}
.integration-cta {
    display: flex;
    width: 100%;
    padding: 14px 28px;
}

/* ============ COMPENSATION (5 block) — dark ============ */
.compensation { padding: 90px 0; }
.compensation-grid {
    display: grid;
    grid-template-columns: 1fr 457px;
    gap: 60px;
    align-items: center;
}
.compensation-text .section-title {
    margin-bottom: 22px;
    font-size: 32px;
    color: var(--text-white);
}
.compensation-text p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted-on-dark);
    margin: 0 0 28px;
    max-width: 540px;
}
.compensation-image img { width: 100%; height: auto; }

/* ============ TESTIMONIALS + FAQ (6+7) — light cards on white ============ */
.testimonials { padding: 80px 0 40px; }
.faq { padding: 40px 0 80px; }

/* FAQ static grid 3x2 (no carousel) */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.faq-grid .faq-card {
    min-height: 0;
}

.carousel {
    position: relative;
    margin: 0 -60px; /* extend beyond container so half-cards on sides peek out */
    padding: 0 60px;
}
.carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 80px) / 3.5);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
    scroll-padding-left: 0;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }

.testimonial-card,
.faq-card {
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 200px;
}
.testimonial-card .stars { display: flex; gap: 4px; }
.testimonial-card .stars img { width: 20px; height: 20px; }
.testimonial-card p,
.faq-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-grey);
}
.testimonial-card .author {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-dark);
}
.faq-card h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    color: var(--text-dark);
}

.carousel-arrows {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    justify-content: center;
}
.carousel-arrow {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    border: none;
    background: var(--bg-light);
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    cursor: pointer;
}
.carousel-arrow:hover { background: #ebebeb; }
.carousel-arrow img { width: 20px; height: 20px; }
.carousel-arrow--prev img { transform: rotate(180deg); }

/* ============ CTA BANNER (8) — image bg, white text, white button ============ */
.cta-banner {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background: #000;
    color: #fff;
}
.cta-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.cta-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}
.cta-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.cta-banner h2 {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.22;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
    color: #fff;
}
.cta-banner p {
    font-size: 16px;
    color: #fff;
    margin: 0 0 28px;
}
.cta-banner .btn-white {
    background: #fff;
    color: #000;
}
.cta-banner .btn-white:hover { background: #fff; opacity: 0.9; }

/* ============ FOOTER — black ============ */
.footer {
    background: #000;
    color: #fff;
    padding: 60px 0 40px;
}
.footer .logo-svg { filter: none; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: stretch;
}
.footer-left { display: flex; flex-direction: column; gap: 16px; }
.footer-title {
    margin: 12px 0 0;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    max-width: 460px;
    color: #fff;
}
.footer-desc {
    margin: 0;
    font-size: 16px;
    color: var(--text-muted-on-dark);
    max-width: 460px;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 32px;
    gap: 20px;
}
.copyright { font-size: 16px; color: var(--text-muted-on-dark); }
.socials { display: flex; gap: 12px; }
.socials a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: opacity 0.2s;
}
.socials a:hover { opacity: 0.7; }
.socials img { width: 22px; height: 22px; }

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 56px;
    align-items: stretch;
    min-height: 100%;
}
.footer-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-right .copyright {
    margin-top: auto; /* push to the bottom — aligns with socials row in left column */
    text-align: right;
    align-self: flex-end;
    padding-top: 32px;
}
.email-field {
    display: flex;
    align-items: center;
    background: var(--bg-input-dark);
    border-radius: 8px;
    padding: 6px;
    width: 100%;
    max-width: 460px;
}
.email-field input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-white);
    font-family: inherit;
    font-size: 16px;
    padding: 10px 14px;
}
.email-field input::placeholder { color: var(--text-muted-on-dark); }
.email-field .btn {
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 16px;
    min-height: 38px;
}
.agree {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--text-muted-on-dark);
    cursor: pointer;
    user-select: none;
}
.agree input { position: absolute; opacity: 0; pointer-events: none; }
.agree-box {
    width: 18px;
    height: 18px;
    border: 1px solid var(--text-muted-on-dark);
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    flex-shrink: 0;
}
.agree-box img { width: 12px; height: 10px; opacity: 0; }
.agree input:checked + .agree-box {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}
.agree input:checked + .agree-box img {
    opacity: 1;
    filter: brightness(0) invert(1);
}

/* ============ RESPONSIVE ============ */
/* Hide desktop nav, show burger on tablet & mobile */
@media (max-width: 1024px) {
    .nav { display: none; }
    .header-btn { display: none; }
    .mobile-menu-btn { display: flex; }
}

/* ============ TABLET (Figma "Frame 5" — 1000px) ============ */
@media (max-width: 1024px) {
    :root { --gutter: 32px; }
    .container { padding: 0 var(--gutter); }

    /* Hero */
    .hero { padding-top: 120px; }
    .hero h1 { font-size: 40px; }
    .hero p { font-size: 16px; }

    /* Features: 2 columns on tablet */
    .features { padding: 60px 0; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

    /* How it works — still vertical */
    .how-it-works { padding: 60px 0; }
    .steps-grid { max-width: 100%; }

    /* Stats: 2 columns */
    .stats { padding: 60px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    /* Integration: stack vertically, illustration above text */
    .integration { padding: 60px 0; }
    .integration-block,
    .integration-block--reverse { grid-template-columns: 1fr; gap: 36px; }
    .integration-block--reverse .integration-left { order: 1; }
    .integration-block--reverse .integration-right { order: 2; }
    .integration-illustration { max-width: 460px; margin: 0 auto; }
    .integration-right .section-title { font-size: 28px; }
    .integration-right .section-subtitle { margin-bottom: 0; }
    .feature-list { grid-template-columns: 1fr 1fr; margin-top: 20px; }

    /* Compensation: stack */
    .compensation { padding: 60px 0; }
    .compensation-grid { grid-template-columns: 1fr; gap: 40px; text-align: left; }
    .compensation-image { max-width: 460px; margin: 0 auto; }

    /* Testimonials: 2.5 cards visible */
    .testimonials { padding: 60px 0 30px; }
    .carousel { margin: 0 -32px; padding: 0 32px; }
    .carousel-track { grid-auto-columns: calc((100% - 60px) / 2.5); }

    /* FAQ: 2 columns */
    .faq { padding: 30px 0 60px; }
    .faq-grid { grid-template-columns: repeat(2, 1fr); }

    .cta-banner { padding: 60px 0; }

    /* Footer: stack vertically */
    .footer { padding: 50px 0 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-right { padding-top: 0; }
    .footer-right .copyright {
        align-self: flex-start; text-align: left; padding-top: 16px; margin-top: 16px;
    }
}

/* ============ MOBILE (Figma "360 тф" — 360px, breakpoint 640) ============ */
@media (max-width: 640px) {
    :root { --gutter: 16px; }
    .container { padding: 0 var(--gutter); }

    /* Section paddings tighter */
    .features, .how-it-works, .stats, .integration, .compensation,
    .testimonials, .faq, .cta-banner, .footer { padding: 48px 0; }
    .testimonials { padding-bottom: 24px; }
    .faq { padding-top: 24px; padding-bottom: 48px; }

    /* Typography scale-down */
    .section-title { font-size: 26px; line-height: 1.25; }
    .section-subtitle { font-size: 14px; }
    .cta-banner h2 { font-size: 24px; }

    /* Header: logo centered, burger absolutely right, grey bg on burger */
    .header { height: 64px; }
    .header-inner {
        padding: 0;
        position: relative;
        justify-content: center;
    }
    .logo { margin: 0 auto; }
    .logo-svg { height: 22px; }
    .mobile-menu-btn {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        background: #f2f2f2;
        border-radius: 8px;
        width: 40px;
        height: 40px;
        padding: 0;
        align-items: center;
        justify-content: center;
        gap: 4px;
    }
    .mobile-menu-btn span { width: 18px; }

    /* Hero */
    .hero { padding-top: 90px; min-height: 0; }
    .hero-bg { top: 80px; height: 200px; }
    .hero-illustration { top: 90px; width: 75%; max-width: 280px; }
    .hero-content { padding-top: 220px; padding-bottom: 40px; }
    .hero h1 { font-size: 28px; line-height: 1.2; }
    .hero p { font-size: 14px; }
    .hero-cta { width: 100%; padding: 14px 24px; }
    .hero-badge { font-size: 12px; padding: 8px 16px; }

    /* Features: 1 column, content centered */
    .features-grid { grid-template-columns: 1fr; gap: 28px; }
    .feature-card { align-items: center; text-align: center; }
    .feature-card h3 { font-size: 20px; text-align: center; }
    .feature-card p { font-size: 14px; text-align: center; }
    .feature-img-slot { margin-left: auto; margin-right: auto; }

    /* How it works: compact */
    .how-it-works { padding: 36px 0; }
    .how-it-works .section-title { font-size: 22px; }
    .how-it-works .section-subtitle { font-size: 13px; margin-bottom: 24px; }
    .steps-grid { gap: 12px; }
    .step-card { padding: 16px 18px; }
    .step-title { font-size: 15px; gap: 10px; margin-bottom: 8px; }
    .step-num { width: 26px; height: 26px; font-size: 14px; }
    .step-card p { font-size: 14px; }
    .how-it-works .section-cta {
        margin-top: 24px;
        padding: 10px 22px;
        font-size: 13px;
        min-height: 38px;
        width: max-content;
    }

    /* Stats: 1 column, bigger text per Figma */
    .stats .section-title { font-size: 30px; }
    .stats .section-subtitle { font-size: 16px; }
    .stats-grid { grid-template-columns: 1fr; gap: 16px; }
    .stat-card { padding: 28px 20px; }
    .stat-num { font-size: 32px; }
    .stat-card p { font-size: 16px; }

    /* Integration — centered per Figma */
    .integration-right { display: flex; flex-direction: column; align-items: center; }
    .integration-right .section-title,
    .integration-right .section-title--left { font-size: 28px; text-align: center; }
    .integration-right .section-subtitle,
    .integration-right .section-subtitle--left {
        font-size: 16px;
        margin: 0 auto;
        text-align: center;
        max-width: 100%;
    }
    .feature-list { grid-template-columns: 1fr; gap: 16px; margin-top: 20px; width: 100%; max-width: 320px; }
    .feature-list li { align-items: flex-start; }
    .feature-list li img { width: 60px; height: 60px; }
    .feature-list li p { font-size: 16px; }
    .integration-cta { width: 100%; }

    /* Compensation — centered text + button, smaller illustration */
    .compensation-grid { text-align: center; }
    .compensation-text { display: flex; flex-direction: column; align-items: center; }
    .compensation-text .section-title { font-size: 26px; text-align: center; }
    .compensation-text p { text-align: center; margin-left: auto; margin-right: auto; }
    .compensation-text .btn { align-self: center; }
    .compensation-image { max-width: 320px; margin: 0 auto; }

    /* Testimonials — bigger text per Figma */
    .testimonials .section-title { font-size: 28px; }
    .carousel { margin: 0 -16px; padding: 0 16px; }
    .carousel-track { grid-auto-columns: 85%; }
    .testimonial-card, .faq-card { padding: 22px; }
    .testimonial-card p, .faq-card p { font-size: 16px; }
    .testimonial-card .author { font-size: 18px; }

    /* FAQ: 1 column */
    .faq-grid { grid-template-columns: 1fr; gap: 16px; }
    .faq-card h3 { font-size: 18px; }

    /* CTA banner */
    .cta-banner p { font-size: 14px; }

    /* Footer — everything centered, email split into two blocks */
    .footer { text-align: center; }
    .footer-grid { gap: 28px; }
    .footer-left { align-items: center; text-align: center; }
    .footer-title { font-size: 20px; text-align: center; max-width: none; }
    .footer-desc { font-size: 14px; text-align: center; max-width: none; }
    .footer-bottom { justify-content: center; gap: 14px; margin-top: 16px; }
    .socials { justify-content: center; }

    .footer-right { align-items: center; padding-top: 0; }
    .footer-form { width: 100%; align-items: stretch; }
    /* Two separate stacked blocks: input on its own, button on its own */
    .email-field {
        background: transparent;
        padding: 0;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        max-width: none;
    }
    .email-field input {
        background: var(--bg-input-dark);
        border-radius: 8px;
        padding: 14px 16px;
        width: 100%;
        text-align: center;
    }
    .email-field .btn {
        width: 100%;
        padding: 14px 22px;
        min-height: 48px;
        border-radius: 8px;
    }
    .agree { justify-content: center; text-align: left; font-size: 14px; }
    .footer-right .copyright {
        align-self: center;
        text-align: center;
        padding-top: 8px;
        margin-top: 8px;
    }

    /* Buttons full-width */
    .btn { font-size: 14px; padding: 12px 20px; }
    .features-cta { width: 100%; }
    .section-cta { width: 100%; }
}
