/* =========================================================================
   CyberSight Forensics — style.css
   Plain CSS, no framework. Organised as: tokens → base → components →
   layout/sections → utilities → motion → responsive.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------------------- */
:root {
  /* Brand palette (raw) */
  --parchment: #f8f7f4;
  --surface-white: #ffffff;
  --ink: #1c2530;
  --navy: #23436c;
  --navy-bright: #3a6296;
  --amber: #d9a94c; /* dark grounds only */

  /* Semantic tokens — light theme defaults */
  --bg: var(--parchment);
  --surface: var(--surface-white);
  --surface-sunken: #f1efea;
  --text: var(--ink);
  --text-muted: #52606e;
  --border: #e4e0d8;
  --border-strong: #d4cfc4;
  --brand: var(--navy);
  --brand-bright: var(--navy-bright);
  --logo-accent: var(--navy); /* the Scan mark's single navy accent line */
  --accent: var(--navy); /* on light grounds the accent is navy, not amber */
  --link: var(--navy);
  --cta-bg: var(--navy);
  --cta-bg-hover: #1a3252;
  --cta-text: #ffffff;
  --focus-ring: var(--navy-bright);

  /* Ink band tokens (always-dark sections) */
  --ink-bg: var(--ink);
  --ink-text: var(--parchment);
  --ink-muted: rgba(248, 247, 244, 0.74);
  --ink-border: rgba(248, 247, 244, 0.16);

  /* Typography */
  --font-head: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Source Sans 3', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Radii */
  --radius-btn: 6px;
  --radius-input: 6px;
  --radius-card: 10px;
  --radius-focus: 4px;

  /* Spacing scale */
  --space-2: 2px;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-56: 56px;
  --space-72: 72px;

  /* Layout */
  --container: 1120px;
  --header-h: 64px;
  --shadow-card: 0 1px 2px rgba(28, 37, 48, 0.06), 0 8px 24px rgba(28, 37, 48, 0.06);
  --shadow-pop: 0 12px 40px rgba(28, 37, 48, 0.16);
}

/* Dark theme — flips the global semantic tokens. */
html[data-theme='dark'] {
  --bg: #141b24;
  --surface: #1c2530;
  --surface-sunken: #182029;
  --text: #f8f7f4;
  --text-muted: rgba(248, 247, 244, 0.72);
  --border: rgba(248, 247, 244, 0.14);
  --border-strong: rgba(248, 247, 244, 0.24);
  --accent: var(--amber); /* whole page is a dark ground now */
  --link: var(--amber);
  --logo-accent: currentColor; /* marks reverse to monochrome on dark grounds */
  --cta-bg: var(--navy-bright);
  --cta-bg-hover: #4d76ad;
  --cta-text: #ffffff;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-pop: 0 14px 44px rgba(0, 0, 0, 0.55);
}

/* In dark theme the "ink bands" blend into the page surface. */
html[data-theme='dark'] {
  --ink-bg: #11171f;
  --ink-text: #f8f7f4;
}

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

html {
  font-size: 100%; /* 16px base → respects user zoom */
  scroll-behavior: smooth;
  scroll-padding-top: 84px; /* keep anchored headings clear of the sticky header */
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.2s ease, color 0.2s ease;
}

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

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-16);
  color: var(--text);
}

h1 {
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem);
}
h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.4rem);
}
h3 {
  font-size: 1.3rem;
}
h4 {
  font-size: 1.075rem;
}

p {
  margin: 0 0 var(--space-16);
}

ul,
ol {
  margin: 0 0 var(--space-16);
  padding-left: 1.2em;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: var(--space-32) 0;
}

/* -------------------------------------------------------------------------
   3. Accessibility primitives
   ------------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-focus);
}

/* Fallback for browsers without :focus-visible — still show a ring. */
:focus:not(:focus-visible) {
  outline: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
}

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

