:root {
    --ink: #0a0810;
    --ink-soft: #1c1824;
    --muted: #3d3848;
    --muted-light: #524d5e;
    --cream: #f7f5f1;
    --white: #ffffff;
    --purple: #6411a8;
    --purple-bright: #8420d4;
    --purple-deep: #1e0538;
    --purple-mid: #3d0a6e;
    --purple-glow: rgba(100, 17, 168, 0.22);
    --purple-soft: #f0e6fa;
    --gold: #c9920a;
    --gold-soft: #faf0d4;
    --lime: #b8e838;
    --lime-glow: rgba(184, 232, 56, 0.35);
    --line: rgba(10, 8, 16, 0.07);
    --line-strong: rgba(10, 8, 16, 0.13);
    --line-invert: rgba(255, 255, 255, 0.1);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 16px rgba(30, 5, 56, 0.05);
    --shadow: 0 12px 40px rgba(30, 5, 56, 0.1);
    --shadow-lg: 0 24px 60px rgba(30, 5, 56, 0.16);
    --shadow-purple: 0 20px 50px rgba(100, 17, 168, 0.22);
    --container: 1180px;
    --header-h: 76px;
    --font-display: "Bricolage Grotesque", system-ui, sans-serif;
    --font-body: "DM Sans", system-ui, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    text-transform: lowercase;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { max-width: 100%; height: auto; display: block; }
section, header, footer, div, article, form, nav, aside { min-width: 0; }

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

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

/* grain texture */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px;
}

.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    z-index: 100;
    width: 0%; height: 2px;
    background: linear-gradient(90deg, var(--purple), var(--lime));
    transition: width 60ms linear;
}

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 14px 0;
    transition: background 350ms var(--ease), padding 350ms var(--ease), box-shadow 350ms;
}

.site-header.is-scrolled {
    background: rgba(247, 245, 241, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 1px 0 var(--line);
    padding: 10px 0;
}

.header-inner {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 14px 10px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    transition: all 350ms var(--ease);
}

.site-header.is-scrolled .header-inner {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.brand img { width: 128px; }

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border: 0; border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    cursor: pointer; padding: 0;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
    display: block;
    width: 16px; height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 250ms var(--ease), opacity 200ms;
}

.nav-toggle-icon { position: relative; }
.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: "";
    position: absolute; left: 0;
}
.nav-toggle-icon::before { top: -5px; }
.nav-toggle-icon::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { top: 0; transform: rotate(-45deg); }

.site-nav {
    position: fixed;
    inset: 78px 16px auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden;
    transform: translateY(-10px) scale(0.97);
    transition: opacity 200ms, transform 200ms var(--ease), visibility 200ms;
}

.site-nav.is-open {
    opacity: 1; visibility: visible;
    transform: translateY(0) scale(1);
}

.site-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border-radius: var(--radius);
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.975rem;
    transition: background 180ms, color 180ms;
}

.site-nav a span {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--purple);
    opacity: 0.6;
    letter-spacing: 0.04em;
}

.site-nav a:hover,
.site-nav a.is-active {
    background: var(--purple-soft);
    color: var(--purple);
}

.site-nav .nav-cta {
    margin-top: 6px;
    justify-content: center;
    background: var(--purple);
    color: var(--white);
}

.site-nav .nav-cta span { display: none; }
.site-nav .nav-cta:hover { background: var(--purple-bright); color: var(--white); }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 13px 26px;
    border: 0;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 220ms var(--ease), box-shadow 220ms, background 220ms;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
    background: var(--purple);
    color: var(--white);
    box-shadow: var(--shadow-purple);
}

.btn--primary:hover {
    background: var(--purple-bright);
    transform: translateY(-2px);
    box-shadow: 0 16px 44px rgba(100, 17, 168, 0.32);
}

.btn--ghost {
    background: var(--white);
    color: var(--ink);
    border: 1.5px solid var(--line-strong);
    box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
    border-color: var(--purple);
    color: var(--purple);
    background: var(--purple-soft);
}

.btn--light {
    background: var(--white);
    color: var(--purple);
    box-shadow: var(--shadow);
}

.btn--light:hover { transform: translateY(-2px); }
.btn--full { width: 100%; }

/* ── Section headers ── */
.section-header { margin-bottom: 44px; }

.section-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.section-num {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--purple);
    letter-spacing: 0.06em;
}

.section-tag {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--purple-soft);
    color: var(--purple-deep);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4.2vw, 2.55rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    margin: 0 0 12px;
    max-width: 100%;
}

.section-header .section-lead {
    margin-top: 0;
}

@media (min-width: 1024px) {
    .card-title-row h3 {
        font-size: 1.15rem;
        white-space: nowrap;
    }
}

.section-header p,
.section-lead {
    margin: 0;
    color: var(--muted);
    font-size: 1.0625rem;
    font-weight: 500;
    max-width: 500px;
    line-height: 1.7;
}

.section-header--light h2 { color: var(--white); }
.section-header--light p { color: rgba(255, 255, 255, 0.8); }
.section-header--light .section-num { color: var(--lime); }
.section-header--light .section-tag {
    background: rgba(255, 255, 255, 0.08);
    color: var(--lime);
}

/* ── Hero ── */
.hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-h) + 36px) 0 44px;
    display: flex;
    align-items: flex-start;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% -10%, rgba(100, 17, 168, 0.13), transparent),
        radial-gradient(ellipse 50% 40% at 10% 90%, rgba(201, 146, 10, 0.08), transparent),
        radial-gradient(ellipse 40% 30% at 90% 70%, rgba(184, 232, 56, 0.06), transparent),
        var(--cream);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    will-change: transform;
}

.hero-orb--1 {
    top: -10%; right: -5%;
    width: 50vw; max-width: 520px;
    height: 50vw; max-height: 520px;
    background: rgba(100, 17, 168, 0.16);
}

.hero-orb--2 {
    bottom: -5%; left: -8%;
    width: 40vw; max-width: 400px;
    height: 40vw; max-height: 400px;
    background: rgba(201, 146, 10, 0.1);
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 32px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 3;
    min-width: 0;
}

