@layer infine.components {
/* ==========================================================================
   Connect — Overview page (Direction E).

   The navy HERO is ported faithfully from the handoff `dirE.css`: radius/
   padding/structure and the slot/pane/card/icon/arrow/check hover choreography
   are preserved. Its bespoke navy-surface colours (which the light-surface
   --infine-* palette can't express) are declared ONCE here as scoped --co-*
   vars — the handoff README explicitly sanctions these surface-only literals.

   Everything OUTSIDE the hero (attention, band, team, coming) uses the repo's
   white-card idiom (see connect-team-panel.css), NOT a copy of dirE.css.
   ========================================================================== */

/* Overview-born tokens that other surfaces now consume, so they live on :root
   (not scoped to .connect-overview):
   - --co-card-shadow — elevation for the white cards below the hero, reused by
     the shared bands (connect-bands.css) and the insights pages' cards. A
     2-layer lift: a tight contact shadow + a soft, far-cast ambient one, the
     --infine-blue token at 4% / 30% alpha.
   - --co-hero-grad — the navy hero gradient, reused verbatim by the insights
     pages' closing band and offer card (connect-insights.css).
   - --co-status-orange — the orange CTA accent (a white-lift of the shared
     yellow token, same spirit as the other --co-status-* lifts below), reused
     by the insights pages' orange buttons. */
:root {
  --co-card-shadow:
    0 1px 2px color-mix(in srgb, var(--infine-blue) 4%, transparent),
    0 10px 30px -22px color-mix(in srgb, var(--infine-blue) 30%, transparent);
  --co-hero-grad:
    radial-gradient(130% 150% at 88% -10%, rgba(255, 255, 255, 0.10), transparent 55%),
    linear-gradient(152deg, #0A4279 0%, #003366 52%, #002A52 100%);
  --co-status-orange: color-mix(in srgb, var(--infine-yellow-bright) 85%, white);
}

.connect-overview {
  /* --- sanctioned navy-surface literals (handoff README → Design tokens) ---
     Only the colours the light --infine-* palette can't express stay here: the
     navy card surfaces, the translucent donut track, and the light "ready"
     lede tint (a legibility tint for green text on navy). The navy gradient
     itself lives on :root above (the insights page reuses it). The
     green/yellow/red status accents derive from the shared --infine-* tokens,
     lightened for the navy surface (see --co-status-* below); the orange CTA
     accent is on :root above for the same insights reuse. */
  --co-card-base: #0E3D6E;
  --co-card-hover: #14467D;
  --co-card-border: rgba(255, 255, 255, 0.16);
  --co-donut-track: rgba(255, 255, 255, 0.16);
  --co-ready-green: #8FE3A8;
  /* Donut-pill text tints: a light red / green that stay legible on the navy
     hero (the --infine-* red/green are tuned for white surfaces and read too
     dark here) — same rationale as --co-ready-green above. Paired with the
     translucent --infine-red-strong / --co-ready-green pill fills below. */
  --co-flag-text: #FFC9C9;
  --co-ok-text:   #BFE9C9;

  /* Status / accent colours on the navy hero. The shared --infine-* tokens are
     tuned for white surfaces and read dark/muddy on the navy gradient, so the
     hero lightens each with a calculated white mix (single-use, scoped — no new
     library tokens) — same spirit as the orange pane's brightness lift. Green is
     the muddiest (#179900) so it gets the most lift. Consumed by the donut ring
     arcs (tone->color in overview.cljs) + legend dots, and the CTA panes / icons
     / arrows / checks below (green reused for the cleared state). */
  --co-status-green:  color-mix(in srgb, var(--infine-green-bright)  70%, white);
  --co-status-yellow: color-mix(in srgb, var(--infine-yellow-strong) 86%, white);
  --co-status-red:    color-mix(in srgb, var(--infine-red)           90%, white);

  /* Fill the main UI frame like every other Insight view (roster, company,
     team) — no fixed max-width. Just the shared horizontal page padding. */
  padding: 0 var(--mantine-spacing-xl) var(--mantine-spacing-xl);
}

/* ---- hero shell ----
   The hero scales with available width rather than stretching: it's the query
   container (`cqi` = 1% of hero inline size), and the lede type, donut diameter,
   gaps, and vertical padding all grow via clamp() as the hero widens. Content is
   left-anchored (fixed H padding on __inner) so the page's left content edge
   never moves — the band just grows taller and more generous on wide screens. */
.connect-overview .co-hero {
  container-type: inline-size;
  border-radius: 28px;
  padding-block: clamp(34px, 3.4cqi, 70px);
  background: var(--co-hero-grad);
  /* Clearly visible lift, but kept within the ~30px gap above the help box so it
     doesn't bleed onto it (the original 0 24px 50px -28px/.55 reached ~46px and
     overshadowed the box). */
  box-shadow: 0 16px 32px -20px rgba(0, 51, 102, 0.52);
}
/* Fixed horizontal padding holds the content's left edge at a constant inset
   (no centring → no drifting left line). Also the bleed edge the action cards'
   negative margins reach (see .co-cards). */
.connect-overview .co-hero__inner {
  padding-inline: 50px;
}
/* Lede + donuts as a left-packed group; the scaled gap keeps the donut cluster
   glued a fixed-ish distance from the lede instead of detaching across a void. */
.connect-overview .co-hero__top {
  display: flex;
  align-items: center;
  gap: clamp(44px, 6cqi, 150px);
}
/* Service suppliers have a single (company) donut, so the right of the hero
   would otherwise sit empty with the donut glued to the lede. Split the row into
   two weighted regions and let .co-donuts' own justify-content:center centre the
   lone donut in its ~38% right region (the border-left divider lands on the
   boundary). Wide layout only — at ≤1080px .co-hero__top is flex-direction:column
   and a main-axis flex-basis would size height, not width. */
@media (min-width: 1081px) {
  .connect-overview .co-hero--service .co-lede   { flex: 1.6 1 0; }
  .connect-overview .co-hero--service .co-donuts { flex: 1 1 0; }
}

/* ---- lede ---- */
.connect-overview .co-lede { flex: 0 1 auto; min-width: 0; }
.connect-overview .co-lede__h {
  font-family: var(--mantine-font-family-headings);
  font-weight: 300;
  /* fluid: ~48px at the original ~1300px width, up to 92px on wide screens */
  font-size: clamp(40px, 3.7cqi, 92px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0;
  /* ch-based cap keeps the measure readable while the px width grows with font */
  max-width: 22ch;
  text-wrap: balance;
}
.connect-overview .co-lede__h b { font-weight: 600; }
.connect-overview .co-lede__h .co-ready { color: var(--co-ready-green); font-weight: 600; }
.connect-overview .co-lede__p {
  font-size: clamp(16.5px, 1.25cqi, 24px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: clamp(20px, 1.7cqi, 36px) 0 0;
  max-width: 58ch;
}
.connect-overview .co-lede__p b { color: #fff; font-weight: 600; }

/* ---- donuts ----
   The donut cluster scales as one unit via `zoom` (see the @container steps in
   the responsive section). We must use zoom — NOT a fluid `--rp-size` — because
   Mantine's RingProgress draws its <svg> circles at fixed coordinates derived
   from the numeric `size` prop, with no viewBox; overriding `--rp-size` in CSS
   only stretches the svg box, and the `transform: rotate(-90deg)` then pivots the
   fixed-geometry ring off-centre of the box while the label stays centred in it,
   so ring and "%" drift apart. `zoom` scales the rendered geometry AND the label
   together (and reserves layout space), keeping them aligned at every step. */
.connect-overview .co-donuts {
  flex: 0 0 auto;
  display: flex;
  gap: 38px;
  justify-content: center;
  padding-left: 54px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.connect-overview .co-donut {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 188px;
}
/* center label node handed to RingProgress */
.connect-overview .co-donut__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.connect-overview .co-donut__pct {
  font-family: var(--mantine-font-family-headings);
  font-weight: 300;
  font-size: 46px;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.connect-overview .co-donut__pct em {
  font-style: normal;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
}
.connect-overview .co-donut__caption {
  font-family: var(--mantine-font-family-headings);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 3px;
}
.connect-overview .co-donut__label {
  font-family: var(--mantine-font-family-headings);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  margin: 16px 0 9px;
  white-space: nowrap;
}
.connect-overview .co-donut__legend {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.74);
}
.connect-overview .co-donut__legend .l {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
  white-space: nowrap;
}
.connect-overview .co-donut__legend .l b {
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.connect-overview .co-donut__legend .muted { color: rgba(255, 255, 255, 0.6); }
.connect-overview .co-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.connect-overview .co-dot--done { background: var(--co-status-green); }
.connect-overview .co-dot--progress { background: var(--co-status-yellow); }
.connect-overview .co-dot--flag { background: var(--co-status-red); }
/* pills under the ring */
.connect-overview .co-donut__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
}
.connect-overview .co-donut__pill--flag {
  /* Red is the --infine-red-strong token (#E04D4D); reserved for errors, which
     this flag pill is. Translucent fill + border off the one token. */
  background: color-mix(in srgb, var(--infine-red-strong) 16%, transparent);
  color: var(--co-flag-text);
  border: 1px solid color-mix(in srgb, var(--infine-red-strong) 40%, transparent);
}
.connect-overview .co-donut__pill--ok {
  /* Green fill is the --co-ready-green hero tint, made translucent. */
  background: color-mix(in srgb, var(--co-ready-green) 16%, transparent);
  color: var(--co-ok-text);
  border: 1px solid color-mix(in srgb, var(--co-ready-green) 36%, transparent);
}

/* ---- the action cards, folded into the hero ---- */
.connect-overview .co-cards {
  margin: 30px -50px -34px;
  padding: 26px 50px 30px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
/* Service suppliers drop the two product cards — let the remaining three fill
   the row (each 1fr) so they span the full width, matching the five-card row. */
.connect-overview .co-hero--service .co-cards {
  grid-template-columns: repeat(3, 1fr);
}
/* each card sits in a slot; a full-size orange pane is stacked directly BEHIND
   the card and shifted down, so only its bottom edge peeks — the card visibly
   lifts off a solid base. Pane motion is pure transform → no reflow. */
.connect-overview .co-card-slot { position: relative; display: flex; }
.connect-overview .co-card-slot > .co-card { flex: 1; }
.connect-overview .co-pane {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--co-status-orange);
  border-radius: 14px;
  transform: translateY(6px);
  /* Hover brightens the pane via `filter` so the base colour stays a token
     (no bespoke "-hover" literal), alongside the downward shift. */
  filter: brightness(1);
  transition: transform 0.18s ease, filter 0.18s ease;
}
.connect-overview .co-card-slot--cleared .co-pane { background: var(--co-status-green); }
.connect-overview .co-card-slot:hover .co-pane {
  transform: translateY(13px);
  filter: brightness(1.08);
}
.connect-overview .co-card-slot--cleared:hover .co-pane { filter: brightness(1.12); }

.connect-overview .co-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  appearance: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 20px 18px 18px;
  border-radius: 14px;
  background: var(--co-card-base);
  border: 1px solid var(--co-card-border);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
/* keep the card's own content above the sheen layer */
.connect-overview .co-card > span { position: relative; z-index: 2; }
/* diagonal sheen that sweeps across only on hover */
.connect-overview .co-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transition: opacity 0.18s ease;
}
.connect-overview .co-card-slot:hover .co-card {
  transform: translateY(-3px);
  background: var(--co-card-hover);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 16px 28px -16px rgba(0, 0, 0, 0.6);
}
.connect-overview .co-card-slot:hover .co-card::before { opacity: 1; }
.connect-overview .co-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* neutral icon at rest — picks up the orange accent on hover. Quick colour
   crossfade both ways so white⇄orange reads as a fade, not a snap. */
.connect-overview .co-card__icon {
  color: #fff;
  display: flex;
  transition: color 0.22s ease;
}
.connect-overview .co-card-slot:not(.co-card-slot--cleared):hover .co-card__icon {
  color: var(--co-status-orange);
}
/* bare arrow at rest; the orange box materialises on hover. Colour is in the
   transition list too, so the glyph fades white⇄orange in step with its box. */
.connect-overview .co-card__arrow {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.18s ease;
}
.connect-overview .co-card-slot:hover .co-card__arrow {
  background: var(--co-status-orange);
  border-color: var(--co-status-orange);
  color: #fff;
  transform: translateX(2px);
  box-shadow: 0 3px 10px -3px color-mix(in srgb, var(--co-status-orange) 60%, transparent);
}
/* cleared state: solid green tick — board cleared, make it felt */
.connect-overview .co-card__check {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: var(--co-status-green);
  border: 1px solid var(--co-status-green);
  color: #fff;
  box-shadow: 0 3px 10px -3px color-mix(in srgb, var(--co-status-green) 65%, transparent);
}
.connect-overview .co-card__label {
  font-family: var(--mantine-font-family-headings);
  font-size: 17px;
  line-height: 1.32;
  color: #fff;
  font-weight: 800;
}
.connect-overview .co-card__fine {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Below the hero — site-styled white cards (repo idiom), NOT a copy of
   dirE.css. Attention mirrors the roster's row/dot/pill vocabulary.
   ========================================================================== */

/* Shared white-card surface for the boxes below the hero — the bg + border +
   elevation. The shared bands (.co-faq / .co-help, connect-bands.css) carry an
   identical declaration; each card keeps its own radius / padding / margin /
   overflow in its own rule below. */
.connect-overview .co-attention,
.connect-overview .co-coming {
  background: #fff;
  border: 1px solid var(--infine-blue-light-fade);
  box-shadow: var(--co-card-shadow);
}

/* ---- "What needs you" ---- */
.connect-overview .co-attention {
  border-radius: 20px;
  padding: 24px 28px 26px;
  margin-top: 26px;
}
/* Shared section heading — used by BOTH "Worth a look" and "Coming this
   autumn" so the two read as one family (same headings font, same 2px blue
   rule) instead of competing title styles. */
.connect-overview .co-sec-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--infine-blue);
  margin-bottom: 22px;
}
.connect-overview .co-sec-title {
  font-family: var(--mantine-font-family-headings);
  font-weight: 700;
  font-size: 20px;
  color: var(--infine-blue);
}
/* Stretch so all columns share the tallest's height — that lets each column's
   footer link float to a common bottom row (margin-top:auto below) regardless of
   how many products its list holds. */
.connect-overview .co-att__cols { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.connect-overview .co-att__group {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  border-left: 1px solid var(--infine-blue-light-fade);
}
.connect-overview .co-att__group:first-child { padding-left: 0; border-left: none; }
.connect-overview .co-att__group:last-child { padding-right: 0; }
.connect-overview .co-att__group-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}
.connect-overview .co-att__group-title {
  font-family: var(--mantine-font-family-headings);
  font-weight: 700;
  font-size: 15px;
  color: var(--infine-blue);
  white-space: nowrap;
}
.connect-overview .co-att__group-count { font-size: 12.5px; color: var(--infine-gray); }
.connect-overview .co-att__pip {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.connect-overview .co-att__pip--err { background: var(--infine-red-strong); }
.connect-overview .co-att__pip--almost { background: var(--infine-yellow-bright); }
.connect-overview .co-att__pip--recent { background: var(--infine-blue-light); }
/* Each column is a stack of the shared product-list rows (the single-form
   left list look). The rows bring their own chip / name / badge / meta + hover;
   here we just trim the trailing divider so the list ends cleanly. */
.connect-overview .co-att__list { display: flex; flex-direction: column; }
.connect-overview .co-att__list .connect-product-row:last-child { border-bottom: none; }
/* The shared row carries the single-form list's wider horizontal padding; trim
   it to 4px here. The 4px left inset centres the 4px chip under the 11px heading
   pip above it (chip centre ~6px ≈ pip centre ~5.5px), and the symmetric 4px
   gives the hover fill breathing room instead of cutting flush to the content. */
.connect-overview .co-att__list .connect-product-row { padding-left: 4px; padding-right: 4px; }
/* Graceful placeholder when a column has no rows (e.g. nothing flagged). */
.connect-overview .co-att__empty {
  padding: 14px 2px;
  font-size: 13px;
  color: var(--infine-gray);
}
/* margin-top:auto floats the link to the bottom of its (stretched) column so the
   three columns' links align on one footer row; padding-top keeps a minimum gap
   above (and is the only spacing in the ≤880px stacked layout, where the column
   is content-height and margin-top:auto collapses to 0). */
.connect-overview .co-att__seeall { margin-top: auto; padding-top: 12px; }
.connect-overview .co-att__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--infine-blue-bright);
  cursor: pointer;
  transition: color 0.18s ease;
}
/* Hover: deepen the blue and nudge the arrow right — mirrors the hero CTA arrow
   so the page's interactive elements read as one family. */
.connect-overview .co-att__link svg { transition: transform 0.18s ease; }
.connect-overview .co-att__link:hover { color: var(--infine-blue); }
.connect-overview .co-att__link:hover svg { transform: translateX(3px); }

/* ---- "Coming this autumn" — full-width teaser ---- */
.connect-overview .co-band { margin-top: 30px; }

.connect-overview .co-coming {
  border-radius: 18px;
  padding: 22px 26px 24px;
}
/* Four features in one row across the full width (was a 2×2 grid in the old
   narrow box). */
.connect-overview .co-coming__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 40px;
}
.connect-overview .co-coming__item-title {
  font-family: var(--mantine-font-family-headings);
  font-weight: 600;
  font-size: 16px;
  color: var(--infine-blue);
  margin-bottom: 4px;
}
.connect-overview .co-coming__item-body {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--infine-gray);
}
/* The contact mailto inside the band's fourth item — a real link nested in the
   card-level click target, so it needs its own link colouring to read as one. */
.connect-overview .co-coming__item-body a {
  color: var(--infine-blue-bright);
  text-decoration: none;
  transition: color 0.18s ease;
}
.connect-overview .co-coming__item-body a:hover {
  color: var(--infine-blue);
  text-decoration: underline;
}
/* Each analysis's own way into the insights page, opening it at that
   analysis; the "Learn more" arrow row's link idiom, under the segment. */
.connect-overview .co-coming__read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--infine-blue-bright);
  cursor: pointer;
  transition: color 0.18s ease;
}
.connect-overview .co-coming__read-more svg { transition: transform 0.18s ease; }
.connect-overview .co-coming__read-more:hover { color: var(--infine-blue); }
.connect-overview .co-coming__read-more:hover svg { transform: translateX(3px); }
.connect-overview .co-coming__read-more:focus-visible {
  outline: 2px solid var(--infine-blue-bright);
  outline-offset: 2px;
}
/* The whole card is one link to the optional-analyses page. The "Learn more"
   arrow row (the attention columns' footer-link idiom) is the affordance
   label; hover works at CARD level — a gentle lift + deeper shadow (the
   interactive-card language of the hero tiles), the heading and its rule
   brightening together, and the label's colour-deepen + arrow-nudge — so
   wherever the pointer is, the surface reads as clickable. */
