/*
 * contactconsumers.net
 *
 * Loaded after bootstrap.css, so these rules win at equal specificity.
 * Component classes are namespaced cc- where the name would collide
 * with a Bootstrap component (cc-btn, cc-card, cc-nav, cc-row,
 * cc-badge, cc-breadcrumb). The grid classes are Bootstrap's.
 *
 * Sections, in order:
 *   1. tokens
 *   2. base
 *   3. components
 *   4. header
 *   5. footer
 *   6. home
 *   7. inner
 */

/* ===== tokens ========================================================*/
/* ==========================================================================
   contactconsumers.net — design tokens

   Every colour, size, radius, shadow and timing in the site resolves to one of
   these. Change a value here and it changes everywhere.

   Loaded after bootstrap.css. The :root block also re-points a few Bootstrap
   variables (--bs-*) so Bootstrap's own grid and reboot inherit this system
   rather than fighting it.
   ========================================================================== */

:root {
  /* --- brand palette -----------------------------------------------------
     Cream and white carry the page. Blue is structural — header, footer and a
     single band — rather than a background for whole sections. Sky softens and
     highlights. Red is reserved for one primary action at a time. */

  --blue-900: #0a2e6b;
  --blue-800: #103b86;
  --blue: #1448a1; /* brand */
  --blue-600: #1a57c0;
  --blue-500: #2f6cd8;
  --blue-400: #5e8bd8;
  --blue-200: #c3d6f4;
  --blue-100: #e3edfb;
  --blue-050: #f2f7fe;

  --cream: #fff5eb; /* brand */
  --cream-200: #f8e9da;
  --cream-300: #eedcc8;

  --sky: #b2ecff; /* brand */
  --sky-400: #7fddfb;
  --sky-200: #d7f4ff;
  --sky-100: #eaf8ff;

  --red: #f00100; /* action — used sparingly */
  --red-600: #d20100;
  --red-100: #ffe8e7;

  --white: #ffffff;

  /* --- text --------------------------------------------------------------
     Paragraphs are black. Headings sit a touch deeper; muted text is a warm
     grey rather than a blue-grey, so body copy never reads as tinted. */

  --ink-900: #101216; /* headings */
  --ink: #15171a; /* paragraphs — "black" */
  --ink-600: #4a4f57; /* secondary */
  --ink-400: #2b2c2f; /* muted */
  --ink-200: #aeb3bb;

  /* --- semantic surfaces ------------------------------------------------- */

  --surface-page: var(--white);
  --surface-cream: var(--cream);
  --surface-raised: var(--white);
  --surface-sunken: #fbf2e8;
  --surface-tint: var(--sky-100);
  --surface-sky: var(--sky-200);
  --surface-panel: var(--white); /* what a gridbox cell paints itself */
  --surface-dark: var(--blue);
  --surface-darker: var(--blue-900);

  --text-strong: var(--ink-900);
  --text-body: var(--ink);
  --text-muted: var(--ink-400);
  --text-on-dark: var(--white);
  --text-on-dark-muted: rgba(255, 255, 255, 0.76);

  --border: rgba(16, 18, 22, 0.1);
  --border-strong: rgba(16, 18, 22, 0.2);
  --border-on-dark: rgba(255, 255, 255, 0.18);
  --border-on-dark-strong: rgba(255, 255, 255, 0.34);

  --focus-ring: 0 0 0 3px var(--white), 0 0 0 6px var(--blue-500);
  --focus-ring-dark: 0 0 0 3px var(--blue-900), 0 0 0 6px var(--sky);

  /* --- gradients ---------------------------------------------------------
     Four, deliberately. Everything else is a flat surface. */

  --grad-hero: linear-gradient(152deg, #0a2e6b 0%, #12408f 44%, #1a57c0 100%);
  --grad-sky: linear-gradient(140deg, var(--sky-100) 0%, var(--sky-200) 100%);
  --grad-cream: linear-gradient(140deg, #fffbf6 0%, var(--cream) 100%);
  --grad-red: linear-gradient(135deg, #f00100 0%, #d20100 100%);

  /* --- typography --------------------------------------------------------
     Sora, and nothing else. One family across headings, body and interface;
     weight and size carry the hierarchy. */

  --font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: var(--font);
  --font-body: var(--font);

  /* Fluid scale, 390px → 1440px viewport */
  --fs-display: clamp(2.25rem, 1.35rem + 3.3vw, 3.875rem); /*  36 → 62 */
  --fs-h1: clamp(2rem, 1.3rem + 2.9vw, 3.375rem); /*  32 → 54 */
  --fs-h2: clamp(1.625rem, 1.2rem + 1.9vw, 2.5rem); /*  26 → 40 */
  --fs-h3: clamp(1.25rem, 1.05rem + 0.9vw, 1.625rem); /*  20 → 26 */
  --fs-h4: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem); /*  17 → 20 */
  --fs-lede: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); /*  16 → 19 */
  --fs-body: 1rem; /*  16    */
  --fs-sm: 0.9375rem; /*  15    */
  --fs-xs: 0.8125rem; /*  13    */
  --fs-eyebrow: 0.75rem; /*  12    */
  --fs-2xs: 0.6875rem; /*  11    */
  --fs-stat: clamp(2.125rem, 1.4rem + 3vw, 3.5rem); /*  34 → 56 */
  --fs-icon: 1.25rem; /*  20    */

  /* Sora runs a little wide and tall; these keep it compact in headings. */
  --lh-display: 1.06;
  --lh-heading: 1.16;
  --lh-snug: 1.4;
  --lh-body: 1.7;

  --tracking-display: -0.035em;
  --tracking-heading: -0.022em;
  --tracking-eyebrow: 0.12em;

  --weight-body: 400;
  --weight-medium: 500;
  --weight-semi: 600;
  --weight-bold: 700;
  --weight-display: 600;

  /* --- space -------------------------------------------------------------
     4px base. Section rhythm is fluid so pages breathe on large screens. */

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --section-y: clamp(3.5rem, 2rem + 6.4vw, 7rem);
  --section-y-tight: clamp(2.5rem, 1.7rem + 3.6vw, 4.5rem);
  --section-y-loose: clamp(4.5rem, 2.4rem + 8vw, 9rem);

  --container: 1320px;
  --container-wide: 1320px;
  --container-narrow: 860px;
  --gutter: clamp(1rem, 0.6rem + 1.5vw, 2rem);
  --hero-gap: 20px; /* the hero sits this far from the viewport edge */

  /* --- radius ------------------------------------------------------------
     12px is the house radius: hero, cards, media and panels all share it, so
     nothing looks borrowed from another system. Pills are for actions only. */

  --r-xs: 8px;
  --r: 12px; /* the house radius */
  --r-sm: 12px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --r-pill: 999px;

  /* --- elevation --------------------------------------------------------- */

  --shadow-xs: 0 1px 2px rgba(16, 18, 22, 0.05);
  --shadow-sm:
    0 2px 4px rgba(16, 18, 22, 0.04), 0 4px 12px rgba(16, 18, 22, 0.05);
  --shadow-md:
    0 6px 16px rgba(16, 18, 22, 0.05), 0 14px 32px rgba(16, 18, 22, 0.07);
  --shadow-lg:
    0 12px 28px rgba(16, 18, 22, 0.07), 0 28px 64px rgba(16, 18, 22, 0.11);
  --shadow-dark: 0 18px 48px rgba(4, 16, 40, 0.42);
  --shadow-inset-line: inset 0 0 0 1px var(--border);

  /* --- motion ------------------------------------------------------------ */

  --t-fast: 150ms;
  --t: 260ms;
  --t-slow: 460ms;
  --t-marquee: 46s;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* --- layering ---------------------------------------------------------- */

  --z-hero: 1;
  --z-overlap: 2;
  --z-header: 100;
  --z-menu: 110;
  --z-drawer: 120;
  --z-dialog: 200;

  --header-h: 76px;
  --marquee-h: 40px;

  /* --- Bootstrap bridge --------------------------------------------------
     Bootstrap's reboot and grid read these, so pointing them at our tokens
     keeps its output inside this design system. */

  --bs-body-font-family: var(--font);
  --bs-body-font-size: var(--fs-body);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--surface-page);
  --bs-border-radius: var(--r);
  --bs-link-color: var(--blue);
  --bs-link-hover-color: var(--blue-800);
  --bs-gutter-x: var(--space-8);
}

@media (max-width: 860px) {
  :root {
    --header-h: 64px;
    --marquee-h: 36px;
  }
}

/* ===== base ==========================================================*/
/* ==========================================================================
   Base — reset, typography scale, layout primitives
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--space-6));
}

html {
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--weight-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-wrap: pretty;
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  line-height: var(--lh-heading);
  letter-spacing: var(--tracking-heading);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
}
h4 {
  font-size: var(--fs-h4);
}
h5,
h6 {
  font-size: var(--fs-body);
  font-family: var(--font-body);
  font-weight: var(--weight-semi);
}

p {
  margin: 0;
}
p + p {
  margin-top: var(--space-4);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: var(--space-8) 0;
}

::selection {
  background: var(--sky);
  color: var(--ink);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-xs);
}

.on-dark :focus-visible {
  box-shadow: var(--focus-ring-dark);
}

[hidden] {
  display: none !important;
}

/* --- layout primitives -------------------------------------------------- */

.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide {
  max-width: calc(var(--container-wide) + var(--gutter) * 2);
}
.container--narrow {
  max-width: calc(var(--container-narrow) + var(--gutter) * 2);
}
.container-fluid {
  max-width: none;
}

/* Bootstrap's .row/.col-* handle the grid. Our gutter is a touch wider than
   Bootstrap's default so columns breathe at col-lg sizes. */
.row {
  --bs-gutter-x: var(--space-8);
}
.row--gap-sm {
  --bs-gutter-x: var(--space-5);
}
.row--gap-lg {
  --bs-gutter-x: var(--space-12);
}

.section {
  position: relative;
  padding-block: var(--section-y);
  /* Sections are opaque by default: the hero pins behind them, and a
     transparent section would let it show through. Tone classes below
     override this. */
  background: var(--surface-page);
}
.section--tight {
  padding-block: var(--section-y-tight);
}
.section--loose {
  padding-block: var(--section-y-loose);
}
.section--flush-top {
  padding-top: 0;
}
.section--flush-bottom {
  padding-bottom: 0;
}

/* Section tones. Dark tones also flip text colours for everything inside. */
.section--cream {
  background: var(--surface-cream);
}
.section--raised {
  background: var(--surface-raised);
}
.section--sunken {
  background: var(--surface-sunken);
}
.section--tint {
  background: var(--surface-tint);
}

