/* ==========================================================================
   components.css — reusable, self-contained UI pieces.

   Each block here pairs with a template partial in web/templates/web/partials/
   and must work anywhere on any page. A rule that only makes sense on one page
   belongs in pages/ instead.

   Accent-aware components read --hs-accent / --hs-accent-ink / --hs-accent-tint,
   set by an .hs-accent-* class from tokens.css. That is what lets one card
   component render in four colourways without four sets of rules.
   ========================================================================== */

/* --- Icon ----------------------------------------------------------------
   A default size for every inline SVG.

   There was none, and `_icon.html` sets no width/height on the element — so an
   icon in a context with no container rule fell back to the browser's default
   replaced-element size and rendered enormous. The 390px screenshot of the
   homepage showed it plainly: the arrow inside "Explore our platforms" was
   several times the height of its own label.

   1em ties an icon to the text beside it, which is what an icon in a label
   should do. Container rules (`.hs-platform-card__icon svg` and friends) are
   more specific and still win where a deliberate size is wanted. */
.hs-icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

/* --- Button --------------------------------------------------------------
   .hs-btn plus one variant. Renders as <a> or <button>; both get the same box
   because a control should not change shape based on its element. */
.hs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--hs-space-2);
  /* Comfortably above the 44px touch-target minimum at default font size. */
  padding: var(--hs-space-3) var(--hs-space-6);
  border: 2px solid transparent;
  border-radius: var(--hs-radius-pill);
  font-family: inherit;
  font-size: var(--hs-text-base);
  font-weight: var(--hs-weight-semibold);
  line-height: 1.4;
  text-align: center;
  /* A button sizes to its label. Without this the flex item shrinks and the
     label wraps mid-phrase — "Explore our / platforms" over three lines. */
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--hs-transition), background-color var(--hs-transition),
              border-color var(--hs-transition), color var(--hs-transition);
}
.hs-btn:hover { transform: translateY(-2px); }

.hs-btn--primary {
  background-color: var(--hs-primary);
  border-color: var(--hs-primary);
  color: var(--hs-text-on-dark-strong);
  box-shadow: var(--hs-shadow-cta);
}
.hs-btn--primary:hover {
  background-color: var(--hs-primary-hover);
  border-color: var(--hs-primary-hover);
  color: var(--hs-text-on-dark-strong);
}

/* Navy — the anchor colour. For CTAs that sit on a light or warm ground where
   the primary aqua would compete with the section's own accent. */
.hs-btn--navy {
  background-color: var(--hs-navy);
  border-color: var(--hs-navy);
  color: var(--hs-text-on-dark-strong);
}
.hs-btn--navy:hover {
  background-color: var(--hs-navy-soft);
  border-color: var(--hs-navy-soft);
  color: var(--hs-text-on-dark-strong);
}

/* Solid light button for use on navy. Coral is deliberately NOT a button fill
   anywhere: it is the warmth and emphasis colour, and making it the default
   action would spend it. */
.hs-btn--light {
  background-color: var(--hs-surface);
  border-color: var(--hs-surface);
  color: var(--hs-navy);
}
.hs-btn--light:hover { background-color: var(--hs-surface-muted); border-color: var(--hs-surface-muted); }

.hs-btn--secondary {
  background-color: transparent;
  border-color: var(--hs-border-strong);
  color: var(--hs-text-strong);
}
.hs-btn--secondary:hover { border-color: var(--hs-navy); color: var(--hs-navy); }

.hs-btn--on-dark {
  background-color: transparent;
  border-color: var(--hs-border-on-dark);
  color: var(--hs-text-on-dark-strong);
}
.hs-btn--on-dark:hover {
  background-color: var(--hs-surface);
  border-color: var(--hs-surface);
  color: var(--hs-navy);
}

.hs-btn--sm { padding: var(--hs-space-2) var(--hs-space-5); font-size: var(--hs-text-sm); }

/* The arrow button — haresign.net's primary call to action, and the one control
   on the site people recognise before they read it. A pill with a white disc at
   the trailing edge; on hover the disc reappears at the leading edge and the
   label slides across to it.

   Aqua, and it names its own colour rather than reading --hs-primary. That was
   once a deliberate exception — this button was aqua while the hierarchy was
   teal — and it is now simply the same colour arrived at twice, since primary
   is aqua too. It stays literal: this is the established colour of that control
   on the production site, and it should not follow the hierarchy if the
   hierarchy ever moves again.

   The two discs are decorative and marked aria-hidden in the partial: the label
   is the accessible name, and a screen reader gaining "arrow, arrow" from a
   button would be noise. Under prefers-reduced-motion the token durations
   collapse and the hover state snaps rather than slides. */
.hs-btn--arrow {
  position: relative;
  overflow: hidden;
  /* Room for the disc at the trailing edge, so the label never sits under it. */
  padding: var(--hs-space-3) 4.25rem var(--hs-space-3) var(--hs-space-8);
  background-color: var(--hs-aqua);
  border-color: var(--hs-aqua);
  color: var(--hs-text-on-dark-strong);
}
.hs-btn--arrow:hover {
  background-color: var(--hs-aqua-deep);
  border-color: var(--hs-aqua-deep);
  /* Restated: base.css `a:hover` outranks .hs-btn--arrow and would turn the label aqua-deep, the
     same colour as this ground, so the label vanished on hover. */
  color: var(--hs-text-on-dark-strong);
}
.hs-btn__arrow {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--hs-surface);
  color: var(--hs-aqua);
  font-size: 1.0625rem;
  transition: transform var(--hs-transition);
}
.hs-btn__arrow--lead  { left: 0.3125rem;  transform: translateY(-50%) scale(0); }
.hs-btn__arrow--trail { right: 0.3125rem; transform: translateY(-50%) scale(1); }
.hs-btn__label { transition: transform var(--hs-transition); }
.hs-btn--arrow:hover .hs-btn__arrow--lead  { transform: translateY(-50%) scale(1); }
.hs-btn--arrow:hover .hs-btn__arrow--trail { transform: translateY(-50%) scale(0); }
.hs-btn--arrow:hover .hs-btn__label { transform: translateX(1.75rem); }

