﻿/* ==========================================================================
   EthosMED â€” local rebuild of ethosmed.com
   Colours, type sizes and spacing measured from the live site.
   ========================================================================== */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latin.woff2') format('woff2');
}

:root {
  --brand: #9e2525;
  --brand-hover: rgba(158, 36, 36, 0.78);
  --ink: #1d1e20;
  --black: #000;
  --white: #fff;
  --field-bg: #eceff3;
  --field-border: #b8c0cc;
  --container: 1224px;
  --header-h: 94px;
  --section-space: 72px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  /* Shared surface and line colours used across every page, so sections
     alternate between a white band and a faint warm band the same way
     throughout the site. */
  --surface-tint: #f7f4f2;
  --line: #e3dedb;
  --line-soft: #ece7e3;
  --muted: #5a5c60;
  --radius: 12px;
  --radius-sm: 10px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.72;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: normal;
}

p,
li,
figcaption,
td,
th {
  letter-spacing: 0.01em;
}

.doc p,
.doc li,
.faq-item p,
.review__quote p {
  white-space: break-spaces;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* ---------- Header ------------------------------------------------------ */

.site-header {
  position: relative;
  z-index: 30;
  height: var(--header-h);
  background: var(--white);
}

.site-header--over-hero {
  position: absolute;
  inset: 0 0 auto 0;
  background: transparent;
}

/* Over the dark hero the red navigation and social icons would be unreadable,
   so the links go white for that one page. The logo artwork itself is swapped
   for a white-wordmark version by the same page class. */
.site-header--over-dark .nav__link {
  color: rgba(255, 255, 255, 0.92);
}

.site-header--over-dark .nav__link:hover,
.site-header--over-dark .nav__link[aria-current='page'] {
  color: var(--white);
}

.site-header--over-dark .socials,
.site-header--over-dark .socials a {
  color: var(--white);
}

.site-header--over-dark .socials a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* The wordmark artwork is black on transparency, which disappears over the
   dark hero. The white-wordmark file is the same logo with only the black
   lettering recoloured, so the red "MED+" is unchanged. */
.site-header--over-dark .logo img {
  content: url('../img/logo-on-dark.png');
}

.site-header__inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 16px;
  height: 100%;
  display: flex;
  align-items: center;
}

.logo {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.logo img {
  width: 350px;
  height: 70px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: auto;
}

.nav__link {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link[aria-current='page'] {
  color: var(--brand-hover);
  text-decoration: underline;
}

.socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 64px;
}

.socials a {
  display: block;
  width: 24px;
  height: 24px;
  color: #000;
}

.socials a:hover {
  color: #3a3a3a;
}

.socials svg {
  width: 100%;
  height: 100%;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #000;
  margin: 5px 0;
}

/* ---------- Footer ------------------------------------------------------ */

.site-footer {
  background: var(--surface-tint);
  border-top: 1px solid var(--line);
  min-height: 0;
  display: flex;
  align-items: center;
}

.site-footer__inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.site-footer__heading {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer__contact p {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.site-footer__contact a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.site-footer__contact a:hover {
  text-decoration: underline;
}

.site-footer__brand img {
  width: 289px;
  height: 59px;
  object-fit: contain;
}

.site-footer__copy {
  margin: 20px 0 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.72;
  color: var(--muted);
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.site-footer__links li {
  margin-bottom: 6px;
}

.site-footer__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--brand);
  text-decoration: underline;
}

/* ---------- Shared type ------------------------------------------------- */

.h1 {
  font-size: 90px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.h2 {
  font-size: 72px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}

.h3 {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}

.h4 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}

.h5 {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}

.h6 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 16px;
}

.brand-text {
  color: var(--brand);
}

.body-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.72;
  margin: 0;
}

.body-large {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.72;
  margin: 0;
}

.body-small {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.72;
  margin: 0;
}

/* ---------- Home: hero -------------------------------------------------- */

/* The hero fills the viewport on first load: a photograph of a radiology
   workstation, a slow drifting network drawn over it by Vanta.js, and a scrim
   so the copy stays readable. The earlier animated banner (a 7 fps GIF, later
   re-encoded as video) is gone. */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0d1418;
  isolation: isolate;
}

.hero__bg,
.hero__vanta,
.hero__scrim {
  position: absolute;
  inset: 0;
}