/* -------------------------------------------------------------------------
   4. Layout helpers
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section {
  padding-block: clamp(64px, 8vw, 112px);
}

.section--tight {
  padding-block: clamp(40px, 5vw, 64px);
}

.band-ink {
  background: var(--ink-bg);
  color: var(--ink-text);
  --text: var(--ink-text);
  --text-muted: var(--ink-muted);
  --border: var(--ink-border);
  --border-strong: rgba(248, 247, 244, 0.3);
  --accent: var(--amber);
  --link: var(--amber);
  --surface: rgba(248, 247, 244, 0.05);
}

.band-ink h1,
.band-ink h2,
.band-ink h3,
.band-ink h4 {
  color: var(--ink-text);
}

.section-head {
  max-width: 56ch;
  margin-bottom: var(--space-40);
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Kicker — mono, uppercase, tracked label above headings. */
.kicker {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-12);
  display: block;
}

.band-ink .kicker {
  color: var(--amber);
}

/* -------------------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--cta-bg);
  --btn-text: var(--cta-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  min-height: 44px;
  padding: 11px 22px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  background: var(--btn-bg);
  color: var(--btn-text);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.btn:hover {
  background: var(--cta-bg-hover);
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-text: var(--text);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  --btn-bg: var(--surface-sunken);
  background: var(--surface-sunken);
}

.band-ink .btn--ghost {
  --btn-text: var(--ink-text);
  border-color: rgba(248, 247, 244, 0.4);
}

.band-ink .btn--ghost:hover {
  background: rgba(248, 247, 244, 0.1);
}

.btn--amber {
  --btn-bg: var(--amber);
  --btn-text: #20160a;
}

.btn--amber:hover {
  background: #e6b85f;
}

.btn--block {
  width: 100%;
}

/* -------------------------------------------------------------------------
   6. Cards & badges
   ------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-32);
  box-shadow: var(--shadow-card);
}

.card h3 {
  margin-bottom: var(--space-12);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  background: var(--surface-sunken);
}

.band-ink .badge {
  background: rgba(248, 247, 244, 0.08);
  border-color: rgba(248, 247, 244, 0.22);
  color: var(--ink-text);
}

/* -------------------------------------------------------------------------
   7. Header
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--ink);
  color: var(--parchment);
  border-bottom: 1px solid rgba(248, 247, 244, 0.1);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--space-20);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

/* Brand lockup */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--parchment);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand__name b {
  font-weight: 500;
}

.brand__name span {
  color: var(--amber);
}

/* Primary nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: rgba(248, 247, 244, 0.86);
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius-btn);
}

.primary-nav a:hover {
  color: #fff;
  background: rgba(248, 247, 244, 0.08);
  text-decoration: none;
}

/* Header tools cluster */
.header-tools {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(248, 247, 244, 0.22);
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--parchment);
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.icon-btn:hover {
  background: rgba(248, 247, 244, 0.1);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

/* Theme-toggle icons: shown/hidden purely via CSS so no inline styles or JS
   style mutations are needed (keeps the CSP free of style-src 'unsafe-inline'). */
.theme-toggle .icon-moon {
  display: none;
}

html[data-theme='dark'] .theme-toggle .icon-sun {
  display: none;
}

html[data-theme='dark'] .theme-toggle .icon-moon {
  display: block;
}

/* Push the tools cluster to the end when there is no primary nav (policy pages). */
.header-tools--end {
  margin-left: auto;
}

/* Header search */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search input {
  height: 40px;
  width: 168px;
  max-width: 40vw;
  padding: 0 12px 0 34px;
  font-size: 0.95rem;
  color: var(--parchment);
  background: rgba(248, 247, 244, 0.08);
  border: 1px solid rgba(248, 247, 244, 0.2);
  border-radius: var(--radius-input);
}

.header-search input::placeholder {
  color: rgba(248, 247, 244, 0.55);
}

.header-search svg {
  position: absolute;
  left: 10px;
  width: 16px;
  height: 16px;
  color: rgba(248, 247, 244, 0.6);
  pointer-events: none;
}

/* Language picker */
.lang-picker {
  display: inline-flex;
  border: 1px solid rgba(248, 247, 244, 0.22);
  border-radius: var(--radius-btn);
  overflow: hidden;
}

.lang-picker button {
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  background: transparent;
  color: rgba(248, 247, 244, 0.8);
  border: 0;
  cursor: pointer;
}

.lang-picker button[aria-pressed='true'] {
  background: var(--amber);
  color: #20160a;
  font-weight: 600;
}

.cta-header {
  white-space: nowrap;
}

/* Hamburger — hidden until ≤1080px */
.menu-toggle {
  display: none;
}

/* Mobile menu panel */
.mobile-menu {
  display: none;
}

/* -------------------------------------------------------------------------
   8. Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::after {
  /* subtle radial glow, decorative */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
      900px 420px at 78% -10%,
      rgba(58, 98, 150, 0.5),
      transparent 60%
    ),
    radial-gradient(700px 360px at 8% 110%, rgba(217, 169, 76, 0.12), transparent 60%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 {
  margin-bottom: var(--space-20);
  max-width: 18ch;
}

.hero__lead {
  font-size: 1.2rem;
  color: var(--ink-muted);
  max-width: 52ch;
  margin-bottom: var(--space-32);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  margin-bottom: var(--space-24);
}

.hero__assurance {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8) var(--space-20);
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.hero__assurance li {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__assurance {
  padding: 0;
  margin: 0;
}

.hero__assurance .tick {
  color: var(--amber);
  font-weight: 700;
}

/* Evidence card */
.evidence-card {
  background: linear-gradient(180deg, rgba(248, 247, 244, 0.07), rgba(248, 247, 244, 0.02));
  border: 1px solid rgba(248, 247, 244, 0.16);
  border-radius: var(--radius-card);
  padding: var(--space-24);
  box-shadow: var(--shadow-pop);
  backdrop-filter: blur(2px);
}

.evidence-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-20);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(248, 247, 244, 0.14);
}