.connect-overview .co-coming--link {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
/* Keyboard focus (the section is a role=link with tabIndex) gets the brand
   focus ring; :focus-visible keeps it off plain mouse clicks. */
.connect-overview .co-coming--link:focus-visible {
  outline: 2px solid var(--infine-blue-bright);
  outline-offset: 2px;
}
.connect-overview .co-coming--link .co-sec-head { transition: border-color 0.18s ease; }
.connect-overview .co-coming--link .co-sec-title { transition: color 0.18s ease; }
.connect-overview .co-coming--link:hover {
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px color-mix(in srgb, var(--infine-blue) 6%, transparent),
    0 16px 34px -20px color-mix(in srgb, var(--infine-blue) 45%, transparent);
}
/* Heading text and rule shift to the bright blue as one piece — colouring the
   rule alone read as a stray accent. */
.connect-overview .co-coming--link:hover .co-sec-head { border-color: var(--infine-blue-bright); }
.connect-overview .co-coming--link:hover .co-sec-title { color: var(--infine-blue-bright); }
.connect-overview .co-coming__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--infine-blue-bright);
  transition: color 0.18s ease;
}
.connect-overview .co-coming__more svg { transition: transform 0.18s ease; }
.connect-overview .co-coming--link:hover .co-coming__more { color: var(--infine-blue); }
.connect-overview .co-coming--link:hover .co-coming__more svg { transform: translateX(3px); }