.section--dark,
.section--darker {
  background: var(--surface-dark);
  color: var(--text-on-dark-muted);
}
.section--darker {
  background: var(--surface-darker);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--darker h1,
.section--darker h2,
.section--darker h3,
.section--darker h4,
.on-dark h1,
.on-dark h2,
.on-dark h3,
.on-dark h4 {
  color: var(--text-on-dark);
}

/* `.on-dark` marks any block painted with its own dark background (a gradient
   band, a hero) so the same text rules apply as in a dark section tone. */
.on-dark {
  color: var(--text-on-dark-muted);
}

/* Rounded band: a tone block that lifts off the page. */
.section--band {
  border-radius: var(--r-2xl);
  margin-inline: var(--gutter);
  overflow: hidden;
}

/* --- section heading block ---------------------------------------------
   One structure for every section intro, so headings and ledes keep the
   same sizes and spacing across all 20 pages. */

.sec-head {
  margin-bottom: var(--space-12);
}

.sec-head--center {
  margin-bottom: var(--space-10);
}

.sec-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.sec-head--center {
  margin-inline: auto;
  text-align: center;
  align-items: center;
}
.sec-head--center .sec-head__lede {
  margin-inline: auto;
}
.sec-head--wide {
  max-width: none;
}

.sec-head__lede {
  max-width: 66ch;
  font-size: var(--fs-lede);
  line-height: var(--lh-body);
  color: var(--text-muted);
}
.section--dark .sec-head__lede,
.section--darker .sec-head__lede,
.on-dark .sec-head__lede {
  color: var(--text-on-dark-muted);
}

/* A head with copy left and an action or note on the right. Applied to a
   Bootstrap .row, so it only sets alignment and rhythm. */
.sec-head-row {
  align-items: flex-end;
  row-gap: var(--space-6);
  margin-bottom: var(--space-12);
}
.sec-head-row .sec-head {
  margin-bottom: 0;
}
.sec-head-row__aside {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
@media (min-width: 992px) {
  .sec-head-row__aside {
    justify-content: flex-end;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--blue);
}
.section--dark .eyebrow,
.section--darker .eyebrow,
.on-dark .eyebrow {
  color: var(--sky);
}

.display {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--tracking-display);
}

.lede {
  font-size: var(--fs-lede);
  line-height: var(--lh-body);
  color: var(--text-muted);
}

.text-sm {
  font-size: var(--fs-sm);
}
.text-xs {
  font-size: var(--fs-xs);
}
.muted {
  color: var(--text-muted);
}
.on-dark .muted,
.section--dark .muted,
.section--darker .muted {
  color: var(--text-on-dark-muted);
}
.accent {
  color: var(--red);
}
.stack {
  display: flex;
  flex-direction: column;
}
.stack-2 {
  gap: var(--space-2);
}
.stack-3 {
  gap: var(--space-3);
}
.stack-4 {
  gap: var(--space-4);
}
.stack-6 {
  gap: var(--space-6);
}
.stack-8 {
  gap: var(--space-8);
}
.cc-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.cc-row-tight {
  gap: var(--space-2);
}
.grid {
  display: grid;
  gap: var(--space-6);
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }
  .section--band {
    margin-inline: var(--space-4);
    border-radius: var(--r-xl);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Scroll reveals. The class is added by site.js only when motion is allowed,
   so content is visible by default for no-JS and reduced-motion visitors. */
.will-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 620ms var(--ease-out),
    transform 620ms var(--ease-out);
}
.will-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .will-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ===== components ====================================================*/
/* ==========================================================================
   Components — the shared vocabulary. Every page is built from these, so a
   change here is a change everywhere.
   ========================================================================== */

/* ======================================================================
   Buttons — four variants (solid, dark, light, outline) plus a text ghost.
   Same geometry, same motion, same focus treatment, everywhere on the site.
   ====================================================================== */

.cc-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: 0.875rem 1.625rem;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--weight-semi);
  line-height: 1.2;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    background-color var(--t) var(--ease),
    border-color var(--t) var(--ease),
    color var(--t) var(--ease),
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}

/* Hover is three things at once: the face lifts on a spring curve, a sheen
   sweeps across it, and a tint wipes up from the bottom. Pressing it settles
   the lift back down so the button feels physical. */
.cc-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    110deg,
    transparent 18%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 82%
  );
  transform: translateX(-130%);
  transition: transform 620ms var(--ease-out);
}
.cc-btn:hover::after,
.cc-btn:focus-visible::after {
  transform: translateX(130%);
}

.cc-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: currentColor;
  opacity: 0;
  transform: translateY(102%);
  transition:
    transform var(--t) var(--ease-out),
    opacity var(--t) var(--ease);
}
.cc-btn:hover::before,
.cc-btn:focus-visible::before {
  opacity: 0.1;
  transform: translateY(0);
}

.cc-btn {
  transition:
    transform var(--t) cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow var(--t) var(--ease),
    background-color var(--t) var(--ease),
    border-color var(--t) var(--ease),
    color var(--t) var(--ease);
}
.cc-btn:hover {
  transform: translateY(-2px);
}
.cc-btn:active {
  transform: translateY(0);
  transition-duration: var(--t-fast);
}

.cc-btn--solid:hover {
  box-shadow: 0 10px 24px rgba(240, 1, 0, 0.3);
}
.cc-btn--dark:hover {
  box-shadow: 0 10px 24px rgba(20, 72, 161, 0.3);
}
.cc-btn--light:hover {
  box-shadow: 0 10px 24px rgba(4, 16, 40, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .cc-btn:hover {
    transform: none;
  }
  .cc-btn::after {
    display: none;
  }
}

.cc-btn__icon {
  display: inline-flex;
  transition: transform var(--t) var(--ease-out);
}
.cc-btn:hover .cc-btn__icon {
  transform: translateX(4px);
}

.cc-btn:active {
  transform: translateY(1px) scale(0.99);
}
.cc-btn:disabled,
.cc-btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.cc-btn:disabled::after {
  display: none;
}

.cc-btn--solid {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(240, 1, 0, 0.22);
}
.cc-btn--solid:hover {
  background: var(--red-600);
  border-color: var(--red-600);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(240, 1, 0, 0.28);
}

.cc-btn--dark {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(20, 72, 161, 0.2);
}
.cc-btn--dark:hover {
  background: var(--blue-800);
  border-color: var(--blue-800);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 72, 161, 0.26);
}

.cc-btn--light {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.cc-btn--light:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cc-btn--outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-strong);
}
.cc-btn--outline:hover {
  background: var(--white);
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.on-dark .cc-btn--outline,
.section--dark .cc-btn--outline,
.section--darker .cc-btn--outline {
  border-color: var(--border-on-dark-strong);
  color: var(--white);
}
.on-dark .cc-btn--outline:hover,
.section--dark .cc-btn--outline:hover,
.section--darker .cc-btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
  box-shadow: none;
}

.cc-btn--ghost {
  padding-inline: 0;
  border-color: transparent;
  background: none;
  color: var(--text-strong);
}
.cc-btn--ghost::after {
  display: none;
}
.cc-btn--ghost:hover {
  color: var(--red);
  transform: none;
}
.on-dark .cc-btn--ghost,
.section--dark .cc-btn--ghost {
  color: var(--white);
}
.on-dark .cc-btn--ghost:hover,
.section--dark .cc-btn--ghost:hover {
  color: var(--sky);
}

.cc-btn--sm {
  padding: 0.625rem 1.125rem;
  font-size: var(--fs-sm);
  gap: var(--space-2);
}
.cc-btn--lg {
  padding: 1.0625rem 2.125rem;
  font-size: var(--fs-body);
}
.cc-btn--block {
  width: 100%;
}
.cc-btn--icon-only {
  padding: 0.75rem;
  aspect-ratio: 1;
}

/* ======================================================================
   Cards
   ====================================================================== */

.cc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-8);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
}

a.cc-card,
.cc-card--interactive {
  cursor: pointer;
}
a.cc-card:hover,
.cc-card--interactive:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.cc-card--flush {
  padding: 0;
  overflow: hidden;
}
.cc-card--tint {
  background: var(--sky-100);
  border-color: rgba(20, 72, 161, 0.1);
}
.cc-card--cream {
  background: var(--cream);
  border-color: var(--cream-300);
}
.cc-card--dark {
  background: var(--blue);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-on-dark-muted);
  box-shadow: var(--shadow-dark);
}
/* Everything inside a dark card flips, not just the title — otherwise muted
   body copy keeps its light-surface grey and becomes unreadable. */
.cc-card--dark .cc-card__title,
.cc-card--dark h2,
.cc-card--dark h3,
.cc-card--dark h4 {
  color: var(--white);
}
.cc-card--dark .cc-card__copy,
.cc-card--dark p,
.cc-card--dark li,
.cc-card--dark .muted {
  color: var(--text-on-dark-muted);
}
.cc-card--dark .cc-card__eyebrow {
  color: var(--sky);
}
.cc-card--dark a:not(.cc-btn) {
  color: var(--sky);
}
.cc-card--dark hr,
.cc-card--dark .cc-card__meta {
  border-color: var(--border-on-dark);
}
/* Outline card: no fill, just a rule. Used where a set of supporting points
   should sit quietly on the section surface rather than float above it. */
.cc-card--sky {
  background: transparent;
  border: 1px solid var(--border-strong);
  box-shadow: none;
}
.cc-card--sky .cc-card__num {
  color: var(--blue);
}
.cc-card--sky .cc-card__title {
  color: var(--text-strong);
}
.cc-card--sky .cc-card__copy {
  color: var(--text-body);
}
.cc-card--sky:hover {
  border-color: var(--blue);
  box-shadow: none;
}

.cc-card--pad-sm {
  padding: var(--space-6);
}
.cc-card--pad-lg {
  padding: var(--space-10);
}

.cc-card__eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
}
.cc-card__num {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--weight-display);
  color: var(--blue-400);
  line-height: 1;
}
.cc-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: var(--weight-display);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-heading);
  color: var(--text-strong);
}
.cc-card__copy {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
}
.cc-card__meta {
  margin-top: auto;
  padding-top: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.cc-card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--surface-sunken);
  aspect-ratio: 4 / 3;
}
.cc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
a.cc-card:hover .cc-card__media img,
.cc-card--interactive:hover .cc-card__media img {
  transform: scale(1.04);
}
.cc-card--flush .cc-card__media {
  border-radius: 0;
}
.cc-card--flush .cc-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

/* Arrow that appears on hover in the corner of a linked card. */
.cc-card__arrow {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: var(--blue-050);
  color: var(--blue);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition:
    opacity var(--t) var(--ease),
    transform var(--t) var(--ease);
}
a.cc-card:hover .cc-card__arrow,
.cc-card--interactive:hover .cc-card__arrow {
  opacity: 1;
  transform: none;
}

/* ======================================================================
   Chips, tags, badges, stats
   ====================================================================== */

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--white);
  font-size: var(--fs-xs);
  font-weight: var(--weight-medium);
  color: var(--text-body);
  white-space: nowrap;
}
.chip--tint {
  background: var(--sky-100);
  border-color: rgba(20, 72, 161, 0.12);
  color: var(--blue-900);
}
.chip--ghost {
  background: transparent;
}
.on-dark .chip,
.section--dark .chip,
.section--darker .chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-on-dark);
  color: var(--white);
}

.cc-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.375rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--red-100);
  color: var(--red-600);
  font-size: var(--fs-xs);
  font-weight: var(--weight-semi);
  letter-spacing: 0.02em;
}
.cc-badge--sky {
  background: var(--sky-100);
  color: var(--blue);
}

.stat__value {
  font-family: var(--font-display);
  font-size: var(--fs-stat);
  font-weight: var(--weight-display);
  line-height: 0.95;
  letter-spacing: var(--tracking-display);
  color: var(--blue);
}
.stat__label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.section--dark .stat__value,
.section--darker .stat__value,
.on-dark .stat__value {
  color: var(--sky);
}
.stat--accent .stat__value {
  color: var(--red);
}

/* ======================================================================
   Forms
   ====================================================================== */

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.field--full {
  grid-column: 1 / -1;
}

.label {
  font-size: var(--fs-xs);
  font-weight: var(--weight-semi);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  font-size: var(--fs-body);
  color: var(--text-strong);
  transition:
    border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}
