/* ==========================================================================
   Adapt Practice — Shared site stylesheet
   Design system extracted from the AI at Work landing page.
   Organised into the sections below. Keep specificity low; avoid !important.
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* ─────────────────────────────────────────────────────────────────────────
   1. Reset and base
   ───────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

/* ─────────────────────────────────────────────────────────────────────────
   2. Design tokens
   ───────────────────────────────────────────────────────────────────────── */
:root {
  /* Colour palette */
  --navy:        #1B2A4A;
  --navy-deep:   #131f38;
  --teal:        #0F7F83;
  --teal-light:  #0e8a8f;
  --teal-text:   #0e7478;
  --gold:        #C8943A;
  --gold-hover:  #a87422;
  --gold-deep:       #8A5A12;
  --gold-deep-hover: #6e4610;
  --white:       #ffffff;
  --paper:       #FBF9F5;
  --grey:        #F2EFE8;
  --grey-mid:    #dde1e9;
  --text-body:   #2d3748;
  --text-muted:  #5c6a7f;
  --error:       #b3261e;
  --border:      var(--grey-mid);

  /* Layout */
  --max-width:   1100px;
  --header-height: 76px;
  --anchor-offset: calc(var(--header-height) + 1.5rem);

  /* Radii */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   14px;

  /* Shadow */
  --shadow:      0 2px 12px rgba(27, 42, 74, 0.07);
  --shadow-lift: 0 8px 28px rgba(27, 42, 74, 0.12);

  /* Typography */
  --font:         'Archivo', system-ui, sans-serif;
  --font-display: 'Newsreader', Georgia, serif;
  --font-wordmark: 'Montserrat', Arial, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   3. Typography
   ───────────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  color: var(--navy);
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h3, h4 {
  font-family: var(--font);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.05rem; font-weight: 700; }

p { font-size: 1rem; }

.section__label,
.section-label {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: var(--space-sm);
}

/* ─────────────────────────────────────────────────────────────────────────
   4. Layout utilities
   ───────────────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section[id] {
  scroll-margin-top: var(--anchor-offset);
}

body.has-page-subnav {
  --anchor-offset: calc(var(--header-height) + 70px);
}

.section { padding: var(--space-2xl) 0; }
.section--light { background: var(--paper); }
.section--grey  { background: var(--grey); }
.section--navy  { background: var(--navy); }
.section--navy .section__label { color: var(--gold); }
.section--navy h2,
.section--navy p { color: var(--white); }
.section--navy .section__intro p { color: rgba(255, 255, 255, 0.78); }

.section__header { max-width: 680px; margin-bottom: 2.5rem; }

.section__divider,
.section-divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 1.5rem 0 2.5rem;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ─────────────────────────────────────────────────────────────────────────
   5. Buttons and links
   ───────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(200, 148, 58, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.text-link:hover { border-color: currentColor; color: var(--gold-deep-hover); }

/* ─────────────────────────────────────────────────────────────────────────
   6. Global header
   ───────────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: var(--header-height);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: auto;
  line-height: 0;
  text-decoration: none;
}

.site-logo:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.site-logo__mark {
  display: block;
  width: auto;
  height: 32px;
}

/* ─────────────────────────────────────────────────────────────────────────
   7. Global navigation
   ───────────────────────────────────────────────────────────────────────── */
.site-nav {
  display: flex;
  align-items: center;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.site-nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.site-nav__links a:hover,
.site-nav__links a:focus-visible {
  color: var(--gold);
}

/* Each completed page applies aria-current="page" to exactly one link. */
.site-nav__links a[aria-current="page"]:not(.site-nav__cta) {
  color: var(--gold);
  font-weight: 700;
}

.site-nav__cta {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  background: var(--gold);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s !important;
}
.site-nav__cta:hover,
.site-nav__cta:focus-visible { background: var(--gold-hover) !important; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Mobile menu toggle */
.site-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
}
.site-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─────────────────────────────────────────────────────────────────────────
   8. Optional page sub-navigation
   Reusable "on this page" bar for long-form pages (e.g. AI at Work).
   Not shown globally — pages opt in.
   ───────────────────────────────────────────────────────────────────────── */
.page-subnav {
  position: sticky;
  top: var(--header-height);
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.page-subnav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.page-subnav__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.page-subnav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  overflow-x: auto;
}

.page-subnav__links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.page-subnav__links a:hover,
.page-subnav__links a:focus-visible { color: var(--gold-deep); }

.page-subnav__toggle {
  display: none;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 640px) {
  .page-subnav__links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem;
  }
  .page-subnav__links.open { display: flex; }
  .page-subnav__toggle { display: inline-flex; }
  .page-subnav__inner { position: relative; }
}

/* ─────────────────────────────────────────────────────────────────────────
   9. Standard page hero
   Shorter, calmer hero for internal pages (not the AI at Work sales hero).
   ───────────────────────────────────────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 30%, rgba(15, 127, 131, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 15% 80%, rgba(200, 148, 58, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

/* Optional two-column layout when a page-specific visual is present
   (e.g. the homepage hero illustration). Pages without .page-hero__visual
   are unaffected. */
.page-hero__inner:has(.page-hero__visual) {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1280px;
}

.page-hero__content { max-width: 640px; }

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.page-hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 1.1rem;
}

