/* ==========================================================================
   Embedded Crossmatch Consultancy Pvt Ltd — Design System
   Zero external resources (no CDN, no web fonts, no trackers).
   No inline styles anywhere, so a strict CSP without 'unsafe-inline' works.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light dark;

  /* Brand (sampled from the corporate deck) */
  --brand-navy-900: #0b1829;
  --brand-navy-800: #112640;
  --brand-navy-700: #1a3354;
  --brand-teal-600: #00868c;
  --brand-teal-500: #00aab1;
  --brand-teal-400: #2bc4cb;
  --brand-teal-300: #6fdbe0;
  --brand-blue-500: #2f6fa8;

  /* Semantic — light theme */
  --bg: #f6f9fb;
  --bg-raised: #ffffff;
  --bg-sunken: #eef4f8;
  --bg-inverse: var(--brand-navy-900);
  --bg-accent-soft: #e4f6f7;

  --text: #16243a;
  --text-muted: #566a7d;
  --text-faint: #7c8c9b;
  --text-inverse: #ffffff;
  --text-inverse-muted: #a9bdd1;

  --accent: var(--brand-teal-600);
  --accent-strong: var(--brand-teal-500);
  --accent-on-dark: var(--brand-teal-400);
  --danger: #b2443f;

  --line: #d9e3ea;
  --line-strong: #bfcedb;
  --line-inverse: rgba(255, 255, 255, 0.14);

  --shadow-sm: 0 1px 2px rgba(11, 24, 41, 0.06), 0 1px 3px rgba(11, 24, 41, 0.05);
  --shadow-md: 0 4px 10px rgba(11, 24, 41, 0.07), 0 12px 28px rgba(11, 24, 41, 0.07);
  --shadow-lg: 0 10px 24px rgba(11, 24, 41, 0.1), 0 28px 60px rgba(11, 24, 41, 0.12);

  /* Type — system stack only, so nothing is fetched from a third party */
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --step--1: clamp(0.8rem, 0.77rem + 0.14vw, 0.875rem);
  --step-0: clamp(0.95rem, 0.91rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.1rem, 1.03rem + 0.33vw, 1.3rem);
  --step-2: clamp(1.32rem, 1.19rem + 0.63vw, 1.7rem);
  --step-3: clamp(1.6rem, 1.36rem + 1.15vw, 2.3rem);
  --step-4: clamp(1.95rem, 1.5rem + 2.1vw, 3.2rem);
  --step-5: clamp(2.2rem, 1.5rem + 3.2vw, 3.9rem);

  /* Space & shape */
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --measure: 68ch;
  --wrap: 1180px;
  --wrap-narrow: 860px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Dark theme — follows the OS, with an explicit override hook */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1626;
    --bg-raised: #112136;
    --bg-sunken: #0a1322;
    --bg-inverse: #060f1c;
    --bg-accent-soft: #0e2f35;

    --text: #e8eff6;
    --text-muted: #a2b4c6;
    --text-faint: #7f93a7;

    --accent: var(--brand-teal-400);
    --accent-strong: var(--brand-teal-300);
    --danger: #ef8e88;

    --line: #22354d;
    --line-strong: #314a66;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.55);
  }
}

:root[data-theme="dark"] {
  --bg: #0b1626;
  --bg-raised: #112136;
  --bg-sunken: #0a1322;
  --bg-inverse: #060f1c;
  --bg-accent-soft: #0e2f35;

  --text: #e8eff6;
  --text-muted: #a2b4c6;
  --text-faint: #7f93a7;

  --accent: var(--brand-teal-400);
  --accent-strong: var(--brand-teal-300);
  --danger: #ef8e88;

  --line: #22354d;
  --line-strong: #314a66;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.55);
}

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p, li { text-wrap: pretty; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--accent-strong); }