/* The small size is the header's. The disc has to shrink with the pill or it
   stands taller than the control it sits inside — which is what it did, and it
   read as a white circle stuck to the end of the button rather than as part of
   it. Padding follows, or the label runs underneath the disc. */
.hs-btn--arrow.hs-btn--sm {
  padding: var(--hs-space-2) 3.25rem var(--hs-space-2) var(--hs-space-5);
}
.hs-btn--arrow.hs-btn--sm .hs-btn__arrow {
  width: 2rem;
  height: 2rem;
  font-size: 0.875rem;
}
.hs-btn--arrow.hs-btn--sm .hs-btn__arrow--lead  { left: 0.25rem; }
.hs-btn--arrow.hs-btn--sm .hs-btn__arrow--trail { right: 0.25rem; }
.hs-btn--arrow.hs-btn--sm:hover .hs-btn__label { transform: translateX(1.25rem); }

/* On a dark ground the fill inverts: white pill, aqua discs. Used where the
   button sits on navy and an aqua fill would sink into it. */
.hs-btn--arrow-light {
  background-color: var(--hs-surface);
  border-color: var(--hs-surface);
  color: var(--hs-aqua);
}
.hs-btn--arrow-light:hover { background-color: var(--hs-surface); border-color: var(--hs-surface); color: var(--hs-aqua); }
.hs-btn--arrow-light .hs-btn__arrow { background-color: var(--hs-aqua); color: var(--hs-text-on-dark-strong); }

/* Unavailable action. Rendered as a <button disabled>, never as a dead <a>:
   a link that goes nowhere is a broken promise, a disabled control is a
   statement. aria-describedby points at the "Coming soon" badge so screen
   reader users get the reason, not just the disabled state. */
.hs-btn[disabled],
.hs-btn--unavailable {
  background-color: transparent;
  border-color: var(--hs-border);
  color: var(--hs-text-muted);
  cursor: not-allowed;
  box-shadow: none;
}
.hs-btn[disabled]:hover,
.hs-btn--unavailable:hover { transform: none; }

/* --- Badge --------------------------------------------------------------- */
.hs-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--hs-space-2);
  padding: 0.125rem var(--hs-space-2);
  border-radius: var(--hs-radius-pill);
  font-size: 0.6875rem;              /* 11px — a note, not a heading */
  font-weight: var(--hs-weight-semibold);
  letter-spacing: 0.04em;
  white-space: nowrap;
  background-color: var(--hs-surface-sunken);
  color: var(--hs-text-muted);
}
.hs-badge--accent {
  /* Outlined rather than tinted: coral ink on its own tint is 4.25:1, under AA for text this small.
     On white every accent's ink clears 4.5:1 (coral 4.97, teal 4.95, aqua 6.55, navy). */
  background-color: var(--hs-surface);
  box-shadow: inset 0 0 0 1px var(--hs-accent);
  color: var(--hs-accent-ink);
}
.hs-badge--environment { background-color: var(--hs-tint-teal); color: var(--hs-teal-deep); }
.hs-badge--on-dark {
  background-color: rgba(255, 255, 255, 0.10);
  color: var(--hs-text-on-dark-strong);
}

/* --- Eyebrow ------------------------------------------------------------- */
/* --- Eyebrow -------------------------------------------------------------
   The two-diamond mark plus a coloured label — haresign.net's section opener,
   and the single most repeated piece of its visual language: it heads every
   section of the production site.

   This was a 26px rule and an uppercase, letterspaced label. Both were fine and
   neither was Haresign, so the mark and the sentence-case coloured label are
   taken as they are on the live site.

   Built from the two pseudo-elements rather than an added <span>, because
   `.hs-eyebrow` appears bare in eleven templates and none of them should have
   to carry decoration in their markup. `::after` is a flex item like any other,
   so `order` puts both diamonds in front of the text. Colours come from tokens,
   which a background-image data URI could not do. */
.hs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--hs-space-2);
  margin-bottom: var(--hs-space-4);
  color: var(--hs-aqua);
  font-size: var(--hs-text-sm);
  font-weight: var(--hs-weight-bold);
}
.hs-eyebrow::before,
.hs-eyebrow::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 1px;
  transform: rotate(45deg);
}
/* Negative gap between the two diamonds so they overlap slightly, as the mark
   does — they read as one glyph rather than two dots. */
.hs-eyebrow::before { order: -2; background-color: var(--hs-teal); margin-right: -0.625rem; }
.hs-eyebrow::after  { order: -1; background-color: var(--hs-aqua); }

/* On navy, aqua is one dark blue on another: the label goes bright teal and the
   trailing diamond white, so the mark keeps its two tones. */
.hs-section--inverse .hs-eyebrow,
.hs-ecosystem .hs-eyebrow { color: var(--hs-teal); }
.hs-section--inverse .hs-eyebrow::after,
.hs-ecosystem .hs-eyebrow::after { background-color: var(--hs-text-on-dark-strong); }

/* --- Card (shared shell) -------------------------------------------------
   .hs-card is the surface; .hs-platform-card and .hs-article-card add their
   own content rules on top rather than redefining the box. */
.hs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--hs-surface);
  border: 1px solid var(--hs-border);
  border-radius: var(--hs-radius-md);
  box-shadow: var(--hs-shadow-md);
  overflow: hidden;
  transition: transform var(--hs-transition), box-shadow var(--hs-transition),
              border-color var(--hs-transition);
}
.hs-card--interactive:hover {
  /* Restrained: a 6px jump on four large cards read as fidgety. */
  transform: translateY(-3px);
  box-shadow: var(--hs-shadow-lg);
}

/* --- Platform card -------------------------------------------------------
   Compact, after Bixoo's icon-feature box: an icon tile, a title with a short
   accent rule, one sentence, and one action or one status. No feature list and
   no hostname line — see _platform_card.html for why.

   The accent theming is unchanged: `.hs-accent-*` on the card sets --hs-accent
   and everything inside reads it, so four colourways need no per-colour rule.

   Layout steps with the grid (pages/home.css): stacked inside a quarter-width
   column on desktop and a half-width one on tablet, then icon-beside-text on
   phones, where a stacked card spends a whole row on a 56px tile. */
