/* Nest English — shared public/SEO theme
   Keeps Guides, methodology, policies, contact, schools and terms inside the same
   Deep Navy + Emerald brand system as the main app. */
:root{
  color-scheme:light;
  --ne-bg:#f7f8f6; --ne-surface:#ffffff; --ne-surface-2:#f1f4f0;
  --ne-ink:#0f172a; --ne-text:#334155; --ne-muted:#64748b;
  --ne-border:rgba(15,23,42,.085); --ne-accent:#0c7556; --ne-accent-2:#00714d;
  --ne-accent-soft:rgba(12,117,86,.08); --ne-shadow:0 18px 50px rgba(15,23,42,.08);
}
html.ne-dark{color-scheme:dark;}
html.ne-dark body{
  color:#f5f7f6 !important;
  background:#08111f !important;
}
html.ne-dark body::selection{background:rgba(16,163,127,.32)}
html.ne-dark main{color:#f5f7f6}
html.ne-dark header{border-color:rgba(255,255,255,.09) !important}
html.ne-dark p,html.ne-dark li{color:#c3ced5 !important}
html.ne-dark h1,html.ne-dark h2,html.ne-dark h3,html.ne-dark strong,html.ne-dark b{color:#f5f7f6}
html.ne-dark a{color:#55c79f}
html.ne-dark .brand{color:#6be0b7 !important}
html.ne-dark .cta,
html.ne-dark .card,
html.ne-dark .box,
html.ne-dark .note,
html.ne-dark .pill{
  background:#0d1726 !important;
  border-color:rgba(255,255,255,.08) !important;
  box-shadow:0 18px 48px rgba(0,0,0,.18) !important;
}
html.ne-dark .cta span,html.ne-dark .note,html.ne-dark small{color:#93a3af !important}
html.ne-dark .cta b{color:#55c79f !important}
html.ne-dark .secondary{background:#152235 !important;color:#e7eeec !important}
html.ne-dark .primary{background:#0c7556 !important;color:#fff !important}
html.ne-dark .eyebrow{color:#8da0ad !important}
html.ne-dark footer{border-color:rgba(255,255,255,.09) !important;color:#7f919d !important}
html.ne-dark .nest-guide-footer{background:#08111f !important;color:#7f919d !important}
html.ne-dark .nest-guide-nav{background:rgba(8,17,31,.86) !important;border-color:rgba(255,255,255,.08) !important}
html.ne-dark .nest-guide-nav a{color:#b8c7cf !important}
html.ne-dark .nest-guide-nav a:hover{color:#6be0b7 !important}
html.ne-dark .nest-guide-footer a{color:#6be0b7 !important}
html.ne-dark body.nest-guides-page{background:radial-gradient(58% 42% at 6% 0%,rgba(12,117,86,.10),transparent 62%),linear-gradient(180deg,#08111f 0%,#0b1626 100%) !important}
html.ne-dark .nest-guide-card,html.ne-dark .nest-guide-shell,html.ne-dark article,html.ne-dark .callout{background:#0d1726 !important;border-color:rgba(255,255,255,.08) !important;color:#f5f7f6}
html.ne-dark .nest-guide-card p,html.ne-dark article p,html.ne-dark article li,html.ne-dark .callout p{color:#c3ced5 !important}
html.ne-dark .nest-guide-card h2,html.ne-dark article h2,html.ne-dark article h3{color:#f5f7f6 !important}
html.ne-dark input,html.ne-dark textarea,html.ne-dark select{background:#0d1726 !important;color:#f5f7f6 !important;border-color:rgba(255,255,255,.10) !important}

.nest-public-theme-toggle{
  position:fixed;z-index:2147483000;top:16px;inset-inline-end:16px;
  width:42px;height:42px;border:1px solid rgba(15,23,42,.10);border-radius:14px;
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
  background:rgba(255,255,255,.82);color:#0f172a;
  box-shadow:0 10px 30px rgba(15,23,42,.12);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  transition:transform .2s ease,background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease;
}
.nest-public-theme-toggle:hover{transform:translateY(-1px);box-shadow:0 14px 34px rgba(15,23,42,.16)}
.nest-public-theme-toggle:focus-visible{outline:3px solid rgba(12,117,86,.28);outline-offset:3px}
.nest-public-theme-toggle svg{width:19px;height:19px;display:block}
.nest-theme-sun{display:none}.nest-theme-moon{display:block}
html.ne-dark .nest-public-theme-toggle{background:rgba(13,23,38,.88);border-color:rgba(255,255,255,.10);color:#e8f0ed;box-shadow:0 12px 32px rgba(0,0,0,.22)}
html.ne-dark .nest-theme-sun{display:block}.nest-theme-sun{display:none}
html.ne-dark .nest-theme-moon{display:none}

@media(max-width:600px){
 .nest-public-theme-toggle{top:12px;inset-inline-end:12px;width:40px;height:40px;border-radius:13px}
}
@media(prefers-reduced-motion:reduce){.nest-public-theme-toggle{transition:none}}
