:root {
    --spm-accent: #2563eb;
    --spm-accent-2: #60a5fa;
    --spm-accent-soft: rgba(37, 99, 235, 0.14);
    --spm-accent-border: rgba(96, 165, 250, 0.42);
}

html[data-spm-theme="gold"] {
    --spm-accent: #d7ad42;
    --spm-accent-2: #f0cf75;
    --spm-accent-soft: rgba(215, 173, 66, 0.16);
    --spm-accent-border: rgba(240, 207, 117, 0.45);
}

html[data-spm-theme="rose"] {
    --spm-accent: #e11d48;
    --spm-accent-2: #fb7185;
    --spm-accent-soft: rgba(225, 29, 72, 0.14);
    --spm-accent-border: rgba(251, 113, 133, 0.42);
}

html[data-spm-theme="teal"] {
    --spm-accent: #0f766e;
    --spm-accent-2: #2dd4bf;
    --spm-accent-soft: rgba(15, 118, 110, 0.15);
    --spm-accent-border: rgba(45, 212, 191, 0.42);
}

html[data-spm-theme="violet"] {
    --spm-accent: #6d28d9;
    --spm-accent-2: #a78bfa;
    --spm-accent-soft: rgba(109, 40, 217, 0.15);
    --spm-accent-border: rgba(167, 139, 250, 0.42);
}

html[data-spm-theme="emerald"] {
    --spm-accent: #16a34a;
    --spm-accent-2: #86efac;
    --spm-accent-soft: rgba(22, 163, 74, 0.14);
    --spm-accent-border: rgba(134, 239, 172, 0.42);
}

html[data-spm-theme="orange"] {
    --spm-accent: #ea580c;
    --spm-accent-2: #fdba74;
    --spm-accent-soft: rgba(234, 88, 12, 0.14);
    --spm-accent-border: rgba(253, 186, 116, 0.42);
}

html[data-spm-theme] .bg-blue-600,
html[data-spm-theme] .bg-blue-500,
html[data-spm-theme] .bg-emerald-600,
html[data-spm-theme] .bg-orange-600,
html[data-spm-theme] .bg-cyan-600,
html[data-spm-theme] .header-customer-login,
html[data-spm-theme] .header-login-toggle,
html[data-spm-theme] .frontpage-ad-cta,
html[data-spm-theme] .brand-mark,
html[data-spm-theme] header > div > a > div:first-child {
    background-color: var(--spm-accent) !important;
}

html[data-spm-theme] .hover\:bg-blue-500:hover,
html[data-spm-theme] .hover\:bg-blue-600:hover,
html[data-spm-theme] .hover\:bg-blue-700:hover,
html[data-spm-theme] .hover\:bg-emerald-600:hover,
html[data-spm-theme] .hover\:bg-emerald-700:hover,
html[data-spm-theme] .hover\:bg-orange-600:hover,
html[data-spm-theme] .hover\:bg-orange-700:hover {
    background-color: var(--spm-accent) !important;
}

html[data-spm-theme] .text-blue-400,
html[data-spm-theme] .text-blue-500,
html[data-spm-theme] .text-blue-600,
html[data-spm-theme] .text-blue-700,
html[data-spm-theme] .text-blue-800,
html[data-spm-theme] .text-blue-200,
html[data-spm-theme] .text-blue-300,
html[data-spm-theme] .text-emerald-400,
html[data-spm-theme] .text-emerald-600,
html[data-spm-theme] .text-emerald-700,
html[data-spm-theme] .text-emerald-800,
html[data-spm-theme] .text-orange-400,
html[data-spm-theme] .text-orange-500,
html[data-spm-theme] .text-orange-600,
html[data-spm-theme] .text-orange-700,
html[data-spm-theme] .text-cyan-300,
html[data-spm-theme] .text-cyan-400,
html[data-spm-theme] .text-cyan-600,
html[data-spm-theme] .brand-title span,
html[data-spm-theme] header > div > a > div:last-child > div:first-child span {
    color: var(--spm-accent-2) !important;
}

