:root{color-scheme:light;--theme-surface:#f3f3ed;--theme-soft:#f0f3f8;--screen-paper:#faf7f1;--screen-edge:#303332}
:root[data-theme=dark]{color-scheme:dark;--ink:#f5f1e8;--muted:#b9b6ad;--paper:#171512;--line:#45423c;--denim:#a5bfed;--theme-surface:#26241f;--theme-soft:#252932;--screen-paper:#171411;--screen-edge:#73746f}
.appearance-toggle{display:none;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);cursor:pointer}
.theme-ready .appearance-toggle{display:inline-flex}
.appearance-toggle:hover{background:var(--theme-surface)}
.appearance-toggle:focus-visible{outline:2px solid var(--denim);outline-offset:3px}
.appearance-toggle svg{flex:none}
.theme-sun{display:none}
[data-theme=dark] .theme-sun{display:block}
[data-theme=dark] .theme-moon{display:none}
body{background:var(--paper);color:var(--ink)}
.nav{gap:20px}.nav nav{margin-left:auto}.nav .brand,.nav nav a{white-space:nowrap}
[data-theme=dark] .catalog-card,[data-theme=dark] .catalog-card:nth-child(n),[data-theme=dark] .assistant-use-grid>div,[data-theme=dark] .sample-app,[data-theme=dark] .product-flow,[data-theme=dark] body:not(.subscriptions-story) .product-faq,[data-theme=dark] .capture-flow>li,[data-theme=dark] .capture-methods article{background:var(--theme-surface);border-color:var(--line)}
[data-theme=dark] .catalog-card:hover{background:#30332b}
[data-theme=dark] .category-links a,[data-theme=dark] .product-stage,[data-theme=dark] .sample-stat,[data-theme=dark] .legal-draft{background:#302d21;color:var(--ink);border-color:var(--line)}
[data-theme=dark] .sample-stat small{color:var(--muted)}
[data-theme=dark] .button{background-color:#3e5c94;color:#fff}
[data-theme=dark] .button.secondary{background:var(--theme-surface);color:var(--ink);border-color:var(--line)}
[data-theme=dark] .skip{background:var(--paper);color:var(--ink)}
[data-theme=dark] .info-page img[src='/apple.svg'],[data-theme=dark] .info-page img[src='/globe.svg']{filter:invert(1)}
@media(max-width:760px){.nav{gap:12px;flex-wrap:wrap}.nav .brand{flex-shrink:0}.nav nav{gap:14px;font-size:13px}.nav .appearance-toggle{margin-left:0}}

@media(prefers-color-scheme:dark){
:root:not([data-theme]){color-scheme:dark;--ink:#f5f1e8;--muted:#b9b6ad;--paper:#171512;--line:#45423c;--denim:#a5bfed;--theme-surface:#26241f;--theme-soft:#252932;--screen-paper:#171411;--screen-edge:#73746f}

:root:not([data-theme]) .theme-sun{display:block}

:root:not([data-theme]) .theme-moon{display:none}

:root:not([data-theme]) .catalog-card,:root:not([data-theme]) .catalog-card:nth-child(n),:root:not([data-theme]) .assistant-use-grid>div,:root:not([data-theme]) .sample-app,:root:not([data-theme]) .product-flow,:root:not([data-theme]) body:not(.subscriptions-story) .product-faq,:root:not([data-theme]) .capture-flow>li,:root:not([data-theme]) .capture-methods article{background:var(--theme-surface);border-color:var(--line)}

:root:not([data-theme]) .catalog-card:hover{background:#30332b}

:root:not([data-theme]) .category-links a,:root:not([data-theme]) .product-stage,:root:not([data-theme]) .sample-stat,:root:not([data-theme]) .legal-draft{background:#302d21;color:var(--ink);border-color:var(--line)}

:root:not([data-theme]) .sample-stat small{color:var(--muted)}

:root:not([data-theme]) .button{background-color:#3e5c94;color:#fff}

:root:not([data-theme]) .button.secondary{background:var(--theme-surface);color:var(--ink);border-color:var(--line)}

:root:not([data-theme]) .skip{background:var(--paper);color:var(--ink)}

:root:not([data-theme]) .info-page img[src='/apple.svg'],:root:not([data-theme]) .info-page img[src='/globe.svg']{filter:invert(1)}}
