/* ===========================================================
   Delonac — static rebuild stylesheet
   Design tokens per CONVENTIONS.md (Delonac 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;
  --heading-dark-2: #1d1c1d;
  --muted-text: #606681;
  --muted-text-2: #707070;
  --muted-text-3: #6e7484;   /* placeholder ink — 4.6:1 on the field background */
  --footer-text: #c8ccd4;
  --footer-muted: #9aa1ad;

  /* Surfaces */
  --white: #ffffff;
  --section-alt: #f5f7fa;
  --light-section: #f5f7fa;
  --light-section-2: #f4f4f4;
  --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: 1300px;
  --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.02em; }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }

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;
}

/* Outlined button — replaces the inline style that used to sit on the
   header Login link and beat .btn:hover on specificity. */
.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--ghost:active {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
  color: #fff;
  box-shadow: 0 3px 10px rgba(40, 96, 225, 0.26);
}

.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 {
  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: clamp(0.75rem, 1.5vw, 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;
}

/* Fixed-floor gap — a pure vw gap collapses exactly where space is tightest */
.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.4vw, 1.6rem);
}

.nav__item { position: relative; }

.nav__link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  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); }

/* Dropdown */
.nav__item--has-children > .nav__link::after { width: 0; }
.nav__item--has-children:hover > .nav__link,
.nav__item--has-children:focus-within > .nav__link,
.nav__item--has-children.is-open > .nav__link { color: var(--brand-blue); }
.nav__item--has-children:hover > .nav__link::after,
.nav__item--has-children:focus-within > .nav__link::after,
.nav__item--has-children.is-open > .nav__link::after { width: 100%; }

.nav__chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.2s var(--ease);
}
/* the chevron used to rotate only on .is-open, which JS sets on mobile only */
.nav__item--has-children:hover .nav__chevron,
.nav__item--has-children:focus-within .nav__chevron,
.nav__item--has-children.is-open .nav__chevron { transform: rotate(180deg); }

.nav__submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 0.5rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  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: translateY(0);
}

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

/* Language switcher — a real segmented pill, not an inert radius */
.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}
.nav__lang > span[aria-hidden="true"] {
  color: rgba(9, 31, 66, 0.25);
  font-weight: 400;
}
.nav__lang a {
  color: var(--muted-text);
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-pill);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.nav__lang a:hover {
  background: var(--brand-blue-tint);
  color: var(--brand-blue);
}
.nav__lang a.nav__lang--active {
  background: var(--brand-blue-tint);
  color: var(--brand-blue);
}
.nav__lang a.nav__lang--active:hover { background: rgba(40, 96, 225, 0.17); }

/* Header action buttons */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.site-header__actions .btn--small {
  white-space: nowrap;
}

/* The same two CTAs, cloned by main.js into the mobile menu panel.
   Hidden while the desktop header row is showing them. */
.nav__item--actions { display: none; }

/* 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(84px, 8vw, 128px);
  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: 560px;
  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 { background: var(--section-alt); }

/* The hero curve already closes the section — don't stack a second full gap on it. */
.hero + .features,
.hero + .content-section,
.hero + .featured-in { 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; }
/* the source SVGs carry a baked-in #f5f7fa backing plate — round it so it
   reads as a device panel instead of a hard grey rectangle on white */
.features__media img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius-lg);
}

/* ===========================================================
   Featured in
   =========================================================== */
.featured-in {
  background: var(--section-alt);
  padding: var(--sp-section-sm) 0;
  border-top: 1px solid var(--hairline);
}
/* never stack two tinted bands — the seam disappears and the gap reads as dead space */
.features--alt + .featured-in,
.content-section--alt + .featured-in {
  background: var(--white);
  border-top: 0;
}
/* a row of logos, not a quarter-width column */
.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);
}
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__logo img {
  max-height: 44px;
  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; }

/* ===========================================================
   Page header (for sub-pages)
   =========================================================== */
