:root {
    --bg: #f7f8fb;
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --line: #e2e8f0;
    --primary: #0b63f6;
    --primary-ink: #ffffff;
    --shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    --radius: 16px;
    --font-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
}

main {
    color: var(--text);
    background: var(--bg);
}

.container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: clamp(1.25rem, 5vw, 3rem);
    box-sizing: border-box;
}

/* --- Hero: editorial layout, calm depth --- */

.hero-landing {
    --hero-ink: #0c1222;
    --hero-muted: #5c6578;
    --hero-accent: #2563eb;
    --hero-surface: #ffffff;
    position: relative;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.hero-landing__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 120% 80% at 100% 0%, rgba(37, 99, 235, 0.09) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 0% 100%, rgba(14, 165, 233, 0.06) 0%, transparent 45%),
        linear-gradient(180deg, #fafbfd 0%, #f4f6fa 40%, var(--bg) 100%);
    pointer-events: none;
}

.hero-landing__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 70%);
    pointer-events: none;
}

.hero-landing__shell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 4vw, 2rem);
    width: 100%;
}

@media (max-width: 767px) {
    .hero-landing__shell--copy-right .hero-landing__media-col {
        order: -1;
    }
}

.hero-landing__copy-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.5rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2.5rem);
    pointer-events: none;
}

.hero-landing__copy-overlay .hero-landing__copy-inner {
    pointer-events: auto;
}

.hero-landing__copy-overlay--side-left {
    background: linear-gradient(
        105deg,
        rgba(15, 23, 42, 0.78) 0%,
        rgba(15, 23, 42, 0.35) 52%,
        transparent 88%
    );
}

.hero-landing__copy-overlay--side-right {
    background: linear-gradient(
        275deg,
        rgba(15, 23, 42, 0.78) 0%,
        rgba(15, 23, 42, 0.35) 52%,
        transparent 88%
    );
    padding-bottom: clamp(7rem, 22vh, 11rem);
}

.hero-landing__bleed--left:has(.hero-landing__bleed-filler--soft) .hero-landing__copy-overlay--side-left {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.55) 45%, transparent 100%);
}

.hero-landing__copy-overlay--text-center {
    align-items: center;
    text-align: center;
}

.hero-landing__copy-overlay--text-center .hero-landing__copy-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-landing__copy-overlay--text-center .hero-landing__eyebrow {
    margin-inline: auto;
}

.hero-landing__copy-overlay--text-center .hero-landing__lead {
    margin-inline: auto;
}

.hero-landing__copy-overlay--text-center .hero-landing__actions {
    justify-content: center;
}

.hero-landing__copy-overlay--theme-dark .hero-landing__title {
    color: #f8fafc;
}

.hero-landing__copy-overlay--theme-dark .hero-landing__lead,
.hero-landing__copy-overlay--theme-dark .hero-landing__lead a {
    color: rgba(226, 232, 240, 0.92);
}

.hero-landing__copy-overlay--theme-dark .hero-landing__eyebrow {
    color: #bfdbfe;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: none;
}

.hero-landing__copy-overlay--theme-dark .hero-landing__btn--ghost {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.35);
}

.hero-landing__copy-overlay--theme-dark .hero-landing__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-landing__copy-overlay--theme-dark .hero-landing__btn--video {
    color: #bfdbfe;
    border-color: rgba(147, 197, 253, 0.45);
}

.hero-landing__copy-overlay--theme-dark .hero-landing__btn--video:hover {
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(191, 219, 254, 0.65);
}

.hero-landing__bleed {
    position: relative;
    min-width: 0;
}

.hero-landing__bleed--left {
    min-height: min(40vh, 360px);
    margin-inline: clamp(1.25rem, 4vw, 3rem);
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.1);
}

.hero-landing__bleed-filler {
    position: absolute;
    inset: 0;
}

.hero-landing__bleed-filler--soft {
    background: linear-gradient(165deg, #eef2f7 0%, #e2e8f0 45%, #f1f5f9 100%);
}

.hero-landing__bleed-filler--dark {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 50%, #172554 100%);
}

.hero-landing__copy-inner {
    max-width: 38rem;
}

.hero-landing__media-col {
    min-width: 0;
    padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(2.75rem, 7vw, 5rem);
}

.hero-landing__media-stack {
    position: relative;
    min-height: min(48vh, 420px);
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.12);
}

.hero-landing__figure {
    margin: 0;
}

.hero-landing__figure--photo {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    border: none;
    box-shadow: none;
}