.hs-platform-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--hs-space-5);
  height: 100%;
  padding: var(--hs-space-7) var(--hs-space-6);
  background-color: var(--hs-surface);
  border: 1px solid var(--hs-border-subtle);
  border-radius: var(--hs-radius-md);
  box-shadow: var(--hs-shadow-sm);
  transition: transform var(--hs-transition), box-shadow var(--hs-transition),
              border-color var(--hs-transition);
}
/* The short accent rule along the top edge, as before: the eye meets the
   ecosystem first and the four colours second. */
.hs-platform-card::before {
  content: "";
  position: absolute;
  inset-block-start: -1px;
  inset-inline-start: var(--hs-space-6);
  width: 3.25rem;
  height: 4px;
  border-radius: 0 0 var(--hs-radius-pill) var(--hs-radius-pill);
  background-color: var(--hs-accent);
}
.hs-platform-card--live:hover,
.hs-platform-card--live:focus-within {
  transform: translateY(-3px);
  border-color: var(--hs-accent);
  box-shadow: var(--hs-shadow-md);
}

.hs-platform-card__icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--hs-radius-sm);
  background-color: var(--hs-accent-tint);
  color: var(--hs-accent-ink);
}
.hs-platform-card__icon svg { width: 1.625rem; height: 1.625rem; }

.hs-platform-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}
/* Bixoo's feature-box title: 22px, weight 600, with the two-tone rule under
   it that haresign.net puts beneath every card heading. */
.hs-platform-card__title {
  margin-bottom: var(--hs-space-3);
  font-size: 1.375rem;
  font-weight: var(--hs-heading-section-weight);
  line-height: 1.3;
}
.hs-platform-card__title::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-top: var(--hs-space-3);
  border-radius: 2px;
  background-color: var(--hs-accent);
}
.hs-platform-card__blurb {
  margin-bottom: var(--hs-space-5);
  color: var(--hs-text);
  font-size: var(--hs-text-sm);
  line-height: 1.6;
}

/* The one action, pushed to the foot so the four line up whatever their copy.
   Its ::after covers the card, so the whole card is the target while the
   link's own words remain its accessible name. */
.hs-platform-card__cta,
.hs-platform-card__status {
  margin-top: auto;
  margin-bottom: 0;
}
.hs-platform-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--hs-space-2);
  align-self: flex-start;
  min-height: 2.75rem;
  color: var(--hs-accent-ink);
  font-size: var(--hs-text-sm);
  font-weight: var(--hs-weight-bold);
}
.hs-platform-card__cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.hs-platform-card__cta:hover { color: var(--hs-accent-ink); }
/* The focus ring belongs on the card the link now covers, not on a small
   label at its foot. */
.hs-platform-card__cta:focus-visible { outline: none; }
.hs-platform-card__cta:focus-visible::after {
  outline: var(--hs-focus-ring-width) solid var(--hs-focus-ring);
  outline-offset: var(--hs-focus-ring-offset);
}

/* The arrow disc, filling with the accent on hover as before. */
.hs-platform-card__cta svg {
  width: 1.875rem;
  height: 1.875rem;
  padding: 0.5rem;
  border-radius: 50%;
  background-color: var(--hs-accent-tint);
  transition: background-color var(--hs-transition), color var(--hs-transition);
}
.hs-platform-card--live:hover .hs-platform-card__cta svg {
  background-color: var(--hs-accent);
  color: var(--hs-text-on-dark-strong);
}

/* Not live: one quiet status in the slot the link would occupy. Text, not a
   control and not a pill beside a greyed-out label — there is nothing to do,
   and the card says so once. */
.hs-platform-card__status {
  display: inline-flex;
  align-items: center;
  gap: var(--hs-space-2);
  min-height: 2.75rem;
  color: var(--hs-text-muted);
  font-size: var(--hs-text-sm);
  font-weight: var(--hs-weight-semibold);
}
.hs-platform-card__status::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: 2px solid var(--hs-accent);
}

/* Phones: icon beside the text, so each card is a row rather than a stack. */
@media (max-width: 767.98px) {
  .hs-platform-card {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--hs-space-4);
    padding: var(--hs-space-6) var(--hs-space-5) var(--hs-space-4);
  }
  .hs-platform-card::before { inset-inline-start: var(--hs-space-5); }
  .hs-platform-card__icon { width: 3rem; height: 3rem; }
  .hs-platform-card__icon svg { width: 1.375rem; height: 1.375rem; }
  .hs-platform-card__title { font-size: 1.25rem; }
  .hs-platform-card__title::after { margin-top: var(--hs-space-2); }
  .hs-platform-card__blurb { margin-bottom: var(--hs-space-2); }
}

/* --- Article card -------------------------------------------------------- */
.hs-article-card { padding: var(--hs-space-5) var(--hs-space-6); }
.hs-article-card--link:hover {
  border-color: var(--hs-aqua);
  transform: translateX(4px);
}
.hs-article-card__title { font-size: var(--hs-text-lg); margin: var(--hs-space-2) 0 0; }
.hs-article-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--hs-space-3);
  font-size: var(--hs-text-xs);
  font-weight: var(--hs-weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hs-text-muted);
}

/* The "Read the article" affordance. Always a <span> — the card itself is the
   link — so it needs its own hover hook rather than :hover on an anchor. */
.hs-article-card__more,
.hs-article-summary__more { margin-top: var(--hs-space-4); }
.hs-card--interactive:hover .hs-link-arrow svg { transform: translate(3px, -3px); }

/* --- Date chip -----------------------------------------------------------
   The day-over-month block on an article image, as the production blog cards
   carry. Decorative and aria-hidden: the same date is a <time> underneath. */
