/* ─────────────────────────────────────────────────────────
   Catalytics — global stylesheet
   Brand tokens per brief: navy #14466c · ice #dfe8ec · mid #8aa2b4 · light #f2f6f9
   ───────────────────────────────────────────────────────── */

:root {
  --navy: #14466c;
  --navy-90: #1a527d;
  --navy-deep: #0e3656;
  --ice: #dfe8ec;
  --mid: #8aa2b4;
  --light: #f2f6f9;
  --ink: #0e1c2a;
  --ink-2: #3d4f61;
  --line: #d8e2e8;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(14, 28, 42, 0.04), 0 1px 1px rgba(14, 28, 42, 0.06);
  --shadow: 0 6px 24px rgba(14, 28, 42, 0.08), 0 2px 6px rgba(14, 28, 42, 0.05);
  --shadow-lg: 0 20px 60px rgba(14, 28, 42, 0.18);
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);

  --font-head: "Gill Sans MT", "Gill Sans", "Seravek", "Verdana", sans-serif;
  --font-body: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ───── Header ───── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.site-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-header__logo img { height: 28px; width: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.site-nav a {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.site-nav a:hover { color: var(--navy); }
.site-nav a.is-active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Region pill in header */
.region-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  position: relative;
}
.region-pill:hover { background: var(--ice); border-color: var(--mid); }
.region-pill__flag { width: 18px; height: 12px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,0.05); }
.region-pill__caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; opacity: 0.6; }
.region-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 6px;
  min-width: 200px;
  display: none;
  z-index: 60;
}
.region-menu.is-open { display: block; }
.region-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-family: var(--font-body);
}
.region-menu a:hover { background: var(--light); }
.region-menu a.is-current { background: var(--ice); color: var(--navy); }
.region-menu .region-pill__flag { width: 22px; height: 14px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--mid); }
.btn--ghost:hover { background: var(--ice); border-color: var(--navy); }
.btn--white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--white:hover { background: var(--ice); border-color: var(--ice); }
.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--lg { padding: 16px 28px; font-size: 15px; }

/* ───── Hero ───── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: clamp(51px, 7.2vw, 96px) 0 clamp(64px, 8vw, 112px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(138, 162, 180, 0.22), transparent 60%),
    radial-gradient(700px 400px at 10% 85%, rgba(223, 232, 236, 0.10), transparent 60%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__eyebrow .region-pill__flag { width: 20px; height: 13px; }
.hero__headline {
  font-size: clamp(40px, 5.5vw, 68px);
  color: var(--white);
  max-width: 18ch;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero__subhead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  max-width: 58ch;
  margin-bottom: 36px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ───── Credibility bar ───── */
.cred-bar {
  background: var(--ice);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.cred-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: center;
}
.cred-bar__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 8px;
  border-left: 1px solid var(--mid);
}
.cred-bar__item:first-child { border-left: none; padding-left: 0; }
.cred-bar__value {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.cred-bar__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .cred-bar__grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .cred-bar__item:nth-child(3) { border-left: none; padding-left: 0; }
}

/* ───── Generic sections ───── */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--light { background: var(--light); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--ice { background: var(--ice); }

.section__head {
  max-width: 760px;
  margin-bottom: 48px;
}
.section__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 14px;
}
.section--navy .section__eyebrow { color: var(--ice); }
.section__title {
  font-size: clamp(28px, 3.4vw, 44px);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.section__lead {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--ink-2);
}
.section--navy .section__lead { color: rgba(255, 255, 255, 0.82); }

/* What we track / Who we work with */
.track-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.track-grid__copy h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 20px; }
.track-grid__copy p { font-size: 17px; line-height: 1.65; color: var(--ink-2); margin: 0 0 24px; }
.track-grid__copy a.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 2px;
}
.track-grid__copy a.section-link:hover { color: var(--navy-deep); }
.track-grid__media {
  background: var(--ice);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 380px;
}
.track-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-head);
  letter-spacing: 0.02em;
}
.track-tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
.track-grid__media-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
@media (max-width: 860px) {
  .track-grid { grid-template-columns: 1fr; gap: 36px; }
  .track-grid__media { min-height: auto; }
}

/* Sectors row — kept for v1 compatibility, not used in v2 */
.sectors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 32px;
}
.sectors__cell {
  background: var(--white);
  padding: 24px 20px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.section--navy .sectors { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.18); }
.section--navy .sectors__cell { background: var(--navy); color: var(--white); }

/* Use-case scenarios — replaces sectors on v2 homepages */
.use-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.use-case {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.use-case__quote-mark {
  font-family: var(--font-head);
  font-size: 60px;
  line-height: 0.6;
  color: var(--ice);
  margin-bottom: 16px;
}
.use-case__title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.use-case__copy {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 0 22px;
  flex: 1;
}
.use-case__attr {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.use-case__attr::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--navy);
  display: inline-block;
}
@media (max-width: 1100px) {
  .use-cases { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .use-cases { grid-template-columns: 1fr; }
}

/* Closing CTA */
.closing-cta {
  background: var(--navy);
  color: var(--white);
  padding: clamp(72px, 9vw, 120px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 50% 0%, rgba(138, 162, 180, 0.25), transparent 60%);
  pointer-events: none;
}
.closing-cta > .container { position: relative; z-index: 1; }
.closing-cta h2 {
  color: var(--white);
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 18px;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.closing-cta p {
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(255,255,255,0.85);
  max-width: 56ch;
  margin: 0 auto 32px;
}

/* ───── Footer ───── */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 36px;
  font-size: 14px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.site-footer__brand img { height: 26px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.site-footer__brand p { max-width: 38ch; line-height: 1.6; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a:hover { color: var(--white); }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
@media (max-width: 860px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ───── Entry page (region selector) ───── */
.entry {
  min-height: 100vh;
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.entry::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 85% 15%, rgba(138, 162, 180, 0.25), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(223, 232, 236, 0.12), transparent 60%);
  pointer-events: none;
}
.entry__header { padding: 32px var(--gutter); display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.entry__header img { height: 28px; filter: brightness(0) invert(1); }
.entry__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--gutter) 80px;
  position: relative;
  z-index: 1;
}
.entry__inner { width: 100%; max-width: 1080px; text-align: center; }
.entry__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 22px;
}
.entry h1 {
  color: var(--white);
  font-size: clamp(38px, 5.5vw, 64px);
  margin-bottom: 22px;
}
.entry__sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(255,255,255,0.78);
  max-width: 52ch;
  margin: 0 auto 56px;
  line-height: 1.55;
}
.entry__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 800px) {
  .entry__grid { grid-template-columns: 1fr 1fr; }
}
.entry__card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 36px 24px 32px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.entry__card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-4px);
}
.entry__flag {
  width: 96px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1);
  background: var(--white);
}
.entry__country {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}
.entry__meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.entry__footer {
  padding: 24px var(--gutter);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ───── How It Works ───── */
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.method-card {
  background: var(--white);
  padding: 36px 28px;
}
.method-card__num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--mid);
  line-height: 1;
  margin-bottom: 18px;
}
.method-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.method-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}

