/* ============================================================================
   Work With Usman — Usman Asif, Local SEO & Google Business Profile Specialist

   1.  Tokens
   2.  Reset & base
   3.  Layout primitives
   4.  Typography
   5.  Links & buttons
   6.  Header & navigation
   7.  Hero
   8.  Composition patterns
   9.  Evidence & figures
   10. Metrics & data display
   11. Lists, pillars, process
   12. Quotes, FAQ, panels
   13. Forms
   14. Footer
   15. Responsive
   16. Motion preferences
   ========================================================================== */

/* ---------------------------------------------------------------- 1. Tokens */
:root {
  --ink: #0B2239;
  --off-white: #F7F6F2;
  --white: #FFFFFF;
  --blue: #1A73E8;
  --green: #188038;
  --slate: #64748B;
  --border: #DDE3E8;

  /* Derived: darker variants so small text clears WCAG AA on the warm ground.
     The tokens above keep their specified values. */
  --body: #3A4A5B;
  --ink-90: #16324B;
  --rule: #E2E7EB;
  --rule-strong: #C9D3DA;
  --blue-text: #1565D8;
  --blue-dark: #1257B8;
  --slate-text: #5C6B80;
  --green-deep: #146B2F;
  --ink-tint: #EEF1F4;

  --font-sans: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 74px;
  --section: clamp(60px, 6.5vw, 96px);
  --radius: 10px;
  --radius-sm: 8px;
}

/* ------------------------------------------------------- 2. Reset & base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
html.is-nav-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--off-white);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 1.0625rem;          /* 17px */
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 1200px) { body { font-size: 1.09rem; } }

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
::selection { background: var(--ink); color: var(--off-white); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 300;
  background: var(--ink);
  color: var(--white);
  padding: 13px 20px;
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }

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

/* ------------------------------------------------ 3. Layout primitives */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap--narrow { max-width: 860px; }

.section { padding: var(--section) 0; }
.section--tight { padding: clamp(44px, 4.5vw, 66px) 0; }
.section--white { background: var(--white); }

/* Asymmetric splits. Ratios are varied deliberately across the site so no
   two consecutive sections share a column rhythm. */
.split { display: grid; gap: clamp(30px, 4.5vw, 60px); align-items: start; }
.split--center { align-items: center; }
.split--38-62 { grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); }
.split--62-38 { grid-template-columns: minmax(0, 62fr) minmax(0, 38fr); }
.split--45-55 { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); }
.split--55-45 { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); }
.split--even   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split--tight  { gap: clamp(24px, 3vw, 40px); }

/* Text-only passages: a comfortable single measure, no columns. */
.prose { max-width: 680px; }
.prose--wide { max-width: 760px; }

/* --------------------------------------------------------- 4. Typography */
h1, h2, h3, h4 {
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.022em;
  line-height: 1.14;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 4.4vw, 3.1rem); line-height: 1.07; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 1.5vw, 1.35rem); font-weight: 700; letter-spacing: -.012em; }
h4 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.008em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.15rem, 1.5vw, 1.28rem);
  line-height: 1.56;
  color: var(--ink-90);
  letter-spacing: -.008em;
}

.small { font-size: .9375rem; line-height: 1.6; }
.muted { color: var(--slate-text); }

/* A section heading block with generous, non-mechanical spacing. */
.head { margin-bottom: clamp(32px, 3.5vw, 48px); }
.head h2 { max-width: 22ch; }
.head p { max-width: 640px; }

/* Mono is reserved for data, dates, case identifiers and platform labels. */
.case-id {
  display: block;
  font-family: var(--font-mono);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-text);
  margin-bottom: 14px;
}
.case-id b { color: var(--ink); font-weight: 500; }

/* --------------------------------------------------- 5. Links & buttons */
a { color: var(--blue-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }

.link-quiet {
  color: var(--slate-text);
  font-size: .9375rem;
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
}
.link-quiet:hover { color: var(--blue-text); text-decoration-color: currentColor; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.008em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: #143650; color: var(--white); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: rgba(11,34,57,.06); color: var(--ink); border-color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--off-white); color: var(--ink); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.34); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ------------------------------------------ 6. Header & navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 242, .95);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header.is-scrolled { border-bottom-color: var(--rule-strong); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.2;
  padding: 6px 0;
}
.brand__name { font-weight: 800; font-size: 1.1rem; letter-spacing: -.024em; }
.brand__role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--slate-text);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav__list a:hover { color: var(--blue-text); }
.nav__list a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav__cta { min-height: 45px; padding: 11px 20px; font-size: .9375rem; }

