:root {
    --app-bg: #f4f7fb;
    --app-bg-soft: #eef2ff;
    --app-surface: rgba(255, 255, 255, 0.92);
    --app-surface-strong: #ffffff;
    --app-border: rgba(148, 163, 184, 0.22);
    --app-border-strong: #dbe4f0;
    --app-text: #0f172a;
    --app-text-muted: #64748b;
    --app-primary-rgb: 2, 67, 253;
    --app-primary: #0243fd;
    --app-primary-dark: #0134c8;
    --app-primary-light: #4d7bff;
    --app-primary-soft: rgba(2, 67, 253, 0.12);
    --app-success-bg: #dcfce7;
    --app-success-text: #166534;
    --app-error-bg: #fee2e2;
    --app-error-text: #991b1b;
    --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.09);
    --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.08);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(2, 67, 253, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(77, 123, 255, 0.12), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, var(--app-bg) 100%);
    color: var(--app-text);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.theme-platform {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.theme-store {
    font-family: Arial, sans-serif;
}

.du-page-loader {
    --du-loader-bg: #f7f7f7;
    --du-loader-fg: var(--st-fg, var(--sa-text, var(--app-text)));
    --du-loader-accent: var(--st-accent, var(--sa-primary, var(--app-primary)));
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    gap: 12px;
    align-content: center;
    padding: calc(24px + env(safe-area-inset-top, 0px)) 24px calc(24px + env(safe-area-inset-bottom, 0px));
    background: var(--du-loader-bg);
    color: var(--du-loader-fg);
    opacity: 1;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.du-page-loader[hidden] {
    display: none;
}

.du-page-loader.is-hiding {
    opacity: 0;
    visibility: hidden;
}

.du-page-loader__img {
    width: 72px;
    height: auto;
    display: block;
}

.du-page-loader__text {
    color: var(--du-loader-fg);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

@keyframes du-page-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

body.theme-store .storefront-product-stage.is-loading {
    cursor: progress;
}

body.theme-store .storefront-product-stage.is-loading::before,
body.theme-store .storefront-product-stage.is-loading::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 10;
    pointer-events: none;
}

body.theme-store .storefront-product-stage.is-loading::before {
    inset: 0;
    left: 0;
    top: 0;
    background: color-mix(in srgb, var(--st-bg, #fff) 72%, transparent);
}

body.theme-store .storefront-product-stage.is-loading::after {
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border: 3px solid color-mix(in srgb, var(--st-accent, var(--app-primary)) 22%, transparent);
    border-top-color: var(--st-accent, var(--app-primary));
    border-radius: 999px;
    animation: du-page-loader-spin 0.75s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .du-page-loader,
    body.theme-store .storefront-product-stage.is-loading::after {
        transition: none;
        animation: none;
    }
}

@media print {
    .du-page-loader {
        display: none !important;
    }
}

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

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

a {
    color: var(--app-primary);
    text-decoration: none;
}

a:hover {
    color: var(--app-primary-dark);
}

img {
    max-width: 100%;
}

.st-cookie-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: min(100% - 32px, 720px);
    margin: 0 auto;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 14px;
    background: #ffffff;
    color: #111827;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}

.st-cookie-consent[hidden] {
    display: none;
}

.st-cookie-consent__copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.st-cookie-consent__copy strong {
    font-size: 13px;
    line-height: 1.25;
}

.st-cookie-consent__copy span {
    color: #6b7280;
    font-size: 12.5px;
    line-height: 1.4;
}

.st-cookie-consent__button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid var(--st-accent, var(--app-primary));
    border-radius: 8px;
    background: var(--st-accent, var(--app-primary));
    color: var(--st-accent-fg, var(--app-primary-fg));
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

@media (max-width: 560px) {
    .st-cookie-consent {
        align-items: stretch;
        flex-direction: column;
    }

    .st-cookie-consent__button {
        width: 100%;
    }
}

.site-shell {
    min-height: 100vh;
    padding: 32px 0 64px;
}

.page-container {
    position: relative;
    z-index: 1;
}

.page-heading {
    margin: 0;
    letter-spacing: -0.03em;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: var(--app-primary-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(16px);
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--app-primary), var(--app-primary-light));
    box-shadow: 0 0 0 6px rgba(var(--app-primary-rgb), 0.12);
}

.muted {
    color: var(--app-text-muted);
}

.site-brand-logo {
    display: block;
    max-width: 100%;
    height: auto;
}

.site-brand-logo--wordmark {
    width: 132px;
}

.site-brand-logo--hero {
    width: min(240px, 100%);
}

.site-brand-logo--mobile {
    width: 96px;
}

@media (max-width: 767px) {
    .site-shell {
        padding-top: 20px;
        padding-bottom: 40px;
    }
}
