/* Insite, Version 5 of the design canvas "WorkCast Insite redesign: six
   templates" (https://claude.ai/artifact/MAsP5H2HaQh25zzTXgevv5), converted
   from per-element inline styles into one stylesheet for the static build.

   Built to WCAG 2.2 AA. Two colours are darkened where they carry small text,
   see README: --pink-ink replaces --pink behind white text and for pink text
   on white (#E4358B is 4.05:1), and --accent-ink replaces --accent for small
   orange text on white (#E5540F is 3.75:1). The drawn colours are kept for
   large headings, rules and decoration, and on navy, where both pass. */

:root {
  --navy: #100024;
  --white: #FFFFFF;
  --pink: #E4358B;        /* as drawn: decoration only */
  --pink-ink: #D42A7E;    /* 4.74:1 with white: button fills, pink text */
  --accent: #E5540F;      /* as drawn: large headings, rules, text on navy */
  --accent-ink: #C4470A;  /* 4.94:1 on white: small orange text */
  --tint: #F4F2F7;        /* quiet panel behind code, tables, notes */
  --font: Montserrat, Arial, sans-serif;
  --wrap: 1200px;
  --gut: 40px;
}

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

html { -webkit-text-size-adjust: 100%; }

/* insite.js shows and hides with the hidden attribute, which a display rule
   on the same element would otherwise override */
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  color: var(--navy);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.2; }

a { color: var(--navy); }
a:hover { color: var(--accent-ink); }

img { max-width: 100%; height: auto; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.site-footer :focus-visible, .toc :focus-visible, .inline-cta :focus-visible {
  outline-color: var(--white);
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); width: 100%; }

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

.skip-link {
  position: absolute; left: 8px; top: -64px; z-index: 10;
  background: var(--white); color: var(--navy); padding: 12px 18px;
  border: 2px solid var(--navy); border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* small capitals label with a rule after it */
.label {
  margin: 0; font-weight: 700; font-size: 13px; line-height: 1.4;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink);
  display: flex; align-items: center; gap: 14px;
}
.label::after { content: ""; height: 1px; width: 56px; background: var(--accent); }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: 15px;
  text-decoration: none; cursor: pointer; border: 0;
}
.btn--pink { background: var(--pink-ink); color: var(--white); }
.btn--pink:hover {
  background: var(--white); color: var(--pink-ink);
  box-shadow: inset 0 0 0 2px var(--pink-ink);
}
.btn--outline { border: 2px solid var(--navy); color: var(--navy); background: var(--white); }
.btn--outline:hover { background: var(--navy); color: var(--white); }

/* ---------------------------------------------------------------- header */

.site-header { border-bottom: 1px solid var(--navy); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 16px 28px;
  padding-top: 16px; padding-bottom: 16px;
}

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 56px; height: 56px; display: block; }
.brand__name {
  font-weight: 700; font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--navy);
}

/* The search field: a pill, the shape of the buttons. Not on the home or
   search pages, which carry their own large search box. */
.header-search { position: relative; flex: 1 1 240px; max-width: 360px; }
.header-search input {
  width: 100%; min-height: 46px; padding: 0 52px 0 20px;
  border: 1.5px solid var(--navy); border-radius: 999px;
  font: inherit; font-size: 15px; color: var(--navy); background: var(--white);
}
.header-search input::placeholder { color: #5A5068; opacity: 1; }
.header-search button {
  position: absolute; right: 4px; top: 4px; width: 38px; height: 38px;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: var(--navy); color: var(--white); cursor: pointer;
}
.header-search button:hover { background: var(--pink-ink); }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-left: auto; }
.nav a:not(.btn) {
  color: var(--navy); text-decoration: none;
  font-weight: 500; font-size: 15px; padding: 12px 4px;
}
.nav a:not(.btn):hover { color: var(--accent-ink); text-decoration: underline; }

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

.layout {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 64px;
  padding-top: 40px; padding-bottom: 88px;
}

.sidebar {
  flex: 1 1 240px; max-width: 280px;
  display: flex; flex-direction: column; gap: 2px; padding-top: 8px;
}
.sidebar__label {
  margin: 0 0 12px 16px; font-weight: 600; font-size: 12px;
  letter-spacing: .4em; text-transform: uppercase;
}
.sidebar__topic {
  display: block; padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--navy);
}
.sidebar__topic:hover { background: var(--navy); color: var(--white); }
.sidebar__topic[aria-current] { background: var(--pink-ink); color: var(--white); font-weight: 700; }
.sidebar__subs { display: flex; flex-direction: column; padding: 4px 0 8px; }
.sidebar__subs a {
  display: block; padding: 7px 16px 7px 32px;
  text-decoration: none; font-size: 14px; line-height: 1.4; color: var(--navy);
}
.sidebar__subs a:hover { color: var(--accent-ink); text-decoration: underline; }
.sidebar__subs a[aria-current] { font-weight: 700; color: var(--accent-ink); }
.sidebar__group {
  padding: 12px 16px 4px 32px; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}