.hs-date-chip {
  position: absolute;
  left: var(--hs-space-5);
  bottom: var(--hs-space-5);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 3.75rem;
  padding: var(--hs-space-3) var(--hs-space-4);
  border-radius: var(--hs-radius-sm);
  background-color: var(--hs-surface);
  box-shadow: var(--hs-shadow-md);
  line-height: 1.1;
}
.hs-date-chip__day {
  font-family: var(--hs-font-display);
  font-size: var(--hs-text-xl);
  font-weight: var(--hs-weight-bold);
  color: var(--hs-navy);
}
.hs-date-chip__month {
  font-size: var(--hs-text-xs);
  font-weight: var(--hs-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hs-text-muted);
}

/* Featured variant — the lead article. */
.hs-article-card--featured { padding: 0; }
.hs-article-card--featured .hs-article-card__media {
  position: relative;   /* the date chip's containing block */
  aspect-ratio: 16 / 8;
  background: linear-gradient(135deg, var(--hs-navy) 0%, var(--hs-aqua) 100%);
}
.hs-article-card--featured .hs-article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hs-article-card--featured .hs-article-card__body {
  padding: var(--hs-space-6) var(--hs-space-8) var(--hs-space-8);
}
.hs-article-card--featured .hs-article-card__title {
  font-size: clamp(1.5rem, 2.5vw, 1.6875rem);
  margin-block: var(--hs-space-3);
}
.hs-article-card__summary { margin-bottom: 0; color: var(--hs-text); }

/* --- Link with an arrow --------------------------------------------------
   The recurring tertiary action: a text link that leads somewhere, used in the
   credibility section, the FAQ answers, the contact cards and after an article.
   Not a button — these are "and there is more over here", not the primary
   action of the block they sit in.

   The `--soon` variant is the same rule the whole site follows: a destination
   that does not exist yet is a label with a badge, never an anchor. */
.hs-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--hs-space-2);
  /* 24px minimum target (WCAG 2.2 SC 2.5.8). These are standalone actions, not
     words in a sentence, so the inline exception does not apply. */
  min-height: 1.5rem;
  color: var(--hs-primary);
  font-weight: var(--hs-weight-bold);
}
/* The arrow travels up and to the right, because that is the icon now: an
   arrow-up-right is haresign.net's link idiom, on every card and every "Learn
   more" it has. A horizontal nudge under a diagonal arrow reads as a glitch. */
.hs-link-arrow svg { width: 0.875rem; height: 0.875rem; transition: transform var(--hs-transition); }
.hs-link-arrow:hover svg { transform: translate(3px, -3px); }
.hs-link-arrow--sm { font-size: var(--hs-text-sm); }
.hs-link-arrow--soon { color: var(--hs-text-muted); cursor: default; }
/* On navy, teal-deep is too dark to read; bright teal is 5.73:1 there. */
.hs-section--inverse .hs-link-arrow { color: var(--hs-teal); }
.hs-section--inverse .hs-link-arrow--soon { color: var(--hs-text-on-dark-muted); }

/* --- Credibility ---------------------------------------------------------
   "Built around primary care." One section carrying four items, each pairing a
   principle with the fact that substantiates it.

   This replaced two sections that said the same four things — an abstract
   principles band and a separate strip of facts. The pairing is the whole idea,
   so `__body` and `__proof` are visibly different kinds of statement: the claim
   in running text, the evidence as a small marked line beneath a rule.

   Sits on the navy band, so it reads the on-dark tokens.
   ------------------------------------------------------------------------- */
.hs-credibility {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--hs-space-8);
}
.hs-credibility__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.875rem;
  height: 2.875rem;
  margin-bottom: var(--hs-space-5);
  border-radius: var(--hs-radius-sm);
  background-color: rgba(255, 255, 255, 0.10);
  color: var(--hs-text-on-dark-strong);
}
.hs-credibility__icon svg { width: 1.375rem; height: 1.375rem; }
.hs-credibility__title {
  font-size: var(--hs-text-xl);
  margin-bottom: var(--hs-space-3);
  color: var(--hs-text-on-dark-strong);
}
.hs-credibility__body { margin-bottom: var(--hs-space-4); color: var(--hs-text-on-dark); }

/* The evidence line. Teal, small and set above a rule so the eye reads it as a
   different kind of statement from the sentence above — a citation, not more
   copy. Never italic: italic small text on a dark ground is hard work. */
.hs-credibility__proof {
  margin: 0;
  padding-top: var(--hs-space-3);
  border-top: 1px solid var(--hs-border-on-dark);
  color: var(--hs-teal);
  font-size: var(--hs-text-sm);
  font-weight: var(--hs-weight-semibold);
}
.hs-credibility__foot { margin-top: var(--hs-space-10); }

/* --- Ecosystem CTA -------------------------------------------------------
   The pre-footer band: four routes into Haresign rather than one sales pitch.

   Aqua, not navy. haresign.net closes every page with a full-bleed aqua band,
   and it is doing real work beyond brand recognition: navy credibility, then a
   navy band, then a navy footer was three dark grounds in a row, and the band
   was invisible as a distinct thing. #0d5bb8 carries white text at 6.4:1, so
   nothing in it had to be re-checked for contrast — only re-tuned against a
   lighter ground.
   ------------------------------------------------------------------------- */

/* The band bleeds into the footer, so the section owns no bottom padding and
   the container carries it instead. Lives with the component because the band
   now appears on Insights and the FAQ, where page CSS is not loaded. */
.hs-section--cta { padding-bottom: 0; }
.hs-section--cta .hs-container { padding-bottom: var(--hs-section-y); }