.commitments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 760px) { .commitments { grid-template-columns: 1fr 1fr; } }
.commitment {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
}
.commitment__value { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.commitment__label { font-size: 12px; font-weight: 700; color: var(--ink-2); letter-spacing: 0.06em; text-transform: uppercase; }

/* Service list — editorial horizontal stripes (replaces card grid for 5-item asymmetry) */
.service-list {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.service-row {
  display: grid;
  grid-template-columns: 80px minmax(220px, 1.2fr) 2fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--line);
}
.service-row:first-child { border-top: none; }
.service-row:hover { background: var(--light); }
.service-row__num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--mid);
  letter-spacing: -0.01em;
  line-height: 1;
}
.service-row__title {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.service-row__body {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
}
@media (max-width: 720px) {
  .service-row {
    grid-template-columns: 56px 1fr;
    gap: 16px;
  }
  .service-row__num { font-size: 22px; align-self: start; padding-top: 2px; }
  .service-row__body { grid-column: 2 / span 1; padding-top: 6px; }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
/* 5-card service grid — 3 cards top row + 2 cards bottom row, both centered */
.service-grid--5 {
  grid-template-columns: repeat(6, 1fr);
}
.service-grid--5 .service-card {
  grid-column: span 2;
}
.service-grid--5 .service-card:nth-child(4),
.service-grid--5 .service-card:nth-child(5) {
  grid-column: span 3;
}
@media (max-width: 900px) {
  .service-grid--5 { grid-template-columns: 1fr 1fr; }
  .service-grid--5 .service-card,
  .service-grid--5 .service-card:nth-child(4),
  .service-grid--5 .service-card:nth-child(5) { grid-column: span 1; }
  .service-grid--5 .service-card:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 560px) {
  .service-grid--5 { grid-template-columns: 1fr; }
  .service-grid--5 .service-card:nth-child(5) { grid-column: span 1; }
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
}
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 0; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--mid);
  z-index: 0;
}
.timeline__step { position: relative; padding: 0 12px; text-align: center; }
.timeline__dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}
.timeline__week { font-size: 12px; font-weight: 700; color: var(--mid); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.timeline__title { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.timeline__body { font-size: 13px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 800px) {
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .timeline::before { display: none; }
  .timeline__step { text-align: left; display: grid; grid-template-columns: 56px 1fr; gap: 18px; }
  .timeline__step > div:not(.timeline__dot) { text-align: left; }
  .timeline__dot { margin: 0; }
}

/* AI cards — white on navy, much breathing room. Plus a hero stat row */
.ai-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 32px;
}
.ai-hero__cell {
  background: var(--navy);
  padding: 28px 28px;
  color: var(--white);
}
.ai-hero__lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 10px;
}
.ai-hero__val {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.005em;
  line-height: 1.2;
}
@media (max-width: 760px) {
  .ai-hero { grid-template-columns: 1fr; }
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}
.ai-grid--3col { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .ai-grid--3col { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .ai-grid--3col { grid-template-columns: 1fr; }
}
.ai-card {
  background: var(--white);
  padding: 28px 28px 30px;
  color: var(--ink);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
}
.ai-card h3 { color: var(--navy); font-size: 17px; margin-bottom: 10px; letter-spacing: -0.005em; }
.ai-card p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 0; }

/* ───── About ───── */
.about-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-grid__label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--mid);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-top: 8px;
  border-top: 2px solid var(--navy);
  width: fit-content;
}
.about-grid__body h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 22px; }
.about-grid__body p { font-size: 17px; line-height: 1.65; color: var(--ink-2); margin: 0 0 16px; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: 24px; } }

.locales {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 760px) { .locales { grid-template-columns: 1fr 1fr; } }
.locale {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.locale__flag { width: 44px; height: 30px; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); margin-bottom: 8px; }
.locale__name { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--navy); }
.locale__meta { font-size: 13px; color: var(--ink-2); }

/* ───── Coverage page ───── */
.coverage-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.coverage-tab {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.coverage-tab:hover { border-color: var(--mid); color: var(--navy); }
.coverage-tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.coverage-tab .region-pill__flag { width: 20px; height: 13px; }
.coverage-tab__count { font-size: 12px; opacity: 0.7; }
.coverage-tab.is-active .coverage-tab__count { opacity: 0.9; }

.coverage-panel { display: none; }
.coverage-panel.is-active { display: block; }
.coverage-panel__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.coverage-panel__title { font-size: 28px; }
.coverage-panel__meta { font-size: 14px; color: var(--ink-2); }

.retailer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.retailer-cell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 130px;
  justify-content: center;
}
.retailer-cell image-slot {
  width: 100%;
  height: 64px;
  display: block;
}
.retailer-cell__name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

/* ───── Contact ───── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 22px;
  padding: 40px;
}
.contact-card h2 { color: var(--white); font-size: 26px; margin-bottom: 20px; }
.contact-card__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-card__row:first-of-type { border-top: none; }
.contact-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  width: 80px;
  flex-shrink: 0;
}
.contact-card__value {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.contact-card__demo {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  padding: 24px;
  margin-top: 28px;
}
.contact-card__demo h3 { color: var(--white); font-size: 18px; margin-bottom: 8px; }
.contact-card__demo p { font-size: 14px; color: rgba(255,255,255,0.78); margin: 0 0 16px; line-height: 1.5; }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px;
}
.form h2 { font-size: 26px; margin-bottom: 6px; }
.form__lead { font-size: 14px; color: var(--ink-2); margin: 0 0 24px; }
.form__row { margin-bottom: 16px; }
.form__row label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form__row input,
.form__row select,
.form__row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(20, 70, 108, 0.12);
}
.form__row textarea { min-height: 120px; resize: vertical; }

.form__success {
  display: none;
  background: var(--ice);
  border: 1px solid var(--mid);
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 16px;
  color: var(--navy);
  font-weight: 700;
  font-family: var(--font-head);
}

/* ───── Page header (intro band) ───── */
.page-head {
  background: var(--navy);
  color: var(--white);
  padding: clamp(56px, 7vw, 90px) 0 clamp(56px, 7vw, 90px);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 350px at 80% 30%, rgba(138, 162, 180, 0.22), transparent 60%);
  pointer-events: none;
}
.page-head > .container { position: relative; z-index: 1; }
.page-head__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
}
.page-head h1 {
  color: var(--white);
  font-size: clamp(32px, 4.4vw, 56px);
  max-width: 22ch;
  letter-spacing: -0.01em;
}
.page-head__sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(255,255,255,0.82);
  max-width: 60ch;
  margin-top: 18px;
  line-height: 1.55;
}

/* ───── Demo modal ───── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(14, 28, 42, 0.55);
  backdrop-filter: blur(6px);
}
.modal.is-open { display: flex; }
.modal__panel {
  background: var(--white);
  border-radius: 22px;
  width: 100%;
  max-width: 520px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
/* Wider variant for the HubSpot Meetings embed (calendar view needs the room) */
.modal__panel--demo {
  max-width: 920px;
  padding: 28px 24px 24px;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
}
.modal__panel--demo .meetings-iframe-container {
  flex: 1;
  min-height: 660px;
  width: 100%;
}
.modal__panel--demo .meetings-iframe-container iframe {
  width: 100% !important;
  min-height: 660px;
  border: 0;
}
.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--light);
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink-2);
}
.modal__close:hover { background: var(--ice); color: var(--navy); }
.modal h3 { font-size: 24px; margin-bottom: 8px; }
.modal__lead { font-size: 14px; color: var(--ink-2); margin: 0 0 22px; }

/* ───── Utility ───── */
.text-center { text-align: center; }
.flex-row { display: flex; gap: 16px; flex-wrap: wrap; }
.spacer-l { height: 48px; }
.spacer-m { height: 24px; }
.divider { height: 1px; background: var(--line); margin: 64px 0; }