.page-hero__content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin-bottom: 1.75rem;
}

.page-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.page-hero__actions .text-link { color: rgba(255, 255, 255, 0.82); }
.page-hero__actions .text-link:hover { color: var(--gold); }

/* ─────────────────────────────────────────────────────────────────────────
   10. Content sections
   ───────────────────────────────────────────────────────────────────────── */
.section__intro { max-width: 680px; }
.section__intro p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ─────────────────────────────────────────────────────────────────────────
   11. Cards and grids
   ───────────────────────────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.content-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  border-top: 4px solid var(--teal);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.content-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.content-card__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}

.content-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--navy);
}

.content-card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

/* Simple checklist used inside split layouts */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.6;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--grey);
}
.checklist li:last-child { border-bottom: none; padding-bottom: 0; }

.checklist__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.checklist__icon svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Credentials / supporting panel used alongside content */
.info-panel {
  background: var(--grey);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
}
.info-panel h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.5rem;
}
.info-panel ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.info-panel li {
  font-size: 0.92rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  line-height: 1.55;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--grey-mid);
}
.info-panel li:last-child { border-bottom: none; padding-bottom: 0; }
.info-panel .bar {
  flex-shrink: 0;
  width: 3px;
  height: 36px;
  background: var(--teal);
  border-radius: 2px;
  margin-top: 2px;
}

/* ─────────────────────────────────────────────────────────────────────────
   12. Calls to action
   ───────────────────────────────────────────────────────────────────────── */
.feature-panel {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.feature-panel__label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.feature-panel h3 {
  color: var(--white);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin-bottom: 1rem;
}
.feature-panel p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.cta-panel {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 4rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(15, 127, 131, 0.2) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(200, 148, 58, 0.08) 0%, transparent 45%);
  pointer-events: none;
}
.cta-panel__inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}
.cta-panel__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}
.cta-panel h2 {
  color: var(--white);
  margin-bottom: 1.1rem;
}
.cta-panel p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2rem;
}

.cta-panel__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Flat full-width CTA band — promoted unchanged from the homepage's
   approved .final-cta pattern so other pages can reuse it without
   duplicating the rules. .cta-panel above is left untouched and still
   serves pages that haven't migrated onto this pattern yet. */
.final-cta {
  text-align: center;
}

.final-cta__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.final-cta h2 {
  color: var(--white);
  max-width: 760px;
  margin: 0 auto 1.1rem;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 700px;
  margin: 0 auto 1.25rem;
}

.final-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 0.75rem;
}

.final-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 148, 58, 0.55);
  padding-bottom: 0.2rem;
  transition: color 0.2s, border-color 0.2s;
}
.final-cta__link:hover {
  color: var(--gold-hover);
  border-color: var(--gold-hover);
}
.final-cta__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* ─────────────────────────────────────────────────────────────────────────
   12b. Editorial migration patterns
   Shared building blocks for migrating older pages onto the approved
   homepage design language: plain text labels, ruled content rows, plain
   teal numerals, and a multi-column dot list. These are new, additively
   named classes — none of them override .card-grid / .content-card /
   .cta-panel, or any page's existing numbered-badge or pill selectors.
   Those stay untouched until a page is deliberately migrated onto the
   classes below; nothing here is referenced by any page yet.
   ───────────────────────────────────────────────────────────────────────── */

/* Plain text label — replaces rounded pill/chip tags */
.editorial-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* Editorial ruled row list — replaces shadowed card grids */
.editorial-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.editorial-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

/* Modifier for a leading number gutter, e.g. numbered service/step rows */
.editorial-row--numbered {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.25rem;
  padding: 1.95rem 0;
}

.editorial-row__number {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal-text);
  letter-spacing: 0.02em;
  padding-top: 0.2rem;
}

.editorial-row__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--navy);
}

.editorial-row__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 62ch;
}

/* Standalone plain-text numeral — replaces filled circle/square badges
   and gradient connector lines. Usable outside .editorial-row too, e.g.
   in a numbered-step grid. */
.editorial-number {
  display: block;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-text);
  letter-spacing: 0.03em;
}

/* Multi-column dot list — replaces pill/chip tag groups.
   Deliberately not named .audience-list: that class already exists with
   different markup/styling on ai-at-work.html and ai-visibility-audit.html,
   and reusing the name here would collide with those pages the moment
   this stylesheet loads. */
.editorial-column-list {
  list-style: none;
  columns: 3;
  column-gap: 2.5rem;
}

