/* ===========================================================
   Distroship — static rebuild stylesheet
   Design tokens per CONVENTIONS.md (Distroship brand)

   Headings use Inter 600 to match the original site (the WP
   theme set h1..h6 to 'Inter', sans-serif / 600 / #091f42).
   Roboto Slab was only ever an unconsumed Elementor variable.
   =========================================================== */

:root {
  /* Brand */
  --brand-blue: #2860e1;
  --brand-blue-dark: #1c49b8;
  --brand-blue-tint: rgba(40, 96, 225, 0.08);
  --dark-navy: #091f42;
  --light-blue-bg: #e9effc;
  --green-accent: #00bc87;   /* decorative only — fails AA as text */
  --green-ink: #00795a;      /* text-safe green (5.4:1 on white) */

  /* Text */
  --body-text: #212121;
  --heading-dark: #091f42;
  --muted-text: #606681;
  --muted-text-2: #707070;
  --footer-text: #c8ccd4;
  --footer-muted: #9aa1ad;

  /* Surfaces */
  --white: #ffffff;
  --section-alt: #f5f7fa;
  --light-section: #f8f6f4;
  --footer-bg: #0b1a30;

  /* Borders */
  --border: #cbcbcb;
  --border-soft: #bdbdbd;
  --hairline: rgba(9, 31, 66, 0.10);

  /* Fonts */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Fluid type scale */
  --fs-display: clamp(2.25rem, 1.45rem + 3.2vw, 3.5rem);
  --fs-h1: clamp(2rem, 1.45rem + 2.2vw, 3rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 1.13rem + 0.5vw, 1.5rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;

  /* Section rhythm */
  --sp-section: clamp(64px, 6.5vw, 104px);
  --sp-section-sm: clamp(44px, 4.5vw, 68px);

  /* Layout */
  --container: 1240px;
  --measure: 68ch;
  --gutter: 24px;
  --header-height: 80px;

  /* Radius */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Elevation — navy-tinted, never flat black */
  --shadow-sm: 0 1px 2px rgba(9, 31, 66, 0.06), 0 2px 6px rgba(9, 31, 66, 0.05);
  --shadow-md: 0 2px 6px rgba(9, 31, 66, 0.05), 0 10px 26px rgba(9, 31, 66, 0.08);
  --shadow-lg: 0 4px 12px rgba(9, 31, 66, 0.06), 0 22px 50px rgba(9, 31, 66, 0.12);
  --shadow-brand: 0 6px 18px rgba(40, 96, 225, 0.28);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--body-text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--brand-blue); text-decoration: none; }
a:hover { color: var(--brand-blue-dark); }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading-dark);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.022em; }
h3 { font-size: var(--fs-h3); letter-spacing: -0.012em; }

p { margin: 0; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-blue);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  background: var(--brand-blue);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-brand);
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease),
              transform 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease);
}
.btn:hover {
  background: var(--brand-blue-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(40, 96, 225, 0.34);
}
.btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(40, 96, 225, 0.26);
}

.btn--primary { /* alias of the default treatment */ }

.btn--small {
  font-size: 0.875rem;
  padding: 10px 18px;
}

.btn--ghost {
  background: transparent;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--brand-blue);
  transition: color 0.2s var(--ease);
}
.btn-link__text {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: background-size 0.25s var(--ease);
}
.btn-link:hover { color: var(--brand-blue-dark); }
.btn-link:hover .btn-link__text { background-size: 100% 2px; }
.btn-link__icon { transition: transform 0.2s var(--ease); }
.btn-link:hover .btn-link__icon { transform: translateX(4px); }

/* ---------- Highlight (marker pen) ---------- */
/* Sits behind the lower third of the text so descenders stay legible,
   and repeats per line-fragment so wrapped phrases stay correct. */
.highlight {
  /* keep the marked phrase on one line so the marker never splits in two */
  white-space: nowrap;
  padding: 0 0.24em 0.05em;
  border-radius: 0.2em;
  background-image: linear-gradient(
    180deg,
    transparent 46%,
    rgba(0, 188, 135, 0.42) 46%,
    rgba(0, 188, 135, 0.42) 93%,
    transparent 93%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ===========================================================
   Header
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--hairline);
  box-shadow: 0 2px 20px -12px rgba(9, 31, 66, 0.5);
}