/* --------------------------------------------------------------- article */

.article { flex: 999 1 560px; min-width: 0; max-width: 760px; }

.crumbs {
  font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
.crumbs__sep { color: var(--accent); font-weight: 700; }

.article__head { margin-top: 36px; }
.article__head h1 { margin-top: 16px; font-weight: 700; font-size: 48px; line-height: 1.15; }
.article__standfirst { margin: 18px 0 0; font-size: 20px; line-height: 1.6; }
.article__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: 24px; font-size: 14px;
}
.article__meta span { padding: 6px 14px; border: 1px solid var(--navy); border-radius: 999px; }

.toc {
  margin-top: 40px; padding: 24px 28px; border-radius: 20px;
  background: var(--navy); color: var(--white);
}
.toc__label {
  margin: 0; font-weight: 600; font-size: 12px;
  letter-spacing: .4em; text-transform: uppercase;
}
.toc ol {
  margin: 14px 0 0; padding-left: 20px;
  display: flex; flex-direction: column; gap: 8px; font-size: 16px;
}
.toc a { color: var(--white); }
.toc a:hover { color: var(--white); text-decoration-thickness: 2px; }
.toc__sub { margin-left: 18px; font-size: 15px; list-style-type: disc; }

/* The stored HubSpot article body renders inside .article-body. The rules key
   off elements and the data-hs-callout-type attribute, never a HubSpot class. */
.article-body { margin-top: 48px; font-size: 17px; line-height: 1.6; }
.article-body > :first-child { margin-top: 0; }
.article-body p { margin: 0 0 18px; }
.article-body h2 { margin: 36px 0 16px; font-weight: 700; font-size: 22px; color: var(--accent); }
.article-body h3 { margin: 28px 0 12px; font-weight: 700; font-size: 19px; }
.article-body h4 { margin: 24px 0 10px; font-weight: 700; font-size: 17px; }
.article-body ul, .article-body ol { margin: 0 0 28px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body li > ul, .article-body li > ol { margin: 8px 0 0; }
.article-body a:hover { color: var(--accent-ink); }
.article-body figure { margin: 36px 0; }
.article-body figcaption { margin-top: 8px; font-size: 14px; }
.article-body img {
  max-width: 100% !important;   /* HubSpot writes width:670px inline, which overflows */
  height: auto !important;
  border: 1px solid var(--navy); border-radius: 16px;
}
.article-body hr { border: 0; border-top: 1px solid var(--navy); margin: 32px 0; }
.article-body blockquote {
  margin: 0 0 18px; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent);
}
.article-body code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: .92em; background: var(--tint); padding: 2px 5px; border-radius: 4px;
}
.article-body pre {
  background: var(--tint); padding: 16px; border-radius: 16px;
  overflow-x: auto; font-size: 14px; line-height: 1.5; margin: 0 0 18px;
}
.article-body pre code { background: none; padding: 0; }

/* Callouts. The live site uses four types: note, warning, caution, tip. The
   default is the tip treatment. Each has a pale fill and a bar in its own
   colour, and is told apart by its own wording, never by colour alone. Navy
   text is over 17:1 on every fill; a link stays navy on hover, since the
   orange hover colour falls short of 4.5:1 on them. */