.hero__bg {
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

/* Vanta draws into this layer. It sits above the photograph and below the
   scrim, so its lines read over the image without fighting the text. */
.hero__vanta {
  z-index: 1;
  opacity: 0.85;
}

.hero__vanta canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.hero__scrim {
  z-index: 2;
  background: linear-gradient(
    100deg,
    rgba(13, 20, 24, 0.90) 0%,
    rgba(13, 20, 24, 0.80) 34%,
    rgba(13, 20, 24, 0.45) 58%,
    rgba(13, 20, 24, 0.14) 78%,
    rgba(13, 20, 24, 0.06) 100%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.hero__eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.hero__title {
  margin: 0;
  max-width: 18ch;
  font-size: 68px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
}

.hero__subtitle {
  margin: 20px 0 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.45;
  color: #f0d2d2;
}

.hero__lead {
  margin: 18px 0 0;
  max-width: 52ch;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.hero__quote {
  margin: 26px 0 0;
  max-width: 52ch;
  padding-left: 18px;
  border-left: 3px solid var(--brand);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

/* Two actions in the hero: the primary one starts a sales conversation, the
   secondary opens the viewer demo. The demo label says "viewer" because that
   is all the public demo contains - it is not the whole PACS. */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 30px 0 0;
}

/* An outlined button that reads clearly on the dark hero. */
.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

/* ---------- Home: trust bar --------------------------------------------- */

/* The figures come from the client logo artwork: 94 organisation logos, and
   the country named on each logo card gives 10 distinct countries. Nothing
   here is estimated. */
.trust {
  background: var(--brand);
  color: var(--white);
}

.trust__inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}

/* Below the tablet breakpoint the five figures wrap into two rows rather than
   squeezing into unreadable columns. */
@media (max-width: 900px) {
  .trust__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .trust__figure {
    font-size: 36px;
  }
}

.trust__figure {
  margin: 0;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
}

.trust__label {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- Home: two markets ------------------------------------------- */

.markets {
  background: var(--white);
  padding: var(--section-space) 0;
}

.markets__inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.markets__title {
  margin: 0 0 32px;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--brand);
}

.markets__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.market {
  display: flex;
  flex-direction: column;
  padding: 34px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-tint);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.market:hover {
  border-color: var(--brand);
  box-shadow: 0 10px 30px rgba(29, 30, 32, 0.08);
  transform: translateY(-2px);
}

.market__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.market__name {
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}

.market__copy {
  margin: 14px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
}

.market__link {
  margin-top: 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
}

.market__link::after {
  content: ' \2192';
}

/* ---------- Home: intro ------------------------------------------------- */

.intro {
  padding: var(--section-space) 0;
  background: var(--white);
  overflow: hidden;
}

.intro__title {
  font-size: 44px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--brand);
  margin: 0;
}

.intro__cols {
  display: grid;
  grid-template-columns: 503px 503px;
  justify-content: space-between;
  column-gap: 218px;
  margin-top: 32px;
}

.intro__cols p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.72;
  color: var(--ink);
  margin: 0;
}

/* The workflow diagram is 1681x627; forcing it into a fixed 440px height
   cropped the bottom of the picture and squeezed the four steps. Letting the
   height follow the width keeps all four steps visible. */
.intro__figure {
  margin: 48px 0 0;
}

.intro__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* ---------- Home: features ---------------------------------------------- */

/* This band used to be a full-bleed red block with white text and white line
   icons. That made the site read as two different designs. It now uses the
   same light surface, red accent and card grid as the rest of the site. */
.features {
  background: var(--surface-tint);
  padding: var(--section-space) 0;
}

.features__title {
  margin: 0 0 8px;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--brand);
}

.features__intro {
  margin: 0 0 40px;
  max-width: 70ch;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.72;
  color: var(--ink);
}

.features__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  align-items: start;
}

.features__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.features__cols--top {
  min-height: 0;
}

.features__cols--top .features__col {
  gap: 20px;
}

.features__cols:not(.features__cols--top) {
  margin-top: 28px;
}

.features__cols:not(.features__cols--top) .features__col:first-child,
.features__cols:not(.features__cols--top) .features__col:last-child {
  gap: 20px;
}

.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.feature__icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(158, 37, 37, 0.09);
}