.hero-landing__figure--photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: none;
}

.hero-landing__figure--art {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 50%, #172554 100%);
    border: none;
    min-height: 0;
    aspect-ratio: auto;
    max-height: none;
}

.hero-landing__art-orbit {
    position: absolute;
    inset: 14% 10%;
    border-radius: 50%;
    border: 1px solid rgba(96, 165, 250, 0.2);
    animation: hero-orbit-pulse 6s ease-in-out infinite;
}

.hero-landing__art-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(38%, 120px);
    height: min(38%, 120px);
    transform: translate(-50%, -50%);
    border-radius: 1.25rem;
    background: linear-gradient(155deg, rgba(59, 130, 246, 0.35), rgba(37, 99, 235, 0.12));
    border: 1px solid rgba(147, 197, 253, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

@keyframes hero-orbit-pulse {
    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.015);
    }
}

.hero-landing__panel {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 3;
    margin: 0;
    max-width: min(22rem, calc(100% - 2rem));
    padding: 1.1rem 1.2rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 40px -12px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(14px);
}

.hero-landing__panel-title {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hero-muted);
}

.hero-landing__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    color: var(--hero-ink);
    font-size: 0.875rem;
    line-height: 1.45;
    font-weight: 500;
}

.hero-landing__list li {
    position: relative;
    margin: 0;
    padding-left: 1.2rem;
}

.hero-landing__list li::before {
    content: "";
    position: absolute;
    left: 0.1rem;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--hero-accent);
    opacity: 0.85;
}

.hero-landing__eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 1rem;
    padding: 0.35rem 0.85rem;
    width: fit-content;
    max-width: 100%;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hero-accent);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 999px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.hero-landing__title {
    margin: 0 0 1.1rem;
    font-size: clamp(2rem, 1.5vw + 1.65rem, 3.35rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.08;
    color: var(--hero-ink);
}

.hero-landing__lead {
    margin: 0;
    max-width: 34rem;
    font-size: clamp(1rem, 0.35vw + 0.92rem, 1.2rem);
    line-height: 1.65;
    color: var(--hero-muted);
}

.hero-landing__actions {
    margin-top: clamp(1.5rem, 3.5vw, 2.25rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.hero-landing__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.8rem 1.35rem;
    min-height: 2.75rem;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.hero-landing__btn--primary {
    color: #fff;
    background: var(--hero-accent);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.hero-landing__btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.32);
    background: #1d4ed8;
}

.hero-landing__btn--ghost {
    color: var(--hero-ink);
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(10px);
}

.hero-landing__btn--ghost:hover {
    background: var(--hero-surface);
    border-color: rgba(15, 23, 42, 0.14);
}

.hero-landing__btn--video {
    color: var(--hero-accent);
    background: transparent;
    border-color: rgba(37, 99, 235, 0.25);
}

.hero-landing__btn--video:hover {
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.45);
    color: #1d4ed8;
}

.hero-landing__btn-icon {
    flex-shrink: 0;
}

.hero-video-dialog {
    width: min(960px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    padding: 0;
    border: none;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.25);
    overflow: hidden;
}

.hero-video-dialog::backdrop {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
}

.hero-video-dialog__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #0f172a;
    color: #f8fafc;
}

.hero-video-dialog__title {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
}

.hero-video-dialog__close {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.15rem 0.35rem;
    border-radius: 6px;
}

.hero-video-dialog__close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.hero-video-dialog__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.hero-video-dialog__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

h1,
h2,
h3 {
    margin: 0 0 10px;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
}

h3 {
    font-size: 1.1rem;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 10px;
    padding: 11px 16px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

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

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-secondary,
.btn-ghost {
    border-color: var(--line);
    color: var(--text);
    background: var(--surface);
}

.btn-secondary:hover,
.btn-ghost:hover {
    border-color: #cbd5e1;
}

.home-section {
    padding: clamp(2rem, 5vw, 3.25rem) 0;
}

/* ── Feature icon bridge (overlaps features-intro ↕ feature-block) ── */
/* ── Feature-icons bridge ────────────────────────────────── */
.feature-icons-bridge {
    position: relative;
    z-index: 2;
    /* Overlap: pull up 3rem into section above, push 3rem into section below */
    margin-top: -3rem;
    margin-bottom: -3rem;
    padding: 0 clamp(1.25rem, 5vw, 3rem);
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    /* Re-apply the negative margins after auto centering */
    /* Note: use a wrapper div in the template if horizontal margins conflict */
}

.feature-icons-bridge__frame {
    background: #ffffff;
    border: 1px solid #dde3ef;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1), 0 2px 8px rgba(15, 23, 42, 0.05);
    padding: clamp(1rem, 2.5vw, 1.5rem);
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 1.2vw, 0.75rem);
}