.article-body [data-hs-callout-type] {
  margin: 0 0 18px; padding: 18px 22px; border-radius: 16px;
  border: 1px solid var(--navy); border-left: 6px solid var(--accent);
  background: #FDEFE7;
  font-size: 16px;
}
.article-body [data-hs-callout-type] > :last-child { margin-bottom: 0; }
.article-body [data-hs-callout-type] a:hover { color: var(--navy); text-decoration-thickness: 2px; }
.article-body [data-hs-callout-type="note"] { border-left-color: var(--navy); background: var(--tint); }
.article-body [data-hs-callout-type="warning"] { border-left-color: #B26A00; background: #FFF3D9; }
.article-body [data-hs-callout-type="caution"] { border-left-color: var(--pink-ink); background: #FCEAF3; }

.table-scroll { overflow-x: auto; margin: 0 0 18px; }
.article-body table {
  border-collapse: collapse; width: 100%; font-size: 15px;
  border: 1px solid var(--navy); margin: 0 0 18px;
}
th { text-align: left; padding: 10px 14px; background: var(--navy); color: var(--white); font-weight: 600; }
td { padding: 10px 14px; border-top: 1px solid var(--navy); vertical-align: top; }

.shot {
  aspect-ratio: 16 / 9; border: 1px solid var(--navy); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 16px; text-align: center; padding: 16px;
}

.feedback {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 20px;
  padding: 24px 0; margin-top: 16px;
  border-top: 1px solid var(--navy); border-bottom: 1px solid var(--navy);
}
.feedback__label { font-weight: 600; font-size: 17px; }
.feedback__buttons { display: flex; gap: 10px; }
.feedback__buttons .btn { min-height: 44px; }

.related { margin-top: 48px; }
.related__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px; margin-top: 20px;
}
.related__grid a {
  display: block; padding: 22px; border: 1px solid var(--navy); border-radius: 20px;
  text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.4;
}
.related__grid a:hover { background: var(--navy); color: var(--white); }
.related__title::after { content: " \2192"; }

.inline-cta {
  margin-top: 56px; padding: 40px; border-radius: 28px;
  background: var(--navy); color: var(--white);
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 24px;
}
.inline-cta__title { margin: 0; font-weight: 700; font-size: 28px; color: var(--accent); }
.inline-cta__text { margin: 8px 0 0; font-size: 16px; }

/* ------------------------------------------------------------ navy hero */

/* The navy band under the header on every page but the article. On navy the
   drawn orange passes for small text, so labels go back to --accent. */
.hero { background: var(--navy); color: var(--white); }
.hero > .wrap, .hero--full > .wrap { padding-top: 96px; padding-bottom: 104px; }
.hero--page > .wrap { padding-top: 48px; padding-bottom: 64px; }
.hero--search > .wrap { padding-top: 56px; padding-bottom: 56px; }
.hero--full { flex: 1; }
.hero--full > .wrap { padding-top: 104px; padding-bottom: 120px; }

.hero a { color: var(--white); }
.hero a:hover { color: var(--white); text-decoration-thickness: 2px; }
.hero :focus-visible, .cta-panel :focus-visible, .status-card :focus-visible,
.panel--navy :focus-visible { outline-color: var(--white); }

.hero__kicker {
  margin: 0 0 20px; font-weight: 600; font-size: 13px;
  letter-spacing: .4em; text-transform: uppercase;
}
.hero h1 { font-weight: 400; font-size: 72px; line-height: 1.05; }
.hero--page h1 { margin-top: 28px; font-size: 60px; line-height: 1.1; max-width: none; }
.hero--full h1 { font-size: 76px; }
.hero h1 strong, .headline strong, .results-title strong, .panel__headline strong {
  font-weight: 700; color: var(--accent);
}
.hero__lead { margin: 24px 0 40px; font-size: 19px; line-height: 1.6; max-width: 720px; }
/* the home page: the lead text is as wide as the heading above it, no wider */
.hero__head { width: fit-content; max-width: 100%; }
.hero__head .hero__lead { width: 0; min-width: 100%; max-width: none; }
.hero--page .hero__lead { margin: 18px 0 0; font-size: 18px; max-width: 920px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 48px; }
.hero__back { font-weight: 700; padding: 12px 0; }

/* the large search box: a white pill holding the field and its button */
.hero-search {
  display: flex; gap: 8px; max-width: 720px; padding: 8px;
  background: var(--white); border-radius: 999px;
}
.hero-search input[type="search"] {
  flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 0 20px;
  font: inherit; font-size: 17px; color: var(--navy); background: var(--white);
}
.hero-search input::placeholder { color: #5A5068; opacity: 1; }
.hero-search input:focus-visible, .hero-search button:focus-visible { outline-color: var(--navy); }
.hero-search--small { max-width: 520px; padding: 6px; margin-top: 32px; }
.hero-search--small input[type="search"] { font-size: 16px; padding: 0 18px; }
.hero-search--small .btn { min-height: 44px; }
.hero-search--mid { max-width: 640px; }
.hero-search--wide { max-width: 760px; }
.hero-search--wide input[type="search"] { font-size: 18px; }

.btn--ghost { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn--ghost:hover, .hero a.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--light { min-height: 44px; padding: 0 20px; font-size: 14px; font-weight: 500; }
.hero a.btn--pink:hover { color: var(--pink-ink); }

.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.quick__label { font-size: 14px; font-weight: 600; }
.quick--topics { margin-top: 36px; max-width: 760px; }
.quick--topics .btn { font-size: 15px; }

/* ------------------------------------------------------------------ home */

.section { padding-top: 88px; padding-bottom: 88px; }
.section--last { padding-bottom: 96px; }
.headline { margin: 16px 0 40px; font-weight: 400; font-size: 40px; line-height: 1.2; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 10px; min-height: 168px; padding: 28px;
  border: 1px solid var(--navy); border-radius: 20px;
  text-decoration: none; color: var(--navy);
}
.card:hover { background: var(--navy); color: var(--white); }
.card__num { font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--accent-ink); }
.card:hover .card__num { color: var(--accent); }
.card h3 { font-weight: 600; font-size: 20px; }
.card__text { flex: 1; font-size: 15px; line-height: 1.6; }
.card__more { margin-top: 6px; font-weight: 700; font-size: 14px; }

.cta-panel {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 32px; padding: 56px; border-radius: 28px;
  background: var(--navy); color: var(--white);
}
.cta-panel__copy { max-width: 620px; }
.cta-panel .label, .panel--navy .label { color: var(--accent); }
.cta-panel__title { margin-top: 14px; font-weight: 700; font-size: 36px; line-height: 1.25; color: var(--accent); }
.cta-panel__text { margin: 14px 0 0; font-size: 17px; line-height: 1.6; }
.cta-panel__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* -------------------------------------------------------------- category */

.layout--page { padding-top: 56px; }
.listing { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.listing--results { display: block; }
.listing--form { gap: 24px; }

.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.label--rule { flex: 1; }
.label--rule::after { flex: 1; width: auto; }
.count {
  padding: 4px 12px; border: 1px solid var(--navy); border-radius: 999px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
}

/* no rule under each article: the section heading's line is the only one,
   and the row under the pointer is picked out with the tint instead */
.rows { margin-top: 12px; }
.row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 14px; margin: 0 -14px; border-radius: 10px;
  text-decoration: none; color: var(--navy); font-size: 17px; font-weight: 500;
}
.row:hover { background: var(--tint); color: var(--accent-ink); }

.status-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px; margin-top: 24px; padding: 28px 32px; border-radius: 20px;
  background: var(--navy); color: var(--white);
}
.status-card__live {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.status-card__title { margin-top: 8px; font-weight: 600; font-size: 22px; }
.status-card__text { margin-top: 6px; font-size: 15px; line-height: 1.6; }

.cta-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px; padding: 32px; border: 2px solid var(--pink); border-radius: 24px;
}
.cta-box__title { margin: 0; font-weight: 700; font-size: 20px; }
.cta-box__text { margin: 6px 0 0; font-size: 16px; line-height: 1.6; }

/* ---------------------------------------------------------------- search */

.results-title { font-weight: 400; font-size: 36px; line-height: 1.25; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px;
  border: 1.5px solid var(--navy); border-radius: 999px; background: var(--white);
  font-size: 14px; font-weight: 500; text-decoration: none; color: var(--navy);
}
.chip:hover, .chip[aria-current] { background: var(--navy); color: var(--white); }
button.chip { font-family: inherit; cursor: pointer; }

.results { margin-top: 16px; }
.result {
  display: block; padding: 28px 0; border-bottom: 1px solid var(--navy);
  text-decoration: none; color: var(--navy);
}
.result:hover { color: var(--navy); }
.result:hover .result__title { color: var(--accent-ink); text-decoration: underline; }
.result__tag {
  display: block; font-weight: 700; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink);
}
.result__title { display: block; margin-top: 8px; font-weight: 600; font-size: 22px; }
.result__path { display: block; margin-top: 8px; font-size: 14px; }
.pager { display: flex; align-items: center; gap: 10px; margin-top: 36px; }

