/* 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; }

/* ==================== 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: var(--bg-dark, #0c0c0e);
    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;
}

html { scroll-behavior: smooth; }

body {
    background: #0a0a0b;
    color: var(--text-primary, #ffffff);
    font-size: 17px;
    line-height: 1.7;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.form-error {
    margin-top: 0.4rem;
    font-size: 0.75rem;
    line-height: 1.25rem;
    color: rgba(248, 113, 113, 0.95);
    display: none;
}

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

.form-input-error {
    border-color: rgba(248, 113, 113, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12) !important;
}

.text-neutral-400 {
    color: #ffffff;
}

.text-neutral-300 {
    color: rgba(255,255,255,0.82);
}

/* ==================== Typography ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--text-primary, #ffffff);
    text-wrap: balance;
}

h1 { letter-spacing: -0.05em; line-height: 0.95; }
h2 { letter-spacing: -0.04em; line-height: 1.0; }
h3 { line-height: 1.1; }
p { text-wrap: pretty; }

/* ==================== 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.2s ease;
}

.card:hover {
    border-color: rgba(255,255,255,0.1);
    box-shadow: none;
    transform: none;
}

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

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

/* ==================== 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(12px);
    -webkit-backdrop-filter: blur(12px);
    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: color-mix(in srgb, var(--brand, #1d4ed8) 88%, white 12%);
    box-shadow: none;
    filter: none;
    color: var(--btn-text, #ffffff);
    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 20%, #a78bfa 45%, #60a5fa 65%, #93c5fd 80%, #818cf8 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.03);
    border: 1px solid rgba(255,255,255,0.08);
}

/* ==================== Noise texture overlay ==================== */
.noise {
    position: relative;
}

.noise::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
    pointer-events: none;
    border-radius: inherit;
    z-index: 0;
}

/* ==================== 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;
    }

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

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

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

@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.48);
}
.hero-title-premium {
    font-size: clamp(4.2rem, 7.1vw, 7.4rem);
    letter-spacing: -0.035em;
    line-height: 1.04;
    max-width: 22ch;
}
.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;
    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;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 28px rgba(89,139,255,0.16));
}
.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;
    border-bottom: 1px solid rgba(255,255,255,0.18);
    transition: color 0.18s ease, border-color 0.18s ease;
}
.premium-hero-secondary:hover {
    color: #ffffff;
    border-bottom-color: rgba(255,255,255,0.5);
}
.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: 8.5rem;
    }
    .hero-title-premium {
        max-width: 13.5ch;
        font-size: clamp(3.2rem, 13.5vw, 4.55rem);
        line-height: 1.04;
    }
    .hero-subheadline-premium {
        font-size: 1.04rem;
        line-height: 1.7;
    }
    .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 ==================== */
.grain-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    opacity: 0.014;
    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.72' numOctaves='4' 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 9s steps(4) infinite;
}
@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; }
}
[data-theme="light"] .grain-bg { opacity: 0.022; }

/* ==================== 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); }

/* ---- 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;
}