.hero-dashboard {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 7px 14px 7px 10px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink-soft);
    box-shadow: var(--shadow-sm);
}

.pulse-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--purple);
    box-shadow: 0 0 0 0 var(--purple-glow);
    animation: pulse-ring 2.4s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%, 100% { box-shadow: 0 0 0 0 var(--purple-glow); }
    50% { box-shadow: 0 0 0 6px transparent; }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5.5vw, 3.35rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.04em;
    margin: 0 0 16px;
    max-width: 100%;
}

.text-gradient {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-bright) 60%, #a040e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 em {
    font-style: normal;
    position: relative;
    color: var(--ink);
}

.hero h1 em::after {
    content: "";
    position: absolute;
    left: 0; bottom: 2px;
    width: 100%; height: 8px;
    background: var(--lime);
    opacity: 0.45;
    z-index: -1;
    border-radius: 2px;
}

.hero-lead {
    margin: 0 0 20px;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--ink-soft);
    max-width: 52ch;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

/* ── Dashboard ── */
.hero-dashboard { perspective: 1200px; }

.dashboard-shell {
    position: relative;
    padding: 22px;
    border-radius: var(--radius-xl);
    background: var(--ink);
    color: var(--white);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.06) inset, 0 0 80px rgba(100,17,168,0.15);
    transform: rotateY(-4deg) rotateX(2deg);
    transition: transform 600ms var(--ease);
}

.dashboard-shell::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(184,232,56,0.35), rgba(100,17,168,0.2), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.hero-dashboard:hover .dashboard-shell {
    transform: rotateY(0deg) rotateX(0deg);
}

.dashboard-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 8px 12px;
    align-items: center;
    margin-bottom: 18px;
}

.dashboard-live {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--lime);
    text-transform: uppercase;
}

.dashboard-period {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
}

.dashboard-chart {
    position: relative;
    height: 110px;
    margin-bottom: 20px;
    padding: 12px 14px 8px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line-invert);
    overflow: hidden;
}

.chart-sparkline {
    position: absolute;
    inset: 8px 12px auto;
    width: calc(100% - 24px);
    height: 70px;
    z-index: 2;
    pointer-events: none;
}

.chart-sparkline-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 1.8s var(--ease);
}

.dashboard-shell.is-animated .chart-sparkline-line {
    stroke-dashoffset: 0;
}

.chart-bars {
    position: absolute;
    inset: auto 12px 8px;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 36px;
    opacity: 0.35;
}

.chart-bar {
    flex: 1;
    height: var(--h, 50%);
    border-radius: 4px 4px 2px 2px;
    background: rgba(100, 17, 168, 0.5);
    transform-origin: bottom;
    transform: scaleY(0);
    transition: transform 800ms var(--ease);
    transition-delay: calc(var(--i, 0) * 80ms);
}

.dashboard-shell.is-animated .chart-bar {
    transform: scaleY(1);
}

.chart-bar--peak {
    background: linear-gradient(180deg, var(--lime), rgba(184, 232, 56, 0.5));
    box-shadow: 0 0 20px var(--lime-glow);
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
    align-items: stretch;
}

.dash-metric {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    min-height: 96px;
    padding: 12px 10px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--line-invert);
    text-align: center;
}

.dash-metric--hero {
    align-items: flex-start;
    text-align: left;
    padding: 14px;
    background:
        radial-gradient(circle at 100% 0%, rgba(184,232,56,0.12), transparent 60%),
        rgba(255,255,255,0.06);
    border-color: rgba(184,232,56,0.15);
}

.dash-metric-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}

.dash-metric-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--white);
    line-height: 1.1;
}

.dash-metric--hero .dash-metric-value {
    font-size: 2.4rem;
    color: var(--lime);
}

.dash-metric-desc {
    display: block;
    margin-top: 2px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
}

.dashboard-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

.dashboard-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transition: background 200ms, transform 200ms;
}

.dashboard-dots span.is-active {
    background: var(--lime);
    transform: scale(1.15);
}

.dashboard-slide {
    transition: opacity 320ms var(--ease), transform 320ms var(--ease);
}

.dashboard-shell.is-slide-out .dashboard-slide {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
}

.dashboard-shell.is-slide-in .dashboard-slide {
    animation: dashboard-slide-in 420ms var(--ease) forwards;
}

.dashboard-shell.is-slide-in {
    box-shadow:
        var(--shadow-lg),
        0 0 0 1px rgba(255,255,255,0.06) inset,
        0 0 80px rgba(184,232,56,0.18);
}

@keyframes dashboard-slide-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dashboard-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: rgba(201, 146, 10, 0.12);
    border: 1px solid rgba(201, 146, 10, 0.2);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.dashboard-foot svg { color: var(--gold); flex-shrink: 0; }

.dashboard-float {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
    animation: float-badge 4s ease-in-out infinite;
}

.dashboard-float-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 8px;
    background: rgba(184,232,56,0.2);
    color: #4a7a0a;
    font-size: 0.9rem;
    font-weight: 800;
}

.dashboard-float strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--purple);
    line-height: 1.2;
}

.dashboard-float small {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--muted);
}

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

.hero-scroll {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    z-index: 2;
    transition: color 200ms;
}

.hero-scroll svg {
    animation: bounce-down 2s ease-in-out infinite;
}

.hero-scroll:hover { color: var(--purple); }

@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* ── Spotlight ── */
.spotlight {
    position: relative;
    background: var(--ink);
    color: var(--white);
    border-top: 1px solid var(--line-invert);
    border-bottom: 1px solid var(--line-invert);
}

.spotlight::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(100,17,168,0.25), transparent 70%);
    pointer-events: none;
}

.spotlight-inner {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: var(--container);
    margin: 0 auto;
}

.spotlight-item {
    padding: 36px 24px;
    text-align: center;
    border-bottom: 1px solid var(--line-invert);
    border-right: 1px solid var(--line-invert);
    transition: background 300ms;
}

