/* ==========================================================================
   pricing-hero-banner · Equinet · 2026-11-12
   Consumes /modules/tokens.css as var(--equinet-…, <SVG-measured fallback>).
   Declares no root-level brand tokens. Brand fonts are loaded by tokens.css line 1
   (Source Sans 3 400/400i/600/700, Open Sans 800 all already imported).

   Coordinates: D = module__pricing-hero-banner.svg (1920 wide, live text).
                M = module__pricing-hero-banner-Mobile.png (420 wide, 1x),
                    pixel-sampled; text sizes solved by HarfBuzz shaping.
   Line-box arithmetic uses hhea/typo metrics (USE_TYPO_METRICS set):
     Source Sans 3 A 1.024 / D 0.400 · Open Sans A 1.0688 / D 0.2930
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. THEME RESET — zero specificity, declared first (doctrine rule 8).
      Component classes below re-declare margin/padding themselves so a hostile
      theme `p { margin: 20px 0 }` cannot move anything.
   -------------------------------------------------------------------------- */
:where(.pricing-hero-banner) :where(p, h1, h2, h3, h4, h5, h6, ul, ol, figure, blockquote) { margin: 0; }
:where(.pricing-hero-banner) :where(ul, ol) { padding: 0; list-style: none; }
:where(.pricing-hero-banner) :where(img, picture, svg) { max-width: 100%; }
:where(.pricing-hero-banner) :where(*, *::before, *::after) { box-sizing: inherit; }


/* --------------------------------------------------------------------------
   2. ROOT — section padding from the STYLE tab via custom properties.
   -------------------------------------------------------------------------- */
.pricing-hero-banner {
  --pricing-hero-banner-css-version: "2026-11-13d";   /* stale-stylesheet sentinel */
  --pricing-hero-banner-card-scale: 1.02;             /* card hover grow. Module-local: --equinet-btn-scale--hover
                                                         (1.03) is a BUTTON token. 356px × 0.02 = 3.6px per side,
                                                         inside the 32px card gap (no overlap) and the 20px mobile
                                                         gutter (no horizontal overflow). */

  box-sizing: border-box;          /* only box-sizing declaration in the module */
  position: relative;
  isolation: isolate;              /* parallax layer (z -1) stays behind content */
  width: 100%;
  padding-top: var(--pricing-hero-banner-pad-top, 72px);       /* D pill rect y72 − section y0 */
  padding-right: var(--pricing-hero-banner-pad-right, 20px);   /* M content x20 (gutter) */
  padding-bottom: var(--pricing-hero-banner-pad-bottom, 96px); /* D 879 − button_2 bottom y783 */
  padding-left: var(--pricing-hero-banner-pad-left, 20px);     /* M content x20 (gutter) */
  font-family: var(--equinet-font-body, 'Myriad Pro', 'Source Sans 3', sans-serif);
  /* Background colour / gradient / image are field-driven inline styles. */
}

/* overflow: CLIP, not hidden — clips the 120%-tall parallax layer without
   creating a scroll container (keeps any page-level sticky intact). Only
   applied when a background image exists so card/button shadows are never
   trimmed otherwise. Do not "tidy" to hidden. */
.pricing-hero-banner.pricing-hero-banner--has-bg { overflow: clip; }

.pricing-hero-banner .pricing-hero-banner__parallax-bg {
  position: absolute;
  top: -10%;                       /* 20% overscan split top/bottom = max JS travel */
  left: 0;
  width: 100%;
  height: 120%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  will-change: transform;          /* leaf element — no fixed-position descendants */
}

.pricing-hero-banner .pricing-hero-banner__inner {
  position: relative;
  width: 100%;
  max-width: 1132px;               /* D cards x394 → x1526 = 1132 (centred: (1920−1132)/2 = 394) */
  margin: 0 auto;
  padding: 0;
}


/* --------------------------------------------------------------------------
   3. INTRO STACK
      Vertical rhythm by margin-top on each element; the first child drops it
      so a hidden pill never leaves a gap.
   -------------------------------------------------------------------------- */
.pricing-hero-banner .pricing-hero-banner__intro { margin: 0; padding: 0; }
.pricing-hero-banner .pricing-hero-banner__intro > :first-child { margin-top: 0; }