.page-header {
  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-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.page-header__eyebrow {
  color: var(--green-ink);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.page-header__title {
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--dark-navy);
  max-width: 20ch;
}
/* was an inline font-size:20px — put it back on the fluid scale */
.page-header__subtitle {
  color: var(--muted-text);
  font-size: var(--fs-lead);
  line-height: 1.6;
  margin-top: 0.85rem;
}
.page-header__inner > p { max-width: var(--measure); }

/* ===========================================================
   Content sections (about, platform, shipping, careers)
   =========================================================== */
.content-section {
  padding: var(--sp-section) 0;
  background: var(--white);
}
.content-section--alt {
  background: var(--section-alt);
  border-block: 1px solid var(--hairline);
}
/* two consecutive sections on the SAME surface read as one band —
   close the doubled gap instead of leaving a dead strip */
.content-section:not(.content-section--alt) + .content-section:not(.content-section--alt),
.content-section--alt + .content-section--alt { padding-top: 0; }
.content-section--alt + .content-section--alt { border-top: 0; }
.page-header + .content-section { padding-top: clamp(40px, 4vw, 64px); }

/* about-us / platform-features open straight into a two-column intro instead of
   a .page-header, which left those pages starting on flat white while every
   other page opens on the tinted band. Give that opening section the same
   treatment so the family reads consistently. */
main > .content-section:first-child:has(.two-col) {
  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%);
  border-bottom: 1px solid var(--hairline);
  padding-top: clamp(48px, 5.5vw, 84px);
}

.content-section__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.content-section__inner--narrow {
  max-width: 800px;
}

.content-section__title {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--dark-navy);
  margin-bottom: 1.5rem;
  max-width: 34ch;
}
.content-section__title--center {
  max-width: 26ch;
  margin-inline: auto;
  text-align: center;
}
/* when this doubles as the page h1 it carries the h1 step of the scale */
h1.content-section__title {
  font-size: var(--fs-h1);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.content-section__text p {
  color: var(--muted-text);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: var(--measure);
}
/* sub-heading inside a content section (was an inline style block) */
.content-section__subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--dark-navy);
  margin-bottom: 1rem;
}

.content-section__text p strong {
  color: var(--dark-navy);
  font-weight: 600;
}

/* trailing action row of a content section */
.content-section__actions { margin-top: 1.75rem; }
.content-section__title--center + .stats { margin-top: 2.5rem; }

/* ---------- Closing call-to-action panel ---------- */
.page-cta__panel {
  text-align: center;
  background: linear-gradient(180deg, #edf6fb 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 4vw, 3.25rem) clamp(1.25rem, 4vw, 3rem);
}
.page-cta__text {
  color: var(--dark-navy);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.6;
  max-width: 46rem;
  margin-inline: auto;
}
.page-cta__actions { margin-top: 1.75rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4rem);
}
.two-col--reverse .two-col__media { order: -1; }
.two-col__content { min-width: 0; }
.two-col__media { display: flex; justify-content: center; }
/* these SVGs range from 268x177 to 1508x904 — let the small ones fill their
   half of the grid instead of sitting there at intrinsic size */
.two-col__media img {
  width: 100%;
  max-width: 520px;
  height: auto;
}

/* contact: the form deserves the wider half */
.two-col--contact {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
}
.two-col--contact .two-col__media img {
  width: auto;
  max-width: 100%;
  max-height: 460px;
}

/* About-us banner */
.about-banner {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ===========================================================
   Shipping services
   =========================================================== */
.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              border-color 0.25s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(40, 96, 225, 0.22);
}
.service-card__icon {
  margin-bottom: 1.25rem;
}
/* the source SVGs are ~435x290 — never force them square */
.service-card__icon img {
  width: 100%;
  max-width: 148px;
  height: auto;
}
.service-card__title {
  font-family: var(--font-body);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--dark-navy);
  margin-bottom: 0.85rem;
}
.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-card__list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 0.45rem;
  font-size: 1rem;
  color: var(--muted-text);
  line-height: 1.6;
}
.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 15px;
  height: 14px;
  background-image: url("/assets/images/check-mark.svg");
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 100% 100%;
}
/* tint the black source check to brand blue where masking is available */
@supports (mask-image: url("/assets/images/check-mark.svg")) {
  .service-card__list li::before {
    background-image: none;
    background-color: var(--brand-blue);
    -webkit-mask: url("/assets/images/check-mark.svg") no-repeat 50% / 100% 100%;
    mask: url("/assets/images/check-mark.svg") no-repeat 50% / 100% 100%;
  }
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  text-align: center;
}
.stat {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.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;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--muted-text);
  line-height: 1.5;
}