/* One row of tiles, centred */
.feature-icons-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(0.5rem, 1vw, 0.65rem);
}

/* Each tile: fixed width so they never collapse */
.feature-icon-tile {
    flex: 0 0 auto;
    width: clamp(110px, 13vw, 150px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.18s ease;
}

.feature-icon-tile:hover {
    border-color: #2563eb55;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.14);
    transform: translateY(-2px);
}

/* Image area fills full tile width */
.feature-icon-tile__media {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #eef3fb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8%;
    box-sizing: border-box;
}

.feature-icon-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.22s ease;
}

.feature-icon-tile:hover .feature-icon-tile__media img {
    transform: scale(1.08);
}

/* Label bar */
.feature-icon-tile__label {
    width: 100%;
    padding: 0.45rem 0.35rem 0.5rem;
    border-top: 1px solid #e8edf5;
    font-family: var(--font-sans);
    font-size: clamp(0.62rem, 0.5vw + 0.58rem, 0.75rem);
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    color: #1e293b;
}

@media (prefers-reduced-motion: reduce) {
    .feature-icon-tile,
    .feature-icon-tile__media img {
        transition: none;
        transform: none;
    }
}

/* ── Features intro editorial ───────────────────────────── */
.home-section--features-intro {
    position: relative;
    z-index: 1;
    padding-top: clamp(2rem, 5vw, 3.5rem);
    /* Extra bottom padding so the overlapping bridge doesn't cover content */
    padding-bottom: clamp(4rem, 9vw, 6rem);
    border-bottom: none;
    background: #eceef1;
}

.features-intro-editorial {
    width: 100%;
    font-family: var(--font-sans);
}

.features-intro-editorial__header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 clamp(1rem, 2.5vw, 1.35rem);
}

.features-intro-editorial__mark {
    display: block;
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    background: var(--primary);
    border-radius: 1px;
}

.features-intro-editorial__kicker {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1e293b;
    line-height: 1.2;
}

.features-intro-editorial__body {
    max-width: 100%;
}

.features-intro-editorial__copy {
    margin: 0;
    font-family: var(--font-sans);
    text-align: left;
    color: #141a22;
}

.features-intro-editorial__copy > h1:first-child,
.features-intro-editorial__copy > h2:first-child,
.features-intro-editorial__copy > h3:first-child {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 1.35vw + 1.05rem, 2.2rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.028em;
    margin: 0 0 0.55em;
    color: var(--text);
}

.features-intro-editorial__copy > p:first-child:not(:only-of-type) {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 1.35vw + 1.05rem, 2.2rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.028em;
    margin: 0 0 0.6em;
    color: var(--text);
}

.features-intro-editorial__copy > p {
    font-family: var(--font-sans);
    font-size: clamp(0.97rem, 0.2vw + 0.9rem, 1.06rem);
    font-weight: 600;
    line-height: 1.55;
    margin: 0 0 0.75em;
    color: #141a22;
}

.features-intro-editorial__copy > p:last-child {
    margin-bottom: 0;
}

.features-intro-editorial__copy > h1 ~ p,
.features-intro-editorial__copy > h2 ~ p,
.features-intro-editorial__copy > h3 ~ p {
    font-size: clamp(0.97rem, 0.2vw + 0.9rem, 1.06rem);
    font-weight: 600;
    line-height: 1.55;
}

.features-intro-editorial__copy > p:first-child:not(:only-of-type) ~ p {
    font-size: clamp(0.97rem, 0.2vw + 0.9rem, 1.06rem);
    font-weight: 600;
    line-height: 1.55;
}

.features-intro-editorial__copy > p:only-of-type {
    font-size: clamp(0.97rem, 0.2vw + 0.9rem, 1.06rem);
    font-weight: 600;
    line-height: 1.55;
}

.features-intro-editorial__copy a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.features-intro-editorial__copy a:hover {
    text-decoration-thickness: 2px;
}

.features-intro-editorial__copy > *:last-child {
    margin-bottom: 0;
}