/* pencilBar-Toggle — 204×32 rx8 */
.pricing-hero-banner .pricing-hero-banner__pill {
  display: inline-flex;
  align-items: center;
  height: 32px;                                              /* D rect height 32 */
  margin: 0;
  padding: 0 22px 0 var(--equinet-space-md, 24px);           /* L: label x420.5 − rect x396.5 = 24.
                                                                R: 204 − 24 − 157.43 (shaped, incl. 2.4px
                                                                trailing tracking) = 22.57 → 22 */
  border-radius: var(--equinet-radius-pill, 8px);            /* D rect rx 8 */
  background-color: var(--equinet-color-orange--pale, #FCE9E0);
}
.pricing-hero-banner .pricing-hero-banner__pill-label {
  color: var(--equinet-color-orange, #E06730);
  /* NOTE 2.90:1 on #FCE9E0 — below WCAG 1.4.3. Shipped as designed on
     2026-11-12 by decision; logged for the design system. */
  font-family: var(--equinet-font-body, 'Myriad Pro', 'Source Sans 3', sans-serif);
  font-size: var(--equinet-fontsize-kicker, 12px);
  font-weight: var(--equinet-fontweight-kicker, 700);        /* SVG "bold" verified 700: ink 153 vs 155.0 shaped (600 = 152.3) */
  letter-spacing: var(--equinet-letterspacing-kicker, 0.2em);
  line-height: 16px;                                         /* single line, centred in 32 */
  text-transform: uppercase;
  white-space: nowrap;
}

/* h2-Text — 60px Open Sans 800 */
.pricing-hero-banner .pricing-hero-banner__heading {
  margin: 16px 0 0;                /* D: line-box top 170.832 − 64.13 + 13.86 = 120.56; − pill bottom 104 = 16.6 → 16 */
  padding: 0;
  /* THEME-LOCKED 2026-11-12c — family, weight, colour, tracking and case are design
     constants with no editor field, so they take !important (theme isolation rule 3),
     matching 2-column-hero-banner. Live render without the lock: a theme h2 rule won
     font-family and the heading set in Source Sans 3 Black (592.9px measured vs
     588.8 shaped; Open Sans 800 = 682.9). */
  color: var(--equinet-color-heading, #242630) !important;
  font-family: var(--equinet-font-heading, 'Open Sans', sans-serif) !important;
  font-size: var(--equinet-fontsize-display, 60px);
  font-weight: var(--equinet-fontweight-display, 800) !important;
  line-height: var(--equinet-lineheight-h2--ratio, 0.9);    /* M baseline pitch 36 on 40px = 0.9 */
  letter-spacing: var(--equinet-letterspacing-display--tight, -0.07em) !important;
                                   /* live-text declaration, PNG-verified: ink 683 vs 682.9 shaped @ −0.07em
                                      (−0.04em caps ruling would render 720.7). Conflict logged. */
  text-transform: var(--equinet-text-transform-h2, uppercase) !important;
  text-shadow: var(--equinet-shadow-heading, -2px 2px 4px rgba(0, 0, 0, 0.15)); /* filter0: dx−2 dy2 std2 → blur 4, α.15 */
  text-wrap: balance;              /* reproduces M "WHAT THE / ENGINE COSTS" (natural break would orphan COSTS) */
}

/* Lead-Toggle › label-Text-Color — colour is an editable STYLE field */
.pricing-hero-banner .pricing-hero-banner__lead {
  max-width: 558px;                /* must fit lead L1 545.12 and body L2 538.70, and must break
                                      before body L2 + "velit" 570.67 → 558 (≈12.9 / 12.7 headroom) */
  margin: 20px 0 0;                /* D: lead top 215.11 − 20.48 + 1.24 = 195.87; − heading bottom 174.56 = 21.3 → 20
                                      (M 193.69 − 172.49 = 21.2) */
  padding: 0;
  color: var(--pricing-hero-banner-lead-color, var(--equinet-color-lead--accent, #00426C));
  font-family: var(--equinet-font-body, 'Myriad Pro', 'Source Sans 3', sans-serif);
  font-size: var(--equinet-fontsize-lead, 20px);
  font-style: var(--equinet-fontstyle-lead, italic);
  font-weight: var(--equinet-fontweight-body, 400);
  line-height: var(--equinet-lineheight-lead, 1.3);         /* baselines 215.11 → 241.11 = 26 / 20 */
  letter-spacing: var(--equinet-letterspacing-body, 0em);
}

/* description-Toggle-RichText */
.pricing-hero-banner .pricing-hero-banner__description {
  max-width: 558px;                /* shares the lead's text column — see measure note above */
  margin: 16px 0 0;                /* D: body top 279.688 − 16.384 + 0.392 = 263.70; − lead bottom 247.87 = 15.8 → 16 */
  padding: 0;
  color: var(--equinet-color-body, #3B3F51);
  font-family: var(--equinet-font-body, 'Myriad Pro', 'Source Sans 3', sans-serif);
  font-size: var(--equinet-fontsize-body, 16px);
  font-weight: var(--equinet-fontweight-body, 400);
  line-height: var(--equinet-lineheight-body, 1.375);       /* baselines 279.688 / 301.688 / 323.688 = 22 / 16 */
}
.pricing-hero-banner .pricing-hero-banner__description :where(p, li) {
  margin: 0;
  padding: 0;
  /* Rich-text <p>/<li> are emitted by the editor without our class, so a theme
     `p { font-size: 16px }` beats inheritance. Re-inherit every type property
     explicitly (live render 2026-11-12: footnote at 16px, 441.8px line vs 387.6 @14). */
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: var(--equinet-color-body, #3B3F51);
}
.pricing-hero-banner .pricing-hero-banner__description :where(p + p) {
  margin-top: var(--equinet-paraspacing-body, 16px);
}
.pricing-hero-banner .pricing-hero-banner__description a {
  color: var(--equinet-color-navy, #00426C);
  text-decoration: underline;
}


/* --------------------------------------------------------------------------
   4. CTA ROW
   -------------------------------------------------------------------------- */
.pricing-hero-banner .pricing-hero-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: var(--equinet-space-lg, 32px);   /* textual label x717.5 − primary right 685.5 = 32 */
  row-gap: var(--equinet-space-sm, 16px);
  margin: 24px 0 0;                /* D: rect y353 − body bottom 329.70 = 23.3 → 24 (M 412 − 389.0 = 23.0) */
  padding: 0;
}


/* --------------------------------------------------------------------------
   5. PRIMARY BUTTON — .button_primary_large_default.btn-primary
      Geometry (D rect x396.5 y353 289×56 rx7):
        pad-left  32    label x428.859 − 396.5 = 32.36
        gap       14.5  icon x643.688 − (428.859 + 200.34 kerned label) = 14.49
        icon      15.627 × 13.129  (ArrowRight bbox), centre y381.0 = rect centre
        pad-right 26    685.5 − 659.315 = 26.19
      Width hugs the label (Figma auto-layout); 32 + 200.34 + 14.5 + 15.63 + 26 ≈ 289.
      Colours are design-locked (no field) → !important across every state.
   -------------------------------------------------------------------------- */
.pricing-hero-banner .btn-primary,
.pricing-hero-banner .btn-primary:link,
.pricing-hero-banner .btn-primary:visited {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 14.5px;
  height: var(--equinet-btn-height, 56px);
  margin: 0;
  padding: 0 26px 0 32px;
  border: 0;
  border-radius: var(--equinet-btn-radius, 7px);
  background-color: var(--equinet-btn-fill--primary, #E06730) !important;
  color: var(--equinet-btn-label, #FFFFFF) !important;
  /* NOTE 3.41:1 white on #E06730 — below 4.5:1 for 16px/600. Brand button,
     shipped as designed by decision 2026-11-12; logged for the design system. */
  box-shadow: var(--equinet-shadow-btn--primary, -6.88px 7.76px 19.53px rgba(208, 79, 20, 0.22));
                                   /* filter1: dx−6.88 dy7.76 std9.765 → blur 19.53, (.816,.310,.078) α.22 */
  font-family: var(--equinet-font-body, 'Myriad Pro', 'Source Sans 3', sans-serif);
  font-size: var(--equinet-fontsize-btn, 16px);
  font-weight: var(--equinet-fontweight-btn, 600);
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  /* Transition on the BASE rule so no hover block can drop transform from the list. */
  transition:
    transform var(--equinet-motion-duration, 0.3s) var(--equinet-motion-ease, ease-in-out),
    background-color var(--equinet-motion-duration, 0.3s) var(--equinet-motion-ease, ease-in-out),
    border-color var(--equinet-motion-duration, 0.3s) var(--equinet-motion-ease, ease-in-out),
    border-radius var(--equinet-motion-duration, 0.3s) var(--equinet-motion-ease, ease-in-out),
    box-shadow var(--equinet-motion-duration, 0.3s) var(--equinet-motion-ease, ease-in-out);
}

/* Hover / keyboard parity — default theme "dark" (button on a light ground) */
.pricing-hero-banner .btn-primary:hover,
.pricing-hero-banner .btn-primary:focus-visible {
  background-color: var(--equinet-btn-fill--primary--hover-dark, #D04F14) !important;
  color: var(--equinet-btn-label, #FFFFFF) !important;
  border-radius: var(--equinet-btn-radius--hover, 8px);
  box-shadow: var(--equinet-shadow-btn--primary--hover-dark, -6.88px 7.76px 19.53px rgba(208, 79, 20, 0.2));
  text-decoration: none !important;
}

/* button_hover_theme = light (button on a dark ground) */
.pricing-hero-banner.pricing-hero-banner--hover-light .btn-primary:hover,
.pricing-hero-banner.pricing-hero-banner--hover-light .btn-primary:focus-visible {
  background-color: var(--equinet-btn-fill--primary--hover-light, #F5844D) !important;
  box-shadow: var(--equinet-shadow-btn--primary--hover-light, -6.88px 7.76px 19.53px rgba(224, 103, 48, 0.2));
}

.pricing-hero-banner .btn-primary:focus { outline: none; }
.pricing-hero-banner .btn-primary:focus-visible {
  outline: 2px solid var(--equinet-color-navy, #00426C);
  outline-offset: 3px;
}

.pricing-hero-banner .pricing-hero-banner__btn-label {
  color: inherit;
}
.pricing-hero-banner .pricing-hero-banner__btn-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 15.627px;                 /* ArrowRight bbox width */
  height: 13.129px;                /* ArrowRight bbox height */
  color: inherit;
}
.pricing-hero-banner .pricing-hero-banner__btn-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;              /* exported fill "white" → currentColor */
}


/* --------------------------------------------------------------------------
   6. TEXTUAL BUTTON — .button_textual
      label x717.5, 167.97 kerned → 885.47; icon (stroke-inclusive) x897.5
      → gap 12.03 → 12. 56px tall so it shares the primary's centre line
      (both centred on y381) and gives a full-size touch target.
   -------------------------------------------------------------------------- */
.pricing-hero-banner .pricing-hero-banner__text-link,
.pricing-hero-banner .pricing-hero-banner__text-link:link,
.pricing-hero-banner .pricing-hero-banner__text-link:visited,
.pricing-hero-banner .pricing-hero-banner__text-link:hover,
.pricing-hero-banner .pricing-hero-banner__text-link:active,
.pricing-hero-banner .pricing-hero-banner__text-link:focus-visible {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--equinet-space-xs, 12px);
  height: var(--equinet-btn-height, 56px);
  margin: 0;
  padding: 0;
  background: none !important;
  color: var(--equinet-btn-label--textual, #242630) !important; /* SVG label fill #242630 */
  font-family: var(--equinet-font-body, 'Myriad Pro', 'Source Sans 3', sans-serif);
  font-size: var(--equinet-fontsize-btn, 16px);
  font-weight: var(--equinet-fontweight-btn, 600);
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}
.pricing-hero-banner .pricing-hero-banner__text-link:focus { outline: none; }
.pricing-hero-banner .pricing-hero-banner__text-link:focus-visible {
  outline: 2px solid var(--equinet-color-navy, #00426C);
  outline-offset: 3px;
  border-radius: 2px;
}
.pricing-hero-banner .pricing-hero-banner__text-link-label { color: inherit; }
.pricing-hero-banner .pricing-hero-banner__text-link-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 16px;                     /* 14×14 geometry + 2px stroke (1px each side) */
  height: 16px;
  color: inherit;
  transition:
    transform var(--equinet-motion-duration, 0.3s) var(--equinet-motion-ease, ease-in-out),
    color var(--equinet-motion-duration, 0.3s) var(--equinet-motion-ease, ease-in-out);
}
.pricing-hero-banner .pricing-hero-banner__text-link-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;            /* exported stroke #242630 → currentColor (state inversion) */
  stroke-width: var(--equinet-icon-stroke, 2);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pricing-hero-banner .pricing-hero-banner__text-link:hover .pricing-hero-banner__text-link-icon,
.pricing-hero-banner .pricing-hero-banner__text-link:focus-visible .pricing-hero-banner__text-link-icon {
  color: var(--equinet-btn-icon--textual--hover, #E06730);
}


/* --------------------------------------------------------------------------
   7. CARDS — card-Repeater
      D: three 356×254 rx8 rects at x394 / 782 / 1170 → gap 782 − 750 = 32.
      Rows (icon / eyebrow / cost / description) sit at identical y in every
      card → locked with CSS subgrid, never margins between siblings.
   -------------------------------------------------------------------------- */
.pricing-hero-banner .pricing-hero-banner__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: var(--equinet-space-lg, 32px);      /* M card tops 572 / 858 / 1144, bottoms 826 / 1112 → 32 */
  column-gap: var(--equinet-space-lg, 32px);
  margin: 32px 0 0;                /* D cards y441 − CTA bottom y409 = 32 (M 572 − 540 = 32) */
  padding: 0;
  list-style: none;
}

.pricing-hero-banner .pricing-hero-banner__card {
  position: relative;              /* anchors the stretched card link's ::after */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 254px;               /* D rect height 254; M cards also measure 254 */
  margin: 0;
  padding: 32px 32px 31px;         /* icon frame x426 − card x394 = 32; frame y473 − card y441 = 32;
                                      bottom 695 − desc bottom 663.70 = 31.3 → 31. (32 would make the two-line
                                      card 254.6 against the 254 frame: 32+32+28+69.6+16.9+44+32.) */
  list-style: none;
  border-radius: var(--equinet-border-radius-lg, 8px);       /* D rect rx 8 (cagr cards are 7 — this comp is 8) */
  background-image: linear-gradient(
    180deg,
    var(--equinet-color-surface, #FFFFFF),
    var(--equinet-color-surface--alt, #F6F5F5)
  );                               /* paint1–3: vertical, white → #F6F5F5 */
  box-shadow: var(--equinet-shadow-card--passive, 1px 1px 10px rgba(0, 0, 0, 0.13));
                                   /* filter2/4/6: dx1 dy1 std5 → blur 10, α.13. Promoted 2026-11-12;
                                      NOT --equinet-shadow-card (5px blur). */
  /* Declared on the BASE rule so the grow eases in AND out (a hover-only transition
     would snap on the way back). Transform on the standard 0.3s ease-in-out; shadow
     keeps the slower cagr-style settle. */
  transition:
    transform var(--equinet-motion-duration, 0.3s) var(--equinet-motion-ease, ease-in-out),
    box-shadow var(--equinet-motion-duration--slow, 0.6s) var(--equinet-motion-ease, ease-in-out);
}

/* Hover shadow: pointer devices only. :focus-within mirrors it for keyboard parity
   once the card carries a link. */
@media (hover: hover) {
  .pricing-hero-banner .pricing-hero-banner__card:hover,
  .pricing-hero-banner .pricing-hero-banner__card:focus-within {
    /* Resting edge kept, larger soft drop shadow layered on top */
    box-shadow:
      var(--equinet-shadow-card--passive, 1px 1px 10px rgba(0, 0, 0, 0.13)),
      var(--equinet-shadow-card--hover, -4px 34px 34px rgba(0, 0, 0, 0.07));
  }
}

/* cards_link — ONE link per card. The anchor sits on the eyebrow (or the price when the eyebrow is hidden);
   its ::after stretches over the whole card. Colours are design-locked, so every state is pinned
   (theme a:link / a:visited / a:hover must not recolour or underline the label). */
.pricing-hero-banner .pricing-hero-banner__card--linked { cursor: pointer; }
.pricing-hero-banner .pricing-hero-banner__card-link,
.pricing-hero-banner .pricing-hero-banner__card-link:link,
.pricing-hero-banner .pricing-hero-banner__card-link:visited,
.pricing-hero-banner .pricing-hero-banner__card-link:hover,
.pricing-hero-banner .pricing-hero-banner__card-link:active,
.pricing-hero-banner .pricing-hero-banner__card-link:focus-visible {
  color: inherit !important;
  font: inherit;
  letter-spacing: inherit;
  text-shadow: inherit;
  text-transform: inherit;
  text-decoration: none !important;
  background: none;
}
.pricing-hero-banner .pricing-hero-banner__card-link::after {
  content: "";
  position: absolute;
  inset: 0;                                     /* covers the whole card (position: relative above) */
  border-radius: var(--equinet-border-radius-lg, 8px);   /* same rx as the card */
}
.pricing-hero-banner .pricing-hero-banner__card-link:focus { outline: none; }
.pricing-hero-banner .pricing-hero-banner__card-link:focus-visible::after {
  outline: 2px solid var(--equinet-color-navy, #00426C);  /* ring drawn around the CARD, not the label */
  outline-offset: 3px;
}
/* Screen-reader-only text (new-tab notice). clip-path clipping, no overflow rule needed. */
.pricing-hero-banner .pricing-hero-banner__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* graphic-Icon — 32px frame, Lucide geometry on a 24 canvas (×1.333) */
.pricing-hero-banner .pricing-hero-banner__card-icon {
  display: block;
  width: 32px;                     /* frame 32: copy-plus geometry x816.67 − 2.67 = 814 → 846 */
  height: 32px;
  margin: 0;
  color: var(--equinet-color-orange--dark, #D04F14);
}
.pricing-hero-banner .pricing-hero-banner__card-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;            /* exported stroke #D04F14 → currentColor */
  stroke-width: var(--equinet-icon-stroke--substitute, 1); /* 1 on 24 = 1.333 at 32, as exported */
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Placeholder for a hidden/empty row so every card keeps the same row order */
.pricing-hero-banner .pricing-hero-banner__card-row-spacer {
  display: block;
  height: 0;
  margin: 0;
  padding: 0;
}

/* eyebrow-Toggle-Color — colour from the module-level STYLE field */
.pricing-hero-banner .pricing-hero-banner__card-eyebrow {
  margin: 12px 0 0;                /* line-box top 528.92 − 12.29 + 0.54 = 517.18; − frame bottom 505 = 12.2 → 12 */
  padding: 0;
  color: var(--pricing-hero-banner-eyebrow-color, var(--equinet-color-navy, #00426C));
  font-family: var(--equinet-font-body, 'Myriad Pro', 'Source Sans 3', sans-serif);
  font-size: var(--equinet-fontsize-kicker, 12px);
  font-weight: var(--equinet-fontweight-kicker, 700);        /* "bold" verified 700 on 3 runs: ink 144/146/83 vs 145.0/147.4/84.8 */
  letter-spacing: var(--equinet-letterspacing-kicker, 0.2em);
  line-height: 16px;
  text-transform: uppercase;
}

/* cost › price-Text + perMonth-Toggle */
.pricing-hero-banner .pricing-hero-banner__card-cost {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;           /* price 592.62 / suffix 591.48 — 1.1px export drift, baseline-locked */
  column-gap: 10px;                /* CSS boxes with PROPORTIONAL old-style figures (shaped): 615 − (426 + 178.28) = 10.72;
                                      1003 − (814 + 178.28) = 10.72; 1362 − (1202 + 149.80) = 10.20
                                      → 10 minimises max error (0.72). */
  row-gap: 4px;
  margin: 12px 0 0;                /* Figma line-height 120% = 57.6px box. Baseline sits (57.6 − 65.37)/2 + 51.30 = 47.42
                                      below the box top; price baseline 592.621 − 47.42 = 545.20 box top;
                                      − eyebrow box bottom 533.18 = 12.0 → 12 */
  padding: 0;
}
.pricing-hero-banner .pricing-hero-banner__card-price {
  /* Figma price-Text, verbatim: Open Sans 48 / 800, line-height 120% (57.6px), letter-spacing −1.92px,
     uppercase, text-shadow −2px 2px 4px α.15, font-variant-numeric: oldstyle-nums proportional-nums.
     Family / weight / tracking / case / figures are design constants with no editor field → !important. */
  color: var(--equinet-color-heading, #242630);
  font-family: "Equinet Figures", var(--equinet-font-heading, 'Open Sans', sans-serif) !important;
                                   /* "Equinet Figures" = Open Sans 800 figures subset (module.html @font-face),
                                      then the theme's Open Sans. */
  font-size: var(--equinet-fontsize-price, 48px);
  font-weight: var(--equinet-fontweight-display, 800) !important;
  line-height: 1.2;                /* Figma 120% = 57.6px. Module literal — no line-height token for it
                                      (PROMOTION CANDIDATE). */
  letter-spacing: var(--equinet-letterspacing-caps, -0.04em) !important;
                                   /* Figma −1.92px = −0.04em of 48px. DUP VALUE: same as
                                      --equinet-letterspacing-caps; --equinet-letterspacing-price (−0.05em)
                                      disagrees with the Figma code — logged in tokens.css. */
  text-transform: uppercase !important;
  text-shadow: var(--equinet-shadow-heading, -2px 2px 4px rgba(0, 0, 0, 0.15));
                                   /* Figma −2px 2px 4px rgba(0,0,0,.15) = --equinet-shadow-heading */
  font-variant-numeric: oldstyle-nums proportional-nums;
  font-feature-settings: "onum" 1, "pnum" 1;
                                   /* same two features again, so a theme font-feature-settings
                                      (e.g. "lnum") inherited from body/p cannot override them.
                                      Shaped widths @48px/−1.92px: £72,000 178.28 · £10,000 178.70 ·
                                      £3,500 149.80. */
  white-space: nowrap;
}
.pricing-hero-banner .pricing-hero-banner__card-suffix {
  color: var(--equinet-color-heading, #242630);
  font-family: var(--equinet-font-body, 'Myriad Pro', 'Source Sans 3', sans-serif);
  font-size: var(--equinet-fontsize-small, 14px);
  font-weight: var(--equinet-fontweight-body, 400);
  line-height: var(--equinet-lineheight-body-sm, 20px);
  white-space: nowrap;
}

/* description (card) */
.pricing-hero-banner .pricing-hero-banner__card-description {
  margin: 17px 0 0;                /* desc line-box top 635.688 − 16.384 + 0.392 = 619.70; − price box bottom
                                      (545.20 + 57.6 = 602.80) = 16.9 → 17 */
  padding: 0;
  color: var(--equinet-color-body, #3B3F51);
  font-family: var(--equinet-font-body, 'Myriad Pro', 'Source Sans 3', sans-serif);
  font-size: var(--equinet-fontsize-body, 16px);
  font-weight: var(--equinet-fontweight-body, 400);
  line-height: var(--equinet-lineheight-body, 1.375);       /* card 2: 635.688 → 657.688 = 22 */
  text-wrap: pretty;               /* avoids a one-word last line; see Step 2 note on card 2's wrap */
}


/* --------------------------------------------------------------------------
   8. FOOTER — footnote + second primary button
   -------------------------------------------------------------------------- */
.pricing-hero-banner .pricing-hero-banner__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;         /* footnote line-box top 727.61 ≈ button top 727 */
  justify-content: space-between;
  column-gap: var(--equinet-space-lg, 32px);
  row-gap: var(--equinet-space-md, 24px);
  margin: 32px 0 0;                /* footnote top 741.977 − 14.336 − 0.032 = 727.61; − cards bottom 695 = 32.6 → 32 */
  padding: 0;
}
.pricing-hero-banner .pricing-hero-banner__footnote {
  flex: 0 1 475px;
  max-width: 475px;                /* must fit L1 461.41, must break before L1 + "own" 489.47 → 475 */
  margin: 0;
  padding: 0;
  color: var(--equinet-color-body, #3B3F51);
  font-family: var(--equinet-font-body, 'Myriad Pro', 'Source Sans 3', sans-serif);
  font-size: var(--equinet-fontsize-small, 14px);
  font-weight: var(--equinet-fontweight-body, 400);
  line-height: var(--equinet-lineheight-body-sm, 20px);     /* baselines 741.977 → 761.977 = 20 */
}
.pricing-hero-banner .pricing-hero-banner__footnote :where(p, li) {
  margin: 0;
  padding: 0;
  /* Rich-text <p>/<li> are emitted by the editor without our class, so a theme
     `p { font-size: 16px }` beats inheritance. Re-inherit every type property
     explicitly (live render 2026-11-12: footnote at 16px, 441.8px line vs 387.6 @14). */
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: var(--equinet-color-body, #3B3F51);
}
.pricing-hero-banner .pricing-hero-banner__footnote :where(p + p) { margin-top: 8px; }
.pricing-hero-banner .pricing-hero-banner__footnote a {
  color: var(--equinet-color-navy, #00426C);
  text-decoration: underline;
}
.pricing-hero-banner .pricing-hero-banner__footer .pricing-hero-banner__actions--footer {
  margin: 0 0 0 auto;              /* right-aligned: rect x1237 + 289 = 1526 = content right edge */
}


/* --------------------------------------------------------------------------
   9. DESKTOP (≥1024) — three columns, rows locked by subgrid.
      At 1024 each card is (984 − 64) / 3 = 306.7 wide → 242.7 content;
      widest cost row "£72,000" 178.28 + 10 + "Once off" 48.4 = 236.7 fits.
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .pricing-hero-banner .pricing-hero-banner__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto auto auto minmax(92.4px, auto);
                                 /* icon / eyebrow / cost / description rows.
                                    A subgrid's own min-height does not feed track sizing, so the
                                    254 rect height is carried by the LAST row instead:
                                    254 − (32 pad + 32 icon) − (12 + 16 eyebrow) − (12 + 57.6 cost) = 92.4
                                    (= 17 desc margin + text + 31 bottom pad). Extra space lands
                                    below the copy; the rows above never spread. */
    row-gap: 0;                                /* gaps live inside the cards (subgrid inherits this) */
  }
  /* Any 4th+ card starts a new band 32px below (D card gap) */
  .pricing-hero-banner .pricing-hero-banner__cards .pricing-hero-banner__card:nth-child(n + 4) {
    margin-top: var(--equinet-space-lg, 32px);
  }
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1024px) {
    .pricing-hero-banner .pricing-hero-banner__cards .pricing-hero-banner__card {
      display: grid;
      grid-row: span 4;
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: subgrid;
      row-gap: 0;
      justify-items: start;
      align-items: start;
    }
  }
}


/* --------------------------------------------------------------------------
   10. MOBILE (≤767) — per module__pricing-hero-banner-Mobile.png (420 wide)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .pricing-hero-banner {
    padding-top: min(var(--pricing-hero-banner-pad-top, 72px), 48px);       /* M pill y48 */
    padding-bottom: min(var(--pricing-hero-banner-pad-bottom, 96px), 48px); /* M 1610 − button bottom 1562 */
  }

  /* Pill spans the full content width with a centred label (M rect x20–400) */
  .pricing-hero-banner .pricing-hero-banner__pill {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .pricing-hero-banner .pricing-hero-banner__heading {
    margin-top: 20px;              /* M line-box top 134 − 42.75 + 9.24 = 100.49; − pill bottom 80 = 20.5 → 20 */
    font-size: var(--equinet-fontsize-h2, 40px);
                                   /* M ink "WHAT THE" 189 = 189.1 shaped @40; cap 29 rows */
  }

  .pricing-hero-banner .pricing-hero-banner__lead {
    max-width: none;
    font-size: var(--equinet-fontsize-h6, 18px);
                                   /* DUP VALUE: M lead 18px (ink 367 = 367.6 shaped @18). Same value as
                                      --equinet-fontsize-h6; referenced rather than minting a synonym. */
  }
  .pricing-hero-banner .pricing-hero-banner__description { max-width: none; }

  /* Mobile CTA rule: filled = full width, textual = centred at natural width.
     Stack gap 16: M primary bottom 468 → textual box top 484 (56-tall box centred on arrow y512). */
  .pricing-hero-banner .pricing-hero-banner__actions {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    row-gap: var(--equinet-space-sm, 16px);
  }
  .pricing-hero-banner .pricing-hero-banner__actions .btn-primary {
    width: 100%;
    justify-content: center;
  }
  .pricing-hero-banner .pricing-hero-banner__actions .pricing-hero-banner__text-link {
    align-self: center;
    width: auto;
  }

  .pricing-hero-banner .pricing-hero-banner__footer {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    row-gap: var(--equinet-space-md, 24px);   /* M footnote bottom 1482.8 → button 1506 = 23.2 → 24 */
    margin-top: var(--equinet-space-md, 24px);/* M footnote top 1422.9 − card bottom 1398 = 24.9 → 24 */
  }
  .pricing-hero-banner .pricing-hero-banner__footnote {
    flex: 0 0 auto;
    max-width: none;
  }
  .pricing-hero-banner .pricing-hero-banner__footer .pricing-hero-banner__actions--footer {
    margin-left: 0;
  }
}

/* Very narrow phones: the primary's hugged width (≈289) exceeds a 280px
   content box at 320 viewports. Let the label wrap instead of overflowing. */
@media (max-width: 359px) {
  /* a.btn-primary (0,3,1) out-specifies the :link/:visited base (0,3,0) */
  .pricing-hero-banner .pricing-hero-banner__actions a.btn-primary {
    height: auto;
    min-height: var(--equinet-btn-height, 56px);
    padding-top: 12px;
    padding-bottom: 12px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
}


/* --------------------------------------------------------------------------
   11. MOTION — both halves required.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .pricing-hero-banner .pricing-hero-banner__card:hover,
  .pricing-hero-banner .pricing-hero-banner__card:focus-within {
    transform: scale(var(--pricing-hero-banner-card-scale, 1.02));
  }
}
@media (prefers-reduced-motion: no-preference) {
  .pricing-hero-banner .btn-primary:hover,
  .pricing-hero-banner .btn-primary:focus-visible {
    transform: scale(var(--equinet-btn-scale--hover, 1.03));
  }
  .pricing-hero-banner .btn-primary:active {
    transform: scale(var(--equinet-btn-scale--active, 0.99));
  }
  .pricing-hero-banner .pricing-hero-banner__text-link:hover .pricing-hero-banner__text-link-icon,
  .pricing-hero-banner .pricing-hero-banner__text-link:focus-visible .pricing-hero-banner__text-link-icon {
    transform: translateX(var(--equinet-motion-travel--arrow, 16px)); /* Figma default x190 → hover x206 */
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-hero-banner .btn-primary,
  .pricing-hero-banner .btn-primary:hover,
  .pricing-hero-banner .btn-primary:focus-visible,
  .pricing-hero-banner .btn-primary:active,
  .pricing-hero-banner .pricing-hero-banner__text-link-icon,
  .pricing-hero-banner .pricing-hero-banner__text-link:hover .pricing-hero-banner__text-link-icon,
  .pricing-hero-banner .pricing-hero-banner__text-link:focus-visible .pricing-hero-banner__text-link-icon,
  .pricing-hero-banner .pricing-hero-banner__card,
  .pricing-hero-banner .pricing-hero-banner__card:hover,
  .pricing-hero-banner .pricing-hero-banner__card:focus-within {
    transform: none;
    transition: none;
  }
  .pricing-hero-banner .pricing-hero-banner__parallax-bg {
    transform: none !important;    /* in case the preference flips mid-session */
    will-change: auto;
  }
}