/* The icon artwork is white line art, drawn for the old red background.
   A filter turns it brand red so it stays visible on the light badge. */
.feature__icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(17%) sepia(52%) saturate(2900%)
          hue-rotate(348deg) brightness(88%) contrast(92%);
}

.feature__text {
  padding-top: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.72;
  color: var(--ink);
  margin: 0;
  max-width: none;
}

.features__col:last-child .feature__text {
  max-width: none;
}

.features__cols--top .features__col:first-child .feature:first-child .feature__text {
  max-width: none;
}

.gallery__title {
  margin: 56px 0 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

/* Four capability cards rather than a wall of 42 thumbnails. Those
   screenshots were 130px wide, so nothing in them was readable, and several
   showed a browser frame with a localhost address bar. */
.gallery {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gallery__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 26px 24px;
}

.gallery__item h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--brand);
}

.gallery__item p {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
}

.features__cta {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  padding: 0 28px;
  min-width: 0;
  height: 48px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #85201f;
}

/* Secondary action: same shape, outlined in brand red, for use beside a
   solid primary button (hero and solution pages). */
.btn--ghost {
  background: transparent;
  color: var(--brand);
  border: 2px solid currentColor;
}

.btn--ghost:hover {
  background: rgba(158, 37, 37, 0.06);
  color: var(--brand);
}

/* ---------- Home: AI ---------------------------------------------------- */

.ai {
  padding: var(--section-space) 0;
  background: var(--white);
}

.ai__title {
  font-size: 44px;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  color: var(--brand);
  margin: 0;
}

.ai__intro {
  margin: 10px 0 0;
  max-width: 70ch;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.72;
  color: var(--ink);
}

/* ---------- AI module slider -------------------------------------------- */

.slider {
  position: relative;
  margin: 36px 0 0;
}

.slider__viewport {
  overflow: hidden;
  /* Room for the card shadow, otherwise it is clipped at the edges. */
  padding: 4px;
  margin: -4px;
}

.slider__track {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.slider__slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
}

.module-slide {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.module-slide__media {
  aspect-ratio: 16 / 9;
  background: #eef1f4;
}

.module-slide__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modules with no product screenshot get a plain panel carrying a single
   figure or a short label, rather than a made-up picture of output we do not
   have. */
.module-slide__media--plain {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--brand);
}

.module-slide__mark {
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  color: var(--white);
}

.module-slide__mark-sub {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.module-slide__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 26px;
}

.module-slide__tag {
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(158, 37, 37, 0.09);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.module-slide__body h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.module-slide__body p {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
}

.module-slide__link {
  margin-top: auto;
  padding-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}

.module-slide__link::after {
  content: ' \2192';
}

.module-slide__link:hover {
  text-decoration: underline;
}

/* Controls: arrows either side of a row of dots. */
.slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 28px 0 0;
}

.slider__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--brand);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.slider__arrow:hover:not(:disabled) {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.slider__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.slider__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d9d2cf;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slider__dot[aria-selected='true'] {
  background: var(--brand);
  transform: scale(1.3);
}

/* Keyboard users get a visible ring. */
.slider__arrow:focus-visible,
.slider__dot:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* ---------- Home: clientele --------------------------------------------- */

/* Client logo cards. Each logo sits on a white card so the artwork keeps its
   own colours (several are white-on-transparent and would vanish on the page
   background), and the card is large enough to read the practice name. */
.clients {
  background: var(--white);
  padding: var(--section-space) 0;
}

.clients__inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.clients__head {
  background: none;
  padding: 0;
  height: auto;
  overflow: visible;
}

.clients__head .h3 {
  font-size: 44px;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  color: var(--brand);
  margin: 0 0 20px;
}

.clients__label {
  background: none;
  padding: 0;
  height: auto;
  overflow: visible;
  margin: 0 0 10px;
}

.clients__label h5 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--muted);
}

.clients__lead {
  margin: 12px 0 32px;
  max-width: 70ch;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
}

/* Space between the two sliders. */
.slider--logos {
  margin-bottom: 40px;
}

.slider--logos:last-child {
  margin-bottom: 0;
}

/* The logo sliders reuse the AI slider's mechanics but show four smaller
   cards at a time, so more practices are visible without scrolling. */
.slider--logos .slider__slide {
  flex: 0 0 calc((100% - 72px) / 4);
}

.logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}