/* Hamburger: a plain 46px icon button, no label, no heavy outline. */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-right: -8px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(11,34,57,.05); }
.nav-toggle__bars { position: relative; display: block; width: 22px; height: 16px; }
.nav-toggle__bars i {
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .16s ease;
}
.nav-toggle__bars i:nth-child(1) { top: 0; }
.nav-toggle__bars i:nth-child(2) { top: 7px; }
.nav-toggle__bars i:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-scrim { display: none; }

/* -------------------------------------------------------------- 7. Hero */
.hero { padding: clamp(40px, 5vw, 76px) 0 clamp(36px, 4vw, 56px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
}
.hero h1 { margin-bottom: 22px; max-width: 15ch; }
.hero__sub { font-size: clamp(1.1rem, 1.45vw, 1.24rem); line-height: 1.58; max-width: 52ch; color: var(--ink-90); }
.hero__cta { margin-top: 30px; }
.hero__photo {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: 50% 16%;
  border-radius: var(--radius);
  background: var(--ink-tint);
}

/* Credibility line — typographic, not stat cards. */
.credline {
  border-top: 1px solid var(--rule);
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 34px;
}
.credline__item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: .9375rem;
  color: var(--slate-text);
}
.credline__item b {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
}
.credline__note { margin-left: auto; }

/* --------------------------------------------- 8. Composition patterns */
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 26px; }
.mt-lg { margin-top: 40px; }
.mb-md { margin-bottom: 26px; }
.mb-lg { margin-bottom: 40px; }

/* A restrained bordered panel. Used sparingly, never as a card grid. */
.panel {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 34px);
}
.section--white .panel { background: var(--off-white); border-color: var(--border); }
.panel h3 { margin-bottom: 14px; }

/* A quiet aside rule for context notes. */
.note {
  border-left: 2px solid var(--rule-strong);
  padding-left: 20px;
  font-size: .9375rem;
  line-height: 1.62;
  color: var(--slate-text);
}
.note strong { color: var(--ink); font-weight: 700; }

/* A two-line pull statement that breaks up long text runs. */
.pull {
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  max-width: 20ch;
}

/* ------------------------------------------------ 9. Evidence & figures */
.figure { margin: 0; }
.figure__frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.figure__frame img { width: 100%; display: block; }
.figure__frame--plate { background: var(--off-white); padding: 16px; }
.section--white .figure__frame--plate { background: var(--ink-tint); }

.figure figcaption {
  margin-top: 14px;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--slate-text);
  max-width: 720px;
}
.figure figcaption b { color: var(--ink); font-weight: 700; }

/* A small provenance tag. Only on evidence where the distinction between a
   raw platform export and a client-facing graphic actually matters. */
.tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tag--raw { background: rgba(24,128,56,.1); color: var(--green-deep); }
.tag--graphic { background: var(--ink-tint); color: var(--slate-text); }

/* Full-width evidence: the primary proof gets the whole content column. */
.evidence { margin: clamp(30px, 3.5vw, 46px) 0; }

/* Below the tablet breakpoint dense screenshots get an escape hatch. */
.figure__open { display: none; }

/* --------------------------------------- 10. Metrics & data display */
/* A band of large figures read straight off a screenshot. */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(32px, 5vw, 72px);
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  padding: clamp(20px, 2.4vw, 28px) 0;
  margin: clamp(28px, 3vw, 40px) 0;
}
.stat { min-width: 130px; padding: 6px 0; }
.stat__value {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.05;
  color: var(--ink);
  font-feature-settings: "tnum" 1;
}
.stat--up .stat__value { color: var(--green-deep); }
.stat__label { display: block; margin-top: 8px; font-size: .9375rem; color: var(--slate-text); }
.stat__prev {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: .875rem;
  color: var(--slate-text);
}
.stats--compact .stat__value { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }

/* ------------------------------------- 11. Lists, pillars, process */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 13px; line-height: 1.6; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 13px;
  height: 2px;
  background: var(--rule-strong);
}
.ticks--green li::before { background: var(--green); }
.ticks li:last-child { margin-bottom: 0; }
.ticks--loose li { margin-bottom: 18px; }

/* Pillars: a short set of substantive groups. Two columns, no borders,
   no icons — the heading and a sentence carry it. */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 3.4vw, 46px) clamp(36px, 4.5vw, 72px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.pillars--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pillar h3 { margin-bottom: 10px; }
.pillar p { margin-bottom: 0; color: var(--body); }
.pillar__n {
  display: block;
  font-family: var(--font-mono);
  font-size: .8125rem;
  color: var(--slate-text);
  margin-bottom: 10px;
}

/* Service routes: three editorial rows, distinct widths, no card grid. */
.routes { border-top: 1px solid var(--rule-strong); }
.route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 270px);
  gap: 18px clamp(32px, 4vw, 60px);
  padding: clamp(26px, 2.8vw, 36px) 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  text-decoration: none;
  color: inherit;
  transition: background-color .16s ease;
}
a.route:hover { background: rgba(26,115,232,.03); }
a.route:hover h3 { color: var(--blue-text); }
.route h3 { margin-bottom: 10px; }
.route p { margin-bottom: 0; }
.route__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--blue-text);
}
.route__go::after { content: "\2192"; }
.route__aside .ticks li { font-size: .9375rem; margin-bottom: 9px; color: var(--slate-text); }

/* Process: four steps on a single ruled baseline. */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.process > li { border-top: 1px solid var(--rule-strong); padding: 20px 0 0; }
.process > li:first-child { border-top-color: var(--ink); border-top-width: 2px; padding-top: 19px; }
.process__n {
  display: block;
  font-family: var(--font-mono);
  font-size: .8125rem;
  color: var(--slate-text);
  margin-bottom: 12px;
}
.process h3 { margin-bottom: 9px; }
.process p { font-size: .9375rem; margin-bottom: 0; }

/* Numbered problem list — used once per site, not as a default pattern. */
.problems { list-style: none; margin: 0; padding: 0; }
.problems > li { padding: 0 0 clamp(24px, 2.6vw, 32px); margin-bottom: clamp(24px, 2.6vw, 32px); border-bottom: 1px solid var(--rule); }
.problems > li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.problems h3 { margin-bottom: 9px; }
.problems p { margin-bottom: 0; max-width: 640px; }

/* -------------------------------------------- 12. Quotes, FAQ, panels */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.2vw, 48px);
}
.quote { margin: 0; }
.quote p {
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink-90);
  margin-bottom: 16px;
}
.quote figcaption { font-size: .9375rem; color: var(--slate-text); }
.quote figcaption b {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 2px;
}
.quote__mark {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--blue);
  margin-bottom: 18px;
}

.faq { border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
  letter-spacing: -.012em;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 13px; height: 13px;
  margin-top: 7px;
  background:
    linear-gradient(var(--slate-text), var(--slate-text)) center/13px 1.5px no-repeat,
    linear-gradient(var(--slate-text), var(--slate-text)) center/1.5px 13px no-repeat;
  transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue-text); }
.faq__body { padding: 0 56px 22px 0; max-width: 700px; }
.faq__body p:last-child { margin-bottom: 0; }

