/* =========================================================================
   BeWell Innovations — main stylesheet
   Design tokens mirror the Figma variables (colours, type scale, spacing).
   Layout is fully responsive: a single HTML source reflows across breakpoints.
   ========================================================================= */

/* -------------------------------------------------------------------------
   Self-hosted IBM Plex Sans (SIL Open Font License 1.1 — see fonts/OFL.txt).
   Latin + Latin-Extended subsets, weights 400/500/600. No external requests.
   ------------------------------------------------------------------------- */
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/static/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"),
       url(/static/fonts/ibm-plex-sans-latin-400-normal.woff) format("woff");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/static/fonts/ibm-plex-sans-latin-ext-400-normal.woff2) format("woff2"),
       url(/static/fonts/ibm-plex-sans-latin-ext-400-normal.woff) format("woff");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/static/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"),
       url(/static/fonts/ibm-plex-sans-latin-500-normal.woff) format("woff");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/static/fonts/ibm-plex-sans-latin-ext-500-normal.woff2) format("woff2"),
       url(/static/fonts/ibm-plex-sans-latin-ext-500-normal.woff) format("woff");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/static/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"),
       url(/static/fonts/ibm-plex-sans-latin-600-normal.woff) format("woff");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/static/fonts/ibm-plex-sans-latin-ext-600-normal.woff2) format("woff2"),
       url(/static/fonts/ibm-plex-sans-latin-ext-600-normal.woff) format("woff");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  /* colours */
  --primary: #2eb29d;
  --primary-medium: #6dc9ba;
  --primary-dark: #08796e;
  --primary-light: #e0f3f0;
  --neutral-0: #ffffff;
  --neutral-50: #f3f5f7;
  --neutral-400: #7b8b96;
  --neutral-600: #4e5c66;
  --neutral-800: #2f3440;

  /* type */
  --font: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --fs-h1: 56px;
  --fs-h2: 48px;
  --fs-h3: 38px;
  --fs-h4: 26px;
  --fs-h5: 20px;
  --fs-body: 18px;
  --fs-small: 16px;
  --fs-xs: 14px;
  --lh-head: 1.2;
  --lh-body: 1.6;

  /* spacing */
  --margin: 64px;          /* grid side margin */
  --gutter: 32px;          /* grid gutter */
  --vgap: 96px;            /* vertical section rhythm */
  --vgap-sm: 80px;
  --radius: 24px;
  --content: 1312px;       /* 1440 - 2*64 */
  --content-narrow: 1088px;
  --shadow: 0 4px 50px rgba(47, 52, 64, 0.10);
}

/* ---------- reset / base ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--neutral-800);
  background: var(--neutral-0);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { margin: 0; line-height: var(--lh-head); font-weight: 500; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--neutral-800);
  color: #fff; padding: 10px 16px; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- layout helpers --------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--content) + var(--margin) * 2);
  margin-inline: auto;
  padding-inline: var(--margin);
}
.section { padding-block: var(--vgap); }
.section--tight { padding-block: var(--vgap-sm); }
#integrations { padding-block: 96px; }
#how-it-works { padding-bottom: 0; } /* avoid doubling the white gap above #integrations */
.center { text-align: center; }
.rule { border: 0; border-top: 1px solid rgba(47, 52, 64, .2); margin: 0; }