/* ===========================================================
   Platform features
   =========================================================== */
.platform-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.platform-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  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 screen thumbnails — never force them
   into a 48px square, they are unreadable at that size */
.platform-feature__icon {
  flex: 0 0 auto;
  width: 100%;
  max-width: 190px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.platform-feature__icon img { width: 100%; height: auto; }
.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.4rem;
}
.platform-feature__text {
  font-size: var(--fs-sm);
  color: var(--muted-text);
  line-height: 1.6;
}

/* ===========================================================
   FAQ accordion
   =========================================================== */
.faq-list {
  max-width: 860px;
  margin-inline: auto;
  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.is-open {
  border-color: rgba(40, 96, 225, 0.28);
  box-shadow: var(--shadow-sm);
}
.faq-item__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.35rem 0;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--dark-navy);
  cursor: pointer;
  transition: color 0.15s var(--ease);
}
.faq-item__button:hover { color: var(--brand-blue); }
.faq-item__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--brand-blue);
  transition: transform 0.25s var(--ease);
}
.faq-item.is-open .faq-item__icon { transform: rotate(180deg); }
.faq-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.faq-item.is-open .faq-item__panel { max-height: 600px; }
.faq-item__answer {
  padding: 0 0 1.4rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted-text);
  max-width: var(--measure);
}

/* ===========================================================
   Careers / job listings
   =========================================================== */
.job-listings {
  display: grid;
  gap: 1rem;
}
.job-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.job-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.job-card__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;
  margin-bottom: 0.6rem;
}
.job-card__title {
  font-family: var(--font-body);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
}
.job-card__desc {
  font-size: var(--fs-sm);
  color: var(--muted-text);
  line-height: 1.6;
}
.job-card__location {
  font-size: var(--fs-sm);
  color: var(--muted-text);
  font-weight: 500;
  white-space: nowrap;
}

/* ===========================================================
   Contact form
   =========================================================== */
.contact-form {
  max-width: 700px;
  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__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
.contact-form__field {
  margin-bottom: 1.1rem;
}
.contact-form__field--full { grid-column: 1 / -1; }
.contact-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--dark-navy);
}
.contact-form__required { color: #c0392b; }
.contact-form__input,
.contact-form__textarea {
  display: block;
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 400;
  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 { height: 48px; }
.contact-form__textarea { min-height: 130px; resize: vertical; }
.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::placeholder,
.contact-form__textarea::placeholder { color: var(--muted-text-3); }

.contact-form__error {
  display: none;
  color: #c0392b;
  font-size: 0.875rem;
  margin-top: 0.3rem;
}
.contact-form__field--error .contact-form__error { display: block; }
.contact-form__field--error .contact-form__input,
.contact-form__field--error .contact-form__textarea {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--muted-text);
  line-height: 1.6;
}
.contact-form__consent input[type="checkbox"] {
  flex: 0 0 auto;
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--brand-blue);
}
.contact-form__consent label { cursor: pointer; }
.contact-form__consent a { text-decoration: underline; }

/* Honeypot */
.contact-form__honeypot {
  display: none;
}

.contact-form__note {
  font-size: var(--fs-sm);
  color: var(--muted-text);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  background: var(--section-alt);
  border-left: 3px solid var(--brand-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ===========================================================
   Legal / Privacy pages
   =========================================================== */
.legal-content {
  max-width: var(--measure);
  margin-inline: auto;
}
.legal-content h1 {
  font-size: var(--fs-h1);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--hairline);
}
.legal-content h2 {
  font-size: 1.4375rem;
  font-weight: 600;
  color: var(--dark-navy);
  letter-spacing: -0.02em;
  margin-top: 2.75rem;
  margin-bottom: 0.85rem;
}
.legal-content h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--dark-navy);
  letter-spacing: -0.015em;
  margin-top: 2rem;
  margin-bottom: 0.65rem;
}
.legal-content h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dark-navy);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.legal-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--body-text);
}
.legal-content ul {
  margin: 0.5rem 0 1.25rem;
  padding-left: 1.5rem;
  list-style: disc;
}
.legal-content ul li {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0.4rem;
}
.legal-content a { color: var(--brand-blue); text-decoration: underline; }