/* --------------------------------------------- side panels, support form */

.aside { flex: 1 1 300px; max-width: 360px; display: flex; flex-direction: column; gap: 16px; }
.aside--wide { max-width: 380px; }
.panel { padding: 28px; border: 1px solid var(--navy); border-radius: 24px; }
.panel--navy { padding: 32px; background: var(--navy); color: var(--white); }
.panel--navy a { color: var(--white); }
.panel__headline { margin: 0; font-weight: 400; font-size: 26px; line-height: 1.25; }
.panel__title { margin: 0; font-weight: 700; font-size: 17px; }
.panel__text { margin: 8px 0 0; font-size: 15px; line-height: 1.6; }
.panel__headline + .panel__text { margin-top: 12px; }
.panel__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.panel__actions .btn { min-height: 44px; padding: 0 20px; }
.panel__lead { margin: 12px 0 0; font-weight: 600; font-size: 22px; line-height: 1.3; }
.panel__note { margin: 16px 0 0; font-size: 16px; line-height: 1.5; }
.panel__mail { display: block; margin-top: 10px; font-size: 15px; }
.panel__btn { margin-top: 18px; min-height: 44px; }
.panel__more { display: inline-block; margin-top: 14px; font-weight: 700; }

.form { display: flex; flex-direction: column; gap: 24px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 500; font-size: 15px; }
.input {
  width: 100%; min-height: 52px; padding: 14px 16px;
  border: 1.5px solid var(--navy); border-radius: 14px;
  font: inherit; font-size: 16px; color: var(--navy); background: var(--white);
}
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.form__note { font-size: 14px; }

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--navy); color: var(--white); margin-top: auto; }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 32px;
  padding-top: 48px; padding-bottom: 48px;
}
.site-footer__org { display: flex; align-items: center; gap: 16px; }
.site-footer__org img { width: 64px; height: 64px; display: block; }
.site-footer__name { font-weight: 700; }
.site-footer__copy { font-size: 14px; margin-top: 4px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.site-footer nav a { color: var(--white); text-decoration: none; font-size: 14px; padding: 12px 0; }
.site-footer nav a:hover { color: var(--white); text-decoration: underline; }
.site-footer__legal { border-top: 1px solid rgba(255, 255, 255, .28); }
.site-footer__legal .wrap { padding-top: 6px; padding-bottom: 14px; }
.site-footer__legal nav { gap: 4px 28px; }
.site-footer__legal nav a { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 760px) {
  :root { --gut: 16px; }
  .layout { gap: 32px; padding-top: 24px; padding-bottom: 56px; }
  .sidebar { max-width: none; flex-basis: 100%; order: 2; }
  .article { flex-basis: 100%; }
  .article__head h1 { font-size: 34px; }
  .article__standfirst { font-size: 18px; }
  .brand img { width: 44px; height: 44px; }
  .site-header__cta { order: 1; margin-left: auto; min-height: 44px; padding-left: 18px; padding-right: 18px; font-size: 14px; }
  .header-search { order: 2; flex-basis: 100%; max-width: none; }
  .nav { order: 3; flex-basis: 100%; margin-left: 0; justify-content: space-between; gap: 4px 12px; }
  .site-footer .wrap { padding-top: 36px; padding-bottom: 28px; }
  .site-footer__legal .wrap { padding-top: 6px; padding-bottom: 14px; }
  .inline-cta { padding: 28px; }
  .hero > .wrap, .hero--full > .wrap { padding-top: 56px; padding-bottom: 64px; }
  .hero--page > .wrap { padding-top: 32px; padding-bottom: 44px; }
  .hero--search > .wrap { padding-top: 36px; padding-bottom: 36px; }
  .hero h1, .hero--full h1 { font-size: 40px; line-height: 1.12; }
  .hero--page h1 { font-size: 36px; }
  .hero__lead { font-size: 17px; margin-bottom: 28px; }
  .hero-search input[type="search"] { font-size: 16px; padding: 0 14px; }
  .hero-search .btn { padding: 0 20px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section--last { padding-bottom: 56px; }
  .headline { font-size: 30px; margin-bottom: 28px; }
  .card { min-height: 0; }
  .cta-panel { padding: 28px; }
  .cta-panel__title { font-size: 30px; }
  .listing { flex-basis: 100%; gap: 40px; }
  .listing--form { gap: 24px; }
  .status-card, .cta-box { padding: 24px; }
  .results-title { font-size: 28px; }
  .result__title { font-size: 19px; }
  .aside, .aside--wide { max-width: none; flex-basis: 100%; }
}

/* The cookie banner, drawn by insite.js. Reject and Accept are the same
   button on purpose: neither choice is made easier than the other. */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--white); color: var(--navy);
  border-top: 3px solid var(--navy);
  box-shadow: 0 -8px 24px rgba(16, 0, 36, .16);
}
.cookie-banner .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 16px 32px;
  padding-top: 18px; padding-bottom: 18px;
}
.cookie-banner__text { margin: 0; flex: 1 1 420px; font-size: 15px; line-height: 1.5; }
.cookie-banner__text a { color: var(--navy); text-underline-offset: 3px; }
.cookie-banner__buttons { display: flex; gap: 10px; }
.cookie-banner__buttons .btn { min-height: 44px; min-width: 110px; }

@media print {
  .cookie-banner { display: none; }
  .site-header, .site-footer, .sidebar, .feedback, .inline-cta, .related,
  .hero-search, .quick, .cta-panel, .cta-box, .aside { display: none; }
  body { font-size: 11pt; }
  .layout { padding: 0; display: block; }
  .article { max-width: none; }
  .toc { background: none; color: inherit; padding: 0; }
  .toc a { color: inherit; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