.cta-band { background: var(--ink); color: #C4D2DF; border-bottom: 1px solid rgba(255,255,255,.13); }
.cta-band h2 { color: var(--white); max-width: 20ch; }
.cta-band p { max-width: 560px; color: #ADC0D1; }

/* ------------------------------------------------------------ 13. Forms */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field > label { font-size: .9375rem; font-weight: 700; color: var(--ink); letter-spacing: -.005em; }
.field .req { color: var(--blue-text); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #687685; }
.field select {
  appearance: none;
  cursor: pointer;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235C6B80' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,115,232,.15);
}
.field__hint { font-size: .9375rem; color: var(--slate-text); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.form__hp { position: absolute; left: -9999px; }
.form__footnote { font-size: .9375rem; color: var(--slate-text); margin-top: 12px; }

.contact-aside { border-top: 1px solid var(--rule-strong); padding-top: 24px; }
.contact-aside dt { font-size: .9375rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.contact-aside dd { margin: 0 0 20px; color: var(--body); }
.contact-aside dd:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------- 14. Footer */
.site-footer {
  background: var(--ink);
  color: #A5B9CA;
  padding: clamp(32px, 3.2vw, 44px) 0 18px;
  font-size: .9375rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: 24px 36px;
  padding-bottom: 24px;
}
.footer__brand-name { display: block; font-size: 1.05rem; font-weight: 800; color: var(--white); letter-spacing: -.024em; }
.footer__brand-role { display: block; font-size: .875rem; color: #7C94AB; margin: 3px 0 10px; }
.footer__blurb { max-width: 38ch; color: #A5B9CA; margin: 0; }
.site-footer h2 { font-size: .875rem; font-weight: 700; color: var(--white); letter-spacing: -.005em; margin-bottom: 10px; }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 5px; }
.footer__list a {
  color: #BDCDDA;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  overflow-wrap: anywhere;
}
.footer__list a:hover { color: var(--white); text-decoration: underline; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  justify-content: space-between;
  font-size: .875rem;
  color: #7C94AB;
}

/* ------------------------------------------------------- 15. Responsive */
@media (max-width: 1040px) {
  .route { grid-template-columns: minmax(0, 1fr); }
  .route__aside { max-width: 520px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 36px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: inline-flex; }

  /* Fixed overlay panel: it covers content instead of pushing the page down. */
  .nav {
    position: fixed;
    top: calc(var(--header-h) + 1px);   /* clears the header's bottom border */
    left: 0;
    right: 0;
    z-index: 1;                          /* inside the header stacking context */
    display: block;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px var(--gutter) 22px;
    background: var(--off-white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px -22px rgba(11, 34, 57, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav__list { display: block; }
  .nav__list li + li { border-top: 1px solid var(--rule); }
  .nav__list a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 0;
    padding: 15px 2px;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    border-bottom: 0;
  }
  .nav__list a[aria-current="page"] { color: var(--blue-text); }
  .nav__cta { display: flex; width: 100%; min-height: 54px; margin-top: 18px; font-size: 1rem; }

  .nav-scrim {
    display: block;
    position: fixed;
    inset: calc(var(--header-h) + 1px) 0 0;
    z-index: 90;                         /* under the header, over the page */
    background: rgba(11, 34, 57, .28);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s;
  }
  .nav-scrim.is-open { opacity: 1; visibility: visible; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero__figure { order: 2; max-width: 440px; }
  .hero__copy { order: 1; }
  .hero h1 { max-width: none; }

  .split--38-62, .split--62-38, .split--45-55, .split--55-45, .split--even {
    grid-template-columns: minmax(0, 1fr);
  }

  .pillars, .pillars--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px clamp(24px, 3vw, 40px); }
  .quotes { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .quotes .quote + .quote { border-top: 1px solid var(--rule); padding-top: 30px; }

  /* Comfortable touch targets for list- and nav-style links. Links set inside
     running prose stay inline (WCAG 2.5.8 inline exception). */
  .footer__list a, .contact-aside dd > a, .ticks > li > a:only-child {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 0;
  }
  .footer__list li { margin-bottom: 0; }
}

@media (max-width: 700px) {
  /* Dense platform screenshots stay full-width but gain a way to see detail. */
  .figure__open {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: .9375rem;
    font-weight: 600;
    min-height: 44px;
  }
  .figure__open::after { content: "\2197"; }
}

@media (max-width: 640px) {
  .credline { gap: 10px 26px; }
  .credline__note { margin-left: 0; width: 100%; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pillars, .pillars--three { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .btn-row .btn { width: 100%; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; }
  .footer__brand, .footer__contact { grid-column: 1 / -1; }
  .faq__body { padding-right: 20px; }
  .stats { gap: 0 32px; }
  .stat { min-width: calc(50% - 16px); }
}

@media (max-width: 380px) {
  :root { --gutter: 18px; }
  .brand__name { font-size: 1.02rem; }
  .stat { min-width: 100%; }
}

/* --------------------------------------------- 16. Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