.site-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header__logo img {
  height: 38px;
  width: auto;
  transition: opacity 0.2s var(--ease);
}
.site-header__logo:hover img { opacity: 0.78; }

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.6vw, 1.75rem);
}

.nav__item { position: relative; }

.nav__link {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--dark-navy);
  padding: 0.25rem 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-blue);
  transition: width 0.22s var(--ease);
}
.nav__link:hover::after,
.nav__item--active .nav__link::after { width: 100%; }
.nav__link:hover { color: var(--brand-blue); }
.nav__item--active > .nav__link { color: var(--brand-blue); }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav__toggle-bar {
  display: block;
  width: 26px;
  height: 2px;
  margin-inline: auto;
  background: var(--dark-navy);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 460px at 78% 8%, rgba(40, 96, 225, 0.07), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #edf6fb 100%);
  padding: clamp(36px, 4vw, 60px) 0 clamp(72px, 7vw, 104px);
  overflow: hidden;
}

.hero__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.hero__eyebrow {
  color: var(--green-ink);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--dark-navy);
  margin-bottom: 1.25rem;
}

.hero__text {
  color: var(--muted-text);
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 0.85rem;
  max-width: 34em;
}

.hero .btn { margin-top: 1.25rem; margin-bottom: 2.5rem; }

/* Modes row */
.hero__modes {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero__mode img { width: 104px; height: auto; }
.hero__mode-sep img { width: 72px; height: auto; opacity: 0.45; }

.hero__media { display: flex; justify-content: center; }
.hero__media img {
  width: 100%;
  max-width: 580px;
  height: auto;
  border-radius: var(--radius);
  filter: drop-shadow(0 24px 48px rgba(9, 31, 66, 0.14));
}

/* Hero curve divider — the original was a deep sweep, not a sliver */
.hero__divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}
.hero__divider svg {
  width: 100%;
  height: clamp(60px, 7vw, 110px);
  display: block;
}
.hero__divider path { fill: var(--white); }

/* ===========================================================
   Features sections
   =========================================================== */
.features {
  background: var(--white);
  padding: var(--sp-section) 0;
}
.features--alt,
.features + .features { background: var(--section-alt); }

/* The hero curve already closes the section — don't stack a second full gap on it. */
.hero + .features,
.hero + .platform-features,
.hero + .modes-row,
.hero + .page-cta,
.page-hero + .features,
.page-hero + .platform-features,
.page-hero + .modes-row,
.page-hero + .page-cta,
.page-hero + .faq,
.page-hero + .contact,
.page-hero + .legal-content,
.page-hero + .careers-body { padding-top: clamp(36px, 3.6vw, 56px); }

.features__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4rem);
}
.features--reverse .features__media { order: -1; }

.features__title {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--dark-navy);
  margin-bottom: 2.25rem;
}

.features__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2.25rem;
}

.feature__title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--dark-navy);
  margin-bottom: 0.3rem;
  line-height: 1.4;
}
.feature__icon { flex: 0 0 auto; }
.feature__text {
  color: var(--muted-text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  padding-left: 34px;
}

.features__note {
  color: var(--dark-navy);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--green-accent);
}

.features__media { display: flex; justify-content: center; }
.features__media img { width: 100%; max-width: 500px; height: auto; }

/* ===========================================================
   Featured in
   =========================================================== */
.featured-in {
  background: var(--section-alt);
  padding: var(--sp-section-sm) 0;
  border-top: 1px solid var(--hairline);
}
.featured-in__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem clamp(2rem, 5vw, 4.5rem);
}
.featured-in__title {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-text);
}
/* The logo list — a row, not a quarter-width column */
.featured-in__logos,
ul.featured-in__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.75rem, 4vw, 3.5rem);
}
.featured-in__logo { display: flex; align-items: center; justify-content: center; }
.featured-in__logos .featured-in__logo img,
.featured-in__logo img {
  max-height: 40px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.6;
  mix-blend-mode: multiply;
  transition: filter 0.25s var(--ease), opacity 0.25s var(--ease);
}
.featured-in__logo:hover img { filter: none; opacity: 1; }