.evidence-card__title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(248, 247, 244, 0.7);
}

.evidence-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(248, 247, 244, 0.12);
  font-size: 0.94rem;
}

.evidence-row:last-child {
  border-bottom: 0;
}

.evidence-row dt {
  color: rgba(248, 247, 244, 0.62);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.evidence-row dd {
  margin: 0;
  color: var(--parchment);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.evidence-row dd.ok {
  color: #7fd0a3;
}

.evidence-card__seal {
  margin: 0;
  margin-top: var(--space-20);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(248, 247, 244, 0.78);
}

.evidence-card__seal .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7fd0a3;
  box-shadow: 0 0 0 4px rgba(127, 208, 163, 0.18);
}

/* -------------------------------------------------------------------------
   9. Stats strip
   ------------------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 32px);
}

.stat {
  text-align: left;
}

.stat__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.1rem, 1.6rem + 2vw, 3rem);
  line-height: 1;
  color: var(--amber);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat__unit {
  font-size: 0.45em;
  font-weight: 500;
}

.stat__label {
  margin-top: var(--space-12);
  color: var(--ink-muted);
  font-size: 0.96rem;
}

/* -------------------------------------------------------------------------
   10. Services
   ------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card .svc-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  background: var(--surface-sunken);
  color: var(--brand);
  margin-bottom: var(--space-20);
}

html[data-theme='dark'] .service-card .svc-icon {
  color: var(--amber);
}

.service-card .svc-icon svg {
  width: 24px;
  height: 24px;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: var(--space-16) 0 0;
}

.service-card li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.service-card li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

/* -------------------------------------------------------------------------
   11. Process
   ------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-24);
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-top: var(--space-32);
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
  position: absolute;
  top: 0;
  left: 0;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 44px;
  right: -12px;
  height: 1px;
  background: var(--border-strong);
}

.process-grid .process-step:last-child::after {
  display: none;
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-8);
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin: 0;
}

/* -------------------------------------------------------------------------
   12. Engagement (pricing tiers)
   ------------------------------------------------------------------------- */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
  align-items: stretch;
}

.tier {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-32);
  box-shadow: var(--shadow-card);
}

.tier--featured {
  border-color: var(--brand);
  box-shadow: var(--shadow-pop);
  position: relative;
}

html[data-theme='dark'] .tier--featured {
  border-color: var(--amber);
}

.tier__flag {
  position: absolute;
  top: -12px;
  left: var(--space-32);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--brand);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
}

html[data-theme='dark'] .tier__flag {
  background: var(--amber);
  color: #20160a;
}

.tier__name {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-12);
}

.tier__price {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.tier__price span {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
}

.tier__desc {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: var(--space-20);
}

.tier__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-24);
}

.tier__features li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 0.96rem;
}

.tier__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-bright);
  font-weight: 700;
}

html[data-theme='dark'] .tier__features li::before {
  color: var(--amber);
}

