/* Shared appearance settings for the showcase, privacy and support pages. */
:root {
 color-scheme: light;
 --surface: #f3f4f7;
 --raised: #fff;
 --quiet: #e9ebf0;
 --settings-accent: #0665ce;
 --story-people: #f1f2f6;
 --story-history: #f3f4f7;
 --story-drive: #f5f2fb;
 --film-paper: #fff;
 --film-people: #f5f6f8;
 --film-neutral: #f3f4f7;
 --film-drive: #f5f2fb;
 --film-places: #f1f6f8;
}
:root[data-theme="dark"] {
 color-scheme: dark;
 --ink: #f4f5f8;
 --muted: #a6adbb;
 --blue: #6bb0ff;
 --accent: #5ca8ff;
 --live: #bf87ef;
 --arrival: #ffab68;
 --distance: #4fc9db;
 --line: #363c48;
 --paper: #101216;
 --soft: #1b1f27;
 --surface: #191d25;
 --raised: #20252f;
 --quiet: #303642;
 --settings-accent: #6bb0ff;
 --story-people: #191e28;
 --story-history: #191d25;
 --story-drive: #211d2b;
 --film-paper: #101216;
 --film-people: #171c24;
 --film-neutral: #191d25;
 --film-drive: #211b2a;
 --film-places: #142227;
}
.theme-toggle { display: inline-grid; place-items: center; flex-shrink: 0; width: 64px; height: 44px; padding: 6px 2px; border: 0; border-radius: 22px; background: transparent; cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle-track { position: relative; display: block; width: 58px; height: 32px; border: 1px solid #171b2612; border-radius: 18px; background: #eaecf0; color: #737b87; transition: background .2s; }
.theme-toggle-thumb { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: white; box-shadow: 0 1px 4px #15223422; transition: transform .2s; }
.theme-toggle svg { position: absolute; top: 7px; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.theme-sun { left: 7px; color: #303846; }
.theme-moon { right: 7px; }
.theme-toggle[aria-checked="true"] .theme-toggle-track { background: #303947; border-color: #ffffff18; }
.theme-toggle[aria-checked="true"] .theme-toggle-thumb { transform: translateX(26px); background: #63758c; }
.theme-toggle[aria-checked="true"] .theme-sun { color: #a6adbb; }
.theme-toggle[aria-checked="true"] .theme-moon { color: white; }
.theme-toggle:hover .theme-toggle-track { box-shadow: 0 0 0 3px #0874e810; }
.theme-toggle:focus-visible { outline: 3px solid var(--settings-accent); outline-offset: 3px; }
.appearance-reset { padding: 8px 0; border: 0; background: transparent; color: var(--settings-accent); font: 600 14px/1.4 var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.appearance-reset:focus-visible { outline: 3px solid var(--settings-accent); outline-offset: 4px; }
@media(prefers-reduced-motion:reduce){.theme-toggle-track,.theme-toggle-thumb{transition:none}}
@media(max-width:370px){.site-header nav a:is([href="#experience"],[href="#tour-people"]){display:none}}

/* Dark surfaces preserve the actual app images and their original colors. */
:root[data-theme="dark"] body,
:root[data-theme="dark"] .hero-stage,
:root[data-theme="dark"] .pricing-section { background: var(--paper); }
:root[data-theme="dark"] .site-header { background: #101216ed; border-color: var(--line); }
:root[data-theme="dark"] .site-header nav a { color: #c8cdd7; }
:root[data-theme="dark"] :is(.experience-intro,.story-section,.places-panel,.controls-panel,.feature-gallery .feature-panel,.privacy-section,footer,.screen-dialog) { background: var(--surface); border-color: var(--line); }
:root[data-theme="dark"] .screen-dialog { color: var(--ink); }
:root[data-theme="dark"] .sharing-playground { background: var(--raised); border-color: var(--line); }
:root[data-theme="dark"] :is(.sharing-presets,.dialog-close) { background: var(--quiet); }
:root[data-theme="dark"] :is(.film-nav,.skip-link) { background: #20252ff5; color: var(--ink); border-color: var(--line); }
:root[data-theme="dark"] .film-nav a { color: #c8cdd7; }
:root[data-theme="dark"] :is(.film-nav a[aria-current],.sharing-presets button[aria-pressed=true],.film-title>a) { background: #0872e5; color: #fff; }
:root[data-theme="dark"] .film-title>a:hover { background: #0869d1; }
:root[data-theme="dark"] :is(.hero-description,.hero-scroll-note,.scene-counter,.film-caption>p:not(.film-kicker),.film-caption small,.film-title>p.launch-status,.pricing-intro .section-label,.pricing-lead,.purchase-product,.purchase-price,.bundle-saving,.price-term,.purchase-status,.ownership-index,.ownership-details p,.pricing-note,.upgrade-availability,.upgrade-menu thead th,.free-essentials>p:not(.pricing-overline),.launch-availability,.privacy-heading>p:last-child,.privacy-flow p,.privacy-details p,.intro) { color: var(--muted); }
:root[data-theme="dark"] .privacy-heading h2 { color: var(--ink); }
:root[data-theme="dark"] .privacy-lock-body { fill: var(--surface); }
:root[data-theme="dark"] :is(.film-title .film-kicker,.film-kicker,.film-title h1>span:last-child,.privacy-flow article>span,.pricing-note a) { color: var(--blue); }
:root[data-theme="dark"] .film-caption[data-chapter="Your day"] .film-kicker { color: var(--arrival); }
:root[data-theme="dark"] :is(.film-caption[data-chapter="Journeys"] .film-kicker,.privacy-flow article:nth-child(3)>span) { color: var(--live); }
:root[data-theme="dark"] :is(.film-caption[data-chapter="Places"] .film-kicker,.places-panel .chapter-index,.privacy-flow article:nth-child(2)>span) { color: var(--distance); }
:root[data-theme="dark"] .person-initial { background: #362745; color: var(--live); }
:root[data-theme="dark"] .switch-ui { background: #5b6472; }
:root[data-theme="dark"] input:checked + .switch-ui { background: #0874e8; }
:root[data-theme="dark"] :is(.permission-list label,.playground-footnote,.privacy-flow article,.privacy-details,.purchase-details,.ownership-details,.pricing-options,.upgrade-menu thead th,.upgrade-menu tbody tr) { border-color: var(--line); }
:root[data-theme="dark"] :is(.scene-track,.film-progress) { background: var(--line); }