.hs-ecosystem {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--hs-radius-lg);
  background-color: var(--hs-aqua);
  color: var(--hs-text-on-dark);
  padding: clamp(2.5rem, 5vw, 4rem);
}
.hs-ecosystem__field {
  position: absolute;
  z-index: -1;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
/* Deepened against the aqua ground: the old values were mixed for navy, where a
   30%-opacity teal reads as a glow and on aqua read as a smear. */
.hs-ecosystem__field--teal  { top: -14rem; left: -8rem;    background-color: rgba(15, 163, 163, 0.22); }
.hs-ecosystem__field--coral { bottom: -16rem; right: -8rem; background-color: rgba(11, 17, 30, 0.20); }

.hs-ecosystem__head { max-width: 44rem; margin-bottom: var(--hs-space-10); }
.hs-ecosystem__title { color: var(--hs-text-on-dark-strong); margin-bottom: var(--hs-space-4); }
.hs-ecosystem__lead { margin-bottom: 0; color: var(--hs-text-on-dark); font-size: var(--hs-text-lg); }

.hs-ecosystem__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--hs-space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.hs-ecosystem__link {
  display: flex;
  flex-direction: column;
  gap: var(--hs-space-2);
  height: 100%;
  padding: var(--hs-space-6);
  /* Stronger than the navy version's 12%/4%: on a mid-blue ground a hairline at
     12% white is not a line, it is a rumour. */
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--hs-radius-md);
  /* A wash rather than the accent as a border: four coloured outlines read as
     four separate products, which is the opposite of the point — and on aqua
     the aqua one would have no outline at all. */
  background-color: rgba(255, 255, 255, 0.10);
  color: var(--hs-text-on-dark);
  transition: background-color var(--hs-transition), border-color var(--hs-transition),
              transform var(--hs-transition);
}
a.hs-ecosystem__link:hover {
  transform: translateY(-3px);
  border-color: var(--hs-text-on-dark-strong);
  background-color: rgba(255, 255, 255, 0.18);
  color: var(--hs-text-on-dark);
}
.hs-ecosystem__name {
  font-family: var(--hs-font-display);
  font-size: var(--hs-text-lg);
  font-weight: var(--hs-weight-bold);
  color: var(--hs-text-on-dark-strong);
}
.hs-ecosystem__action { flex: 1 1 auto; font-size: var(--hs-text-sm); }
/* White, not teal: bright teal and aqua sit at almost the same lightness, so
   the arrow vanished into the ground the moment the band changed colour. */
.hs-ecosystem__arrow { width: 0.875rem; height: 0.875rem; color: var(--hs-text-on-dark-strong); }
a.hs-ecosystem__link:hover .hs-ecosystem__arrow { transform: translate(3px, -3px); }
.hs-ecosystem__link--soon { cursor: default; }
.hs-ecosystem__link--soon .hs-ecosystem__name { color: var(--hs-text-on-dark); }
.hs-ecosystem__link--soon .hs-badge { align-self: flex-start; }
/* On the aqua band a white tint lightens the ground under white type to 4.39:1; a navy tint deepens
   it instead, so "Soon" clears AA on every page that carries the band. */
.hs-ecosystem .hs-badge--on-dark { background-color: var(--hs-tint-navy); }

/* The closing strip: direct contact | question | one action. A rule separates
   the contact block from the question, as it does on the production band. */
.hs-ecosystem__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--hs-space-6);
  margin-top: var(--hs-space-10);
  padding-top: var(--hs-space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}
.hs-ecosystem__direct {
  display: flex;
  flex-direction: column;
  gap: var(--hs-space-1);
  padding-inline-end: var(--hs-space-6);
  border-inline-end: 1px solid rgba(255, 255, 255, 0.26);
}
.hs-ecosystem__direct-label {
  font-size: var(--hs-text-xs);
  font-weight: var(--hs-weight-semibold);
  letter-spacing: var(--hs-tracking-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.hs-ecosystem__direct-email {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  color: var(--hs-text-on-dark-strong);
  font-weight: var(--hs-weight-semibold);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.hs-ecosystem__question {
  flex: 1 1 auto;
  margin: 0;
  color: var(--hs-text-on-dark-strong);
  font-family: var(--hs-font-display);
  font-size: var(--hs-text-xl);
  font-weight: var(--hs-weight-bold);
}

/* --- Form input ----------------------------------------------------------
   One input style, because there is one form. Deliberately generous: 44px+ tall
   and 17px type, since anything smaller triggers zoom-on-focus in iOS Safari. */
.hs-input {
  width: 100%;
  padding: var(--hs-space-3) var(--hs-space-4);
  border: 1px solid var(--hs-border);
  border-radius: var(--hs-radius-pill);
  background-color: var(--hs-surface);
  color: var(--hs-text-strong);
  font-family: inherit;
  font-size: var(--hs-text-base);
  line-height: 1.4;
}
.hs-input::placeholder { color: var(--hs-text-muted); }
.hs-input:focus { border-color: var(--hs-primary); }

/* --- Newsletter ----------------------------------------------------------
   Used on the homepage, the Insights index and after an article. */
.hs-newsletter {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}
.hs-newsletter__title { font-size: var(--hs-heading-section); margin-bottom: var(--hs-space-4); }
.hs-newsletter__lead {
  margin-bottom: var(--hs-space-8);
  font-size: var(--hs-text-lg);
  color: var(--hs-text);
}
.hs-newsletter__form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hs-space-3);
  justify-content: center;
  align-items: center;
}
.hs-newsletter__field { flex: 1 1 11rem; min-width: 10rem; }
.hs-newsletter__field--wide { flex: 2 1 16rem; }
.hs-newsletter__note {
  margin: var(--hs-space-5) 0 0;
  font-size: var(--hs-text-sm);
  color: var(--hs-text-muted);
}
.hs-newsletter__note a {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  color: var(--hs-text-muted);
  text-decoration: underline;
}

/* Honeypot. Positioned off-canvas rather than display:none — some bots skip
   hidden fields, and this one is meant to be filled in. Never focusable: the
   input carries tabindex="-1" and the wrapper is aria-hidden. */
.hs-newsletter__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Inline variant — after an article, where a full band would compete with the
   piece the reader just finished. Bounded box, left-aligned, quieter. */
.hs-newsletter--inline {
  max-width: none;
  margin-block: var(--hs-space-12);
  padding: var(--hs-space-8);
  border: 1px solid var(--hs-border);
  border-radius: var(--hs-radius-md);
  background-color: var(--hs-surface-warm);
  text-align: left;
}
.hs-newsletter--inline .hs-newsletter__title { font-size: var(--hs-text-xl); }
.hs-newsletter--inline .hs-newsletter__lead {
  margin-bottom: var(--hs-space-6);
  font-size: var(--hs-text-base);
}
.hs-newsletter--inline .hs-newsletter__form { justify-content: flex-start; }

/* --- Notice --------------------------------------------------------------
   The single-message pages: subscribed, unsubscribed, and the error case. */
.hs-notice {
  padding: var(--hs-space-10);
  border: 1px solid var(--hs-border);
  border-inline-start: 4px solid var(--hs-primary);
  border-radius: var(--hs-radius-md);
  background-color: var(--hs-surface);
  box-shadow: var(--hs-shadow-md);
}
.hs-notice--error { border-inline-start-color: var(--hs-coral); }
.hs-notice__title { font-size: var(--hs-heading-card); margin-bottom: var(--hs-space-4); }
.hs-notice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hs-space-3);
  margin-top: var(--hs-space-8);
}