/* ===========================================================
   Footer
   =========================================================== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}
.site-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(48px, 5vw, 72px) var(--gutter) clamp(32px, 3.5vw, 48px);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
.site-footer__brand img { height: 38px; width: auto; }
.site-footer__title {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--footer-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.1rem;
}
.site-footer__links li { margin-bottom: 0.65rem; }
.site-footer__links a {
  color: var(--footer-text);
  font-size: 0.9375rem;
  transition: color 0.15s var(--ease);
}
.site-footer__links a:hover { color: #fff; }

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer__bottom .container,
.site-footer__bottom {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.5rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer__copy { font-size: 0.875rem; color: var(--footer-muted); }
.site-footer__legal { display: flex; gap: 1.5rem; }
.site-footer__legal a { color: var(--footer-muted); font-size: 0.875rem; }
.site-footer__legal a:hover { color: #fff; }

/* Focus rings must stay visible on the dark footer */
.site-footer :focus-visible { outline-color: #fff; }

/* ===========================================================
   Nav dropdown (Resources submenu)
   =========================================================== */
.nav__chevron {
  display: inline-block;
  margin-left: 0.25rem;
  transition: transform 0.2s var(--ease);
}
.nav__item--has-children { position: relative; }

.nav__link--toggle {
  display: inline-flex;
  align-items: center;
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--dark-navy);
  padding: 0.25rem 0;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.nav__link--toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-blue);
  transition: width 0.22s var(--ease);
}
.nav__item--has-children:hover .nav__link--toggle,
.nav__item--has-children.is-open .nav__link--toggle { color: var(--brand-blue); }
.nav__item--has-children:hover .nav__link--toggle::after,
.nav__item--has-children.is-open .nav__link--toggle::after { width: 100%; }

.nav__submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s var(--ease);
  z-index: 200;
}
/* keeps the pointer path from the trigger to the panel alive */
.nav__item--has-children::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}
.nav__item--has-children:hover .nav__submenu,
.nav__item--has-children:focus-within .nav__submenu,
.nav__item--has-children.is-open .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav__item--has-children:hover .nav__chevron,
.nav__item--has-children.is-open .nav__chevron { transform: rotate(180deg); }

.nav__subitem { display: block; }
.nav__sublink {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dark-navy);
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.nav__sublink:hover { background: var(--light-blue-bg); color: var(--brand-blue); }

/* ===========================================================
   Page hero (inner page headers)
   =========================================================== */
.page-hero {
  position: relative;
  background:
    radial-gradient(800px 320px at 82% 0%, rgba(40, 96, 225, 0.07), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #eef4fb 100%);
  padding: clamp(48px, 5.5vw, 84px) 0 clamp(44px, 5vw, 72px);
  border-bottom: 1px solid var(--hairline);
}
.page-hero--centered { text-align: center; }
.page-hero--careers { position: relative; overflow: hidden; }

.page-hero__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}
.page-hero__content { max-width: 46rem; }
.page-hero__content--centered { margin-inline: auto; }

/* about-us pairs a title block with a long body — run them side by side
   instead of stacking two narrow columns down the left edge */
.page-hero__inner:has(> .page-hero__body) {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}
.page-hero__inner:has(> .page-hero__body) .page-hero__content { max-width: none; }

