/* Theme toggle. Light is the default for everyone; dark only when the visitor picks it (saved in localStorage). */
/* Declaring "light dark" keeps phone force-dark modes from recoloring the light site; the page itself is styled light unless data-theme=dark. */
html:root{color-scheme:light dark!important}
html:root[data-theme="dark"]{color-scheme:dark!important}
html:not([data-theme="dark"]) :is(input,select,textarea,button,details,dialog,progress,meter){color-scheme:light}
html:not([data-theme="dark"]){background:#f3efe6}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-width:44px;min-height:44px;padding:0;border-radius:999px;border:1.5px solid #124576;background:transparent!important;color:#124576!important;font:inherit;font-weight:600;cursor:pointer;line-height:1;flex:0 0 auto;-webkit-tap-highlight-color:transparent}
.theme-toggle:hover{background:rgba(18,69,118,.08)!important}
.theme-toggle:focus-visible{outline:3px solid #c4a46a;outline-offset:2px}
.theme-toggle .tt-icon{display:inline-grid;place-items:center;width:44px;height:44px}
.theme-toggle .i-sun{display:none}
html[data-theme="dark"] .theme-toggle .i-sun{display:block}
html[data-theme="dark"] .theme-toggle .i-moon{display:none}
.theme-toggle-menu{display:flex;width:100%;justify-content:flex-start;min-height:52px;border:0;border-top:1px solid #d9d0c1;border-radius:0;padding:0 .2rem;margin-top:.4rem;text-align:left;color:#172033!important}
.theme-toggle-menu .tt-icon{width:36px;height:44px}
.theme-toggle-cta{margin-right:.4rem}
.theme-toggle-bar{order:8}
@media (min-width:1280px){.theme-toggle-bar,.theme-toggle-menu{display:none!important}}
@media (max-width:1279px){.theme-toggle-cta{display:none}}
@media (max-width:420px){.header-bar{gap:.35rem!important}.header-book{padding-left:.8rem!important;padding-right:.8rem!important;font-size:.88rem!important;white-space:nowrap}.theme-toggle-bar{min-width:42px;min-height:42px}.theme-toggle-bar .tt-icon{width:40px;height:40px}}
@media (prefers-reduced-motion:no-preference){.theme-toggle{transition:background .15s}}
/* header: keep the desktop nav from colliding between 1280 and 1439px (brand text hides there, as system.css intended) */
@media (min-width:1280px) and (max-width:1439px){a.brand span{display:none!important}#site-nav>a,#site-nav>details>summary{font-size:14.5px!important;padding-left:.4rem!important;padding-right:.4rem!important}.header-cta{gap:.6rem}}
/* stat strip now has three confirmed items */
body .proof-stats{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important}

/* growth pass: country suggestion bar + current-country marker */
.gwc-cc-bar{display:flex;flex-wrap:wrap;gap:.6rem 1rem;align-items:center;justify-content:center;padding:.6rem 3rem .6rem 1rem;background:#f3efe6;border-bottom:1px solid #d9d0c1;color:#172033;position:relative;font-size:.95rem}
.gwc-cc-bar p{margin:0;flex:1 1 320px;max-width:60ch}
.gwc-cc-bar .btn{min-height:40px;padding:.4rem .9rem}
.gwc-cc-x{position:absolute;right:.6rem;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;background:none;font-size:1.6rem;line-height:1;color:#172033;cursor:pointer}
.pf-ccpick a[aria-current="true"],.pf-cc-strip a[aria-current="true"]{font-weight:800;text-decoration:underline;text-underline-offset:4px}
html[data-theme="dark"] .gwc-cc-bar{background:#10203a;border-color:#2c3d57;color:#e8edf5}
html[data-theme="dark"] .gwc-cc-x{color:#e8edf5}