.tier .btn {
  margin-top: auto;
}

/* -------------------------------------------------------------------------
   13. Compliance (2x2)
   ------------------------------------------------------------------------- */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-24);
}

.compliance-card {
  display: flex;
  gap: var(--space-20);
}

.compliance-card .c-icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-strong);
  color: var(--brand);
}

html[data-theme='dark'] .compliance-card .c-icon {
  color: var(--amber);
}

.compliance-card .c-icon svg {
  width: 24px;
  height: 24px;
}

.compliance-card h3 {
  font-size: 1.12rem;
  margin-bottom: var(--space-8);
}

.compliance-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* -------------------------------------------------------------------------
   14. About
   ------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.about-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-32);
  box-shadow: var(--shadow-card);
}

.about-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-16);
}

.about-facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--border);
}

.about-facts li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.about-facts dt,
.about-facts .k {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.about-facts .v {
  font-weight: 600;
  text-align: right;
}

/* -------------------------------------------------------------------------
   15. FAQ
   ------------------------------------------------------------------------- */
.faq-list {
  max-width: 820px;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-20) 44px var(--space-20) 0;
  position: relative;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-35%) rotate(-135deg);
}

.faq-item .faq-body {
  padding: 0 44px var(--space-24) 0;
  color: var(--text-muted);
  margin: 0;
}

/* -------------------------------------------------------------------------
   16. Contact
   ------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.contact-aside ul {
  list-style: none;
  padding: 0;
  margin: var(--space-24) 0 0;
  display: grid;
  gap: var(--space-20);
}

.contact-aside li {
  display: flex;
  gap: var(--space-12);
  align-items: flex-start;
}

.contact-aside .ci {
  flex: none;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  background: var(--surface-sunken);
  color: var(--brand);
}

html[data-theme='dark'] .contact-aside .ci {
  color: var(--amber);
}

.contact-aside .ci svg {
  width: 18px;
  height: 18px;
}

.contact-aside .k {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

/* Form */
.enquiry-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
}

.field {
  margin-bottom: var(--space-20);
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.field .req {
  color: #b3402f;
}

html[data-theme='dark'] .field .req {
  color: #f08a7a;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem; /* 16px — prevents iOS zoom, meets minimum */
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-input);
  padding: 11px 13px;
  min-height: 44px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

html[data-theme='dark'] .field input,
html[data-theme='dark'] .field select,
html[data-theme='dark'] .field textarea {
  background: var(--surface-sunken);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-bright);
  box-shadow: 0 0 0 3px rgba(58, 98, 150, 0.2);
}

.field .hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 6px 0 0;
}

/* Honeypot — visually and programmatically hidden from people, present in DOM. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

.form-status {
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  margin-top: var(--space-20);
  padding: var(--space-16) var(--space-20);
  background: rgba(127, 208, 163, 0.14);
  border: 1px solid rgba(46, 145, 95, 0.45);
  color: var(--text);
}

.form-status.is-error {
  margin-top: var(--space-20);
  padding: var(--space-16) var(--space-20);
  background: rgba(179, 64, 47, 0.1);
  border: 1px solid rgba(179, 64, 47, 0.4);
  color: var(--text);
}

.form-privacy {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: var(--space-16) 0 0;
}

/* -------------------------------------------------------------------------
   17. Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--parchment);
  padding-block: clamp(48px, 6vw, 72px) var(--space-32);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: var(--space-40);
  border-bottom: 1px solid rgba(248, 247, 244, 0.14);
}

.footer-brand .brand {
  font-size: 1.15rem;
  margin-bottom: var(--space-16);
}

.footer-brand p {
  color: rgba(248, 247, 244, 0.72);
  font-size: 0.95rem;
  max-width: 38ch;
}

.cert-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-16);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--amber);
  padding: 8px 12px;
  border: 1px dashed rgba(217, 169, 76, 0.5);
  border-radius: var(--radius-btn);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 247, 244, 0.6);
  margin-bottom: var(--space-16);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: rgba(248, 247, 244, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.social-row {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-16);
}

.social-row a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(248, 247, 244, 0.22);
  color: var(--parchment);
}

.social-row a:hover {
  background: rgba(248, 247, 244, 0.1);
}

.social-row svg {
  width: 18px;
  height: 18px;
}

.legal-block {
  margin-top: var(--space-32);
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(248, 247, 244, 0.66);
  max-width: 90ch;
}

.legal-block p {
  margin: 0 0 var(--space-12);
}

.legal-block a {
  color: rgba(248, 247, 244, 0.82);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  align-items: center;
}

.legal-links a {
  text-decoration: none;
}

.legal-links a:hover {
  text-decoration: underline;
}

.legal-links .sep {
  margin: 0 10px;
  color: rgba(248, 247, 244, 0.4);
}

/* -------------------------------------------------------------------------
   18. Policy pages (privacy/cookies/terms/accessibility/modern-slavery)
   ------------------------------------------------------------------------- */