/* Retailer collage (region-supplied logo group) */
.retailer-collage {
  margin: 0;
  background: var(--white, #ffffff);
  border: 1px solid var(--line, #e3ebf1);
  border-radius: 14px;
  padding: clamp(20px, 4vw, 48px);
  box-shadow: 0 1px 0 rgba(20, 70, 108, 0.04);
}
.retailer-collage img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1280px;
  margin: 0 auto;
}


/* ─────────────────────────────────────────────────────────
   v2 — What We Track product sections
   ───────────────────────────────────────────────────────── */

/* Tabbed product layout — vertical list of products on the left,
   active product detail on the right. No long scroll. */
.product-tabs {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}
.product-tabs__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 96px;
}
.product-tab {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 18px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
  font-family: inherit;
}
.product-tab:hover { border-color: var(--mid); transform: translateX(2px); }
.product-tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.product-tab__num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mid);
  background: var(--light);
  padding: 4px 8px;
  border-radius: 6px;
  min-width: 28px;
  text-align: center;
}
.product-tab.is-active .product-tab__num { background: rgba(255,255,255,0.18); color: var(--white); }
.product-tab__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.product-tab__cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
}
.product-tab.is-active .product-tab__cat { color: var(--ice); }
.product-tab__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  letter-spacing: 0.005em;
}
.product-tab.is-active .product-tab__title { color: var(--white); }
.product-tab__arrow {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  font-size: 13px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.15s;
}
.product-tab.is-active .product-tab__arrow {
  background: var(--white);
  color: var(--navy);
  opacity: 1;
}

.product-panels { position: relative; min-height: 480px; }
.product-panel { display: none; }
.product-panel.is-active { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 3vw, 48px); align-items: start; }
.product-panel__copy {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.product-panel__cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.product-panel__title {
  font-size: clamp(26px, 2.8vw, 36px);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.product-panel__lbl {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 22px 0 6px;
}
.product-panel__lbl:first-child { margin-top: 0; }
.product-panel__copy p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}
.product-panel__copy p strong { color: var(--navy); font-weight: 700; }

/* Reused .product__visual styles — keep the existing visual mock styling */
@media (max-width: 1000px) {
  .product-tabs { grid-template-columns: 1fr; }
  .product-tabs__list { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 8px; gap: 8px; }
  .product-tab { min-width: 220px; flex-shrink: 0; }
  .product-tab__arrow { display: none; }
  .product-panel.is-active { grid-template-columns: 1fr; }
}
.product__visual {
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 32px);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.product__visual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 12px;
  border-bottom: 1px solid var(--line);
}
.product__visual-head .pv-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.product__visual-head .pv-meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
}
.product__visual-body { flex: 1; display: flex; flex-direction: column; gap: 10px; }

.pv-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
}
.pv-row__brand { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.pv-row__price { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.pv-row__price del { color: var(--mid); font-weight: 400; margin-right: 8px; }
.pv-row__chip { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--ice); color: var(--navy); letter-spacing: 0.02em; }

.pv-tile-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pv-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pv-tile__lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); }
.pv-tile__val { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--navy); margin-top: 4px; }
.pv-tile__sub { font-size: 11px; color: var(--ink-2); margin-top: 2px; }

.pv-chart {
  height: 120px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.pv-chart svg { width: 100%; height: 100%; display: block; }

.pv-image-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.pv-image-stack > div {
  aspect-ratio: 3 / 4;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--mid);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background-image:
    linear-gradient(135deg, transparent 60%, rgba(20, 70, 108, 0.04) 60%);
}
.pv-image-stack > div::before {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--ice), var(--mid));
  margin-right: 8px;
  flex-shrink: 0;
}

/* Product visual — clean SaaS-style mock per product type */

/* WWT page header tweaks */
.wwt-intro {
  background: var(--light);
  padding: clamp(56px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--line);
}
.wwt-intro h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  max-width: 22ch;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.wwt-intro p {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0;
  line-height: 1.55;
}


/* ─────────────────────────────────────────────────────────
   Product visual override — clean placeholder for client imagery
   ───────────────────────────────────────────────────────── */
.product__visual {
  background: var(--light) !important;
  border: 1px dashed var(--mid) !important;
  border-radius: 14px !important;
  min-height: 380px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: clamp(24px, 3vw, 40px) !important;
  text-align: center !important;
  overflow: hidden !important;
}
.product__visual > * { display: none !important; }
.product__visual::before {
  content: "";
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ice), var(--mid));
  display: block !important;
}
.product__visual::after {
  content: "Product imagery to be added";
  display: block !important;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--mid);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}


/* Coming-soon badge on AI cards */
.ai-card { position: relative; }
.ai-card__badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--ice);
  border: 1px solid var(--mid);
  padding: 4px 9px;
  border-radius: 999px;
  margin-bottom: 14px;
}


/* Homepage product showcase placeholder (replaces tag-pill + "platform preview" box) */
.product-showcase {
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 400px;
}
.product-showcase__lbl {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
}
.product-showcase__placeholder {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 2fr 1fr;
  gap: 12px;
  min-height: 280px;
}
.product-showcase__slot {
  background: var(--white);
  border: 1px dashed var(--mid);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.product-showcase__slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--ice) 0%, transparent 60%),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(138, 162, 180, 0.08) 12px 13px);
}
.product-showcase__slot--lg {
  grid-row: 1 / span 2;
  grid-column: 1 / span 1;
}
.product-showcase__note {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  text-align: center;
}


/* ─────────────────────────────────────────────────────────
   Service tabs — Client Service section uses the same product-tab layout
   ───────────────────────────────────────────────────────── */
.service-tabs {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}
.service-tabs__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 96px;
}
.service-tab {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 18px 18px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
  font-family: inherit;
}
.service-tab:hover { border-color: var(--mid); transform: translateX(2px); }
.service-tab.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.service-tab__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  letter-spacing: 0.005em;
  line-height: 1.25;
}
.service-tab.is-active .service-tab__title { color: var(--white); }
.service-tab__arrow {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  font-size: 13px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.15s;
}
.service-tab.is-active .service-tab__arrow { background: var(--white); color: var(--navy); opacity: 1; }