.home-section--testimonials {
    position: relative;
    overflow-x: clip;
    background:
        radial-gradient(ellipse 120% 80% at 12% 20%, rgba(99, 102, 241, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse 90% 60% at 88% 60%, rgba(14, 165, 233, 0.1) 0%, transparent 45%),
        linear-gradient(180deg, #e8ecff 0%, #f1f4fb 38%, var(--bg) 100%);
    border-block: 0;
}

.home-section--testimonials::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(99, 102, 241, 0.055) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 58%);
    pointer-events: none;
}

.home-section--testimonials .testimonial-shell {
    position: relative;
    z-index: 1;
    --testimonial-pad: clamp(1.25rem, 5vw, 3rem);
}

.testimonial-shell__intro {
    margin-bottom: clamp(1.15rem, 3vw, 1.65rem);
}

.testimonial-shell__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 1.35rem);
}

@media (min-width: 960px) {
    /* Heading spans full width (centred); Trustpilot sits on the right, same row */
    .testimonial-shell__head--with-tp {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: end;
        gap: clamp(1rem, 2vw, 1.5rem);
    }

    .testimonial-shell__head--with-tp .testimonial-section-heading {
        grid-column: 1 / -1;
        grid-row: 1;
        width: 100%;
        max-width: none;
        margin-inline: 0;
        margin-bottom: 0;
        text-align: center;
        justify-self: center;
    }

    .testimonial-shell__head--with-tp .testimonial-section-heading .eyebrow,
    .testimonial-shell__head--with-tp .testimonial-section-heading h2 {
        text-align: center;
    }

    .testimonial-shell__head--with-tp .testimonial-trustpilot {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: end;
        width: auto;
        max-width: min(24rem, 40vw);
        margin: 0;
        text-align: right;
    }

    .testimonial-shell__head--with-tp .testimonial-trustpilot__link {
        align-items: flex-end;
    }
}

@media (max-width: 959px) {
    .testimonial-shell__head--with-tp .testimonial-trustpilot {
        align-self: flex-end;
        width: 100%;
        max-width: none;
        text-align: right;
    }

    .testimonial-shell__head--with-tp .testimonial-trustpilot__link {
        align-items: flex-end;
    }
}

.testimonial-section-heading {
    margin-bottom: 0;
    text-align: center;
}

.testimonial-section-heading .eyebrow,
.testimonial-section-heading h2 {
    text-align: center;
}

.testimonial-shell__head:not(.testimonial-shell__head--with-tp) .testimonial-section-heading {
    margin-bottom: 0;
}

.testimonial-trustpilot {
    width: 100%;
    max-width: 38rem;
    margin: 0 auto;
    text-align: center;
}

.testimonial-trustpilot__link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    text-decoration: none;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.01em;
    border-bottom: 1px solid transparent;
    padding-bottom: 0.1rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.testimonial-trustpilot__link:hover {
    color: #334155;
    border-bottom-color: rgba(0, 182, 122, 0.35);
}

.testimonial-trustpilot__line {
    display: inline;
    color: inherit;
}

.testimonial-trustpilot__brand {
    font-weight: 600;
    color: #00b67a;
    letter-spacing: -0.02em;
}

.testimonial-trustpilot__link:hover .testimonial-trustpilot__brand {
    color: #009e6c;
}

.testimonial-trustpilot__arrow {
    display: inline;
    margin-left: 0.15rem;
    font-size: 0.85em;
    font-weight: 600;
    color: #00b67a;
    opacity: 0.85;
}

.testimonial-trustpilot__hint {
    display: block;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #94a3b8;
    letter-spacing: 0.015em;
}

.testimonial-trustpilot__link:hover .testimonial-trustpilot__hint {
    color: #64748b;
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-trustpilot__link {
        transition: none;
    }
}

.testimonial-shell__bleed {
    margin-inline: calc(-1 * var(--testimonial-pad));
    width: calc(100% + 2 * var(--testimonial-pad));
    max-width: none;
    box-sizing: border-box;
}

.home-section--clients {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding-block: clamp(2.5rem, 6vw, 4rem);
}