.input::placeholder,
.textarea::placeholder {
  color: var(--ink-300);
}
.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--ink-300);
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-100);
}
.textarea {
  min-height: 7.5rem;
  resize: vertical;
  line-height: var(--lh-body);
}
.select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2364768D' stroke-width='1.75' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.75rem;
  cursor: pointer;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}
@media (max-width: 680px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.form-note {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ======================================================================
   Tabs
   ====================================================================== */

.tabs {
  display: inline-flex;
  gap: var(--space-1);
  padding: var(--space-1);
  background: rgba(11, 27, 51, 0.05);
  border-radius: var(--r-pill);
}
.tab {
  position: relative;
  padding: 0.625rem 1.25rem 0.75rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: var(--weight-semi);
  color: var(--text-muted);
  transition:
    background-color var(--t) var(--ease),
    color var(--t) var(--ease);
}

/* The bar under the active tab fills across the auto-advance interval. */
.tab__bar {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 0.3125rem;
  height: 2px;
  border-radius: 2px;
  background: rgba(16, 18, 22, 0.1);
  overflow: hidden;
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.tab[aria-selected="true"] .tab__bar {
  opacity: 1;
}
.tab__bar i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
}
.tab:hover {
  color: var(--text-strong);
}
.tab[aria-selected="true"] {
  background: var(--white);
  color: var(--text-strong);
  box-shadow: var(--shadow-xs);
}
.on-dark .tabs,
.section--dark .tabs {
  background: rgba(255, 255, 255, 0.1);
}
.on-dark .tab[aria-selected="true"],
.section--dark .tab[aria-selected="true"] {
  background: var(--white);
  color: var(--ink);
}

/* ======================================================================
   Accordion — used by FAQs and the mobile footer
   ====================================================================== */

.acc__item {
  border-bottom: 1px solid var(--border);
}
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-6) 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: var(--weight-display);
  letter-spacing: var(--tracking-heading);
  color: var(--text-strong);
  transition: color var(--t-fast) var(--ease);
}
.acc__btn:hover {
  color: var(--blue);
}
.acc__icon {
  position: relative;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: var(--r-pill);
  background: var(--blue-050);
  transition:
    background-color var(--t) var(--ease),
    transform var(--t) var(--ease);
}
.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  inset: 50% 0.5625rem auto;
  height: 1.5px;
  background: var(--blue);
  transform: translateY(-50%);
  transition:
    transform var(--t) var(--ease),
    opacity var(--t) var(--ease);
}
.acc__icon::after {
  transform: translateY(-50%) rotate(90deg);
}
.acc__btn[aria-expanded="true"] .acc__icon {
  background: var(--blue);
  transform: rotate(180deg);
}
.acc__btn[aria-expanded="true"] .acc__icon::before,
.acc__btn[aria-expanded="true"] .acc__icon::after {
  background: var(--white);
}
.acc__btn[aria-expanded="true"] .acc__icon::after {
  opacity: 0;
}

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-slow) var(--ease-out);
}
.acc__panel > div {
  overflow: hidden;
}
.acc__item.is-open .acc__panel {
  grid-template-rows: 1fr;
}
.acc__body {
  padding-bottom: var(--space-6);
  max-width: 68ch;
  color: var(--text-muted);
  line-height: var(--lh-body);
}

/* ======================================================================
   Marquee — announcement bar and client logos
   ====================================================================== */

.marquee {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}
.marquee__track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--space-10);
  padding-right: var(--space-10);
  min-width: 100%;
  animation: marquee var(--t-marquee) linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee--reverse .marquee__track {
  animation-direction: reverse;
}

@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-100%, 0, 0);
  }
}

/* ======================================================================
   Media panel — the rounded image frames used in heroes and features
   ====================================================================== */

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--surface-sunken);
  box-shadow: var(--shadow-lg);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--sm {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.media--ratio-4-3 {
  aspect-ratio: 4 / 3;
}
.media--ratio-3-4 {
  aspect-ratio: 3 / 4;
}
.media--ratio-16-9 {
  aspect-ratio: 16 / 9;
}

/* ======================================================================
   Misc
   ====================================================================== */

.cc-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  flex-wrap: wrap;
}
.cc-breadcrumb a:hover {
  color: var(--red);
}
/* The separator is a chevron SVG, sized here because it carries no class. */
.cc-breadcrumb__sep {
  display: inline-flex;
  align-items: center;
  color: var(--ink-200);
}
.cc-breadcrumb__sep svg {
  width: 0.875rem;
  height: 0.875rem;
}
.on-dark .cc-breadcrumb__sep,
.section--dark .cc-breadcrumb__sep {
  color: rgba(255, 255, 255, 0.45);
}

.divider {
  height: 1px;
  background: var(--border);
  border: 0;
}
.on-dark .divider,
.section--dark .divider {
  background: var(--border-on-dark);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--weight-semi);
  color: var(--blue);
}
.link-arrow span {
  transition: transform var(--t) var(--ease-out);
}
.link-arrow:hover {
  color: var(--red);
}
.link-arrow:hover span {
  transform: translateX(4px);
}

.image-placeholder {
  background: var(--surface-sunken);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-xl);
}

/* ======================================================================
   Layout modifiers — replace what would otherwise be inline styles
   ====================================================================== */
.cc-row--wide {
  gap: var(--space-8);
}
.cc-row--center {
  justify-content: center;
}
.cc-row--spaced {
  margin-top: var(--space-6);
}

.lede--invert {
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
}
.cc-card__eyebrow {
  margin-bottom: var(--space-3);
}

/* ======================================================================
   Light surfaces inside dark sections

   A white card sitting on a dark band inherits the section's on-dark text
   rules, which paints its own text white-on-white. `.on-light` restores the
   light-context colours. It is applied to the components that are always a
   light surface, so new instances inherit the fix automatically; add the
   class by hand to any one-off light panel placed on a dark background.
   ====================================================================== */
.on-dark .on-light,
.section--dark .on-light,
.section--darker .on-light,
.on-dark .spot-panel,
.on-dark .spot-list__item,
.on-dark .menu-panel,
.on-dark .hero__badge,
.section--dark .spot-panel,
.section--dark .menu-panel {
  color: var(--text-muted);
}

.on-dark .on-light h1,
.on-dark .on-light h2,
.on-dark .on-light h3,
.on-dark .on-light h4,
.section--dark .on-light h1,
.section--dark .on-light h2,
.section--dark .on-light h3,
.section--dark .on-light h4,
.on-dark .spot-panel h1,
.on-dark .spot-panel h2,
.on-dark .spot-panel h3,
.on-dark .spot-panel h4,
.on-dark .menu-panel h1,
.on-dark .menu-panel h2,
.on-dark .menu-panel h3,
.on-dark .menu-panel h4 {
  color: var(--text-strong);
}

.on-dark .on-light .chip,
.section--dark .on-light .chip,
.section--darker .on-light .chip,
.on-dark .spot-panel .chip,
.on-dark .menu-panel .chip {
  background: var(--white);
  border-color: var(--border);
  color: var(--text-strong);
}

.on-dark .on-light .cc-btn--outline,
.section--dark .on-light .cc-btn--outline,
.on-dark .spot-panel .cc-btn--outline,
.on-dark .menu-panel .cc-btn--outline {
  color: var(--blue);
  border-color: var(--border-strong);
  background: transparent;
}
.on-dark .on-light .cc-btn--outline:hover,
.section--dark .on-light .cc-btn--outline:hover,
.on-dark .spot-panel .cc-btn--outline:hover,
.on-dark .menu-panel .cc-btn--outline:hover {
  color: var(--blue-900);
  border-color: var(--blue);
  background: var(--sky-100);
}

.on-dark .on-light .cc-btn--ghost,
.section--dark .on-light .cc-btn--ghost,
.on-dark .spot-panel .cc-btn--ghost,
.on-dark .menu-panel .cc-btn--ghost {
  color: var(--blue);
}

.on-dark .on-light .eyebrow,
.section--dark .on-light .eyebrow,
.on-dark .spot-panel .eyebrow,
.on-dark .spot-panel .cc-card__eyebrow,
.on-dark .menu-panel .eyebrow {
  color: var(--blue);
}

.on-dark .on-light .muted,
.section--dark .on-light .muted,
.on-dark .spot-panel .muted,
.on-dark .menu-panel .muted {
  color: var(--text-muted);
}

/* ======================================================================
   Icons — one sizing rule for the inline SVG set, so every glyph in the
   site shares a weight and optical size.
   ====================================================================== */

.icon {
  flex: 0 0 auto;
  width: 1.125rem;
  height: 1.125rem;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--caret {
  width: 1rem;
  height: 1rem;
}
.icon--arrow {
  width: 1.125rem;
  height: 1.125rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: var(--weight-semi);
  color: var(--blue);
  transition:
    color var(--t-fast) var(--ease),
    gap var(--t) var(--ease-out);
}
.link-arrow .icon {
  transition: transform var(--t) var(--ease-out);
}
.link-arrow:hover {
  color: var(--blue-800);
  gap: var(--space-3);
}
.link-arrow:hover .icon {
  transform: translateX(2px);
}
.on-dark .link-arrow,
.section--dark .link-arrow {
  color: var(--sky);
}
.on-dark .link-arrow:hover,
.section--dark .link-arrow:hover {
  color: var(--white);
}

/* Ordinal numerals invert on dark cards and dark sections. */
.cc-card--dark .cc-card__num,
.on-dark .cc-card--dark .cc-card__num,
.section--dark .cc-card__num,
.section--darker .cc-card__num {
  color: var(--sky-400);
}

/* ======================================================================
   Hairline grid

   The shared primitive behind the redesigned home sections: cells divided
   by single rules rather than gaps and shadows. Built with a 1px gap and a
   border colour showing through, so every internal rule is exactly one
   pixel and no cell doubles up on its neighbour's edge.
   ====================================================================== */

.gridbox {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  overflow: hidden;
}
.gridbox > * {
  background: var(--surface-panel, var(--white));
  min-width: 0;
}

.gridbox--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gridbox--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gridbox--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .gridbox--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .gridbox--2,
  .gridbox--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.cell {
  padding: clamp(1.25rem, 0.9rem + 1.4vw, 2rem);
}

/* The label line at the top of a cell: name on the left, number on the right. */
.cell__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-eyebrow);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
}
.cell__label b {
  font-weight: var(--weight-semi);
  color: var(--blue-400);
}

/* A list whose rows are separated by rules, each marked with a small square. */
.rule-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}
.rule-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--blue-800);
}
.rule-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  background: #ecc81d;
}

/* Square icon button, used by the testimonial pager. */
.sq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  transition:
    background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}
.sq-btn:hover:not(:disabled) {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.sq-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.sq-btn .icon {
  width: 1rem;
  height: 1rem;
}

/* Section head with the heading left and the lede in a column to the right. */
.head-split {
  align-items: start;
  row-gap: var(--space-5);
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.5rem);
}
.head-split h2 {
  margin: 0;
  color: var(--blue);
}
.head-split__lede {
  margin: 0;
  font-size: var(--fs-lede);
  color: var(--blue-800);
}

/* ===== header ========================================================*/
/* ==========================================================================
   Header — announce ticker, bar, mega menu, dropdowns, drawer
   ========================================================================== */

/* Visible only when tabbed to. */
.skip-link {
  position: fixed;
  top: var(--space-3);
  left: var(--space-3);
  z-index: var(--z-dialog);
  padding: 0.625rem 1rem;
  border-radius: var(--r-xs);
  background: var(--white);
  color: var(--blue-900);
  font-size: var(--fs-sm);
  font-weight: var(--weight-semi);
  box-shadow: var(--shadow-md);
  transform: translateY(calc(-100% - var(--space-4)));
  transition: transform var(--t) var(--ease-out);
}
.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
}