/* --- Contact route card -------------------------------------------------- */
.hs-contact-route {
  padding: var(--hs-space-8) var(--hs-space-6) var(--hs-space-6);
  height: 100%;
  border-top: 4px solid var(--hs-accent, var(--hs-primary));
}
.hs-contact-route:hover { border-color: var(--hs-accent); }
.hs-contact-route__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--hs-space-5);
  border-radius: var(--hs-radius-sm);
  background-color: var(--hs-accent-tint);
  color: var(--hs-accent-ink);
}
.hs-contact-route__icon svg { width: 1.5rem; height: 1.5rem; }
.hs-contact-route__title { font-size: var(--hs-text-xl); margin-bottom: var(--hs-space-3); }
.hs-contact-route__blurb { color: var(--hs-text); margin-bottom: var(--hs-space-4); }
.hs-contact-route__note {
  margin-bottom: var(--hs-space-4);
  font-size: var(--hs-text-sm);
  color: var(--hs-text-muted);
}
/* Pushed to the bottom so the actions line up across cards of unequal length. */
.hs-contact-route__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--hs-space-4);
  margin-top: auto;
  padding-top: var(--hs-space-4);
}

/* --- FAQ item ------------------------------------------------------------
   A <details>/<summary> disclosure. The browser supplies the behaviour, the
   keyboard handling and the ARIA; this only supplies the appearance.

   `list-style: none` plus the ::-webkit-details-marker rule removes the native
   triangle; ours is a plus/minus built from two bars, so it rotates rather than
   swapping glyphs.
   ------------------------------------------------------------------------- */
.hs-faq__item {
  border: 1px solid var(--hs-border);
  border-radius: var(--hs-radius-md);
  background-color: var(--hs-surface);
  margin-bottom: var(--hs-space-3);
  overflow: hidden;
}
.hs-faq__item[open] {
  border-color: var(--hs-border-strong);
  border-inline-start: 4px solid var(--hs-primary);
  box-shadow: var(--hs-shadow-sm);
}

.hs-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--hs-space-4);
  /* Comfortably past the 44px touch target at every text size. */
  padding: var(--hs-space-5) var(--hs-space-6);
  cursor: pointer;
  font-family: var(--hs-font-display);
  font-size: var(--hs-text-lg);
  font-weight: var(--hs-weight-bold);
  color: var(--hs-text-strong);
  list-style: none;
}
.hs-faq__question::-webkit-details-marker { display: none; }
.hs-faq__question:hover { color: var(--hs-primary); }

/* Plus turning into minus. Two bars, the vertical one collapsing on open, so
   the state is legible without colour and without a font. */
.hs-faq__marker {
  position: relative;
  flex: 0 0 auto;
  width: 0.875rem;
  height: 0.875rem;
}
.hs-faq__marker::before,
.hs-faq__marker::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background-color: var(--hs-primary);
  transition: transform var(--hs-transition);
}
.hs-faq__marker::after { transform: rotate(90deg); }
.hs-faq__item[open] .hs-faq__marker::after { transform: rotate(0deg); }

.hs-faq__answer {
  padding: 0 var(--hs-space-6) var(--hs-space-6);
  color: var(--hs-text);
}
.hs-faq__answer p { margin-bottom: var(--hs-space-4); }
.hs-faq__answer > :last-child { margin-bottom: 0; }

/* --- Editorial article treatment -----------------------------------------
   Insights is research and commentary, not product release notes, so the
   featured item reads as a lead article: a rule above the meta, a display-face
   headline and room to breathe. */
.hs-article-card__meta { font-family: var(--hs-font-body); }
.hs-article-card--featured .hs-article-card__body { border-top: 3px solid var(--hs-coral); }
.hs-article-card__title { font-family: var(--hs-font-display); }
.hs-article-card--link { border-inline-start: 3px solid transparent; }
.hs-article-card--link:hover { border-inline-start-color: var(--hs-teal); }

@media (max-width: 991.98px) {
  .hs-credibility { grid-template-columns: repeat(2, 1fr); gap: var(--hs-space-6); }
  .hs-ecosystem__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.98px) {
  /* The closing strip stacks. The vertical rule between the contact block and
     the question is a divider between two columns; once they are rows it is a
     line hanging off the end of a word. */
  .hs-ecosystem__direct {
    padding-inline-end: 0;
    border-inline-end: 0;
  }
  .hs-ecosystem__foot .hs-btn { width: 100%; }
}

@media (max-width: 575.98px) {
  .hs-credibility { grid-template-columns: 1fr; }
  .hs-ecosystem__grid { grid-template-columns: 1fr; }
  /* Stacked, full-width fields: side-by-side inputs below ~380px leave the
     email box about eight characters wide. */
  .hs-newsletter__field,
  .hs-newsletter__form .hs-btn { flex: 1 1 100%; width: 100%; }
  .hs-notice { padding: var(--hs-space-6); }
}

/* ==========================================================================
   .hs-prose — long-form article bodies.

   Used by Insights articles AND the legal pages, which is why it lives here
   rather than in pages/: a rule needed by two page types is a component.

   Styled by element, not class, so imported HTML inherits the design with no
   edits. Covers everything TinyMCE can produce and everything the legacy blog
   contains.
   ========================================================================== */

.hs-prose {
  font-size: var(--hs-text-lg);
  line-height: 1.8;
  color: var(--hs-text);
}