:focus-visible {
  outline: 3px solid var(--brand-teal-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brand-teal-500); color: #fff; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

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

.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--sunken { background: var(--bg-sunken); }
.section--raised { background: var(--bg-raised); }
.section--tight { padding-block: clamp(2.25rem, 1.5rem + 3vw, 4rem); }

.section--dark {
  background: var(--bg-inverse);
  color: var(--text-inverse);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark p { color: var(--text-inverse-muted); }
.section--dark a { color: var(--accent-on-dark); }

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -150%);
  z-index: 200;
  background: var(--brand-teal-600);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

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

/* --------------------------------------------------------------------------
   4. Section headings
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  flex: none;
}
.section--dark .eyebrow,
.page-header .eyebrow { color: var(--brand-teal-300); }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p {
  margin-top: 1rem;
  font-size: var(--step-1);
  color: var(--text-muted);
  max-width: var(--measure);
}
.section-head--center p { margin-inline: auto; }

.lede { font-size: var(--step-1); color: var(--text-muted); max-width: var(--measure); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand-teal-600);
  --btn-fg: #fff;
  --btn-border: var(--brand-teal-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.5rem;
  border: 1.5px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 650;
  font-size: var(--step-0);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 134, 140, 0.3);
}
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-border: var(--line-strong);
}
.btn--ghost:hover {
  --btn-border: var(--accent);
  --btn-fg: var(--accent);
  box-shadow: none;
}

.btn--on-dark {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, 0.4);
}
.btn--on-dark:hover {
  --btn-bg: #ffffff;
  --btn-fg: var(--brand-navy-900);
  --btn-border: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn--sm { padding: 0.55rem 1.1rem; font-size: var(--step--1); }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.arrow { transition: transform 0.18s var(--ease); flex: none; }
.btn:hover .arrow { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   6. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-raised);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  flex: none;
  margin-right: auto;
}
.brand:hover { color: var(--text); }
.brand__mark {
  width: 40px;
  height: 40px;
  color: var(--accent);
  flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-weight: 800;
  font-size: 0.97rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.brand__sub {
  font-size: 0.6rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 0.2rem; }
.nav a {
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.94rem;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.nav a:hover { color: var(--text); background: var(--bg-sunken); }
.nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.nav .btn { color: var(--btn-fg); }

.header-cta { flex: none; margin-left: 0.5rem; }
.nav__cta { display: none; }

.nav-toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: absolute;
    inset: 72px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:last-child { border-bottom: 0; }
  .nav .btn { margin-top: 1rem; justify-content: center; border-bottom: 0; }
  .nav__cta { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   7. Circuit backdrop
   -------------------------------------------------------------------------- */
.circuit {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.45;
  color: rgba(111, 219, 224, 0.55);
  pointer-events: none;
}
.section--dark .circuit { opacity: 0.22; }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--brand-navy-900);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(70ch 50ch at 80% 10%, rgba(0, 170, 177, 0.24), transparent 62%),
    radial-gradient(60ch 45ch at 2% 98%, rgba(47, 111, 168, 0.28), transparent 60%),
    linear-gradient(170deg, #0b1829 0%, #122640 55%, #0d2130 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.25rem, 2rem + 7vw, 7rem);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.95rem 0.35rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 650;
  color: #d7e7ee;
  margin-bottom: 1.5rem;
}
.hero__badge span {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  background: var(--brand-teal-500);
  color: #042027;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--brand-teal-300); }

.hero__lede {
  margin-top: 1.4rem;
  font-size: var(--step-1);
  color: #c3d6e3;
  max-width: 54ch;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  list-style: none;
  padding: 0;
}
.hero__pills li {
  font-size: var(--step--1);
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  color: #bcd3e0;
  background: rgba(255, 255, 255, 0.04);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 0.5rem + 2.5vw, 2.75rem);
  margin-top: 2.5rem;
  padding-top: 1.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__stats > div { min-width: 0; }
.hero__stats dt {
  font-size: var(--step--1);
  color: #9fb8c8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero__stats dd {
  margin: 0.15rem 0 0;
  font-size: var(--step-2);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; }
}