.logo-card__img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 150px;
}

.logo-card__img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* The logo artwork already prints the name, country and website, so the card
   is just the logo on a white panel. The name lives in the image alt text. */

/* ---------- Home: reviews ----------------------------------------------- */

.reviews {
  background: var(--surface-tint);
  padding: var(--section-space) 0;
}

.reviews__title {
  font-size: 44px;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  color: var(--brand);
  margin: 0;
}

.reviews__sub {
  margin: 10px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.72;
  color: var(--muted);
}

.reviews__grid {
  display: grid;
  /* Was a hard 606px + 606px, which matched the 1224px container exactly but
     forced a sideways scroll on narrower laptop windows (around 1000-1200px).
     Flexible columns still resolve to exactly 606px at 1440px, so the verified
     desktop layout is unchanged, while the card pair now shrinks to fit. */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  align-items: stretch;
}

.reviews__single {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
}

/* The third review spans the full row so it does not leave half the section
   empty on its own. */
.reviews__single .review {
  width: 100%;
}

.review {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.review__quote {
  background: var(--white);
  padding: 32px 32px 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.72;
  min-height: 0;
}

.review__quote p {
  margin: 0;
  max-width: none;
}

.review__quote--tall {
  min-height: 0;
}

.review__person {
  background: var(--white);
  color: var(--ink);
  padding: 24px 32px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-height: 0;
  margin-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.review__person--compact {
  min-height: 0;
}

.review__avatar {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-tint);
}

.review__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review__name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.review__role {
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--muted);
}

.review__role strong {
  font-weight: 700;
  color: var(--ink);
}

.review__role a {
  color: var(--brand);
}

/* ---------- Document pages (FAQ, features, security, policies) ---------- */

.doc {
  background: var(--white);
}

.doc__inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.doc--faq .doc__inner {
  padding: var(--section-space) 0;
}

.doc--faq .doc__title {
  margin: 0 0 40px;
}

/* Document-page titles follow the same pattern as every other heading on the
   site: left aligned, light weight, brand red. */
.doc__title--bold {
  font-size: 44px;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  color: var(--brand);
}

.doc__article {
  width: 709px;
  max-width: 100%;
  margin: 0 auto;
}

.doc__article h6 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--brand);
  margin: 0 0 16px;
}

.doc__article h6 strong {
  font-weight: 700;
}

.doc__article p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.72;
  color: var(--ink);
  margin: 0;
}

.faq-item {
  margin-bottom: 57px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.doc__article ul {
  margin: 12px 0 0;
  padding-left: 40px;
}

.doc__article li {
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink);
}

.doc__article li p {
  margin: 0;
}

/* ---------- Features page ----------------------------------------------- */

.doc--features .doc__inner {
  padding: var(--section-space) 0;
}

.doc--features .doc__title {
  text-align: left;
  margin: 0 0 40px;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--brand);
}

.doc--features .doc__article {
  width: 100%;
  max-width: none;
}

.feature-block {
  margin-bottom: 36px;
}

.feature-block + .feature-block {
  margin-top: 0;
}

.feature-block h2 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--brand);
  margin: 0 0 8px;
}

.feature-block ul {
  margin: 0;
  padding-left: 40px;
}

.feature-block li {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.72;
  color: var(--ink);
  margin-bottom: 0;
}

.feature-block strong {
  font-weight: 700;
}

/* ---------- Security page ----------------------------------------------- */

.doc--security .doc__inner {
  padding: var(--section-space) 0;
}
.doc--security .doc__article {
  /* Was a deliberately narrow 400px column. That made the headings wrap every
     two words and left most of the page empty; a readable measure with no
     centring matches the other pages. */
  width: min(860px, 100%);
  margin: 0;
}

.doc--security h1 {
  font-size: 44px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--brand);
  margin: 0 0 28px;
}

.doc--security h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 28px;
}

.doc--security h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--brand);
  margin: 40px 0 16px;
}

.doc--security p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.72;
  color: var(--ink);
  margin: 0 0 32px;
}

.doc--security ul {
  margin: 0;
  padding-left: 40px;
}

.doc--security li {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.72;
  margin-bottom: 0;
}

/* ---------- Contact page ------------------------------------------------ */

/* Contact hero follows the same light pattern as the home and solution
   heroes rather than the old dark photographic banner. */