.home-section--clients .section-heading--center {
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.clients-section__lede {
    margin: 0.65rem 0 0;
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.5;
}

.home-section--newsletter {
    background: linear-gradient(160deg, #f0f4ff 0%, #f8fafc 45%, var(--bg) 100%);
}

.home-section--blog {
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-heading {
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.section-heading--center {
    text-align: center;
    max-width: 36rem;
    margin-inline: auto;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.section-heading--center .eyebrow,
.section-heading--center h2 {
    text-align: center;
}

.section-heading--center .home-section__see-all {
    display: inline-block;
    margin-top: 0.35rem;
}

.section-heading--row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.home-section__see-all {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--primary);
    text-decoration: none;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.home-section__see-all:hover {
    border-bottom-color: var(--primary);
}

.home-section__empty {
    margin: 0;
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    background: var(--surface);
    border: 1px dashed var(--line);
    color: var(--muted);
    font-size: 0.975rem;
}

.feature-block {
    position: relative;
    z-index: 1;
    /* Extra top padding so the overlapping bridge doesn't cover content */
    padding: clamp(4.5rem, 10vw, 7rem) 0 clamp(2.75rem, 6vw, 4.5rem);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.feature-block--shade {
    background: linear-gradient(180deg, #eef2f7 0%, #f8fafc 55%, #f1f5f9 100%);
    border-top-color: rgba(203, 213, 225, 0.65);
}

.feature-block__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 4vw, 2.75rem);
    align-items: start;
}

.feature-block__inner--solo {
    max-width: 40rem;
    margin-inline: auto;
}

.feature-block__copy {
    min-width: 0;
    max-width: min(52ch, 100%);
}

.feature-block__inner:not(.feature-block__inner--solo) .feature-block__copy {
    padding-top: 0;
}

.feature-block:not(.feature-block--reverse) .feature-block__inner:not(.feature-block__inner--solo) .feature-block__copy {
    padding-top: clamp(0, 1.5vw, 0.5rem);
}

@media (min-width: 768px) {
    .feature-block__inner:not(.feature-block__inner--solo) {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: clamp(1.35rem, 3.5vw, 2.5rem);
        align-items: start;
    }

    .feature-block__inner:not(.feature-block__inner--solo) .feature-block__copy,
    .feature-block__inner:not(.feature-block__inner--solo) .feature-block__figure {
        align-self: start;
        grid-row: 1;
    }

    .feature-block--reverse .feature-block__inner:not(.feature-block__inner--solo) .feature-block__figure {
        order: -1;
    }

    .feature-block__inner:not(.feature-block__inner--solo) .feature-block__copy {
        justify-self: end;
        width: 100%;
        max-width: min(52ch, 100%);
    }

    .feature-block--reverse .feature-block__inner:not(.feature-block__inner--solo) .feature-block__copy {
        justify-self: start;
    }

    .feature-block__figure img {
        max-height: min(480px, 58vh);
    }
}

.feature-block__title {
    margin: 0 0 clamp(0.75rem, 2vw, 1rem);
    font-size: clamp(1.5rem, 2.4vw + 0.85rem, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: var(--text);
    text-wrap: balance;
}

.feature-block__copy .eyebrow {
    margin-bottom: 0.55rem;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
}

.feature-block__text {
    margin: 0 0 1.35rem;
    font-size: clamp(1.02rem, 0.45vw + 0.92rem, 1.125rem);
    line-height: 1.72;
    color: var(--muted);
}

.feature-block__text p {
    margin: 0 0 1rem;
}

.feature-block__text p:last-child {
    margin-bottom: 0;
}

.feature-block__text p + p {
    margin-top: 0.15rem;
}

.feature-block__text strong,
.feature-block__text b {
    color: #334155;
    font-weight: 700;
}

.feature-block__text.rich-text ul,
.feature-block__text.rich-text ol {
    margin: 0 0 1.1rem;
    padding-left: 1.35rem;
    line-height: 1.68;
}

.feature-block__text.rich-text ul {
    list-style-type: none;
    padding-left: 0;
}

.feature-block__text.rich-text ul > li {
    position: relative;
    margin: 0 0 0.55rem;
    padding-left: 1.35rem;
}

.feature-block__text.rich-text ul > li::before {
    content: "";
    position: absolute;
    left: 0.2rem;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #2563eb);
    opacity: 0.9;
}

.feature-block__text.rich-text ol > li {
    margin: 0 0 0.5rem;
    padding-left: 0.15rem;
}

.feature-block__text.rich-text li:last-child {
    margin-bottom: 0;
}

.feature-block__text.rich-text ul ul {
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
    margin-left: 0.35rem;
}

.feature-block__text.rich-text ul ul > li::before {
    width: 5px;
    height: 5px;
    opacity: 0.65;
}

.feature-block__text h3,
.feature-block__text h4 {
    margin: 1.25rem 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.feature-block__text h3:first-child,
.feature-block__text h4:first-child {
    margin-top: 0;
}

.feature-block__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--primary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.feature-block__link:hover {
    border-bottom-color: var(--primary);
}

.feature-block__figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.75) inset,
        0 16px 40px -20px rgba(15, 23, 42, 0.12);
    background: linear-gradient(165deg, #e2e8f0, #cbd5e1);
}

.feature-block__figure img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top center;
    max-height: min(440px, 56vh);
    flex-shrink: 0;
}

/* --- Testimonials: equal-height cards; carousel when > 4 (see index template) --- */

.testimonial-grid--static {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: clamp(1rem, 2.5vw, 1.35rem);
    align-items: stretch;
}

.testimonial-stage {
    --testimonial-stage-gap: clamp(1rem, 2.5vw, 1.35rem);
    --testimonial-slide-count: 4;
    margin: 0;
    padding-block: 0.25rem 0.35rem;
}

.testimonial-stage__chrome {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: stretch;
    gap: clamp(0.65rem, 2vw, 1.15rem);
}

.testimonial-stage__strip {
    display: flex;
    gap: var(--testimonial-stage-gap);
    width: 100%;
    padding: clamp(1rem, 2.2vw, 1.35rem);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    border-radius: 20px;
    background:
        radial-gradient(ellipse 80% 55% at 100% 0%, rgba(99, 102, 241, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 0% 100%, rgba(14, 165, 233, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(248, 250, 252, 0.55) 100%);
    backdrop-filter: blur(14px);
    outline: none;
}

.testimonial-stage__strip:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

.testimonial-stage__strip::-webkit-scrollbar {
    display: none;
}

.testimonial-stage__strip::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.35);
    border-radius: 999px;
}

.testimonial-stage__strip .testimonial-card {
    scroll-snap-align: start;
    flex: 0 0 calc((100% - (var(--testimonial-slide-count) - 1) * var(--testimonial-stage-gap)) / var(--testimonial-slide-count));
    min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-stage__strip {
        scroll-behavior: auto;
    }

    .testimonial-grid--static .testimonial-card:hover,
    .testimonial-stage__strip .testimonial-card:hover {
        transform: none;
    }

    .testimonial-stage__arrow,
    .testimonial-stage__dot {
        transition: none;
    }
}

@media (max-width: 900px) {
    .testimonial-stage {
        --testimonial-slide-count: 2;
    }
}

@media (max-width: 560px) {
    .testimonial-stage {
        --testimonial-slide-count: 1;
    }

    .testimonial-stage__chrome {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .testimonial-stage__arrow {
        display: none;
    }

}

.testimonial-stage__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 50%;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.9));
    color: #1e293b;
    cursor: pointer;
    box-shadow:
        0 2px 10px rgba(15, 23, 42, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        opacity 0.2s ease;
}

.testimonial-stage__arrow:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(99, 102, 241, 0.45);
    color: var(--primary);
    box-shadow:
        0 8px 22px rgba(99, 102, 241, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.testimonial-stage__arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

.testimonial-stage__arrow-icon {
    display: block;
    width: 0.55rem;
    height: 0.55rem;
    border-style: solid;
    border-color: currentColor;
    border-width: 0 0 2px 2px;
}

.testimonial-stage__arrow--prev .testimonial-stage__arrow-icon {
    transform: translate(1px, 0) rotate(45deg);
}

.testimonial-stage__arrow--next .testimonial-stage__arrow-icon {
    transform: translate(-1px, 0) rotate(-135deg);
}

.testimonial-stage__dots {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: clamp(0.85rem, 2vw, 1.15rem);
}


.testimonial-stage__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(100, 116, 139, 0.35);
    cursor: pointer;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        width 0.25s ease,
        box-shadow 0.25s ease;
}

.testimonial-stage__dot:hover {
    background: rgba(99, 102, 241, 0.55);
    transform: scale(1.15);
}

.testimonial-stage__dot.is-active {
    width: 1.65rem;
    background: linear-gradient(90deg, #6366f1, #2563eb);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
}

.testimonial-card {
    position: relative;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: clamp(1.45rem, 3.2vw, 1.95rem);
    isolation: isolate;
    background: linear-gradient(168deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 20px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 14px 40px -20px rgba(15, 23, 42, 0.14);
    transition: box-shadow 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
}

.testimonial-grid--static .testimonial-card:hover,
.testimonial-stage__strip .testimonial-card:hover {
    border-color: rgba(99, 102, 241, 0.28);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 22px 48px -18px rgba(99, 102, 241, 0.22),
        0 0 0 1px rgba(99, 102, 241, 0.08);
    transform: translateY(-3px) scale(1.008);
}

.testimonial-card__quote {
    position: relative;
    margin: 0 0 1.15rem;
    padding: 0 0 0 1.1rem;
    border: none;
    border-left: 3px solid #6366f1;
    flex: 1 1 auto;
    min-height: 0;
}

.testimonial-card__quote::before {
    content: "\201C";
    position: absolute;
    left: 0.15rem;
    top: -0.35rem;
    font-size: 2.75rem;
    line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
    color: rgba(99, 102, 241, 0.12);
    pointer-events: none;
}

.testimonial-card__quote p {
    margin: 0 0 0.65rem;
    font-size: clamp(0.98rem, 0.4vw + 0.88rem, 1.08rem);
    line-height: 1.64;
    color: #334155;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.testimonial-card__quote p:last-child {
    margin-bottom: 0;
}

.testimonial-card__meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: auto;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.testimonial-card__who {
    min-width: 0;
}

.testimonial-card__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.22);
    flex-shrink: 0;
}

.testimonial-card__name {
    display: block;
    font-style: normal;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--text);
    letter-spacing: -0.01em;
}

.testimonial-card__role {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.8125rem;
    color: var(--muted);
    line-height: 1.35;
}

/* --- Testimonial redesign: remove nested "cards in cards" look --- */
.home-section--testimonials {
    background:
        radial-gradient(ellipse 110% 75% at 12% 10%, rgba(99, 102, 241, 0.09) 0%, transparent 52%),
        linear-gradient(180deg, #f1f5ff 0%, #f8faff 42%, var(--bg) 100%);
}

.home-section--testimonials::before {
    opacity: 0.45;
}

.testimonial-shell__bleed {
    margin-inline: 0;
    width: 100%;
}

.testimonial-stage {
    --testimonial-stage-gap: clamp(0.9rem, 2vw, 1.2rem);
}

.testimonial-stage__chrome {
    gap: clamp(0.55rem, 1.5vw, 0.85rem);
}

.testimonial-stage__strip {
    padding: 0.2rem 0.05rem 0.35rem;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
}

.testimonial-stage__arrow {
    width: 2.65rem;
    height: 2.65rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.09);
}

.testimonial-stage__arrow:hover:not(:disabled) {
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}


.testimonial-grid--static {
    gap: clamp(0.9rem, 2vw, 1.2rem);
}

.testimonial-card {
    padding: clamp(1.05rem, 2.2vw, 1.3rem);
    background: #ffffff;
    border: 1px solid #d9e2ef;
    border-radius: 14px;
    box-shadow: 0 8px 22px -18px rgba(15, 23, 42, 0.32);
}

.testimonial-grid--static .testimonial-card:hover,
.testimonial-stage__strip .testimonial-card:hover {
    transform: translateY(-2px);
    border-color: #c7d7ee;
    box-shadow: 0 14px 28px -18px rgba(15, 23, 42, 0.25);
}

.testimonial-card__quote {
    margin: 0 0 1rem;
    padding: 0;
    border-left: 0;
}

.testimonial-card__quote::before {
    display: none;
}

.testimonial-card__quote p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.62;
    color: #334155;
    font-weight: 500;
}

.testimonial-card__meta {
    gap: 0.7rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e5edf7;
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    box-shadow: none;
}

.client-grid {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 11.4rem), 1fr));
    gap: clamp(1.5rem, 3.6vw, 2.4rem);
    max-width: 72rem;
    align-items: stretch;
}