.hs-prose > * + * { margin-top: var(--hs-space-6); }

.hs-prose h2,
.hs-prose h3,
.hs-prose h4,
.hs-prose h5,
.hs-prose h6 {
  font-family: var(--hs-font-display);
  color: var(--hs-text-strong);
  line-height: var(--hs-leading-snug);
}
/* Headings need more space above than below — the gap belongs to the section
   they open, not to the paragraph they follow. */
.hs-prose h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); margin-top: var(--hs-space-12); margin-bottom: var(--hs-space-4); }
.hs-prose h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem);  margin-top: var(--hs-space-10); margin-bottom: var(--hs-space-3); }
.hs-prose h4 { font-size: var(--hs-text-xl);  margin-top: var(--hs-space-8); margin-bottom: var(--hs-space-3); }
.hs-prose h5,
.hs-prose h6 { font-size: var(--hs-text-lg); margin-top: var(--hs-space-6); margin-bottom: var(--hs-space-2); }
.hs-prose > h2:first-child,
.hs-prose > h3:first-child { margin-top: 0; }

.hs-prose p { margin-bottom: 0; }

.hs-prose strong, .hs-prose b { font-weight: var(--hs-weight-bold); color: var(--hs-text-strong); }
.hs-prose em, .hs-prose i { font-style: italic; }

/* Underlined in body copy: colour alone is not a sufficient affordance in
   running text (WCAG 1.4.1). */
.hs-prose a {
  color: var(--hs-primary);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.hs-prose a:hover { color: var(--hs-primary-hover); }

.hs-prose ul, .hs-prose ol { padding-inline-start: var(--hs-space-6); }
.hs-prose li + li { margin-top: var(--hs-space-2); }
.hs-prose li > ul, .hs-prose li > ol { margin-top: var(--hs-space-2); }
.hs-prose ul { list-style: disc; }
.hs-prose ol { list-style: decimal; }
.hs-prose li::marker { color: var(--hs-teal-deep); }

.hs-prose blockquote {
  margin-inline: 0;
  padding: var(--hs-space-2) 0 var(--hs-space-2) var(--hs-space-6);
  border-inline-start: 4px solid var(--hs-coral);
  font-family: var(--hs-font-display);
  font-size: var(--hs-text-xl);
  font-weight: var(--hs-weight-medium);
  line-height: 1.6;
  color: var(--hs-navy-soft);
}
.hs-prose blockquote p { margin: 0; }
.hs-prose blockquote > * + * { margin-top: var(--hs-space-4); }

.hs-prose img { border-radius: var(--hs-radius-md); display: block; }
/* A standalone image is a figure in its own right; let it use the full width. */
.hs-prose > p > img,
.hs-prose > figure > img { width: 100%; }
.hs-prose figure { margin-inline: 0; }
.hs-prose figcaption {
  margin-top: var(--hs-space-3);
  font-size: var(--hs-text-sm);
  color: var(--hs-text-muted);
  text-align: center;
}

/* Tables. A wide legacy table must scroll inside its own box rather than push
   the whole page sideways, so the element is given its own scroll container. */
.hs-prose table {
  display: block;
  width: 100%;
  max-width: 100%;
  /* Wide tables break the measure slightly rather than shrinking their type. */
  margin-inline: calc(var(--hs-space-6) * -1);
  width: calc(100% + var(--hs-space-12));
  overflow-x: auto;
  border-collapse: collapse;
  font-size: var(--hs-text-sm);
}
.hs-prose thead { background-color: var(--hs-surface-muted); }
.hs-prose th, .hs-prose td {
  padding: var(--hs-space-3) var(--hs-space-4);
  border: 1px solid var(--hs-border);
  text-align: left;
  vertical-align: top;
}
.hs-prose th { font-weight: var(--hs-weight-bold); color: var(--hs-text-strong); }
.hs-prose tbody tr:nth-child(even) { background-color: var(--hs-surface-muted); }
.hs-prose caption {
  caption-side: bottom;
  padding-top: var(--hs-space-3);
  font-size: var(--hs-text-sm);
  color: var(--hs-text-muted);
  text-align: left;
}

.hs-prose code {
  padding: 0.1em 0.35em;
  border-radius: var(--hs-radius-sm);
  background-color: var(--hs-surface-sunken);
  font-family: var(--hs-font-mono);
  font-size: 0.875em;
  color: var(--hs-navy);
}
.hs-prose pre {
  padding: var(--hs-space-5);
  border-radius: var(--hs-radius-md);
  background-color: var(--hs-navy);
  color: var(--hs-text-on-dark-strong);
  overflow-x: auto;
  font-family: var(--hs-font-mono);
  font-size: var(--hs-text-sm);
  line-height: 1.6;
}
.hs-prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }

.hs-prose hr {
  border: 0;
  border-top: 1px solid var(--hs-border);
  margin-block: var(--hs-space-10);
}

/* Legacy articles may carry width/height attributes or float styles from the
   old editor; keep them inside the column whatever they ask for. */
.hs-prose img,
.hs-prose iframe,
.hs-prose video { max-width: 100%; height: auto; }


/* .hs-prose responsive. Lives with the component, not with one of the two page
   types that use it. */
@media (max-width: 767.98px) {
  .hs-prose { font-size: var(--hs-text-base); }
  /* No room to break the measure on a phone. */
  .hs-prose table { margin-inline: 0; width: 100%; }
}

/* --- Sign-in status pages -------------------------------------------------
   The shell behind identity/status.html: sign-in unavailable, sign-in failed,
   too many attempts. Three transient states of one person's sign-in, not
   content, so they get a reading measure and vertical room and nothing else.
   Deliberately not a hero — a page telling somebody their sign-in did not work
   should not arrive with the weight of a landing page. */
.hs-identity-status {
  padding-block: var(--hs-space-10) var(--hs-space-12);
}

.hs-identity-status__title {
  margin-block: var(--hs-space-3) var(--hs-space-5);
  /* The section heading, not the hero one. `h1` defaults to --hs-heading-hero,
     which reaches 82px — the size the homepage banner uses to introduce the
     company. "That sign-in could not be completed" set at 82px is shouting. */
  font-size: var(--hs-heading-section);
  letter-spacing: normal;
  line-height: 1.15;
}