/* --- announce ticker ------------------------------------------------------
   A thin blue-900 strip above the bar. The live dot pulses, the ticker runs,
   and the phone number sits at the end on desktop. */

.announce {
  height: var(--marquee-h);
  background: var(--blue-900);
  color: var(--text-on-dark-muted);
  font-size: var(--fs-xs);
  overflow: hidden;
}
.announce__inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  height: 100%;
}
.announce .marquee {
  flex: 1;
  min-width: 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 1.5rem,
    #000 calc(100% - 2.5rem),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 1.5rem,
    #000 calc(100% - 2.5rem),
    transparent 100%
  );
}
.announce .marquee__track {
  gap: var(--space-8);
  padding-right: var(--space-8);
}
.announce__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
/* A hairline rule separates ticker items — no bullet dots anywhere. */
.announce__item::before {
  content: "";
  width: 1px;
  height: 0.875rem;
  background: var(--border-on-dark-strong);
}

.announce__tel {
  flex: 0 0 auto;
  display: none;
  align-items: center;
  gap: var(--space-2);
  color: var(--white);
  font-weight: var(--weight-medium);
  letter-spacing: 0.01em;
  transition: color var(--t-fast) var(--ease);
}
.announce__tel .icon {
  width: 1rem;
  height: 1rem;
}
.announce__tel:hover {
  color: var(--sky);
}
@media (min-width: 992px) {
  .announce__tel {
    display: inline-flex;
  }
}

/* --- bar ------------------------------------------------------------------ */

.site-header__bar {
  position: relative;
  background: var(--white);
  transition:
    background var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
.site-header[data-stuck] .site-header__bar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow:
    0 1px 0 var(--border),
    0 10px 30px rgba(16, 18, 22, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  height: var(--header-h);
}

.site-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* --- brand ---------------------------------------------------------------- */

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  color: var(--text-strong);
}
.brand__logo {
  display: block;
  width: auto;
  height: clamp(2rem, 3.7rem + 0.9vw, 3.625rem);
  transition:
    transform var(--t) var(--ease-out),
    opacity var(--t-fast) var(--ease);
}
.brand:hover .brand__logo {
  transform: translateY(-1px);
  opacity: 0.88;
}

.drawer__top .brand__logo {
  height: 2.125rem;
}
.site-footer .brand__logo {
  height: 2.5rem;
}

/* --- nav ------------------------------------------------------------------ */

.cc-nav {
  flex: 1 1 auto;
  display: none;
  justify-content: center;
}
@media (min-width: 1100px) {
  .cc-nav {
    display: flex;
  }
}

.cc-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cc-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 0.875rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-600);
  font-family: var(--font);
  font-size: var(--fs-sm);
  font-weight: var(--weight-medium);
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease);
}
/* No pill and no underline: the label itself darkens to brand blue, and the
   chevron turns. That is the whole hover. */
.cc-nav__link:hover,
.cc-nav__link:focus-visible,
.cc-nav__link[aria-expanded="true"],
.cc-nav__link[aria-current="page"] {
  color: var(--blue);
}

.cc-nav__chev {
  width: 0.625rem;
  height: 0.4375rem;
  opacity: 0.65;
  transition:
    transform var(--t) var(--ease),
    opacity var(--t-fast) var(--ease);
}
.cc-nav__link[aria-expanded="true"] .cc-nav__chev {
  transform: rotate(180deg);
  opacity: 1;
}

/* --- menu panels ----------------------------------------------------------
   Both panels share the open/close transition: a short fade with a small rise,
   and the contents staggered behind it so the panel assembles rather than
   appearing all at once. */

.menu-panel {
  position: absolute;
  z-index: var(--z-menu);
  background: var(--white);
  border-radius: var(--r);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px var(--border-strong);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition:
    opacity var(--t) var(--ease),
    transform var(--t) var(--ease-out),
    visibility 0s linear var(--t);
}
.menu-panel[data-open] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.menu-panel--mega {
  left: 0;
  right: 0;
  top: calc(100% + 0.5rem);
  padding: var(--space-8) 0 var(--space-5);
  border-radius: var(--r-lg);
}
.menu-panel--drop {
  top: calc(100% + 0.5rem);
  min-width: 15rem;
  padding: var(--space-2);
}
/* Resources carries a single link, so the panel hugs it instead of leaving a
   wide empty box beside one word. */
#menu-resources {
  min-width: 11rem;
}

.mega__grid {
  align-items: flex-start;
}
.mega__col + .mega__col {
  position: relative;
}

.mega__kicker {
  margin: 0 0 var(--space-4);
  font-size: var(--fs-eyebrow);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* featured row: the one data category, given weight instead of a thin column */
.mega__feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--r);
  background: var(--grad-cream);
  box-shadow: inset 0 0 0 1px var(--border);
  color: var(--text-strong);
  transition:
    box-shadow var(--t) var(--ease),
    transform var(--t) var(--ease-out);
}
.mega__feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mega__feature b {
  font-size: var(--fs-h4);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-heading);
}
.mega__feature .mega__kicker {
  margin: 0;
}
.mega__feature .icon--arrow {
  flex: 0 0 auto;
  width: 1.375rem;
  height: 1.375rem;
  color: var(--blue);
  transition: transform var(--t) var(--ease-out);
}
.mega__feature:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(20, 72, 161, 0.28),
    var(--shadow-sm);
}
.mega__feature:hover .icon--arrow {
  transform: translateX(4px);
}

.mega__kicker--spaced {
  margin-top: var(--space-6);
}

/* middle column: popular lists in two columns of rows */
.mega__lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-1) var(--space-4);
}
.mega__list-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-xs);
  font-size: var(--fs-sm);
  color: var(--text-body);
  transition:
    background var(--t-fast) var(--ease),
    transform var(--t) var(--ease-out);
}
.mega__list-link b {
  font-weight: var(--weight-medium);
  color: var(--text-strong);
}
.mega__count {
  font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease);
}
.mega__list-link:hover {
  background: var(--cream);
  transform: translateX(3px);
}
.mega__list-link:hover .mega__count {
  color: var(--blue);
}

/* right column: promo */
.mega__promo {
  padding: var(--space-6);
  border-radius: var(--r);
  background: var(--grad-sky);
  box-shadow: inset 0 0 0 1px rgba(20, 72, 161, 0.1);
}
.mega__promo h3 {
  margin: var(--space-2) 0 var(--space-5);
  font-size: var(--fs-h4);
  line-height: var(--lh-snug);
}
.mega__stats {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-5);
}
.mega__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mega__stat b {
  font-size: 1.25rem;
  font-weight: var(--weight-semi);
  letter-spacing: -0.02em;
  color: var(--blue-800);
}
.mega__stat i {
  font-style: normal;
  font-size: var(--fs-2xs);
  color: var(--text-muted);
}

.mega__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}

/* compact dropdowns */
.menu-drop__inner {
  display: flex;
  flex-direction: column;
}
.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0.625rem 0.875rem;
  border-radius: var(--r-xs);
  font-size: var(--fs-sm);
  font-weight: var(--weight-medium);
  color: var(--text-strong);
  transition:
    background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.menu-item .icon--caret {
  width: 0.875rem;
  height: 0.875rem;
  opacity: 0;
  transform: translateX(-0.25rem);
  transition:
    opacity var(--t-fast) var(--ease),
    transform var(--t) var(--ease-out);
}
.menu-item:hover {
  background: var(--sky-100);
  color: var(--blue-800);
}
.menu-item:hover .icon--caret {
  opacity: 1;
  transform: translateX(0);
}

/* staggered assembly of panel contents */
.menu-panel [style-stagger],
.menu-panel .mega__col {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity var(--t) var(--ease),
    transform var(--t) var(--ease-out);
}
.menu-panel[data-open] [style-stagger],
.menu-panel[data-open] .mega__col {
  opacity: 1;
  transform: translateY(0);
}
.menu-panel[data-open] .mega__col:nth-child(1) {
  transition-delay: 40ms;
}
.menu-panel[data-open] .mega__col:nth-child(2) {
  transition-delay: 80ms;
}
.menu-panel[data-open] .mega__col:nth-child(3) {
  transition-delay: 120ms;
}
.menu-panel[data-open] [style-stagger="0"] {
  transition-delay: 60ms;
}
.menu-panel[data-open] [style-stagger="1"] {
  transition-delay: 90ms;
}
.menu-panel[data-open] [style-stagger="2"] {
  transition-delay: 120ms;
}
.menu-panel[data-open] [style-stagger="3"] {
  transition-delay: 150ms;
}
.menu-panel[data-open] [style-stagger="4"] {
  transition-delay: 175ms;
}
.menu-panel[data-open] [style-stagger="5"] {
  transition-delay: 195ms;
}
.menu-panel[data-open] [style-stagger="6"] {
  transition-delay: 210ms;
}
.menu-panel[data-open] [style-stagger="7"] {
  transition-delay: 225ms;
}

/* --- burger --------------------------------------------------------------- */

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xs);
  background: transparent;
  color: var(--text-strong);
  cursor: pointer;
  transition:
    background var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}
.burger:hover {
  background: var(--sky-100);
  border-color: var(--blue);
}
@media (min-width: 1100px) {
  .burger {
    display: none;
  }
}

.burger__box {
  display: grid;
  gap: 4px;
  width: 1.125rem;
}
.burger__box span {
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform var(--t) var(--ease-out),
    opacity var(--t-fast) var(--ease);
}
[data-drawer-open][aria-expanded="true"] .burger__box span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
[data-drawer-open][aria-expanded="true"] .burger__box span:nth-child(2) {
  opacity: 0;
}
[data-drawer-open][aria-expanded="true"] .burger__box span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* --- drawer --------------------------------------------------------------- */

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(23rem, 100%);
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform var(--t-slow) var(--ease-out),
    visibility 0s linear var(--t-slow);
}
.drawer[data-open] {
  transform: translateX(0);
  visibility: visible;
  transition-delay: 0s;
}

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--blue);
  color: var(--white);
}
.drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  transition:
    background var(--t-fast) var(--ease),
    transform var(--t) var(--ease-out);
}
.drawer__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4) var(--space-5) var(--space-8);
}
.drawer__links {
  display: flex;
  flex-direction: column;
  padding-bottom: var(--space-3);
}
.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0.5rem 0;
  font-size: var(--fs-sm);
  color: var(--text-body);
  transition:
    color var(--t-fast) var(--ease),
    transform var(--t) var(--ease-out);
}
.drawer__link span {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.drawer__link:hover {
  color: var(--blue);
  transform: translateX(3px);
}

.drawer__cta {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-drawer) - 1);
  background: rgba(10, 20, 40, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--t) var(--ease),
    visibility 0s linear var(--t);
}
.drawer-scrim[data-open] {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

/* ===== footer ========================================================*/
/* ==========================================================================
   Footer — one blue block. No bottom bar.
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: 40; /* above every pinned section */
  overflow: hidden;
  /* Purpose-made backdrop: a deep blue field with two soft blooms and a faint
     grid matching the hairline grids in the page. The gradient sits over it so
     the footer still reads correctly before the image loads, and so text keeps
     its contrast at every width. */
  background-color: var(--blue-900);
  background-image:
    linear-gradient(
      170deg,
      rgba(10, 46, 107, 0.86) 0%,
      rgba(7, 31, 76, 0.94) 100%
    ),
    url("../images/footer-bg.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  color: var(--text-on-dark-muted);
}

.site-footer__glow {
  position: absolute;
  top: -40%;
  left: 50%;
  width: 60rem;
  height: 40rem;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(20, 72, 161, 0.5) 0%,
    rgba(20, 72, 161, 0) 68%
  );
  pointer-events: none;
}