.client-grid--solo {
    grid-template-columns: minmax(11.4rem, 14.4rem);
    justify-content: center;
}

.client-grid__item {
    margin: 0;
    min-width: 0;
}

.client-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    min-height: 7.8rem;
    padding: clamp(0.5rem, 1.2vw, 0.75rem);
    margin: 0;
    border: none;
    border-radius: 10px;
    background: transparent;
    font: inherit;
    color: inherit;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.client-tile--interactive {
    cursor: pointer;
}

.client-tile--interactive:hover,
.client-tile--interactive:focus-visible {
    background: rgba(37, 99, 235, 0.06);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.18);
    transform: translateY(-2px);
}

.client-tile--interactive:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.client-tile--link:hover {
    background: rgba(15, 23, 42, 0.04);
}

.client-tile__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
}

.client-tile__logo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 1;
}

.client-tile__name {
    font-size: 0.975rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    max-width: 14.4rem;
}

.client-tile__hint {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.client-tile--interactive:hover .client-tile__hint,
.client-tile--interactive:focus-visible .client-tile__hint {
    opacity: 1;
    transform: translateY(0);
}

.client-tile--text-only {
    min-height: 5.4rem;
    border: 1px dashed var(--line);
}

.client-detail-dialog {
    width: min(36rem, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    padding: 0;
    border: none;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
    overflow: hidden;
}

.client-detail-dialog::backdrop {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
}

.client-detail-dialog__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: #f8fafc;
}

.client-detail-dialog__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    font-weight: 600;
    line-height: 1.25;
}