/* ---------- buttons ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding-inline: 24px;
  border-radius: var(--radius);
  font-family: inherit; font-size: var(--fs-body); font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn img { width: 28px; height: 28px; }
.btn-primary { background: var(--primary-medium); color: var(--neutral-800); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-primary:hover img { filter: brightness(0) invert(1); }
.btn-secondary { background: transparent; color: var(--neutral-800); border-color: var(--neutral-800); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn-on-dark { color: #fff; border-color: rgba(255,255,255,.6); }
.btn-on-dark:hover { background: #fff; color: var(--neutral-800); border-color: #fff; }
.btn-on-dark img { filter: brightness(0) invert(1); }
.btn-on-dark:hover img { filter: none; }

/* ---------- header ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 98px; }
.logo img { height: 50px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a { font-size: var(--fs-body); font-weight: 500; color: var(--neutral-800); }
.nav-links a:hover { color: var(--primary-dark); text-decoration: underline; text-decoration-color: var(--primary); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-cta { font-weight: 600; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--neutral-800);
  border-radius: 50%; background: transparent; cursor: pointer;
  align-items: center; justify-content: center; transition: border-color .15s ease;
}
.nav-toggle-ic {
  width: 28px; height: 28px; background: var(--neutral-800);
  -webkit-mask: url(/static/icons/menu.svg) center / contain no-repeat;
  mask: url(/static/icons/menu.svg) center / contain no-repeat;
  transition: background-color .15s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-ic {
  -webkit-mask-image: url(/static/icons/close.svg);
  mask-image: url(/static/icons/close.svg);
}
.nav-toggle:hover { border-color: var(--primary); }
.nav-toggle:hover .nav-toggle-ic { background: var(--primary-dark); }

/* ---------- hero -------------------------------------------------------- */
.hero { padding-block: 0; }
.hero-grid {
  display: grid; grid-template-columns: 493px 1fr; gap: 80px; align-items: center;
  min-height: 480px; padding-block: 0 80px;
}
.hero-copy h1 { margin-bottom: 16px; }
.hero-copy p { color: var(--neutral-600); margin-bottom: 32px; }
.hero-media { position: relative; width: 100%; max-width: 739px; margin-left: auto; aspect-ratio: 739 / 480; }
.hero-photo {
  position: absolute; right: 0; top: 0; width: 67.52%; height: 100%;
  object-fit: cover; border-radius: 100px 0;
}
.hero-shape { position: absolute; background: var(--primary); border-radius: 100px 0; }
.hero-shape-1 { left: 0; top: 39.17%; width: 13.53%; height: 60.83%; opacity: .3; }
.hero-shape-2 { left: 16.24%; top: 19.58%; width: 13.53%; height: 80.42%; }

/* ---------- stats banner ------------------------------------------------ */
.stats { background: var(--primary-light); }
.stats-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding-block: 32px; text-align: center; gap: var(--gutter);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-size: var(--fs-h3); font-weight: 500; color: var(--primary-dark); line-height: 1.2; }
.stat-label { font-size: var(--fs-small); color: var(--neutral-600); }

/* ---------- generic intro / cards -------------------------------------- */
.section-intro { max-width: 416px; }
.section-intro--wide { max-width: var(--content-narrow); margin-bottom: 48px; }
.section-intro h2, .section--tight > .container > h2 { margin-bottom: 16px; }
.section-intro p { color: var(--neutral-600); }

.challenge-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter);
  align-items: stretch;
}
.challenge-grid .section-intro { align-self: center; padding-right: 32px; }
.card { border-radius: var(--radius); padding: 32px; }
.card-tint { background: var(--neutral-50); }
.card h4 { font-size: var(--fs-h4); font-weight: 600; margin: 24px 0 12px; }
.card p { color: var(--neutral-600); font-size: var(--fs-small); }
.card-icon img { height: 62px; width: auto; }

/* ---------- care paths -------------------------------------------------- */
.carepaths {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter);
}
.carepath {
  background: #fff; border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.carepath-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 50%; margin-bottom: 24px;
  background: var(--accent-bg);
}
.carepath-icon img { width: 44px; height: 44px; }
.carepath h4 { font-size: var(--fs-h4); font-weight: 600; margin-bottom: 16px; }
.ticklist { display: flex; flex-direction: column; gap: 12px; }
.ticklist li {
  position: relative; padding-left: 18px;
  font-size: var(--fs-small); color: var(--neutral-600);
}
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.carepath--more { background: var(--primary-light); box-shadow: none; align-items: center; justify-content: center; text-align: center; }
.carepath--more h4 { font-size: var(--fs-h4); font-weight: 600; margin-bottom: 16px; }
.carepath--more p { color: var(--neutral-600); font-size: var(--fs-small); margin-bottom: 20px; }
.carepath--more .btn { align-self: center; }

/* ---------- how it works ------------------------------------------------ */
.how-intro {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter);
  align-items: start; margin-bottom: 80px;
}
.how-intro .section-intro { align-self: center; padding-right: 32px; }
.tool-media {
  background: var(--neutral-50); border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 10; margin-bottom: 24px; display: flex; align-items: center; justify-content: center;
}
.tool-media img { width: 100%; height: 100%; object-fit: cover; }
.tool h4 { font-size: var(--fs-h4); font-weight: 600; margin-bottom: 12px; }
.tool p { color: var(--neutral-600); font-size: var(--fs-small); }