html[data-spm-theme] .hover\:text-blue-600:hover,
html[data-spm-theme] .hover\:text-blue-700:hover,
html[data-spm-theme] .hover\:text-blue-900:hover,
html[data-spm-theme] .hover\:text-emerald-300:hover,
html[data-spm-theme] .hover\:text-emerald-700:hover,
html[data-spm-theme] .hover\:text-orange-600:hover,
html[data-spm-theme] .hover\:text-orange-700:hover {
    color: var(--spm-accent-2) !important;
}

html[data-spm-theme] .bg-blue-50,
html[data-spm-theme] .bg-blue-50\/30,
html[data-spm-theme] .bg-blue-50\/40,
html[data-spm-theme] .bg-blue-50\/60,
html[data-spm-theme] .bg-blue-500\/10,
html[data-spm-theme] .bg-emerald-50,
html[data-spm-theme] .bg-emerald-50\/30,
html[data-spm-theme] .bg-emerald-50\/40,
html[data-spm-theme] .bg-emerald-100,
html[data-spm-theme] .bg-emerald-400\/15,
html[data-spm-theme] .bg-orange-50,
html[data-spm-theme] .bg-cyan-500\/15,
html[data-spm-theme] .bg-cyan-500\/25 {
    background-color: var(--spm-accent-soft) !important;
}

html[data-spm-theme] .hover\:bg-blue-50:hover,
html[data-spm-theme] .hover\:bg-blue-50\/30:hover,
html[data-spm-theme] .hover\:bg-blue-50\/40:hover,
html[data-spm-theme] .hover\:bg-emerald-50:hover,
html[data-spm-theme] .hover\:bg-emerald-100:hover,
html[data-spm-theme] .hover\:bg-cyan-500\/25:hover {
    background-color: var(--spm-accent-soft) !important;
}

html[data-spm-theme] .border-blue-100,
html[data-spm-theme] .border-blue-200,
html[data-spm-theme] .border-blue-300,
html[data-spm-theme] .border-blue-300\/20,
html[data-spm-theme] .border-blue-300\/30,
html[data-spm-theme] .border-blue-300\/35,
html[data-spm-theme] .border-blue-300\/70,
html[data-spm-theme] .border-blue-500\/20,
html[data-spm-theme] .border-blue-600,
html[data-spm-theme] .border-emerald-100,
html[data-spm-theme] .border-emerald-200,
html[data-spm-theme] .border-emerald-300,
html[data-spm-theme] .border-emerald-300\/30,
html[data-spm-theme] .border-emerald-300\/70,
html[data-spm-theme] .border-orange-200,
html[data-spm-theme] .border-orange-600,
html[data-spm-theme] .border-cyan-300\/35 {
    border-color: var(--spm-accent-border) !important;
}

html[data-spm-theme] .hover\:border-blue-600:hover,
html[data-spm-theme] .hover\:border-blue-300:hover,
html[data-spm-theme] .hover\:border-emerald-300:hover,
html[data-spm-theme] .hover\:border-emerald-300\/70:hover,
html[data-spm-theme] .hover\:border-cyan-300:hover,
html[data-spm-theme] .hover\:border-cyan-300\/70:hover {
    border-color: var(--spm-accent-border) !important;
}

html[data-spm-theme] .border-blue-900,
html[data-spm-theme] .border-blue-800,
html[data-spm-theme] .border-emerald-900,
html[data-spm-theme] .border-emerald-800 {
    border-color: var(--spm-accent-border) !important;
}

html[data-spm-theme] .bg-blue-950,
html[data-spm-theme] .bg-emerald-950,
html[data-spm-theme] .bg-blue-950\/60,
html[data-spm-theme] .bg-emerald-950\/60,
html[data-spm-theme] .bg-blue-950\/70,
html[data-spm-theme] .bg-emerald-950\/70 {
    background-color: var(--spm-accent-soft) !important;
}