.hero-contact {
  position: relative;
  min-height: 0;
  /* The contact header is also absolutely positioned over this hero. */
  padding: calc(var(--header-h) + var(--section-space)) 0 0;
  display: block;
  background: var(--white);
}

.hero-contact__inner {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  text-align: left;
  padding: 0;
}

.hero-contact__eyebrow {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.hero-contact h1 {
  max-width: 20ch;
  font-size: 60px;
  font-weight: 400;
  line-height: 1.14;
  color: var(--ink);
  margin: 0;
}

.hero-contact h3 {
  max-width: 62ch;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  text-align: left;
  color: var(--ink);
  margin: 22px 0 0;
}

.ceo {
  background: var(--white);
  padding: var(--section-space) 0;
}

.ceo__inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding-left: 0;
}

.ceo__photo {
  flex: 0 0 194px;
  width: 194px;
  height: 194px;
  object-fit: cover;
  border-radius: var(--radius);
}

.ceo__text {
  max-width: 552px;
}

.ceo__text h6 {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
}

.ceo__text h6 strong {
  font-weight: 700;
}

.ceo__text p {
  margin: 12px 0 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
}

.ceo__text a {
  color: var(--ink);
}

.contact {
  background: var(--surface-tint);
  padding: var(--section-space) 0;
}

.contact h2 {
  font-size: 44px;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  color: var(--brand);
  margin: 0 0 32px;
}

.contact__grid {
  display: grid;
  /* 606px + 503px + the 12px gap + the 103px left offset came to exactly the
     1224px container, so anything narrower pushed the map off the right edge
     and made the page scroll sideways. The fr ratios resolve to the same
     pixel sizes at 1224px, so the verified desktop layout is unchanged. */
  grid-template-columns: minmax(0, 606fr) minmax(0, 503fr);
  column-gap: 12px;
  justify-content: start;
  align-items: start;
  padding-left: 103px;
}

/* Below the width where the 1224px container plus the 103px offset no longer
   fits, the offset is dropped so the form and map stay on screen. */
@media (max-width: 1255px) {
  .contact__grid {
    padding-left: 0;
  }
}

.contact__form {
  background: var(--field-bg);
  border-radius: 20px;
  padding: 32px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  color: #000;
  margin-bottom: 4px;
}

.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: #000;
  background: var(--white);
  border: 0.8px solid var(--field-border);
  border-radius: 10px;
  padding: 16px;
  outline: none;
}

.field input {
  height: 58px;
}

.field textarea {
  height: 96px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--brand);
}

/* Invalid field state. Applied by the form script only after a submit
   attempt, so a field is never marked wrong while it is still being typed. */
.field--invalid input,
.field--invalid textarea {
  border-color: #c0392b;
  background: #fdf6f5;
}

.field--invalid label {
  color: #c0392b;
}

/* The honeypot is invisible to people but still present for bots. It must not
   be display:none, because some bots skip hidden fields. */
.field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--muted);
}

/* Turnstile needs a little breathing room above the button. */
.cf-turnstile {
  margin: 0 0 20px;
}

.form-status {
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
}

.form-status:empty {
  display: none;
}

.form-status--success {
  padding: 14px 16px;
  border-radius: 8px;
  background: #edf7f0;
  border: 1px solid #b6ddc2;
  color: #1e5c33;
}

.form-status--error {
  padding: 14px 16px;
  border-radius: 8px;
  background: #fdf1ef;
  border: 1px solid #f0c2ba;
  color: #8e2b1e;
}

.form-status--warn {
  padding: 14px 16px;
  border-radius: 8px;
  background: #fdf8e7;
  border: 1px solid #ecdcae;
  color: #6b5316;
}

/* The submit button shows a disabled state while sending. */
.contact__submit .btn[disabled] {
  opacity: 0.62;
  cursor: default;
}

.contact__submit {
  display: flex;
  justify-content: center;
  margin-top: 21px;
}

.contact__submit .btn {
  min-width: 133px;
  height: 52px;
  border-radius: 50px;
  padding: 14px 40px;
}

.form-status {
  margin: 12px 0 0;
  font-size: 14px;
  text-align: center;
  color: #0a6b2d;
}

.contact__map {
  padding-top: 115px;
}

.contact__map img {
  width: 100%;
  height: 382px;
  object-fit: cover;
}