.spotlight-item:nth-child(2n) { border-right: 0; }
.spotlight-item:nth-last-child(-n+2) { border-bottom: 0; }

.spotlight-item:hover {
    background: rgba(255,255,255,0.03);
}

.spotlight-value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    background: linear-gradient(135deg, var(--white) 30%, var(--lime) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.spotlight-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    margin-bottom: 4px;
}

.spotlight-note {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.04em;
}

/* ── Partners hub ── */
.partners-hub {
    padding: 72px 0 80px;
    background: var(--white);
    border-top: 1px solid var(--line);
}

.partners-hub-groups {
    display: grid;
    gap: 28px;
    margin-top: 8px;
}

.partners-group {
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--cream);
}

.partners-group-label {
    margin: 0 0 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--purple);
    text-transform: lowercase;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.partners-grid--row-3,
.partners-grid--row-5,
.partners-grid--row-6,
.partners-grid--row-7,
.partners-grid--row-8,
.partners-grid--row-10,
.partners-grid--row-15,
.partners-grid--grid-6-5 {
    gap: 8px;
}

.partner-logo {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid var(--line);
    transition: border-color 200ms, box-shadow 200ms, transform 200ms;
}

.partners-grid--row-7 .partner-logo,
.partners-grid--row-8 .partner-logo,
.partners-grid--row-10 .partner-logo,
.partners-grid--row-15 .partner-logo {
    min-height: 52px;
    padding: 8px 4px;
}

.partner-logo:hover {
    border-color: rgba(100, 17, 168, 0.18);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.partner-logo img {
    display: block;
    width: auto;
    height: 36px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

.partners-grid--row-7 .partner-logo img,
.partners-grid--row-8 .partner-logo img {
    height: 30px;
}

.partners-grid--row-10 .partner-logo img,
.partners-grid--row-15 .partner-logo img {
    height: 26px;
}

.partner-logo--badge img {
    height: 40px;
}

@media (min-width: 520px) {
    .partners-grid:not([class*="partners-grid--"]) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .partners-grid--row-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .partners-grid--row-5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .partners-grid--row-6 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .partners-grid--row-7 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .partners-grid--row-8 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .partners-grid--row-10,
    .partners-grid--row-15 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .partners-grid--grid-6-5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 760px) {
    .partners-grid--row-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .partners-grid--row-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .partners-grid--row-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .partners-grid--row-7 {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .partners-grid--row-8 {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    .partners-grid--row-10 {
        grid-template-columns: repeat(10, minmax(0, 1fr));
    }

    .partners-grid--row-15 {
        grid-template-columns: repeat(15, minmax(0, 1fr));
    }

    .partners-grid--grid-6-5 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .partners-grid--row-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .partners-grid--row-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .partners-grid--row-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .partners-grid--row-7 {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .partners-grid--row-8 {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    .partners-grid--row-10 {
        grid-template-columns: repeat(10, minmax(0, 1fr));
    }

    .partners-grid--row-15 {
        grid-template-columns: repeat(15, minmax(0, 1fr));
    }

    .partners-grid--grid-6-5 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* ── Proof / Marquee ── */
.proof {
    padding: 80px 0;
    background: var(--white);
    border-top: 1px solid var(--line);
}

.marquee-wrap {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.marquee--reverse .marquee-track {
    animation-direction: reverse;
}

.marquee-track {
    display: flex;
    gap: 56px;
    width: max-content;
    animation: marquee 85s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 148px;
    height: 64px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
    opacity: 0.88;
    filter: grayscale(35%);
    transition: opacity 300ms, filter 300ms, transform 300ms, box-shadow 300ms;
}

.marquee-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.04);
    box-shadow: var(--shadow-sm);
}

.marquee-item img {
    width: 100%;
    height: 100%;
    max-width: 116px;
    max-height: 44px;
    object-fit: contain;
    object-position: center;
}

/* ── Services bento ── */
.services {
    padding: 88px 0;
    background: var(--cream);
}

.service-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform 300ms var(--ease), box-shadow 300ms, border-color 300ms;
}

.service-card::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: left 600ms var(--ease);
    pointer-events: none;
}

.service-card:hover::after { left: 150%; }

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(100,17,168,0.06), transparent 60%);
    opacity: 0;
    transition: opacity 300ms;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(100, 17, 168, 0.2);
}

.service-card:hover::before { opacity: 1; }

.service-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    position: relative;
}

.service-card-head h3 {
    margin: 0;
    flex: 1;
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--ink);
}

.service-icon {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--purple-soft);
    background-size: 18px;
    background-position: center;
    background-repeat: no-repeat;
}

