/* Public-site light/dark preference. Product UI scenes retain their own app colors. */
.foundation-page .f-nav .si-logo-dark,.foundation-page .f-footer .si-logo-dark{display:none}
.foundation-page .si-theme-toggle{appearance:none;display:inline-grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid #b9cdc4;border-radius:50%;background:#fff;color:#0e2c2e;transition:background .2s,border-color .2s,transform .2s}
.foundation-page .si-theme-toggle:hover{background:#e1f7e2;border-color:#117957;transform:rotate(12deg)}
.foundation-page .si-theme-toggle svg{width:19px;height:19px}
.foundation-page .si-theme-toggle .si-theme-sun{display:none}
@media(max-width:640px){.foundation-page .f-nav-actions{gap:8px}.foundation-page .si-theme-toggle{width:40px;height:40px}}

html[data-site-theme="dark"]{color-scheme:dark}
html[data-site-theme="dark"] .foundation-page{background:#0e2c2e;color:#f7f5f0}
html[data-site-theme="dark"] .foundation-page .f-nav,
html[data-site-theme="dark"] .foundation-page .f-footer{background:#092426;color:#f7f5f0;border-color:#3b6159}
html[data-site-theme="dark"] .foundation-page .f-nav .si-logo-light,
html[data-site-theme="dark"] .foundation-page .f-footer .si-logo-light{display:none}
html[data-site-theme="dark"] .foundation-page .f-nav .si-logo-dark,
html[data-site-theme="dark"] .foundation-page .f-footer .si-logo-dark{display:block}
html[data-site-theme="dark"] .foundation-page .f-nav nav a:hover,
html[data-site-theme="dark"] .foundation-page .f-nav nav a[aria-current],
html[data-site-theme="dark"] .foundation-page .f-footer a:hover{color:#88e789}
html[data-site-theme="dark"] .foundation-page .si-theme-toggle{background:#143a35;border-color:#4f746b;color:#88e789}
html[data-site-theme="dark"] .foundation-page .si-theme-toggle:hover{background:#1e4a40;border-color:#88e789}
html[data-site-theme="dark"] .foundation-page .si-theme-toggle .si-theme-moon{display:none}
html[data-site-theme="dark"] .foundation-page .si-theme-toggle .si-theme-sun{display:block}
html[data-site-theme="dark"] .foundation-page .f-mobile-nav{background:#143a35;color:#f7f5f0;border-color:#3b6159}
html[data-site-theme="dark"] .foundation-page .button{background:#88e789;color:#0e2c2e}
html[data-site-theme="dark"] .foundation-page .button:hover{background:#b6f5b4}
html[data-site-theme="dark"] .foundation-page :is(a,button,input,textarea,select):focus-visible{outline-color:#88e789}
html[data-site-theme="dark"] .foundation-page :is(.f-footer p,.f-footer-bottom,.f-buy span,.f-parent,.f-legal){color:#b9cdc4}
html[data-site-theme="dark"] .foundation-page :is(.f-footer-bottom,.f-buy){border-color:#3b6159}
html[data-site-theme="dark"] .foundation-page .f-buy{background:#143a35;color:#f7f5f0}
html[data-site-theme="dark"] .foundation-page .f-buy strong{color:#f7f5f0}
html[data-site-theme="dark"] .foundation-page .f-buy-links a{color:#88e789;border-color:#4f746b}
html[data-site-theme="dark"] .foundation-page .f-buy-links a:hover{background:#1e4a40}

/* Deep editorial planes alternate with the existing light-green moments. */
html[data-site-theme="dark"] .foundation-page :is(.f-hero,.ft-hero,.ps-hero,.sb-hero,.im-hero,.price-hero){background:radial-gradient(circle at 83% 13%,#1e6a51 0,transparent 43%),linear-gradient(135deg,#0e2c2e,#143a35);color:#f7f5f0}
html[data-site-theme="dark"] .foundation-page :is(.f-hero,.ft-hero,.ps-hero,.sb-hero,.im-hero,.price-hero) :is(h1,h2,h3){color:#f7f5f0}
html[data-site-theme="dark"] .foundation-page :is(.f-hero,.ft-hero,.ps-hero,.sb-hero,.im-hero,.price-hero) :is(p,small){color:#d5e9df}
html[data-site-theme="dark"] .foundation-page :is(.f-hero,.ft-hero,.ps-hero,.sb-hero,.im-hero,.price-hero) :is(h1 span,h1 em,h2 span,h2 em){color:#88e789}
html[data-site-theme="dark"] .foundation-page :is(.f-hero,.ft-hero,.ps-hero,.sb-hero,.im-hero,.price-hero) .button{color:#0e2c2e}
html[data-site-theme="dark"] .foundation-page :is(.f-hero,.ft-hero,.ps-hero,.sb-hero,.im-hero,.price-hero) .text-link{color:#88e789}

html[data-site-theme="dark"] .foundation-page :is(.si-home-flow,.si-reach,.f-build-section,.f-next-section,.ft-lead,.ft-product-group,.ft-agentic-network,.meeting-rooms,.ps-departments,.ps-department,.ps-city-build,.ps-system,.ps-beyond,.sb-outcome,.sb-journeys,.sb-panel,.sb-system,.problem-evidence,.problem-anatomy,.problem-decisions,.problem-audiences,.gv-principles,.gv-control,.gv-access,.gv-activity,.im-program,.im-training-section,.im-investment,.price-intro,.price-plans,.price-setup,.price-inventory,.price-seat-example,.price-migration,.price-compare,.price-credit,.price-rates,.price-faq){background-color:#0e2c2e;color:#f7f5f0}
html[data-site-theme="dark"] .foundation-page :is(.si-home-flow,.si-reach,.f-build-section,.f-next-section,.ft-lead,.ft-product-group,.ft-agentic-network,.meeting-rooms,.ps-departments,.ps-department,.ps-city-build,.ps-system,.ps-beyond,.sb-outcome,.sb-journeys,.sb-panel,.sb-system,.problem-evidence,.problem-anatomy,.problem-decisions,.problem-audiences,.gv-principles,.gv-control,.gv-access,.gv-activity,.im-program,.im-training-section,.im-investment,.price-intro,.price-plans,.price-setup,.price-inventory,.price-seat-example,.price-migration,.price-compare,.price-credit,.price-rates,.price-faq) > :is(h1,h2,h3,p){color:#f7f5f0}
html[data-site-theme="dark"] .foundation-page :is(.f-next-links small,.f-section-heading>p,.price-intro>p,.price-faq>p){color:#b9cdc4}
html[data-site-theme="dark"] .foundation-page .f-next-links a{border-color:#3b6159}

html[data-site-theme="dark"] .foundation-page :is(.si-home-problem,.f-close,.ft-directory,.ps-connected,.sb-brand,.gv-data,.im-close,.problem-close,.price-unlimited,.price-stack){background:#88e789;color:#0e2c2e}
html[data-site-theme="dark"] .foundation-page :is(.si-home-problem,.f-close,.ft-directory,.ps-connected,.sb-brand,.gv-data,.im-close,.problem-close,.price-unlimited,.price-stack) :is(h1,h2,h3){color:#0e2c2e}
html[data-site-theme="dark"] .foundation-page :is(.si-home-problem,.f-close,.ft-directory,.ps-connected,.sb-brand,.gv-data,.im-close,.problem-close,.price-unlimited,.price-stack) .button{background:#0e2c2e;color:#f7f5f0}
html[data-site-theme="dark"] .foundation-page :is(.ps-close,.sb-close,.gv-close,.im-integrations,.problem-hero,.price-extra,.f-brand-section,.ft-platform-map,.ft-brand-section){background:#092426;color:#f7f5f0}
html[data-site-theme="dark"] .foundation-page :is(.ps-close,.sb-close,.gv-close,.im-integrations,.problem-hero,.price-extra,.f-brand-section,.ft-platform-map,.ft-brand-section) .button{background:#88e789;color:#0e2c2e}

/* Keep framed software previews and pricing cards legible as designed. */
html[data-site-theme="dark"] .foundation-page :is(.f-studio,.ft-stage,.si-flow-screen,.price-card:not(.price-card-featured),.price-compare-table,.price-stack-table){color:#0e2c2e}
html[data-site-theme="dark"] .foundation-page .price-card-featured{background:#143a35;color:#f7f5f0;border-color:#3b6159}
html[data-site-theme="dark"] .foundation-page .price-card-featured .price-card-cta{background:#88e789;color:#0e2c2e}

html[data-site-theme="dark"] .foundation-page.contact-page{background:linear-gradient(180deg,#143a35,#0e2c2e 650px)}
html[data-site-theme="dark"] .foundation-page.contact-page :is(.contact-card,.contact-form,.contact-info){color:#0e2c2e}
html[data-site-theme="dark"] .foundation-page :is(.sb-text-link,.ps-text-link,.price-quiet-link){color:#88e789}
html[data-site-theme="dark"] .foundation-page.contact-page :is(.contact-hero h1,.contact-form-intro h2){color:#f7f5f0}
html[data-site-theme="dark"] .foundation-page.contact-page :is(.contact-hero p,.contact-form-intro p,.contact-form-details){color:#d5e9df}
html[data-site-theme="dark"] .foundation-page.contact-page .contact-eyebrow{color:#88e789}
html[data-site-theme="dark"] .foundation-page.contact-page .contact-actions .concierge-link--voice{color:#f7f5f0;border-color:#b9cdc4}
html[data-site-theme="dark"] .foundation-page.contact-page .contact-actions .concierge-link--voice:hover{background:#1e4a40}

/* Legibility: the main menu and its buttons read at 15px */
.f-nav nav a,.f-nav .f-login,.f-nav .button-small{font-size:0.9375rem}