.hs-identity-status__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--hs-space-3);
  margin-top: var(--hs-space-7);
}

/* ==========================================================================
   Tool cards — the catalogue (/tools/), each tool page's related tools, and
   the homepage's Featured tools. Here rather than in pages/ because three
   pages use them.
   ========================================================================== */
.hs-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--hs-space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}
.hs-tool-grid > li { display: flex; }
.hs-tool-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: var(--hs-space-6);
  border-top: 4px solid var(--hs-accent);
}
.hs-tool-card__group {
  margin: 0 0 var(--hs-space-2);
  font-size: var(--hs-text-xs);
  font-weight: var(--hs-weight-bold);
  letter-spacing: var(--hs-tracking-wide);
  text-transform: uppercase;
  color: var(--hs-accent-ink);
}
.hs-tool-card__title { font-size: var(--hs-text-xl); margin-bottom: var(--hs-space-3); }
.hs-tool-card__link { color: var(--hs-text-strong); text-decoration: none; }
.hs-tool-card__link:hover,
.hs-tool-card__link:focus-visible { color: var(--hs-primary); text-decoration: underline; }
.hs-tool-card__summary { flex: 1 1 auto; font-size: var(--hs-text-sm); color: var(--hs-text-muted); }
.hs-tool-card__meta { margin: 0; }

.hs-tool-badge--free { background-color: var(--hs-tint-teal); color: var(--hs-teal-deeper); }
.hs-tool-badge--paid { background-color: var(--hs-tint-navy); color: var(--hs-navy); }

@media (max-width: 991.98px) {
  .hs-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .hs-tool-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Page banner — haresign.net's inner-page photograph and circle motif (the
   licensed Bixxo asset, images/bixxo/inner-banner-*), under a navy-to-aqua
   overlay that keeps white type readable across the whole width. Added as one
   class on each page's existing hero (About, FAQ, Contact, legal, Insights,
   articles, the newsletter archive and the tool pages); the page keeps its own
   layout and spacing.

   The class is doubled on purpose: page stylesheets load after this one and set
   their own hero ground and text colours with one or two classes, and the banner
   has to win without editing each of them.
   ========================================================================== */
.hs-page-banner.hs-page-banner {
  position: relative;
  isolation: isolate;
  background-color: var(--hs-navy);
  background-image:
    linear-gradient(90deg, rgba(17, 24, 39, 0.94) 0%, rgba(17, 24, 39, 0.86) 45%, rgba(13, 91, 184, 0.70) 100%),
    url("../images/bixxo/inner-banner-1600.d45788c13ee9.jpg");
  background-image:
    linear-gradient(90deg, rgba(17, 24, 39, 0.94) 0%, rgba(17, 24, 39, 0.86) 45%, rgba(13, 91, 184, 0.70) 100%),
    image-set(url("../images/bixxo/inner-banner-1600.02181eeb2db6.webp") type("image/webp"),
              url("../images/bixxo/inner-banner-1600.d45788c13ee9.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center right;
  border-bottom: 0;
  color: var(--hs-text-on-dark);
}
/* The banner recolours its own copy only. Controls and badges keep their component colours, and a
   panel with its own surface (an <aside> or a <figure>, such as a tool page's At a glance card or
   its screenshot) keeps the page's ordinary ink: white type there would be white on white. */
.hs-page-banner.hs-page-banner :is(h1, h2):not(aside *, figure *) { color: var(--hs-text-on-dark-strong); }
.hs-page-banner.hs-page-banner :is(p, li, span, time, dd):not(.hs-btn, .hs-btn *, .hs-badge, aside *, figure *) {
  color: var(--hs-text-on-dark);
}
.hs-page-banner.hs-page-banner a:not(.hs-btn, aside *, figure *) { color: var(--hs-text-on-dark-strong); }
/* A link inside running text keeps an underline: on the banner it is white like the words
   around it, so colour alone would no longer say it is a link. */
.hs-page-banner.hs-page-banner p > a:not(.hs-btn, aside *, figure *) { text-decoration: underline; text-underline-offset: 0.15em; }
.hs-page-banner.hs-page-banner .hs-eyebrow,
.hs-page-banner.hs-page-banner .hs-eyebrow a { color: var(--hs-teal); }
.hs-page-banner.hs-page-banner .hs-eyebrow::after { background-color: var(--hs-text-on-dark-strong); }

@media (max-width: 575.98px) {
  .hs-page-banner.hs-page-banner {
    background-image:
      linear-gradient(180deg, rgba(17, 24, 39, 0.92) 0%, rgba(17, 24, 39, 0.88) 100%),
      url("../images/bixxo/inner-banner-900.b47fe93eb17e.jpg");
    background-image:
      linear-gradient(180deg, rgba(17, 24, 39, 0.92) 0%, rgba(17, 24, 39, 0.88) 100%),
      image-set(url("../images/bixxo/inner-banner-900.a8b59a07978b.webp") type("image/webp"),
                url("../images/bixxo/inner-banner-900.b47fe93eb17e.jpg") type("image/jpeg"));
  }
}


/* --- Analytics consent banner (W1) ----------------------------------------- */
.hs-consent {
  position: fixed; inset: auto 0 0 0; z-index: 1000;
  background: var(--hs-surface, #fff); color: var(--hs-text, #1f2937);
  border-top: 1px solid var(--hs-border, #dfe4ec); box-shadow: 0 -6px 24px rgba(17, 24, 39, .12);
}
.hs-consent[hidden] { display: none; }
.hs-consent__inner { max-width: 72rem; margin: 0 auto; padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; }
.hs-consent__title { flex: 1 1 100%; margin: 0; font-size: 1rem; }
.hs-consent__text { flex: 1 1 28rem; margin: 0; font-size: .9rem; }
.hs-consent__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
@media (max-width: 575.98px) { .hs-consent__actions { flex: 1 1 100%; } .hs-consent__actions .hs-btn { flex: 1 1 0; } }