.service-panels { position: relative; min-height: 180px; }
.service-panel { display: none; }
.service-panel.is-active {
  display: block;
  padding: clamp(28px, 3vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.service-panel h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
.service-panel p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
  max-width: 60ch;
}
@media (max-width: 1000px) {
  .service-tabs { grid-template-columns: 1fr; }
  .service-tabs__list { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 8px; gap: 8px; }
  .service-tab { min-width: 220px; flex-shrink: 0; }
  .service-tab__arrow { display: none; }
}

/* ─────────────────────────────────────────────────────────
   Unified product-panel border — wraps copy AND placeholder visual
   ───────────────────────────────────────────────────────── */
.product-panel.is-active {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: clamp(20px, 2.5vw, 28px);
  gap: clamp(20px, 2.5vw, 32px);
}
/* Remove the inner border on copy since the outer wrapper now handles it */
.product-panel__copy {
  border: none !important;
  background: transparent !important;
  padding: clamp(8px, 1.5vw, 16px) !important;
}
/* Soften the placeholder so the outer border carries the frame */
.product__visual {
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
}


/* Unified border around product-tabs (list + panel together) */
.product-tabs {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: clamp(20px, 2.5vw, 28px);
  gap: clamp(20px, 2.5vw, 32px);
}
/* Inner tab buttons and active panel lose their own borders so it looks like one frame */
.product-tab { background: transparent; border: 1px solid transparent; }
.product-tab:hover { background: var(--light); border-color: var(--line); transform: none; }
.product-tab.is-active { background: var(--navy); border-color: var(--navy); }
.product-panel.is-active {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}
.product__visual {
  border: 1px solid var(--line) !important;
}
/* Hide the product-tab number column */
.product-tab__num { display: none !important; }
.product-tab { grid-template-columns: 1fr auto; }


/* Revert the all-encompassing border on product-tabs.
   Right panel keeps its own border; left list has NO outer frame.
   Only the currently-selected tab is visually framed. */
.product-tabs {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}
.product-panel.is-active {
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
  background: var(--white) !important;
  padding: clamp(20px, 2.5vw, 32px) !important;
}
.product-tab,
.product-tab:hover {
  background: transparent !important;
  border: 1px solid transparent !important;
  transform: none !important;
}
.product-tab:hover .product-tab__title { color: var(--navy-deep); }
.product-tab.is-active {
  background: var(--navy) !important;
  border: 1px solid var(--navy) !important;
  box-shadow: 0 4px 14px rgba(20, 70, 108, 0.18);
}


/* Active tab gets a connecting border that matches the right panel,
   making the selected tab + panel read as one continuous frame */
.product-tab.is-active {
  background: var(--white) !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 14px rgba(20, 70, 108, 0.06) !important;
}
.product-tab.is-active .product-tab__cat { color: var(--mid); }
.product-tab.is-active .product-tab__title { color: var(--navy); }
.product-tab.is-active .product-tab__arrow {
  background: var(--navy) !important;
  color: var(--white) !important;
  opacity: 1 !important;
}


/* One continuous border around the selected tab + the panel.
   Active tab overlaps the panel by 1px and uses a white "right border"
   to hide the panel's left edge for the height of the tab — producing
   a single notched frame that wraps the active tab and the panel. */
.product-tabs {
  gap: 0 !important;
  align-items: stretch !important;
}
.product-tabs__list {
  padding-right: 0 !important;
}
.product-tab.is-active {
  background: var(--white) !important;
  border: 1px solid var(--line) !important;
  border-right: 1px solid var(--white) !important;
  border-radius: 14px 0 0 14px !important;
  margin-right: -1px !important;
  position: relative !important;
  z-index: 2 !important;
  box-shadow: none !important;
}
.product-panel.is-active {
  border: 1px solid var(--line) !important;
  border-left: 1px solid var(--line) !important;
  border-radius: 0 18px 18px 0 !important;
  background: var(--white) !important;
  padding: clamp(20px, 2.5vw, 32px) !important;
}
/* On mobile (horizontal tabs) revert to standalone bordered tabs/panel */
@media (max-width: 1000px) {
  .product-tabs { gap: clamp(20px, 3vw, 32px) !important; align-items: start !important; }
  .product-tab.is-active {
    border-right: 1px solid var(--line) !important;
    border-radius: 14px !important;
    margin-right: 0 !important;
  }
  .product-panel.is-active {
    border-radius: 18px !important;
  }
}


/* All corners rounded on both active tab and panel; remove the vertical divider line */
.product-tabs { gap: clamp(16px, 2vw, 24px) !important; align-items: start !important; }
.product-tab.is-active {
  border-radius: 14px !important;
  border-right: 1px solid var(--line) !important;
  margin-right: 0 !important;
}
.product-panel.is-active {
  border-radius: 18px !important;
}


/* Continuous border with all-rounded corners and no internal vertical divider.
   The whole tabs+panel area becomes ONE bordered container.
   The active tab is highlighted by background only (no own border).
   Inactive tabs are visually de-emphasized inside the same frame. */
.product-tabs {
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
  background: var(--white) !important;
  padding: clamp(14px, 1.8vw, 22px) !important;
  gap: clamp(12px, 1.5vw, 20px) !important;
  align-items: stretch !important;
}
.product-tabs__list {
  position: static !important;
  gap: 4px !important;
}
.product-tab,
.product-tab:hover {
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.product-tab:hover { background: var(--light) !important; }
.product-tab.is-active {
  background: var(--navy) !important;
  border: 1px solid var(--navy) !important;
  border-radius: 12px !important;
}
.product-tab.is-active .product-tab__cat { color: var(--ice) !important; }
.product-tab.is-active .product-tab__title { color: var(--white) !important; }
.product-tab.is-active .product-tab__arrow {
  background: var(--white) !important;
  color: var(--navy) !important;
  opacity: 1 !important;
}
.product-panel.is-active {
  border: none !important;
  background: transparent !important;
  padding: clamp(8px, 1.5vw, 16px) !important;
  border-radius: 0 !important;
}


/* ─────────────────────────────────────────────────────────
   Active-frame layout — the selected tab + panel sit inside ONE
   bordered rounded container; inactive tabs live in a separate
   unbordered column on the far left.
   ───────────────────────────────────────────────────────── */
.product-tabs {
  display: grid !important;
  grid-template-columns: 280px 1fr !important;
  gap: clamp(20px, 2vw, 32px) !important;
  align-items: start !important;
  /* Strip prior wrapper styling */
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.product-tabs__list {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  position: sticky !important;
  top: 96px !important;
}
.product-tab,
.product-tab:hover {
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  margin: 0 !important;
  transition: background 0.12s, color 0.12s !important;
}
.product-tab:hover { background: var(--light) !important; }

/* The frame wraps active tab + active panel */
.product-active-frame {
  display: grid !important;
  grid-template-columns: 260px 1fr !important;
  gap: clamp(20px, 2.5vw, 32px) !important;
  align-items: start !important;
  padding: clamp(18px, 2vw, 24px) !important;
  background: var(--white) !important;
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 18px rgba(20, 70, 108, 0.05) !important;
}
/* Inside the frame, the active tab is highlighted with navy fill, no own border */
.product-active-frame .product-tab.is-active {
  background: var(--navy) !important;
  border: 1px solid var(--navy) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  margin: 0 !important;
}
.product-active-frame .product-tab.is-active .product-tab__cat { color: var(--ice) !important; }
.product-active-frame .product-tab.is-active .product-tab__title { color: var(--white) !important; }
.product-active-frame .product-tab.is-active .product-tab__arrow {
  background: var(--white) !important;
  color: var(--navy) !important;
  opacity: 1 !important;
}
/* The panel itself loses its own border — the frame carries it */
.product-active-frame .product-panel {
  display: block !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.product-active-frame .product-panel__copy {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

@media (max-width: 1000px) {
  .product-tabs { grid-template-columns: 1fr !important; }
  .product-tabs__list { position: static !important; flex-direction: row !important; overflow-x: auto !important; padding-bottom: 8px !important; gap: 8px !important; }
  .product-tab { min-width: 220px; flex-shrink: 0; }
  .product-active-frame { grid-template-columns: 1fr !important; }
  .product-active-frame .product-tab.is-active { width: 100%; }
}


/* ─── Revert active-frame attempt — restore notched continuous border ─── */
.product-tabs {
  display: grid !important;
  grid-template-columns: 320px 1fr !important;
  gap: 0 !important;
  align-items: start !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}
.product-tabs__list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  position: sticky !important;
  top: 96px !important;
  padding-right: 0 !important;
}
.product-tab,
.product-tab:hover {
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  margin: 0 !important;
  transform: none !important;
}
.product-tab:hover { background: var(--light) !important; }

/* Active tab: bordered on top/left/bottom, rounded top-left + bottom-left,
   right edge merges with the panel via 1px overlap with white right border */
.product-tab.is-active {
  background: var(--white) !important;
  border: 1px solid var(--line) !important;
  border-right: 1px solid var(--white) !important;
  border-radius: 14px 0 0 14px !important;
  margin-right: -1px !important;
  position: relative !important;
  z-index: 2 !important;
}
.product-tab.is-active .product-tab__cat { color: var(--mid) !important; }
.product-tab.is-active .product-tab__title { color: var(--navy) !important; }
.product-tab.is-active .product-tab__arrow {
  background: var(--navy) !important;
  color: var(--white) !important;
  opacity: 1 !important;
}

/* Panel: bordered, rounded top-right + bottom-right; left edge connects to active tab */
.product-panel.is-active {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: clamp(20px, 2.5vw, 32px) !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 18px 18px 0 !important;
  background: var(--white) !important;
  padding: clamp(20px, 2.5vw, 32px) !important;
}
.product-panel__copy {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

@media (max-width: 1000px) {
  .product-tabs { grid-template-columns: 1fr !important; gap: 20px !important; }
  .product-tabs__list { position: static !important; flex-direction: row !important; overflow-x: auto !important; }
  .product-tab.is-active { border-right: 1px solid var(--line) !important; border-radius: 14px !important; margin-right: 0 !important; }
  .product-panel.is-active { grid-template-columns: 1fr !important; border-radius: 18px !important; }
}


/* Round all 4 corners on both pieces; remove the connecting vertical line entirely */
.product-tabs { gap: clamp(14px, 1.6vw, 22px) !important; }
.product-tab.is-active {
  border-radius: 14px !important;
  border-right: 1px solid var(--line) !important;
  margin-right: 0 !important;
}
.product-panel.is-active {
  border-radius: 18px !important;
}


/* SVG-rendered notched continuous frame around active tab + panel */
.product-tabs { position: relative !important; }
.product-tabs-frame {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;
  overflow: visible !important;
}
.product-tabs__list,
.product-panels { position: relative !important; z-index: 1 !important; }

/* The active tab and panel no longer carry their own borders — the SVG does */
.product-tab.is-active {
  background: transparent !important;
  border: 1px solid transparent !important;
  border-right: 1px solid transparent !important;
  border-radius: 14px !important;
  margin-right: 0 !important;
}
.product-tab.is-active .product-tab__cat { color: var(--mid) !important; }
.product-tab.is-active .product-tab__title { color: var(--navy) !important; }
.product-tab.is-active .product-tab__arrow {
  background: var(--navy) !important;
  color: var(--white) !important;
  opacity: 1 !important;
}
.product-panel.is-active {
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}
@media (max-width: 1000px) {
  .product-tabs-frame { display: none !important; }
  .product-tab.is-active { background: var(--navy) !important; border: 1px solid var(--navy) !important; }
  .product-tab.is-active .product-tab__cat { color: var(--ice) !important; }
  .product-tab.is-active .product-tab__title { color: var(--white) !important; }
  .product-tab.is-active .product-tab__arrow { background: var(--white) !important; color: var(--navy) !important; }
  .product-panel.is-active { border: 1px solid var(--line) !important; background: var(--white) !important; padding: clamp(20px, 2.5vw, 32px) !important; border-radius: 18px !important; }
}


/* Align first tab with top of right panel; distribute tabs evenly top→bottom */
.product-tabs { align-items: stretch !important; }
.product-tabs__list {
  align-self: stretch !important;
  justify-content: space-between !important;
  position: static !important;
  gap: 0 !important;
  padding: 0 !important;
}


/* Fixed panel height — doesn't adjust for varying content lengths */
.product-panel.is-active {
  min-height: 560px !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: clamp(20px, 2.5vw, 32px) !important;
  align-content: start !important;
  padding: 0 !important;
  background: transparent !important;
}
.product-panel__copy {
  align-self: start !important;
}
/* Keep the visual placeholder vertically centered in its column */
.product-panel.is-active .product__visual {
  align-self: stretch !important;
  height: auto !important;
  min-height: 100% !important;
}


/* Restore generous interior padding inside the right panel so text breathes */
.product-panel.is-active {
  padding: clamp(28px, 3vw, 40px) !important;
  min-height: 600px !important;
}


/* Only distribute evenly when there are 5+ tabs (AU). For shorter lists
   (US/CA = 3 tabs, NZ = 4 tabs) stack them at the top with a fixed gap. */
.product-tabs__list { justify-content: flex-start !important; gap: 6px !important; }
.product-tabs__list:has(.product-tab:nth-child(5)) { justify-content: space-between !important; gap: 0 !important; }


/* Filled product showcase (real screenshots replace dashed placeholders) */
.product-showcase--filled .product-showcase__slot {
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  background: var(--white) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
}
.product-showcase--filled .product-showcase__slot::before { display: none !important; }
.product-showcase--filled .product-showcase__slot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top left;
  flex: 1;
  min-height: 0;
}
.product-showcase--filled .product-showcase__slot figcaption {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  background: var(--light);
  line-height: 1.35;
  text-wrap: pretty;
}


/* Entry page — Welcome promoted to H1, Choose-region demoted to subtitle */
.entry__welcome {
  color: var(--white) !important;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 88px) !important;
  line-height: 1 !important;
  letter-spacing: -0.015em !important;
  margin: 0 0 22px !important;
  text-transform: none !important;
}
.entry__choose {
  font-family: var(--font-head);
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}


/* Entry page — fresh hierarchy (overrides earlier rules) */
.entry__welcome {
  color: var(--white) !important;
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  font-size: clamp(48px, 7vw, 88px) !important;
  line-height: 1 !important;
  letter-spacing: -0.015em !important;
  margin: 0 0 18px !important;
  text-transform: none !important;
}
.entry__choose {
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  color: rgba(255,255,255,0.95) !important;
  font-size: clamp(28px, 3vw, 40px) !important;
  letter-spacing: -0.005em !important;
  line-height: 1.15 !important;
  margin: 0 0 26px !important;
}
.entry__tagline {
  font-family: var(--font-body) !important;
  font-size: clamp(20px, 2.1vw, 28px) !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.92) !important;
  line-height: 1.35 !important;
  margin: 0 auto 14px !important;
  max-width: 36ch !important;
}
.entry__sub {
  font-size: clamp(15px, 1.4vw, 17px) !important;
  color: rgba(255,255,255,0.7) !important;
  max-width: 52ch !important;
  margin: 0 auto 48px !important;
  line-height: 1.5 !important;
}


/* Swap sizes: tagline takes the big role, "Choose your region" becomes smaller */
.entry__tagline {
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  font-size: clamp(28px, 3vw, 40px) !important;
  color: rgba(255,255,255,0.95) !important;
  letter-spacing: -0.005em !important;
  line-height: 1.15 !important;
  margin: 0 auto 26px !important;
  max-width: 32ch !important;
}
.entry__choose {
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  font-size: clamp(15px, 1.4vw, 17px) !important;
  color: rgba(255,255,255,0.7) !important;
  letter-spacing: 0 !important;
  line-height: 1.5 !important;
  margin: 0 auto 6px !important;
}
.entry__sub {
  margin-top: 0 !important;
}


/* Bump Choose-your-region up 2 points */
.entry__choose {
  font-size: clamp(17px, 1.6vw, 19px) !important;
}


/* Welcome — full H1 display size */
.entry__welcome {
  font-size: clamp(56px, 9vw, 120px) !important;
  letter-spacing: -0.02em !important;
  line-height: 0.98 !important;
  margin: 0 0 28px !important;
}


/* News page */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
}
.news-card__date {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 12px;
}
.news-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 20px;
  letter-spacing: -0.005em;
  line-height: 1.25;
  margin: 0 0 12px;
}
.news-card__excerpt {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 0 18px;
  flex: 1;
}
.news-card__tag {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}


