/* Shared palette for both locales. Keep brand accents distinct from surfaces. */
:root {
    color-scheme: light;
    --site-page: #ffffff;
    --site-surface: #ffffff;
    --site-muted-surface: #f6f7fa;
    --site-tint: #fcf5f8;
    --site-ink: #182235;
    --site-body: #49566b;
    --site-muted: #657187;
    --site-border: #dfe4ec;
    --site-brand: #d81a60;
    --site-brand-hover: #b81650;
    --site-brand-soft: #fbeaf1;
    --site-shadow: 0 12px 32px rgba(32, 45, 70, 0.06);
}

body {
    background-color: var(--site-page);
    color: var(--site-ink);
}

::selection { background: #f7d7e4; color: var(--site-ink); }
:focus-visible { outline: 2px solid var(--site-brand); outline-offset: 4px; }

/* Existing inner pages share this footer without sharing their HTML. */
body [class~="bg-[#0d1118]"] {
    background: var(--site-muted-surface);
    border-color: var(--site-border);
    color: var(--site-body);
}
[class~="bg-[#0d1118]"] [class*="text-[rgba(226,232,240,"] { color: var(--site-body); }
[class~="bg-[#0d1118]"] [class~="text-[#f8fafc]"] { color: var(--site-ink); }
[class~="bg-[#0d1118]"] [class*="border-[rgba(141,160,213,"] { border-color: var(--site-border); }
[class~="bg-[#0d1118]"] [class*="bg-[rgba(141,160,213,"] { background: var(--site-border); }
[class~="bg-[#0d1118]"] a:hover { color: var(--site-brand); }

/* Transparent controls remain visible on the white navigation bar. */
.navbar-toggler-icon { color: var(--site-ink); }
.navbar-lang-icon > path { stroke: var(--site-ink); }
.navbar-mobile-panel { background: var(--site-surface); color: var(--site-ink); }
.navbar-mobile-panel [class*="text-[rgba(226,232,240,"] { color: var(--site-body); }
.navbar-mobile-panel [class*="text-[rgba(248,250,252,"] { color: var(--site-ink); }
.navbar-mobile-panel [class*="text-[rgba(141,160,213,"] { color: var(--site-muted); }
.navbar-mobile-panel [class*="border-[rgba(141,160,213,"] { border-color: var(--site-border); }
.navbar-mobile-panel a:hover,
.navbar-mobile-panel button:hover { color: var(--site-brand); }
.navbar-mobile-panel a[class~="bg-[#D81A60]"]:hover { color: #fff; }
.navbar-mobile-panel > .flex-1 {
    min-height: 0;
    overflow-y: auto;
    justify-content: flex-start;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
.navbar-mobile-panel > :first-child,
.navbar-mobile-panel > .mobile-nav-items { flex-shrink: 0; }

.site-primary-action {
    background: var(--site-brand);
    color: #fff;
    box-shadow: 0 5px 16px rgba(216, 26, 96, 0.14);
}
.site-primary-action:hover { background: var(--site-brand-hover); }

.page-side-nav-item.is-active {
    background: var(--site-brand-soft);
    color: var(--site-brand);
}
.page-side-nav-item:hover { background: var(--site-brand-soft); color: var(--site-brand); }
.page-side-nav-dot { background: #a4adbb; }
.page-side-nav-item.is-active .page-side-nav-dot { background: var(--site-brand); }

/* White platform wordmarks need a little definition on pale surfaces. */
#hero-platform-switcher img { filter: none; }