.features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter);
  background: var(--primary-light); border-radius: var(--radius); padding: 48px;
}
.feature { display: flex; gap: 12px; align-items: flex-start; }
.feature > div { display: flex; flex-direction: column; gap: 4px; }
.feature-icon { width: 24px; height: 24px; flex: 0 0 auto; }
.feature-icon img { width: 24px; height: 24px; }
.feature h5 { font-size: var(--fs-h5); font-weight: 600; }
.feature p { font-size: var(--fs-small); color: var(--neutral-600); }

/* ---------- open solution / logo boxes --------------------------------- */
.section--tight > .container > h3.center { font-size: var(--fs-h3); font-weight: 500; margin-bottom: 48px; }
.logo-boxes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter);
  max-width: var(--content-narrow); margin-inline: auto;
}
.logo-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.logo-box h4 {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; text-align: center;
  padding: 4px 16px; background: var(--neutral-800); color: var(--neutral-0);
}
.logo-box-body { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; padding: 12px 24px; }
.logo-box-body img { width: 100%; height: auto; display: block; }

/* ---------- testimonial ------------------------------------------------- */
.testimonial-band { background: var(--primary); padding-block: 96px; }
.testimonial {
  background: #fff; border-radius: var(--radius); margin: 0;
  max-width: var(--content-narrow); margin-inline: auto;
  padding: 64px; box-shadow: var(--shadow);
}
.testimonial-quote { width: 39px; height: 60px; margin-bottom: 24px; }
.testimonial-viewport { overflow: hidden; }
.testimonial-track { display: flex; transition: transform .5s ease; }
.testimonial-slide { flex: 0 0 100%; align-self: flex-start; }
.testimonial blockquote { margin: 0 0 32px; }
.testimonial blockquote p { font-size: 22px; font-style: italic; line-height: 1.4; color: var(--neutral-800); }
.testimonial-foot { display: flex; align-items: center; gap: 16px; }
.testimonial-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.testimonial-person { display: flex; flex-direction: column; }
.testimonial-name { font-weight: 600; }
.testimonial-role { color: var(--neutral-600); font-size: var(--fs-small); }
.testimonial-nav { margin-left: auto; display: flex; gap: 8px; }
.t-arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--neutral-800);
  background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.t-arrow:hover { border-color: var(--primary); }