.site-footer__body {
  position: relative;
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) var(--space-10);
}

.site-footer__top {
  row-gap: var(--space-10);
}

@media (min-width: 992px) {
  .site-footer__brand {
    padding-block: var(--space-8);
  }
}

/* --- brand column --------------------------------------------------------- */

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.site-footer__tagline {
  max-width: 34ch;
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.64);
}

.site-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__contacts a {
  display: inline-block;
  font-size: var(--fs-h4);
  font-weight: var(--weight-semi);
  letter-spacing: -0.02em;
  color: var(--white);
  transition:
    color var(--t-fast) var(--ease),
    transform var(--t) var(--ease-out);
}
.site-footer__contacts a:hover {
  color: var(--sky);
  transform: translateX(3px);
}

.site-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* --- link columns --------------------------------------------------------- */

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8) 0;
}
@media (min-width: 768px) {
  .site-footer__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    height: 100%; /* stretch so all three boxes are the same depth */
  }
  /* Each column is a complete box. Adjacent borders are pulled onto each
     other so the shared edges stay a single hairline rather than doubling. */
  .foot-col {
    padding: var(--space-8) var(--space-6);
    border: 1px solid var(--border-on-dark);
  }
  .foot-col + .foot-col {
    margin-left: -1px;
  }
}

.foot-col__title {
  margin: 0;
}
.foot-col__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  font-family: var(--font);
  font-size: var(--fs-eyebrow);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  text-align: left;
  cursor: default;
}
.foot-col__icon {
  display: none;
}

.foot-col__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
}
.foot-col__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding-block: 0.3125rem;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.66);
  transition: color var(--t-fast) var(--ease);
}
/* a short sky rule draws in on hover, in place of an underline */
.foot-col__links a::before {
  content: "";
  width: 0;
  height: 1.5px;
  border-radius: 2px;
  background: var(--sky);
  transition: width var(--t) var(--ease-out);
}
.foot-col__links a:hover {
  color: var(--white);
}
.foot-col__links a:hover::before {
  width: 0.75rem;
}

/* --- meta row ------------------------------------------------------------- */

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  margin-top: clamp(2.5rem, 1.6rem + 3vw, 4rem);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-on-dark);
}

.site-footer__social {
  display: flex;
  gap: var(--space-2);
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.375rem;
  height: 2.375rem;
  border: 1px solid var(--border-on-dark);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.78);
  transition:
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease),
    transform var(--t) var(--ease-out);
}
.social-link:hover {
  color: var(--blue-900);
  background: var(--sky);
  border-color: var(--sky);
  transform: translateY(-3px);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__legal a {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--t-fast) var(--ease);
}
.site-footer__legal a:hover {
  color: var(--white);
}

/* --- wordmark -------------------------------------------------------------
   The wordmark sits across the base as a faint outline. A frosted lens tracks
   the pointer over it: a small circle that blurs and brightens whatever is
   behind it, so the letters it crosses lift out of the background rather than
   changing colour. Mild, and it needs the footer's own gradient underneath to
   have anything to work on. */

.site-footer__wordmark {
  position: relative;
  isolation: isolate;
  padding: 0 var(--gutter);
  margin-bottom: clamp(-1rem, -0.4rem - 1.6vw, -0.25rem);
  overflow: hidden;
  line-height: 0.82;
  user-select: none;
}

.site-footer__word {
  display: block;
  font-size: min(8.9vw, 8.25rem);
  text-align: center;
  font-weight: var(--weight-bold);
  letter-spacing: -0.045em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.065);
  transition: color var(--t-slow) var(--ease);
}
.site-footer[data-lit] .site-footer__word {
  color: rgba(255, 255, 255, 0.12);
}

.site-footer__lens {
  position: absolute;
  top: 0;
  left: 0;
  width: 17rem;
  height: 17rem;
  margin: -8.5rem 0 0 -8.5rem;
  border-radius: 50%;
  translate: var(--mx, 50%) var(--my, 50%);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(1.5px) brightness(1.28) saturate(1.1);
  -webkit-backdrop-filter: blur(1.5px) brightness(1.28) saturate(1.1);
  /* feathered, so the lens has no visible rim */
  -webkit-mask-image: radial-gradient(
    circle,
    #000 0%,
    rgba(0, 0, 0, 0.55) 46%,
    transparent 72%
  );
  mask-image: radial-gradient(
    circle,
    #000 0%,
    rgba(0, 0, 0, 0.55) 46%,
    transparent 72%
  );
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease);
  pointer-events: none;
}
.site-footer[data-lit] .site-footer__lens {
  opacity: 1;
}

@supports not (backdrop-filter: blur(3px)) {
  /* No backdrop-filter: fall back to a soft sky wash so the hover still reads */
  .site-footer__lens {
    background: radial-gradient(
      circle,
      rgba(178, 236, 255, 0.16) 0%,
      rgba(178, 236, 255, 0) 70%
    );
  }
}

/* --- mobile accordion ------------------------------------------------------ */

@media (max-width: 767.98px) {
  .site-footer__cols {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .foot-col {
    border-bottom: 1px solid var(--border-on-dark);
  }
  .foot-col:first-child {
    border-top: 1px solid var(--border-on-dark);
  }

  .foot-col__btn {
    padding-block: var(--space-4);
    cursor: pointer;
  }

  .foot-col__icon {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
  }
  .foot-col__icon::before,
  .foot-col__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.625rem;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition:
      transform var(--t) var(--ease-out),
      opacity var(--t-fast) var(--ease);
  }
  .foot-col__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }
  .foot-col__btn[aria-expanded="true"] .foot-col__icon::after {
    opacity: 0;
    transform: translate(-50%, -50%);
  }

  .foot-col__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--t-slow) var(--ease-out);
  }
  .foot-col__panel > div {
    overflow: hidden;
  }
  .foot-col.is-open .foot-col__panel {
    grid-template-rows: 1fr;
  }

  .foot-col__links {
    margin-top: 0;
    padding-bottom: var(--space-4);
  }

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

@media (prefers-reduced-motion: reduce) {
  .site-footer__wordmark span {
    transition: none;
  }
}

/* ===== home ==========================================================*/
/* ==========================================================================
   Home page
   ========================================================================== */

/* ======================================================================
   Hero — continues the blue of the header, then curves away into the cream
   page below.
   ====================================================================== */

/* --- hero -----------------------------------------------------------------
   The hero is one rounded block on the page surface, not a full-bleed band.
   It sticks under the header so the next section scrolls up over it. */

.hero {
  position: relative;
  z-index: var(--z-hero);
  padding-block: var(--hero-gap) var(--space-10);
}

/* Full width: the hero block sits --hero-gap (20px) from each viewport edge
   rather than inside the content container. */
.hero__wrap {
  width: 100%;
  padding-inline: var(--hero-gap);
}
/* Each homepage section rides up over the one before it: a rounded top edge,
   a shadow cast upward, and a small negative offset so it overlaps. The hero
   additionally pins (set by the script, which measures whether it fits), so
   the first section genuinely scrolls over it.

   Only the hero pins. A pinned section never releases, because its containing
   block is the whole page, so pinning them all would leave every section
   permanently covering the ones above it. */
@media (min-width: 992px) {
  .page-home main > section[data-pinned] {
    position: sticky;
  }
}

main > section {
  background: var(--surface-page);
}
main > section {
  position: relative;
  z-index: var(--z-overlap);
}

/* Later sections paint over earlier ones, so a pinned section is covered by
   whatever comes next rather than the other way round. */
.page-home main > section:nth-of-type(1) {
  z-index: 1;
}
.page-home main > section:nth-of-type(2) {
  z-index: 2;
}
.page-home main > section:nth-of-type(3) {
  z-index: 3;
}
.page-home main > section:nth-of-type(4) {
  z-index: 4;
}
.page-home main > section:nth-of-type(5) {
  z-index: 5;
}
.page-home main > section:nth-of-type(6) {
  z-index: 6;
}
.page-home main > section:nth-of-type(7) {
  z-index: 7;
}
.page-home main > section:nth-of-type(8) {
  z-index: 8;
}
.page-home main > section:nth-of-type(9) {
  z-index: 9;
}
.page-home main > section:nth-of-type(10) {
  z-index: 10;
}
.page-home main > section:nth-of-type(11) {
  z-index: 11;
}
.page-home main > section:nth-of-type(12) {
  z-index: 12;
}
.page-home main > section:nth-of-type(13) {
  z-index: 13;
}
.page-home main > section:nth-of-type(14) {
  z-index: 14;
}

@media (min-width: 992px) {
  .page-home main > .hero ~ section {
    margin-top: calc(var(--space-6) * -1);
    border-radius: var(--r) var(--r) 0 0;
    box-shadow: 0 -16px 36px rgba(16, 18, 22, 0.09);
  }
}

.hero__inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--grad-hero);
  --hero-pad: clamp(1.25rem, 0.6rem + 3vw, 4.5rem);
  padding: clamp(1.75rem, 1rem + 3vw, 4rem) var(--hero-pad) 0;
}
/* one soft sky bloom, top-right — the only decoration on the block */
.hero__inner::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(178, 236, 255, 0.22) 0%,
    rgba(178, 236, 255, 0) 62%
  );
  pointer-events: none;
}

.hero__grid {
  position: relative;
  row-gap: var(--space-10);
}

.hero__title {
  margin-bottom: var(--space-5);
  color: var(--white);
}
.hero__title em {
  font-style: normal;
  color: var(--sky);
}
.hero__title .dot {
  color: var(--red);
}