.client-detail-dialog__close {
    flex-shrink: 0;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.2rem 0.45rem;
    border-radius: 8px;
}

.client-detail-dialog__close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.client-detail-dialog__body {
    padding: 1.15rem 1.25rem 0.5rem;
    overflow-y: auto;
    max-height: min(50vh, 24rem);
    color: var(--text);
}

.client-detail-dialog__body > :first-child {
    margin-top: 0;
}

.client-detail-dialog__body > :last-child {
    margin-bottom: 0;
}

.client-detail-dialog__footer {
    padding: 0.75rem 1.25rem 1.15rem;
    border-top: 1px solid var(--line);
}

.client-detail-dialog__footer:empty {
    display: none;
    padding: 0;
    border: none;
}

.client-detail-dialog__footer a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--primary);
    text-decoration: none;
}

.client-detail-dialog__footer a:hover {
    text-decoration: underline;
}

.client-detail-source {
    display: none;
}

@media (max-width: 640px) {
    .client-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .client-grid--solo {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .client-tile,
    .client-tile--interactive:hover,
    .client-tile__hint {
        transform: none;
        transition: none;
    }
}

.newsletter-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.newsletter-panel + .newsletter-panel {
    margin-top: 1.25rem;
}

.newsletter-panel__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    letter-spacing: -0.02em;
}