.service-icon--chart { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M2 14h14M5 14V9M9 14V6M13 14V3' stroke='%236411a8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.service-icon--ads { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Crect x='2' y='4' width='14' height='10' rx='2' stroke='%236411a8' stroke-width='1.5'/%3E%3Cpath d='M6 8h6M6 11h4' stroke='%236411a8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.service-icon--retarget { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M14 9A5 5 0 1 1 9 4' stroke='%236411a8' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M9 2v3l2 1' stroke='%236411a8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.service-icon--data { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cellipse cx='9' cy='5' rx='6' ry='2.5' stroke='%236411a8' stroke-width='1.5'/%3E%3Cpath d='M3 5v4c0 1.4 2.7 2.5 6 2.5s6-1.1 6-2.5V5M3 9v4c0 1.4 2.7 2.5 6 2.5s6-1.1 6-2.5V9' stroke='%236411a8' stroke-width='1.5'/%3E%3C/svg%3E"); }
.service-icon--search { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Ccircle cx='8' cy='8' r='5' stroke='%236411a8' stroke-width='1.5'/%3E%3Cpath d='M12 12l3 3' stroke='%236411a8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.service-icon--cart { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M2 3h2l2.5 9h8l2-6H6' stroke='%236411a8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='8' cy='15' r='1' fill='%236411a8'/%3E%3Ccircle cx='14' cy='15' r='1' fill='%236411a8'/%3E%3C/svg%3E"); }
.service-icon--content { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 3h10v12H4z' stroke='%236411a8' stroke-width='1.5'/%3E%3Cpath d='M6 7h6M6 10h4' stroke='%236411a8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.service-icon--report { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 2h7l3 3v11H4z' stroke='%236411a8' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M7 10h4M7 13h6' stroke='%236411a8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.service-icon--web { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Crect x='2' y='3' width='14' height='11' rx='2' stroke='%236411a8' stroke-width='1.5'/%3E%3Cpath d='M2 7h14M6 3v11' stroke='%236411a8' stroke-width='1.5'/%3E%3C/svg%3E"); }
.service-icon--mobile { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Crect x='5' y='2' width='8' height='14' rx='2' stroke='%236411a8' stroke-width='1.5'/%3E%3Cpath d='M8 13h2' stroke='%236411a8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.service-icon--landing { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M3 14l4-5 3 3 5-8' stroke='%236411a8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.service-icon--cvr { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M3 9l4 4 8-8' stroke='%236411a8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.service-icon--media { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Crect x='2' y='4' width='14' height='10' rx='2' stroke='%236411a8' stroke-width='1.5'/%3E%3Cpath d='M7 7l3 2.5L13 7' stroke='%236411a8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.service-card p {
    position: relative;
    margin: 0;
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.65;
}

.service-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--purple);
    transition: gap 200ms;
}

.service-link:hover { gap: 10px; }

/* ── Method ── */
.method {
    padding: 88px 0;
    background: var(--purple-deep);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.method::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(100,17,168,0.35), transparent),
        radial-gradient(ellipse 40% 40% at 10% 80%, rgba(184,232,56,0.06), transparent);
    pointer-events: none;
}

.method-pipeline {
    display: grid;
    gap: 16px;
    position: relative;
}

.method-progress {
    display: none;
}

.method-card {
    position: relative;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--line-invert);
    backdrop-filter: blur(8px);
    transition: background 300ms, border-color 300ms, transform 300ms var(--ease);
}

.method-card:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-3px);
}

.card-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: nowrap;
}

.card-title-row h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.method-card-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(184,232,56,0.12);
    border: 1.5px solid rgba(184,232,56,0.3);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--lime);
}

.method-card p {
    margin: 0;
    font-size: 0.975rem;
    font-weight: 500;
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
}

.method-connector { display: none; }

/* ── Workflow ── */
.workflow {
    padding: 88px 0;
    background: var(--ink);
    color: var(--white);
}

.benefit-grid {
    display: grid;
    gap: 12px;
}

.benefit-card {
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-invert);
    background: rgba(255,255,255,0.03);
    transition: background 280ms, transform 280ms var(--ease);
}

.benefit-card:hover {
    background: rgba(255,255,255,0.07);
    transform: translateY(-2px);
}

.benefit-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(184,232,56,0.1);
    border: 1.5px solid rgba(184,232,56,0.25);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--lime);
    letter-spacing: 0.04em;
}

.card-title-row--light h3 {
    color: var(--white);
}

.benefit-card p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
}

/* ── Testimonials ── */
.voice {
    padding: 88px 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(100,17,168,0.18), transparent),
        var(--ink-soft);
    color: var(--white);
}

.testimonial-stage {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line-invert);
    background: rgba(255,255,255,0.03);
}

.testimonial-stage::before {
    content: "\201C";
    position: absolute;
    top: -20px;
    right: 24px;
    font-family: var(--font-display);
    font-size: clamp(8rem, 20vw, 14rem);
    line-height: 1;
    color: var(--purple);
    opacity: 0.06;
    pointer-events: none;
    user-select: none;
}

.testimonial-track {
    display: flex;
    transition: transform 500ms var(--ease);
}

.testimonial-slide {
    flex: 0 0 100%;
    margin: 0;
    padding: 36px 28px 96px;
}

.testimonial-chip {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(100,17,168,0.25);
    border: 1px solid rgba(100,17,168,0.35);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--lime);
    letter-spacing: 0.02em;
}

.testimonial-slide p {
    margin: 0 0 28px;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 3.5vw, 1.6rem);
    font-weight: 600;
    line-height: 1.38;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.92);
}

.testimonial-slide footer {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--purple);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
}

.testimonial-slide cite {
    display: block;
    font-style: normal;
    font-weight: 700;
    font-size: 0.975rem;
    margin-bottom: 2px;
}

.testimonial-slide footer span {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
}

.testimonial-controls {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    border-top: 1px solid var(--line-invert);
    background: rgba(0,0,0,0.25);
}

.testimonial-progress-wrap {
    flex: 1;
    display: grid;
    gap: 8px;
    max-width: 280px;
}

.testimonial-counter {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 800;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.06em;
}

.testimonial-progress {
    height: 3px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    overflow: hidden;
}

.testimonial-progress-bar {
    height: 100%;
    width: 25%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--purple), var(--lime));
    transition: width 500ms var(--ease);
}

.testimonial-dots { display: flex; gap: 8px; }

.testimonial-dot {
    width: 8px; height: 8px;
    border: 0; border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer; padding: 0;
    transition: background 200ms, transform 200ms;
}

.testimonial-dot.is-active {
    background: var(--lime);
    transform: scale(1.3);
}

.testimonial-arrows { display: flex; gap: 8px; }

.testimonial-arrows button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border: 1px solid var(--line-invert);
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: var(--white);
    cursor: pointer;
    transition: background 200ms;
}

.testimonial-arrows button:hover {
    background: var(--purple);
    border-color: var(--purple);
}

/* ── Contact ── */
.contact {
    padding: 0;
    background: var(--white);
}

.contact-shell {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
}

.contact-form-wrap {
    display: flex;
    flex-direction: column;
    background: var(--white);
}

.contact-form-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 28px 32px 0;
    color: var(--gold);
}

.contact-form-head svg {
    flex-shrink: 0;
    color: var(--gold);
}

.contact-form-head h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--ink-soft);
}