html[data-spm-theme] .from-blue-600,
html[data-spm-theme] .from-emerald-300,
html[data-spm-theme] .from-blue-300 {
    --tw-gradient-from: var(--spm-accent) var(--tw-gradient-from-position) !important;
    --tw-gradient-to: rgba(255, 255, 255, 0) var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

html[data-spm-theme] .to-sky-400,
html[data-spm-theme] .to-blue-400,
html[data-spm-theme] .to-cyan-300,
html[data-spm-theme] .via-teal-400,
html[data-spm-theme] .via-indigo-400 {
    --tw-gradient-to: var(--spm-accent-2) var(--tw-gradient-to-position) !important;
}

html[data-spm-theme] .hero-actions a:first-child {
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.28), transparent 28%),
        linear-gradient(135deg, var(--spm-accent), var(--spm-accent) 48%, var(--spm-accent-2)) !important;
    box-shadow: 0 22px 46px var(--spm-accent-soft) !important;
}

html[data-spm-theme] .hero-actions a:nth-child(2):hover,
html[data-spm-theme] .hero-actions a:last-child,
html[data-spm-theme] .hero-actions a:last-child:hover,
html[data-spm-theme] .hero-attention-strip {
    border-color: var(--spm-accent-border) !important;
    background: var(--spm-accent-soft) !important;
    box-shadow: 0 18px 38px var(--spm-accent-soft) !important;
}

html[data-spm-theme] .hero-attention-dot {
    background: var(--spm-accent-2) !important;
    box-shadow: 0 0 0 7px var(--spm-accent-soft) !important;
}

html[data-spm-theme] .business-more-btn,
html[data-spm-theme] .awareness-float-btn,
html[data-spm-theme] .learn-more-btn,
html[data-spm-theme] .spm-chatbot-toggle,
html[data-spm-theme] .spm-chatbot-avatar,
html[data-spm-theme] .spm-chatbot-message.user,
html[data-spm-theme] .roadmap-step span {
    background: var(--spm-accent) !important;
    color: #fff !important;
}

html[data-spm-theme] .business-more-btn:hover,
html[data-spm-theme] .awareness-float-btn:hover,
html[data-spm-theme] .learn-more-btn:hover,
html[data-spm-theme] .spm-chatbot-toggle:hover {
    background: var(--spm-accent) !important;
    color: #fff !important;
}

html[data-spm-theme] .spm-chatbot-status,
html[data-spm-theme] .spm-chatbot-chip,
html[data-spm-theme] .roadmap-step h4,
html[data-spm-theme] .awareness-copy h3 {
    color: var(--spm-accent-2) !important;
}

html[data-spm-theme] .spm-chatbot-chip,
html[data-spm-theme] .roadmap-step {
    border-color: var(--spm-accent-border) !important;
    background: var(--spm-accent-soft) !important;
}

html[data-spm-theme] .spm-chatbot-chip:hover {
    border-color: var(--spm-accent-border) !important;
    background: var(--spm-accent-soft) !important;
}

html[data-spm-theme] #business-model .lg\:col-span-8 > div {
    border-color: var(--spm-accent-border) !important;
}

html[data-spm-theme] #business-model .lg\:col-span-8 > div > div:first-child {
    background: linear-gradient(90deg, var(--spm-accent), var(--spm-accent-2)) !important;
}

html[data-spm-theme] #business-model .lg\:col-span-8 > div:first-child,
html[data-spm-theme] #business-model .managed-option-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.84), var(--spm-accent-soft)) !important;
    box-shadow: 0 18px 44px var(--spm-accent-soft) !important;
}

html[data-spm-theme] #business-model .lg\:col-span-8 > div:first-child .text-emerald-300,
html[data-spm-theme] #business-model .managed-option-card .text-blue-300 {
    color: var(--spm-accent-2) !important;
}

html[data-spm-theme] #business-model .lg\:col-span-8 > div .w-12.h-12 {
    border-color: var(--spm-accent-border) !important;
    background: var(--spm-accent-soft) !important;
}