.contact__or {
  margin: 28px 0 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  color: var(--ink);
}

.contact__or a {
  color: var(--brand);
  font-weight: 700;
}

/* ---------- Home: closing call to action -------------------------------- */

.cta-band {
  background: var(--surface-tint);
  border-top: 1px solid var(--line);
}

.cta-band__inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: var(--section-space) 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--brand);
}

.cta-band p {
  margin: 16px auto 0;
  max-width: 62ch;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 28px 0 0;
}

/* ---------- 404 page ---------------------------------------------------- */

.notfound {
  background: var(--white);
  padding: calc(var(--header-h) + var(--section-space)) 0 var(--section-space);
}

.notfound__inner {
  width: min(680px, calc(100% - 32px));
  margin: 0 auto;
}

.notfound__eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.notfound__title {
  margin: 0;
  font-size: 52px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}

.notfound__lead {
  margin: 20px 0 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
}

.notfound__links {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

.notfound__links a {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}

.notfound__links a:hover {
  text-decoration: underline;
}

/* ---------- Responsive -------------------------------------------------- */

@media (max-width: 1280px) {
  /* Two more nav entries (Veterinary, Clinical AI) exceeded the space left
     between the logo and the social icons at the original 40px gap. Tightening
     the gap below 1280px keeps every link on one line. At 1440px and above the
     original 40px gap is untouched. */
  .nav {
    gap: 22px;
  }

  /* The full 350px logo plus the seven-link nav plus the social icons needed
     about 1128px inside the header, so on a narrower laptop the row pushed the
     social icons past the right edge and the page scrolled sideways. A smaller
     logo below 1281px gives the links the room they need, and still leaves the
     1440px design untouched. */
  .logo img {
    width: 220px;
    height: 44px;
  }

  .socials {
    margin-left: 24px;
  }

  /* Below this width the seven links, a readable logo and the social icons
     genuinely do not fit on one line, so the row switches to the burger menu
     earlier than the original 900px breakpoint. */
  @media (max-width: 1060px) {
    .nav-toggle {
      display: block;
    }

    .logo img {
      width: 172px;
      height: 36px;
    }

    .site-header__inner {
      flex-wrap: wrap;
    }

    .nav,
    .socials {
      display: none;
    }

    .site-header.is-open .nav {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 18px;
      order: 3;
      flex: 1 0 100%;
      margin: 16px 0 8px;
      padding: 16px 0;
      background: #fff;
    }

    .site-header.is-open .socials {
      display: flex;
      order: 4;
      flex: 1 0 100%;
      margin: 0 0 16px;
    }

    /* The header has a fixed height, so an open menu would otherwise spill
       out of it and float over the hero. Let it grow and paint a solid
       background behind the links. */
    .site-header.is-open {
      height: auto;
      min-height: var(--header-h);
      background: var(--white);
    }

    .site-header--over-hero.is-open {
      background: var(--white);
    }
  }

  .features__cols {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 40px;
  }

  .features__cols--top .features__col:first-child .feature:first-child .feature__text,
  .features__col:last-child .feature__text {
    max-width: none;
  }

  .features__cols--top {
    min-height: 0;
  }
}

@media (max-width: 1100px) {
  .hero__title {
    font-size: 56px;
  }

  .hero__subtitle {
    font-size: 22px;
  }

  .intro__title {
    font-size: 52px;
  }

  .intro__cols {
    gap: 48px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    max-width: 660px;
    margin: 0 auto;
  }

  .ceo__inner {
    padding-left: 0;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 66px;
  }

  /* Solution-page grids fall to a single column so long tool names and
     module descriptions stay readable on a phone. */
  .tool-groups,
  .tool-groups--wide,
  .module-grid,
  .points {
    grid-template-columns: minmax(0, 1fr);
  }

  .solution-hero h1 {
    font-size: 38px;
  }

  .solution-hero__lead {
    font-size: 17px;
  }

  .solution__title {
    font-size: 30px;
  }

  .demo-band h2 {
    font-size: 26px;
  }

  .nav-toggle {
    display: block;
  }

  .logo img {
    width: 172px;
    height: 36px;
  }

  .site-header__inner {
    padding: 12px 16px;
    flex-wrap: wrap;
  }

  .nav,
  .socials {
    display: none;
  }

  .site-header.is-open .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    order: 3;
    flex: 1 0 100%;
    margin: 16px 0 8px;
    padding: 16px 0;
    background: #fff;
  }

  .site-header.is-open .socials {
    display: flex;
    order: 3;
    flex: 1 0 100%;
    margin: 0 0 12px;
    padding-bottom: 8px;
    background: #fff;
  }

  .site-header.is-open {
    height: auto;
    min-height: var(--header-h);
    background: #fff;
  }

  .hero {
    min-height: 100svh;
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 24px;
    align-items: flex-start;
  }

  .hero__eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .hero__title {
    font-size: 38px;
  }

  .hero__subtitle {
    font-size: 20px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__quote {
    margin-top: 22px;
    font-size: 14px;
  }

  .intro__title {
    font-size: 34px;
  }

  .intro__cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .intro__figure img {
    height: auto;
  }

  .features__cols {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
  }

  .features__cols--top .features__col,
  .features__cols:not(.features__cols--top) .features__col:first-child,
  .features__cols:not(.features__cols--top) .features__col:last-child {
    gap: 32px;
  }

  .features__cols:not(.features__cols--top) {
    margin-top: 0;
  }

  .feature__text,
  .features__col:last-child .feature__text {
    max-width: none;
  }


  .slider__slide {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  .slider--logos .slider__slide {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .review__quote {
    min-height: 0;
    padding: 28px 24px;
  }

  .review__person {
    padding: 20px 24px;
  }

  .doc--security .doc__article {
    width: 100%;
  }

  .doc__article {
    width: 100%;
  }

  .hero-contact h1 {
    font-size: 32px;
  }

  .hero-contact p {
    font-size: 20px;
    margin-top: 24px;
  }

  .ceo__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .slider__slide,
  .slider--logos .slider__slide {
    flex: 0 0 100%;
  }

  .contact h2 {
    font-size: 34px;
  }

  .contact__form {
    padding: 20px;
  }

  .site-footer__inner {
    /* The footer became a three-column grid; on a phone it has to stack, or
       the last column is pushed off the right edge and the whole page scrolls
       sideways. */
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 36px 0 32px;
  }
}

@media (max-width: 560px) {
  .doc--faq .doc__inner,
  .doc--features .doc__inner {
    padding: 40px 0;
  }

  .doc--faq .doc__title,
  .doc--features .doc__title {
    margin-bottom: 40px;
    font-size: 32px;
  }

  .h1 {
    font-size: 40px;
  }

  .feature-block h2 {
    font-size: 30px;
  }

}

/* ---------- Solution pages (Veterinary, Clinical AI) --------------------- */

.solution-hero {
  background: var(--white);
  padding: var(--section-space) 0 0;
}

.solution-hero__inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.solution-hero__eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.solution-hero h1 {
  margin: 0;
  max-width: 18ch;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}

.solution-hero__lead {
  margin: 24px 0 0;
  max-width: 60ch;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
}

.solution-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 32px 0 0;
}

/* Full-bleed product shot that follows a solution hero. */
.solution-shot {
  margin: var(--section-space) auto 0;
  width: min(var(--container), calc(100% - 32px));
}

.solution-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.solution-shot figcaption {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #5a5c60;
}

/* Section wrapper for solution pages. */
.solution {
  background: var(--white);
  padding: var(--section-space) 0;
}

.solution--tint {
  background: #f7f4f2;
}

.solution__inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.solution__title {
  margin: 0;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--brand);
}

.solution__lead {
  margin: 14px 0 0;
  max-width: 70ch;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.72;
  color: var(--ink);
}

/* Grouped list of tools / capabilities. */
.tool-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 36px 0 0;
}

