/* ==========================================================================
   Base
   ========================================================================== */
:root {
    --color-text: #161b26;
    --color-text-muted: #475467;
    --color-border: #d0d5dd;
    --color-primary: #079669;
    --color-primary-hover: #067a56;
    --color-bg: #ffffff;
    --color-dark: #14171c;
    --color-dark-muted: #9aa1ab;

    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --container: 1000px;
    --gutter: 24px;
    --radius-sm: 6px;
    --radius-lg: 20px;
    --nav-height: 80px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}

.btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.btn--primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}

.btn--primary:hover {
    background: var(--color-primary-hover);
}

.btn--lg {
    height: 48px;
    padding: 0 20px;
    font-size: 16px;
}

.btn--outline {
    background: #fff;
    border-color: var(--color-border);
    color: #344054;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}

.btn--outline svg {
    color: #667085;
}

.btn--outline:hover {
    background: #f9fafb;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
html {
    scroll-padding-top: var(--nav-height);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid #e9eaeb;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 1216px;
    height: var(--nav-height);
    margin: 0 auto;
    padding: 0 var(--gutter);
    box-sizing: content-box;
}

.navbar__logo img {
    width: 112px;
    height: auto;
}

.navbar__menu {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar__item {
    position: relative;
}

.navbar__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 8px;
    border: 0;
    border-radius: 6px;
    background: none;
    font: 600 16px/1.5 var(--font-sans);
    color: #414651;
    cursor: pointer;
    transition: color .2s, background-color .2s;
}

.navbar__link:hover,
.navbar__link[aria-expanded="true"] {
    color: var(--color-text);
}

.navbar__link svg {
    color: #a4a7ae;
    transition: transform .2s;
}

.navbar__link[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.navbar__link:focus-visible,
.navbar__dropdown a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.navbar__dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: -8px;
    width: 300px;
    margin: 0;
    padding: 8px;
    list-style: none;
    border: 1px solid #e9eaeb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 24px -6px rgba(16, 24, 40, .1), 0 4px 8px -4px rgba(16, 24, 40, .06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .18s, transform .18s, visibility .18s;
}

/* Hover bridge so the menu doesn't close in the gap */
.navbar__dropdown::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}

.navbar__item.is-open .navbar__dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.navbar__dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    transition: background-color .15s;
}

.navbar__dropdown a:hover {
    background: #f8f8f9;
}

.navbar__dropdown strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
}

.navbar__dropdown span {
    display: block;
    font-size: 14px;
    color: var(--color-text-muted);
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar__actions .btn {
    height: 44px;
}

.navbar__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    margin-left: auto;
    padding: 0 9px;
    border: 0;
    border-radius: 8px;
    background: none;
    cursor: pointer;
}

.navbar__burger span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--color-text);
    transition: transform .25s, opacity .25s;
}

.navbar.is-open .navbar__burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar.is-open .navbar__burger span:nth-child(2) {
    opacity: 0;
}

.navbar.is-open .navbar__burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: min(calc(100svh - var(--nav-height)), 860px);
    padding: 64px var(--gutter) 96px;
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 72px;
    width: 100%;
    max-width: 1216px;
    margin: 0 auto;
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.hero__glow--green {
    left: calc(50% - 900px);
    bottom: -160px;
    width: 760px;
    height: 560px;
    background: radial-gradient(closest-side, rgba(7, 150, 105, .11), rgba(7, 150, 105, 0));
}

.hero__glow--violet {
    right: calc(50% - 860px);
    top: -120px;
    width: 820px;
    height: 640px;
    background: radial-gradient(closest-side, rgba(158, 119, 237, .12), rgba(158, 119, 237, 0));
}

.hero__content {
    max-width: 580px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 24px;
    padding: 4px 12px 4px 10px;
    border: 1px solid #abefc6;
    border-radius: 999px;
    background: #ecfdf3;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.43;
    color: #067647;
}

.hero__badge-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #17b26a;
}

