/* ==========================================================================
   Care Signals — base design system
   Commercial intelligence for UK adult social care suppliers
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("../assets/fonts/ibm-plex-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("../assets/fonts/ibm-plex-serif-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("../assets/fonts/ibm-plex-serif-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("../assets/fonts/ibm-plex-serif-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy-950: #0f2638;
  --navy-900: #14324a;
  --navy-850: #183b55;
  --navy-800: #1c4560;
  --navy-700: #23536f;
  --navy-600: #2f6583;

  --teal-50: #eef5f4;
  --teal-100: #dceceb;
  --teal-300: #9fd0cb;
  --teal-400: #5aa8a2;
  --teal-500: #2f8a83;
  --teal-600: #1f6f6b;
  --teal-700: #185955;
  --teal-800: #12433f;

  --ink: #1c1917;
  --slate: #5c574f;
  --slate-light: #7a746b;
  --mist: #f4f1ec;
  --paper: #fbfaf7;
  --cream: #f4f1ec;
  --white: #ffffff;

  --line: #d6d1c8;
  --line-strong: #bdb6aa;
  --line-dark: rgba(255, 255, 255, 0.16);

  --gold: #7a5a12;
  --gold-bg: #fbf5e6;
  --risk: #7d2a2a;
  --risk-bg: #f8eded;
  --act: #0f5a4f;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;

  --fs-body: 1.0625rem;
  --fs-display: clamp(2.6rem, 1.55rem + 4.2vw, 4.35rem);
  --fs-h2: clamp(1.95rem, 1.35rem + 2.15vw, 3.05rem);
  --fs-h3: clamp(1.16rem, 1.1rem + 0.3vw, 1.32rem);
  --fs-lede: clamp(1.02rem, 0.98rem + 0.26vw, 1.14rem);
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  --gutter: clamp(1.25rem, 0.7rem + 3.4vw, 2.75rem);
  --section: clamp(4rem, 2.7rem + 5.8vw, 7.5rem);
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --max: 1200px;
  --header-h: 72px;
  --topbar-h: 38px;

  --shadow-sm: 0 1px 2px rgba(20, 50, 74, 0.04), 0 4px 14px rgba(20, 50, 74, 0.035);
  --shadow-md: 0 18px 48px -24px rgba(20, 50, 74, 0.3);
  --shadow-lg: 0 36px 80px -36px rgba(20, 50, 74, 0.42);
  --ease: cubic-bezier(0.22, 0.68, 0.26, 1);

  --focus: 0 0 0 2px var(--paper), 0 0 0 4px var(--teal-600);
  --focus-dark: 0 0 0 2px var(--navy-950), 0 0 0 4px var(--teal-300);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img,
svg {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: var(--navy-900);
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.18;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
}
h1 { font-size: var(--fs-display); line-height: 1.02; }
h2 { font-size: var(--fs-h2); line-height: 1.06; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul,
ol { margin: 0; padding: 0; }
li { list-style-position: outside; }
strong { font-weight: 600; }
em { font-style: italic; }

a {
  color: var(--teal-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--navy-900); }

:focus { outline: none; }
:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 3px;
}
.section--navy :focus-visible,
.hero :focus-visible,
.final-cta :focus-visible,
.site-footer :focus-visible,
.page-hero--navy :focus-visible {
  box-shadow: var(--focus-dark);
}

::selection {
  background: var(--teal-300);
  color: var(--navy-950);
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--navy-950);
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

.anchor-top {
  position: absolute;
  top: 0;
}

.section {
  position: relative;
  padding-block: var(--section);
}
.section--mist { background: var(--mist); }
.section--paper { background: var(--paper); }
.section--navy {
  background: var(--navy-950);
  color: #bcd3d0;
}
.section--navy h2,
.section--navy h3 { color: var(--white); }
.section--navy .lede { color: #a9c3c0; }
.section--line { border-top: 1px solid var(--line); }

.section-head {
  max-width: 740px;
  margin-bottom: clamp(2.2rem, 1.7rem + 2vw, 3.6rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow { justify-content: center; }
.section-head--wide { max-width: 860px; }
.section-head p:last-child { margin-bottom: 0; }

.section-title {
  font-size: var(--fs-h2);
  line-height: 1.06;
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  color: var(--teal-700);
}
.section--navy .section-title em { color: var(--teal-300); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  color: var(--teal-700);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
  flex: none;
}
.eyebrow--light { color: var(--teal-300); }
.eyebrow--plain::before { display: none; }

.lede {
  margin-top: 1.25rem;
  color: var(--slate);
  font-size: var(--fs-lede);
  line-height: 1.7;
  max-width: 47rem;
}
.lede--center { margin-inline: auto; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.78rem 1.3rem;
  border: 1.5px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--navy-900);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: var(--white);
  box-shadow: 0 10px 24px -12px rgba(15, 118, 110, 0.6);
}

.btn--signal {
  background: var(--teal-300);
  border-color: var(--teal-300);
  color: var(--navy-950);
}
.btn--signal:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy-950);
  box-shadow: 0 12px 30px -14px rgba(94, 234, 212, 0.65);
}

.btn--navy {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}
.btn--navy:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: var(--white);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--navy-900);
}
.btn--ghost:hover {
  background: var(--white);
  border-color: var(--navy-700);
  color: var(--navy-900);
}

.btn--light {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy-900);
}
.btn--light:hover {
  background: var(--teal-50);
  border-color: var(--teal-50);
  color: var(--navy-900);
}

.btn--sm {
  min-height: 42px;
  padding: 0.58rem 0.95rem;
  font-size: 0.85rem;
}
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.btn-row--center { justify-content: center; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--teal-700);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}
.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}
.text-link:hover svg { transform: translateX(3px); }
.text-link--light { color: var(--teal-300); }
.text-link--light:hover { color: var(--white); }

/* ---------- Brand ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--navy-900);
  text-decoration: none;
  flex: none;
}
.brand:hover { color: var(--navy-900); }
.brand::before {
  content: "";
  width: 3px;
  height: 30px;
  background: var(--teal-600);
  flex: none;
}
.brand__text { display: block; }
.brand__name {
  display: block;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1;
  text-transform: uppercase;
  color: inherit;
}
.brand__tag {
  display: block;
  margin-top: 0.32rem;
  color: var(--slate);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.brand--light { color: var(--white); }
.brand--light:hover { color: var(--white); }
.brand--light::before { background: var(--teal-300); }
.brand--light .brand__tag { color: #9dbdbb; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-950);
  color: #a9c7c3;
  font-size: 0.76rem;
  line-height: 1.4;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.1rem;
  min-height: var(--topbar-h);
  flex-wrap: wrap;
  text-align: center;
}
.topbar__offer {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.topbar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-300);
  flex: none;
}
.topbar strong { color: var(--white); font-weight: 600; }
.topbar a {
  color: var(--teal-300);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.topbar a:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
@supports (backdrop-filter: blur(12px)) {
  .site-header { backdrop-filter: blur(14px); }
}
.site-header.is-scrolled {
  background: rgba(251, 250, 247, 0.98);
  box-shadow: 0 6px 18px -16px rgba(20, 50, 74, 0.42);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: var(--header-h);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.1rem);
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.72rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav__link:hover {
  color: var(--teal-700);
  background: var(--mist);
}
.nav__link[aria-current="page"],
.nav__link[aria-current="true"] {
  color: var(--teal-700);
  font-weight: 600;
}
.nav__link[aria-current="page"]::after,
.nav__link[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--teal-500);
  border-radius: 2px;
}
.nav__cta { min-height: 44px; padding: 0.62rem 1rem; font-size: 0.875rem; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0 0.8rem;
  background: transparent;
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
  color: var(--navy-900);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--navy-700); }
.nav-toggle__icon {
  display: inline-grid;
  gap: 4px;
  width: 17px;
}
.nav-toggle__icon span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding: clamp(3.25rem, 2.5rem + 3vw, 5rem) 0 5.5rem;
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9eb9b5;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -45%;
  width: 60%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 111, 107, 0.1), transparent 65%);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 1fr;
  gap: 2.5rem 3rem;
}
.footer-brand p {
  max-width: 20rem;
  margin-top: 1.1rem;
  color: #8faeaa;
  font-size: 0.9rem;
  line-height: 1.65;
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.2rem;
  color: var(--teal-300);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.footer-cta:hover { color: var(--white); }
.footer-col h3 {
  margin-bottom: 0.9rem;
  color: #759b95;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.15rem; }
.footer-col a,
.footer-col span {
  color: #c2d6d3;
  font-size: 0.875rem;
  text-decoration: none;
  line-height: 1.5;
}
.footer-col a { display: inline-block; padding: 0.23rem 0; }
.footer-col a:hover { color: var(--teal-300); }
.footer-contact li { margin-bottom: 0.65rem; }
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.footer-contact svg { width: 15px; height: 15px; color: var(--teal-300); }
.footer-note {
  margin-top: 0.85rem;
  font-size: 0.72rem;
  color: #79948f;
  line-height: 1.55;
}
.footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #718d88;
  font-size: 0.73rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}
.footer-bottom a { color: #8faeaa; text-decoration: none; }
.footer-bottom a:hover { color: var(--teal-300); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  min-height: 52px;
  padding: 0.42rem 0.95rem 0.42rem 0.48rem;
  background: var(--navy-900);
  border: 1px solid rgba(159, 208, 203, 0.4);
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 14px 36px -12px rgba(20, 50, 74, 0.55);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.wa-float:hover {
  color: var(--white);
  transform: translateY(-2px);
  border-color: var(--teal-300);
  box-shadow: 0 18px 40px -12px rgba(20, 50, 74, 0.65);
}
.wa-float__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #25d366;
  color: var(--navy-950);
  flex: none;
}
.wa-float__icon svg { width: 21px; height: 21px; }
.wa-float__text { display: grid; line-height: 1.2; }
.wa-float__text small {
  color: #8fb4ae;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.wa-float__text strong {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.015em;
}

/* ---------- Motion ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.72s var(--ease),
      transform 0.72s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
  }
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
  .hero-copy > * {
    animation: fade-up 0.8s var(--ease) both;
  }
  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.32s; }
  .hero-visual {
    animation: fade-up 0.9s 0.15s var(--ease) both;
  }
}

/* ---------- Responsive base ---------- */
@media (max-width: 1100px) {
  .nav__link { padding-inline: 0.55rem; font-size: 0.86rem; }
  .header-inner { gap: 1.25rem; }
}

