/* HELMIS Labs — Deep Teal + Stone, 2026-10-16.
 * sRGB master colours. Loaded after the existing presentation styles.
 * The embedded Influence Matrix retains its category and risk colours.
 */
:root {
  --helmis-deep-teal: #164E57;
  --helmis-stone: #C8BCA6;
  --helmis-muted-teal: #55757C;
  --helmis-mist: #F3F5F4;
  --helmis-ink: #263138;
  --helmis-white: #FFFFFF;
  /* Compatibility aliases for the existing HELMIS templates. */
  --ox: var(--helmis-deep-teal);
  --ox-lt: var(--helmis-stone);
  --ox-dk: var(--helmis-ink);
  --oxblood: var(--helmis-deep-teal);
  --navy: var(--helmis-deep-teal);
  --dark: var(--helmis-ink);
  --charcoal: var(--helmis-ink);
  --blue: var(--helmis-deep-teal);
  --slate: var(--helmis-muted-teal);
  --cloud: var(--helmis-mist);
  --border: var(--helmis-stone);
}
body { color: var(--helmis-ink); background: var(--helmis-white); }
.nav, .site-nav { background: var(--helmis-deep-teal); }
.nav { border-bottom-color: var(--helmis-stone); }
.nav-links a { color: var(--helmis-mist); }
.nav-links a:hover { color: var(--helmis-white); }
.nav-links .nav-cta, .btn-primary, .btn-white {
  background: var(--helmis-stone);
  color: var(--helmis-ink);
}
.nav-links .nav-cta:hover, .btn-primary:hover, .btn-white:hover {
  background: var(--helmis-mist);
  color: var(--helmis-deep-teal);
}
.hero {
  background: linear-gradient(120deg, var(--helmis-ink) 0%, var(--helmis-deep-teal) 75%);
}
.hero::before, .hero::after { background: none; }
.hero-sub, .hero-cred-label, .why-domain, .process .section-lead,
.process-body, .cta-sub, .matrix-bar, .footer-links a, .footer-copy {
  color: var(--helmis-mist);
}
.btn-ghost, .btn-outline-white {
  color: var(--helmis-white);
  border-color: var(--helmis-stone);
}
.btn-ghost:hover, .btn-outline-white:hover {
  background: var(--helmis-stone);
  color: var(--helmis-ink);
}
.section-h2, .service-title, .why-point-title, .vertical-label, .woff .n {
  color: var(--helmis-deep-teal);
}
.service-card, .why-evidence { border-color: var(--helmis-stone); }
.why-point-num { background: var(--helmis-mist); color: var(--helmis-deep-teal); }
.process, .process-step, .why-evidence, .wform-head {
  background: var(--helmis-deep-teal);
}
.process .section-h2 { color: var(--helmis-white); }
.process-steps { background: var(--helmis-muted-teal); }
.process-step::after { color: var(--helmis-stone); }
.cta-band { background: var(--helmis-deep-teal); }
.ox-bar { background: var(--helmis-stone); }
.footer { background: var(--helmis-ink); }
.footer-links a:hover { color: var(--helmis-stone); }
.wform { box-shadow: 0 10px 30px rgba(38,49,56,.08); }

/* Shared application and court pages. Status colours remain semantic. */
.site-nav .wordmark span { color: var(--helmis-stone); }
.site-nav .who { color: var(--helmis-mist); }
.head {
  background: var(--helmis-deep-teal);
  border-bottom-color: var(--helmis-stone);
}
.head .sub { color: var(--helmis-mist); }
.sec h2 { color: var(--helmis-deep-teal); }
input, select, textarea { border-color: var(--helmis-muted-teal); }
.btn.p { background: var(--helmis-deep-teal); color: var(--helmis-white); }
.btn.s { color: var(--helmis-deep-teal); border-color: var(--helmis-muted-teal); }
.btn.p:hover:not(:disabled) { background: var(--helmis-ink); }
.btn.s:hover:not(:disabled) { background: var(--helmis-mist); }
.sugg, .ro { border-color: var(--helmis-stone); }
.sugg:hover { border-color: var(--helmis-deep-teal); }
.banner.err { color: #7A2E36; border-color: #7A2E36; }
.pill.submitted { background: #EECCCC; color: #7A2E36; }
body .site-foot .copy, body .site-foot .powered span, body .foot .copy {
  color: var(--helmis-mist);
}
/* Visible keyboard focus on both light and dark surfaces. */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--helmis-deep-teal);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--helmis-white);
}