/* Match What We Track product tabs to Client Service tile style:
   - Active tab filled navy (no connecting notched border)
   - Panel has its own standard border, fully rounded */
.product-tabs-frame { display: none !important; }
.product-tabs__list { gap: 8px !important; justify-content: flex-start !important; }
.product-tab {
  background: var(--white) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  margin: 0 !important;
}
.product-tab:hover { background: var(--light) !important; border-color: var(--mid) !important; }
.product-tab.is-active {
  background: var(--navy) !important;
  border: 1px solid var(--navy) !important;
  border-radius: 12px !important;
  margin: 0 !important;
  box-shadow: 0 4px 14px rgba(20, 70, 108, 0.18) !important;
}
.product-tab.is-active .product-tab__cat { color: var(--ice) !important; }
.product-tab.is-active .product-tab__title { color: var(--white) !important; }
.product-tab.is-active .product-tab__arrow {
  background: var(--white) !important;
  color: var(--navy) !important;
  opacity: 1 !important;
}
.product-panel.is-active {
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
  background: var(--white) !important;
  padding: clamp(28px, 3vw, 40px) !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: clamp(20px, 2.5vw, 32px) !important;
}


/* Entry tagline — bigger */
.entry__tagline {
  font-size: clamp(36px, 4.4vw, 56px) !important;
  line-height: 1.1 !important;
  max-width: 26ch !important;
  margin: 0 auto 32px !important;
}


