/* =========================================================
   Colour refresh (trial, homepage only, 2026-11-12)
   1. a brighter accent blue next to the brand blue
   2. amber as the site-wide highlight
   3. one colour per system
   Remove the <link> to this file in index.html to go back.
   ========================================================= */
:root{
  --accent:#4cb8e6; --accent-soft:rgba(76,184,230,.16);
  --amber:#f5b544;
  --c-lms:#3ecf8e; --c-sms:#4cb8e6; --c-erp:#a78bfa;
  --c-log:#f5b544; --c-hr:#2dd4bf; --c-hms:#ff8a65;
}

/* ---------- 1. accent blue ---------- */
.dk .eyebrow{ color:var(--accent); }
.dk .eyebrow::before{ background:var(--accent); box-shadow:0 0 10px var(--accent); }
.grad-text{ background:linear-gradient(90deg,#4cb8e6,#9be7ff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.btn-glow{ background:linear-gradient(135deg,#1c6c8f,#2b97c6); box-shadow:0 0 26px rgba(76,184,230,.35); }
.btn-glow:hover{ background:linear-gradient(135deg,#2380a8,#3aa9d8); box-shadow:0 0 44px rgba(76,184,230,.6); }
.main-nav a.nav-link.active{ background:rgba(76,184,230,.22); }
.service-card .icon-tile svg{ stroke:var(--accent); }
.service-card .service-more{ color:#1c6c8f; }
.tr-core{ stroke:var(--accent); }
.tr-glow{ stroke:rgba(76,184,230,.3); }
.tr-tip .halo{ fill:rgba(76,184,230,.34); }
.mg-ic{ color:var(--accent); background:var(--accent-soft); }

/* ---------- 2. amber highlight ---------- */
.header-cta .btn-glow{ background:var(--amber); color:#1a1405; font-weight:700; box-shadow:0 0 22px rgba(245,181,68,.32); }
.header-cta .btn-glow:hover{ background:#ffc75f; color:#1a1405; box-shadow:0 0 34px rgba(245,181,68,.55); }
.stat .num{ color:var(--amber); }
#products .sys-pop{ background:var(--amber); color:#1a1405; }
.mg-foot a{ color:var(--amber); }

/* ---------- 3. three colour groups: education = blue, standalone = amber, custom = pale blue ---------- */
#products .sys-card{ --sc:var(--accent); border-top:3px solid var(--sc); }
#products .sys-card .tier-level{ color:var(--sc); }
#products .sys-card .meter i.on{ background:var(--sc); }
#products .sys-card .sys-feats svg{ stroke:var(--sc); }
#products .sys-card:hover{ box-shadow:0 0 36px rgba(76,184,230,.3); border-color:rgba(76,184,230,.55); border-top-color:var(--sc); }
/* the featured (SMS) card is filled blue: keep its white marks, only the top line gets the colour */
#products .sys-featured{ border-top-color:#9be7ff; }
#products .sys-featured .tier-level{ color:#fff; }
#products .sys-featured .meter i.on{ background:#fff; }
#products .sys-featured .sys-feats svg{ stroke:#e2eef4; }

#custom{ --sa:#8ed1ef; --sa-soft:rgba(142,209,239,.1); --sa-line:rgba(142,209,239,.4); }
.sa-card .sa-sub{ color:color-mix(in srgb, var(--sa) 55%, #fff); }
.sa-card:hover{ box-shadow:0 0 40px color-mix(in srgb, var(--sa) 22%, transparent); }
.sa-card .btn-sa:hover{ background:color-mix(in srgb, var(--sa) 78%, #fff); box-shadow:0 0 24px color-mix(in srgb, var(--sa) 45%, transparent); }

/* the same groups in the Systems menu: standalone systems in amber, the custom entry in pale blue */
.mg-item[href$="logsentry.html"] .mg-ic, .mg-item[href$="d2c-hr.html"] .mg-ic, .mg-item[href$="d2c-hms.html"] .mg-ic{ color:var(--amber); background:rgba(245,181,68,.15); }
.mg-item[href$="#custom"] .mg-ic{ color:#8ed1ef; background:rgba(142,209,239,.14); }

/* ---------- 4. sections: a soft coloured glow each, and every other one a touch lighter ---------- */
section.systems.dk{ background-image:
  radial-gradient(48% 26% at 12% 6%, rgba(76,184,230,.14), transparent 72%),
  radial-gradient(52% 30% at 88% 72%, rgba(245,181,68,.10), transparent 72%) !important; }
section.services.dk{ background-image:
  linear-gradient(rgba(120,170,220,.045), rgba(120,170,220,.045)),
  radial-gradient(50% 60% at 85% 10%, rgba(45,212,191,.13), transparent 72%) !important; }
section.why.dk{ background-image: radial-gradient(46% 55% at 10% 20%, rgba(76,184,230,.12), transparent 72%) !important; }
section.academy.dk{ background-image:
  linear-gradient(rgba(120,170,220,.045), rgba(120,170,220,.045)),
  radial-gradient(48% 60% at 90% 30%, rgba(167,139,250,.11), transparent 72%) !important; }
section.partners.dk{ background-image: radial-gradient(50% 70% at 50% 0%, rgba(76,184,230,.09), transparent 72%) !important; }
section.testimonials.dk{ background-image:
  linear-gradient(rgba(120,170,220,.045), rgba(120,170,220,.045)),
  radial-gradient(46% 60% at 12% 30%, rgba(245,181,68,.09), transparent 72%) !important; }
section.quote.dk{ background-image: radial-gradient(50% 60% at 88% 20%, rgba(76,184,230,.13), transparent 72%) !important; }

/* ---------- 5. gradient text, used on two headings only ---------- */
.grad-amber{ background:linear-gradient(90deg,#f5b544,#ffe0a0); -webkit-background-clip:text; background-clip:text; color:transparent; }
.grad-teal{ background:linear-gradient(90deg,#2dd4bf,#9be7ff); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* =========================================================
   Audit pass, 2026-11-13
   ========================================================= */

/* ---------- 6. contrast fixes (measured, WCAG 1.4.3) ---------- */
/* apps page: the demo school code was white on a white card */
.plan-row:not(.featured) .plan-head .app-meta strong{ color:#081a38; }
.plan-row.featured .plan-head .app-meta{ color:#a9c3d1; }
/* systems page: the mobile-app note was 4.29:1, now 6:1 */
a.app-note span{ color:#3f5568 !important; }
/* resources: the count inside the selected filter chip was 3.86:1 */
.res-chip[aria-pressed="true"] span{ background:rgba(4,18,40,.42); color:#fff; }

/* ---------- 7. phones: footer links were 18px tall, now a full 24px+ tap row ---------- */
@media (max-width:640px){
  .footer-grid .footer-links a{ padding:5px 0; }
  .breadcrumb a{ padding:4px 0; }
}

/* ---------- 8. amber where a highlight is expected ---------- */
.tm-stars svg{ fill:var(--amber); }
.tm-card{ border-top:3px solid rgba(245,181,68,.55); }

/* ---------- 9. inner pages get the same life as the homepage ---------- */
section.page-hero.dk{ background-image:
  radial-gradient(42% 70% at 86% 46%, rgba(76,184,230,.16), transparent 72%),
  radial-gradient(34% 55% at 6% 100%, rgba(245,181,68,.07), transparent 72%) !important; }
section.cta-band.dk{ background-image:
  linear-gradient(rgba(120,170,220,.045), rgba(120,170,220,.045)),
  radial-gradient(46% 90% at 50% 0%, rgba(76,184,230,.16), transparent 72%),
  radial-gradient(30% 70% at 88% 100%, rgba(245,181,68,.09), transparent 72%) !important; }
section.faq.dk{ background-image: radial-gradient(44% 50% at 90% 12%, rgba(45,212,191,.09), transparent 72%) !important; }
section.gallery.dk{ background-image: radial-gradient(48% 46% at 10% 14%, rgba(76,184,230,.11), transparent 72%) !important; }
section.plans.dk, section.compare-section.dk{ background-image: radial-gradient(46% 30% at 92% 4%, rgba(76,184,230,.12), transparent 72%) !important; }
/* white service cards: a coloured top line that lights up on hover */
.services-grid .service-card{ border-top:3px solid rgba(76,184,230,.38); }
.services-grid .service-card:hover{ border-top-color:var(--accent); }

/* ---------- 10. inner-page hero: the page's own services orbit the Double Click mark (desktop only) ---------- */
.ph-orbit{ display:none; }
@media (min-width:1280px){
  .ph-orbit{ display:block; position:absolute; right:34px; top:50%; width:280px; height:280px; margin-top:-140px; pointer-events:none; z-index:1; }
  .ph-orbit i{ position:absolute; inset:28px; border-radius:50%; border:1px solid rgba(76,184,230,.26); }
  .ph-orbit i + i{ inset:84px; border-style:dashed; border-color:rgba(245,181,68,.3); }
  .ph-core{ position:absolute; left:50%; top:50%; width:68px; height:68px; margin:-34px 0 0 -34px; border-radius:50%;
    display:grid; place-items:center; background:linear-gradient(135deg,#1c6c8f,#4cb8e6);
    box-shadow:0 0 0 8px rgba(76,184,230,.12), 0 0 46px rgba(76,184,230,.55); }
  .ph-core svg{ width:30px; height:30px; }
  .ph-node{ position:absolute; left:50%; top:50%; width:48px; height:48px; margin:-24px 0 0 -24px; border-radius:14px;
    display:grid; place-items:center; background:#0c2547; border:1px solid rgba(76,184,230,.45);
    box-shadow:0 0 18px rgba(76,184,230,.2);
    transform:translate(var(--x),var(--y)); animation:ph-in .7s cubic-bezier(.2,.8,.2,1) both; animation-delay:calc(var(--n)*90ms + 250ms); }
  .ph-node svg{ width:24px; height:24px; stroke:#9be7ff; }
  .ph-node:nth-of-type(3n){ border-color:rgba(245,181,68,.55); box-shadow:0 0 18px rgba(245,181,68,.18); }
  .ph-node:nth-of-type(3n) svg{ stroke:#ffd27a; }
  @keyframes ph-in{ from{ opacity:0; transform:translate(0,0) scale(.5); } to{ opacity:1; transform:translate(var(--x),var(--y)) scale(1); } }
}
@media (prefers-reduced-motion:reduce){ .ph-node{ animation:none; } }
