:root {
  --teal: #0097B2;
  --teal-dark: #004455;
  --teal-lt: #9EE0F0;
  --td: #012B42;
  --tm: #007a91;
  --ink: #08141a;
  --navy: #012B42;
  --W: #FEFFFE;
  --off: #f4f7f8;
  --off2: #e8ecee;
  --T: #0d1e26;
  --mid: #1d3040;
  --mut: #2a4354;
  --rule: #e2e8eb;
  --spark: #ff6b1a;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--W);
  color: var(--T);
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  background: rgba(254,255,254,.97);
  backdrop-filter: blur(20px);
  padding: 1rem 3rem;
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 2px 24px rgba(0,0,0,.06);
  display: flex; align-items: center; justify-content: space-between;
}
.nl img { height: 26px; display: block; }
.nm { display: flex; gap: 2rem; list-style: none; }
.nm a {
  font-size: .62rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; text-decoration: none;
  color: var(--ink); transition: color .2s;
}
.nm a:hover { color: var(--teal-dark); }
/* NAV DROPDOWN (Solutions) */
.ndd{position:relative}
.ndt::after{content:'';display:inline-block;width:5px;height:5px;margin-left:.45em;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s}
.ndd:hover .ndt::after,.ndd:focus-within .ndt::after{transform:translateY(0) rotate(-135deg)}
.ndm{position:absolute;top:100%;left:-1.1rem;margin-top:.9rem;min-width:190px;list-style:none;background:#fff;border:1px solid var(--rule);border-top:2px solid var(--teal);box-shadow:0 16px 36px rgba(0,0,0,.1);padding:.45rem 0;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .18s,transform .18s,visibility .18s;z-index:10}
.ndm::before{content:'';position:absolute;left:0;right:0;top:-1.1rem;height:1.1rem}
.ndd:hover .ndm,.ndd:focus-within .ndm{opacity:1;visibility:visible;transform:none}
.ndm a{display:block;padding:.7rem 1.1rem;white-space:nowrap}
.ndm a:hover{background:rgba(0,151,178,.07)}
.ndm a.act::after{display:none}
.n-cta {
  font-size: .6rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; background: var(--teal); color: #fff;
  padding: .6rem 1.4rem; text-decoration: none; border-radius: 1px;
  transition: all .2s;
}
.n-cta:hover { background: var(--td); color: #fff; }

/* FOOTER */
footer { background: var(--ink); padding: 4rem 3rem 2.5rem; border-top: 1px solid rgba(0,151,178,.12); }
.ftop {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 2rem;
}
.flogo img { height: 24px; margin-bottom: 1rem; filter: brightness(10); opacity: .75; }
.fbrand p { font-size: .7rem; font-weight: 300; color: rgba(255,255,255,.92); line-height: 1.75; max-width: 220px; }
.fcol h5 {
  font-size: .5rem; font-weight: 700; letter-spacing: .32em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 1rem;
}
.fcol ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.fcol a { font-size: .7rem; font-weight: 300; color: rgba(255,255,255,.92); text-decoration: none; transition: color .2s; }
.fcol a:hover { color: var(--teal); }
.fbot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.fcopy { font-size: .55rem; color: rgba(255,255,255,.55); letter-spacing: .04em; }
.fcopy a { color: rgba(255,255,255,.55); }
.fcopy a:hover { color: var(--teal); }
.fsoc { display: flex; gap: 1.5rem; }
.fsoc a {
  font-size: .55rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  text-decoration: none; transition: color .2s;
}
.fsoc a:hover { color: var(--teal); }

@media (max-width: 960px) {
  nav { padding: 1rem 1.5rem; }
  .nm { display: none; }
  .ftop { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  nav { padding: .8rem 1.25rem; }
  footer { padding: 3rem 1.25rem 2rem; }
  .ftop { grid-template-columns: 1fr; }
  .fbot { flex-direction: column; align-items: flex-start; }
}

/* ── SOCIAL BUTTONS ── */
.fsoc{flex-wrap:wrap;gap:.6rem}
.fsoc a{display:inline-flex;align-items:center;gap:.45rem;padding:.45rem .85rem;border:1px solid rgba(255,255,255,.18);border-radius:999px;color:rgba(255,255,255,.85);transition:color .2s,border-color .2s,background .2s}
.fsoc a:hover{color:#fff;border-color:var(--teal);background:rgba(0,151,178,.18)}
.fsoc svg{width:14px;height:14px;flex-shrink:0}

/* ═══════════════════════════════════════
   MOBILE BALANCE (sub-pages)
   "html body" prefix: these must beat each page's own <style>, which loads after this file.
═══════════════════════════════════════ */
.nburg{display:none;background:#fff;border:1px solid var(--rule);width:44px;height:44px;border-radius:2px;cursor:pointer;align-items:center;justify-content:center;margin-left:.8rem;flex-direction:column;gap:4px;padding:0}
.nburg span{display:block;width:16px;height:2px;background:var(--ink);transition:transform .2s,opacity .2s}
nav.mopen .nburg span:nth-child(1){transform:translateY(6px) rotate(45deg)}
nav.mopen .nburg span:nth-child(2){opacity:0}
nav.mopen .nburg span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
@media (max-width: 960px) {
  html body .nburg{display:flex}
  html body .n-cta{min-height:40px;display:inline-flex;align-items:center}
  html body nav.mopen .nm{display:flex;flex-direction:column;position:absolute;top:100%;left:0;right:0;background:#fff;padding:.5rem 1.5rem 1.1rem;gap:0;border-bottom:1px solid var(--rule);box-shadow:0 18px 40px rgba(0,0,0,.12)}
  html body nav.mopen .nm a{display:block;padding:.7rem 0;font-size:.8rem;color:var(--ink)}
  html body nav.mopen .ndt::after{display:none}
  html body nav.mopen .ndm{position:static;opacity:1;visibility:visible;transform:none;margin:0;padding:0 0 0 .9rem;min-width:0;background:none;border:0;box-shadow:none;display:flex;flex-direction:column}
  html body nav.mopen .ndm::before{display:none}
  html body nav.mopen .ndm a{padding:.6rem 0}
}
@media (max-width: 600px) {
  /* 16px inputs: stops iOS zooming the page when a field is tapped */
  html body input,html body select,html body textarea{font-size:16px!important}
  /* Labels ≥10px */
  html body .eyebrow,html body .toc-label,html body .ig-label,html body label,
  html body .cs-card-head,html body .cs-label,html body .bcat,html body .fcol h5,
  html body .bmore h3,html body .bmore small,html body .md-label,html body .directions-btn{font-size:.66rem!important}
  html body .n-cta{font-size:.66rem;padding:.6rem 1rem}
  html body .wa-btn,html body .submit-btn{font-size:.72rem;min-height:48px}
  html body .submit-btn{width:100%}
  /* Sentences ≥12.5px */
  html body .meta,html body .form-note,html body .cs-sub,html body .hg-day{font-size:.8rem}
  html body .bnav,html body .bnav a{font-size:.7rem}
  html body .bnav a{display:inline-block;padding:.5rem 0}
  /* Footer tap targets */
  html body .fcol ul{gap:0}
  html body .fcol a{display:inline-block;padding:.55rem 0;font-size:.86rem}
  html body .fcopy{font-size:.74rem;line-height:1.7}
  html body .fcopy a{display:inline-block;padding:.4rem 0}
  html body .fsoc a{min-height:42px;font-size:.66rem}
  html body .toc a{display:inline-block;padding:.4rem 0;font-size:.86rem}
}

/* ═══ MOBILE VARIANT (sub-pages, ≤600px) ═══ */
.m-only{display:none}
@media (max-width: 600px) {
  html body .m-only{display:block}
  /* Footer: brand, legal and contact; the menu covers products and tools */
  html body .ftop .fcol:nth-child(2),html body .ftop .fcol:nth-child(3){display:none}
  /* Legal pages: 16px reading text */
  html body .doc-body p,html body .doc-body li{font-size:1rem!important;line-height:1.65!important}
  html body .fcol a,html body .fbrand p{font-weight:400!important}
  html body .fbrand p{font-size:.86rem!important;line-height:1.6!important}
  /* Contents list folds behind its label */
  html body .toc:not(.open) ol{display:none}
  html body .toc .toc-label{display:flex!important;justify-content:space-between;align-items:center;min-height:48px;cursor:pointer;margin:0!important}
  html body .toc .toc-label::after{content:'+';font-size:1.3rem;font-weight:400;letter-spacing:0}
  html body .toc.open .toc-label::after{content:'\2013'}
}