.hero__lede {
  max-width: 46ch;
  margin-bottom: var(--space-8);
  color: var(--text-on-dark-muted);
  font-size: var(--fs-lede);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6) var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-on-dark);
}
@media (min-width: 576px) {
  .hero__trust {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__trust-num {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: var(--weight-semi);
  letter-spacing: -0.03em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.hero__trust-label {
  font-size: var(--fs-2xs);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.62);
}

.hero__media-col {
  position: relative;
}
.hero__media {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(4, 16, 40, 0.38);
}
.hero__media img {
  width: 100%;
  aspect-ratio: 9 / 8;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform var(--t-slow) var(--ease-out);
}
/*.hero__media:hover img { transform: scale(1.06); }*/

/* A cut-out PNG is its own shape, so it gets no frame: the card radius, the
   drop shadow and the 9/8 crop would all box in something meant to float. The
   height is capped so a tall portrait cannot stretch the hero out of
   proportion, and width follows it. */
.hero__media--cutout {
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: none;
  display: flex;
  justify-content: center;
}
.hero__media--cutout img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(34rem, 68vh);
  aspect-ratio: auto;
  object-fit: contain;
  transform: none;
  filter: drop-shadow(0 26px 44px rgba(4, 16, 40, 0.42));
}
/*.hero__media--cutout:hover img { transform: translateY(-6px); }*/

@media (prefers-reduced-motion: reduce) {
  .hero__media--cutout:hover img {
    transform: none;
  }
}

.hero__badge {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0.75rem 1rem;
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.hero__badge-num {
  font-size: 1.25rem;
  font-weight: var(--weight-semi);
  letter-spacing: -0.02em;
  color: var(--blue-800);
}
.hero__badge-label {
  font-size: var(--fs-2xs);
  color: var(--text-muted);
}

/* --- client logos, inside the hero block ---------------------------------
   A light strip along the bottom edge of the block. The supplied logo files
   are JPEGs on white, so they are blended onto a light surface rather than
   knocked out to white — which keeps every mark legible. */

.hero__logos {
  position: relative;
  margin-top: clamp(1.75rem, 1rem + 2.4vw, 3rem);
  margin-inline: calc(-1 * var(--hero-pad));
  padding: var(--space-5) 0;
  background: var(--white);
}
.hero__logos .marquee {
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 4rem,
    #000 calc(100% - 4rem),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 4rem,
    #000 calc(100% - 4rem),
    transparent 100%
  );
}
.hero__logos .marquee__track {
  gap: clamp(2.5rem, 1rem + 4vw, 4.5rem);
  padding-right: clamp(2.5rem, 1rem + 4vw, 4.5rem);
}

.logo-item {
  flex: 0 0 auto;
  width: clamp(5.5rem, 7vw, 7.5rem);
  height: 2.25rem;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: grayscale(1);
  opacity: 0.62;
  transition:
    opacity var(--t) var(--ease),
    filter var(--t) var(--ease);
}
.logo-item:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* --- featured audiences ---------------------------------------------------
   The section that scrolls up over the hero. Its own surface and a 12px top
   edge, so the overlap reads as one sheet sliding over another. */

.section--over {
  background: var(--surface-page);
}

.aud-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
@media (min-width: 768px) {
  .aud-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .aud-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Nine tiles, no stray last row. The first one takes a double square on wide
   screens and the full width on narrow ones, so the eight that follow always
   close out a complete row. At three columns the nine already divide evenly,
   so the feature tile steps back to its normal size. */
.aud-tile--feature {
  grid-column: 1 / -1;
}
@media (min-width: 768px) {
  .aud-tile--feature {
    grid-column: auto;
  }
}
@media (min-width: 992px) {
  .aud-tile--feature {
    grid-column: span 2;
    grid-row: span 2;
  }
  .aud-tile--feature .aud-tile__media {
    height: 100%;
  }
  .aud-tile--feature .aud-tile__media img {
    aspect-ratio: auto;
    height: 100%;
  }
  .aud-tile--feature .aud-tile__count {
    font-size: var(--fs-h1);
  }
  .aud-tile--feature .aud-tile__name {
    font-size: var(--fs-base);
  }
}

/* The tile is a plain block so the scroll script owns its transform outright.
   Everything that moves on hover sits on __inner, which the script never
   touches, so the two never fight over the same property. */
.aud-tile {
  display: block;
  border-radius: var(--r);
  text-decoration: none;
  color: inherit;
}
/* Resting state applies only once the script has claimed the grid, so a page
   without JavaScript still shows every tile. */
.aud-tiles[data-animate] .aud-tile {
  opacity: 0;
}

.aud-tile__inner {
  position: relative;
  display: block;
  height: 100%;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--border);
  transition:
    transform var(--t) var(--ease-out),
    box-shadow var(--t) var(--ease);
}

/* Two transforms, two elements: the wrapper carries the hover zoom, the image
   carries the scroll parallax. */
.aud-tile__media {
  display: block;
  overflow: hidden;
  transform: scale(1);
  transition: transform var(--t-slow) var(--ease-out);
}
.aud-tile__media img {
  display: block;
  width: 100%;

  object-fit: cover;
  /* Oversized on purpose: the headroom is what the parallax travels through,
     so no edge is ever exposed. */
  transform: scale(1.14);
  will-change: transform;
}
@media (min-width: 768px) {
  /*  .aud-tile__media img { aspect-ratio: 3 / 2; }*/
}

.aud-tile__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 12, 18, 0.94) 0%,
    rgba(8, 12, 18, 0.8) 30%,
    rgba(8, 12, 18, 0.34) 58%,
    rgba(8, 12, 18, 0) 80%
  );
  transition: opacity var(--t) var(--ease);
}

.aud-tile__badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px -10px rgba(8, 12, 18, 0.8);
  opacity: 0;
  transform: translateY(-8px) scale(0.86);
  transition:
    opacity var(--t) var(--ease),
    transform var(--t) var(--ease-out);
}
.aud-tile__badge .icon {
  width: 16px;
  height: 16px;
}

.aud-tile__foot {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-4) var(--space-5) var(--space-5);
}
.aud-tile__name {
  font-size: var(--fs-sm);
  font-weight: var(--weight-medium);
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
}
.aud-tile__count {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
@media (min-width: 992px) {
  .aud-tile__count {
    font-size: var(--fs-h2);
  }
}

.aud-tile:hover .aud-tile__inner,
.aud-tile:focus-visible .aud-tile__inner {
  transform: translateY(-6px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 22px 44px -24px rgba(8, 12, 18, 0.65);
}
.aud-tile:hover .aud-tile__media,
.aud-tile:focus-visible .aud-tile__media {
  transform: scale(1.05);
}
.aud-tile:hover .aud-tile__badge,
.aud-tile:focus-visible .aud-tile__badge {
  opacity: 1;
  transform: none;
}
.aud-tile:hover .aud-tile__scrim {
  opacity: 0.9;
}

.aud-tile:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.spotlight {
  background: var(--surface-cream);
}
.spotlight__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: start;
}

.spot-list {
  max-height: 32rem;
  overflow-y: auto;
  padding-right: var(--space-2);
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 18, 22, 0.2) transparent;
}
.spot-list__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--r-sm);
  color: var(--ink-600);
  text-align: left;
  transition:
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.spot-list__item:hover {
  background: rgba(16, 18, 22, 0.04);
  color: var(--text-strong);
}
.spot-list__item[aria-selected="true"] {
  background: var(--white);
  color: var(--text-strong);
  box-shadow:
    var(--shadow-sm),
    inset 0 0 0 1px var(--border);
}
.spot-list__num {
  font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
  color: var(--ink-400);
  width: 1.5rem;
  flex: 0 0 auto;
}
.spot-list__item[aria-selected="true"] .spot-list__num {
  color: var(--red);
  font-weight: var(--weight-bold);
}
.spot-list__name {
  flex: 1;
  font-size: var(--fs-sm);
  font-weight: var(--weight-medium);
  line-height: 1.3;
}
.spot-list__count {
  font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
}

.spot-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--white);
  border-radius: var(--r);
  box-shadow:
    var(--shadow-md),
    inset 0 0 0 1px var(--border);
  color: var(--text-body);
  min-height: 26rem;
}
.spot-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}
.spot-panel__counter {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.spot-panel__nav {
  display: flex;
  gap: var(--space-2);
}
.spot-nav-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  color: var(--text-strong);
  transition:
    background-color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.spot-nav-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.spot-panel__title {
  font-size: var(--fs-h3);
}
.spot-panel .stat__value {
  color: var(--blue);
}
.spot-panel .stat__label {
  color: var(--text-muted);
}
.spot-panel__copy {
  color: var(--text-muted);
  max-width: 54ch;
}
.spot-panel__selects {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.spot-panel__foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.spot-panel__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ======================================================================
   Channels — tabbed email / postal panels
   ====================================================================== */

/* --- what you can buy -----------------------------------------------------
   Bordered tab cells sitting directly on one panel, as in the reference.
   The active cell's top rule is also the timer for the autoplay. */

.channels-sec {
  background: var(--surface-tint);
}
.channels-sec .sec-head h2 {
  color: var(--blue);
}

.chan {
  --surface-panel: var(--white);
  border: 1px solid var(--border);
  background: var(--white);
}

.chan__tabs {
  border: 0;
  border-bottom: 1px solid var(--border);
  background: var(--border);
}

.chan__tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  padding-block: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
  border: 0;
  background: var(--surface-tint);
  font-family: var(--font);
  text-align: left;
  cursor: pointer;
  transition: background var(--t) var(--ease);
}
.chan__tab:hover {
  background: var(--sky-200);
}
.chan__tab[aria-selected="true"] {
  background: var(--white);
}

/* top rule: grey when idle, filling blue while this cell is the active one */
.chan__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  overflow: hidden;
}
.chan__tab[aria-selected="true"] .chan__bar {
  background: var(--blue-100);
}
.chan__bar i {
  display: block;
  height: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
}
/* with motion off there is no timer, so show the active rule outright */
@media (prefers-reduced-motion: reduce) {
  .chan__tab[aria-selected="true"] .chan__bar {
    background: var(--blue);
  }
}

.chan__n {
  font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease);
}
.chan__label {
  font-size: var(--fs-h4);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-heading);
  color: var(--ink-600);
  transition: color var(--t-fast) var(--ease);
}
.chan__tab[aria-selected="true"] .chan__n,
.chan__tab[aria-selected="true"] .chan__label {
  color: var(--blue);
}

.chan__panel {
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.chan__row {
  align-items: center;
  row-gap: var(--space-8);
}

.chan__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}
.chan__body h3 {
  margin: 0;
  font-size: var(--fs-h2);
  color: var(--blue);
}
.chan__body p {
  margin: 0;
  max-width: 46ch;
}
.chan__body .rule-list {
  width: 100%;
}

.chan__media img {
  width: 100%;
  /*  aspect-ratio: 4 / 3;*/
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .chan__tabs {
    grid-template-columns: minmax(0, 1fr);
  }
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4.5rem);
  align-items: center;
}
.feature--reverse .feature__media {
  order: -1;
}
.feature__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 46ch;
}
.feature__num {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  color: var(--blue-400);
  line-height: 1;
}
.feature__media {
  position: relative;
}
.feature__media .media {
  aspect-ratio: 4 / 3;
}
.feature__media::after {
  content: "";
  position: absolute;
  inset: auto -6% -8% 10%;
  height: 60%;
  background: radial-gradient(
    closest-side,
    rgba(20, 72, 161, 0.18),
    transparent
  );
  z-index: -1;
}

/* ======================================================================
   Quotes
   ====================================================================== */

/* --- testimonials ---------------------------------------------------------
   Label left, pager right, one large quote, the person under a rule. */

.quotes {
  background: var(--surface-sunken);
}

.quotes__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 4rem);
}
.quotes__head .eyebrow {
  margin: 0;
}

.quotes__pager {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.quotes__counter {
  margin: 0;
  font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}
.sq-btn--filled {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.sq-btn--filled:hover:not(:disabled) {
  background: var(--blue-800);
  border-color: var(--blue-800);
}

.quotes__stage {
  position: relative;
}

.quote {
  margin: 0;
}
.quote__text {
  margin: 0 0 clamp(2.5rem, 1.8rem + 2.6vw, 4.5rem);
  max-width: 24ch;
  font-size: clamp(1.625rem, 1.1rem + 2.4vw, 3rem);
  font-weight: var(--weight-semi);
  line-height: 1.22;
  letter-spacing: var(--tracking-heading);
  color: var(--blue);
  text-wrap: balance;
}
@media (min-width: 768px) {
  .quote__text {
    max-width: 30ch;
  }
}

.quote__person {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-strong);
  max-width: 38rem;
}
.quote__photo {
  flex: 0 0 auto;
  width: 3.5rem;
  height: 3.5rem;
  object-fit: cover;
}
.quote__photo--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-100);
  color: var(--blue-800);
  font-size: var(--fs-sm);
  font-weight: var(--weight-semi);
}
.quote__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quote__name {
  font-weight: var(--weight-semi);
  color: var(--blue);
  font-size: var(--fs-sm);
}
.quote__role {
  font-size: var(--fs-xs);
  color: var(--blue-800);
}
.quote__result {
  margin-top: var(--space-1);
  font-size: var(--fs-xs);
  font-weight: var(--weight-semi);
  color: var(--blue);
}