/* Soft pulsing ring around the dot */
.hero__badge-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: #17b26a;
    opacity: .35;
    animation: hero-pulse 2s ease-out infinite;
}

.hero__title {
    margin: 0 0 24px;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero__accent {
    background: linear-gradient(90deg, #079669 0%, #12b39a 55%, #4f9cf9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__text {
    max-width: 500px;
    margin: 0 0 36px;
    font-size: 20px;
    line-height: 1.55;
    color: var(--color-text-muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 44px;
}

.hero__actions .btn--primary {
    box-shadow: 0 8px 20px -8px rgba(7, 150, 105, .55);
}

.hero__proof {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero__avatars {
    display: flex;
}

.hero__avatars img {
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.hero__avatars img + img {
    margin-left: -10px;
}

.hero__proof p {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    color: var(--color-text-muted);
}

.hero__proof strong {
    color: var(--color-text);
    font-weight: 600;
}

.hero__media {
    position: relative;
}

.hero__frame {
    position: relative;
    aspect-ratio: 600 / 528;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 24px;
    overflow: hidden;
    /* Shown while the video loads */
    background:
        radial-gradient(60% 50% at 0% 0%, #c3e2e6 0%, transparent 70%),
        radial-gradient(50% 45% at 100% 100%, #f2cfdc 0%, transparent 70%),
        linear-gradient(160deg, #f4ecfb 0%, #eedcf8 60%, #f1d6e6 100%);
    box-shadow:
        0 40px 80px -32px rgba(16, 24, 40, .28),
        0 0 0 8px rgba(255, 255, 255, .6);
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__sound {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .6);
    color: var(--color-text);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    transition: background-color .2s, transform .2s;
}

.hero__sound:hover {
    background: rgba(255, 255, 255, .85);
    transform: scale(1.06);
}

.hero__sound:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.hero__sound .icon-unmuted,
.hero__sound[aria-pressed="true"] .icon-muted {
    display: none;
}

.hero__sound[aria-pressed="true"] .icon-unmuted {
    display: block;
}

.hero__chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 12px 12px;
    border: 1px solid rgba(233, 234, 235, .8);
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 16px 32px -12px rgba(16, 24, 40, .18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: hero-float 6s ease-in-out infinite;
}

.hero__chip--top {
    top: 40px;
    left: -48px;
}

.hero__chip--bottom {
    bottom: 96px;
    right: -24px;
    animation-delay: -3s;
}

.hero__chip-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.hero__chip-icon--green {
    background: #dcfae6;
    color: #079455;
}

.hero__chip-icon--violet {
    background: #ebe9fe;
    color: #6938ef;
}

.hero__chip strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.hero__chip small {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    color: var(--color-text-muted);
}

/* Staggered entrance: set --d on each element for its delay step */
.reveal {
    animation: hero-in .8s cubic-bezier(.2, .7, .2, 1) both;
    animation-delay: calc(var(--d, 0) * 90ms);
}

@keyframes hero-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes hero-pulse {
    from { transform: scale(.6); opacity: .45; }
    to { transform: scale(1.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .hero__chip,
    .hero__badge-dot::after {
        animation: none;
    }
}

/* ==========================================================================
   Brands
   ========================================================================== */
.brands {
    position: relative;
    isolation: isolate;
    padding: 100px var(--gutter) 110px;
    text-align: center;
}

.brands__glow {
    position: absolute;
    right: -200px;
    top: 50%;
    width: 700px;
    height: 600px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(16, 24, 40, .035), rgba(16, 24, 40, 0));
    pointer-events: none;
    z-index: -1;
}

.brands__title {
    max-width: 720px;
    margin: 0 auto 36px;
    font-size: clamp(26px, 2.5vw, 36px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.brands__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 50px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.brands__row + .brands__row {
    margin-top: 24px;
}

.brands__item img {
    width: 180px;
    height: auto;
}

/* ==========================================================================
   Stats
   ========================================================================== */
.stats {
    padding: 0 var(--gutter);
}

.stats__card {
    max-width: 1280px;
    margin: 0 auto;
    padding: 52px 52px 54px;
    border-radius: var(--radius-lg);
    background: var(--color-dark);
    color: #fff;
    text-align: center;
}

.stats__title {
    margin: 0 0 18px;
    font-size: clamp(26px, 2.5vw, 34px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.stats__text {
    max-width: 920px;
    margin: 0 auto 32px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-dark-muted);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0 0 40px;
    padding: 0;
    list-style: none;
    text-align: left;
}

.stats__item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 4px 0 4px 24px;
    border-left: 2px solid rgba(255, 255, 255, .75);
}

.stats__value {
    font-size: clamp(36px, 3.5vw, 48px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stats__label {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.stats__tagline {
    margin: 0;
    font-size: 18px;
    color: var(--color-dark-muted);
}

/* ==========================================================================
   Modules (interactive tabs)
   ========================================================================== */
.modules {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 48px;
    margin-top: 80px;
    padding: 32px 0 0 50px;
    background: #f8f8f9;
    overflow: hidden;
}

.modules__glow {
    position: absolute;
    left: 30%;
    bottom: -220px;
    width: 720px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(7, 150, 105, .09), rgba(7, 150, 105, 0));
    pointer-events: none;
    z-index: -1;
}

.modules__tabs {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 31px;
    padding-bottom: 32px;
}

.modules__tab {
    /* --step (0-3) indents the pills into a chevron shape */
    --indent: calc(var(--step, 0) * min(80px, 5.5vw));
    width: 350px;
    max-width: calc(100% - var(--indent));
    height: 62px;
    margin-left: var(--indent);
    padding: 0 24px;
    border: 1px solid #d5d7da;
    border-radius: 999px;
    background: transparent;
    font: 600 21px/1 var(--font-sans);
    color: #a4a7ae;
    cursor: pointer;
    transition: color .25s, border-color .25s, background-color .25s, box-shadow .25s, transform .25s;
}

.modules__tab:hover {
    color: #717680;
    border-color: #b5b8be;
    background: rgba(255, 255, 255, .6);
}

.modules__tab:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.modules__tab.is-active {
    border: 1.5px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(90deg, #4f9cf9, #34d399) border-box;
    color: var(--color-primary);
    box-shadow: 0 18px 40px -12px rgba(16, 24, 40, .14);
    transform: scale(1.02);
}

.modules__panels {
    min-width: 0;
    padding-left: 24px;
}

.modules__panel.is-active {
    animation: module-in .4s ease both;
}

.modules__title {
    margin: 36px 0 6px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.modules__text {
    max-width: 560px;
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.modules__image {
    width: 100%;
    max-width: 724px;
    height: auto;
}

@keyframes module-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .modules__tab,
    .modules__panel.is-active {
        transition: none;
        animation: none;
    }
}

/* ==========================================================================
   Features
   ========================================================================== */
.features {
    padding: 50px var(--gutter) 64px;
    background: #f8f8f9;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 64px 40px;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.features__item {
    text-align: center;
}

.features__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 22px;
}

.features__title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.features__text {
    max-width: 390px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Platform (dark features section)
   ========================================================================== */
.platform {
    position: relative;
    overflow: hidden;
    padding: 96px var(--gutter) 124px;
    background: var(--color-dark);
    color: #fff;
}

.platform__inner {
    max-width: 1216px;
    margin: 0 auto;
}

.platform__eyebrow {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 500;
    color: #d0d5dd;
}

.platform__title {
    margin: 0 0 24px;
    font-size: clamp(30px, 2.8vw, 40px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.platform__text {
    max-width: 780px;
    margin: 0 0 92px;
    font-size: 20px;
    line-height: 1.5;
    color: var(--color-dark-muted);
}

.platform__list {
    position: relative;
    z-index: 1;
    max-width: min(580px, 46vw);
    margin: 0;
    padding: 0;
    list-style: none;
    border-left: 2px solid #2a2e35;
}

.platform__item {
    position: relative;
    padding: 18px 0 20px 22px;
    cursor: default;
}

/* Green indicator bar on the active item */
.platform__item::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #22a67e;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .3s ease;
}

.platform__item.is-active::before {
    transform: scaleY(1);
}

.platform__item-title {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.4;
}

.platform__item-text {
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.45;
    color: var(--color-dark-muted);
    transition: color .3s;
}

.platform__item.is-active .platform__item-text {
    color: #b3b9c2;
}

.platform__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 500;
    color: #d0d5dd;
    transition: color .2s;
}

.platform__link svg {
    color: #667085;
    transition: transform .2s, color .2s;
}

.platform__link:hover {
    color: #fff;
}

.platform__link:hover svg {
    color: #22a67e;
    transform: translateX(3px);
}

.platform__image {
    position: absolute;
    left: max(51%, calc(50% + 18px));
    bottom: -120px;
    width: min(716px, 50vw);
    height: auto;
    pointer-events: none;
}

/* ==========================================================================
   Integrations
   ========================================================================== */
.integrations {
    padding: 52px var(--gutter) 50px;
    background: #f8f8f9;
    text-align: center;
}

.integrations__title {
    margin: 0 0 56px;
    font-size: clamp(26px, 2.5vw, 36px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.integrations__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
    margin: 0 0 58px;
    padding: 0;
    list-style: none;
}

.integrations__item img {
    width: 72px;
    height: 72px;
    transition: transform .2s ease, filter .2s ease;
}

.integrations__item img:hover {
    transform: translateY(-4px);
    filter: drop-shadow(0 10px 14px rgba(16, 24, 40, .1));
}

.integrations__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.integrations__cta p {
    margin: 0;
    font-size: 20px;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews {
    padding: 96px var(--gutter) 64px;
    text-align: center;
}

.reviews__title {
    margin: 0 0 20px;
    font-size: clamp(30px, 2.8vw, 38px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.reviews__text {
    margin: 0 0 64px;
    font-size: 20px;
    color: var(--color-text-muted);
}

/* Masonry columns, faded out at the bottom */
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 32px;
    max-width: 1216px;
    max-height: 920px;
    margin: 0 auto;
    overflow: hidden;
    text-align: left;
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 180px), transparent);
    mask-image: linear-gradient(to bottom, #000 calc(100% - 180px), transparent);
}

.reviews__column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.reviews__column:nth-child(1) {
    margin-top: 32px;
}

.reviews__column:nth-child(3) {
    margin-top: 40px;
}

.review {
    margin: 0;
    padding: 32px 31px;
    border: 1px solid #e9eaeb;
    border-radius: 12px;
    background: #fff;
    transition: box-shadow .25s, border-color .25s;
}

.review:hover {
    border-color: #d5d7da;
    box-shadow: 0 12px 24px -8px rgba(16, 24, 40, .08);
}

.review__company {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.review__logo svg {
    display: block;
    width: auto;
    height: 24px;
}

.review__quote {
    margin: 0 0 48px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.review__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review__author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.review__name {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 600;
}

.review__role {
    display: block;
    font-size: 16px;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Insights (blog slider)
   ========================================================================== */
.insights {
    --edge: max(var(--gutter), calc((100vw - 1216px) / 2));
    padding: 96px 0 96px;
}

.insights__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    max-width: 1216px;
    margin: 0 auto 64px;
    padding: 0 var(--gutter);
    box-sizing: content-box;
}

.insights__title {
    margin: 0 0 20px;
    font-size: clamp(30px, 2.8vw, 38px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.insights__text {
    max-width: 720px;
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.insights__header .btn {
    flex-shrink: 0;
}

/* Track starts at the container edge and bleeds off the right side */
.insights__track {
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0 var(--edge) 4px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--edge);
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.insights__track::-webkit-scrollbar {
    display: none;
}

.post {
    flex: 0 0 384px;
    max-width: 82vw;
    scroll-snap-align: start;
}

.post__link {
    display: block;
}

.post__image {
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    margin-bottom: 24px;
    border-radius: 16px;
    object-fit: cover;
    transition: transform .4s ease;
}

.post__meta {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.post__title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.55;
}

.post__title span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.post__title svg {
    flex-shrink: 0;
    color: #a4a7ae;
    transition: color .2s, transform .2s;
}

.post__link:hover .post__title svg {
    color: var(--color-primary);
    transform: translate(2px, -2px);
}

.post__link:hover .post__image {
    transform: scale(1.015);
}

.post__excerpt {
    display: -webkit-box;
    margin: 0 0 24px;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text-muted);
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.post__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tag {
    padding: 2px 10px;
    border: 1px solid;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.43;
}

.tag--teal   { color: #0e7a68; background: #d3f2ea; border-color: #9fdccb; }
.tag--indigo { color: #3538cd; background: #eef4ff; border-color: #c7d7fe; }
.tag--pink   { color: #c11574; background: #fdf2fa; border-color: #fcceee; }
.tag--blue   { color: #026aa2; background: #f0f9ff; border-color: #b9e6fe; }
.tag--green  { color: #067647; background: #ecfdf3; border-color: #abefc6; }

.insights__nav {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-left: var(--edge);
}

.slider-btn {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid #e9eaeb;
    border-radius: 50%;
    background: #fff;
    color: #717680;
    cursor: pointer;
    transition: border-color .2s, color .2s, opacity .2s;
}

.slider-btn:hover:not(:disabled) {
    border-color: #a4a7ae;
    color: var(--color-text);
}

.slider-btn:disabled {
    opacity: .4;
    cursor: default;
}

.slider-btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
    padding: 96px var(--gutter);
    text-align: center;
}

.faq__title {
    margin: 0 0 20px;
    font-size: clamp(30px, 2.8vw, 38px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.faq__text {
    max-width: 740px;
    margin: 0 auto 64px;
    font-size: 20px;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.faq__list {
    max-width: 768px;
    margin: 0 auto 64px;
    text-align: left;
}

.faq__item + .faq__item {
    border-top: 1px solid #e9eaeb;
}

.faq__item {
    padding: 28px 0;
}

.faq__item:first-child {
    padding-top: 0;
}

.faq__item:last-child {
    padding-bottom: 0;
}

.faq__question {
    margin: 0;
}

.faq__question button {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    font: 600 16px/1.5 var(--font-sans);
    color: var(--color-text);
    text-align: left;
    cursor: pointer;
}

.faq__question button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

.faq__icon {
    flex-shrink: 0;
    color: #a4a7ae;
    transition: color .2s;
}

.faq__question button:hover .faq__icon {
    color: var(--color-primary);
}

.faq__icon-v {
    transform-origin: center;
    transition: transform .25s ease;
}

.faq__item.is-open .faq__icon-v {
    transform: scaleY(0);
}

/* Height animates via grid rows 0fr -> 1fr */
.faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}

.faq__item.is-open .faq__answer {
    grid-template-rows: 1fr;
}

.faq__answer > div {
    overflow: hidden;
}

.faq__answer p {
    margin: 0;
    padding: 4px 48px 0 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.faq__cta {
    max-width: 1216px;
    margin: 0 auto;
    padding: 32px 32px 40px;
    border-radius: 16px;
    background: #f8f8f9;
}

.faq__avatars {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 32px;
}

.faq__avatars img {
    width: 48px;
    height: 48px;
    border: 1.5px solid #fff;
    border-radius: 50%;
}

.faq__avatars img:nth-child(2) {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    margin: 0 -16px;
}

.faq__cta-title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.faq__cta-text {
    max-width: 780px;
    margin: 0 auto 32px;
    font-size: 18px;
    line-height: 1.55;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter {
    padding: 48px var(--gutter) 52px;
    background: var(--color-dark);
    color: #fff;
}

.newsletter__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    max-width: 1216px;
    margin: 0 auto;
}

.newsletter__title {
    margin: 0 0 16px;
    font-size: clamp(24px, 2.2vw, 30px);
    font-weight: 600;
    line-height: 1.27;
}

.newsletter__text {
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
    color: var(--color-dark-muted);
}

.newsletter__form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    flex-shrink: 0;
    max-width: 400px;
}

.newsletter__form input[type="email"] {
    flex: 1 1 268px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #373a41;
    border-radius: 8px;
    background: #0c0e12;
    font: 400 16px var(--font-sans);
    color: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.newsletter__form input[type="email"]::placeholder {
    color: #85888e;
}

.newsletter__form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(7, 150, 105, .25);
}

.newsletter__form .btn {
    height: 44px;
}

.newsletter__status {
    flex-basis: 100%;
    margin: 0;
    font-size: 14px;
}

.newsletter__status--ok {
    color: #47cd89;
}

.newsletter__status--error {
    color: #f97066;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 64px var(--gutter) 48px;
    background: #0c0e12;
    color: #94979c;
}

.footer__inner {
    max-width: 1216px;
    margin: 0 auto;
}

.footer__top {
    display: grid;
    grid-template-columns: minmax(0, 384px) repeat(5, minmax(0, 1fr));
    gap: 48px 0;
    padding-bottom: 64px;
}

.footer__brand {
    padding-right: 64px;
}

.footer__logo img {
    width: 115px;
    height: auto;
}

.footer__brand p {
    margin: 32px 0 0;
    font-size: 16px;
    line-height: 1.5;
}

.footer__heading {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.43;
    color: #94979c;
}

.footer__col ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__col li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__col a {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #cecfd2;
    transition: color .2s;
}

.footer__col a:hover {
    color: #fff;
}

.footer__badge {
    padding: 1px 7px;
    border: 1px solid #61656c;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    color: #cecfd2;
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid #22262f;
}

.footer__bottom p {
    margin: 0;
    font-size: 16px;
}

.footer__social {
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__social a {
    display: block;
    color: #85888e;
    transition: color .2s;
}

.footer__social a:hover {
    color: #fff;
}

.footer a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
    :root {
        --nav-height: 68px;
    }

    .navbar__burger {
        display: flex;
    }

    /* Menu becomes a full-width panel under the bar */
    .navbar__menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        max-height: calc(100vh - var(--nav-height));
        padding: 16px var(--gutter) 24px;
        overflow-y: auto;
        border-bottom: 1px solid #e9eaeb;
        background: #fff;
        box-shadow: 0 16px 24px -12px rgba(16, 24, 40, .12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .2s, transform .2s, visibility .2s;
    }

    .navbar.is-open .navbar__menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .navbar__links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .navbar__link {
        justify-content: space-between;
        width: 100%;
        padding: 12px 0;
        font-size: 17px;
    }

    .navbar__dropdown {
        position: static;
        display: none;
        width: auto;
        padding: 0 0 8px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .navbar__dropdown::before {
        display: none;
    }

    .navbar__item.is-open .navbar__dropdown {
        display: block;
    }

    .navbar__dropdown a {
        padding: 8px 12px;
    }

    .navbar__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .navbar__actions .btn {
        justify-content: center;
    }
}

@media (max-width: 960px) {
    .hero {
        min-height: 0;
        padding: 48px var(--gutter) 72px;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .hero__content {
        max-width: 640px;
    }

    .hero__glow--green {
        left: -300px;
        bottom: 30%;
    }

    .hero__glow--violet {
        right: -360px;
        top: auto;
        bottom: -120px;
    }

    .hero__chip--top {
        top: -20px;
        left: 12px;
    }

    .hero__chip--bottom {
        right: 12px;
        bottom: -24px;
    }

    .brands {
        padding: 64px var(--gutter) 80px;
    }

    .brands__row {
        gap: 16px 24px;
    }

    .brands__row + .brands__row {
        margin-top: 16px;
    }

    .stats__card {
        padding: 40px 24px;
    }

    .stats__text {
        font-size: 16px;
    }

    .stats__grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .stats__tagline {
        font-size: 16px;
    }

    .modules {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 64px;
        padding: 32px 0 0;
    }

    /* Pills become a horizontally scrollable row */
    .modules__tabs {
        flex-direction: row;
        gap: 10px;
        padding: 0 var(--gutter) 8px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .modules__tabs::-webkit-scrollbar {
        display: none;
    }

    .modules__tab {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
        height: 44px;
        margin-left: 0;
        padding: 0 18px;
        font-size: 15px;
    }

    .modules__tab.is-active {
        transform: none;
        box-shadow: 0 8px 20px -10px rgba(16, 24, 40, .2);
    }

    .modules__panels {
        padding-left: var(--gutter);
    }

    .modules__title {
        margin-top: 20px;
    }

    .modules__text {
        padding-right: var(--gutter);
        font-size: 16px;
    }

    .features__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px 32px;
    }

    .reviews {
        padding-top: 64px;
    }

    .reviews__text {
        margin-bottom: 40px;
        font-size: 18px;
    }

    /* Single column, offsets removed */
    .reviews__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 560px;
        max-height: 1400px;
    }

    .reviews__column {
        gap: 20px;
    }

    .reviews__column:nth-child(n) {
        margin-top: 0;
    }

    .review {
        padding: 24px;
    }

    .review__quote {
        margin-bottom: 28px;
    }

    .insights {
        padding: 64px 0;
    }

    .insights__header {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .insights__text {
        font-size: 18px;
    }

    .insights__track {
        gap: 20px;
    }

    .insights__nav {
        gap: 16px;
    }

    .faq {
        padding: 64px var(--gutter);
    }

    .faq__text {
        margin-bottom: 40px;
        font-size: 18px;
    }

    .faq__answer p {
        padding-right: 0;
    }

    .faq__cta {
        padding: 32px 20px;
    }

    .faq__cta-text {
        font-size: 16px;
    }

    .newsletter__inner {
        flex-direction: column;
    }

    .newsletter__text {
        font-size: 18px;
    }

    .newsletter__form {
        width: 100%;
        max-width: 480px;
    }

    /* Brand on its own row, link columns in a 3-up grid */
    .footer__top {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 40px 24px;
    }

    .footer__brand {
        grid-column: 1 / -1;
        padding-right: 0;
        max-width: 400px;
    }

    .platform {
        padding: 64px var(--gutter) 0;
    }

    .platform__text {
        margin-bottom: 48px;
        font-size: 18px;
    }

    .platform__list {
        max-width: none;
    }

    /* Image drops below the list and bleeds off the right edge */
    .platform__image {
        position: static;
        width: min(640px, 110%);
        max-width: none;
        margin: 48px 0 -18% auto;
        margin-right: calc(var(--gutter) * -1);
    }
}

@media (max-width: 600px) {
    .features__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .integrations__list {
        gap: 16px;
    }

    .integrations__item img {
        width: 60px;
        height: 60px;
    }

    .integrations__cta {
        flex-direction: column;
    }

    .integrations__cta p {
        font-size: 18px;
    }

    .footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .newsletter__form .btn {
        flex: 1 1 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 32px;
    }

    .hero__text {
        margin-bottom: 28px;
        font-size: 17px;
    }

    .hero__actions {
        margin-bottom: 32px;
    }

    .hero__actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .hero__frame {
        border-radius: 18px;
        box-shadow: 0 24px 48px -24px rgba(16, 24, 40, .28), 0 0 0 5px rgba(255, 255, 255, .6);
    }

    /* Compact chips: title only */
    .hero__chip {
        gap: 8px;
        padding: 8px 12px 8px 8px;
        border-radius: 12px;
    }

    .hero__chip-icon {
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }

    .hero__chip-icon svg {
        width: 14px;
        height: 14px;
    }

    .hero__chip strong {
        font-size: 13px;
    }

    .hero__chip small {
        display: none;
    }

    .brands__item img {
        width: 140px;
    }
}