.page-hero__eyebrow {
  color: var(--green-ink);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.page-hero__title {
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--dark-navy);
  margin-bottom: 1rem;
}
.page-hero__subtitle {
  color: var(--muted-text);
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: var(--measure);
}
.page-hero__lead {
  color: var(--dark-navy);
  font-weight: 600;
  font-size: 1.0625rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  max-width: var(--measure);
}
.page-hero__body { max-width: var(--measure); }
.page-hero__body p {
  color: var(--muted-text);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.page-hero__content--centered .page-hero__subtitle,
.page-hero__content--centered .page-hero__lead,
.page-hero__content--centered .page-hero__body { margin-inline: auto; }

.page-hero__media {
  max-width: 320px;
  margin-top: 2rem;
}

.page-hero__decor {
  position: absolute;
  max-width: 200px;
  opacity: 0.25;
  z-index: 1;
}
.page-hero__decor--left { left: -40px; top: 20%; }
.page-hero__decor--right { right: -40px; top: 20%; }

/* ===========================================================
   Hero centered variant (platform)
   =========================================================== */
.hero--centered { text-align: center; }
.hero--centered .hero__inner {
  grid-template-columns: 1fr;   /* single column — was centring inside the left half */
  justify-items: center;
  gap: clamp(2.25rem, 4vw, 3.25rem);
}
.hero--centered .hero__text,
.hero--centered .hero__subtext { margin-inline: auto; }
.hero__content--centered {
  margin-inline: auto;
  max-width: 44rem;
}
.hero__subtext {
  color: var(--dark-navy);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-top: 0.75rem;
  max-width: 40em;
}
.hero__media--platform { width: 100%; }
.hero__media--platform img {
  max-width: min(960px, 100%);
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  filter: none;
}

/* ===========================================================
   Banner image (about-us)
   =========================================================== */
.banner-image { padding: 0; }
.banner-image__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.banner-image__inner img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ===========================================================
   Page CTA
   =========================================================== */
.page-cta {
  background: var(--white);
  padding: var(--sp-section) 0;
  text-align: center;
}
.page-cta--centered { text-align: center; }
.page-cta__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.page-cta__text {
  color: var(--dark-navy);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 46rem;
  margin-inline: auto;
}
.page-cta__title {
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--dark-navy);
  margin-bottom: 2rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.page-cta .btn-link { margin-top: 1rem; }

/* ===========================================================
   Platform features grid
   =========================================================== */
.platform-features {
  background: var(--section-alt);
  padding: var(--sp-section) 0;
}
.platform-features__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.platform-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.platform-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.platform-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
/* the source SVGs are 268x177 — never force them square */
.platform-feature__icon {
  width: 100%;
  max-width: 190px;
  height: auto;
  margin: 0 auto 1.25rem;
}
.platform-feature__title {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--dark-navy);
  margin-bottom: 0.6rem;
}
.platform-feature p {
  color: var(--muted-text);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0.4rem;
}
.platform-feature p:last-child { margin-bottom: 0; }

/* ===========================================================
   Modes row (services)
   =========================================================== */
.modes-row {
  background: var(--white);
  padding: var(--sp-section-sm) 0;
}
.modes-row__inner {
  max-width: 940px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  flex-wrap: wrap;
}
.modes-row__inner img { height: 84px; width: auto; }
/* the connector rule is 245x19 — sizing it by height blew it up to ~1030px wide */
.modes-row__inner img[aria-hidden="true"] {
  height: auto;
  width: clamp(70px, 12vw, 150px);
  opacity: 0.45;
}

/* ===========================================================
   Checklist (services)
   =========================================================== */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.0625rem;
  color: var(--body-text);
  line-height: 1.6;
}
.checklist__item .check-icon { flex: 0 0 auto; margin-top: 3px; }
.checklist--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2.5rem;
  text-align: left;
  max-width: 760px;
  margin: 2.5rem auto 0;
}
.checklist__col { list-style: none; padding: 0; margin: 0; }

/* ===========================================================
   Stats (services)
   =========================================================== */
.stats {
  background: var(--section-alt);
  padding: var(--sp-section) 0;
  text-align: center;
}
.stats__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.stats__title {
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--dark-navy);
  letter-spacing: -0.025em;
  margin-bottom: 3rem;
}
.stats__grid {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.stat {
  flex: 1 1 200px;
  max-width: 300px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--dark-navy);
  line-height: 1;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 4px solid var(--green-accent);
  display: inline-block;
}
.stat__label {
  display: block;
  color: var(--muted-text);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}

/* ===========================================================
   Sign-up CTA (services bottom)
   =========================================================== */
.signup-cta {
  padding: var(--sp-section-sm) 0;
  background: var(--white);
}
.signup-cta__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, #edf6fb 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
  padding-inline: clamp(1.5rem, 4vw, 3.5rem);
}
.signup-cta__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--dark-navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.signup-cta__content .btn { margin-top: 1.5rem; }
.signup-cta__media { display: flex; justify-content: center; }
.signup-cta__media img { max-width: 380px; }