.contact-panel {
    padding: 56px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(ellipse 80% 60% at 0% 100%, rgba(100,17,168,0.3), transparent),
        var(--purple-deep);
    color: var(--white);
}

.contact-panel .section-tag {
    background: rgba(255,255,255,0.08);
    color: var(--lime);
    margin-bottom: 20px;
}

.contact-panel h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 14px;
    max-width: 420px;
}


.contact-panel > p {
    margin: 0 0 32px;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.72);
    max-width: 380px;
    line-height: 1.7;
}

.contact-channels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 28px;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--line-invert);
    transition: background 200ms, border-color 200ms;
}

.contact-channel:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.contact-channel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: var(--lime);
    flex-shrink: 0;
}

.contact-channel strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-channel small {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
}


.contact-form {
    padding: 20px 32px 40px;
    background: var(--cream);
    flex: 1;
}

.form-row {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}

@media (min-width: 640px) {
    .form-row--identity {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

.contact-form label {
    display: grid;
    gap: 7px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
    outline: none;
    text-transform: none;
    transition: border-color 200ms, box-shadow 200ms;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #6e6878;
    text-transform: lowercase;
}

.contact-form select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23524d5e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 4px var(--purple-glow);
}

.contact-form textarea { resize: vertical; min-height: 110px; }
.form-full { margin-bottom: 14px; }

.form-checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 12px !important;
    margin-bottom: 18px;
    font-weight: 500 !important;
    color: var(--ink) !important;
    cursor: pointer;
}

.form-checkbox input {
    width: 18px; height: 18px;
    margin-top: 3px;
    accent-color: var(--purple);
    flex-shrink: 0;
}

.form-link {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--purple);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.form-link:hover {
    color: var(--purple-bright);
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
}

.form-alert {
    display: none;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.form-alert.is-visible { display: block; }
.form-alert.is-success {
    border: 1px solid rgba(26,143,95,0.25);
    background: rgba(26,143,95,0.08);
    color: #1a8f5f;
}
.form-alert.is-error {
    border: 1px solid rgba(190,45,45,0.25);
    background: rgba(190,45,45,0.08);
    color: #be2d2d;
}

.contact-form.is-sending { opacity: 0.7; pointer-events: none; }

/* ── Closing ── */
.closing {
    padding: 0 0 72px;
    background: var(--cream);
}

.closing-strip {
    display: grid;
    gap: 24px;
    padding: 32px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(ellipse 80% 100% at 0% 50%, rgba(100, 17, 168, 0.06), transparent 55%),
        var(--white);
    box-shadow: var(--shadow-sm);
}

.closing-copy img {
    width: 118px;
    margin-bottom: 14px;
}

.closing-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 3.5vw, 2rem);
    font-weight: 800;
    margin: 0 0 10px;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.closing-copy p {
    margin: 0;
    max-width: 520px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.65;
}

.closing-action {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ── Footer ── */
.site-footer {
    padding: 36px 0 100px;
    background: var(--ink);
    color: rgba(255,255,255,0.55);
}

.footer-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    padding-top: 28px;
    border-top: 1px solid var(--line-invert);
}