/* ===========================================================
   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 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: var(--fs-sm);
  transition: color 0.15s var(--ease);
}
.site-footer__links a:hover { color: #fff; }

/* This column has no .site-footer__title, so without an offset "Log in" sat on
   the eyebrow baseline instead of the link rows. Push it down by exactly one
   title (font-size x heading line-height + its margin). */
.site-footer__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  padding-top: calc(0.8125rem * 1.15 + 1.1rem);
}
.site-footer__actions a {
  color: var(--footer-text);
  font-size: var(--fs-sm);
  transition: color 0.15s var(--ease);
}
.site-footer__actions a:hover { color: #fff; }
.site-footer__actions .btn { 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; }

/* A blue ring on a near-black footer is invisible — go white */
.site-footer :focus-visible { outline-color: #fff; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1200px) {
  .nav__link { font-size: 0.875rem; }
  .site-header__actions .btn--small { padding: 10px 14px; }
}

@media (max-width: 1024px) {
  .hero__inner,
  .features__inner { grid-template-columns: 1fr 1fr; }
  .platform-features { grid-template-columns: repeat(2, 1fr); }
}

/* The header carries logo + 6 items + EN|FR + 2 CTAs; the French labels
   are ~35% longer, so the hamburger has to arrive well before 768px. */
@media (max-width: 1080px) {
  /* backdrop-filter makes the header a containing block for fixed-position
     descendants, which would trap the slide-in panel inside the 64px bar
     (and push the document 100vw wide). Drop the glass effect here. */
  .site-header {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* 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; width: 100%; justify-content: space-between; }
  .nav__link::after { display: none; }
  .nav__item--has-children::after { display: none; }

  /* Mobile dropdown */
  .nav__submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0 0 0 1rem;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }
  .nav__item--has-children.is-open > .nav__submenu { max-height: 300px; }
  .nav__submenu-link {
    padding: 0.75rem 0;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid var(--hairline);
  }
  .nav__submenu-item:last-child .nav__submenu-link { border-bottom: 0; }
  .nav__submenu-link:hover { background: transparent; padding-left: 0; }

  /* Language switcher gets the same touch target as a nav link */
  .nav__lang {
    padding: 0.85rem 0;
    font-size: 1rem;
    gap: 0.35rem;
  }
  .nav__lang a { padding: 0.45rem 0.85rem; }

  /* The Login / Start CTAs, cloned into the panel by main.js */
  .nav__item--actions {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 0 0;
    border-bottom: 0;
  }
  .nav__item--actions .btn {
    flex: 1 1 0;
    padding: 13px 16px;
    font-size: 1rem;
  }

  .site-header__logo img { height: 32px; }
  .site-header__actions { display: none; }
}

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

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

  /* Hero */
  .hero { padding: 30px 0 70px; }
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__media { order: -1; }
  .hero__media img { max-width: 420px; }
  .hero__mode img { width: 80px; }
  .hero__mode-sep img { width: 50px; }

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

  /* Featured in */
  .featured-in__inner { flex-direction: column; gap: 1.5rem; }

  /* Two-col */
  .two-col,
  .two-col--contact { grid-template-columns: 1fr; gap: 2rem; }
  .two-col--reverse .two-col__media { order: 0; }
  .two-col--contact .two-col__media { display: none; }

  /* Service cards */
  .service-cards { grid-template-columns: 1fr; }

  /* Platform features */
  .platform-features { grid-template-columns: 1fr; }

  /* Stats */
  .stats { grid-template-columns: 1fr; gap: 1rem; }

  /* Contact form */
  .contact-form { max-width: none; }
  .contact-form__grid { grid-template-columns: 1fr; gap: 0; }

  /* Job cards */
  .job-card { grid-template-columns: 1fr; }

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

  /* Page header */
  .page-header { padding: 40px 0 32px; }
  .page-header__title { max-width: none; }
}

@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; }
  ul.featured-in__logo { gap: 1.5rem; }
  .platform-feature { flex-direction: column; gap: 1rem; }
  .site-footer__inner { grid-template-columns: 1fr; }
  /* single column — nothing left to align to */
  .site-footer__actions { padding-top: 0; }
  .contact-form { padding: 1.25rem; border-radius: var(--radius); }
  .nav__item--actions { flex-direction: column; }
}

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