.newsletter-panel__lead {
    margin: 0 0 1.25rem;
    color: var(--muted);
    line-height: 1.6;
    max-width: 40rem;
}

.newsletter-panel__cta {
    align-self: flex-start;
}

.newsletter-panel__visual {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    max-height: 220px;
}

.newsletter-panel__visual img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 220px;
    object-fit: cover;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.blog-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    background: #e2e8f0;
    overflow: hidden;
}

.blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card__body {
    padding: 1rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.blog-card__title {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.35;
}

.blog-card__title a {
    color: var(--text);
    text-decoration: none;
}

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

.blog-card__excerpt {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
    flex: 1;
}

.blog-card__read {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
    margin-top: 0.25rem;
}

.blog-card__read:hover {
    text-decoration: underline;
}

.cta {
    padding: 12px 0 36px;
}

.cta-box {
    background: linear-gradient(150deg, #0f172a, #1e293b);
    color: #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: center;
}

.cta-box .eyebrow {
    color: #93c5fd;
}

@media (min-width: 768px) {
    .hero-landing {
        display: flex;
        flex-direction: column;
        min-height: min(88vh, 860px);
    }

    .hero-landing__shell {
        flex: 1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 0;
        align-items: stretch;
        min-height: min(88vh, 860px);
    }

    .hero-landing__shell--copy-right .hero-landing__media-col,
    .hero-landing__shell--copy-right .hero-landing__bleed--left {
        order: unset;
    }

    .hero-landing__bleed--left {
        margin-inline: 0;
        min-height: 100%;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    .hero-landing__media-col {
        padding: 0;
        position: relative;
        min-height: 100%;
    }

    .hero-landing__media-stack {
        position: absolute;
        inset: 0;
        min-height: 100%;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    .hero-landing__figure--photo,
    .hero-landing__figure--art {
        border-radius: 0;
    }

    .hero-landing__panel {
        left: clamp(1rem, 3vw, 2rem);
        right: auto;
        bottom: clamp(1rem, 3vw, 2rem);
        max-width: min(24rem, calc(100% - 2rem));
    }

    .testimonial-grid--static {
        gap: 18px;
    }

    .newsletter-panel {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.75fr);
        gap: 2rem;
    }

    .newsletter-panel__visual {
        max-height: none;
    }

    .newsletter-panel__visual img {
        max-height: 280px;
    }

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

    .cta-box {
        grid-template-columns: 1fr auto;
        padding: 28px;
    }
}

@media (min-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