.integrations__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: var(--space-4);
}
.integration {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.integration:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}
.integration__logo {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.625rem;
  border-radius: var(--r-sm);
  background-color: var(--blue-050);
  object-fit: contain;
}
.integration__name {
  font-weight: var(--weight-semi);
  color: var(--text-strong);
  font-size: var(--fs-sm);
}
.integration__type {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ======================================================================
   Closing call to action
   ====================================================================== */

/* --- closing CTA ----------------------------------------------------------
   A rounded blue panel on the page surface, matching the hero: same radius,
   same single sky bloom. Copy left, actions right. */

/*.cta-band { padding-block: var(--section-y-tight) var(--section-y); }*/
.cta-band {
  position: relative;
  padding-block: 0;
}
/*.cta-band__inner {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 1.2rem + 3.4vw, 4rem) clamp(1.5rem, 0.8rem + 2.6vw, 3.5rem);
  border-radius: var(--r);
  background: var(--grad-hero);
  box-shadow: var(--shadow-dark);
}*/
.cta-band__inner {
  position: relative;
  overflow: visible; /* was hidden; this is what lets the photo bleed out */
  padding: clamp(2rem, 1.2rem + 3.4vw, 4rem)
    clamp(1.5rem, 0.8rem + 2.6vw, 3.5rem);
  border-radius: 0; /* was var(--r) */
  background: none; /* was var(--grad-hero) */
  box-shadow: none; /* was var(--shadow-dark) */
}

.cta-band__glow {
  display: none;
}

/* breaks out of the container to the full browser width */
.cta-band__media {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 0;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  pointer-events: none;
}
.cta-band__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 20%;
}
.cta-band__media::after {
  content: none;
}
/*.cta-band__glow {
  position: absolute;
  top: -45%; right: -8%;
  width: 36rem; height: 36rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(178, 236, 255, 0.24) 0%, rgba(178, 236, 255, 0) 64%);
  pointer-events: none;
}*/
.cta-band__row {
  position: relative;
  row-gap: var(--space-8);
}

.cta-band__copy {
  text-align: left;
}

.cta-band__title {
  margin: 0;
  /* the markup already breaks after "customers"; this just stops the panel
     from forcing a second, unwanted break before it */
  max-width: 26ch;
  color: var(--white);
  font-size: var(--fs-h1);
}
.cta-band__title em {
  font-style: normal;
  color: var(--sky);
}

.cta-band__lede {
  margin: var(--space-4) 0 0;
  max-width: 56ch;
  color: var(--text-on-dark-muted);
  font-size: var(--fs-lede);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

/* The photograph is the band's backdrop: it covers the whole panel at every
   width, with a tint over it so it reads as part of the brand rather than a
   photo someone dropped in. The copy then sits on its own blue panel, which is
   what keeps the heading legible wherever the picture happens to be light. */
/*.cta-band__media {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  pointer-events: none;
}
.cta-band__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 78% 22%;
}
.cta-band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(8, 26, 64, 0.72) 0%,
    rgba(10, 38, 94, 0.52) 48%,
    rgba(12, 48, 112, 0.34) 100%);
}*/

.cta-band__row {
  position: relative;
  z-index: 1;
}

.cta-band__copy {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  border-radius: var(--r);
  background: linear-gradient(
    135deg,
    rgba(9, 34, 86, 0.94) 0%,
    rgba(20, 72, 161, 0.88) 100%
  );
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 22px 46px -26px rgba(4, 16, 40, 0.75);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

@media (min-width: 992px) {
  .cta-band__inner {
    min-height: 24rem;
  }
}

/* --- holiday promo dialog ------------------------------------------------
   The original shipped this copy in a popup, so it is a popup again: shown
   once per session, a beat after load, over a dimmed page. */

.promo {
  position: fixed;
  inset: 0;
  z-index: var(--z-dialog);
  display: grid;
  place-items: center;
  padding: var(--space-5);
}
.promo[hidden] {
  display: none;
}

.promo__scrim {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 44, 0.62);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.promo[data-open] .promo__scrim {
  opacity: 1;
}

.promo__dialog {
  position: relative;
  width: min(30rem, 100%);
  max-height: calc(100dvh - var(--space-10));
  overflow-y: auto;
  border-radius: var(--r);
  background: var(--grad-hero);
  box-shadow: var(--shadow-dark);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition:
    opacity var(--t) var(--ease),
    transform var(--t-slow) var(--ease-out);
}
.promo[data-open] .promo__dialog {
  opacity: 1;
  transform: none;
}

.promo__glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(178, 236, 255, 0.22) 0%,
    rgba(178, 236, 255, 0) 65%
  );
  pointer-events: none;
}

.promo__close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  transition:
    background var(--t-fast) var(--ease),
    transform var(--t) var(--ease-out);
}
.promo__close:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: rotate(90deg);
}

.promo__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
}

.promo__title {
  margin: 0;
  font-size: var(--fs-h3);
  color: var(--white);
}
.promo__title em {
  font-style: normal;
  color: var(--sky);
}

.promo__body {
  margin: 0;
  color: var(--text-on-dark-muted);
  font-size: var(--fs-sm);
}

.promo__lists {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: 100%;
  margin: var(--space-1) 0 var(--space-2);
  padding: 0;
  list-style: none;
}
.promo__lists a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px var(--border-on-dark);
  color: var(--white);
  font-size: var(--fs-sm);
  transition:
    background var(--t-fast) var(--ease),
    transform var(--t) var(--ease-out);
}
.promo__lists b {
  font-variant-numeric: tabular-nums;
  font-weight: var(--weight-semi);
  color: var(--sky);
}
.promo__lists a:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .promo__dialog,
  .promo__scrim {
    transition: none;
  }
}

/* --- data append record card --------------------------------------------- */

.record-card {
  position: absolute;
  right: calc(var(--space-6) * -1);
  bottom: calc(var(--space-6) * -1);
  width: min(21rem, 90%);
  padding: var(--space-5);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm);
}
.record-card__head {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
}
.record-card__row {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) auto;
  gap: var(--space-3);
  align-items: baseline;
  padding: var(--space-2) 0;
}
.record-card__k {
  color: var(--text-muted);
  font-size: var(--fs-xs);
}
.record-card__v {
  color: var(--text-strong);
  font-size: var(--fs-xs);
  overflow-wrap: anywhere;
}
.record-card__tag {
  font-size: var(--fs-2xs);
  font-weight: var(--weight-semi);
  color: var(--blue);
  background: var(--sky-100);
  padding: 0.125rem 0.5rem;
  border-radius: var(--r-pill);
}
@media (max-width: 1024px) {
  .record-card {
    position: static;
    width: 100%;
    margin-top: var(--space-5);
    backdrop-filter: none;
  }
}

/* --- stats row ------------------------------------------------------------
   The four headline numbers in bordered cells, on their own rather than
   crowded into the hero. */

.stats-row {
  background: var(--surface-sunken);
}
.stats-row .gridbox {
  background: var(--border);
  border-color: var(--border);
}

.stat-cell {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-block: clamp(1.75rem, 1.2rem + 2vw, 3rem);
}
.stat-cell__num {
  margin: 0;
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #ecc81d;
  font-variant-numeric: tabular-nums;
}
.stat-cell__label {
  margin: 0;
  font-size: var(--fs-eyebrow);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--text-muted);
}

/* --- data services --------------------------------------------------------
   Heading left, lede right, then a bordered pair. The service sits on white
   with its points as bordered cells; the imagery sits on a sky panel. */

.data-sec {
  background: var(--white);
}
.data-sec .eyebrow {
  margin-bottom: var(--space-3);
}

.data-box {
  --surface-panel: var(--white);
}
.data-box__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}
.data-box__main .cell__label {
  width: 100%;
}

.data-box__title {
  margin: 0;
  font-size: var(--fs-h2);
  color: var(--blue);
  max-width: 14ch;
}
.data-box__copy {
  margin: 0;
  max-width: 46ch;
}

.data-box__points {
  width: 100%;
  background: var(--border);
}
.data-point {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
}
.data-point__n {
  font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
  font-weight: var(--weight-semi);
  color: var(--blue-400);
}
.data-point__text {
  font-size: var(--fs-sm);
  font-weight: var(--weight-medium);
  color: var(--blue-800);
}
.data-box__cta {
  margin-top: auto;
}

.data-box__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-5);
  background: var(--surface-tint);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.data-box__shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.data-box__aside .record-card {
  position: static;
  width: 100%;
  margin: 0;
  border-radius: 0;
  background: var(--white);
  backdrop-filter: none;
  box-shadow: none;
  border: 1px solid var(--border);
}
.data-point--empty {
  background: var(--white);
}

/* With motion turned down the cards are simply present, and the photographs
   do not drift. */
@media (prefers-reduced-motion: reduce) {
  .aud-tiles[data-animate] .aud-tile {
    opacity: 1;
  }
  .aud-tile__inner,
  .aud-tile__media,
  .aud-tile__badge {
    transition: none;
  }
  .aud-tile__media img {
    transform: scale(1.02);
  }
}

/* ===== inner =========================================================*/
/* ==========================================================================
   Inner pages — shared layouts for audience, article, listing and form pages
   ========================================================================== */

/* ======================================================================
   Page hero
   ====================================================================== */

.page-hero {
  position: relative;
  background:
    radial-gradient(60rem 28rem at 85% -10%, var(--sky-100), transparent 70%),
    var(--surface-page);
  padding-top: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.page-hero .cc-breadcrumb {
  margin-bottom: var(--space-8);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.page-hero__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 70ch;
}
.page-hero__title {
  font-size: var(--fs-h1);
}
.page-hero__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}
.page-hero__media .media {
  box-shadow: var(--shadow-lg);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}
.stat-row__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.stat-row__num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--blue);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-row__label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  max-width: 22ch;
}

/* ======================================================================
   Two-column split: heading left, copy right
   ====================================================================== */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.split__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 62ch;
}

/* ======================================================================
   Segment picker
   ====================================================================== */

.segments__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: start;
}

.seg-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.seg-list__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--text-body);
  text-align: left;
  transition:
    border-color var(--t) var(--ease),
    background-color var(--t) var(--ease),
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
.seg-list__item:hover {
  transform: translateX(3px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-sm);
}
.seg-list__item[aria-selected="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.seg-list__num {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.seg-list__item[aria-selected="true"] .seg-list__num {
  color: var(--sky);
}
.seg-list__name {
  flex: 1;
  font-weight: var(--weight-medium);
}
.seg-list__arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity var(--t) var(--ease),
    transform var(--t) var(--ease);
}
.seg-list__item[aria-selected="true"] .seg-list__arrow,
.seg-list__item:hover .seg-list__arrow {
  opacity: 1;
  transform: none;
}

.seg-select {
  display: none;
}

.seg-panel {
  gap: var(--space-5);
  min-height: 22rem;
}
.seg-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.seg-panel__foot {
  margin-top: auto;
  padding-top: var(--space-4);
}

/* ======================================================================
   Request block
   ====================================================================== */

.request__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}
.request__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 44ch;
}

.contact-cards {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-5) var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--cream);
  transition:
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
.contact-card:hover {
  border-color: var(--blue-200);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.contact-card__label {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-card__value {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  color: var(--text-strong);
}
.contact-card__arrow {
  position: absolute;
  right: var(--space-6);
  top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  transition: transform var(--t) var(--ease-out);
}
.contact-card:hover .contact-card__arrow {
  transform: translate(4px, -50%);
}

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.form-sent {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-4) 0;
}
.form-sent__tick {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-pill);
  background: var(--sky-100);
  color: var(--blue);
  font-size: var(--fs-icon);
}

