/* =========================================================
   Version B: Blue Ocean, the old ECGrid colours.
   Colour only; type (ECGrid faces) and
   geometry (the ecgrid.com bound frame) are shared in myas2.css.
   Colours from the ECGrid UI Standards Guide
   (../gpa-brand-canon/_input/ECGrid_UI_Standards_Guide.md, from
   the repo root): white surfaces, no off-whites or custom tints;
   text #4a4a4a / #7a7a7a / #b2b2b2; links in Teal; white text on
   Navy, Teal and Blue; Navy text on Silver Blue; centred footer
   with grey legal text and Teal links.
   Notes:
   - White on ECGrid Blue is about 4.4:1, so the blue hero button
     uses larger text.
   - #7a7a7a ("Secondary Text") on white is about 4.3:1; the guide
     sets it, so the muted "Today" lines keep it.
   ========================================================= */

html[data-theme="blue-ocean"] {
  /* guide palette */
  --c-navy: #233746;
  --c-silver-blue: #a3bcc4;
  --c-teal: #014f6e;
  --c-blue: #0080bc;
  --c-red: #e31d1a;
  --c-text: #4a4a4a;
  --c-text-2: #7a7a7a;
  --c-text-3: #b2b2b2;
  --c-white: #ffffff;

  /* surfaces */
  --page-bg: var(--c-white);
  --frame-bg: var(--c-white);
  --band-bg: var(--c-silver-blue);
  --card-bg: var(--c-white);
  --card-line: rgba(35,55,70,0.14);
  --card-ink: var(--c-navy);
  --card-ink-dim: var(--c-text);
  --tile-bg: var(--c-white);

  /* ink */
  --ink: var(--c-text);
  --ink-strong: var(--c-navy);
  --ink-dim: var(--c-text);
  --ink-faint: var(--c-silver-blue);
  --ink-faint-text: var(--c-text-2);
  --line: rgba(35,55,70,0.14);
  --line-strong: rgba(35,55,70,0.3);

  /* accent */
  --accent: var(--c-blue);
  --accent-text: var(--c-teal);
  --em-color: var(--c-blue);
  --link-hover: var(--c-blue);
  --alert-c: var(--c-red);

  /* buttons */
  --btn-bg: var(--c-teal);
  --btn-bg-hover: var(--c-navy);
  --btn-ink: var(--c-white);
  --btn-hover-shadow: 0 10px 28px rgba(1,79,110,0.25);
  --ghost-ink: var(--c-navy);
  --ghost-line: rgba(35,55,70,0.3);
  --ghost-line-hover: var(--c-teal);
  --ghost-hover-bg: rgba(1,79,110,0.06);

  /* nav */
  --nav-bg: rgba(255,255,255,0.94);
  --nav-line: rgba(35,55,70,0.12);
  --nav-ink: var(--c-text);
  --nav-ink-hover: var(--c-teal);
  --nav-hover-bg: rgba(1,79,110,0.06);
  --nav-shadow: 0 6px 20px rgba(35,55,70,0.08);

  /* hero: Dark Navy banner */
  --hero-bg: var(--c-navy);
  --hero-ink: var(--c-white);
  --hero-ink-dim: rgba(255,255,255,0.82);
  --hero-em: var(--c-silver-blue);
  --hero-line: rgba(255,255,255,0.18);
  --hero-glow: radial-gradient(circle, rgba(0,128,188,0.38) 0%, rgba(0,128,188,0.12) 40%, transparent 72%);

  /* registry status cards: white with a Teal top rule */
  --paper: var(--c-white);
  --paper-ink: var(--c-navy);
  --paper-ink-dim: var(--c-text);
  --paper-line: rgba(35,55,70,0.16);
  --paper-line-strong: rgba(35,55,70,0.4);
  --badge-solid-bg: var(--c-teal);
  --badge-solid-ink: var(--c-white);
  --badge-line: var(--c-blue);
  --badge-line-ink: var(--c-teal);

  /* diagram */
  --viz-line: rgba(35,55,70,0.16);
  --viz-line-strong: rgba(35,55,70,0.28);
  --viz-node-bg: var(--c-white);
  --viz-hub-bg: var(--c-white);
  --viz-ink: rgba(35,55,70,0.55);
  --viz-panel-bg: rgba(163,188,196,0.14);
  --viz-on-ink: var(--c-white);
  --viz-on-ink-dim: rgba(255,255,255,0.7);
  --viz-on-tint: rgba(0,128,188,0.08);


  /* step numbers: Teal, turning to ECGrid Blue in sequence (B has no stone) */
  --step-num-bg: var(--c-teal);
  --step-num-line: var(--c-teal);
  --step-num-ink: var(--c-white);
  --step-on-bg: var(--c-blue);
  --step-on-ink: var(--c-white);
  --step-on-glow: 0 0 16px rgba(0,128,188,0.45);

  /* closing CTA: white, a faint Blue glow */
  --cta-bg: var(--c-white);
  --cta-glow: radial-gradient(circle, rgba(0,128,188,0.12) 0%, rgba(0,128,188,0.05) 40%, transparent 72%);

  /* footer: white, per the guide */
  --footer-bg: var(--c-white);
  --footer-ink: var(--c-text);
  --footer-ink-dim: var(--c-text-2);
  --footer-link: var(--c-teal);
  --footer-line: rgba(35,55,70,0.12);
}

/* Hero on Dark Navy: Blue primary, white ghost */
html[data-theme="blue-ocean"] :is(.hero, .page-hero) .btn-primary { background: var(--c-blue); font-size: 14px; }
html[data-theme="blue-ocean"] :is(.hero, .page-hero) .btn-primary:hover { background: #006a9c; box-shadow: 0 10px 28px rgba(0,0,0,0.3); }
html[data-theme="blue-ocean"] :is(.hero, .page-hero) .btn-ghost { color: var(--c-white); border-color: rgba(255,255,255,0.45); }
html[data-theme="blue-ocean"] :is(.hero, .page-hero) .btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--c-white); }

/* Silver Blue band: Navy text, Teal emphasis (Blue is too light on Silver Blue) */
html[data-theme="blue-ocean"] .band { --line: rgba(35,55,70,0.2); --line-strong: rgba(35,55,70,0.32); --em-color: var(--c-teal); --ink-faint-text: var(--c-navy); }
html[data-theme="blue-ocean"] .band .feature-card { border-top-color: var(--c-teal); }
html[data-theme="blue-ocean"] .step:not(:last-child)::after { background: var(--c-navy); opacity: 0.4; }

/* Registry status cards */
html[data-theme="blue-ocean"] .status-card { border-top: 4px solid var(--c-teal); }

/* What you get: Dark Navy band, white text, white pricing card */
html[data-theme="blue-ocean"] .get.band {
  background: var(--c-navy);
  --ink: var(--c-white);
  --ink-strong: var(--c-white);
  --line: rgba(255,255,255,0.16);
  --accent: var(--c-silver-blue);
}
html[data-theme="blue-ocean"] .get .pricing { border: none; box-shadow: 0 18px 40px rgba(0,0,0,0.25); }

/* Footer per the guide: centred, grey legal text, Teal links, an air gap between */
html[data-theme="blue-ocean"] .site-footer .inner {
  grid-template-columns: 1fr;
  grid-template-areas: "brand" "legal" "links";
  justify-items: center;
  text-align: center;
  gap: 28px;
}
html[data-theme="blue-ocean"] .footer-links { justify-self: center; justify-content: center; }
html[data-theme="blue-ocean"] .footer-legal {
  flex-direction: column;
  align-items: center;
  border-top: none;
  padding-top: 0;
  gap: 4px;
}