.t-arrow-ic { width: 28px; height: 28px; background: var(--neutral-800);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.t-arrow:hover .t-arrow-ic { background: var(--primary-dark); }

/* ---------- contact / form --------------------------------------------- */
.contact-card {
  display: grid; grid-template-columns: 442px 1fr; gap: 80px;
  background: var(--primary-light); border-radius: var(--radius); padding: 64px; align-items: center;
}
.contact-copy h3 { font-size: var(--fs-h3); margin-bottom: 16px; }
.contact-copy p { color: var(--neutral-600); margin-bottom: 16px; }
.contact-copy a { text-decoration: underline; color: var(--primary-dark); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form .btn { align-self: flex-start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: var(--fs-body); font-weight: 600; }
.field input, .field textarea {
  font: inherit; font-size: var(--fs-small); color: var(--neutral-800);
  padding: 12px 16px; border: 1px solid #cdd6db; border-radius: 24px; background: #fff;
  width: 100%; resize: vertical;
}
.field input { height: 48px; padding: 0 16px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--primary); border-color: var(--primary); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-body); color: var(--neutral-600); }
.checkbox input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 4px; accent-color: var(--primary); }
.form-status { font-size: var(--fs-small); }
.form-status.is-ok { color: var(--primary-dark); }
.form-status.is-error { color: #c0392b; }

/* ---------- footer ------------------------------------------------------ */
.site-footer { background: var(--neutral-800); color: #fff; padding-block: 64px; }
.footer-inner {
  display: grid; grid-template-columns: auto 1fr; column-gap: 96px;
}
.footer-logo img { width: 147px; height: auto; }
.footer-about { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.footer-cert { display: flex; gap: 16px; align-items: center; }
.footer-cert img { height: 60px; width: auto; }
.footer-cert p { font-size: var(--fs-small); color: #cfd6db; }
.footer-title { font-size: var(--fs-h5); font-weight: 600; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.footer-links::before { content: ""; position: absolute; left: -48px; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .2); }
.footer-col a, .footer-col address, .footer-vat { font-size: var(--fs-small); color: #cfd6db; font-style: normal; }
.footer-col a { text-decoration: underline; }
.footer-col a:hover { color: #fff; }
.footer-col address, .footer-vat { margin-bottom: 16px; line-height: 1.6; }

/* ---------- prose (privacy / support) ---------------------------------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose-title { font-size: var(--fs-h1); margin-bottom: 32px; }
.prose h2 { font-size: var(--fs-h3); margin: 40px 0 12px; }
.prose h3 { font-size: var(--fs-h4); font-weight: 600; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--neutral-600); }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; }
.prose a:not(.btn) { color: var(--primary-dark); text-decoration: underline; }
.prose hr { border: 0; border-top: 1px solid var(--neutral-50); margin: 40px 0; }
.prose .btn { margin: 8px 0; }

/* callout: matches the light-teal boxes on the main page */
.prose blockquote {
  background: var(--primary-light); border-radius: var(--radius);
  padding: 32px; margin: 24px 0;
}
.prose blockquote p { color: var(--neutral-800); }
.prose blockquote p:last-child { margin-bottom: 0; }

/* tables: dark header (distinct), zebra body, rounded to match the design */
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: var(--fs-small); }
.prose thead th {
  background: var(--neutral-800); color: var(--neutral-0);
  text-align: left; font-weight: 600; padding: 12px 16px;
}
.prose thead th:first-child { border-top-left-radius: 12px; }
.prose thead th:last-child { border-top-right-radius: 12px; }
.prose tbody td { padding: 12px 16px; border-bottom: 1px solid var(--neutral-50); color: var(--neutral-600); }
.prose tbody tr:nth-child(even) { background: var(--neutral-50); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1200px) {
  :root { --margin: 40px; --vgap: 80px; --vgap-sm: 64px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .challenge-grid { grid-template-columns: 1fr 1fr; }
  .section-intro { max-width: none; }
  .challenge-grid .section-intro { grid-column: 1 / -1; padding-right: 0; }
  .how-intro { grid-template-columns: 1fr 1fr; }
  .how-intro .section-intro { grid-column: 1 / -1; max-width: var(--content-narrow); padding-right: 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1fr; gap: 40px; padding: 48px; }
  .footer-inner { grid-template-columns: 1fr; row-gap: 40px; }
  .footer-links::before { display: none; }

  /* hamburger nav on tablet + mobile; full nav only on desktop (>1200px) */
  .header-inner { height: 80px; }
  .logo img { height: 40px; }
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: 80px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--neutral-50);
    padding: 8px var(--margin) 24px; align-items: stretch;
    transform: translateY(-120%); transition: transform .25s ease;
    max-height: calc(100vh - 80px); overflow: auto;
  }
  .primary-nav.is-open { transform: translateY(0); box-shadow: var(--shadow); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--neutral-50); }
  .nav-cta { margin-top: 16px; justify-content: center; }
}

@media (max-width: 900px) {
  :root { --fs-h1: 40px; --fs-h2: 34px; --fs-h3: 28px; --fs-h4: 24px; }
  .carepaths { grid-template-columns: repeat(2, 1fr); }
  .logo-boxes { grid-template-columns: 1fr; max-width: 480px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
}

@media (max-width: 640px) {
  :root { --margin: 20px; --gutter: 16px; }
  #integrations { padding-block: 40px; }
  .hero-grid { grid-template-columns: 1fr; }
  .challenge-grid { grid-template-columns: 1fr; }
  .carepaths { grid-template-columns: 1fr; }
  .how-intro { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; padding: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .testimonial, .contact-card { padding: 28px; }
  .testimonial blockquote p { font-size: 18px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }

  /* full-width CTA buttons on phones */
  .btn { width: 100%; justify-content: center; }
  /* testimonial: arrows drop below the avatar + name/role */
  .testimonial-foot { flex-wrap: wrap; }
  .testimonial-nav { margin-left: 0; flex-basis: 100%; justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track, .testimonial-viewport { transition: none; }
}

/* ---------- cookie banner (static, bottom of page) --------------------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(8px); backdrop-filter: saturate(180%) blur(8px);
  border-top: 1px solid var(--neutral-50);
}
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: flex; align-items: center; gap: 32px; padding-block: 20px; }
.cookie-text { margin: 0; max-width: 80ch; font-size: var(--fs-small); color: var(--neutral-600); }
.cookie-text strong { color: var(--neutral-800); }
.cookie-text a { color: var(--primary-dark); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; margin-left: auto; flex-shrink: 0; }
@media (max-width: 760px) {
  .cookie-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cookie-actions { margin-left: 0; flex-wrap: wrap; }
}