.footer-brand img { width: 120px; }
.footer-meta p {
    margin: 0;
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ── Mobile bar ── */
.mobile-bar {
    position: fixed;
    bottom: 12px; left: 12px; right: 12px;
    z-index: 45;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

.mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.875rem;
}

.mobile-bar-call {
    padding: 0 18px;
    background: var(--cream);
    color: var(--purple);
    border: 1px solid var(--line);
}

.mobile-bar-cta {
    background: var(--purple);
    color: var(--white);
}

/* ── Reveal ── */
.reveal {
    opacity: 1;
    transform: none;
}

html.js .reveal:not(.is-visible) {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 650ms var(--ease) var(--delay, 0ms),
        transform 650ms var(--ease) var(--delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .marquee-track,
    .ref-category-track { animation: none; }
    .dashboard-shell { transform: none; }
    .chart-bar { transform: scaleY(1); }
    .dashboard-shell.is-slide-out .dashboard-slide,
    .dashboard-shell.is-slide-in .dashboard-slide {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* ── Tablet ── */
@media (min-width: 640px) {
    .service-bento { grid-template-columns: repeat(2, 1fr); }
    .form-row:not(.form-row--identity) { grid-template-columns: 1fr 1fr; }
    .benefit-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Desktop ── */
@media (min-width: 900px) {
    .brand img { width: 140px; }
    .nav-toggle { display: none; }

    .site-nav {
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 2px;
        padding: 0;
        border: 0; border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1; visibility: visible;
        transform: none;
    }

    .site-nav a {
        padding: 9px 12px;
        font-size: 0.9rem;
    }

    .site-nav a span { display: none; }

    .site-nav .nav-cta {
        margin-top: 0;
        margin-left: 10px;
        padding: 9px 20px;
    }

    .hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
        gap: 36px;
        align-items: center;
    }

    .hero-content {
        padding-right: 8px;
    }

    .hero h1 {
        font-size: clamp(2.1rem, 2.8vw, 3rem);
        line-height: 1.15;
        margin-bottom: 18px;
    }

    .dashboard-shell {
        transform: none;
    }

    .service-bento {
        grid-template-columns: repeat(3, 1fr);
    }

    .method-pipeline {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .method-connector {
        display: block;
        position: absolute;
        top: 50%;
        right: -10px;
        width: 20px;
        height: 2px;
        background: linear-gradient(90deg, rgba(184,232,56,0.4), rgba(184,232,56,0.1));
        transform: translateY(-50%);
    }

    .contact-shell {
        grid-template-columns: 2fr 3fr;
        align-items: stretch;
    }

    .contact-panel { padding: 64px 48px; }
    .contact-form-head { padding: 40px 48px 0; }
    .contact-form { padding: 24px 48px 64px; flex: 1; }

    .testimonial-slide { padding: 48px 48px 96px; }

    .mobile-bar { display: none; }
    .site-footer { padding-bottom: 36px; }
}

@media (min-width: 1100px) {
    .hero-layout {
        grid-template-columns: minmax(0, 1.05fr) 400px;
        gap: 56px;
    }

    .closing-copy h2 {
        white-space: nowrap;
    }
}

/* ── Section rail ── */
.section-rail {
    display: none;
}

@media (min-width: 1100px) {
    .section-rail {
        display: flex;
        flex-direction: column;
        gap: 14px;
        position: fixed;
        right: 24px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 40;
    }

    .section-rail a {
        position: relative;
        display: block;
        width: 10px; height: 10px;
        border-radius: 50%;
        background: rgba(10,8,16,0.12);
        transition: background 250ms, transform 250ms;
    }

    .section-rail a::after {
        content: attr(data-label);
        position: absolute;
        right: calc(100% + 12px);
        top: 50%;
        transform: translateY(-50%) translateX(4px);
        padding: 5px 10px;
        border-radius: 6px;
        background: var(--ink);
        color: var(--white);
        font-size: 0.72rem;
        font-weight: 700;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 200ms, transform 200ms;
    }

    .section-rail a:hover::after,
    .section-rail a.is-active::after {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }

    .section-rail a span { display: none; }

    .section-rail a:hover,
    .section-rail a.is-active {
        background: var(--purple);
        transform: scale(1.3);
    }

    .section-rail a.is-active {
        box-shadow: 0 0 0 4px var(--purple-glow);
    }

    .spotlight-inner {
        grid-template-columns: repeat(4, 1fr);
    }

    .spotlight-item {
        border-right: 1px solid var(--line-invert);
        border-bottom: 0;
    }

    .spotlight-item:last-child { border-right: 0; }

    .method-progress {
        display: block;
        position: absolute;
        top: 36px;
        left: 16.66%;
        right: 16.66%;
        height: 2px;
        background: rgba(255,255,255,0.1);
        border-radius: 999px;
        z-index: 0;
    }

    .method-progress::after {
        content: "";
        display: block;
        height: 100%;
        width: var(--progress, 0%);
        border-radius: inherit;
        background: linear-gradient(90deg, var(--lime), var(--purple-bright));
        transition: width 400ms var(--ease);
    }

    .testimonial-dots { display: none; }

    .closing-strip {
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: 36px 40px;
    }

    .closing-action {
        flex-direction: column;
        align-items: stretch;
        min-width: 220px;
    }
}

/* ── Case studies ── */
.cases {
    padding: 72px 0 48px;
    background: var(--cream);
}

.case-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 17, 168, 0.35) transparent;
    margin-inline: -16px;
    padding-inline: 16px;
    padding-bottom: 8px;
}

.case-carousel:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 4px;
}

.case-track {
    display: flex;
    gap: 16px;
    align-items: stretch;
}

.case-carousel .case-card {
    flex: 0 0 292px;
    width: 292px;
    min-height: 400px;
    scroll-snap-align: start;
}

.case-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: border-color 200ms, box-shadow 200ms;
}

.case-carousel .case-card:hover {
    border-color: rgba(100, 17, 168, 0.18);
    box-shadow: var(--shadow);
}

.case-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    min-height: 44px;
    flex-shrink: 0;
}

.case-card-head img {
    height: 32px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.case-sector {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--purple);
    background: var(--purple-soft);
    padding: 5px 10px;
    border-radius: 999px;
}

.case-summary {
    flex: 1 1 auto;
    margin: 0 0 18px;
    min-height: 7.2em;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    flex-shrink: 0;
}

.case-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 12px 8px;
    border-radius: var(--radius-sm);
    background: var(--cream);
    text-align: center;
}

.case-metric strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    font-weight: 800;
    color: var(--purple-deep);
    margin-bottom: 4px;
    line-height: 1.2;
    word-break: break-word;
}

.case-metric span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Sector filter ── */
.sector-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.sector-filter-btn {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 200ms, background 200ms, color 200ms;
}

.sector-filter-btn:hover,
.sector-filter-btn.is-active {
    border-color: rgba(100, 17, 168, 0.25);
    background: var(--purple-soft);
    color: var(--purple-deep);
}

.marquee-item.is-hidden {
    display: none !important;
}

/* ── Services primary/secondary ── */
.service-bento--primary {
    grid-template-columns: 1fr;
    margin-bottom: 28px;
}

.service-secondary {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 230, 250, 0.35));
    box-shadow: var(--shadow-sm);
}

.service-secondary-head {
    margin-bottom: 20px;
}

.service-secondary-title {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ink-soft);
}

.service-secondary-head p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
}

.service-secondary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.service-secondary-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color 200ms, box-shadow 200ms, transform 200ms;
}

.service-secondary-card:hover {
    border-color: rgba(100, 17, 168, 0.2);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.service-secondary-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: var(--purple-soft);
    background-size: 18px;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.service-secondary-label {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--ink-soft);
    line-height: 1.35;
}

/* ── Method timeline ── */
.method-timeline {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 4px;
}

/* ── Testimonial logos ── */
.testimonial-logo {
    width: 108px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid var(--line);
    flex-shrink: 0;
}