/* ─── Use-case background imagery ─── */
.use-case {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.use-case::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 70% auto;
  opacity: 0.65;
  z-index: -1;
  pointer-events: none;
  mask-image: linear-gradient(to top left, #000 0%, #000 40%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top left, #000 0%, #000 40%, transparent 85%);
}
.use-case--bg-1::after { background-image: url('assets/use-case-bg-1.svg'); }
.use-case--bg-2::after { background-image: url('assets/use-case-bg-2.svg'); }
.use-case--bg-3::after { background-image: url('assets/use-case-bg-3.svg'); }
.use-case--bg-4::after { background-image: url('assets/use-case-bg-4.svg'); }
.use-case--bg-5::after { background-image: url('assets/use-case-bg-5.svg'); }
.use-case--bg-6::after { background-image: url('assets/use-case-bg-6.svg'); }

/* ─── Product showcase: stacked layout, contain so detail shows ─── */
.product-showcase--filled .product-showcase__placeholder {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: auto auto !important;
  gap: 14px !important;
  min-height: auto !important;
}
.product-showcase--filled .product-showcase__slot {
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  background: var(--white) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 220px !important;
}
.product-showcase--filled .product-showcase__slot--lg {
  grid-column: 1 / span 2;
  grid-row: 1;
  min-height: 320px !important;
}
.product-showcase--filled .product-showcase__slot img {
  width: 100% !important;
  height: auto !important;
  max-height: 100% !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
  flex: 1 !important;
  min-height: 0 !important;
  padding: 14px !important;
  background: var(--white) !important;
  box-sizing: border-box !important;
}
.product-showcase--filled .product-showcase__slot--lg img {
  padding: 18px !important;
}

/* ─── Entry header logo bigger ─── */
.entry__header img { height: 52px !important; }


/* Override: switch use-case images from washed-out backgrounds to top-right thumbnails */
.use-case::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  bottom: auto;
  left: auto;
  width: 64px;
  height: 64px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: var(--light);
  border: 1px solid var(--line);
  border-radius: 10px;
  opacity: 1 !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
  z-index: 1;
  pointer-events: none;
}
.use-case__quote-mark { display: none; }
.use-case__title { padding-right: 80px; }


/* Use-case thumbnails — pop a bit more (bigger, navy fill, soft shadow) */
.use-case::after {
  top: 24px !important;
  right: 24px !important;
  width: 76px !important;
  height: 76px !important;
  background-color: var(--navy) !important;
  border: none !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 18px rgba(20, 70, 108, 0.22), 0 1px 0 rgba(255,255,255,0.4) inset !important;
  background-size: 60% auto !important;
}
/* ─────────────────────────────────────────────────────────
   Legal pages — Privacy + Terms. Long-form prose styling with
   clear hierarchy and comfortable reading width.
   ───────────────────────────────────────────────────────── */
.legal {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
}
.legal__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 22px;
}
.legal p {
  margin: 0 0 16px;
}
.legal h2 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.005em;
  margin: 48px 0 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { padding-top: 28px; }
.legal h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 10px;
}
.legal ul {
  margin: 0 0 18px;
  padding-left: 22px;
}
.legal ul li {
  margin-bottom: 6px;
}
.legal a {
  color: var(--navy);
  border-bottom: 1px solid rgba(20, 70, 108, 0.3);
  transition: border-color 0.15s;
}
.legal a:hover {
  border-bottom-color: var(--navy);
}
.legal strong {
  color: var(--navy);
}
.legal__caps {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1.7;
  background: var(--light);
  padding: 18px 22px;
  border-left: 3px solid var(--navy);
  border-radius: 4px;
}
.legal__contact {
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 12px 0 22px;
}
.legal__contact p { margin: 0; }


/* ─────────────────────────────────────────────────────────
   Catalogue tracking visual — fanned stack of catalogue
   covers, like a physical pile on a desk. Different sizes,
   slight rotations, overlapping. The .product__visual frame
   stays the same dimensions as other panels.
   ───────────────────────────────────────────────────────── */
.product__visual.product__visual--catalogues {
  background: var(--light) !important;
  border: 1px solid var(--line) !important;
  border-style: solid !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  min-height: 0 !important;
}
.product__visual.product__visual--catalogues > * {
  display: block !important;
}
.product__visual.product__visual--catalogues::before,
.product__visual.product__visual--catalogues::after {
  content: none !important;
  display: none !important;
}
.product__visual.product__visual--catalogues .product__visual-head {
  display: flex !important;
}
.pv-catalogue-grid {
  display: block !important;
  position: relative;
  flex: 1;
  min-height: 400px;
  padding: 0;
  overflow: hidden;
}
.pv-catalogue {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  box-shadow:
    0 14px 32px rgba(14, 54, 86, 0.22),
    0 4px 10px rgba(14, 54, 86, 0.14),
    0 0 0 1px rgba(14, 54, 86, 0.08);
  margin: 0;
  transform-origin: center center;
  width: 34%;
}
.pv-catalogue:nth-child(1) { /* Woolworths — top left */
  transform: translate(-105%, -102%) rotate(-6deg);
  z-index: 2;
}
.pv-catalogue:nth-child(2) { /* Coles — top right (overlaps Woolworths) */
  transform: translate(-5%, -96%) rotate(6deg);
  z-index: 3;
}
.pv-catalogue:nth-child(3) { /* IGA — bottom right (overlaps Coles + ALDI) */
  transform: translate(0%, -4%) rotate(6deg);
  z-index: 4;
}
.pv-catalogue:nth-child(4) { /* ALDI — bottom left (overlaps Woolworths + IGA) */
  transform: translate(-100%, 2%) rotate(-6deg);
  z-index: 5;
}
.pv-catalogue img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.pv-catalogue figcaption {
  /* Hidden in the fan layout — brand recognisable from the cover itself. */
  display: none;
}
@media (max-width: 700px) {
  .pv-catalogue { width: 40%; }
  .pv-catalogue:nth-child(1) { transform: translate(-100%, -102%) rotate(-6deg); }
  .pv-catalogue:nth-child(2) { transform: translate(-5%, -96%) rotate(6deg); }
  .pv-catalogue:nth-child(3) { transform: translate(0%, -4%) rotate(6deg); }
  .pv-catalogue:nth-child(4) { transform: translate(-95%, 2%) rotate(-6deg); }
}


/* ─────────────────────────────────────────────────────────
   Screen-image visual — single platform screenshot scaled to
   fit within the standard .product__visual container without
   stretching it. Same container chrome as other panels.
   Used by Internet Promotion Tracking, EDM, etc.
   ───────────────────────────────────────────────────────── */
.product__visual.product__visual--screen {
  background: var(--white) !important;
  border: 1px solid var(--line) !important;
  border-style: solid !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  padding: 16px !important;
  text-align: left !important;
  min-height: 400px !important;
  overflow: hidden !important;
}
.product__visual.product__visual--screen > * {
  display: block !important;
}
.product__visual.product__visual--screen::before,
.product__visual.product__visual--screen::after {
  content: none !important;
  display: none !important;
}
.product__visual.product__visual--screen img {
  display: block !important;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(14, 54, 86, 0.10), 0 0 0 1px rgba(14, 54, 86, 0.06);
}