/* The veterinary page has six groups; three columns leaves the last row
   ragged. Two wider columns give each group room for its longer tool names. */
.tool-groups--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-group {
  border: 1px solid #e3dedb;
  border-radius: 10px;
  padding: 24px 24px 20px;
  background: var(--white);
}

.tool-group__name {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.tool-group ul {
  margin: 0;
  padding-left: 18px;
}

.tool-group li {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
}

/* Numbered / iconless feature points. */
.points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
  margin: 36px 0 0;
}

.point__name {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--brand);
}

.point p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.72;
  color: var(--ink);
}

/* Module cards on the Clinical AI page. */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 40px 0 0;
}

.module-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e3dedb;
  border-radius: 12px;
  padding: 26px 24px;
  background: var(--white);
}

.module-card__tag {
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(158, 37, 37, 0.09);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.module-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.module-card p {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
}

.module-card__study {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid #ece7e3;
  font-size: 13px;
  font-weight: 600;
  color: #5a5c60;
}

/* Demo call-to-action band. */
.demo-band {
  background: var(--brand);
  color: var(--white);
}

.demo-band__inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: var(--section-space) 0;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}

.demo-band h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.25;
}

.demo-band p {
  margin: 10px 0 0;
  max-width: 58ch;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.demo-band .btn {
  background: var(--white);
  color: var(--brand);
  flex: 0 0 auto;
}

.demo-band .btn:hover {
  background: #f3eeee;
}

/* The logo strip on the veterinary page, in flow rather than scrolling.
   The client artwork is white on transparent, so it must sit on the brand
   colour; on white the logos are almost invisible. */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  justify-content: center;
  align-items: center;
  margin: 36px 0 0;
  padding: 28px 24px;
  list-style: none;
  background: var(--brand);
  border-radius: 10px;
}