/* Hero journey panel */
.journey {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 0.8rem + 1.6vw, 2rem);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.journey__title {
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-teal-300);
  font-weight: 700;
  margin-bottom: 1.3rem;
}
.journey__list { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.journey__list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.journey__list li:hover {
  background: rgba(0, 170, 177, 0.14);
  transform: translateX(4px);
}
.journey__num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 170, 177, 0.18);
  border: 1px solid rgba(111, 219, 224, 0.45);
  color: var(--brand-teal-300);
  font-weight: 800;
  font-size: 0.88rem;
  font-family: var(--font-mono);
}
.journey__label { display: block; font-weight: 700; color: #fff; letter-spacing: 0.03em; }
.journey__desc { display: block; font-size: var(--step--1); color: #a9c2d2; margin-top: 0.05rem; line-height: 1.45; }

/* --------------------------------------------------------------------------
   9. Page header (inner pages)
   -------------------------------------------------------------------------- */
.page-header {
  position: relative;
  background: var(--brand-navy-900);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(2.75rem, 2rem + 5vw, 5rem);
}
.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55ch 38ch at 88% 0%, rgba(0, 170, 177, 0.26), transparent 65%),
    linear-gradient(160deg, #0b1829, #142c49);
}
.page-header h1 { font-size: var(--step-4); color: #fff; }
.page-header p { margin-top: 1rem; font-size: var(--step-1); color: #bdd3e0; max-width: var(--measure); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin-bottom: 1.1rem;
  font-size: var(--step--1);
  color: #8fa9bd;
}
.breadcrumb a { color: #bdd3e0; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: #5c7a90; }

/* --------------------------------------------------------------------------
   10. Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 0.6rem + 1.2vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); }

.card {
  position: relative;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 1rem + 0.8vw, 1.8rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
              border-color 0.22s var(--ease);
}
.card h3 { font-size: var(--step-1); }
.card p { color: var(--text-muted); font-size: 0.96rem; }

a.card { text-decoration: none; color: inherit; }
a.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  color: inherit;
}

.card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--bg-accent-soft);
  color: var(--accent);
  flex: none;
  margin-bottom: 0.25rem;
}
.card__icon svg { width: 24px; height: 24px; }

.card__more {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
a.card:hover .card__more .arrow { transform: translateX(3px); }

.card--dark {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
}
.card--dark h3 { color: #fff; }
.card--dark p { color: var(--text-inverse-muted); }
.card--dark .card__icon {
  background: rgba(0, 170, 177, 0.16);
  color: var(--brand-teal-300);
}

/* Numbered step strip */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr));
  gap: 1rem;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 1.05rem 1.1rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.steps strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 750;
}
.steps span {
  display: block;
  margin-top: 0.3rem;
  font-size: var(--step--1);
  color: var(--text-muted);
  line-height: 1.5;
}

/* Checklist */
.checklist { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.checklist li {
  position: relative;
  display: grid;
  grid-template-columns: 21px 1fr;
  gap: 0.8rem;
  align-items: start;
  color: var(--text-muted);
}
.checklist li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: 0.2em;
  border-radius: 50%;
  background: var(--bg-accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  flex: none;
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.58em;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.checklist--dark li { color: var(--text-inverse-muted); }
.checklist--dark li::before {
  background: rgba(0, 170, 177, 0.15);
  border-color: rgba(111, 219, 224, 0.4);
}
.checklist--dark li::after { border-color: var(--brand-teal-300); }

/* Outcome callout */
.outcome {
  margin-top: 1.6rem;
  padding: 1.1rem 1.3rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--bg-accent-soft);
}
.outcome strong {
  display: block;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.outcome p { color: var(--text); margin: 0; font-size: 0.97rem; }

/* --------------------------------------------------------------------------
   11. Service detail blocks
   -------------------------------------------------------------------------- */
.service {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.25rem);
  border-top: 1px solid var(--line);
}
.service:first-of-type { border-top: 0; }
.service:nth-of-type(even) { background: var(--bg-sunken); }

.service__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 1rem + 3vw, 4rem);
  align-items: start;
}
@media (max-width: 860px) {
  .service__inner { grid-template-columns: 1fr; }
}

.service__index {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}
.service h2 { font-size: var(--step-3); }
.service__tagline {
  margin-top: 0.7rem;
  font-size: var(--step-1);
  color: var(--accent);
  font-weight: 600;
}
.service__body { margin-top: 1rem; color: var(--text-muted); max-width: var(--measure); }

.service__aside {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 1rem + 1vw, 1.8rem);
  box-shadow: var(--shadow-sm);
}
.service__aside h3 {
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.service__aside .steps { margin-top: 1.5rem; }
.service__aside .steps li { background: var(--bg-sunken); }
.service:nth-of-type(even) .service__aside .steps li { background: var(--bg); }

/* --------------------------------------------------------------------------
   12. Hub diagram & flow line
   -------------------------------------------------------------------------- */
.hub {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  margin-top: 2.25rem;
}
.hub__node {
  padding: 1.15rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
}
.hub__node h4 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.hub__node p { font-size: var(--step--1); color: #9fb8c8; margin-top: 0.3rem; line-height: 1.5; }
.hub__node--core {
  background: linear-gradient(140deg, rgba(0, 170, 177, 0.32), rgba(0, 170, 177, 0.1));
  border-color: rgba(111, 219, 224, 0.5);
}
.hub__node--core h4 { color: var(--brand-teal-300); }

.flowline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.flowline li {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
  background: var(--bg-raised);
}
.flowline li.is-emphasised {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-accent-soft);
}
.flowline li.flowline__arrow {
  border: 0;
  padding: 0 0.1rem;
  color: var(--text-faint);
  background: none;
}
.section--dark .flowline li {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #bdd3e0;
}
.section--dark .flowline li.is-emphasised {
  border-color: var(--brand-teal-400);
  color: var(--brand-teal-300);
  background: rgba(0, 170, 177, 0.16);
}
.section--dark .flowline li.flowline__arrow {
  background: none;
  border: 0;
  color: #68839a;
}

/* --------------------------------------------------------------------------
   13. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, #0b1829 0%, #10415c 55%, #006b74 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding-block: clamp(2.75rem, 2rem + 3.5vw, 4.25rem);
}
.cta-band h2 { font-size: var(--step-3); color: #fff; max-width: 22ch; }
.cta-band p { margin-top: 0.7rem; color: #c4dde6; max-width: 48ch; }
.cta-band .btn-row { margin-top: 0; }

/* --------------------------------------------------------------------------
   14. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-list { display: grid; gap: 1.5rem; margin: 0; }
.contact-list > div { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.contact-list__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--bg-accent-soft);
  color: var(--accent);
  flex: none;
}
.contact-list__icon svg { width: 21px; height: 21px; }
.contact-list dt {
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-faint);
  margin-bottom: 0.15rem;
}
.contact-list dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list address { font-style: normal; line-height: 1.6; }

/* Form */
.form-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 1rem + 1.5vw, 2.25rem);
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  gap: 1.05rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 0;
  padding: 0;
  margin: 0;
}
.form-grid > legend {
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: -0.01em;
  grid-column: 1 / -1;
}
.field--full { grid-column: 1 / -1; }
@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
}