/* ─────────────────────────────────────────────────────────
   Multi-screen visual — 2 platform screenshots overlapping
   inside the standard container. Same dimensions as other panels.
   ───────────────────────────────────────────────────────── */
.product__visual.product__visual--screens {
  background: var(--light) !important;
  border: 1px solid var(--line) !important;
  border-style: solid !important;
  display: block !important;
  position: relative !important;
  gap: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  min-height: 400px !important;
  overflow: hidden !important;
}
.product__visual.product__visual--screens > * { display: block !important; }
.product__visual.product__visual--screens::before,
.product__visual.product__visual--screens::after {
  content: none !important;
  display: none !important;
}
.pv-screen {
  position: absolute;
  margin: 0;
  width: 78%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  box-shadow:
    0 14px 32px rgba(14, 54, 86, 0.22),
    0 4px 10px rgba(14, 54, 86, 0.14),
    0 0 0 1px rgba(14, 54, 86, 0.08);
  will-change: transform; /* request hardware-accelerated compositing for crisper rotated edges */
}
.pv-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.pv-screen:nth-child(1) { /* back-left */
  top: 12%;
  left: 2%;
  transform: rotate(-2deg);
  z-index: 1;
}
.pv-screen:nth-child(2) { /* front-right */
  bottom: 12%;
  right: 2%;
  transform: rotate(2deg);
  z-index: 2;
}

/* Tall variant for EDMs — portrait tiles that show more of an email
   vertically. Same overlap pattern, narrower tiles. */
.product__visual--screens-tall { min-height: 540px !important; }
.product__visual--screens-tall .pv-screen {
  width: 48%;
  aspect-ratio: 3 / 4.4;
}
.product__visual--screens-tall .pv-screen:nth-child(1) {
  top: 4%;
  left: 4%;
}
.product__visual--screens-tall .pv-screen:nth-child(2) {
  bottom: 4%;
  right: 4%;
}

/* ─────────────────────────────────────────────────────────
   Newspapers — 3 portrait mastheads fanned like papers
   spread on a desk. Centre one in front, side ones tilted out.
   ───────────────────────────────────────────────────────── */
.product__visual.product__visual--newspapers {
  background: var(--light) !important;
  border: 1px solid var(--line) !important;
  border-style: solid !important;
  display: block !important;
  position: relative !important;
  gap: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  min-height: 500px !important;
  overflow: hidden !important;
}
.product__visual.product__visual--newspapers > * { display: block !important; }
.product__visual.product__visual--newspapers::before,
.product__visual.product__visual--newspapers::after {
  content: none !important;
  display: none !important;
}
.pv-news {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  width: 42%;
  aspect-ratio: 3 / 4.4;
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
  box-shadow:
    0 14px 32px rgba(14, 54, 86, 0.22),
    0 4px 10px rgba(14, 54, 86, 0.14),
    0 0 0 1px rgba(14, 54, 86, 0.08);
  transform-origin: center center;
  will-change: transform;
}
.pv-news img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.pv-news:nth-child(1) { /* AFR — back left */
  transform: translate(-115%, -50%) rotate(-7deg);
  z-index: 1;
}
.pv-news:nth-child(2) { /* SMH — centre front */
  transform: translate(-50%, -50%) rotate(0deg);
  z-index: 3;
}
.pv-news:nth-child(3) { /* The Age — back right */
  transform: translate(15%, -50%) rotate(7deg);
  z-index: 1;
}
@media (max-width: 700px) {
  .pv-news { width: 50%; }
  .pv-news:nth-child(1) { transform: translate(-110%, -50%) rotate(-6deg); }
  .pv-news:nth-child(2) { transform: translate(-50%, -50%) rotate(0deg); }
  .pv-news:nth-child(3) { transform: translate(10%, -50%) rotate(6deg); }
}

/* ─────────────────────────────────────────────────────────
   In-store displays — 4 portrait-leaning shots laid out like
   the catalogue stack: two rows, overlapping both ways.
   ───────────────────────────────────────────────────────── */
.product__visual.product__visual--displays {
  background: var(--light) !important;
  border: 1px solid var(--line) !important;
  border-style: solid !important;
  display: block !important;
  position: relative !important;
  gap: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  min-height: 540px !important;
  overflow: hidden !important;
}
.product__visual.product__visual--displays > * { display: block !important; }
.product__visual.product__visual--displays::before,
.product__visual.product__visual--displays::after {
  content: none !important;
  display: none !important;
}
.pv-display {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  width: 34%;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  box-shadow:
    0 14px 32px rgba(14, 54, 86, 0.22),
    0 4px 10px rgba(14, 54, 86, 0.14),
    0 0 0 1px rgba(14, 54, 86, 0.08);
  transform-origin: center center;
  will-change: transform;
}
.pv-display img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.pv-display:nth-child(1) { /* top left */
  transform: translate(-105%, -102%) rotate(-6deg);
  z-index: 2;
}
.pv-display:nth-child(2) { /* top right */
  transform: translate(-5%, -96%) rotate(6deg);
  z-index: 3;
}
.pv-display:nth-child(3) { /* bottom right */
  transform: translate(0%, -4%) rotate(6deg);
  z-index: 4;
}
.pv-display:nth-child(4) { /* bottom left */
  transform: translate(-100%, 2%) rotate(-6deg);
  z-index: 5;
}
@media (max-width: 700px) {
  .pv-display { width: 40%; }
  .pv-display:nth-child(1) { transform: translate(-100%, -102%) rotate(-6deg); }
  .pv-display:nth-child(2) { transform: translate(-5%, -96%) rotate(6deg); }
  .pv-display:nth-child(3) { transform: translate(0%, -4%) rotate(6deg); }
  .pv-display:nth-child(4) { transform: translate(-95%, 2%) rotate(-6deg); }
}


/* ─────────────────────────────────────────────────────────
   Regional hero photo — AU + NZ only.
   Replaces the solid navy block on home-page heroes with a
   GREYSCALE supermarket aisle photo, tinted with the brand
   navy so the white headline + subhead remain legible.

   Layering: ::before holds the photo (greyscale-filtered),
   ::after holds the navy gradient on top of the photo,
   .hero > .container (z-index:1) holds the text on top.
   ───────────────────────────────────────────────────────── */
body[data-region="au"] .hero,
body[data-region="nz"] .hero {
  background: var(--navy); /* fallback while photo loads */
}
body[data-region="au"] .hero::before,
body[data-region="nz"] .hero::before {
  background: url('assets/hero/supermarket-aisle.jpg') center 70% / cover no-repeat;
  filter: grayscale(1) contrast(1.05);
  opacity: 1;
}
body[data-region="au"] .hero::after,
body[data-region="nz"] .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Darker on the left where the text sits; slightly lighter on the right
     so the aisle still reads through. Tuned for white text legibility. */
  background:
    linear-gradient(90deg, rgba(14, 54, 86, 0.97) 0%, rgba(14, 54, 86, 0.88) 55%, rgba(14, 54, 86, 0.78) 100%),
    linear-gradient(180deg, rgba(14, 54, 86, 0.20) 0%, rgba(14, 54, 86, 0) 30%, rgba(14, 54, 86, 0) 70%, rgba(14, 54, 86, 0.30) 100%);
  pointer-events: none;
}

/* US + CA regional hero photo — same greyscale + navy-wash treatment
   as AU/NZ but with a North-American-style aisle shot (Dollarama). */
