/* Shro Web - Custom Styles */

/* ==================== Hero Browser Mockup Animations ==================== */
@keyframes mockFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}
@keyframes mockPulseBar {
    0%, 100% { opacity: 0.72; }
    50%       { opacity: 1; filter: brightness(1.25); }
}
@keyframes mockIconGlow {
    0%, 100% { opacity: 0.75; transform: scale(1); }
    50%       { opacity: 1;    transform: scale(1.08); }
}
@keyframes mockShimmer {
    0%   { transform: translateX(-100%) skewX(-15deg); opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { transform: translateX(500%) skewX(-15deg); opacity: 0; }
}
@keyframes mockStarPop {
    0%, 100% { opacity: 0.45; transform: scale(1); }
    50%       { opacity: 1;    transform: scale(1.2); }
}
@keyframes mockBarType {
    0%   { width: 0; opacity: 0; }
    20%  { opacity: 1; }
    100% { opacity: 1; }
}

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

[x-cloak] { display: none !important; }

/* ==================== Accessibility ==================== */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 10000;
    padding: 0.6rem 1rem;
    background: var(--brand, #3a55f9);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 6px;
    text-decoration: none;
    transform: translateY(-300%);
    transition: transform 0.2s ease;
}
.skip-link:focus {
    transform: translateY(0);
}

#main-content:focus { outline: none; }

/* ==================== Hero Scroll Indicator ==================== */
@keyframes scroll-dot {
    0%   { opacity: 1; transform: translateY(0); }
    75%  { opacity: 0; transform: translateY(10px); }
    76%  { opacity: 0; transform: translateY(0); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ==================== Hero Typewriter Cursor ==================== */
.tw-cursor {
    display: inline-block;
    width: 3px;
    height: 0.82em;
    background: var(--brand, #3a55f9);
    border-radius: 2px;
    vertical-align: middle;
    margin-left: 2px;
    animation: tw-blink 0.85s step-end infinite;
}
@keyframes tw-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ==================== Tech Stack Marquee ==================== */
.tech-marquee-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.tech-marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: marquee-scroll 65s linear infinite;
}
.tech-marquee-track:hover { animation-play-state: paused; }
.tech-marquee-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255, 255, 255, 0.93);
    white-space: nowrap;
    color: #1a1a2e;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.2s, box-shadow 0.2s;
}
.tech-marquee-item:hover {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    color: #0c0c1e;
}
.tech-icon { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.tech-icon svg { width: 100%; height: 100%; }
@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
[data-theme="light"] .tech-marquee-item {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.1);
    color: rgba(0,0,0,0.7);
}
[data-theme="light"] .tech-marquee-item:hover {
    background: rgba(0,0,0,0.09);
    color: rgba(0,0,0,0.9);
    box-shadow: none;
}

/* ==================== Project Estimator ==================== */
.estimator-option {
    background: color-mix(in srgb, var(--text-primary, #fff) 4%, transparent);
    border: 1px solid color-mix(in srgb, var(--text-primary, #fff) 8%, transparent);
}
.estimator-option:hover {
    background: color-mix(in srgb, var(--brand, #3a55f9) 10%, transparent);
    border-color: color-mix(in srgb, var(--brand, #3a55f9) 35%, transparent);
}
.estimator-option-active {
    background: color-mix(in srgb, var(--brand, #3a55f9) 15%, transparent) !important;
    border-color: color-mix(in srgb, var(--brand, #3a55f9) 50%, transparent) !important;
}
[data-theme="light"] .estimator-option { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .estimator-option:hover { background: color-mix(in srgb, var(--brand,#3a55f9) 7%, transparent); }

/* ==================== Service Matcher Quiz ==================== */
.quiz-option {
    background: color-mix(in srgb, var(--text-primary, #fff) 5%, transparent);
    border: 1px solid color-mix(in srgb, var(--text-primary, #fff) 10%, transparent);
}
.quiz-option:hover {
    background: color-mix(in srgb, var(--brand, #3a55f9) 12%, transparent);
    border-color: color-mix(in srgb, var(--brand, #3a55f9) 40%, transparent);
}
.quiz-option-active {
    background: color-mix(in srgb, var(--brand, #3a55f9) 15%, transparent) !important;
    border-color: color-mix(in srgb, var(--brand, #3a55f9) 60%, transparent) !important;
}
[data-theme="light"] .quiz-option {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .quiz-option:hover {
    background: color-mix(in srgb, var(--brand, #3a55f9) 8%, transparent);
    border-color: color-mix(in srgb, var(--brand, #3a55f9) 30%, transparent);
}

/* ==================== Preloader ==================== */
#site-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #080809;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
[data-theme="light"] #site-preloader {
    background-color: var(--bg-dark, #f4f5f9);
}
#site-preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}
.preloader-logo {
    height: 2.5rem;
    width: auto;
    animation: preloader-pulse 1.4s ease-in-out infinite;
}
.preloader-wordmark {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #fff);
    letter-spacing: -0.02em;
    animation: preloader-pulse 1.4s ease-in-out infinite;
}
@keyframes preloader-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

/* Logo: show dark/light variant based on active theme */
[data-theme="light"] .logo-dark  { display: none; }
[data-theme="dark"]  .logo-light { display: none; }
/* Default (before theme is set): hide light logo */
html:not([data-theme="light"]) .logo-light { display: none; }

html[data-theme="light"] {
    color-scheme: dark;
}

html[data-theme="light"],
html[data-theme="light"] body {
    background: var(--bg-dark, #0c0c0e) !important;
    color: var(--text-primary, #ffffff) !important;
}

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

[x-cloak] { display: none !important; }

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

body {
    background: #080809;
    color: var(--text-primary, #ffffff);
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    selection-background-color: var(--brand);
    selection-color: #fff;
}

/* ==================== Typography ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-accent, 'Outfit', system-ui, sans-serif);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em; /* Tighter for premium look */
    color: var(--text-primary, #ffffff);
    text-wrap: balance;
}

h1 { letter-spacing: -0.05em; line-height: 1.0; }
h2 { letter-spacing: -0.045em; line-height: 1.05; }
h3 { letter-spacing: -0.035em; line-height: 1.15; }

p { 
    text-wrap: pretty; 
    color: rgba(255, 255, 255, 0.72); /* Softer secondary text */
}

.premium-holo-text {
    color: var(--brand, #1d4ed8);
    font-weight: 700;
}

@keyframes holo-shimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 100% center; }
}

/* ==================== Nav top links ==================== */
.nav-top-link {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    letter-spacing: -0.01em;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.nav-top-link:hover {
    color: rgba(255,255,255,0.95);
    background: rgba(255,255,255,0.06);
}

.nav-top-link-active {
    color: rgba(255,255,255,0.95) !important;
    background: rgba(255,255,255,0.07);
}

.mobile-nav-link {
    display: block;
    padding: 0.85rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    transition: color 0.15s ease;
}

.mobile-nav-link:hover {
    color: #ffffff;
}

.mobile-nav-sublink {
    display: block;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.15s ease;
}

.mobile-nav-sublink:hover {
    color: #ffffff;
}

/* ==================== Section Layouts ==================== */
.section-bg-deep { background: #080809; }
.section-bg-alt  { background: #0c0c0e; }

.py-premium {
    padding-top: clamp(6rem, 12vw, 10rem);
    padding-bottom: clamp(6rem, 12vw, 10rem);
}

/* ==================== Premium Hero ==================== */
.premium-hero {
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(58, 85, 249, 0.08) 0%, transparent 70%);
}

.hero-bg {
    background-color: #080809;
}

.hero-eyebrow-premium {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.68);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-eyebrow-premium::after {
    content: '';
    height: 1px;
    width: 2rem;
    background: currentColor;
    opacity: 0.3;
}

.hero-title-premium {
    max-width: 17ch;
}

.hero-subheadline-premium {
    max-width: 38rem;
    color: rgba(255, 255, 255, 0.65);
}

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

.js-enabled .reveal {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .reveal-visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Stagger delay helpers */
.reveal-delay-1 { transition-delay: 80ms !important; }
.reveal-delay-2 { transition-delay: 160ms !important; }
.reveal-delay-3 { transition-delay: 240ms !important; }
.reveal-delay-4 { transition-delay: 320ms !important; }

/* Slide-in from left */
.js-enabled .reveal-left {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-enabled .reveal-left.reveal-visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* ==================== Buttons ==================== */
.btn-primary {
    position: relative;
    overflow: hidden;
    background: var(--brand);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
    border-color: #fff;
}

.premium-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.premium-hero-secondary:hover {
    opacity: 1;
    border-bottom-color: var(--brand);
}


/* ==================== Gradient text ==================== */
.gradient-text {
    background: linear-gradient(
        135deg,
        var(--brand, #0410ff) 0%,
        color-mix(in srgb, var(--brand, #0410ff) 84%, white) 28%,
        color-mix(in srgb, var(--gradient-accent, #2333ee) 48%, white) 54%,
        color-mix(in srgb, var(--brand, #0410ff) 88%, white) 78%,
        var(--gradient-accent, #2333ee) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== Hero ==================== */
.hero-bg {
    --hero-parallax-y: 0px;
    background: #0a0a0b;
    position: relative;
    isolation: isolate;
}

/* Aurora sweep layer on home hero */
.hero-bg::before {
    display: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4,6,12,0.02) 0%, rgba(4,6,12,0.18) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-editorial-shell {
    position: relative;
    width: min(100%, 69rem);
    margin-inline: auto;
    padding-top: 1.5rem;
}


.hero-editorial-shell::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3.25rem;
    width: 17rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.36), transparent 78%);
    pointer-events: none;
    z-index: 0;
}

@keyframes auroraShift {
    0%   { background-position: 0% 50%; transform: scale(1) rotate(0deg); opacity: 0.82; }
    25%  { background-position: 78% 16%; transform: scale(1.05) rotate(0.45deg); opacity: 1; }
    50%  { background-position: 100% 62%; transform: scale(1.08) rotate(-0.4deg); opacity: 0.88; }
    75%  { background-position: 28% 100%; transform: scale(1.04) rotate(0.35deg); opacity: 0.98; }
    100% { background-position: 0% 50%; transform: scale(1) rotate(0deg); opacity: 0.82; }
}

@keyframes heroAtmosphere {
    0%, 100% {
        transform: scale(1) translate3d(0, 0, 0);
        opacity: 1;
    }
    50% {
        transform: scale(1.06) translate3d(0, -16px, 0);
        opacity: 0.84;
    }
}

@keyframes heroSpotlight {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.92;
    }
    50% {
        transform: translateX(-50%) scale(1.08);
        opacity: 1;
    }
}

/* Inner page hero (about, work, services, contact) */
.page-hero-bg {
    background:
        radial-gradient(ellipse 82% 62% at 50% -5%,  color-mix(in srgb, var(--brand, #3a55f9) 14%, transparent) 0%, transparent 59%),
        radial-gradient(ellipse 42% 32% at 90% 30%,  color-mix(in srgb, var(--gradient-accent, #8b5cf6) 7%, transparent) 0%, transparent 54%),
        radial-gradient(ellipse 32% 26% at 5%  60%,  color-mix(in srgb, var(--brand, #3a55f9) 5%, transparent) 0%, transparent 54%),
        var(--bg-dark, #0c0c0e);
}

.page-hero-bg h1,
.contact-hero h1 {
    line-height: 1.12;
}


.hero-grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 70%);
}

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

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.82) brightness(0.78) contrast(1.04);
    transform: scale(1.03);
    opacity: 0.18;
    mask-image: radial-gradient(ellipse 88% 74% at 50% 42%, black 0%, black 54%, transparent 88%);
    -webkit-mask-image: radial-gradient(ellipse 88% 74% at 50% 42%, black 0%, black 54%, transparent 88%);
}

/* ==================== Cards ==================== */
.card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    box-shadow: none;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease;
}

.card:hover {
    border-color: rgba(255, 220, 120, 0.12);
    background: rgba(255,255,255,0.035);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.card-glow::before { display: none; }

.card-accent-top::after { display: none; }

/* ==================== Featured project board (sector pages) ==================== */
/* Full-bleed photo of the work behind two hairline "dispatch strip" rows. */
.project-board {
    background: var(--bg-dark, #0a0a0b);
}

.project-board-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 46%;
    opacity: 0.46;
    filter: saturate(0.95) brightness(0.9);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, #000 38%, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, #000 38%, #000 62%, transparent 100%);
    pointer-events: none;
}

.project-board-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10,10,11,0.95) 0%, rgba(10,10,11,0.86) 46%, rgba(10,10,11,0.44) 100%),
        linear-gradient(180deg, rgba(10,10,11,0.72) 0%, transparent 38%, rgba(10,10,11,0.92) 100%);
    pointer-events: none;
}

.project-board-list {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.project-board-row {
    display: grid;
    grid-template-columns: 13rem minmax(0, 1.1fr) minmax(0, 1.15fr) 7rem 9.5rem;
    grid-template-areas: "thumb main scope status cta";
    gap: 1.5rem;
    align-items: center;
    padding: 1.15rem 1.25rem;
    background: rgba(10, 10, 11, 0.58);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    border-left: 2px solid transparent;
    transition: background 0.3s ease, border-left-color 0.3s ease;
}

.project-board-row:hover,
.project-board-row:focus-visible {
    background: rgba(255, 255, 255, 0.055);
    border-left-color: var(--brand, #1d4ed8);
}

.project-board-row:focus-visible {
    outline: 2px solid var(--brand, #1d4ed8);
    outline-offset: -2px;
}

.project-board-thumb {
    grid-area: thumb;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.project-board-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-board-main  { grid-area: main; }
.project-board-scope { grid-area: scope; }
.project-board-status { grid-area: status; }

.board-key {
    display: block;
    font-family: var(--font-accent, 'Outfit', system-ui, sans-serif);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.45rem;
}

.board-title {
    display: block;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.board-desc {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.board-val {
    display: block;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
}

.board-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #ffffff;
}

.board-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-green, #10b981);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
    flex-shrink: 0;
}

.project-board-cta {
    grid-area: cta;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

.project-board-cta svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-board-row:hover .project-board-cta svg,
.project-board-row:focus-visible .project-board-cta svg {
    transform: translateX(4px);
}

@media (max-width: 1023px) {
    .project-board-row {
        grid-template-columns: 8.5rem minmax(0, 1fr);
        grid-template-areas:
            "thumb main"
            "scope scope"
            "status cta";
        gap: 1rem 1.1rem;
        padding: 1.1rem;
    }

    .project-board-cta {
        align-self: center;
    }
}

@media (max-width: 479px) {
    .project-board-row {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "thumb"
            "main"
            "scope"
            "status"
            "cta";
    }

    .project-board-cta {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .js-enabled .reveal,
    .js-enabled .reveal-left {
        transition: none !important;
        transform: none !important;
    }

    .project-board-row,
    .project-board-cta svg {
        transition: none !important;
    }
}


/* ==================== Nav ==================== */
/* Base state — transparent on hero */
header.fixed {
    background: transparent;
}

.site-nav-shell {
    width: 100%;
    background: #0a0a0b;
    border-bottom: none;
    box-shadow: none;
}

.site-nav-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 1.25rem;
}

.site-nav-shell-scrolled {
    background: rgba(10, 10, 11, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow: none;
}

/* Frosted glass on scroll */
.nav-scrolled {
    background: transparent;
}

.nav-logo-text {
    color: var(--text-primary, #ffffff);
    -webkit-text-fill-color: var(--text-primary, #ffffff);
    transition: color 0.18s ease, background 0.18s ease;
}

.nav-logo-link {
    position: relative;
    min-width: 0;
}

.nav-logo-mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 0.08rem;
    font-family: var(--font-accent, 'Outfit', system-ui, sans-serif);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: rgba(255,255,255,0.94);
    -webkit-text-fill-color: rgba(255,255,255,0.94);
    white-space: nowrap;
    transition: color 0.18s ease;
}

.nav-logo-image {
    position: relative;
    z-index: 2;
    transition: transform 0.18s ease, filter 0.18s ease, opacity 0.18s ease;
    transform-origin: 50% 50%;
    will-change: transform;
}

.nav-logo-link:hover .nav-logo-image,
.nav-logo-link:focus-visible .nav-logo-image {
    transform: translateY(-1px) scale(1.02);
    filter: drop-shadow(0 0 10px rgba(100, 150, 255, 0.65)) brightness(1.08);
}

.nav-logo-link:hover .nav-logo-text,
.nav-logo-link:focus-visible .nav-logo-text,
.nav-logo-link:hover .nav-logo-wordmark,
.nav-logo-link:focus-visible .nav-logo-wordmark {
    background: linear-gradient(92deg, #8fc8ff 0%, #7b8cff 28%, #5fa4ff 53%, #8e75ff 76%, #4f8fff 100%);
    background-size: 180% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transition: none;
}

.nav-link {
    color: var(--text-primary, #ffffff);
    text-transform: none;
    letter-spacing: -0.01em;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.nav-desktop-links {
    min-width: 0;
}

.nav-actions {
    min-width: 0;
}
.nav-link:hover {
    color: var(--text-primary, #ffffff);
    background: transparent;
}
.nav-link-active {
    color: var(--text-primary, #ffffff);
    background: transparent;
    box-shadow: none;
}
.nav-link-active::after {
    content: '';
    position: absolute;
    bottom: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 1px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--text-primary, #ffffff) 50%, transparent);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-caret {
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-caret {
    transform: translateY(1px);
    opacity: 1;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.85rem);
    left: 0;
    min-width: 22rem;
    max-height: min(70vh, 38rem);
    overflow-y: auto;
    padding: 0.55rem;
    border-radius: 0.9rem;
    background: color-mix(in srgb, var(--nav-bg, #09090b) 94%, rgba(18,19,25,0.22));
    border: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 8%, transparent);
    box-shadow: 0 18px 32px rgba(0,0,0,0.18);
    backdrop-filter: blur(12px) saturate(115%);
    -webkit-backdrop-filter: blur(12px) saturate(115%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 60;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 0.95rem;
    border-radius: 0.85rem;
    color: var(--text-primary, #ffffff);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav-dropdown-item:hover {
    background: color-mix(in srgb, var(--text-primary, #ffffff) 4%, transparent);
    transform: translateY(-1px);
}

.nav-dropdown-item-active {
    background: color-mix(in srgb, var(--text-primary, #ffffff) 5%, transparent);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.nav-cta {
    min-height: 2.4rem;
    padding-inline: 1rem;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 600;
}

.nav-icon-btn {
    color: color-mix(in srgb, var(--text-primary, #ffffff) 72%, transparent);
}
.nav-icon-btn:hover {
    color: var(--text-primary, #ffffff);
    background: color-mix(in srgb, var(--text-primary, #ffffff) 8%, transparent);
}

/* Service icon — all blue */
.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-blue,
.service-icon-purple,
.service-icon-green,
.service-icon-orange { background: rgba(29, 78, 216, 0.18); color: #6b9fff; }

/* ==================== Buttons ==================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    background: var(--brand, #1d4ed8);
    color: var(--btn-text, #ffffff);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
    text-decoration: none;
    box-shadow: none;
}

.btn-primary:hover {
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: none !important;
    filter: none;
    transform: none;
}

.btn-primary:active {
    transform: none;
    box-shadow: none;
}

.btn-primary:focus-visible {
    outline: 2px solid var(--brand, #1d4ed8);
    outline-offset: 3px;
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    background: transparent;
    color: var(--text-primary, #ffffff);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.25);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
    text-decoration: none;
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.4);
    color: var(--text-primary, #ffffff);
    box-shadow: none;
    transform: none;
}

.btn-secondary:focus-visible {
    outline: 2px solid rgba(255,255,255,0.4);
    outline-offset: 3px;
}

.btn-accent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    background: var(--accent, #1d4ed8);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
    text-decoration: none;
    box-shadow: none;
}

.btn-accent:hover {
    color: #fff;
    filter: none;
    transform: none;
    background: color-mix(in srgb, var(--accent, #1d4ed8) 88%, white 12%);
    box-shadow: none;
}

.btn-accent:focus-visible {
    outline: 2px solid var(--accent, #1d4ed8);
    outline-offset: 3px;
}

/* ==================== Section styles ==================== */
.section-label {
    display: none;
}

.section-copy {
    max-width: 68ch;
    color: #ffffff;
    line-height: 1.78;
    font-size: 1.05rem;
}

.section-copy-muted {
    max-width: 62ch;
    color: #ffffff;
    line-height: 1.76;
    font-size: 1.02rem;
}

.headline-highlight-chip {
    display: inline;
    background: linear-gradient(110deg, #6eb6ff 0%, #4f8eff 25%, #3a55f9 50%, #2563eb 75%, #6eb6ff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: holo-shift 4s linear infinite;
}

.hero-home-title-shape {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.08em;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
}

.hero-home-title-line {
    display: block;
    width: auto;
    text-align: center;
    white-space: nowrap;
}

.hero-home-title-line-3 {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.16em;
}

.hero-home-title-line-tail {
    display: inline-block;
}

.hero-home-title-shape-finish {
    width: 100%;
    max-width: 13.2ch;
}

.hero-home-title-shape-finish-desktop {
    display: inline-flex;
    max-width: 16.4ch;
}

.hero-home-title-shape-finish-mobile {
    display: none;
}

.hero-home-title-line-finish-desktop-1,
.hero-home-title-line-finish-desktop-2,
.hero-home-title-line-finish-2,
.hero-home-title-line-finish-3 {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.12em;
}

.sidebar-panel {
    border-radius: 22px;
    box-shadow: 0 20px 44px rgba(0,0,0,0.17);
}

.sidebar-facts {
    display: grid;
    gap: 16px;
}

.sidebar-facts-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    align-items: start;
}

.sidebar-facts-label {
    color: color-mix(in srgb, var(--text-primary, #ffffff) 48%, transparent);
    font-size: 0.9rem;
    line-height: 1.5;
}

.sidebar-facts-value {
    color: var(--text-primary, #ffffff);
    font-size: 0.98rem;
    line-height: 1.55;
    font-weight: 600;
    max-width: 26ch;
}

.service-card-grid {
    row-gap: 7rem;
}


.micro-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    color: color-mix(in srgb, var(--brand, #3a55f9) 84%, #ffffff 16%);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.micro-cta:hover {
    color: var(--text-primary, #ffffff);
    transform: translateX(2px);
}


/* ==================== CTA Section ==================== */
.cta-section {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
}

/* ==================== Grain texture overlay ==================== */
.grain-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99;
    opacity: 0.02; /* Suggestion 2: subtle moving texture */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    animation: grainAnimate 8s steps(10) infinite; /* Suggestion 2: steps(10) infinite */
}

/* ==================== Running text marquee (scroll strip) ==================== */
.marquee-strip {
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.018);
    padding: 0.9rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 0;
    animation: marquee-run 30s linear infinite;
    will-change: transform;
}

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

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0 2.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    white-space: nowrap;
    transition: color 0.2s;
}

.marquee-item:hover { color: rgba(255,255,255,0.7); }

.marquee-dot {
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

@keyframes marquee-run {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ==================== Section Styles ==================== */
.premium-section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

/* ==================== Stats ==================== */
.stat-number {
    font-size: 3rem;
    font-weight: 680;
    line-height: 1;
    background: linear-gradient(135deg, var(--text-primary, #fff) 0%, color-mix(in srgb, var(--text-primary, #fff) 70%, transparent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== Process steps ==================== */
.process-step {
    position: relative;
    padding-left: 48px;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 40px;
    bottom: -20px;
    width: 1px;
    background: linear-gradient(to bottom, color-mix(in srgb, var(--brand, #3a55f9) 40%, transparent), transparent);
}

.process-step:last-child::before { display: none; }

/* ==================== Form styles ==================== */
.form-input {
    width: 100%;
    padding: 18px 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.035));
    border: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 11%, transparent);
    border-radius: 4px;
    color: var(--text-primary, #ffffff);
    font-size: 16px;
    line-height: 1.4;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: none;
}

.form-input::placeholder { color: color-mix(in srgb, var(--text-primary, #ffffff) 30%, transparent); }

.form-input:focus {
    border-color: var(--brand, #3a55f9);
    background: color-mix(in srgb, var(--brand, #3a55f9) 5%, transparent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand, #3a55f9) 10%, transparent);
}

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    margin-bottom: 12px;
}

.form-select-wrap {
    position: relative;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 3.75rem;
    cursor: pointer;
}

.form-select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1.35rem;
    width: 0.8rem;
    height: 0.8rem;
    border-right: 2px solid color-mix(in srgb, var(--text-primary, #ffffff) 62%, transparent);
    border-bottom: 2px solid color-mix(in srgb, var(--text-primary, #ffffff) 62%, transparent);
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.form-select option {
    background: #181c2c;
    color: #f4f5fb;
}

.form-optional-panel {
    border-radius: 4px;
    padding: 1.2rem 1.25rem 1.25rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
}

.form-optional-summary {
    color: rgba(255,255,255,0.84);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    list-style: none;
}

.form-optional-summary::-webkit-details-marker {
    display: none;
}

.form-optional-summary::before {
    content: "+";
    display: inline-block;
    width: 1rem;
    margin-right: 0.55rem;
    color: color-mix(in srgb, var(--text-primary, #ffffff) 62%, transparent);
}

.form-optional-panel[open] .form-optional-summary::before {
    content: "-";
}

.form-input:user-invalid {
    border-color: #ef4444;
    background: color-mix(in srgb, #ef4444 5%, transparent);
}

.form-input:user-invalid:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px color-mix(in srgb, #ef4444 15%, transparent);
    background: color-mix(in srgb, #ef4444 8%, transparent);
}

.hero-subcopy {
    color: rgba(255,255,255,0.8);
    line-height: 1.66;
    font-weight: 500;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    color: rgba(255,255,255,0.54);
    font-size: 0.92rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.hero-eyebrow::before {
    content: "";
    width: 1.5rem;
    height: 1px;
    background: rgba(255,255,255,0.2);
}

.hero-title {
    text-shadow: none;
}

.hero-title-accent {
    font-family: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}

.hero-title .gradient-text,
#hero-anim-word.gradient-text {
    background:
        linear-gradient(
            118deg,
            #d6f6ff 0%,
            #92c9ff 34%,
            #5f78ff 68%,
            #2130ff 100%
        );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 190% 190%;
    background-position: 0% 50%;
    animation: heroHolographicShift 3.2s ease-in-out infinite;
    filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--brand, #0410ff) 8%, transparent));
    position: relative;
    text-shadow: none;
    display: inline-block;
    padding-right: 0.012em;
    margin-right: -0.03em;
}

.hero-title .hero-title-accent {
    display: inline-block;
    transform: none;
    font-size: 1em;
    line-height: inherit;
}

.hero-centered-shell .hero-title {
    max-width: 17.5ch;
    margin-inline: auto;
    font-size: clamp(3.15rem, 6.7vw, 5.6rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
    margin-bottom: 1rem;
    text-wrap: balance;
    text-align: center;
    text-shadow: none;
}

.hero-home-shell .hero-eyebrow,
.hero-home-shell .hero-title,
.hero-home-shell .hero-subcopy,
.hero-home-shell .hero-lead-note {
    text-align: left;
    margin-inline: 0;
}

.hero-home-shell .hero-eyebrow {
    margin-bottom: 0.8rem;
}

.hero-home-shell .hero-title {
    max-width: 13.5ch;
    font-size: clamp(3.45rem, 5.6vw, 4.85rem);
    line-height: 0.97;
    margin-bottom: 1rem;
    text-wrap: initial;
}

.hero-centered-shell .hero-subcopy {
    max-width: 34rem;
    margin-inline: auto;
    font-size: clamp(1.08rem, 1.2vw, 1.28rem);
    line-height: 1.68;
    margin-bottom: 2rem;
    text-align: center;
}

.hero-home-shell .hero-subcopy {
    max-width: 28rem;
    font-size: clamp(1.08rem, 1.1vw, 1.18rem);
    line-height: 1.6;
    margin-bottom: 0.85rem;
    text-align: left;
    margin-inline: 0;
}

.hero-centered-shell {
    position: relative;
    width: min(100%, 72rem);
    margin-inline: auto;
    padding-top: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-home-grid {
    display: block;
}

.hero-home-shell {
    align-items: flex-start;
    width: min(100%, 100%);
    padding-top: 0.55rem;
}

.hero-home-shell > .reveal {
    position: relative;
    z-index: 1;
}

.hero-home-section {
    min-height: auto !important;
}

/* ==================== Premium hero H1 typography ==================== */
.hero-home-shell h1,
.hero-split-copy h1 {
    letter-spacing: -0.03em;
    line-height: 1.05;
}

/* ==================== Premium prose sections ==================== */
.premium-prose-section {
    max-width: 56ch;
}
.premium-prose-section p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #ffffff;
}

.hero-split-layout {
    min-height: clamp(36rem, 74vh, 46rem);
}

.hero-device-stage {
    position: relative;
    width: min(100%, 44rem);
    aspect-ratio: 1.02 / 0.8;
    filter: drop-shadow(0 38px 110px rgba(0,0,0,0.42));
}

.hero-device-stage::before,
.hero-device-stage::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.hero-device-stage::before {
    inset: 12% 18% 16% 6%;
    border-radius: 2.75rem;
    background:
        radial-gradient(circle at 26% 28%, rgba(47, 69, 255, 0.22) 0%, transparent 38%),
        radial-gradient(circle at 78% 54%, rgba(113, 77, 255, 0.14) 0%, transparent 34%);
    filter: blur(38px);
    opacity: 0.95;
}

.hero-device-stage::after {
    inset: 4% 14% 8% 3%;
    border-radius: 2.2rem;
    border: 1px solid rgba(255,255,255,0.04);
    background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0));
}

.hero-device-browser {
    position: absolute;
    inset: 6% 10% 8% 0;
    z-index: 1;
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    background:
        linear-gradient(180deg, rgba(35,38,54,0.98) 0%, rgba(18,20,31,0.985) 18%, rgba(12,14,22,0.99) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        inset 0 -1px 0 rgba(255,255,255,0.02),
        0 30px 90px rgba(0,0,0,0.38);
}

.hero-device-browser-top {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.05rem 1.35rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero-device-dots {
    display: flex;
    gap: 0.35rem;
}

.hero-device-dots span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
}

.hero-device-dots span:nth-child(1) { background: rgba(255,120,120,0.7); }
.hero-device-dots span:nth-child(2) { background: rgba(255,210,90,0.7); }
.hero-device-dots span:nth-child(3) { background: rgba(110,220,140,0.7); }

.hero-device-url {
    min-width: 0;
    flex: 1 1 auto;
    height: 1.45rem;
    padding-inline: 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.04);
    color: color-mix(in srgb, var(--text-primary, #ffffff) 26%, transparent);
    font-size: 0.72rem;
    line-height: 1.45rem;
}

.hero-device-browser-body {
    position: relative;
    padding: 1.15rem 1.2rem 1.2rem;
}

.hero-device-browser-body::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.3), transparent 78%);
    pointer-events: none;
    opacity: 0.4;
}

.hero-device-browser-body::after {
    content: '';
    position: absolute;
    inset: 0.95rem 1.05rem auto;
    height: 7.6rem;
    border-radius: 1.3rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0));
    opacity: 0.22;
    pointer-events: none;
}

.hero-device-nav,
.hero-device-actions,
.hero-device-cards,
.hero-device-panel,
.hero-device-phone-item {
    display: flex;
    align-items: center;
}

.hero-device-nav {
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
    position: relative;
    z-index: 1;
}

.hero-device-nav-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.hero-device-brand {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 0.45rem;
    background: linear-gradient(180deg, color-mix(in srgb, var(--brand, #0410ff) 88%, white 12%) 0%, var(--brand, #0410ff) 100%);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 0 18px rgba(65,82,255,0.4);
}

.hero-device-nav-line {
    height: 0.38rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.45);
}

.hero-device-nav-line-short {
    width: 2rem;
    margin-right: auto;
}

.hero-device-nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-device-nav-links span {
    width: 1.1rem;
    height: 0.28rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.13);
}

.hero-device-nav-cta {
    width: 2.2rem !important;
    height: 0.95rem !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand, #0410ff) 76%, white 24%) 0%, var(--brand, #0410ff) 100%) !important;
    box-shadow: 0 0 20px rgba(46, 62, 255, 0.34);
}

.hero-device-copy {
    display: grid;
    gap: 0.6rem;
    position: relative;
    z-index: 1;
}

.hero-device-hero {
    margin-bottom: 1.15rem;
    padding: 0.15rem 0 0;
    position: relative;
    z-index: 1;
}

.hero-device-summary {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero-device-summary-card,
.hero-device-summary-list {
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.045);
    background: linear-gradient(180deg, rgba(22,25,36,0.95), rgba(15,17,25,0.96));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.hero-device-summary-card {
    padding: 0.78rem 0.82rem;
}

.hero-device-summary-kicker,
.hero-device-summary-row,
.hero-device-summary-value {
    display: block;
    border-radius: 999px;
}

.hero-device-summary-kicker {
    width: 46%;
    height: 0.24rem;
    background: rgba(255,255,255,0.12);
    margin-bottom: 0.72rem;
}

.hero-device-summary-value {
    width: 72%;
    height: 0.7rem;
    background: linear-gradient(90deg, rgba(255,255,255,0.92), rgba(255,255,255,0.52));
}

.hero-device-summary-list {
    padding: 0.8rem 0.82rem;
    display: grid;
    gap: 0.55rem;
    align-content: center;
}

.hero-device-summary-row {
    height: 0.3rem;
    background: rgba(255,255,255,0.12);
}

.hero-device-summary-row-strong {
    width: 84%;
    background: linear-gradient(90deg, color-mix(in srgb, var(--brand, #0410ff) 70%, white 30%), rgba(255,255,255,0.22));
}

.hero-device-copy-line {
    display: block;
    height: 0.62rem;
    border-radius: 999px;
}

.hero-device-copy-line-long { width: 76%; background: rgba(255,255,255,0.82); }
.hero-device-copy-line-mid {
    width: 54%;
    height: 0.72rem;
    background: linear-gradient(90deg, color-mix(in srgb, var(--brand, #0410ff) 68%, #7a72ff 32%) 0%, color-mix(in srgb, var(--brand, #0410ff) 90%, white 10%) 100%);
    box-shadow: 0 0 24px rgba(59,78,255,0.2);
}
.hero-device-copy-line-thin { width: 92%; height: 0.28rem; background: rgba(255,255,255,0.12); }
.hero-device-copy-line-thin-short { width: 58%; }

.hero-device-actions {
    gap: 0.7rem;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.hero-device-action {
    display: block;
    height: 1.55rem;
    border-radius: 0.8rem;
}

.hero-device-action-primary {
    width: 3.6rem;
    background: linear-gradient(180deg, color-mix(in srgb, var(--brand, #0410ff) 74%, #737eff 26%) 0%, var(--brand, #0410ff) 100%);
    box-shadow: 0 12px 28px rgba(43, 58, 255, 0.24);
}

.hero-device-action-secondary {
    width: 2.4rem;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
}

.hero-device-cards {
    gap: 0.65rem;
    margin-bottom: 1.1rem;
    position: relative;
    z-index: 1;
}

.hero-device-card {
    flex: 1 1 0;
    padding: 1rem 0.86rem 0.88rem;
    border-radius: 1.18rem;
    background: linear-gradient(180deg, rgba(25,28,40,0.9) 0%, rgba(17,19,29,0.92) 100%);
    border: 1px solid rgba(255,255,255,0.045);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 16px 28px rgba(0,0,0,0.16);
}

.hero-device-card:nth-child(2) {
    background: linear-gradient(180deg, rgba(72, 58, 145, 0.22) 0%, rgba(19,21,31,0.96) 100%);
}

.hero-device-card:nth-child(3) {
    background: linear-gradient(180deg, rgba(25, 68, 57, 0.24) 0%, rgba(19,21,31,0.96) 100%);
}

.hero-device-card-chip,
.hero-device-panel-dot,
.hero-device-phone-item-dot {
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 999px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--brand, #0410ff) 76%, white 24%) 0%, var(--brand, #0410ff) 100%);
    margin-bottom: 0.6rem;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 0 18px rgba(56,71,255,0.22);
}

.hero-device-card-chip-alt,
.hero-device-phone-item-dot-alt {
    background: rgba(130,92,246,0.78);
}

.hero-device-card-chip-third {
    background: rgba(58,185,129,0.78);
}

.hero-device-card:nth-child(1) .hero-device-card-chip {
    box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 0 24px rgba(56,71,255,0.32);
}

.hero-device-card:nth-child(2) .hero-device-card-chip {
    box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 0 24px rgba(130,92,246,0.26);
}

.hero-device-card:nth-child(3) .hero-device-card-chip {
    box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 0 24px rgba(58,185,129,0.2);
}

.hero-device-card-line,
.hero-device-panel-line,
.hero-device-phone-line,
.hero-device-phone-item-line {
    display: block;
    height: 0.28rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.11);
}

.hero-device-card-line-long,
.hero-device-panel-line-long,
.hero-device-phone-line-wide,
.hero-device-phone-item-line-long {
    width: 70%;
    background: rgba(255,255,255,0.26);
}

.hero-device-card .hero-device-card-line:last-child {
    width: 92%;
}

.hero-device-card-line + .hero-device-card-line,
.hero-device-panel-line + .hero-device-panel-line {
    margin-top: 0.4rem;
}

.hero-device-panel {
    justify-content: space-between;
    gap: 0.9rem;
    padding: 1rem 1rem;
    border-radius: 1.18rem;
    background: linear-gradient(180deg, rgba(22,25,36,0.95), rgba(15,17,25,0.96));
    border: 1px solid rgba(255,255,255,0.045);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
    position: relative;
    z-index: 1;
}

.hero-device-panel-dot {
    margin-bottom: 0;
    border-radius: 999px;
}

.hero-device-panel-leading,
.hero-device-panel-metrics {
    display: flex;
    align-items: center;
}

.hero-device-panel-leading {
    gap: 0.72rem;
    flex: 1 1 auto;
    min-width: 0;
}

.hero-device-panel-metrics {
    gap: 0.35rem;
    flex: 0 0 auto;
    display: none;
}

.hero-device-panel-line {
    flex: 1 1 auto;
}

.hero-device-panel-line-short {
    width: 2rem;
    flex: 0 0 auto;
    background: rgba(255,255,255,0.18);
}

.hero-device-phone {
    position: absolute;
    right: 0;
    bottom: -2%;
    z-index: 2;
    width: 9.45rem;
    height: 18.9rem;
    padding: 0.58rem;
    border-radius: 2.2rem;
    background: linear-gradient(180deg, #171b29 0%, #0d1018 100%);
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 30px 80px rgba(0,0,0,0.42);
}

.hero-device-phone::before {
    content: '';
    position: absolute;
    inset: 0.4rem;
    border-radius: 1.82rem;
    border: 1px solid rgba(255,255,255,0.045);
    pointer-events: none;
}

.hero-device-phone-notch {
    position: absolute;
    top: 0.42rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2.45rem;
    height: 0.46rem;
    border-radius: 999px;
    background: #080b12;
    z-index: 2;
}

.hero-device-phone-screen {
    width: 100%;
    height: 100%;
    padding: 1.4rem 0.78rem 0.88rem;
    border-radius: 1.72rem;
    background: linear-gradient(180deg, rgba(22,25,37,0.99) 0%, rgba(14,16,24,0.99) 100%);
    border: 1px solid rgba(255,255,255,0.04);
    overflow: hidden;
    position: relative;
}

.hero-device-phone-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 28% 22%, rgba(56,74,255,0.11) 0%, transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,0.02), transparent 26%);
    pointer-events: none;
}

.hero-device-phone-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0 0.08rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero-device-phone-stat {
    width: 0.88rem;
    height: 0.88rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.24);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.hero-device-phone-chart {
    height: 3.6rem;
    margin-bottom: 1rem;
    border-radius: 1.1rem;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--brand, #0410ff) 72%, #8088ff 28%) 0%, color-mix(in srgb, var(--brand, #0410ff) 38%, transparent) 100%);
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 18px 34px rgba(34,49,255,0.18);
}

.hero-device-phone-chart-pill {
    position: absolute;
    left: 0.92rem;
    top: 0.76rem;
    width: 4.25rem;
    height: 0.28rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
}

.hero-device-phone-chart::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.02) 45%, transparent 75%);
    pointer-events: none;
}

.hero-device-phone-chart::after {
    content: '';
    position: absolute;
    left: 0.78rem;
    right: 0.78rem;
    bottom: 0.56rem;
    height: 0.55rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
    pointer-events: none;
}

.hero-device-phone-chart-line {
    position: absolute;
    left: 0.82rem;
    right: 0.82rem;
    bottom: 0.82rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.96) 100%);
    box-shadow: 0 0 12px rgba(255,255,255,0.16);
    transform: rotate(-7deg);
    transform-origin: right center;
}

.hero-device-phone-list {
    display: grid;
    gap: 0.62rem;
    position: relative;
    z-index: 1;
}

.hero-device-phone-item {
    gap: 0.6rem;
    padding: 0.82rem 0.68rem;
    border-radius: 1.02rem;
    background: linear-gradient(180deg, rgba(25,28,40,0.92), rgba(17,19,28,0.96));
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.025);
}

.hero-device-phone-item-dot {
    margin-bottom: 0;
    width: 0.76rem;
    height: 0.76rem;
    border-radius: 999px;
}

.hero-device-phone-item-line {
    flex: 1 1 auto;
    height: 0.3rem;
    background: rgba(255,255,255,0.22);
}

.hero-device-phone-item:nth-child(1) .hero-device-phone-item-line { max-width: 72%; }
.hero-device-phone-item:nth-child(2) .hero-device-phone-item-line { max-width: 64%; }
.hero-device-phone-item:nth-child(3) .hero-device-phone-item-line { max-width: 78%; }

.hero-device-phone-item:nth-child(3) {
    display: none;
}

.hero-centered-shell::before {
    content: none;
}

.hero-split-copy .hero-eyebrow,
.hero-split-copy .hero-title,
.hero-split-copy .hero-subcopy {
    text-align: left;
    margin-inline: 0;
}

.hero-split-copy .hero-title {
    max-width: 11.4ch;
    font-size: clamp(3.45rem, 5.3vw, 4.9rem);
    line-height: 0.96;
    margin-bottom: 1.05rem;
    text-wrap: balance;
}

.hero-split-copy .hero-subcopy {
    max-width: 35rem;
    font-size: clamp(1.1rem, 1.25vw, 1.28rem);
    margin-bottom: 0.5rem;
    text-align: left;
}

.hero-centered-shell > .reveal {
    width: 100%;
}

.hero-centered-shell > .reveal:last-child {
    margin-inline: auto;
}

.hero-center-rail {
    width: min(100%, 48rem);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-home-shell .hero-center-rail {
    width: min(100%, 42rem);
    margin-inline: 0;
    align-items: flex-start;
}

.hero-center-rail-split {
    width: min(100%, 35rem);
    margin-inline: 0;
    align-items: flex-start;
}

.hero-center-rail > .reveal {
    width: 100%;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 0;
    width: 100%;
}

.hero-home-shell .hero-cta-row {
    justify-content: flex-start;
    max-width: 34rem;
}

.hero-center-rail-split .hero-cta-row {
    justify-content: flex-start;
}

.hero-cta-primary,
.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 3.4rem;
    padding: 0.88rem 1.3rem;
}

.hero-cta-primary {
    box-shadow: none;
    border: 1px solid rgba(255,255,255,0.08);
}

.hero-cta-secondary {
    min-width: 14.8rem;
    border-radius: 4px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--text-primary, #ffffff);
    padding-inline: 1.3rem;
    justify-content: center;
    box-shadow: none;
}

.hero-cta-secondary:hover {
    background: rgba(38, 43, 61, 0.9);
    color: var(--text-primary, #ffffff);
}

.hero-lead-note {
    text-align: center;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.55);
}

.hero-home-shell .hero-lead-note {
    text-align: left;
    font-size: 0.9rem;
}

.hero-center-rail-split .hero-lead-note {
    text-align: left;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.hero-trust-pill {
.hero-trust-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4rem;
    padding: 0.55rem 0.95rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
}
}

.hero-proof-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.55rem;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
}

.hero-home-shell .hero-proof-inline {
    justify-content: flex-start;
    margin-top: 0.7rem;
    gap: 0;
    max-width: 39rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: left;
    flex-wrap: nowrap;
    align-items: stretch;
}

.hero-center-rail-split .hero-proof-inline {
    text-align: left;
    justify-content: flex-start;
    margin-top: 1.25rem;
    align-items: stretch;
}

.hero-proof-inline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
    min-height: 0;
    min-width: 0;
    flex: 1 1 12rem;
    padding: 0.6rem 0.75rem;
    border-radius: 0;
    border: none;
    border-left: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 12%, transparent);
    background: transparent;
    box-shadow: none;
    color: color-mix(in srgb, var(--text-primary, #ffffff) 60%, transparent);
    font-size: 0.88rem;
    text-decoration: none;
    position: relative;
    overflow: visible;
    --proof-accent: rgba(58,85,249,0.95);
}

.hero-home-shell .hero-proof-inline-item {
    flex: 0 0 12.75rem;
    width: 12.75rem;
    max-width: 12.75rem;
    min-height: 4.4rem;
    align-items: flex-start;
    padding: 0.7rem 0.85rem 0.15rem 1.35rem;
}

.hero-proof-inline-item::before {
    display: none;
}

.hero-center-rail-split .hero-proof-inline-item {
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 5.15rem;
    max-width: 14rem;
    padding: 0.85rem 0.95rem 0.8rem 1.5rem;
}

.hero-proof-inline-item strong {
    color: var(--text-primary, #ffffff);
    font-weight: 700;
    font-size: clamp(0.98rem, 1vw, 1.18rem);
    line-height: 1.12;
    max-width: 14ch;
    letter-spacing: -0.035em;
}

.hero-home-shell .hero-proof-inline-item strong {
    max-width: none;
    font-size: 1rem;
}

.hero-center-rail-split .hero-proof-inline-item strong {
    max-width: none;
    text-wrap: balance;
}

.hero-proof-inline-copy {
    display: block;
    color: rgba(255,255,255,0.55);
    font-size: 0.72rem;
    line-height: 1.25;
    max-width: 22ch;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-trust-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 2rem;
    padding-top: 1.5rem;
    width: 100%;
    max-width: 39rem;
}

.hero-trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 1.5rem;
    min-width: 0;
    text-decoration: none;
    text-align: left;
    align-items: flex-start;
}

.hero-trust-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.hero-trust-desc {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
    white-space: normal;
}

.hero-home-title-shape-two-line {
    align-items: flex-start;
    gap: 0.2em;
}

.hero-home-title-two-line-desktop {
    display: inline-flex;
}

.hero-home-title-shape-mobile-four-line {
    display: none;
    align-items: center;
    gap: 0.08em;
    width: 100%;
}

.hero-home-title-line-two-line-1,
.hero-home-title-line-two-line-2 {
    white-space: nowrap;
}

.industries-hero-title {
    line-height: 1.25;
}

.hero-proof-inline-item::before {
    content: '';
    position: absolute;
    left: 1.0rem;
    top: 1.05rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--proof-accent);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06),
        0 0 26px color-mix(in srgb, var(--proof-accent) 58%, transparent);
    opacity: 0.95;
}

.hero-proof-inline-item:nth-child(1) { --proof-accent: rgba(58,85,249,0.95); }
.hero-proof-inline-item:nth-child(2) { --proof-accent: rgba(139,92,246,0.95); }
.hero-proof-inline-item:nth-child(3) { --proof-accent: rgba(16,185,129,0.9); }

.hero-proof-inline-link:hover strong,
.hero-proof-inline-link:hover .hero-proof-inline-copy {
    color: var(--text-primary, #ffffff);
}

.hero-logo-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding-top: 0.5rem;
}

.hero-center-rail-split .hero-logo-strip {
    align-items: flex-start;
}

.hero-logo-strip-label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--text-primary, #ffffff) 44%, transparent);
}

.hero-logo-strip-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 35rem;
    margin-inline: auto;
}

.hero-center-rail-split .hero-logo-strip-grid {
    justify-content: flex-start;
    margin-inline: 0;
    max-width: 30rem;
}

.hero-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    min-height: 3.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    background: transparent;
    border: none;
    box-shadow: none;
}

.hero-logo-image {
    width: auto;
    height: 2.2rem;
    max-width: 100%;
    object-fit: contain;
    filter: saturate(0) brightness(1.58) contrast(1.02);
    opacity: 0.84;
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.hero-logo-card:hover .hero-logo-image {
    opacity: 0.92;
    filter: saturate(0) brightness(1.7) contrast(1.04);
    transform: translateY(-1px);
}

.audience-proof-note {
    border-top: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 9%, transparent);
    padding-top: 1.25rem;
    max-width: 32rem;
}

.audience-track-card {
    border: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 7%, transparent);
    background: transparent;
    box-shadow: none;
    border-radius: 4px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
    overflow: hidden;
}

.audience-track-media {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 1.1rem;
    overflow: hidden;
    margin-bottom: 1.35rem;
    background: rgba(255,255,255,0.04);
}

.audience-track-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7,8,12,0.02) 0%, rgba(7,8,12,0.16) 100%),
        radial-gradient(circle at 18% 18%, rgba(58,85,249,0.2), transparent 38%);
    pointer-events: none;
}

.audience-track-media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.audience-track-media-kicker {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(12,14,24,0.82);
    color: rgba(255,255,255,0.88);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.audience-track-card::before {
    display: none;
}

.audience-track-eyebrow {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-bottom: 1rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    color: color-mix(in srgb, var(--text-primary, #ffffff) 40%, transparent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.audience-track-point {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: rgba(255,255,255,0.72);
    font-size: 0.95rem;
    line-height: 1.55;
    padding: 0.7rem 0;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.audience-proof-kicker {
    display: inline-block;
    margin-bottom: 0.7rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--text-primary, #ffffff) 46%, transparent);
}

.audience-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
    padding: 1.15rem 0;
    border-top: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 8%, transparent);
}

.audience-row:last-child {
    border-bottom: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 8%, transparent);
}

.audience-row-index {
    color: color-mix(in srgb, var(--brand, #0410ff) 55%, #ffffff 45%);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding-top: 0.45rem;
}

.pain-quote-card {
    position: relative;
    min-height: 100%;
    padding: 1.8rem 1.55rem 1.45rem;
    border: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 7%, transparent);
    border-radius: 1.25rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%),
        radial-gradient(circle at top left, rgba(58,85,249,0.16), transparent 42%);
}

.pain-quote-mark {
    display: inline-block;
    margin-bottom: 0.9rem;
    color: color-mix(in srgb, var(--brand, #0410ff) 58%, #ffffff 42%);
    font-family: var(--font-accent);
    font-size: 3.25rem;
    line-height: 0.8;
}

.pain-quote-text {
    color: rgba(255,255,255,0.94);
    font-size: 1.1rem;
    line-height: 1.75;
}

.pain-quote-source {
    margin-top: 1rem;
    color: color-mix(in srgb, var(--text-primary, #ffffff) 48%, transparent);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.solve-card {
    min-height: 100%;
    padding: 1.7rem 1.55rem 1.55rem;
    border: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 7%, transparent);
    border-radius: 1.25rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%),
        radial-gradient(circle at top left, rgba(58,85,249,0.14), transparent 42%);
}

.solve-card-kicker {
    margin-bottom: 0.9rem;
    color: color-mix(in srgb, var(--text-primary, #ffffff) 48%, transparent);
    font-size: 0.75rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    font-weight: 700;
}

.solve-card-title {
    color: var(--text-primary, #ffffff);
    font-family: var(--font-accent);
    font-size: clamp(1.45rem, 2vw, 1.8rem);
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.solve-card-text {
    color: rgba(255,255,255,0.9);
    font-size: 1.02rem;
    line-height: 1.75;
}

.contrast-table-wrap {
    border: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 8%, transparent);
    border-radius: 1.5rem;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
}

.contrast-table-head,
.contrast-table-row {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.contrast-table-head {
    background: rgba(255,255,255,0.03);
}

.contrast-table-head > div {
    padding: 1rem 1.25rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contrast-table-head > div + div,
.contrast-table-cell + .contrast-table-cell {
    border-left: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 8%, transparent);
}

.contrast-table-row {
    border-top: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 8%, transparent);
}

.contrast-table-cell {
    padding: 1.15rem 1.25rem;
    line-height: 1.65;
}

.contrast-table-cell-them {
    color: color-mix(in srgb, var(--text-primary, #ffffff) 46%, transparent);
}

.contrast-table-cell-us {
    color: rgba(255,255,255,0.96);
    font-weight: 600;
}

.service-clean-card,
.work-clean-card,
.testimonial-lead-card,
.testimonial-side-card {
    border: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 6%, transparent);
    background: transparent;
    box-shadow: none;
}

.service-clean-card,
.work-clean-card,
.testimonial-lead-card {
    border-radius: 4px;
}

.testimonial-side-card {
    border-radius: 0.75rem;
}

.service-clean-card {
    padding: 1.35rem 1.35rem 1.45rem;
    min-height: 100%;
    border-radius: 4px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.018) 0%, rgba(255,255,255,0.01) 100%);
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.service-clean-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--text-primary, #ffffff) 12%, transparent);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.028) 0%, rgba(255,255,255,0.012) 100%);
}

.service-clean-media {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 6%, transparent);
}

.service-clean-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7,8,12,0.06) 0%, rgba(7,8,12,0.28) 100%),
        radial-gradient(circle at 18% 18%, rgba(58,85,249,0.18), transparent 36%);
    pointer-events: none;
}

.service-clean-media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.service-clean-card:hover .service-clean-media-image {
    transform: scale(1.03);
}

.service-clean-media-top {
    position: absolute;
    top: 0.95rem;
    left: 0.95rem;
    right: 0.95rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    z-index: 2;
}

.service-clean-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 2.1rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(8,10,16,0.52);
    backdrop-filter: blur(12px);
    color: rgba(255,255,255,0.84);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
    max-width: calc(100% - 3rem);
}

.service-clean-icon {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(8,10,16,0.46);
    backdrop-filter: blur(12px);
    flex-shrink: 0;
}

.work-meta-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border-radius: 4px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    color: color-mix(in srgb, var(--text-primary, #ffffff) 55%, transparent);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.service-clean-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: color-mix(in srgb, var(--text-primary, #ffffff) 68%, transparent);
    font-size: 0.92rem;
    font-weight: 600;
    transition: color 0.15s ease, gap 0.15s ease;
}

.service-clean-link:hover {
    color: var(--text-primary, #ffffff);
    gap: 0.65rem;
}

.service-subnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.service-subnav-label {
    color: color-mix(in srgb, var(--text-primary, #ffffff) 54%, transparent);
    font-size: 0.92rem;
}

.service-subnav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.52rem 0.9rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 9%, transparent);
    color: rgba(255,255,255,0.88);
    font-size: 0.9rem;
    line-height: 1;
    transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.service-subnav-link:hover {
    color: var(--text-primary, #ffffff);
    border-color: color-mix(in srgb, var(--brand, #0410ff) 52%, transparent);
    transform: translateY(-1px);
}

.work-clean-card .work-result-line,
.testimonial-lead-card .work-result-line,
.testimonial-side-card .work-result-line {
    display: inline-flex;
    align-items: center;
    color: color-mix(in srgb, var(--text-primary, #ffffff) 88%, transparent);
    font-size: 0.86rem;
    line-height: 1.45;
}

.work-result-line-plain {
    padding: 0;
    border: 0;
    background: transparent;
}

.work-clean-card {
    overflow: hidden;
}

.work-clean-image-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 8%, transparent);
}

.work-clean-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.7s ease;
}

.work-clean-card:hover .work-clean-image {
    transform: scale(1.03);
}

.work-clean-body {
    padding: 1.6rem;
}

.why-row {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 1.2rem;
    padding: 1.15rem 0;
    border-top: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 8%, transparent);
}

.why-row:last-child {
    border-bottom: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 8%, transparent);
}

.why-row-them {
    color: color-mix(in srgb, var(--text-primary, #ffffff) 42%, transparent);
    font-size: 0.92rem;
    line-height: 1.6;
}

.why-row-us {
    color: var(--text-primary, #ffffff);
    font-size: 0.98rem;
    line-height: 1.6;
    font-weight: 600;
}

.process-list {
    display: grid;
    gap: 1.25rem;
}

.process-visual-stack {
    display: grid;
    gap: 1.1rem;
    align-self: start;
}

.process-visual-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 7%, transparent);
}

.process-visual-card-primary {
    aspect-ratio: 4 / 4.8;
}

.process-visual-card-secondary {
    aspect-ratio: 16 / 10;
}

.process-visual-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7,8,12,0.02) 0%, rgba(7,8,12,0.22) 100%),
        radial-gradient(circle at 20% 20%, rgba(58,85,249,0.18), transparent 34%);
    pointer-events: none;
}

.process-visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.process-visual-kicker {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(12,14,24,0.82);
    color: rgba(255,255,255,0.9);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.homepage-faq-list {
    display: grid;
    gap: 0.9rem;
}

.homepage-faq-item {
    background: color-mix(in srgb, var(--text-primary, #ffffff) 3%, transparent);
    border-radius: 4px;
    overflow: hidden;
}

.homepage-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.45rem 1.7rem;
    text-align: left;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.homepage-faq-question {
    color: var(--text-primary, #ffffff);
    font-size: 1.02rem;
    line-height: 1.45;
    font-weight: 650;
    letter-spacing: -0.015em;
}

.homepage-faq-icon {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
    color: var(--brand, #3a55f9);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.homepage-faq-item:hover .homepage-faq-icon {
    opacity: 0.7;
}

.homepage-faq-panel {
    padding: 0 1.7rem 1.5rem;
}

.homepage-faq-answer {
    color: color-mix(in srgb, var(--text-primary, #ffffff) 68%, transparent);
    line-height: 1.75;
    max-width: 58ch;
}

.work-item-back-link {
    color: rgba(255,255,255,0.58);
}

.work-item-back-link:hover {
    color: rgba(255,255,255,0.9);
}

.work-item-hero-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2.6rem;
    padding: 0.58rem 1rem;
    border-radius: 0.85rem;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.82);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

.work-item-hero-pill-featured {
    background: var(--brand, #0410ff);
    color: #ffffff;
}

.process-step-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.15rem 0;
    border-top: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 8%, transparent);
}

.process-step-row:last-child {
    border-bottom: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 8%, transparent);
}

.process-step-number {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: color-mix(in srgb, var(--brand, #0410ff) 74%, #ffffff 26%);
    background: color-mix(in srgb, var(--brand, #0410ff) 9%, transparent);
    border: 1px solid color-mix(in srgb, var(--brand, #0410ff) 18%, transparent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.testimonial-lead-card {
    padding: 2rem;
}

.testimonial-side-card {
    padding: 1.5rem 1.5rem 1.4rem;
}

@keyframes heroHolographicShift {
    0% {
        background-position: 0% 50%;
        filter: brightness(1) saturate(1);
    }
    50% {
        background-position: 100% 50%;
        filter: brightness(1.08) saturate(1.08);
    }
    100% {
        background-position: 0% 50%;
        filter: brightness(1) saturate(1);
    }
}

.hero-form {
    padding: 14px;
    border-radius: 4px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hero-form .form-input {
    min-height: 3.5rem;
    border-radius: 4px;
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.09);
    box-shadow: none;
}

.hero-form .btn-primary {
    min-height: 3.5rem;
    border-radius: 4px;
    box-shadow: none;
}

.hero-form-note {
    color: rgba(255,255,255,0.45);
}

/* ==================== Testimonials ==================== */
.testimonial-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 36px;
    box-shadow: none;
}

.testimonial-quote {
    font-size: 15px;
    line-height: 1.7;
    color: color-mix(in srgb, var(--text-primary, #ffffff) 88%, transparent);
    margin-bottom: 24px;
}

/* ==================== Portfolio ==================== */
.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: color-mix(in srgb, var(--surface, #141418) 76%, var(--bg-dark, #0c0c0e));
    border: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 5%, transparent);
    box-shadow: 0 18px 42px rgba(0,0,0,0.18);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

/* ==================== Divider ==================== */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, color-mix(in srgb, var(--text-primary, #ffffff) 8%, transparent), transparent);
    margin: 80px 0;
}


/* ==================== Scroll animations ==================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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


/* ==================== Extended Animations ==================== */

/* Slide from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide from right */
.reveal-right {
    opacity: 0;
    transform: translateX(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale in */
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Bounce in */
@keyframes bounceIn {
    0%   { transform: scale(0.82); opacity: 0; }
    60%  { transform: scale(1.04); opacity: 1; }
    100% { transform: scale(1);    opacity: 1; }
}

.reveal-bounce {
    opacity: 0;
}
.reveal-bounce.visible {
    animation: bounceIn 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-children.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.12s; }
.stagger-children.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.19s; }
.stagger-children.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.26s; }
.stagger-children.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.33s; }
.stagger-children.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.4s; }


/* Glow pulse */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px color-mix(in srgb, var(--brand, #3a55f9) 25%, transparent); }
    50%       { box-shadow: 0 0 45px color-mix(in srgb, var(--brand, #3a55f9) 45%, transparent); }
}

.glow-pulse { animation: glowPulse 2.5s ease-in-out infinite; }

/* Shimmer highlight */
@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}

.shimmer {
    background: linear-gradient(
        90deg,
        transparent 0%,
        color-mix(in srgb, var(--brand, #3a55f9) 20%, transparent) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2.2s ease-in-out infinite;
}

/* Slow spin */
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.spin-slow { animation: spinSlow 10s linear infinite; }

/* Hover tilt — disabled */
.tilt-hover { transition: transform 0.35s ease; }

/* Cursor blink for typewriter effect */
@keyframes holo-shift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
.cursor-blink::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--brand, #3a55f9);
    margin-left: 2px;
}

/* Pulse ring */
@keyframes pulseRing {
    0%   { transform: scale(0.95); box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand, #3a55f9) 50%, transparent); }
    70%  { transform: scale(1);    box-shadow: 0 0 0 10px transparent; }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 transparent; }
}
.pulse-ring { animation: pulseRing 2s ease-out infinite; }

/* ==================== Service page hero ==================== */
.service-hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.service-hero-bg-blue {
    background: radial-gradient(ellipse 60% 50% at 50% 0%, color-mix(in srgb, var(--color-blue, #3a55f9) 15%, transparent) 0%, transparent 62%), var(--bg-dark, #0c0c0e);
}
.service-hero-bg-purple {
    background: radial-gradient(ellipse 60% 50% at 50% 0%, color-mix(in srgb, var(--color-purple, #8b5cf6) 15%, transparent) 0%, transparent 62%), var(--bg-dark, #0c0c0e);
}
.service-hero-bg-green {
    background: radial-gradient(ellipse 60% 50% at 50% 0%, color-mix(in srgb, var(--color-green, #10b981) 15%, transparent) 0%, transparent 62%), var(--bg-dark, #0c0c0e);
}
.service-hero-bg-orange {
    background: radial-gradient(ellipse 60% 50% at 50% 0%, color-mix(in srgb, var(--color-orange, #0410ff) 15%, transparent) 0%, transparent 62%), var(--bg-dark, #0c0c0e);
}

.service-editorial-section {
    padding: 6.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: #0a0a0b;
}

.service-editorial-shell {
    max-width: 70rem;
}

.service-editorial-label {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.45);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-editorial-label::before {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand, #0410ff) 75%, #f0c94f 25%);
}

.service-editorial-headline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.service-editorial-line {
    display: block;
}

.service-editorial-highlight {
    display: inline;
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: clamp(2.75rem, 5vw, 5.2rem);
    line-height: 0.98;
    font-weight: 700;
    letter-spacing: -0.055em;
    color: #ffffff;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 0.08em 0.18em 0.14em;
    background: linear-gradient(180deg, rgba(58,85,249,0.92) 0%, rgba(58,85,249,0.92) 100%);
}

.service-editorial-copy {
    max-width: 62rem;
}

.service-editorial-copy p {
    color: rgba(255,255,255,0.78);
    font-size: 1.22rem;
    line-height: 1.78;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.service-editorial-copy p:last-child {
    margin-bottom: 0;
}

.service-matrix {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255,255,255,0.12);
    border-left: 1px solid rgba(255,255,255,0.12);
}

.service-matrix-card {
    min-height: 22rem;
    padding: 2.6rem 2.35rem 2.45rem;
    border-right: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.015) 0%, rgba(255,255,255,0.01) 100%),
        transparent;
}

.service-matrix-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.015);
}

.service-matrix-title {
    color: var(--text-primary, #fff);
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: clamp(1.6rem, 2vw, 2.15rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 1.65rem;
}

.service-matrix-points {
    display: grid;
    gap: 1rem;
}

.service-matrix-point {
    display: grid;
    grid-template-columns: 0.8rem 1fr;
    gap: 0.9rem;
    align-items: start;
}

.service-matrix-tick {
    width: 0.7rem;
    height: 0.7rem;
    margin-top: 0.45rem;
    border-radius: 999px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--brand, #0410ff) 45%, #f4cd4d 55%), color-mix(in srgb, var(--brand, #0410ff) 72%, #f4cd4d 28%));
    box-shadow: 0 0 0 3px rgba(244,205,77,0.06);
}

.service-matrix-point p {
    color: color-mix(in srgb, var(--text-primary, #ffffff) 84%, transparent);
    font-size: 1rem;
    line-height: 1.7;
    letter-spacing: -0.015em;
    margin: 0;
}

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

@media (max-width: 720px) {
    .service-editorial-section {
        padding: 4.75rem 0;
    }

    .service-editorial-headline {
        gap: 0.35rem;
        margin-bottom: 1.5rem;
    }

    .service-editorial-highlight {
        font-size: clamp(2.1rem, 10vw, 3.4rem);
        padding: 0.06em 0.12em 0.12em;
    }

    .service-editorial-copy p {
        font-size: 1.04rem;
        line-height: 1.72;
    }

    .service-matrix {
        grid-template-columns: 1fr;
    }

    .service-matrix-card {
        min-height: auto;
        padding: 2rem 1.4rem 1.8rem;
    }

    .service-matrix-icon {
        margin-bottom: 1.35rem;
    }

    .service-matrix-title {
        font-size: 1.7rem;
        margin-bottom: 1.1rem;
    }

    .service-matrix-point {
        gap: 0.75rem;
    }
}

/* ==================== Marquee ==================== */
.marquee { overflow: hidden; white-space: nowrap; }

.marquee-inner {
    display: inline-flex;
    align-items: center;
    gap: 0;
    animation: marquee 90s linear infinite;
}

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

/* ==================== Misc ==================== */
.text-balance { text-wrap: balance; }

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    font-size: 11px;
    color: rgba(255,255,255,0.65);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.5;
}

/* ==================== Blog / Case Study Content ==================== */
.blog-content { line-height: 1.9; font-size: 1.1rem; letter-spacing: -0.012em; }
.blog-content h2 {
    font-size: 1.65rem;
    font-weight: 680;
    color: var(--text-primary);
    margin: 2.75rem 0 1rem;
    letter-spacing: -0.035em;
}
.blog-content h3 {
    font-size: 1.28rem;
    font-weight: 680;
    color: var(--text-primary);
    margin: 2rem 0 0.75rem;
    letter-spacing: -0.025em;
}
.blog-content p { color: color-mix(in srgb, var(--text-primary) 88%, transparent); margin-bottom: 1.25rem; }
.blog-content ul, .blog-content ol {
    color: color-mix(in srgb, var(--text-primary) 86%, transparent);
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}
.blog-content li { margin-bottom: 0.4rem; }
.blog-content em { color: color-mix(in srgb, var(--text-primary) 72%, transparent); }
.blog-content strong { color: var(--text-primary); font-weight: 600; }

/* Case study: <strong> tags used as section headings */
.case-study-body > strong {
    display: block;
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    margin-top: 3rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.case-study-body > strong:first-child { margin-top: 0; }
.blog-content a { color: var(--brand); text-decoration: underline; }
.blog-content blockquote {
    border-left: 3px solid var(--brand);
    padding-left: 1.25rem;
    color: color-mix(in srgb, var(--text-primary) 80%, transparent);
    font-style: italic;
    margin: 1.75rem 0;
}
.blog-content code {
    background: color-mix(in srgb, var(--text-primary) 8%, transparent);
    padding: 0.1em 0.4em;
    border-radius: 4px;
    font-size: 0.875em;
}
.blog-content pre {
    background: color-mix(in srgb, var(--bg-dark) 80%, black);
    border: 1px solid color-mix(in srgb, var(--text-primary) 10%, transparent);
    border-radius: 12px;
    padding: 1.25rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}
.blog-content pre code { background: none; padding: 0; }
.blog-content img { width: 100%; border-radius: 12px; margin: 1.5rem 0; }
.blog-content .blog-callout {
    margin: 2.25rem 0 1.5rem;
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
    background: linear-gradient(135deg, rgba(58,85,249,0.14) 0%, rgba(139,92,246,0.08) 100%);
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.blog-content .blog-callout p {
    color: color-mix(in srgb, var(--text-primary) 92%, transparent);
    margin-bottom: 1rem;
}
.blog-content .blog-callout p:last-child { margin-bottom: 0; }
.blog-content .blog-callout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.blog-content .blog-callout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.9rem;
    padding: 0.8rem 1.15rem;
    border-radius: 4px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.blog-content .blog-callout-button:hover {
    transform: none;
    text-decoration: none;
}
.blog-content .blog-callout-button.primary {
    color: var(--btn-text);
    background: var(--brand);
    box-shadow: none;
}
.blog-content .blog-callout-button.secondary {
    color: var(--text-primary);
    background: transparent;
    border-color: rgba(255,255,255,0.25);
}

/* ==================== Footer link underlines ==================== */
footer a {
    text-decoration: none;
}

.footer-shell {
    background: #0a0a0b;
    color: var(--text-primary, #ffffff);
}

.footer-top-rule,
.footer-bottom-rule {
    height: 1px;
    background: color-mix(in srgb, var(--text-primary, #ffffff) 8%, transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 0.78fr));
    gap: 4rem;
}

.footer-brand {
    max-width: 28rem;
}

.footer-facts {
    display: grid;
    gap: 1.35rem;
}

.footer-fact {
    display: grid;
    gap: 0.4rem;
}

.footer-kicker,
.footer-heading {
    font-size: 0.78rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: color-mix(in srgb, var(--text-primary, #ffffff) 42%, transparent);
}

.footer-heading {
    margin-bottom: 1.4rem;
}

.footer-value,
.footer-links a,
.footer-copy,
.footer-bottom-links a {
    color: color-mix(in srgb, var(--text-primary, #ffffff) 78%, transparent);
}

.footer-value {
    font-size: 1rem;
    line-height: 1.5;
}

.footer-links {
    display: grid;
    gap: 1rem;
}

.footer-links a,
.footer-bottom-links a,
.footer-value {
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover,
.footer-bottom-links a:hover,
.footer-value:hover {
    color: var(--text-primary, #ffffff);
}

.footer-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.75rem 1.2rem;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.75);
    background: transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-pill:hover {
    color: var(--text-primary, #ffffff);
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.04);
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-copy {
    font-size: 0.95rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 3rem 2rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom-links {
        gap: 1.1rem;
        flex-wrap: wrap;
    }

}

/* ==================== Portfolio overlay backdrop blur ==================== */
.portfolio-overlay {
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: opacity 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
}
.portfolio-item:hover .portfolio-overlay {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ==================== Mobile Adjustments ==================== */
@media (max-width: 640px) {
    .stat-number { font-size: 2.25rem; }
    h1.hero-title { font-size: 3.35rem; line-height: 1.04; }
    .hero-split-layout {
        gap: 2rem;
    }
    .hero-split-copy {
        width: 100%;
    }
    .hero-split-copy .hero-eyebrow,
    .hero-split-copy .hero-title,
    .hero-split-copy .hero-subcopy {
        text-align: center;
        margin-inline: auto;
    }
    .hero-split-copy .hero-title {
        width: auto;
        max-width: 11.5ch;
        font-size: clamp(2.45rem, 8.6vw, 3.1rem);
        line-height: 0.98;
        letter-spacing: -0.05em;
        text-wrap: balance;
    }
    .hero-home-title-shape {
        gap: 0.06em;
        width: max-content;
        max-width: 100%;
    }
    .hero-home-title-shape-finish {
        width: 100%;
        max-width: 10.8ch;
        gap: 0.05em;
    }
    .hero-home-title-shape-finish-desktop {
        display: none;
    }
    .hero-home-title-shape-finish-mobile {
        display: inline-flex;
    }
    .hero-home-title-line-finish-2,
    .hero-home-title-line-finish-3 {
        gap: 0.08em;
    }
    .hero-home-title-line-3 {
        gap: 0.14em;
    }
    .hero-split-copy .hero-subcopy {
        max-width: 28rem;
        font-size: 1.04rem;
        line-height: 1.68;
    }
    .hero-center-rail-split {
        width: min(100%, 28rem);
        margin-inline: auto;
        align-items: center;
    }
    .hero-centered-shell .hero-subcopy {
        font-size: 1.02rem;
        max-width: 23rem;
        margin-bottom: 1.35rem;
    }
    .hero-home-shell {
        align-items: center;
        width: min(100%, 100%);
        padding-top: 0.2rem;
    }
    .hero-home-shell .hero-eyebrow,
    .hero-home-shell .hero-title,
    .hero-home-shell .hero-subcopy,
    .hero-home-shell .hero-lead-note {
        text-align: center;
        margin-inline: auto;
    }
    .hero-home-shell .hero-title {
        max-width: 9.4ch;
        font-size: clamp(2.45rem, 8vw, 3.05rem);
        line-height: 1;
    }
    .hero-home-title-two-line-desktop {
        display: none;
    }
    .hero-home-title-shape-mobile-four-line {
        display: inline-flex;
    }
    .hero-home-title-shape-mobile-four-line .hero-home-title-line {
        text-align: center;
        white-space: nowrap;
    }
    .hero-home-shell .hero-subcopy {
        max-width: 36ch;
        font-size: 1.02rem;
        line-height: 1.66;
    }
    .hero-home-shell .hero-center-rail,
    .hero-home-shell .hero-cta-row,
    .hero-home-shell .hero-proof-inline {
        margin-inline: auto;
        align-items: center;
        justify-content: center;
    }
    .hero-home-shell .hero-proof-inline {
        max-width: 26rem;
        text-align: center;
        border-top-color: rgba(255,255,255,0.06);
        flex-wrap: wrap;
    }
    .hero-home-shell .hero-proof-inline-item {
        align-items: center;
        max-width: none;
        padding-left: 0.4rem;
        border-left: none;
    }
    .hero-home-shell .hero-proof-inline-item::before {
        left: 50%;
        transform: translateX(-50%);
        top: 0.15rem;
    }
    .hero-home-shell .hero-proof-inline-copy {
        max-width: 24ch;
    }
    .hero-trust-bar {
        display: none;
    }
    .hero-trust-item {
        padding-right: 0;
        align-items: center;
        text-align: center;
    }
    .hero-trust-desc {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    .hero-bg {
        padding-bottom: 4.25rem;
    }
    .hero-home-section + section {
        padding-top: 4.5rem;
    }
    .hero-cta-row {
        gap: 0.7rem;
        padding-bottom: 1rem;
        width: 100%;
        max-width: 26rem;
        margin-inline: auto;
    }
    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        min-width: 0;
    }
    .hero-proof-inline,
    .hero-center-rail-split .hero-proof-inline {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        gap: 0.8rem;
        justify-content: center;
        width: 100%;
        max-width: 26rem;
        margin-inline: auto;
        text-align: center;
    }
    .hero-proof-inline-item,
    .hero-center-rail-split .hero-proof-inline-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: none;
        min-height: 0;
        padding: 0;
        border: none;
        text-align: center;
        gap: 0.2rem;
    }
    .hero-proof-inline-item strong,
    .hero-center-rail-split .hero-proof-inline-item strong {
        max-width: none;
        white-space: nowrap;
        font-size: 0.94rem;
        text-wrap: nowrap;
    }
    .hero-proof-inline-copy {
        max-width: 24rem;
        margin-inline: auto;
        font-size: 0.82rem;
        line-height: 1.35;
        -webkit-line-clamp: 3;
    }
    .hero-proof-inline-item::before { display: none; }
    .hero-proof-inline-item:not(:last-child)::after { display: none; }
    .hero-proof-inline-item:not(:last-child)::after {
        top: auto;
        right: auto;
        bottom: 0;
        left: 0;
        transform: none;
        width: 3.5rem;
        height: 1px;
        box-shadow: none;
    }
    .hero-logo-strip,
    .hero-center-rail-split .hero-logo-strip {
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 26rem;
        margin-inline: auto;
    }
    .hero-logo-strip-grid {
        gap: 1rem 1.25rem;
        max-width: none;
        justify-content: center;
        margin-inline: auto;
    }
    .hero-logo-card {
        width: 4.4rem;
        min-height: 3rem;
    }
    .hero-logo-image {
        height: 1.7rem;
    }
    .audience-track-card {
        padding: 1.45rem;
        border-radius: 1.5rem;
    }
    .audience-track-media {
        margin-bottom: 1.1rem;
        border-radius: 1.1rem;
    }
    .contrast-table-head,
    .contrast-table-row {
        grid-template-columns: 1fr;
    }
    .contrast-table-head > div + div,
    .contrast-table-cell + .contrast-table-cell {
        border-left: 0;
    }
    .contrast-table-head > div:last-child,
    .contrast-table-cell + .contrast-table-cell {
        border-top: 1px solid color-mix(in srgb, var(--text-primary, #ffffff) 8%, transparent);
    }
    .audience-row,
    .why-row,
    .process-step-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .service-clean-card,
    .testimonial-lead-card,
    .testimonial-side-card,
    .work-clean-card {
        padding: 1.3rem;
    }
    .service-subnav {
        gap: 0.6rem;
    }
    .service-subnav-label {
        width: 100%;
        text-align: center;
    }
    .service-clean-media {
        margin-bottom: 1rem;
    }
    .work-clean-body {
        padding: 1.35rem;
    }
    .process-visual-stack {
        grid-template-columns: 1fr 1fr;
        gap: 0.85rem;
        margin-bottom: 0.4rem;
    }
    .process-visual-card-primary,
    .process-visual-card-secondary {
        aspect-ratio: 4 / 3;
    }
    .hero-trust-row {
        gap: 0.55rem;
    }
    .hero-trust-pill {
        width: 100%;
        font-size: 0.82rem;
    }
    .hero-centered-shell .hero-title {
        max-width: 8.6ch;
        font-size: clamp(2.55rem, 9.6vw, 3.55rem);
        line-height: 0.99;
        letter-spacing: -0.04em;
        margin-bottom: 0.9rem;
        padding-inline: 0;
    }
    .hero-centered-shell .hero-title .hero-title-accent {
        font-size: 1em;
        line-height: inherit;
    }
    .section-label {
        padding: 6px 14px;
        font-size: 11px;
        margin-bottom: 14px;
    }
    .card {
        border-radius: 18px;
        box-shadow: 0 12px 28px rgba(0,0,0,0.14);
    }
    .testimonial-card {
        padding: 28px;
        border-radius: 4px;
    }
    .btn-primary,
    .btn-secondary,
    .btn-accent {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
    .section-copy,
    .section-copy-muted,
    .blog-content {
        font-size: 1rem;
    }
    .service-card-grid {
        row-gap: 5rem;
    }
}

@media (max-width: 640px) {
    .cookie-consent-shell {
        padding: 0.75rem;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    }

    .cookie-consent-card {
        gap: 0.8rem;
        padding: 0.9rem !important;
        border-radius: 0.9rem !important;
        align-items: stretch;
    }

    .cookie-consent-card > .flex-1 {
        gap: 0.75rem;
        align-items: flex-start;
    }

    .cookie-consent-card > .flex-1 > :first-child {
        width: 2.25rem;
        height: 2.25rem;
        border-radius: 0.65rem;
    }

    .cookie-consent-card p {
        line-height: 1.35;
    }

    .cookie-consent-actions {
        gap: 0.55rem;
    }

    .cookie-consent-actions button {
        min-height: 2.45rem;
        padding: 0.7rem 1rem;
    }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .hero-home-shell {
        align-items: center;
    }
    .hero-home-shell .hero-eyebrow,
    .hero-home-shell .hero-title,
    .hero-home-shell .hero-subcopy,
    .hero-home-shell .hero-lead-note {
        text-align: center;
        margin-inline: auto;
    }
    .hero-home-shell .hero-title {
        max-width: 11.6ch;
    }
    .hero-home-shell .hero-subcopy,
    .hero-home-shell .hero-center-rail,
    .hero-home-shell .hero-proof-inline {
        margin-inline: auto;
    }
    .hero-home-shell .hero-cta-row,
    .hero-home-shell .hero-proof-inline {
        justify-content: center;
    }
    .hero-trust-bar {
        margin-inline: auto;
    }
}

@media (max-width: 1023px) {
    .site-nav-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-logo-wordmark {
        font-size: 0.98rem;
    }
}

@media (min-width: 640px) {
    .sidebar-facts-row {
        grid-template-columns: 112px minmax(0, 1fr);
        column-gap: 20px;
    }
}

/* ==================== Fun Feature 1: Scroll Progress Bar ==================== */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand, #3a55f9), var(--gradient-accent, #8b5cf6), var(--brand, #3a55f9));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    z-index: 99999;
    pointer-events: none;
    transition: width 0.08s linear;
}

/* ==================== Fun Feature 2: Cursor Glow ==================== */
#cursor-glow {
    position: fixed;
    pointer-events: none;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        color-mix(in srgb, var(--brand, #3a55f9) 14%, transparent) 0%,
        color-mix(in srgb, var(--gradient-accent, #8b5cf6) 6%, transparent) 40%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
    mix-blend-mode: screen;
}

[data-theme="light"] #cursor-glow {
    mix-blend-mode: multiply;
    background: radial-gradient(
        circle,
        color-mix(in srgb, var(--brand, #3a55f9) 8%, transparent) 0%,
        transparent 65%
    );
}

/* ==================== Fun Feature 3: Word Cycler ==================== */
[data-words] {
    display: inline-block;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* ==================== Fun Feature 4: Magnetic button — no extra CSS needed ==================== */

/* Tilt disabled — no 3D transform styles needed */

/* ==================== Block Section Backgrounds ==================== */
/*
 * Use these classes on <section> elements to create alternating block
 * colour bands that break up the page. They automatically adapt to
 * dark / light mode and derive from the admin-controlled brand + surface colours.
 */

/* ==================== PREMIUM HOMEPAGE COMPONENTS ==================== */

/* Hero */
.premium-hero {
    min-height: clamp(40rem, 82vh, 52rem) !important;
    display: flex;
    align-items: center;
    background:
        radial-gradient(ellipse 48% 38% at 74% 22%, color-mix(in srgb, var(--brand, #1d4ed8) 9%, transparent), transparent 64%),
        #09090a;
    background-size: auto, auto;
}
.premium-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9,9,10,0.18), #09090a 92%);
    pointer-events: none;
    z-index: 0;
}
.premium-hero-inner {
    display: block;
}
.premium-hero-copy {
    max-width: 66rem;
}
.hero-eyebrow-premium {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.68);
}
@media (max-width: 640px) {
    .hero-title-premium {
        max-width: 100%;
        line-height: 1.05;
        letter-spacing: -0.04em;
    }
}

.hero-title-premium {
    font-size: clamp(4.2rem, 7.1vw, 7.4rem);
    letter-spacing: -0.035em;
    line-height: 1.04;
    max-width: 17ch;
}

.premium-holo-text {
    display: inline-block;
    padding-inline: 0.025em;
    padding-bottom: 0.08em;
    margin-inline: -0.01em;
    margin-bottom: -0.08em;
    line-height: 1.12;
    color: var(--brand, #1d4ed8);
}
.hero-subheadline-premium {
    color: rgba(255,255,255,0.92) !important;
    opacity: 1;
    margin-inline: 0;
    max-width: 39rem;
}
.premium-hero .hero-lead-note {
    text-align: left;
    max-width: 38rem;
    color: rgba(255,255,255,0.82);
}
.premium-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.35rem;
}
.premium-hero-secondary {
    display: inline-flex;
    align-items: center;
    min-height: 3rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(255,255,255,0.28);
    transition: color 0.18s ease, border-color 0.18s ease;
}
.premium-hero-secondary:hover {
    color: #ffffff;
    border-bottom-color: var(--brand);
}
.premium-editorial-section {
    border-top: 1px solid rgba(255,255,255,0.06);
}
.premium-editorial-section h2 {
    line-height: 1.14 !important;
}
.premium-editorial-copy {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
}
.premium-editorial-copy p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    line-height: 1.85;
}

/* Standard section */
.standout-section {
    border-top: 1px solid rgba(255,255,255,0.06);
}
.standout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
    gap: clamp(3rem, 8vw, 7rem);
    align-items: start;
}
.standout-copy h2 {
    letter-spacing: -0.03em;
    line-height: 1.08;
    max-width: 12ch;
}
.standout-intro {
    color: rgba(255,255,255,0.88);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.75;
    max-width: 40rem;
}
.standout-list {
    border-top: 1px solid rgba(255,255,255,0.1);
}
.standout-item {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.standout-num {
    color: rgba(255,255,255,0.35);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding-top: 0.35rem;
}
.standout-item h3 {
    color: #ffffff;
    font-family: var(--font-display, inherit);
    font-size: 1.35rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 700;
    margin-bottom: 0.65rem;
}
.standout-item p {
    color: rgba(255,255,255,0.82);
    font-size: 0.98rem;
    line-height: 1.75;
}

/* Services — editorial list */
.premium-service-list {
    border-top: 1px solid rgba(255,255,255,0.08);
}
.premium-service-row {
    display: grid;
    grid-template-columns: 3rem 1fr auto;
    align-items: start;
    gap: 1.5rem 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.premium-service-row:hover {
    opacity: 0.85;
}
.premium-service-num {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.3);
    padding-top: 0.35rem;
}
.premium-service-title {
    font-family: var(--font-display, inherit);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
}
.premium-service-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.86);
    line-height: 1.7;
    max-width: 52ch;
}
.premium-service-arrow {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.2);
    padding-top: 0.25rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}
.premium-service-row:hover .premium-service-arrow {
    color: rgba(255,255,255,0.7);
    transform: translateX(4px);
}
@media (max-width: 640px) {
    .premium-hero {
        min-height: auto !important;
        padding-top: 6.75rem;
    }
    .hero-title-premium {
        max-width: 100%;
        line-height: 0.96;
        letter-spacing: -0.05em;
    }
    .premium-hero-actions {
        gap: 0.75rem 1rem;
    }
    .premium-hero-actions .btn-primary {
        font-size: 0.875rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .premium-hero-actions .premium-hero-secondary {
        font-size: 0.875rem;
        min-height: 2.75rem;
        padding-bottom: 0.35rem;
    }
    .hero-subheadline-premium {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    .premium-editorial-copy {
        grid-template-columns: 1fr;
    }
    .standout-grid {
        grid-template-columns: 1fr;
    }
    .standout-copy h2 {
        max-width: 11ch;
    }
    .standout-item {
        grid-template-columns: 2.5rem 1fr;
    }
    .premium-process-heading {
        max-width: 12ch;
    }
    .premium-service-row {
        grid-template-columns: 2.5rem 1fr;
    }
    .premium-service-arrow { display: none; }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .premium-hero {
        min-height: auto !important;
    }
    .hero-title-premium {
        max-width: 18ch;
    }
    .premium-editorial-copy {
        grid-template-columns: 1fr;
        max-width: 44rem;
    }
    .standout-grid {
        grid-template-columns: 1fr;
    }
    .standout-copy h2 {
        max-width: 12ch;
    }
    .premium-process-heading {
        max-width: 12ch;
    }
}

/* Process — sticky headline layout */
.premium-process-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.premium-process-heading {
    max-width: 9.5ch;
}
.premium-process-intro {
    color: rgba(255,255,255,0.86) !important;
}
.premium-process-step {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.premium-process-step:last-child {
    border-bottom: none;
}
.premium-process-num {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding-top: 0.3rem;
    background: linear-gradient(92deg, #8fc8ff 0%, #7b8cff 28%, #5fa4ff 53%, #8e75ff 76%, #4f8fff 100%);
    background-size: 180% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.premium-process-title {
    font-family: var(--font-display, inherit);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.015em;
    margin-bottom: 0.6rem;
    line-height: 1.2;
}
.premium-process-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.86);
    line-height: 1.75;
}

/* Founder preview */
.founder-preview {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: clamp(2rem, 5vw, 4rem) 0;
}
.founder-preview-media {
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: rgba(255,255,255,0.04);
}
.founder-preview-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.founder-preview-copy {
    max-width: 42rem;
}
.founder-preview-copy > p:not(.hero-eyebrow-premium) {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.05rem;
}
.founder-preview-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 3rem;
    align-items: flex-end;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
}
.founder-preview-meta strong,
.founder-preview-meta span {
    display: block;
}
.founder-preview-meta strong {
    color: #fff;
    font-size: 1rem;
}
.founder-preview-meta span {
    color: rgba(255,255,255,0.78);
    font-size: 0.9rem;
}
.founder-preview-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.founder-preview-links a,
.contact-founder-card a {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.18);
    text-decoration: none;
    transition: color 0.18s ease, border-color 0.18s ease;
}
.founder-preview-links a:hover,
.contact-founder-card a:hover {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.52);
}

.contact-founder-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
}
.contact-founder-card img {
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
}
.contact-founder-card h3 {
    color: #fff;
    font-family: var(--font-display, inherit);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.15rem;
}
.contact-founder-role {
    color: rgba(255,255,255,0.78);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}
.contact-founder-note {
    color: rgba(255,255,255,0.88);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    .founder-preview {
        grid-template-columns: 1fr;
    }
    .founder-preview-media {
        max-width: 19rem;
    }
}

/* Testimonials */
.premium-testimonial-list {
    display: grid;
    gap: 3rem;
}
@media (min-width: 768px) {
    .premium-testimonial-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 4rem;
    }
}
.premium-testimonial-item {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2.5rem;
}
.premium-testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.94);
    margin-bottom: 1.75rem;
    font-style: normal;
}
.premium-testimonial-attr {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}
.premium-testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    opacity: 0.85;
}
.premium-testimonial-initials {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
}
.premium-testimonial-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
}
.premium-testimonial-role {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.76);
    margin-top: 0.1rem;
}
/* ==================== END PREMIUM HOMEPAGE ==================== */

/* Alt — a slightly elevated surface tone (one step up from the page bg) */
.section-bg-alt {
    background: rgba(255,255,255,0.025);
    position: relative;
}

.section-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
    pointer-events: none;
}
.section-divider svg {
    display: block;
    width: 100%;
    height: 56px;
}

/* Tinted — same as alt, no brand wash */
.section-bg-tinted {
    background: rgba(255,255,255,0.025);
    position: relative;
}

/* Deep — subtly differentiated section (was near-black, now just a touch darker) */
.section-bg-deep {
    background:
        linear-gradient(
            180deg,
            #121521 0%,
            #0f131e 100%
        ),
        radial-gradient(ellipse 90% 75% at 50% 0%, rgba(255,255,255,0.015) 0%, transparent 72%);
    position: relative;
}

/* Light mode overrides */
[data-theme="light"] .section-bg-alt {
    background: var(--light-surface, #ffffff);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 -1px 0 rgba(0,0,0,0.05);
}

[data-theme="light"] .section-bg-tinted {
    background: color-mix(in srgb, var(--brand, #3a55f9) 5%, var(--light-bg, #f4f5f9));
}

[data-theme="light"] .section-bg-deep {
    background: color-mix(in srgb, var(--light-bg, #f4f5f9) 60%, #e8e9ef);
}

/* Service accent colours are defined in the Service Icons section above */

/* ==================== Grain Texture Overlay keyframes kept globally ==================== */
@keyframes grainAnimate {
    0%   { background-position:   0px   0px; }
    25%  { background-position: -22px  14px; }
    50%  { background-position:  14px -18px; }
    75%  { background-position: -18px  22px; }
    100% { background-position:   0px   0px; }
}

/* ==================== Marquee Reverse (row 2) ==================== */
.marquee-inner-reverse {
    display: inline-flex;
    animation: marqueeReverse 28s linear infinite;
}
@keyframes marqueeReverse {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

/* ==================== Marquee item separator ==================== */
.marquee-sep {
    color: var(--brand, #3a55f9);
    opacity: 0.5;
    padding: 0 4px;
    flex-shrink: 0;
}

/* ==================== Floating CTA pill ==================== */
.floating-cta-pill {
    background: #0a0a0b;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    border-radius: 6px !important;
}
[data-theme="light"] .floating-cta-pill {
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

/* ==================== Quick wins ==================== */

/* 7. Section rhythm — removed global override to avoid fighting Tailwind py-* classes */

/* 10. Hero proof items — inline text strip, desktop only */
@media (min-width: 641px) {
    .hero-proof-inline {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0;
        margin-top: 1.75rem;
        width: 100%;
        overflow: hidden;
    }

    .hero-proof-inline-item {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        flex: 0 0 auto;
        padding: 0;
        border: none;
        background: transparent;
        color: rgba(255,255,255,0.55);
        font-size: 0.9rem;
        font-weight: 400;
        position: static;
        overflow: visible;
        min-height: 0;
    }

    .hero-proof-inline-item strong {
        color: rgba(255,255,255,0.8);
        font-weight: 600;
        font-size: 0.9rem;
        letter-spacing: 0;
        max-width: none;
        margin-right: 0.3em;
    }

    .hero-proof-inline-item::before { display: none; }

    .hero-proof-inline-item:not(:last-child)::after {
        content: '·';
        display: inline;
        padding: 0 0.75rem;
        color: rgba(255,255,255,0.2);
        position: static;
        width: auto;
        height: auto;
        background: none;
        transform: none;
        box-shadow: none;
        bottom: auto;
        left: auto;
    }

    .hero-proof-inline-copy {
        display: inline;
        color: rgba(255,255,255,0.55);
        font-size: 0.9rem;
        -webkit-line-clamp: unset;
        overflow: visible;
        max-width: none;
    }
}

/* Global icon colour — all brand-coloured icons use blue */
.text-brand-400 { color: #6b9fff !important; }
.text-brand-300 { color: #93b8ff !important; }
.text-brand-500 { color: #4d8ef0 !important; }


/* ==================== Light Mode ==================== */

/* ---- Theme toggle icon visibility ---- */
[data-theme="dark"]  .theme-icon-sun  { display: block; }
[data-theme="dark"]  .theme-icon-moon { display: none; }
[data-theme="light"] .theme-icon-sun  { display: none; }
[data-theme="light"] .theme-icon-moon { display: block; }
html:not([data-theme="light"]) .theme-icon-moon { display: none; }
html:not([data-theme="light"]) .theme-icon-sun  { display: block; }

/* ---- Light mode CSS variable overrides ---- */
[data-theme="light"] {
    --bg-dark:         #f4f5f9;
    --nav-bg:          #ffffff;
    --surface:         #ffffff;
    --text-primary:    #0f0f12;
    --text-muted:      #6b7280;
    --btn-text:        #ffffff;
    --light-bg:        #f4f5f9;
    --light-surface:   #ffffff;
}

/* ---- Global: kill all hardcoded white text ---- */
[data-theme="light"] .text-neutral-400 { color: rgba(0,0,0,0.5) !important; }
[data-theme="light"] .text-neutral-300 { color: rgba(0,0,0,0.7) !important; }
[data-theme="light"] .nav-logo-wordmark { color: rgba(0,0,0,0.9) !important; }

/* ---- Body & base ---- */
[data-theme="light"] body {
    background: #f4f5f9;
    color: #0f0f12;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    color: #0f0f12;
}

[data-theme="light"] .text-neutral-400 { color: rgba(0,0,0,0.5); }
[data-theme="light"] .text-neutral-300 { color: rgba(0,0,0,0.7); }

/* ---- Navigation ---- */
[data-theme="light"] .site-nav-shell {
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

[data-theme="light"] .site-nav-shell-scrolled {
    background: rgba(255,255,255,0.92);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

[data-theme="light"] .nav-link { color: #0f0f12; }
[data-theme="light"] .nav-link:hover { color: #0f0f12; }
[data-theme="light"] .nav-link-active { color: #0f0f12; }
[data-theme="light"] .nav-link-active::after { background: rgba(0,0,0,0.35); }
[data-theme="light"] .nav-logo-text { color: #0f0f12; }
[data-theme="light"] .nav-logo-wordmark { color: rgba(0,0,0,0.9); }

[data-theme="light"] .nav-dropdown-menu {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

[data-theme="light"] .nav-dropdown-item { color: #0f0f12; }
[data-theme="light"] .nav-dropdown-item:hover { background: rgba(0,0,0,0.04); }
[data-theme="light"] .nav-dropdown-item-active { background: rgba(0,0,0,0.05); }

[data-theme="light"] .nav-icon-btn { color: rgba(0,0,0,0.55); }
[data-theme="light"] .nav-icon-btn:hover { color: #0f0f12; background: rgba(0,0,0,0.06); }

/* Mobile menu panel */
[data-theme="light"] header .lg\:hidden ~ div[x-show] {
    background: rgba(255,255,255,0.97) !important;
    border-top-color: rgba(0,0,0,0.08) !important;
}
[data-theme="light"] header .border-white\/10 { border-color: rgba(0,0,0,0.08) !important; }

/* ---- Hero section background ---- */
[data-theme="light"] .hero-bg {
    background: #f4f5f9;
}
[data-theme="light"] .hero-bg::after {
    background: linear-gradient(180deg, rgba(244,245,249,0.02) 0%, rgba(244,245,249,0.18) 100%);
}
[data-theme="light"] .hero-grid {
    background-image:
        linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}
[data-theme="light"] .hero-editorial-shell::before {
    background: linear-gradient(90deg, rgba(0,0,0,0.18), transparent 78%);
}
[data-theme="light"] .page-hero-bg {
    background:
        radial-gradient(ellipse 82% 62% at 50% -5%, color-mix(in srgb, var(--brand, #3a55f9) 10%, transparent) 0%, transparent 59%),
        radial-gradient(ellipse 42% 32% at 90% 30%, color-mix(in srgb, var(--gradient-accent, #8b5cf6) 5%, transparent) 0%, transparent 54%),
        #f4f5f9;
}

/* ---- Hero eyebrow ---- */
[data-theme="light"] .hero-eyebrow {
    color: rgba(0,0,0,0.5);
}
[data-theme="light"] .hero-eyebrow::before {
    background: rgba(0,0,0,0.2);
}

/* ---- Hero headline ---- */
[data-theme="light"] .hero-title,
[data-theme="light"] h1.hero-title {
    color: #0f0f12;
}

/* ---- Hero subheadline ---- */
[data-theme="light"] .hero-subcopy {
    color: rgba(0,0,0,0.62);
}

/* ---- Hero CTA buttons ---- */
/* btn-primary stays brand-coloured — no override needed */
[data-theme="light"] .hero-cta-primary {
    border-color: transparent;
}
[data-theme="light"] .hero-cta-secondary {
    color: #0f0f12;
    border-color: rgba(0,0,0,0.2);
    background: transparent;
}
[data-theme="light"] .hero-cta-secondary:hover {
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.32);
    color: #0f0f12;
}

/* ---- Hero lead note (small text below CTAs) ---- */
[data-theme="light"] .hero-lead-note {
    color: rgba(0,0,0,0.45);
}

/* ---- Hero trust bar (stat items) ---- */
[data-theme="light"] .hero-trust-bar {
    border-top-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .hero-trust-label {
    color: #0f0f12;
}
[data-theme="light"] .hero-trust-desc {
    color: rgba(0,0,0,0.48);
}

/* ---- Hero trust pills ---- */
[data-theme="light"] .hero-trust-pill {
    color: rgba(0,0,0,0.65);
    border-color: rgba(0,0,0,0.14);
}

/* ---- Hero proof inline items ---- */
[data-theme="light"] .hero-proof-inline-item {
    color: rgba(0,0,0,0.5);
    border-left-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .hero-proof-inline-item strong {
    color: #0f0f12;
}
[data-theme="light"] .hero-proof-inline-copy {
    color: rgba(0,0,0,0.48);
}
[data-theme="light"] .hero-home-shell .hero-proof-inline {
    border-top-color: rgba(0,0,0,0.1);
}

/* ---- Hero logo strip ---- */
[data-theme="light"] .hero-logo-strip-label {
    color: rgba(0,0,0,0.38);
}
[data-theme="light"] .hero-logo-image {
    filter: saturate(0) brightness(0.3) contrast(1.1);
    opacity: 0.55;
}
[data-theme="light"] .hero-logo-card:hover .hero-logo-image {
    filter: saturate(0) brightness(0.2) contrast(1.2);
    opacity: 0.75;
}

/* ---- Hero scroll indicator (inline styles override) ---- */
[data-theme="light"] .hero-home-section [style*="border-color:rgba(255,255,255"] {
    border-color: rgba(0,0,0,0.2) !important;
}
[data-theme="light"] .hero-home-section [style*="background:rgba(255,255,255"] {
    background: rgba(0,0,0,0.3) !important;
}

/* ---- Hero device mockup (split layout) ---- */
[data-theme="light"] .hero-device-browser {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 18%, #f2f4f8 100%);
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 30px 90px rgba(0,0,0,0.12);
}
[data-theme="light"] .hero-device-browser-top {
    background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0.01));
    border-bottom-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .hero-device-url {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.06);
    color: rgba(0,0,0,0.35);
}
[data-theme="light"] .hero-device-browser-body::before {
    background-image:
        linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}
[data-theme="light"] .hero-device-stage {
    filter: drop-shadow(0 38px 110px rgba(0,0,0,0.14));
}


/* ---- Cards ---- */
[data-theme="light"] .card {
    background: #ffffff;
    border-color: rgba(0,0,0,0.07);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
[data-theme="light"] .card:hover {
    border-color: rgba(0,0,0,0.12);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* ---- Sections ---- */
[data-theme="light"] .section-bg-alt {
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 -1px 0 rgba(0,0,0,0.05);
}
[data-theme="light"] .section-bg-tinted {
    background: color-mix(in srgb, var(--brand, #3a55f9) 5%, #f4f5f9);
}
[data-theme="light"] .section-bg-deep {
    background: color-mix(in srgb, #f4f5f9 60%, #e8e9ef);
}
[data-theme="light"] .section-copy { color: rgba(0,0,0,0.65); }
[data-theme="light"] .section-copy-muted { color: rgba(0,0,0,0.58); }

/* ---- Buttons ---- */
[data-theme="light"] .btn-secondary {
    color: #0f0f12;
    border-color: rgba(0,0,0,0.18);
    background: transparent;
}
[data-theme="light"] .btn-secondary:hover {
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.28);
    color: #0f0f12;
}
[data-theme="light"] .btn-secondary:focus-visible {
    outline-color: rgba(0,0,0,0.3);
}

/* ---- Forms & inputs ---- */
[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
    background: #ffffff;
    border-color: rgba(0,0,0,0.15);
    color: #0f0f12;
}
[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder { color: rgba(0,0,0,0.38); }
[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
    border-color: var(--brand, #3a55f9);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand, #3a55f9) 15%, transparent);
}

/* ---- Floating CTA pill ---- */
[data-theme="light"] .floating-cta-pill {
    background: #ffffff;
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* ---- Borders & dividers ---- */
[data-theme="light"] [class*="border-white\/"] { border-color: rgba(0,0,0,0.08) !important; }
[data-theme="light"] .border-white\/10 { border-color: rgba(0,0,0,0.08) !important; }
[data-theme="light"] .border-white\/5  { border-color: rgba(0,0,0,0.05) !important; }
[data-theme="light"] .border-white\/8  { border-color: rgba(0,0,0,0.06) !important; }

/* ---- Tailwind text-white utilities ---- */
/* Catch all text-white/* variants with a single attribute-based rule */
[data-theme="light"] [class*="text-white"] {
    color: #0f0f12 !important;
    -webkit-text-fill-color: unset !important;
}
/* Restore specific opacity levels */
[data-theme="light"] [class*="text-white\/9"]  { color: rgba(0,0,0,0.9) !important; }
[data-theme="light"] [class*="text-white\/8"]  { color: rgba(0,0,0,0.8) !important; }
[data-theme="light"] [class*="text-white\/7"]  { color: rgba(0,0,0,0.7) !important; }
[data-theme="light"] [class*="text-white\/6"]  { color: rgba(0,0,0,0.6) !important; }
[data-theme="light"] [class*="text-white\/5"]  { color: rgba(0,0,0,0.5) !important; }
[data-theme="light"] [class*="text-white\/4"]  { color: rgba(0,0,0,0.4) !important; }
[data-theme="light"] [class*="text-white\/3"]  { color: rgba(0,0,0,0.3) !important; }
[data-theme="light"] [class*="text-white\/2"]  { color: rgba(0,0,0,0.2) !important; }
/* Keep explicit named overrides for safety */
[data-theme="light"] .text-white        { color: #0f0f12 !important; }
[data-theme="light"] .text-white\/95    { color: rgba(0,0,0,0.93) !important; }
[data-theme="light"] .text-white\/90    { color: rgba(0,0,0,0.88) !important; }
[data-theme="light"] .text-white\/80    { color: rgba(0,0,0,0.78) !important; }
[data-theme="light"] .text-white\/70    { color: rgba(0,0,0,0.68) !important; }
[data-theme="light"] .text-white\/60    { color: rgba(0,0,0,0.58) !important; }
[data-theme="light"] .text-white\/50    { color: rgba(0,0,0,0.48) !important; }
[data-theme="light"] .text-white\/40    { color: rgba(0,0,0,0.38) !important; }
[data-theme="light"] .text-white\/30    { color: rgba(0,0,0,0.28) !important; }
[data-theme="light"] .text-white\/20    { color: rgba(0,0,0,0.18) !important; }

/* ---- Tailwind bg-white utilities ---- */
[data-theme="light"] [class*="bg-white\/"] { background: rgba(0,0,0,0.04) !important; }
[data-theme="light"] .bg-white\/5   { background: rgba(0,0,0,0.03) !important; }
[data-theme="light"] .bg-white\/8   { background: rgba(0,0,0,0.05) !important; }
[data-theme="light"] .bg-white\/10  { background: rgba(0,0,0,0.06) !important; }
[data-theme="light"] .bg-white\/\[0\.04\] { background: rgba(0,0,0,0.03) !important; }
[data-theme="light"] .bg-white\/\[0\.06\] { background: rgba(0,0,0,0.04) !important; }
[data-theme="light"] .bg-neutral-950 { background: #f4f5f9 !important; }
[data-theme="light"] .bg-\[\#0a0a0b\] { background: #f4f5f9 !important; }
[data-theme="light"] .bg-\[\#0c0c0e\] { background: #f4f5f9 !important; }

/* ---- Cursor glow ---- */
[data-theme="light"] #cursor-glow {
    mix-blend-mode: multiply;
    background: radial-gradient(
        circle 320px at var(--cx, 50%) var(--cy, 50%),
        color-mix(in srgb, var(--brand, #3a55f9) 8%, transparent),
        transparent 70%
    );
}

/* ---- Smooth theme transition ---- */
html { transition: background-color 0.25s ease, color 0.25s ease; }
body,
.site-nav-shell,
.card,
.hero-bg,
.section-bg-alt,
.section-bg-tinted,
.section-bg-deep {
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

/* ---- Pain/quote cards ---- */
[data-theme="light"] .pain-quote-card {
    background: #ffffff;
    border-color: rgba(0,0,0,0.07);
}
[data-theme="light"] .pain-quote-text { color: rgba(0,0,0,0.88); }
[data-theme="light"] .pain-quote-source { color: rgba(0,0,0,0.48); }
[data-theme="light"] .solve-card {
    background: #ffffff;
    border-color: rgba(0,0,0,0.07);
}
[data-theme="light"] .solve-card-title { color: rgba(0,0,0,0.92); }
[data-theme="light"] .solve-card-text { color: rgba(0,0,0,0.8); }
[data-theme="light"] .solve-card-kicker { color: rgba(0,0,0,0.48); }

/* ---- Contrast table ---- */
[data-theme="light"] .contrast-table-wrap {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .contrast-table-head { background: rgba(0,0,0,0.03); }
[data-theme="light"] .contrast-table-head > div { color: rgba(0,0,0,0.6); }
[data-theme="light"] .contrast-table-head > div + div,
[data-theme="light"] .contrast-table-cell + .contrast-table-cell { border-left-color: rgba(0,0,0,0.07); }
[data-theme="light"] .contrast-table-row { border-top-color: rgba(0,0,0,0.07); }
[data-theme="light"] .contrast-table-cell-them { color: rgba(0,0,0,0.45); }
[data-theme="light"] .contrast-table-cell-us { color: #0f0f12; }

/* ---- Tags ---- */
[data-theme="light"] .tag {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.12);
    color: rgba(0,0,0,0.65);
}

/* ---- Tags ---- */
[data-theme="light"] .tag {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.12);
    color: rgba(0,0,0,0.65);
}

/* ---- Service subnav "Also available" pills ---- */
[data-theme="light"] .service-subnav-link {
    color: rgba(0,0,0,0.75);
    border-color: rgba(0,0,0,0.12);
}
[data-theme="light"] .service-subnav-link:hover {
    color: #0f0f12;
    border-color: color-mix(in srgb, var(--brand, #0410ff) 40%, transparent);
}
[data-theme="light"] .service-subnav-label { color: rgba(0,0,0,0.5); }

/* ---- Testimonial cards ---- */
[data-theme="light"] .testimonial-card {
    background: #ffffff;
    border-color: rgba(0,0,0,0.07);
}
[data-theme="light"] .testimonial-quote {
    color: rgba(0,0,0,0.82);
}
[data-theme="light"] .testimonial-lead-card,
[data-theme="light"] .testimonial-side-card {
    background: #ffffff;
    border-color: rgba(0,0,0,0.07);
}

/* ---- Work meta chip ---- */
[data-theme="light"] .work-meta-chip {
    border-color: rgba(0,0,0,0.12);
    color: rgba(0,0,0,0.55);
}

/* ---- Service clean card ---- */
[data-theme="light"] .service-clean-card {
    background: #ffffff;
    border-color: rgba(0,0,0,0.07);
}
[data-theme="light"] .service-clean-media {
    background: rgba(0,0,0,0.04);
}
[data-theme="light"] .work-item-info-strip {
    border-color: rgba(0,0,0,0.08);
    background: #ffffff;
}
[data-theme="light"] .work-item-icon-wrap { background: rgba(0,0,0,0.05); }

/* ---- Work item inline CTA card ---- */
[data-theme="light"] .work-item-cta-card {
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.08);
}
[data-theme="light"] .work-item-border-t { border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .work-item-more-section { border-top-color: rgba(0,0,0,0.08); }
[data-theme="light"] .cta-section {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.07);
}

/* ---- Audience proof ---- */
[data-theme="light"] .audience-proof-note { border-top-color: rgba(0,0,0,0.08); }
[data-theme="light"] .audience-proof-kicker { color: rgba(0,0,0,0.45); }

/* ---- Service editorial ---- */
[data-theme="light"] .service-editorial-section {
    background: #f4f5f9;
    border-top-color: rgba(0,0,0,0.07);
}
[data-theme="light"] .service-editorial-copy p { color: rgba(0,0,0,0.7); }
[data-theme="light"] .service-editorial-highlight { color: #0f0f12; }
[data-theme="light"] .service-editorial-label { color: rgba(0,0,0,0.5); }

/* ---- Service grid ---- */
[data-theme="light"] .service-grid-cell {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .service-grid-icon-wrap {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.07);
}
[data-theme="light"] .service-grid-tag {
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.08);
    color: rgba(0,0,0,0.6);
}

/* ---- Form optional panel ---- */
[data-theme="light"] .form-optional-panel {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .form-optional-summary { color: rgba(0,0,0,0.75); }
[data-theme="light"] .hero-form-note { color: rgba(0,0,0,0.45); }

/* ---- Work item pills ---- */
[data-theme="light"] .work-item-hero-pill {
    background: rgba(0,0,0,0.06);
    color: rgba(0,0,0,0.7);
}
[data-theme="light"] .work-item-back-link { color: rgba(0,0,0,0.5); }
[data-theme="light"] .work-item-back-link:hover { color: rgba(0,0,0,0.85); }

/* ---- Footer ---- */
[data-theme="light"] footer,
[data-theme="light"] .footer-shell { background: #ecedf2; }
[data-theme="light"] .footer-pill {
    color: rgba(0,0,0,0.65);
    border-color: rgba(0,0,0,0.15);
}
[data-theme="light"] .footer-pill:hover {
    color: #0f0f12;
    border-color: rgba(0,0,0,0.28);
    background: rgba(0,0,0,0.04);
}
[data-theme="light"] .footer-links a,
[data-theme="light"] .footer-bottom-links a,
[data-theme="light"] .footer-value { color: rgba(0,0,0,0.6); }
[data-theme="light"] .footer-links a:hover,
[data-theme="light"] .footer-bottom-links a:hover,
[data-theme="light"] .footer-value:hover { color: #0f0f12; }
[data-theme="light"] .footer-copy { color: rgba(0,0,0,0.5); }

/* ==================== Shro-simple layout system ==================== */
main h1,
main h2,
main h3,
.premium-hero h1,
.hero-title-premium {
    font-weight: 600 !important;
}

.premium-hero {
    min-height: clamp(38rem, 78vh, 48rem) !important;
    background: #09090a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-hero::before {
    display: none;
}

.hero-eyebrow-premium {
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
}

.home-capability-strip {
    background: #09090a;
}

.home-capability-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.home-capability-item:last-child {
    border-bottom: 0;
}

.home-capability-item strong {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
}

.home-capability-item span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    line-height: 1.5;
}

.section-bg-alt,
.section-bg-deep {
    background: #09090a;
}

.py-premium {
    padding-top: clamp(5rem, 9vw, 8rem);
    padding-bottom: clamp(5rem, 9vw, 8rem);
}

.btn-primary {
    box-shadow: none;
}

.btn-primary:hover {
    transform: none;
}

header .nav-top-link {
    font-size: 0.78rem;
}

footer {
    padding-top: 5rem !important;
}

footer .footer-brand p {
    max-width: 22rem;
}

@media (min-width: 768px) {
    .home-capability-item {
        padding: 1.75rem 2rem;
        border-bottom: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .home-capability-item:first-child {
        padding-left: 0;
    }

    .home-capability-item:last-child {
        padding-right: 0;
        border-right: 0;
    }
}

@media (max-width: 640px) {
    .premium-hero {
        min-height: auto !important;
        padding-top: 8rem;
        padding-bottom: 4.5rem;
    }

    .hero-title-premium {
        max-width: 100%;
    }

    .home-capability-item:last-child {
        border-bottom: 0;
    }

    .py-premium {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    footer {
        padding-top: 4rem !important;
    }
}

/* ---- Scroll indicator base styles ---- */
.hero-scroll-track { border-color: rgba(255,255,255,0.18); }
.hero-scroll-dot   { background: rgba(255,255,255,0.55); }
[data-theme="light"] .hero-scroll-track { border-color: rgba(0,0,0,0.2); }
[data-theme="light"] .hero-scroll-dot   { background: rgba(0,0,0,0.35); }

/* ---- SVG logo: light variant is already black — no filter needed ---- */
[data-theme="light"] .nav-logo-link:hover .nav-logo-image,
[data-theme="light"] .nav-logo-link:focus-visible .nav-logo-image {
    filter: none;
}

/* ---- CTA dark card (work page, service pages) ---- */
.cta-dark-card {
    background: linear-gradient(180deg, rgba(36,40,58,0.78) 0%, rgba(28,31,46,0.72) 100%);
    border: 0;
    box-shadow: none;
}
.cta-dark-card-heading { color: #ffffff; }
.cta-dark-card-secondary {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
}
.cta-dark-card-secondary:hover {
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    border-color: rgba(255,255,255,0.3);
}

[data-theme="light"] .cta-dark-card {
    background: #1e2235;
}
[data-theme="light"] .cta-dark-card-heading { color: #ffffff; }
[data-theme="light"] .cta-dark-card-secondary {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    border-color: rgba(255,255,255,0.25);
}
[data-theme="light"] .cta-dark-card-secondary:hover {
    background: rgba(255,255,255,0.2);
    color: #ffffff;
}

/* ---- Work item info strip base styles ---- */
.work-item-info-strip {
    border-color: rgba(255,255,255,0.06);
}
.work-item-icon-wrap {
    background: rgba(255,255,255,0.05);
}
.work-item-cta-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}
.work-item-border-t { border-color: rgba(255,255,255,0.06); }
.work-item-more-section { border-top: 1px solid rgba(255,255,255,0.06); }

/* ==================== Site Review Popup ==================== */
.review-popup-card {
    position: relative;
    background: var(--surface, #141418);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0;
    padding: 2rem 1.5rem;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

@media (min-width: 640px) {
    .review-popup-card {
        border-radius: 1rem;
        padding: 1.75rem;
        height: auto;
        overflow-y: visible;
        box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 4px 16px rgba(0,0,0,0.2);
    }
}

.review-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: color-mix(in srgb, var(--text-primary, #fff) 50%, transparent);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    z-index: 1;
}
.review-popup-close:hover {
    background: color-mix(in srgb, var(--text-primary, #fff) 8%, transparent);
    color: var(--text-primary, #fff);
}

.review-popup-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand, #3a55f9);
    margin-bottom: 0.5rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .review-popup-eyebrow { margin-top: 0; }
}

.review-popup-heading {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--text-primary, #fff);
    margin-bottom: 0.6rem;
    text-wrap: balance;
}

.review-popup-sub {
    font-size: 0.875rem;
    line-height: 1.6;
    color: color-mix(in srgb, var(--text-primary, #fff) 58%, transparent);
    margin-bottom: 1.25rem;
}

.review-popup-form { display: flex; flex-direction: column; gap: 0; }

.review-popup-field { margin-bottom: 0.85rem; }

.review-popup-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: color-mix(in srgb, var(--text-primary, #fff) 70%, transparent);
    margin-bottom: 0.35rem;
}

.review-popup-input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: 0.5rem;
    background: color-mix(in srgb, var(--text-primary, #fff) 5%, transparent);
    border: 1px solid color-mix(in srgb, var(--text-primary, #fff) 12%, transparent);
    color: var(--text-primary, #fff);
    font-size: 0.9rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    outline: none;
}
.review-popup-input::placeholder {
    color: color-mix(in srgb, var(--text-primary, #fff) 30%, transparent);
}
.review-popup-input:focus {
    border-color: var(--brand, #3a55f9);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand, #3a55f9) 18%, transparent);
}
.review-popup-input-error {
    border-color: rgba(248,113,113,0.6) !important;
    box-shadow: 0 0 0 3px rgba(248,113,113,0.12) !important;
}

.review-popup-error {
    font-size: 0.75rem;
    color: rgba(248,113,113,0.95);
    margin-top: 0.3rem;
}

.review-popup-submit { margin-top: 0.25rem; min-height: 2.8rem; }

.review-popup-note {
    text-align: center;
    font-size: 0.75rem;
    color: color-mix(in srgb, var(--text-primary, #fff) 38%, transparent);
    margin-top: 0.65rem;
}

.review-popup-success {
    text-align: center;
    padding: 0.5rem 0;
}
.review-popup-success-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand, #3a55f9) 15%, transparent);
    color: var(--brand, #3a55f9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Light mode */
[data-theme="light"] .review-popup-card {
    background: #ffffff;
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 24px 64px rgba(0,0,0,0.14), 0 4px 16px rgba(0,0,0,0.08);
}
[data-theme="light"] .review-popup-heading { color: #0f0f12; }
[data-theme="light"] .review-popup-sub { color: rgba(0,0,0,0.55); }
[data-theme="light"] .review-popup-label { color: rgba(0,0,0,0.65); }
[data-theme="light"] .review-popup-note { color: rgba(0,0,0,0.38); }
[data-theme="light"] .review-popup-input {
    background: #f8f9fc;
    border-color: rgba(0,0,0,0.14);
    color: #0f0f12;
}
[data-theme="light"] .review-popup-input::placeholder { color: rgba(0,0,0,0.32); }
[data-theme="light"] .review-popup-close {
    color: rgba(0,0,0,0.45);
}
[data-theme="light"] .review-popup-close:hover {
    background: rgba(0,0,0,0.06);
    color: #0f0f12;
}

/* ==================== GLOBAL SQUARE THEME OVERRIDES ==================== */
.text-brand {
    color: var(--brand, #3a55f9) !important;
}
.bg-brand {
    background-color: var(--brand, #3a55f9) !important;
}

.btn-primary,
button,
select,
textarea,
input,
nav,
header,
header nav,
.site-nav-shell,
.card,
.rounded-sm,
.rounded,
.rounded-md,
.rounded-lg,
.rounded-xl,
.rounded-2xl,
.rounded-3xl,
.rounded-full,
.rounded-\[2\.5rem\],
.rounded-\[2rem\] {
    border-radius: 0px !important;
}

/* ==================== UI ENHANCEMENTS ==================== */

/* Suggestion 4: Footer hover slide highlights */
.footer-nav-link {
    position: relative;
    display: inline-block;
    color: rgba(255, 255, 255, 0.4) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--brand, #3a55f9);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-nav-link:hover {
    color: #ffffff !important;
}
.footer-nav-link:hover::after {
    transform: scaleX(1);
}

/* Suggestion 7: Interactive Hover Cards on Services */
.home-service-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease, background-color 0.5s ease, box-shadow 0.5s ease !important;
}
.home-service-card:hover {
    transform: translateY(-4px) scale(1.01) !important;
    background-color: rgba(255, 255, 255, 0.035) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: inset 0 0 12px rgba(58, 85, 249, 0.08), 0 16px 32px -8px rgba(0, 0, 0, 0.4) !important;
}

/* Suggestion 19: Custom Scrollbars (Square Dark Theme) */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
    background: #080809;
}
::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 0px !important;
}
::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

/* ==================== Editorial Styling ==================== */

/* Problem Quote Typography */
.problem-quote {
    font-family: inherit;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.32;
    letter-spacing: -0.02em;
}

/* Subtle Problem -> Solution Separators */
.problem-solution-row {
    position: relative;
    transition: background-color 0.3s ease;
}
.problem-solution-row:hover {
    background-color: rgba(255, 255, 255, 0.015);
}

/* Featured Work Story Rows */
.work-story-row {
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-story-row:hover .work-story-image {
    transform: scale(1.02);
}
.work-story-image {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==================== Hero Atmosphere: Bleed, Grain, Animated Gradient ==================== */
.hero-atmospheric-mesh {
    z-index: 1;
    overflow: hidden;
    /* Rich radial gradient base creating natural depth */
    background: 
        radial-gradient(ellipse 80% 60% at 75% 20%, rgba(58, 85, 249, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 65% 50% at 20% 70%, rgba(79, 70, 229, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 50% 0%, rgba(139, 92, 246, 0.10) 0%, transparent 50%),
        #09090a;
}

/* Fluid moving ambient gradient orbs */
.hero-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    will-change: transform, opacity;
}

.hero-glow-orb-1 {
    width: min(750px, 85vw);
    height: min(750px, 85vw);
    top: -20%;
    right: 5%;
    background: radial-gradient(circle, rgba(58, 85, 249, 0.30) 0%, rgba(99, 102, 241, 0.12) 40%, transparent 70%);
    animation: hero-gradient-flow-1 14s ease-in-out infinite alternate;
}

.hero-glow-orb-2 {
    width: min(650px, 80vw);
    height: min(650px, 80vw);
    bottom: -15%;
    left: -10%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.24) 0%, rgba(58, 85, 249, 0.08) 45%, transparent 70%);
    animation: hero-gradient-flow-2 18s ease-in-out infinite alternate;
}

.hero-glow-orb-3 {
    width: min(500px, 60vw);
    height: min(500px, 60vw);
    top: 30%;
    left: 35%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.20) 0%, rgba(58, 85, 249, 0.05) 50%, transparent 70%);
    animation: hero-gradient-flow-3 12s ease-in-out infinite alternate;
}

/* Micro-fine animated noise texture - subtle, velvety, high-density grain */
.hero-noise-overlay {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    opacity: 0.11;
    mix-blend-mode: color-dodge;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-size: 80px 80px;
    background-repeat: repeat;
    pointer-events: none;
    animation: hero-noise-shift 0.4s steps(3) infinite;
}

/* Bleed effect: seamlessly fades down into the section below */
.hero-bottom-bleed {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 180px;
    background: linear-gradient(to bottom, rgba(9, 9, 10, 0) 0%, rgba(9, 9, 10, 0.6) 50%, #09090a 100%);
    pointer-events: none;
}

@keyframes hero-noise-shift {
    0% { transform: translate(0, 0); }
    33% { transform: translate(-3%, 2%); }
    66% { transform: translate(2%, -3%); }
    100% { transform: translate(0, 0); }
}

@keyframes hero-gradient-flow-1 {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-50px, 40px, 0) scale(1.12);
    }
    100% {
        transform: translate3d(30px, 70px, 0) scale(0.92);
    }
}

@keyframes hero-gradient-flow-2 {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(60px, -40px, 0) scale(1.15);
    }
    100% {
        transform: translate3d(-20px, -70px, 0) scale(0.9);
    }
}

@keyframes hero-gradient-flow-3 {
    0% {
        transform: translate3d(0, 0, 0) scale(0.95);
    }
    50% {
        transform: translate3d(-30px, 30px, 0) scale(1.1);
    }
    100% {
        transform: translate3d(40px, -20px, 0) scale(1);
    }
}

@media (max-width: 640px) {
    .hero-glow-orb-1 {
        width: 110vw;
        height: 110vw;
        top: -10%;
        right: -20%;
        filter: blur(60px);
    }
    .hero-glow-orb-2 {
        width: 90vw;
        height: 90vw;
        bottom: -10%;
        left: -15%;
        filter: blur(60px);
    }
    .hero-glow-orb-3 {
        display: none;
    }
    .hero-noise-overlay {
        opacity: 0.08;
    }
    .hero-bottom-bleed {
        height: 110px;
    }
}




/* ==================== Sticky stacked work cards (homepage) ==================== */
/* Each featured project pins below the fixed nav; the next card slides up over it
   as you scroll. Staggered top offsets let the covered card's edge peek out,
   so the pile reads as a stack rather than a flat replacement. */
.work-stack-card {
    position: sticky;
    top: 4.75rem;
    /* Uniform card size: every card fills the same height (viewport minus pin
       offset and breathing room); content centers vertically inside. */
    min-height: calc(100vh - 9rem);
    min-height: calc(100svh - 9rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.55);
}

.work-stack-card > div:first-child { width: 100%; }

@media (min-width: 768px) {
    .work-stack-card { top: 5.5rem; min-height: calc(100vh - 10rem); min-height: calc(100svh - 10rem); }
    .work-stack-card:nth-child(2) { top: 6.25rem; }
    .work-stack-card:nth-child(3) { top: 7rem; }
    .work-stack-card:nth-child(4) { top: 7.75rem; }
    .work-stack-card:nth-child(5) { top: 8.5rem; }
    .work-stack-card:nth-child(n+6) { top: 9.25rem; }
}

/* Background photo treatment for the stacked work cards (same idea as the
   aviation project board): dimmed photo behind the card content with a scrim
   so headline, description and quote stay readable. */
.work-stack-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 46%;
    opacity: 0.42;
    filter: saturate(0.9) brightness(0.85);
    pointer-events: none;
}

.work-stack-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,11,0.82) 0%, rgba(10,10,11,0.58) 45%, rgba(10,10,11,0.85) 100%);
    pointer-events: none;
}

/* ==================== Modern Form UX & Validation ==================== */
#contact-form input:user-valid,
#contact-form textarea:user-valid,
#contact-form select:user-valid {
    border-color: rgba(16, 185, 129, 0.4);
}

#contact-form input:user-invalid,
#contact-form textarea:user-invalid,
#contact-form select:user-invalid {
    border-color: rgba(239, 68, 68, 0.6);
    background-color: rgba(239, 68, 68, 0.02);
}

.form-error {
    display: none;
    font-size: 0.75rem;
    color: #f87171;
    margin-top: 0.5rem;
}

.form-error-visible {
    display: block !important;
}

/* Accessible focus visible outlines */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--brand, #3a55f9) !important;
    outline-offset: 2px !important;
}

/* Mobile Touch & Haptic Micro-Interactions */
.mobile-nav-link:active,
.btn-primary:active,
.btn-secondary:active {
    transform: scale(0.98);
}


/* ==================== STORY ANIMATIONS (.sa) ====================
   Scroll-triggered marketing animations. Markup lives in
   app/Views/components/anim/*. Everything renders in its END state by
   default; `.js-enabled .sa:not(.is-in)` holds the start state until
   app.js adds `.is-in`, so no-JS and pre-rendered HTML stay readable. */
.sa { --sa-ease: cubic-bezier(.16, 1, .3, 1); }

/* Shared: browser frame */
.sa-browser { border: 1px solid rgba(255,255,255,.12); background: #111113; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.sa-browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.sa-browser-bar > i { width: 8px; height: 8px; background: rgba(255,255,255,.18); }
.sa-browser-url { margin-left: 10px; flex: 1; padding: 4px 12px; background: rgba(255,255,255,.05); color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Shared: rolling digit reels (built by app.js from [data-sa-reel]) */
.sa-reel-col { display: inline-block; height: 1.1em; line-height: 1.1; overflow: hidden; vertical-align: bottom; }
.sa-reel-strip { display: block; transition: transform calc(1.5s + var(--i, 0) * .3s) cubic-bezier(.2, .8, .2, 1) .2s; will-change: transform; }
.sa-reel-strip > span { display: block; height: 1.1em; }
.sa.is-in .sa-reel-strip { transform: translateY(calc(var(--steps) * -1.1em)); animation: saReelBlur calc(1.3s + var(--i, 0) * .3s) ease-out .2s both; }
@keyframes saReelBlur {
    0%, 55% { filter: blur(5px); opacity: .75; }
    100%    { filter: blur(0); opacity: 1; }
}

/* 1 — Invisible in search */
.sa-dim { color: rgba(255,255,255,.16); transition: color 1.4s ease 1.2s; }
.js-enabled .sa:not(.is-in) .sa-dim { color: #fff; }
.sa-serp-panel { max-width: 520px; width: 100%; margin-left: auto; }
.sa-search { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #fff; font-size: 1.125rem; min-height: 60px; }
.sa-search svg { width: 20px; height: 20px; flex: none; color: var(--brand-400, var(--brand)); }
.sa-caret { width: 2px; height: 1.1em; margin-left: -10px; background: var(--brand-400, var(--brand)); animation: tw-blink .85s step-end infinite; }
.sa-results { margin-top: 28px; display: grid; gap: 22px; padding: 0 8px; }
.sa-result { display: grid; gap: 8px; transition: opacity .6s var(--sa-ease), transform .6s var(--sa-ease); transition-delay: calc(1.1s + var(--i, 0) * .14s); }
.sa-result b { display: block; height: 6px; background: rgba(255,255,255,.1); }
.sa-result b.sa-result-title { height: 12px; background: rgba(255,255,255,.22); }
.sa-result-head { display: flex; align-items: center; gap: 10px; }
.sa-result-head > i { width: 22px; height: 22px; flex: none; background: rgba(255,255,255,.14); }
.sa-result-head > div { flex: 1; display: grid; gap: 5px; }
.sa-result-you { padding: 14px 16px; border: 1px dashed rgba(255,255,255,.18); opacity: .4; }
.sa-result-you span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: rgba(255,255,255,.7); }
.js-enabled .sa:not(.is-in) .sa-result { opacity: 0; transform: translateY(14px); }

/* 2 — On-page callouts */
.sa-browser-wrap { position: relative; padding: 22px 18px; }
.sa-browser-screen { position: relative; aspect-ratio: 718 / 466; overflow: hidden; }
/* crops the laptop mockup image down to just its screen area */
.sa-browser-screen img { position: absolute; max-width: none; width: 150.42%; height: auto; left: -25.21%; top: -65.67%; }
.sa-outline { position: absolute; border: 2px solid var(--brand-400, var(--brand)); background: rgba(29, 78, 216, .12); clip-path: inset(0); transition: clip-path .7s var(--sa-ease); transition-delay: calc(.3s + var(--i, 0) * .45s); }
.sa-outline-heading { left: 14.5%; top: 18.5%; width: 36%; height: 16.5%; }
.sa-outline-meta    { left: 13.8%; top: 79%;   width: 73%; height: 8%; }
.sa-outline-alt     { left: 13.8%; top: 90.5%; width: 73%; height: 9.5%; border-bottom: 0; }
.js-enabled .sa:not(.is-in) .sa-outline { clip-path: inset(0 100% 0 0); }
.sa-tag { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 30px -8px var(--brand); transition: opacity .45s ease, transform .6s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(.55s + var(--i, 0) * .45s); }
.sa-tag svg { width: 18px; height: 18px; padding: 3px; background: #fff; color: var(--brand); }
.sa-tag-title   { top: 0; right: 12%; }
.sa-tag-heading { top: 15%; left: 0; }
.sa-tag-meta    { bottom: 13%; right: 0; }
.sa-tag-alt     { bottom: 0; left: 16%; }
.js-enabled .sa:not(.is-in) .sa-tag { opacity: 0; transform: translateY(10px) scale(.8); }

/* 3 — Rolling result band */
.sa-band { background: var(--brand); color: #fff; }
.sa-band-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.8); margin-bottom: 1.5rem; }
.sa-band-number { color: #fff; font-family: var(--font-accent, inherit); font-weight: 800; font-size: clamp(6rem, 22vw, 15rem); line-height: 1.1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.sa-stars { display: flex; justify-content: center; gap: 10px; margin: .5rem 0 1.75rem; }
.sa-stars span { width: clamp(26px, 4vw, 40px); transition: opacity .3s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(1.9s + var(--i, 0) * .12s); }
.js-enabled .sa:not(.is-in) .sa-stars span { opacity: 0; transform: scale(.2) rotate(-30deg); }
.sa-band-caption { max-width: 34rem; margin: 0 auto; font-size: 1.0625rem; line-height: 1.6; color: rgba(255,255,255,.9); }
.sa-band-caption a { display: inline-block; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; color: #fff; }
.sa-rise { max-width: 420px; margin: 4rem auto 0; display: grid; gap: 8px; text-align: left; }
.sa-rise-row { height: 44px; display: flex; align-items: center; gap: 14px; padding: 0 16px; background: rgba(255,255,255,.1); transition: transform .9s var(--sa-ease) 2.6s, background-color .6s ease 3.2s, color .6s ease 3.2s; }
.sa-rise-row em { font-style: normal; font-weight: 700; font-size: 12px; opacity: .6; width: 12px; }
.sa-rise-row span { font-size: 13px; font-weight: 600; }
.sa-rise-row b { height: 6px; background: currentColor; opacity: .25; flex: 1; max-width: 46%; }
.sa-rise-row.sa-rise-you { background: #fff; color: var(--brand); position: relative; z-index: 1; }
.js-enabled .sa:not(.is-in) .sa-rise-row { transform: translateY(-52px); }
.js-enabled .sa:not(.is-in) .sa-rise-row.sa-rise-you { transform: translateY(104px); background: rgba(255,255,255,.1); color: #fff; }
.sa-rise-row em { transition: opacity .3s ease 2.6s; }
.js-enabled .sa:not(.is-in) .sa-rise-row em { opacity: 0; }
.sa-rise-note { margin-top: 1.25rem; font-size: .875rem; color: rgba(255,255,255,.75); }

/* 4 — Sub-second load */
.sa-load, .sa-apps { max-width: 360px; margin-top: 2.5rem; }
.sa-load-page { padding: 14px; display: grid; gap: 8px; }
.sa-load-page b { display: block; height: 8px; background: rgba(255,255,255,.14); transform-origin: left; transition: transform .35s var(--sa-ease), opacity .2s ease; transition-delay: calc(.25s + var(--i, 0) * .09s); }
.sa-load-page b.sa-load-hero { height: 64px; background: linear-gradient(135deg, var(--brand), rgba(29, 78, 216, .35)); }
.sa-load-page > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.sa-load-page > div b { height: 38px; background: rgba(255,255,255,.07); }
.js-enabled .sa:not(.is-in) .sa-load-page b { transform: scaleX(0); opacity: 0; }
.sa-load-stat { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; }
.sa-load-time { font-family: var(--font-accent, inherit); font-weight: 800; font-size: 2.5rem; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.sa-load-done { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--color-green, #10b981); transition: opacity .4s ease 2s; }
.js-enabled .sa:not(.is-in) .sa-load-done { opacity: 0; }
.sa-load-slow { margin-top: 14px; display: grid; gap: 6px; font-size: 11px; color: rgba(255,255,255,.4); }
.sa-load-slow i { display: block; height: 4px; background: rgba(255,255,255,.08); }
.sa-load-slow u { display: block; height: 100%; width: 100%; background: rgba(255,255,255,.3); transform: scaleX(.62); transform-origin: left; transition: transform 7s cubic-bezier(.1, .6, .3, 1) .25s; }
.js-enabled .sa:not(.is-in) .sa-load-slow u { transform: scaleX(0); }

/* 5 — Twenty apps into one theme */
.sa-apps-grid { position: relative; display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.sa-apps-grid > i { aspect-ratio: 1; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); opacity: 0; transform: translateY(18px) scale(.4) rotate(12deg); transition: opacity .35s ease, transform .5s cubic-bezier(.6, -.3, .7, .4); transition-delay: calc(.5s + var(--i, 0) * .07s); }
.js-enabled .sa:not(.is-in) .sa-apps-grid > i { opacity: 1; transform: none; }
.sa-apps-one { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; clip-path: inset(0); transition: clip-path .8s var(--sa-ease) 2.1s; }
.js-enabled .sa:not(.is-in) .sa-apps-one { clip-path: inset(0 50% 0 50%); }
.sa-apps-count { margin-top: 14px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: rgba(255,255,255,.5); }
.sa-apps-count span { color: #fff; font-size: 1.5rem; font-family: var(--font-accent, inherit); font-weight: 800; letter-spacing: 0; margin-right: 6px; font-variant-numeric: tabular-nums; }

@media (max-width: 1023px) {
    .sa-serp-panel { margin-left: 0; }
}
@media (min-width: 1024px) {
    .sa-browser-wrap { padding-left: 60px; }
    .sa-tag-heading { top: 31%; }
}
@media (max-width: 480px) {
    .sa-tag { font-size: 11px; padding: 7px 10px 7px 8px; gap: 6px; }
    .sa-tag svg { width: 15px; height: 15px; }
    .sa-browser-wrap { padding: 20px 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .sa, .sa * { transition: none !important; animation: none !important; }
}