@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    max-height: calc(100vh - var(--header-h));
    padding: 0.9rem var(--gutter) 1.6rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(7, 27, 43, 0.5);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0.22s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__list li + li { border-top: 1px solid var(--line); }
  .nav__link {
    min-height: 54px;
    padding: 0 0.35rem;
    border-radius: 0;
    font-size: 1rem;
  }
  .nav__link:hover { background: transparent; }
  .nav__link[aria-current="page"]::after,
  .nav__link[aria-current="true"]::after {
    left: 0;
    right: auto;
    top: 50%;
    bottom: auto;
    width: 3px;
    height: 22px;
    transform: translateY(-50%);
  }
  .nav__link[aria-current="page"],
  .nav__link[aria-current="true"] { padding-left: 0.85rem; }
  .nav__cta { min-height: 50px; margin-top: 0.25rem; }
  .no-js .nav-toggle { display: none; }
  .no-js .nav {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 1rem;
    max-height: none;
  }
  .no-js .header-inner { flex-wrap: wrap; }
}

@media (max-width: 760px) {
  .topbar { font-size: 0.7rem; }
  .topbar__inner { gap: 0.35rem 0.8rem; min-height: 40px; padding-block: 0.25rem; }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
  .footer-brand { grid-column: 1 / -1; }
  .wa-float { padding-right: 0.8rem; }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .eyebrow { font-size: 0.64rem; letter-spacing: 0.12em; gap: 0.45rem; }
  .eyebrow::before { width: 14px; }
  .brand { gap: 0.55rem; }
  .brand::before { height: 26px; }
  .brand__name { font-size: 0.92rem; letter-spacing: 0.2em; }
  .brand__tag { font-size: 0.46rem; letter-spacing: 0.13em; }
  .wa-float { min-height: 48px; padding: 0.34rem 0.72rem 0.34rem 0.38rem; }
  .wa-float__icon { width: 34px; height: 34px; }
  .wa-float__text small { display: none; }
  .wa-float__text strong { font-size: 0.78rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .topbar,
  .site-header,
  .site-footer,
  .wa-float,
  .wa-float-slot,
  .skip-link,
  .no-print,
  .btn-row,
  .form-success { display: none !important; }
  body { background: #fff; color: #000; font-size: 10.5pt; }
  .section { padding-block: 0; }
  .section--mist,
  .section--navy,
  .page-hero--navy { background: none !important; color: #000 !important; }
  .section--navy h2,
  .section--navy h3,
  .page-hero--navy h1 { color: #000 !important; }
  a { color: #000; }
  .doc { border: 0; box-shadow: none; }
  @page { margin: 16mm; }
}

/* ---------- Small utility additions ---------- */
.btn-row--center { justify-content: center; }
.sample-actions { margin-top: 1.4rem; }
.pain-list { list-style: none; }
.signal-card__foot { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 1.5rem + 3vw, 4.5rem);
  align-items: start;
}
.split--5-7 { grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); }
.split--7-5 { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
.split > * { min-width: 0; }
.split .section-title { max-width: 16ch; }
.split .lede { margin-top: 0; }

@media (max-width: 980px) {
  .split,
  .split--5-7,
  .split--7-5 { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .split .section-title { max-width: 20ch; }
}

.em-teal { color: var(--teal-600); font-style: italic; }
.section--navy .em-teal,
.final-cta .em-teal { color: var(--teal-300); }