html[data-spm-theme] #business-model .grid.gap-2 div {
    border-color: var(--spm-accent-border) !important;
}

html[data-spm-theme] .awareness-item {
    border-color: var(--spm-accent-border) !important;
}

.spm-preference-rail {
    position: fixed;
    left: 0;
    top: 36%;
    z-index: 88;
    display: grid;
    gap: 8px;
    transform: translateX(-2px);
}

.spm-pref-button {
    width: 54px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-left: 0;
    border-radius: 0 18px 18px 0;
    background: rgba(2, 6, 23, 0.72);
    color: #f8fafc;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px);
    transform: translateX(-16px);
    transition: width 180ms ease, transform 180ms ease, background 180ms ease;
}

.spm-pref-button.is-active,
.spm-pref-button:hover {
    width: 124px;
    justify-content: flex-start;
    padding-left: 22px;
    gap: 10px;
    background: var(--spm-accent);
    color: #fff;
    transform: translateX(0);
}

.spm-pref-label {
    display: none;
    font-size: 13px;
}

.spm-pref-button:hover .spm-pref-label {
    display: inline;
}

.spm-pref-button[aria-expanded="true"] .spm-pref-label {
    display: inline;
}

.spm-pref-icon {
    width: 22px;
    height: 22px;
    display: block;
    flex: 0 0 auto;
}

.spm-theme-popover {
    position: fixed;
    left: 74px;
    top: calc(36% + 3px);
    z-index: 89;
    width: min(430px, calc(100vw - 96px));
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.94);
    padding: 20px 22px;
    color: #f8fafc;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
}

.spm-theme-popover.is-closing {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.spm-theme-popover[hidden] {
    display: none;
}

.spm-language-popover {
    position: fixed;
    left: 74px;
    top: calc(36% + 63px);
    z-index: 89;
    width: min(300px, calc(100vw - 96px));
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.94);
    padding: 18px;
    color: #f8fafc;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
}

.spm-language-popover[hidden],
.spm-google-translate-shell {
    display: none;
}

.spm-theme-title {
    margin: 0 0 16px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.spm-language-actions {
    display: grid;
    gap: 10px;
}

.spm-language-option {
    min-height: 42px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 12px;
    background: rgba(2, 6, 23, 0.82);
    color: #f8fafc;
    font-weight: 900;
    text-align: left;
    padding: 10px 12px;
}

.spm-language-option:hover,
.spm-language-option.is-selected {
    border-color: var(--spm-accent-border);
    background: var(--spm-accent);
}

.spm-theme-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.spm-theme-swatch {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 2px solid transparent;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.spm-theme-swatch.is-selected {
    border-color: #f8fafc;
    outline: 3px solid var(--spm-accent);
}

.spm-theme-swatch[data-theme="blue"] { background: linear-gradient(135deg, #2563eb, #22d3ee); }
.spm-theme-swatch[data-theme="gold"] { background: linear-gradient(135deg, #18221d, #d7ad42); }
.spm-theme-swatch[data-theme="rose"] { background: linear-gradient(135deg, #881337, #e11d48); }
.spm-theme-swatch[data-theme="teal"] { background: linear-gradient(135deg, #134e4a, #2dd4bf); }
.spm-theme-swatch[data-theme="violet"] { background: linear-gradient(135deg, #312e81, #8b5cf6); }
.spm-theme-swatch[data-theme="emerald"] { background: linear-gradient(135deg, #14532d, #22c55e); }
.spm-theme-swatch[data-theme="orange"] { background: linear-gradient(135deg, #7c2d12, #f97316); }

@media (max-width: 768px) {
    .spm-preference-rail {
        top: auto;
        bottom: 92px;
    }
    .spm-theme-popover {
        left: 62px;
        top: auto;
        bottom: 84px;
    }
    .spm-language-popover {
        left: 62px;
        top: auto;
        bottom: 24px;
    }
}