.editorial-column-list__item {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
  padding-left: 1.1rem;
  padding-bottom: 0.9rem;
  position: relative;
  break-inside: avoid;
}
.editorial-column-list__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* ─────────────────────────────────────────────────────────────────────────
   12c. Connected process
   Shared component for a genuine sequential process/model — distinct from
   .editorial-number, which is a plain numeral for ordinary numbered
   content. Use this when the numbers represent real sequence/stages:
   filled navy circular marker with a white ring border, gold numeral,
   gradient teal-to-gold connector between steps.
   Canonical reference implementation: Services "Understand / Equip /
   Embed" framework. Values below are promoted verbatim from that
   component — do not alter without re-approving the reference design.
   ───────────────────────────────────────────────────────────────────────── */
.connected-process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Four-column variant for sequences with an extra stage (e.g. AI
   Visibility Audit's Scope / Research / Report / Walkthrough delivery
   process). Only overrides column count -- marker, ring, connector and
   spacing are reused exactly from the base component above. */
.connected-process--four {
  grid-template-columns: repeat(4, 1fr);
}

.connected-process__step {
  position: relative;
  text-align: left;
}

/* Connector runs from the edge of this step's circle, across the grid
   gap, to the start of the next step — works at any column width because
   it's sized relative to the step itself, not the whole row. */
.connected-process__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  left: 44px;
  right: -2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  z-index: 0;
}

.connected-process__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--navy);
}

.connected-process__content h3 { margin-bottom: 0.5rem; }
.connected-process__content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────────────
   13. Forms
   ───────────────────────────────────────────────────────────────────────── */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.form-field .help-text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.form-field .error-text {
  font-size: 0.82rem;
  color: var(--error);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.form-field .error-text::before {
  content: '⚠';
}

.form-field.has-error input,
.form-field.has-error textarea,
.form-field.has-error select {
  border-color: var(--error);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text-body);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  min-height: 48px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

textarea { min-height: 140px; resize: vertical; }

/* Canonical accessible form focus treatment — the single focus style for
   all text inputs, selects and textareas site-wide. Page stylesheets
   should not redeclare input/select/textarea :focus rules; this is the
   one place it's defined. */
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(15, 127, 131, 0.18);
  outline-offset: 1px;
  border-color: var(--teal);
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.checkbox-field input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 0;
  flex-shrink: 0;
  margin-top: 2px;
}
.checkbox-field label { font-weight: 500; }

/* ─────────────────────────────────────────────────────────────────────────
   14. Global footer
   ───────────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  padding: 3rem 0 2rem;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.site-footer__wordmark {
  font-family: var(--font-wordmark);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}

.site-footer__tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 480px;
}

.site-footer__phones {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__phones a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer__phones a:hover,
.site-footer__phones a:focus-visible { color: var(--gold); }

.site-footer__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-footer__links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer__links a:hover,
.site-footer__links a:focus-visible { color: var(--gold); }

.site-footer__legal ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.site-footer__legal li {
  display: flex;
  align-items: center;
}
.site-footer__legal li:not(:first-child)::before {
  content: '\00B7';
  color: rgba(255, 255, 255, 0.25);
  margin: 0 0.75rem;
}
.site-footer__legal a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}
.site-footer__legal a:hover,
.site-footer__legal a:focus-visible { color: var(--gold); }

.site-footer__manage-btn {
  display: inline-block;
  margin-top: 0.75rem;
  background: none;
  border: none;
  padding: 0.2rem 0;
  font: inherit;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.site-footer__manage-btn:hover,
.site-footer__manage-btn:focus-visible { color: var(--gold); }

.site-footer__copyright {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ─────────────────────────────────────────────────────────────────────────
   15. Accessibility
   ───────────────────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   16. Responsive styles
   ───────────────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; }
  .split-layout { grid-template-columns: 1fr; gap: 2.5rem; }

  .page-hero__inner:has(.page-hero__visual) {
    grid-template-columns: 1fr;
  }

  .editorial-row--numbered { grid-template-columns: 1fr; gap: 0.4rem; }
  .editorial-row__number { padding-top: 0; }
  .editorial-column-list { columns: 2; }

  .connected-process { grid-template-columns: 1fr; gap: 2rem; }
  .connected-process__step:not(:last-child)::after { display: none; }

  .site-nav__links { display: none; }
  .site-nav__toggle { display: flex; }

  .site-nav__links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 200;
  }

  .site-nav__links.open .site-nav__cta {
    display: inline-block;
  }
}

@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .container { padding: 0 1.25rem; }

  .feature-panel,
  .cta-panel { padding: 2.5rem 1.5rem; }

  .editorial-column-list { columns: 1; }
}

@media (max-width: 360px) {
  .site-logo__mark { height: 26px; }
}

/* ─────────────────────────────────────────────────────────────────────────
   17. Reduced motion
   ───────────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