.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 650; font-size: 0.91rem; }
.field label .req { color: var(--danger); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  font: inherit;
  font-size: 0.97rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: var(--danger); }

.field__error {
  font-size: var(--step--1);
  color: var(--danger);
  min-height: 1.15em;
  line-height: 1.3;
}
.field__hint { font-size: var(--step--1); color: var(--text-faint); }

/* Honeypot — kept in the DOM, kept off the screen and out of the a11y tree */
.hp-field {
  position: absolute !important;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 1.1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-sunken);
  font-size: 0.95rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-ok {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: var(--bg-accent-soft);
  color: var(--text);
}
.form-status.is-error {
  border-color: color-mix(in srgb, var(--danger) 45%, transparent);
  background: color-mix(in srgb, var(--danger) 12%, var(--bg-raised));
  color: var(--danger);
}

.form-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.7rem;
  align-items: start;
  font-size: 0.89rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-consent input { width: 18px; height: 18px; margin-top: 0.2em; accent-color: var(--brand-teal-600); }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--brand-navy-900);
  color: var(--text-inverse-muted);
  padding-top: clamp(2.75rem, 2rem + 3vw, 4.25rem);
}
.site-footer a { color: #cfe2ec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.footer-brand img { width: 52px; height: 52px; border-radius: 10px; }
.footer-brand strong { color: #fff; display: block; font-size: 0.97rem; letter-spacing: -0.01em; }
.footer-brand span { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: #8fa9bd; }

.footer-about { font-size: 0.92rem; max-width: 42ch; }

.footer-col h3 {
  font-size: 0.73rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.95rem;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; font-size: 0.92rem; }
.footer-col li { overflow-wrap: anywhere; }
.footer-col address { font-style: normal; font-size: 0.92rem; line-height: 1.6; }
.footer-col p { font-size: 0.92rem; }

.footer-bottom {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-top: 1px solid var(--line-inverse);
  padding-block: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #8fa9bd;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; padding: 0; }

/* --------------------------------------------------------------------------
   16. Prose / utility content
   -------------------------------------------------------------------------- */
.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.75rem; }
.prose p, .prose ul, .prose ol { margin-top: 1rem; color: var(--text-muted); }
.prose ul, .prose ol { padding-left: 1.25rem; display: grid; gap: 0.5rem; }
.prose strong { color: var(--text); }
.prose > :first-child { margin-top: 0; }

.notice {
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--bg-sunken);
  font-size: 0.94rem;
  color: var(--text-muted);
}
.notice strong { color: var(--text); }

.error-page { text-align: center; padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.error-page .code {
  font-family: var(--font-mono);
  font-size: clamp(3.5rem, 2rem + 9vw, 7rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
}
.error-page .btn-row { justify-content: center; }
.card__icon--xl {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 1.75rem;
}
.card__icon--xl svg { width: 40px; height: 40px; }

/* --------------------------------------------------------------------------
   17. Motion
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* If scripting is unavailable, never hide content behind an animation. */
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   18. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .nav-toggle, .cta-band, .skip-link, .circuit { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .page-header, .section--dark, .site-footer {
    background: #fff !important;
    color: #000 !important;
  }
  .hero h1, .page-header h1, .section--dark h2,
  .section--dark h3, .section--dark h4 { color: #000 !important; }
  .hero__lede, .page-header p, .section--dark p { color: #333 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
