/* A shared editorial header keeps the same destinations on every main route. */
.legible-site .site-header {
  position: sticky; top: 0; z-index: 30;
  background: #f8fafb; color: #152e4c; border-bottom: 1px solid #bfd0de;
}
.legible-site .site-header .header-inner {
  display: flex; align-items: center; gap: 24px; height: auto; min-height: 96px;
  width: min(1240px, calc(100% - 48px)); margin: auto; padding: 16px 0;
}
.legible-site .site-header .brand {
  display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0;
  color: #152e4c; text-decoration: none; letter-spacing: normal;
}
.legible-site .site-header .brand-emblem { display: flex; padding: 5px; width: 48px; height: 48px; background: #152e4c; }
.legible-site .site-header .brand-emblem img { width: 38px; height: 38px; filter: none; }
.legible-site .site-header .brand-type { display: flex; flex-direction: column; line-height: 1.05; }
.legible-site .site-header .brand-type strong { font-size: 23px; font-weight: 800; letter-spacing: .09em; }
.legible-site .site-header .brand-type small { font-size: 10px; font-weight: 600; letter-spacing: .23em; margin-top: 7px; }
.legible-site .site-header .desktop-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.legible-site .site-header .desktop-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0;
  font-size: 15px; font-weight: 600; color: #152e4c; text-decoration: none;
  letter-spacing: 0; text-transform: none; background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
.legible-site .site-header .desktop-nav .tools-nav-link { box-shadow: none; }
.legible-site .site-header a:hover { text-decoration: underline; text-underline-offset: 6px; }
.legible-site .site-header a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.legible-site .site-header .header-cta {
  display: inline-flex; align-items: center; gap: 14px; margin: 0; padding: 12px 18px;
  min-height: 46px; border: 1px solid #152e4c; border-radius: 2px;
  background: #152e4c; color: #fff; box-shadow: none; font-size: 15px;
  text-decoration: none; text-transform: none; transform: none;
}
.legible-site .site-header .header-cta:hover { background: #294f70; }
.legible-site .site-header .menu-button {
  display: none; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 10px 14px; border: 1px solid #a9bdcd;
  border-radius: 2px; color: #152e4c; background: transparent; font: inherit; cursor: pointer;
}
.legible-site .site-header .mobile-nav {
  width: min(1240px, calc(100% - 48px)); margin: auto; padding: 0 0 20px;
  max-height: calc(100dvh - 96px); overflow-y: auto;
}
.legible-site .site-header .mobile-nav[hidden] { display: none !important; }
.legible-site .site-header .mobile-nav a {
  display: flex; align-items: center; min-height: 48px; padding: 10px 0;
  color: #152e4c; font-size: 16px; font-weight: 600; text-decoration: none;
  border-top: 1px solid #d5dfe7;
}
.legible-site .site-header :is(a, button):focus-visible { outline: 3px solid #32698b; outline-offset: 4px; }
@media(max-width:1200px) {
  .legible-site .site-header .desktop-nav { display: none; }
  .legible-site .site-header .header-cta { margin-left: auto; }
  .legible-site .site-header .menu-button { display: inline-flex; }
  .legible-site .site-header .mobile-nav:not([hidden]) { display: block; }
}
@media(max-width:600px) {
  .legible-site .site-header .header-inner { min-height: 80px; width: calc(100% - 36px); gap: 12px; padding: 14px 0; }
  .legible-site .site-header .header-cta { display: none; }
  .legible-site .site-header .menu-button { margin-left: auto; }
  .legible-site .site-header .mobile-nav { width: calc(100% - 36px); max-height: calc(100dvh - 80px); }
}
/* Keep the soft portrait a supporting element, well below its native dimensions. */
.sales-training-page .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: center; }
.sales-training-page .sales-portrait { width: 100%; max-width: 300px; padding: 0; justify-self: end; }
.sales-training-page .sales-portrait::before { inset: 12px 10px 18px 18px; border-radius: 100px 100px 4px 4px; }
.sales-training-page .sales-portrait img { width: 100%; height: auto; aspect-ratio: 4 / 4.7; object-fit: cover; object-position: center 22%; border-radius: 120px 120px 4px 4px; }
.sales-training-page .sales-portrait-caption { max-width: 100%; margin: 18px 0 0; padding: 18px; box-shadow: none; }
.sales-training-page .sales-portrait-caption strong { font-size: 20px; line-height: 1.4; }
@media(max-width:900px) {
  .sales-training-page .hero-grid { grid-template-columns: 1fr; }
  .sales-training-page .sales-portrait { justify-self: start; margin: 12px 0 0; max-width: 280px; }
}
/* The hub return link occupies its own space, so it cannot cover a tool or note. */
.tools-hub .visitor-return.visitor-return-inline { position: static; display: flex; width: fit-content; margin: 0 auto 24px; box-shadow: none; }
.tools-hub :is(.method-note, .result-caveat) { overflow-wrap: anywhere; }
.tools-hub .calculator-inputs :is(input:not([type="range"]), select) { color: #152e4c; background-color: #fff; }
/* Deliverables, outcome and next step follow a consistent rhythm. */
.legible-site .pillar { border-top: 3px solid #7ea9c1; }
.legible-site .pillar-content { display: flex; flex-direction: column; align-items: stretch; }
.legible-site .pillar-content > .text-link { margin-top: auto; padding-top: 16px; }
.legible-site .pillar-outcome { font-weight: 600; line-height: 1.6; }
.legible-site .pillar-cue { color: #32698b; }
.legible-site .pillar-conversations .pillar-cue { color: #b8ddee; }
.websites-page .website-service { display: flex; flex-direction: column; border-top: 3px solid #7ea9c1; }
.websites-page .website-service > p:not(.service-result) { color: #29455f; }
.websites-page .website-service h3 { line-height: 1.2; font-weight: 800; }
.websites-page .website-service .service-index { font-size: 14px; font-weight: 800; letter-spacing: .06em; color: #294f70; }
.websites-page .website-service ul { padding-left: 21px; line-height: 1.8; margin-bottom: 24px; }
.websites-page .website-service > .service-result { margin-top: auto; }
.websites-page .website-service-creative { display: grid; }
.websites-page .website-service-creative .service-index { color: #b8ddee; }
.websites-page .website-service-creative .service-result { border-color: #7f9eaf; }
.websites-page .service-enquire { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; min-height: 48px; font-weight: 600; text-underline-offset: 5px; }
.tools-hub .service-card { display: flex; flex-direction: column; border-top: 3px solid #7ea9c1; }
.tools-hub .service-card > .service-card-link { margin-top: auto; padding-top: 20px; }
.tools-hub .service-card h3 { font-weight: 800; line-height: 1.25; }
/* Assumptions sit directly on navy, outside the pale input panel. */
.legible-site.tools-hub .calculator-section .method-note,
.legible-site.tools-hub .calculator-section .method-note :is(p, summary, strong) {
  color: #e0edf6 !important;
}
.legible-site.tools-hub .calculator-section .method-note p { font-weight: 400; line-height: 1.8; }