/* ======================================================================
   Related links
   ====================================================================== */

.related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: var(--space-3);
}
.related__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-weight: var(--weight-medium);
  color: var(--text-strong);
  transition:
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
.related__item span {
  color: var(--red);
  transition: transform var(--t) var(--ease-out);
}
.related__item:hover {
  border-color: var(--blue-200);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.related__item:hover span {
  transform: translateX(4px);
}

/* ======================================================================
   Responsive
   ====================================================================== */

@media (max-width: 1024px) {
  .page-hero__grid,
  .split,
  .segments__grid,
  .request__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .seg-list {
    display: none;
  }
  .seg-select {
    display: block;
  }
  .seg-panel {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .stat-row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }
  .page-hero__actions .cc-btn {
    width: 100%;
  }
}

/* --- hero variants ------------------------------------------------------ */
.page-hero__single {
  display: block;
}
.page-hero__body--center {
  max-width: 81ch;
}

/* --- numbered steps ----------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--space-6);
  counter-reset: step;
}
.step {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.step__num {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: var(--weight-display);
  color: var(--red);
  line-height: 1.2;
}
.step__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.step__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  color: var(--text-strong);
  line-height: 1.25;
}
.step__copy {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-body);
}
.section--cream .step {
  background: var(--white);
}
.section--raised .step {
  background: var(--cream);
  border-color: var(--cream-300);
}

/* ======================================================================
   Article
   ====================================================================== */

.article__meta {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

.article__grid {
  display: grid;
  grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 1.6vw, 2.75rem);
  align-items: start;
}

.article__aside {
  position: sticky;
  top: calc(var(--header-h) + var(--space-6));
}
.toc {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--cream);
  border: 1px solid var(--cream-300);
  border-radius: var(--r-lg);
}
.toc__title {
  font-size: var(--fs-eyebrow);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
}
.toc__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.toc__link {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  margin-inline: calc(var(--space-3) * -1);
  border-radius: var(--r-xs);
  font-size: var(--fs-sm);
  color: var(--text-body);
  transition:
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.toc__link:hover {
  background: var(--white);
  color: var(--blue);
}
.toc__link.is-current {
  background: var(--white);
  color: var(--blue);
  font-weight: var(--weight-semi);
}
.toc__num {
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

.article__section + .article__section {
  margin-top: var(--space-16);
}
.article__section h2 {
  margin-bottom: var(--space-5);
  scroll-margin-top: calc(var(--header-h) + var(--space-8));
}

.prose {
  max-width: 84ch;
}
.prose p {
  margin-bottom: var(--space-4);
  color: var(--text-body);
  line-height: var(--lh-body);
}
.prose h3 {
  margin: var(--space-8) 0 var(--space-3);
}
.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover {
  color: var(--red);
}
.prose ul,
.prose ol {
  margin: var(--space-4) 0;
  padding-left: var(--space-5);
}
.prose li {
  margin-bottom: var(--space-2);
}
.prose mark {
  background: var(--sky-100);
  color: inherit;
  padding: 0 0.15em;
  border-radius: 3px;
}

.article__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--space-4);
  margin: var(--space-6) 0;
}
.article__cards .cc-card__meta {
  font-size: var(--fs-xs);
}

.kv-table {
  margin: var(--space-6) 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
}
.kv-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  font-size: var(--fs-sm);
}
.kv-row + .kv-row {
  border-top: 1px solid var(--border);
}
.kv-row:nth-child(odd) {
  background: var(--blue-050);
}
.kv-row__k {
  font-weight: var(--weight-semi);
  color: var(--text-strong);
}
.kv-row__v {
  color: var(--text-muted);
}
.kv-table--3 .kv-row {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr);
}
.kv-row--head {
  background: var(--blue) !important;
  color: var(--white);
  font-weight: var(--weight-semi);
}
.kv-row--head .kv-row__k {
  color: var(--white);
}

.bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}
.bar {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--fs-sm);
}
.bar__label {
  color: var(--text-body);
}
.bar__track {
  height: 0.625rem;
  border-radius: var(--r-pill);
  background: var(--blue-100);
  overflow: hidden;
}
.bar__fill {
  display: block;
  height: 100%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--blue), var(--blue-500));
}
.bar__value {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1024px) {
  .article__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .article__aside {
    position: static;
  }
  .toc {
    flex-direction: column;
  }
}
@media (max-width: 680px) {
  .kv-row,
  .kv-table--3 .kv-row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-1);
  }
  .bar {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .bar__track {
    grid-column: 1 / -1;
  }
}

/* --- blog index --------------------------------------------------------- */
.blog__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}
.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: var(--space-6);
}
.post {
  color: inherit;
}
.post__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.post .cc-card__title {
  font-size: var(--fs-h3);
}

/* ======================================================================
   Segment browser
   ====================================================================== */

.browser__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}
.browser__search {
  position: relative;
  flex: 1 1 22rem;
  max-width: 30rem;
}
.browser__search .input {
  padding-left: 2.875rem;
  border-radius: var(--r-pill);
}
.browser__search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 1.125rem;
  height: 1.125rem;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.browser__sort {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.browser__cats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.cat-chip {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--white);
  font-size: var(--fs-sm);
  color: var(--text-body);
  transition:
    background-color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}
.cat-chip:hover {
  border-color: var(--blue-200);
  transform: translateY(-1px);
}
.cat-chip[aria-selected="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.browser__count {
  margin-bottom: var(--space-5);
}

.browser__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  gap: var(--space-5);
}
.seg-card {
  color: inherit;
  gap: var(--space-3);
}
.seg-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.seg-card__count {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
}
.seg-card .cc-card__title {
  font-size: var(--fs-h4);
}
.seg-card .cc-card__meta {
  font-size: var(--fs-xs);
}

.browser__empty {
  align-items: flex-start;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.browser__more {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  justify-content: center;
  margin-top: var(--space-10);
}
[data-over] {
  display: none !important;
}

@media (max-width: 680px) {
  .browser__bar {
    flex-direction: column;
    align-items: stretch;
  }
  .browser__sort {
    justify-content: space-between;
  }
  .browser__more {
    flex-direction: column;
  }
}

/* ======================================================================
   Book a demo
   ====================================================================== */

.demo__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 46ch;
}

.demo__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: start;
}
.demo__side {
  position: sticky;
  top: calc(var(--header-h) + var(--space-6));
  gap: var(--space-6);
}
.demo__cover {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.demo__cover li {
  display: flex;
  gap: var(--space-4);
  font-size: var(--fs-sm);
  color: var(--text-body);
}
.demo__cover-num {
  font-family: var(--font-display);
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

.demo__panel {
  gap: var(--space-6);
}
.demo__panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.demo__panel-title {
  font-size: var(--fs-h3);
}
.demo__tz .select {
  min-width: 14rem;
}
.demo__panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.demo__slot-summary {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  font-weight: var(--weight-medium);
}

.demo__calendar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(1.25rem, 1rem + 2vw, 2.5rem);
}

.cal {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.cal__month {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  color: var(--text-strong);
}
.cal__dows,
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.375rem;
}
.cal__dows span {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.cal__day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--text-strong);
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
  transition:
    background-color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}
.cal__day:hover:not(:disabled) {
  border-color: var(--blue);
  transform: translateY(-1px);
}
.cal__day.is-off {
  background: transparent;
  border-color: transparent;
  color: var(--ink-300);
  cursor: not-allowed;
}
.cal__day.is-empty {
  background: transparent;
  border-color: transparent;
  color: transparent;
  cursor: default;
}
.cal__day.is-on {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.slots {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.slots__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: var(--space-2);
  max-height: 22rem;
  overflow-y: auto;
}
.slot {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  text-align: left;
  transition:
    border-color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.slot:hover:not(:disabled) {
  border-color: var(--blue);
}
.slot__time {
  font-size: var(--fs-sm);
  font-weight: var(--weight-medium);
  color: var(--text-strong);
}
.slot__state {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.slot.is-taken {
  opacity: 0.45;
  cursor: not-allowed;
}
.slot.is-on {
  background: var(--blue);
  border-color: var(--blue);
}
.slot.is-on .slot__time,
.slot.is-on .slot__state {
  color: var(--white);
}

@media (max-width: 1024px) {
  .demo__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .demo__side {
    position: static;
  }
}
@media (max-width: 680px) {
  .demo__calendar {
    grid-template-columns: minmax(0, 1fr);
  }
  .slots__grid {
    max-height: none;
  }
}

.article__intro {
  padding: var(--space-6);
  margin-bottom: var(--space-12);
  border-left: 3px solid var(--red);
  background: var(--cream);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.article__intro p:last-child {
  margin-bottom: 0;
}
.article__caption {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: calc(var(--space-4) * -1);
}

.figure__head {
  margin: var(--space-6) 0 var(--space-3);
}
.figure__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  color: var(--text-strong);
}
.figure__sub {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.figure__notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: var(--space-4);
  padding: var(--space-5);
  margin: var(--space-4) 0 var(--space-6);
  background: var(--cream);
  border-radius: var(--r-md);
}
.figure__note {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.figure__note-num {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  color: var(--blue);
  line-height: 1.1;
}

.article__notes {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: var(--space-5) 0 0;
  padding: var(--space-5);
  background: var(--blue-050);
  border-radius: var(--r-md);
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.article__notes li {
  margin: 0;
}

.section--snug-top {
  padding-top: var(--space-10);
}
.kv-table--spaced {
  margin-top: var(--space-6);
}

/* ===== data-bar widths, generated from article content =========== */
.bar__fill--w11 {
  width: 11%;
}
.bar__fill--w30 {
  width: 30%;
}
.bar__fill--w32 {
  width: 32%;
}
.bar__fill--w45 {
  width: 45%;
}
.bar__fill--w60 {
  width: 60%;
}
.bar__fill--w70 {
  width: 70%;
}
.bar__fill--w80 {
  width: 80%;
}
.bar__fill--w90 {
  width: 90%;
}
.bar__fill--w95 {
  width: 95%;
}
.bar__fill--w100 {
  width: 100%;
}

/* ===== sitemap page ========================================== */
.sitemap {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 576px) {
  .sitemap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .sitemap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* The long list of audiences gets the full width back on wide screens so it
   reads as one group rather than a column that outruns its neighbours. */
@media (min-width: 992px) {
  .sitemap__col:nth-child(2) {
    grid-column: span 2;
  }
  .sitemap__col:nth-child(2) .sitemap__links {
    columns: 2;
    column-gap: var(--space-6);
  }
}

.sitemap__col {
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: #fff;
}
.sitemap__title {
  margin: 0 0 var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
  font-weight: var(--weight-semi);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.sitemap__links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sitemap__links li {
  break-inside: avoid;
}
.sitemap__links li + li {
  margin-top: var(--space-1);
}
.sitemap__links a {
  display: block;
  padding: var(--space-2) 0;
  font-size: var(--fs-sm);
  color: var(--text-body);
  text-decoration: none;
  transition:
    color var(--t) var(--ease),
    transform var(--t) var(--ease-out);
}
.sitemap__links a:hover,
.sitemap__links a:focus-visible {
  color: var(--blue);
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .sitemap__links a {
    transition: none;
  }
  .sitemap__links a:hover {
    transform: none;
  }
}