body[data-region="us"] .hero,
body[data-region="ca"] .hero {
  background: var(--navy);
}
body[data-region="us"] .hero::before,
body[data-region="ca"] .hero::before {
  background: url('assets/hero/aisle-us-ca.jpeg') center 70% / cover no-repeat;
  filter: grayscale(1) contrast(1.05);
  opacity: 1;
}
body[data-region="us"] .hero::after,
body[data-region="ca"] .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 54, 86, 0.97) 0%, rgba(14, 54, 86, 0.88) 55%, rgba(14, 54, 86, 0.78) 100%),
    linear-gradient(180deg, rgba(14, 54, 86, 0.20) 0%, rgba(14, 54, 86, 0) 30%, rgba(14, 54, 86, 0) 70%, rgba(14, 54, 86, 0.30) 100%);
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────────
   What We Track page header — same photo treatment as the
   AU/NZ hero, but shared across all 4 regions. Greyscale
   magazine + phone shot tinted with the brand navy.
   ───────────────────────────────────────────────────────── */
body[data-page="what-we-track"] .page-head {
  background: var(--navy); /* fallback */
}
body[data-page="what-we-track"] .page-head::before {
  background: url('assets/hero/catalogue-phone.jpg') center 40% / cover no-repeat;
  filter: grayscale(1) contrast(1.05);
  opacity: 1;
}
body[data-page="what-we-track"] .page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 54, 86, 0.97) 0%, rgba(14, 54, 86, 0.88) 55%, rgba(14, 54, 86, 0.78) 100%),
    linear-gradient(180deg, rgba(14, 54, 86, 0.20) 0%, rgba(14, 54, 86, 0) 30%, rgba(14, 54, 86, 0) 70%, rgba(14, 54, 86, 0.30) 100%);
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────────
   Methodology page header — same treatment as What We Track,
   with a data-centre / fibre-rack photo behind the brand-navy
   wash. Reinforces the "how we collect" narrative.
   ───────────────────────────────────────────────────────── */
body[data-page="how-it-works"] .page-head {
  background: var(--navy);
}
body[data-page="how-it-works"] .page-head::before {
  background: url('assets/hero/data-collection.jpg') center 50% / cover no-repeat;
  filter: grayscale(1) contrast(1.05);
  opacity: 1;
}
body[data-page="how-it-works"] .page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 54, 86, 0.97) 0%, rgba(14, 54, 86, 0.88) 55%, rgba(14, 54, 86, 0.78) 100%),
    linear-gradient(180deg, rgba(14, 54, 86, 0.20) 0%, rgba(14, 54, 86, 0) 30%, rgba(14, 54, 86, 0) 70%, rgba(14, 54, 86, 0.30) 100%);
  pointer-events: none;
}

/* Innovation & AI section — colourful AI-brain image behind the navy
   wash. Kept in colour because the image's accent pixels reinforce the
   "AI in production" energy of the section. */
body[data-page="how-it-works"] .section--navy {
  position: relative;
  background:
    linear-gradient(135deg, rgba(14, 54, 86, 0.93) 0%, rgba(20, 70, 108, 0.85) 50%, rgba(14, 54, 86, 0.94) 100%),
    url('assets/hero/ai-brain.jpg') center / cover no-repeat;
}

/* ─────────────────────────────────────────────────────────
   About page header — office interior with a world-map wall,
   reinforcing the "Independent. Specialist. Global." headline.
   Same greyscale + navy wash as What We Track / Methodology.
   ───────────────────────────────────────────────────────── */
body[data-page="about"] .page-head {
  background: var(--navy);
}
body[data-page="about"] .page-head::before {
  background: url('assets/hero/about-office.jpg') center 35% / cover no-repeat;
  filter: grayscale(1) contrast(1.05);
  opacity: 1;
}
body[data-page="about"] .page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 54, 86, 0.97) 0%, rgba(14, 54, 86, 0.88) 55%, rgba(14, 54, 86, 0.78) 100%),
    linear-gradient(180deg, rgba(14, 54, 86, 0.20) 0%, rgba(14, 54, 86, 0) 30%, rgba(14, 54, 86, 0) 70%, rgba(14, 54, 86, 0.30) 100%);
  pointer-events: none;
}

/* News page header — laptop + phone shot, suggesting newsfeed / updates. */
body[data-page="news"] .page-head {
  background: var(--navy);
}
body[data-page="news"] .page-head::before {
  background: url('assets/hero/news-laptop.jpg') center 35% / cover no-repeat;
  filter: grayscale(1) contrast(1.05);
  opacity: 1;
}
body[data-page="news"] .page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 54, 86, 0.97) 0%, rgba(14, 54, 86, 0.88) 55%, rgba(14, 54, 86, 0.78) 100%),
    linear-gradient(180deg, rgba(14, 54, 86, 0.20) 0%, rgba(14, 54, 86, 0) 30%, rgba(14, 54, 86, 0) 70%, rgba(14, 54, 86, 0.30) 100%);
  pointer-events: none;
}

/* Contact page header — office shot of someone on the phone, shared
   across all 4 regional contact pages (data-page="contact"). */
body[data-page="contact"] .page-head {
  background: var(--navy);
}
body[data-page="contact"] .page-head::before {
  background: url('assets/hero/contact-call.jpg') center 30% / cover no-repeat;
  filter: grayscale(1) contrast(1.05);
  opacity: 1;
}
body[data-page="contact"] .page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 54, 86, 0.97) 0%, rgba(14, 54, 86, 0.88) 55%, rgba(14, 54, 86, 0.78) 100%),
    linear-gradient(180deg, rgba(14, 54, 86, 0.20) 0%, rgba(14, 54, 86, 0) 30%, rgba(14, 54, 86, 0) 70%, rgba(14, 54, 86, 0.30) 100%);
  pointer-events: none;
}

/* Privacy page header — padlock-on-keyboard shot, greyscaled. */
body[data-page="privacy"] .page-head {
  background: var(--navy);
}
body[data-page="privacy"] .page-head::before {
  background: url('assets/hero/privacy-lock.jpg') center 50% / cover no-repeat;
  filter: grayscale(1) contrast(1.05);
  opacity: 1;
}
body[data-page="privacy"] .page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 54, 86, 0.97) 0%, rgba(14, 54, 86, 0.88) 55%, rgba(14, 54, 86, 0.78) 100%),
    linear-gradient(180deg, rgba(14, 54, 86, 0.20) 0%, rgba(14, 54, 86, 0) 30%, rgba(14, 54, 86, 0) 70%, rgba(14, 54, 86, 0.30) 100%);
  pointer-events: none;
}

/* Terms page header — hand signing documents, greyscaled. */
body[data-page="terms"] .page-head {
  background: var(--navy);
}
body[data-page="terms"] .page-head::before {
  background: url('assets/hero/terms-signing.jpg') center 50% / cover no-repeat;
  filter: grayscale(1) contrast(1.05);
  opacity: 1;
}
body[data-page="terms"] .page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 54, 86, 0.97) 0%, rgba(14, 54, 86, 0.88) 55%, rgba(14, 54, 86, 0.78) 100%),
    linear-gradient(180deg, rgba(14, 54, 86, 0.20) 0%, rgba(14, 54, 86, 0) 30%, rgba(14, 54, 86, 0) 70%, rgba(14, 54, 86, 0.30) 100%);
  pointer-events: none;
}


/* ─────────────────────────────────────────────────────────
   Flag images (PNG) — fill any flag container cleanly.
   Containers: .entry__flag (96×64), .locale__flag (44×30),
   .region-pill__flag (18×12 → 22×14 in menu, 20×13 in hero/coverage tabs).
   Flags are 2:1; containers are ~3:2. object-fit:cover crops a touch off
   the sides so the flag fills the frame without letterboxing.
   ───────────────────────────────────────────────────────── */
.flag-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