.logo-strip li {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.logo-strip img {
  width: 150px;
  height: 100px;
  object-fit: contain;
}

























































/* --------------------------------------------------------------------------
   Wide screens (1920px and above)

   Every section was previously pinned to 1224px, which left large empty
   margins on a large monitor. From 1441px upward the content column now
   grows with the window, up to a readable maximum of 1680px.

   Nothing here applies at 1440px or below, so the verified desktop layout
   is unchanged.
   -------------------------------------------------------------------------- */

@media (min-width: 1441px) {
  :root {
    /* Never narrower than the 1224px used by smaller windows: without the
       max() floor the column briefly shrank to 1201px just above the
       breakpoint, then grew again. */
    --container: max(1224px, min(1680px, calc(100vw - 240px)));
  }

  /* Proportional columns so content reflows instead of leaving a gap. */
  .intro__cols {
    grid-template-columns: 1fr 1fr;
    column-gap: 5vw;
  }

  .features__cols {
    grid-template-columns: 1.06fr 1fr;
    column-gap: 56px;
  }

  .reviews__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* Let the feature text use the wider column. */
  .feature__text,
  .features__col:last-child .feature__text,
  .features__cols--top .features__col:first-child .feature:first-child .feature__text {
    max-width: none;
  }

  /* Contact form: keep both columns inside the wider container. */
  .contact__grid {
    grid-template-columns: 1.2fr 1fr;
    column-gap: 24px;
    padding-left: 0;
  }

  /* The Security page sits in a deliberately narrow 400px column, which is
     far too narrow in a wider container and made the large headings break
     mid-word. Give it a readable measure instead. */
  .doc--security .doc__article {
    width: min(760px, 100%);
  }

  /* Long-form pages keep a comfortable reading width rather than stretching
     body text across the whole screen. */
  .doc--faq .doc__article {
    width: min(860px, 100%);
  }

  /* Images must grow with the column, not stay pinned to a fixed pixel
     height. Leaving the height at 440px/360px while the column widens
     cropped more of the picture the wider the screen got - the workflow
     diagram lost its bottom row and the tall scan images were cropped by
     more than half. Scaling the height keeps the original framing at every
     width, and the sections drop their fixed heights so nothing is clipped. */
  .intro {
    height: auto;
  }

  .intro__figure img {
    height: auto;
    aspect-ratio: 1224 / 440;
  }

  .ai {
    height: auto;
  }

  .ai__media img {
    height: auto;
    aspect-ratio: 606 / 360;
  }

  /* The map had the same fixed-height problem: it stayed 382px tall while its
     column widened, so it cropped away its own address label and the left
     edge. Match the source proportions instead. */
  .contact__map img {
    height: auto;
    aspect-ratio: 653 / 496;
    object-fit: fill;
  }

  /* The founder block was pushed 206px from the left to sit under the form on
     the original layout. In a wider container that leaves the whole right half
     empty, so centre the pair instead. */
  .ceo__inner {
    padding-left: 0;
    justify-content: center;
  }

  /* Solution-page grids gain a column on a very wide screen so cards do not
     stretch to an unreadable width. */
  .module-grid,
  .tool-groups {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tool-groups--wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}








