/* Shared marketing-site theme. Preserve the existing composition and motion. */
:root[data-riften-theme="dark"]{color-scheme:dark}
:root[data-riften-theme="light"]{
 color-scheme:light;
 --riften-background:#edece2;--riften-text:#1b1b1b;
 --riften-secondary:#5d6258;--riften-muted:#656b60;
 --riften-focus:#354e43;--riften-rule:#1b1b1b26;
 --bg:var(--riften-background);--ink:var(--riften-text);
 --soft:var(--riften-secondary);--muted:var(--riften-muted);
 --jade:var(--riften-focus);--line:var(--riften-rule);
 --opal-edge:var(--riften-focus);
}
.brand .light-mark,.world-surface>.world-light{display:none}
[data-riften-theme="light"] .brand>img:first-child{display:none}
[data-riften-theme="light"] .brand>.light-mark{display:block}
[data-riften-theme="light"] .world-surface>.world-dark{display:none}
[data-riften-theme="light"] .world-surface>.world-light{display:block}
[data-riften-theme="light"] .seven-worlds .world{mix-blend-mode:normal}
[data-riften-theme="light"] ::selection{background:#c5d9b7;color:#1b1b1b}
/* One quiet, keyboard-accessible toggle. Dark is the default. */
.theme-control{position:fixed;bottom:max(12px,env(safe-area-inset-bottom));right:max(16px,env(safe-area-inset-right));z-index:110;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--soft);cursor:pointer}
.theme-control svg{width:19px;height:19px;pointer-events:none}
.theme-control .theme-moon{display:none}
[data-riften-theme="light"] .theme-control .theme-moon{display:block}
[data-riften-theme="light"] .theme-control .theme-sun{display:none}
.theme-control:focus-visible{outline:2px solid var(--jade);outline-offset:2px}
.theme-control:hover{color:var(--ink)}

/* Company copy has local dark tokens, so light colors must be set at that scope. */
[data-riften-theme="light"] .company-v2{--soft:var(--riften-secondary);--muted:var(--riften-muted)}
[data-riften-theme="light"] .company-v2 .article-entry,
[data-riften-theme="light"] .company-v2 .company-footer{border-color:var(--line)}
[data-riften-theme="light"] .company-v2 .contact-invitation,
[data-riften-theme="light"] .company-v2 .text-links a{text-decoration-color:var(--line)}
[data-riften-theme="light"] .mast nav a[aria-current="page"]:after{background:var(--jade)}
.reading-signoff .light-mark{display:none}
[data-riften-theme="light"] .reading-signoff>img:first-child{display:none}
[data-riften-theme="light"] .reading-signoff>.light-mark{display:block}