/* ===========================================================
   FAQ accordion
   =========================================================== */
.faq {
  padding: var(--sp-section) 0;
  background: var(--white);
}
.faq__inner {
  max-width: 860px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  gap: 0.75rem;
}
.faq__item {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 0 1.5rem;
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.faq__item:hover { box-shadow: var(--shadow-sm); }
.faq__item[open] {
  border-color: rgba(40, 96, 225, 0.28);
  box-shadow: var(--shadow-sm);
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--dark-navy);
  list-style: none;
  transition: color 0.15s var(--ease);
}
.faq__question:hover { color: var(--brand-blue); }
.faq__question::-webkit-details-marker { display: none; }
.faq__icon {
  flex: 0 0 auto;
  color: var(--brand-blue);
  transition: transform 0.25s var(--ease);
}
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__answer {
  padding-bottom: 1.4rem;
  max-width: var(--measure);
}
.faq__answer p {
  color: var(--muted-text);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* ===========================================================
   Careers body
   =========================================================== */
.careers-body {
  padding: var(--sp-section) 0;
  background: var(--white);
}
.careers-body__inner {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.careers-body__title {
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--dark-navy);
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
.careers-body__inner p {
  color: var(--muted-text);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* ===========================================================
   Job listings
   =========================================================== */
.jobs {
  padding: var(--sp-section) 0;
  background: var(--section-alt);
}
.jobs__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.jobs__title {
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--dark-navy);
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}
.job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.job:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.job__category {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-blue);
  background: var(--brand-blue-tint);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.65rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
}
.job__title {
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
}
.job__desc {
  color: var(--muted-text);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 500px;
}
.job__meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}
.job__location {
  color: var(--muted-text);
  font-size: 0.9375rem;
  font-weight: 500;
}
.job__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--light-blue-bg);
  color: var(--brand-blue);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.job__link:hover {
  background: var(--brand-blue);
  color: var(--white);
  transform: translateX(3px);
}

/* ===========================================================
   Contact form
   =========================================================== */
.contact {
  padding: var(--sp-section) 0;
  background: var(--white);
}
.contact__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.contact__form-col { min-width: 0; }
.contact__media-col {
  display: flex;
  justify-content: center;
  align-self: center;
}
/* Asset-27.svg is a 1247x2182 portrait — cap the HEIGHT, not the width */
.contact__media-col img {
  width: auto;
  max-width: 100%;
  max-height: 460px;
}

.contact-form {
  max-width: 640px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.contact-form__honeypot {
  display: none;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.contact-form__field { margin-bottom: 1.1rem; }
.contact-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-navy);
  margin-bottom: 0.4rem;
}
.contact-form__required { color: #c0392b; }
.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--body-text);
  background: #fcfdfe;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s var(--ease);
}
.contact-form__input::placeholder,
.contact-form__textarea::placeholder { color: #9aa0ae; }
.contact-form__input:hover,
.contact-form__textarea:hover { border-color: var(--border-soft); }
.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(40, 96, 225, 0.14);
}
.contact-form__input.invalid,
.contact-form__textarea.invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}
.contact-form__textarea { resize: vertical; min-height: 130px; }
.contact-form__note {
  font-size: 0.875rem;
  color: var(--muted-text);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.contact-form__consent { margin-bottom: 1.5rem; }
.contact-form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--muted-text);
  line-height: 1.6;
  cursor: pointer;
}
.contact-form__checkbox-label input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--brand-blue);
}
.contact-form__checkbox-label a { color: var(--brand-blue); text-decoration: underline; }
.contact-form__error {
  color: #c0392b;
  font-size: 0.875rem;
  min-height: 1.25rem;
  margin-bottom: 0.5rem;
}
.contact-form__submit { min-width: 150px; }

/* ===========================================================
   Legal content (legal notice + privacy policy)
   =========================================================== */