.testimonial-logo img {
    max-width: 100%;
    max-height: 28px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ── Partners collapse ── */
.partner-logo--more {
    display: none;
}

.partners-group.is-expanded .partner-logo--more {
    display: flex;
}

.partners-more-btn {
    margin-top: 10px;
    padding: 8px 14px;
    border: 1px dashed var(--line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 200ms, color 200ms, background 200ms;
}

.partners-more-btn:hover {
    border-color: rgba(100, 17, 168, 0.25);
    color: var(--purple);
    background: var(--purple-soft);
}

/* ── Sticky CTA & WhatsApp ── */
.sticky-cta {
    position: fixed;
    left: 50%;
    bottom: 88px;
    transform: translateX(-50%) translateY(120%);
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px 10px 18px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 350ms var(--ease), opacity 350ms;
    opacity: 0;
    pointer-events: none;
}

.sticky-cta.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.sticky-cta p {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.btn--sm {
    padding: 10px 16px;
    font-size: 0.82rem;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 89;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: transform 200ms, box-shadow 200ms;
}

.whatsapp-float:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

@media (max-width: 1023px) {
    .hero-actions {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .hero-actions .btn {
        flex: 1;
        min-width: 0;
        padding: 12px 14px;
        font-size: 0.82rem;
    }

    .hero-actions .btn svg {
        display: none;
    }

    #contact-form {
        scroll-margin-top: 80px;
    }

    .closing-action {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .closing-action .btn {
        flex: 1;
        min-width: 0;
        padding: 12px 14px;
        font-size: 0.82rem;
    }

    .closing-action .btn svg {
        display: none;
    }
}

@media (max-width: 640px) {
    .contact-channels {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 640px) {
    .service-bento--primary {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .case-carousel {
        margin-inline: 0;
        padding-inline: 0;
    }
}

@media (min-width: 900px) {
    .sticky-cta {
        bottom: 28px;
    }

    .whatsapp-float {
        bottom: 28px;
    }
}

@media (max-width: 899px) {
    .sticky-cta { display: none !important; }
}

/* ── ROI calculator ── */
.roi-calculator {
    padding: 48px 0 56px;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.roi-shell {
    display: grid;
    gap: 24px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--cream);
    align-items: stretch;
}

.roi-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
}

.roi-inputs {
    display: grid;
    gap: 16px;
    flex: 1;
}

.roi-inputs label {
    display: grid;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--muted);
}

.roi-range-label [data-roi-lift-label] {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--purple);
}

.roi-inputs input[type="number"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
}

.roi-inputs input[type="range"] {
    width: 100%;
    margin: 0;
}

.roi-cta {
    margin-top: auto;
    align-self: flex-start;
    width: 100%;
}

.roi-output {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    height: 100%;
}

.roi-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 1;
    min-height: 56px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid var(--line);
}

.roi-result span {
    font-size: 0.82rem;
    color: var(--muted);
}

.roi-result strong {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--purple-deep);
}

.roi-result--highlight {
    border-color: rgba(100, 17, 168, 0.2);
    background: var(--purple-soft);
}

.roi-result--highlight strong {
    color: var(--purple);
}

/* ── Case card link ── */
.case-card--featured {
    border-color: rgba(100, 17, 168, 0.22);
    box-shadow: var(--shadow);
}

.case-card-link {
    display: inline-flex;
    margin-top: auto;
    padding-top: 16px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--purple);
    flex-shrink: 0;
}

.case-card-link:hover {
    color: var(--purple-bright);
}

/* ── Reference categories ── */
.ref-category-board {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.ref-category-row {
    display: grid;
    grid-template-columns: minmax(96px, 0.72fr) repeat(4, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
    min-height: 84px;
}

.ref-category-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    border: 1px solid rgba(100, 17, 168, 0.16);
    border-radius: var(--radius);
    background: var(--purple-soft);
    color: var(--purple-deep);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: lowercase;
    text-align: center;
    line-height: 1.3;
}

.ref-category-marquee {
    grid-column: 2 / -1;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
}

.ref-category-track {
    display: flex;
    gap: 10px;
    width: max-content;
    padding: 10px 12px;
    animation: ref-row-marquee 52s linear infinite;
}

.ref-category-row:nth-child(2) .ref-category-track {
    animation-duration: 44s;
    animation-direction: reverse;
}

.ref-category-row:nth-child(3) .ref-category-track {
    animation-duration: 38s;
}

.ref-category-marquee:hover .ref-category-track {
    animation-play-state: paused;
}

@keyframes ref-row-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ref-category-logo {
    flex: 0 0 148px;
    width: 148px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--cream);
}

.ref-category-logo img {
    width: 100%;
    height: 100%;
    max-width: 116px;
    max-height: 40px;
    object-fit: contain;
    object-position: center;
}

.refs-expand-wrap {
    margin-top: 8px;
    padding-bottom: 8px;
}

.refs-expand-btn {
    width: 100%;
    padding: 12px 18px;
    border: 1px dashed var(--line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
}

.refs-expand-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.refs-expand-grid[hidden] {
    display: none;
}

.refs-expand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
}

.refs-expand-item img {
    height: 28px;
    width: auto;
    max-width: 88px;
    object-fit: contain;
}

/* ── Engagement model ── */
.engagement {
    padding: 56px 0;
    background: var(--cream);
}

.engagement-grid {
    display: grid;
    gap: 14px;
}

.engagement-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
}

.engagement-card h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.engagement-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

/* ── Partners compact ── */
.partners-hub--compact {
    padding-bottom: 48px;
}

.partners-hub-cta {
    display: grid;
    gap: 14px;
    margin-top: 20px;
    text-align: center;
}

.partners-hub-cta p {
    margin: 0;
    color: var(--muted);
}

/* ── Team ── */
.team {
    padding: 64px 0;
    background: var(--purple-deep);
    color: var(--white);
}

.team-grid {
    display: grid;
    gap: 14px;
}

.team-card {
    padding: 22px;
    border: 1px solid var(--line-invert);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
}

.team-card-main {
    display: flex;
    align-items: center;
    gap: 14px;
}

.team-card-body {
    min-width: 0;
}

.team-icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: rgba(184, 232, 56, 0.15);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
}