.policy-main {
  padding-block: clamp(48px, 6vw, 88px);
}

.policy-wrap {
  max-width: 760px;
  margin-inline: auto;
}

.policy-wrap .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  margin-bottom: var(--space-24);
}

.policy-wrap .back-link:hover {
  color: var(--link);
}

.policy-wrap h1 {
  margin-bottom: var(--space-8);
}

.policy-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-40);
}

.policy-wrap h2 {
  font-size: 1.4rem;
  margin-top: var(--space-40);
}

.policy-wrap h3 {
  font-size: 1.1rem;
  margin-top: var(--space-32);
}

.policy-wrap p,
.policy-wrap li {
  color: var(--text);
}

.policy-wrap address {
  font-style: normal;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------------
   19. Motion: scroll-reveal (gated behind .js so no-JS shows everything)
   ------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children when a container reveals */
.js [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js [data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: none;
}

.js [data-reveal-stagger].is-visible > *:nth-child(2) {
  transition-delay: 0.08s;
}
.js [data-reveal-stagger].is-visible > *:nth-child(3) {
  transition-delay: 0.16s;
}
.js [data-reveal-stagger].is-visible > *:nth-child(4) {
  transition-delay: 0.24s;
}

/* Search highlight flash */
.search-flash {
  animation: flashHighlight 2s ease;
}

@keyframes flashHighlight {
  0%,
  100% {
    background-color: transparent;
  }
  12% {
    background-color: rgba(217, 169, 76, 0.28);
  }
}

/* Reduced motion: kill all reveal/scroll/flash motion. */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js [data-reveal-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .search-flash {
    animation: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------------------------------------------------------------
   20. Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  /* Collapse the desktop header cluster into a hamburger menu. */
  .primary-nav,
  .header-search,
  .lang-picker,
  .theme-toggle,
  .cta-header {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 90;
    background: var(--ink);
    color: var(--parchment);
    padding: var(--space-24) clamp(16px, 5vw, 40px) var(--space-40);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .mobile-menu.is-open {
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .mobile-menu nav {
    display: grid;
    gap: 2px;
    border-bottom: 1px solid rgba(248, 247, 244, 0.14);
    padding-bottom: var(--space-20);
    margin-bottom: var(--space-20);
  }

  .mobile-menu nav a {
    display: block;
    padding: 14px 12px;
    min-height: 48px;
    color: var(--parchment);
    text-decoration: none;
    border-radius: var(--radius-btn);
    font-size: 1.05rem;
  }

  .mobile-menu nav a:hover {
    background: rgba(248, 247, 244, 0.08);
  }

  .mobile-menu .header-search {
    display: flex;
    margin-bottom: var(--space-20);
  }

  .mobile-menu .header-search input {
    width: 100%;
    max-width: none;
  }

  .mobile-menu .mm-tools {
    display: flex;
    align-items: center;
    gap: var(--space-12);
    flex-wrap: wrap;
    margin-bottom: var(--space-20);
  }

  .mobile-menu .lang-picker,
  .mobile-menu .theme-toggle {
    display: inline-flex;
  }

  .mobile-menu .btn {
    width: 100%;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-32) var(--space-24);
  }

  .services-grid,
  .tiers-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: var(--space-40);
  }

  .process-step::after {
    display: none;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 720px) {
  .services-grid,
  .tiers-grid,
  .compliance-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .tier--featured {
    order: -1;
  }
}

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

/* Print: hide chrome, show legal. */
@media print {
  .site-header,
  .mobile-menu,
  .hero::after,
  .social-row,
  .theme-toggle {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
