/* =====================================================================
   theme-blue.css  –  blue theme, active only when <html data-color="blue">.
   Green (your original) is used whenever data-color="green".
   The color buttons in the header switch the attribute (see enhancements.js).
   To tweak the blue, edit the values in SECTION 1.
   ===================================================================== */

/* ---------- 1. BLUE COLORS (edit these) ---------- */
:root[data-color="blue"]{
  --g:#4aa3ff;      /* main accent (buttons, highlights)         */
  --gd:#0b63d1;     /* darker accent (text/icons on light pages) */
  --gs:#e6f1ff;     /* soft tint (icon boxes, hover)             */
  --dark:#06101f;   /* dark sections: top bar, hero, footer      */
  --dark2:#0b1e3a;
  --bg:#f5f8fc; --line:#e0e8f2; --mut:#5b6b7e; --ink:#0d1624;
  --sh:0 1px 2px rgba(6,24,56,.05),0 18px 40px -18px rgba(6,24,56,.22);
}
@media(prefers-color-scheme:dark){
  :root[data-color="blue"]:not([data-theme="light"]){
    --bg:#050b16; --surf:#0b1626; --ink:#e8f0fb; --mut:#9fb3cc; --line:#17304f; --gs:#0e2440;
    --sh:0 18px 40px -18px rgba(0,0,0,.7);
  }
}
:root[data-color="blue"][data-theme="dark"]{
  --bg:#050b16; --surf:#0b1626; --ink:#e8f0fb; --mut:#9fb3cc; --line:#17304f; --gs:#0e2440;
  --sh:0 18px 40px -18px rgba(0,0,0,.7);
}

/* ---------- 2. TEXT ON ACCENT BUTTONS (dark navy instead of dark green) ---------- */
html[data-color="blue"] ::selection{color:#021428}
html[data-color="blue"] :is(.btn.p,nav a.cta,.go,.since,.totop,.form-submit,.tabs button[aria-selected=true],.dt-btn[aria-current=page]){color:#021428}
html[data-color="blue"] :is(nav a.cta,.form-submit,.totop):hover{color:var(--g)}
html[data-color="blue"] :is(.ib,.hc button):hover{color:#021428}
html[data-color="blue"] .notice li::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23021428' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E")}

/* ---------- 3. GLOWS, OVERLAYS, GRADIENTS ---------- */
html[data-color="blue"] :is(nav a.cta,.btn.p,.form-submit,.totop,.since){box-shadow:0 14px 30px -10px rgba(74,163,255,.75)}
@keyframes pulse-blue{0%{box-shadow:0 0 0 0 rgba(74,163,255,.8)}70%{box-shadow:0 0 0 10px transparent}}
html[data-color="blue"] .dot{animation-name:pulse-blue}
html[data-color="blue"] .hero::before{background:linear-gradient(100deg,rgba(3,10,24,.95) 12%,rgba(3,10,24,.68) 52%,rgba(3,10,24,.3)),radial-gradient(700px 400px at 90% 100%,rgba(74,163,255,.28),transparent 70%)}
html[data-color="blue"] .ph::before{background:linear-gradient(100deg,rgba(3,10,24,.95) 25%,rgba(3,10,24,.6))}
html[data-color="blue"] .tick{background:rgba(3,8,16,.85);color:#b4c8e0}
html[data-color="blue"] :is(.pc .ct2,.hc button){background:rgba(6,16,31,.6)}
html[data-color="blue"] .av{background:linear-gradient(135deg,var(--g),#0b4fa8)}

/* ---------- 4. GREEN-GREY TEXT ON DARK SECTIONS ---------- */
html[data-color="blue"] .top{color:#9db6d6}
html[data-color="blue"] :is(.hero p,.ph p){color:#bcd0e8}
html[data-color="blue"] .cband p{color:#a9c4e4}
html[data-color="blue"] footer{color:#8fa9c9}