.team-icon--ads {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Crect x='2' y='4' width='14' height='10' rx='2' stroke='%23b8e838' stroke-width='1.5'/%3E%3Cpath d='M6 8h6M6 11h4' stroke='%23b8e838' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.team-icon--data {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cellipse cx='9' cy='5' rx='6' ry='2.5' stroke='%23b8e838' stroke-width='1.5'/%3E%3Cpath d='M3 5v4c0 1.4 2.7 2.5 6 2.5s6-1.1 6-2.5V5M3 9v4c0 1.4 2.7 2.5 6 2.5s6-1.1 6-2.5V9' stroke='%23b8e838' stroke-width='1.5'/%3E%3C/svg%3E");
}

.team-icon--cart {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M2 3h2l2.5 9h8l2-6H6' stroke='%23b8e838' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='8' cy='15' r='1' fill='%23b8e838'/%3E%3Ccircle cx='14' cy='15' r='1' fill='%23b8e838'/%3E%3C/svg%3E");
}

.team-card h3 {
    margin: 0 0 4px;
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.team-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

/* ── Analysis deliverables ── */
.analysis-box {
    margin: 20px 0;
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line-invert);
}

.analysis-box h3,
.analysis-box h2 {
    margin: 0 0 12px;
    font-size: 0.95rem;
}

.analysis-deliverables {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.analysis-deliverables li {
    position: relative;
    padding-left: 18px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.analysis-deliverables li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--lime);
    font-weight: 700;
}

/* ── Stats band ── */
.stats-band {
    padding: 0 0 8px;
    background: var(--cream);
}

.stats-band-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.stats-band-item {
    display: grid;
    gap: 4px;
    padding: 16px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    text-align: center;
}

.stats-band-item strong {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--purple-deep);
    letter-spacing: -0.03em;
}

.stats-band-item span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: lowercase;
}

/* ── FAQ ── */
.faq {
    padding: 72px 0 48px;
    background: var(--cream);
}

.faq-list {
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink-soft);
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--purple);
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin: 0;
    padding: 0 18px 16px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.faq-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border: 1px solid rgba(100, 17, 168, 0.16);
    border-radius: var(--radius-lg);
    background: var(--purple-soft);
}

.faq-cta p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--purple-deep);
}

/* ── Form steps & thanks ── */
.form-step-indicator {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.form-step-indicator span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--muted);
    background: var(--white);
}

.form-step-indicator span.is-active {
    border-color: var(--purple);
    background: var(--purple-soft);
    color: var(--purple-deep);
}

.form-step-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-step-actions .btn--primary {
    flex: 1;
}

.contact-form label small {
    margin-left: 0.25em;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted-light);
}

.form-thanks {
    display: none;
    padding: 8px 0 4px;
    text-align: center;
}

.form-thanks.is-visible {
    display: block;
}

.form-thanks h3 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--purple-deep);
}

.form-thanks p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.form-thanks-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.contact--landing .analysis-box {
    background: var(--purple-soft);
    border-color: rgba(100, 17, 168, 0.12);
}

.contact--landing .analysis-deliverables li {
    color: var(--muted);
}

/* ── Subpages ── */
.page-sub .site-header {
    position: sticky;
}

.case-page-hero {
    padding: 36px 0 36px;
    background: var(--purple-deep);
    color: var(--white);
}

.case-page-back {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
}

.case-page-head {
    max-width: 720px;
}

.case-page-head h1 {
    margin: 8px 0 4px;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.case-page-period {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
}

.case-page-lead {
    margin: 20px 0 0;
    max-width: 720px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
}

.case-page-body {
    padding: 48px 0 72px;
}

.case-page-block {
    margin-bottom: 32px;
}

.case-page-block h2 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.case-page-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.case-page-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.case-page-result {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.case-page-result strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--purple);
}

.case-page-result span {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
}

.case-page-result small {
    font-size: 0.72rem;
    color: var(--muted-light);
}

.case-page-quote {
    margin: 36px 0;
    padding: 24px;
    border-left: 4px solid var(--purple);
    background: var(--purple-soft);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.case-page-quote p {
    margin: 0 0 14px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.case-page-quote cite {
    font-style: normal;
    font-weight: 700;
}

.case-page-cta {
    margin-top: 40px;
    padding: 28px;
    border-radius: var(--radius-xl);
    background: var(--cream);
    text-align: center;
}

.legal-page {
    padding: 120px 0 72px;
    max-width: 720px;
}

.legal-page h1 {
    font-family: var(--font-display);
    margin-bottom: 16px;
}

.legal-page h2,
.legal-page h3,
.legal-splash-body h3 {
    margin: 28px 0 10px;
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.legal-page ul,
.legal-splash-body ul {
    margin: 0 0 16px;
    padding-left: 20px;
}

.legal-page li,
.legal-splash-body li {
    margin-bottom: 6px;
}

/* ── Legal splash ── */
.legal-splash {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 20px;
}

.legal-splash[hidden] {
    display: none;
}

.legal-splash-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 12, 28, 0.62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.legal-splash-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(100%, 560px);
    max-height: min(88vh, 720px);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    animation: legal-splash-in 280ms var(--ease);
}

.legal-splash-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 22px 0;
}

.legal-splash-head h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.legal-splash-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--cream);
    color: var(--muted);
    cursor: pointer;
    transition: background 200ms, color 200ms, border-color 200ms;
    flex-shrink: 0;
}

.legal-splash-close:hover {
    background: var(--white);
    color: var(--purple);
    border-color: var(--line-strong);
}

.legal-splash-body {
    padding: 18px 22px 0;
    overflow-y: auto;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--ink-soft);
}

.legal-splash-body p {
    margin: 0 0 14px;
}

.legal-splash-body a {
    color: var(--purple);
    font-weight: 600;
}

.legal-splash-foot {
    padding: 18px 22px 22px;
    border-top: 1px solid var(--line);
    background: var(--cream);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

body.legal-splash-open {
    overflow: hidden;
}

@keyframes legal-splash-in {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .legal-splash-panel {
        animation: none;
    }
}

.page-cta,
.partners-hub--full .page-cta {
    margin-top: 40px;
    text-align: center;
}

.contact--landing {
    padding: 120px 0 72px;
}

@media (min-width: 768px) {
    .roi-shell {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}

@media (max-width: 639px) {
    .ref-category-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .ref-category-marquee {
        grid-column: 1;
    }
}

@media (min-width: 640px) {
    .stats-band-inner {
        grid-template-columns: repeat(4, 1fr);
    }

    .refs-expand-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .engagement-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .case-page-results {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 900px) {
    .refs-expand-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

::selection {
    background: var(--purple-soft);
    color: var(--purple-deep);
}

:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 3px;
}