.legal-content {
  padding: var(--sp-section) 0;
  background: var(--white);
}
.legal-content__inner {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.legal-content__date {
  color: var(--muted-text);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline);
}
.legal-content__inner p {
  color: var(--body-text);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.legal-content__inner h2,
.legal-content__inner h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-navy);
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
  margin-top: 2.5rem;
}
/* section titles in these documents are emitted as <p><strong> */
.legal-content__inner p > strong:only-child {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark-navy);
  letter-spacing: -0.015em;
  margin-top: 1.5rem;
}
.legal-content__inner ul,
.legal-content__inner ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
  color: var(--body-text);
  line-height: 1.8;
}
.legal-content__inner ul { list-style: disc; }
.legal-content__inner ol { list-style: decimal; }
.legal-content__inner li { margin-bottom: 0.4rem; }
.legal-content__inner strong { font-weight: 700; }
.legal-content__inner a:not(.btn) { text-decoration: underline; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1024px) {
  .platform-features__grid { grid-template-columns: 1fr 1fr; }
  .features__inner,
  .hero__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__menu { gap: 1rem; }
  .nav__link,
  .nav__link--toggle { font-size: 0.875rem; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }

  /* Mobile nav */
  .nav__toggle { display: flex; }

  .nav__menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    padding: 1.5rem var(--gutter) 2rem;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(9, 31, 66, 0.14);
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__item { width: 100%; border-bottom: 1px solid var(--hairline); }
  .nav__link { padding: 1rem 0; font-size: 1.0625rem; }
  .nav__link::after { display: none; }
  .nav__item--has-children::after { display: none; }

  .site-header__logo img { height: 30px; }

  /* Hero */
  .hero { padding: 28px 0 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__media { order: -1; }
  .hero__media img { max-width: 440px; }
  .hero__mode img { width: 78px; }
  .hero__mode-sep img { width: 48px; }

  /* Features */
  .features__inner { grid-template-columns: 1fr; gap: 2rem; }
  .features--reverse .features__media { order: 0; }
  .features__media img { max-width: 380px; }
  .features__title { max-width: none; }
  .features__list { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  /* Footer */
  .site-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .features__list { grid-template-columns: 1fr; }
  .hero__modes { gap: 0.4rem; }
  .hero__mode img { width: 64px; }
  .hero__mode-sep { display: none; }
  .featured-in__logos,
  ul.featured-in__logo { gap: 1.5rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ===========================================================
   Responsive additions for inner pages
   =========================================================== */
@media (max-width: 1024px) {
  .page-hero__title { font-size: var(--fs-h1); }
}

@media (max-width: 768px) {
  .nav__submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 1rem;
    display: none;
    min-width: 0;
  }
  .nav__item--has-children.is-open .nav__submenu { display: block; }
  .nav__link--toggle { width: 100%; text-align: left; justify-content: space-between; padding: 1rem 0; font-size: 1.0625rem; }
  .nav__link--toggle::after { display: none; }
  .nav__sublink { padding: 0.75rem 0; font-size: 1rem; border-bottom: 1px solid var(--hairline); border-radius: 0; }
  .nav__subitem:last-child .nav__sublink { border-bottom: 0; }

  .page-hero { padding: 36px 0 32px; }
  .page-hero__inner:has(> .page-hero__body) { grid-template-columns: 1fr; gap: 1.5rem; }
  .page-hero__media { max-width: 240px; }
  .page-hero__decor { max-width: 120px; }
  .page-hero__decor--left { left: -20px; }
  .page-hero__decor--right { right: -20px; }

  .platform-features__grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .platform-feature__icon { max-width: 170px; }
  .modes-row__inner img { height: 62px; }
  .checklist--two-col { grid-template-columns: 1fr; gap: 0.25rem; }
  .stats__grid { gap: 1rem; }
  .stat { flex: 1 1 100%; max-width: none; }
  .signup-cta__inner { grid-template-columns: 1fr; gap: 2rem; }
  .signup-cta__media { order: -1; }
  .signup-cta__media img { max-width: 260px; }
  .contact__inner { grid-template-columns: 1fr; }
  .contact__media-col { display: none; }
  .contact-form { max-width: none; }
  .contact-form__row { grid-template-columns: 1fr; }
  .job { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .job__meta { width: 100%; justify-content: space-between; }
}

@media (max-width: 480px) {
  .platform-features__grid { grid-template-columns: 1fr; }
  .stats__grid { flex-direction: column; }
  .contact-form { padding: 1.25rem; border-radius: var(--radius); }
}