/* ---- donut cluster scales with the hero (stepped via @container) ----
   `zoom` scales the rendered ring geometry + its centred "%" label together and
   reserves layout space — see the .co-donuts note above for why fluid --rp-size
   can't be used. Stepped (not continuous) because zoom needs a unitless factor,
   which can't be derived from container units in pure CSS; the steps track the
   hero's continuously-scaling type closely enough. zoom is supported in all
   current evergreen browsers (Firefox ≥126). */
@container (min-width: 1300px) { .connect-overview .co-donuts { zoom: 1.12; } }
@container (min-width: 1700px) { .connect-overview .co-donuts { zoom: 1.3; } }
@container (min-width: 2100px) { .connect-overview .co-donuts { zoom: 1.5; } }

/* ---- responsive (hero) ---- */
@media (max-width: 1080px) {
  /* stack the lede over the donuts (the top row is now flex, not grid) */
  .connect-overview .co-hero__top { flex-direction: column; align-items: flex-start; gap: 34px; }
  .connect-overview .co-donuts {
    padding-left: 0;
    border-left: none;
    justify-content: flex-start;
  }
  .connect-overview .co-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .connect-overview .co-hero { padding-block: 28px 24px; }
  .connect-overview .co-hero__inner { padding-inline: 22px; }
  .connect-overview .co-cards { grid-template-columns: 1fr; margin: 24px -22px -24px; padding: 22px; }
  /* The service-supplier base rule is more specific (0,3,0) than the general
     stack above (0,2,0), so it needs its own single-column override here. */
  .connect-overview .co-hero--service .co-cards { grid-template-columns: 1fr; }
  .connect-overview .co-donuts { flex-direction: column; align-items: flex-start; }
}

/* ---- responsive (attention + band) ---- */
@media (max-width: 1080px) {
  .connect-overview .co-coming__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .connect-overview .co-coming__list { grid-template-columns: 1fr; }
  /* Stacks to one column below 880px. No !important needed: the base 3-col rule
     now lives in CSS (not an inline style), so this later same-specificity rule
     wins on source order. */
  .connect-overview .co-att__cols { grid-template-columns: 1fr; }
  .connect-overview .co-att__group {
    padding: 18px 0 0;
    border-left: none;
    border-top: 1px solid var(--infine-blue-light-fade);
    margin-top: 18px;
  }
  .connect-overview .co-att__group:first-child { padding-top: 0; border-top: none; margin-top: 0; }
}
}
