/* Without this, a box's padding is added to its width rather than taken
       out of it, and anything sized to 100% of its container ends up wider
       than it — the pricing card's button overflowed by exactly its 40px of
       padding. Every width on the page is written as if this rule were here. */
    *, *::before, *::after { box-sizing: border-box; }
    body { margin: 0; font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif; background: #ffffff; color: #101828; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
    img, svg { max-width: 100%; }
    a { color: #2f5cd8; text-decoration: none; }
    a:hover { color: #1e42a8; }
    h1, h2, h3, h4 { font-family: "DM Sans", "Inter", system-ui, sans-serif; letter-spacing: -0.02em; color: #101828; margin: 0; }
    p { margin: 0; }
    .num { font-variant-numeric: tabular-nums; }
    .nav a { color: #475467; font-size: 14.5px; font-weight: 500; }
    .nav a:hover { color: #101828; }
    .foot a { color: #98a2b3; font-size: 14px; }
    .foot a:hover { color: #e2e8f0; }
    /* `a.btn-*`, not `.btn-*`: the call to action in the header is an anchor
       inside `.nav`, and `.nav a` outranks a bare class — which rendered white
       text as slate grey on a blue button, on every page. */
    a.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; background: #2f5cd8; color: #ffffff; border-radius: 8px; font-size: 15px; font-weight: 600; }
    a.btn-primary:hover { background: #1e42a8; color: #ffffff; }
    a.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; background: #ffffff; color: #101828; border: 1px solid #d4d9e0; border-radius: 8px; font-size: 15px; font-weight: 600; }
    a.btn-ghost:hover { background: #f7f8fa; color: #101828; }
    a.btn-primary:focus-visible, a.btn-ghost:focus-visible, .nav a:focus-visible, .foot a:focus-visible {
      outline: 2px solid #2f5cd8; outline-offset: 2px;
    }
    .body a.inline { text-decoration: underline; text-underline-offset: 3px; }
    ul.plain { margin: 0; padding-left: 20px; }
    ul.plain li { margin: 6px 0; }

    /* ─── Narrow screens ───────────────────────────────────────────────
       These pages were drawn on a 1440px artboard, so every column width,
       gutter and type size lives in an inline style attribute. A stylesheet
       cannot outrank an inline style without `!important`, so that is what
       the rules below use. It is not a flourish: a landing page for support
       workers and small providers is read on a phone more often than not,
       and until now a phone got a 1440px page.
       ──────────────────────────────────────────────────────────────────── */
    @media (max-width: 900px) {
      /* Every multi-column layout becomes one column — except a grid whose
         second track is `auto`, which is always a label and its value (the
         price table, a definition row). Stacking those puts "$100" on its own
         line under "5 or fewer" and the pair stops reading as a pair. */
      [style*="grid-template-columns"]:not([style*="1fr) auto"]) {
        grid-template-columns: minmax(0, 1fr) !important;
      }
      [style*="padding: 0 40px"] { padding-left: 24px !important; padding-right: 24px !important; }
      [style*="max-width: 1160px"], [style*="max-width: 1100px"] { max-width: 100% !important; }
      /* A sticky side index has nothing to stick beside once stacked. */
      [style*="position: sticky"] { position: static !important; }
      h1 { font-size: 34px !important; line-height: 1.15 !important; }
      h2 { font-size: 26px !important; }
      h3 { font-size: 19px !important; }

      /* The header wraps to two rows rather than squeezing: brand and the two
         buttons, then the links beneath, scrollable if they still do not fit. */
      .nav, .nav > div { height: auto !important; }
      .nav > div { flex-wrap: wrap; padding-top: 12px !important; padding-bottom: 12px !important; gap: 12px !important; }
      /* Wrapping, not scrolling: a link the reader has to swipe sideways to
         find is a link they will not find, and Contact was the one off the end. */
      .nav nav { order: 3; width: 100%; gap: 10px 18px !important; flex-wrap: wrap; }
      .nav nav a { white-space: nowrap; }
      .nav > div > div:last-child { margin-left: auto; }
    }
    @media (max-width: 560px) {
      [style*="padding: 0 40px"] { padding-left: 20px !important; padding-right: 20px !important; }
      h1 { font-size: 29px !important; }
      h2 { font-size: 23px !important; }
      /* A call to action reads as one on a phone only at full width. */
      a.btn-primary, a.btn-ghost { width: 100%; }
      .nav a.btn-primary, .nav a.btn-ghost { width: auto; }
    }

/* Keyboard users reach the content without tabbing the whole header. */
.skip { position: absolute; left: -9999px; top: 0; background: #2f5cd8; color: #ffffff;
        padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; }
.skip:focus { left: 0; color: #ffffff; }

/* The drawing has no submit button, so it has no style for one either. */
button.btn-primary { display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px; background: #2f5cd8; color: #ffffff; border: 0;
  border-radius: 8px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  /* A button label that wraps reads as two buttons. */
  white-space: nowrap; flex: none; }
button.btn-primary:hover { background: #1e42a8; }
button.btn-primary:disabled { background: #6b8be0; cursor: progress; }
button.btn-primary:focus-visible, button.link:focus-visible { outline: 2px solid #2f5cd8; outline-offset: 2px; }

/* `hidden` is only a user-agent `display: none`, and the drawn form carries an
   inline `display: flex` that outranks it — so without this, hiding the form
   after a send would do nothing at all. */
[hidden] { display: none !important; }

/* Only ever an error now — success replaces the form. A tinted block with a
   rule down the side, so it reads as something to act on, not a footnote. */
.enquiry-status { margin: 0; padding: 12px 14px; border-radius: 8px; font-size: 14.5px; line-height: 1.5; }
.enquiry-status.bad { background: #fef3f2; color: #912018; border: 1px solid #fecdca; }
.enquiry-status a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Takes the form's place, in the form's own card. */
.enquiry-done { display: flex; flex-direction: column; gap: 12px; padding: 40px 32px;
  background: #ffffff; border: 1px solid #e6e9ee; border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); outline: none; }
.enquiry-done[hidden] { display: none; }
.enquiry-done-mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: #ecfdf3; color: #067647; margin-bottom: 4px; }
.enquiry-done h2 { font-size: 22px; line-height: 1.3; text-wrap: balance; }
.enquiry-done p { color: #475467; font-size: 15.5px; max-width: 52ch; }
.enquiry-done strong { color: #101828; font-weight: 600; overflow-wrap: anywhere; }
.enquiry-done-small { font-size: 14px !important; color: #667085 !important; }
button.link { background: none; border: 0; padding: 0; font: inherit; color: #2f5cd8;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* On a phone the button comes straight after the consent box and takes the
   width; the mailing-list note drops underneath it. */
@media (max-width: 560px) {
  #enquiry > div:last-of-type { flex-direction: column-reverse; align-items: stretch !important; }
  #enquiry button.btn-primary { width: 100%; }
}
