/* ==========================================================================
   Scalexa Design System — HP-inspired redesign (per DESIGN.md)
   Pure white canvas · HP Electric Blue (#024ad8) as the lone signal CTA ·
   near-black ink (#1a1a1a) headlines and closing slabs · Manrope geometric
   grotesque at 500/400 · sharp 4px buttons vs soft 16px cards · angular
   blue chevron motif in heroes. Content and structure preserved.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */

:root {
  /* Brand & accent — HP Electric Blue is the only chromatic action color. */
  --primary: #024ad8;
  --primary-bright: #296ef9;
  --primary-deep: #0e3191;
  --primary-soft: #296ef9;
  --primary-press: #0e3191;
  --primary-bg-subdued-hover: #c9e0fc;
  --brand-dark-900: #1a1a1a;

  /* Surfaces — white / cloud / fog band vocabulary. */
  --canvas: #ffffff;
  --canvas-soft: #f7f7f7;
  --canvas-cream: #e8e8e8;

  /* Borders */
  --hairline: #e8e8e8;
  --hairline-input: #c2c2c2;
  --hairline-strong: #c2c2c2;

  /* Text — ink does the work, charcoal/graphite carry the mute. */
  --ink: #1a1a1a;
  --ink-secondary: #3d3d3d;
  --ink-mute: #636363;
  --ink-mute-2: #636363;
  --on-primary: #ffffff;
  --on-ink: #ffffff;

  /* Semantic */
  --ruby: #b3262b;
  --magenta: #296ef9;
  --lemon: #b3262b;
  --shadow-blue: #003770;
  --gold: #FBBF24;

  /* Typography faces — Forma DJR Micro is proprietary; Manrope is the
     closest open substitute per DESIGN.md and is used directly. */
  --font-sans: "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;

  /* Radius — sharp 4px buttons, soft 8–16px cards. */
  --r-xs: 2px;
  --r-sm: 3px;
  --r-md: 4px;
  --r-lg: 8px;
  --r-xl: 16px;
  --r-pill: 9999px;

  /* Spacing */
  --s-xxs: 2px;
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 12px;
  --s-lg: 16px;
  --s-xl: 24px;
  --s-2xl: 32px;
  --s-3xl: 48px;
  --s-4xl: 64px;

  /* Elevation — mostly flat; Soft Lift is the workhorse, modal is rare. */
  --e-1: 0 1px 2px rgba(26, 26, 26, 0.05);
  --e-2: 0 2px 8px rgba(26, 26, 26, 0.08);
  --e-3: 0 2px 8px rgba(26, 26, 26, 0.08);
  --e-4: 0 8px 24px rgba(26, 26, 26, 0.12);

  /* Layout */
  --page-width: 1400px;
  --content-width: 1200px;
  --prose-width: 720px;
  --nav-height: 64px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. Reset ----------------------------------------------------- */

*,
*::before,
*::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
  font-family: var(--font-sans);
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.38;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--primary); color: var(--on-primary); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--canvas-soft); }
::-webkit-scrollbar-thumb { background: var(--hairline-strong); border-radius: var(--r-pill); border: 3px solid var(--canvas-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--ink-mute); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.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;
}

.skip-link {
  position: absolute; left: var(--s-md); top: -100px; z-index: 200;
  background: var(--primary); color: var(--on-primary);
  padding: var(--s-sm) var(--s-md); border-radius: var(--r-md);
  font-size: 14px; font-weight: 500;
}
.skip-link:focus { top: var(--s-md); }

/* ---------- 3. Typography scale ------------------------------------------ */
/* Manrope at weight 500 for every display size, 400 for body — the HP
   decision: open and approachable rather than commanding. */

.display-xl, h1 {
  font-family: var(--font-sans);
  font-size: clamp(40px, 5.5vw, 56px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: 0;
  color: var(--ink);
}
.display-lg, h2 {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: 0;
  color: var(--ink);
}
.display-md, h3 {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.17;
  letter-spacing: 0;
  color: var(--ink);
}
.display-sm, h4 {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: 0;
  color: var(--ink);
}
h5 { font-family: var(--font-sans); font-size: 18px; font-weight: 500; line-height: 1.33; color: var(--ink); }
h6 { font-family: var(--font-sans); font-size: 16px; font-weight: 500; line-height: 1.38; color: var(--ink); }

.body-lg { font-family: var(--font-sans); font-size: 18px; font-weight: 400; line-height: 1.33; }
.body-md { font-family: var(--font-sans); font-size: 16px; font-weight: 400; line-height: 1.38; }
.body-md-strong { font-family: var(--font-sans); font-size: 16px; font-weight: 500; line-height: 1.38; }
.body-sm { font-family: var(--font-sans); font-size: 14px; font-weight: 400; line-height: 1.5; font-feature-settings: "tnum"; }
.body-sm-strong { font-family: var(--font-sans); font-size: 14px; font-weight: 500; line-height: 1.5; }
.caption { font-family: var(--font-sans); font-size: 13px; font-weight: 400; line-height: 1.5; font-feature-settings: "tnum"; }

/* Eyebrow labels — uppercase caption, blue. The system's only letter-tracking
   lives on buttons; eyebrows stay tight. */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-xs);
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 500; line-height: 16px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary);
}

/* Hero display, fluid. */
.display-hero {
  font-size: clamp(40px, 6.2vw, 72px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: 0;
  color: var(--ink);
}

.text-muted { color: var(--ink-mute); }
.text-body { color: var(--ink-secondary); }
.text-center { text-align: center; }
.text-balance { text-wrap: balance; }

/* Blue family gradient — blue is the only chromatic accent. */
.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--primary-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 4. Layout ---------------------------------------------------- */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 32px;
}
.container-wide { max-width: 1400px; }
.container-prose { max-width: 720px; }
.container-narrow { max-width: 960px; }

.band { padding-block: 80px; }
.band-tight { padding-block: 64px; }
.band-canvas { background: var(--canvas); }
.band-soft { background: var(--canvas-soft); }
/* Pure-white vertical gap between adjacent bands (e.g. services -> numbers). */
.band-gap { height: 80px; background: var(--canvas); }
.band-cream { background: var(--canvas-cream); }

/* The ink slab — near-black, the HP closing-band treatment. */
.band-dark {
  background: var(--brand-dark-900);
  color: var(--on-ink);
}
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4,
.band-dark .display-xl, .band-dark .display-lg,
.band-dark .display-md, .band-dark .display-sm,
.band-dark .display-hero { color: var(--on-ink); }
.band-dark p, .band-dark li { color: rgba(255, 255, 255, 0.72); }
.band-dark .card h3 { color: var(--ink); }
.band-dark .eyebrow, .band-dark .caption-mono { color: var(--primary-bright); }
.band-dark .hairline { background: rgba(255, 255, 255, 0.14); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { display: block; margin-bottom: var(--s-sm); }
.section-head p {
  margin-top: var(--s-md);
  font-size: 16px; line-height: 1.38; color: var(--ink-secondary);
}
.band-dark .section-head p { color: rgba(255, 255, 255, 0.72); }

.section-head.split {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-xl) var(--s-3xl);
  align-items: end;
  justify-content: space-between;
}
.section-head.split .section-head-left {
  max-width: 560px;
}
.section-head.split p {
  margin-top: 0;
  margin-bottom: var(--s-sm);
  max-width: 480px;
  justify-self: end;
}

.stack { display: flex; flex-direction: column; }
.stack-xs { gap: var(--s-xs); }
.stack-sm { gap: var(--s-sm); }
.stack-md { gap: var(--s-md); }
.stack-lg { gap: var(--s-lg); }
.stack-xl { gap: var(--s-xl); }

.row { display: flex; align-items: center; gap: var(--s-sm); flex-wrap: wrap; }
.row-md { gap: var(--s-md); }
.row-lg { gap: var(--s-lg); }
.row-center { justify-content: center; }
.row-between { justify-content: space-between; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.hairline { height: 1px; background: var(--hairline); border: 0; margin: 0; }

/* ---------- 5. Buttons --------------------------------------------------- */
/* HP: sharp 4px corners, uppercase labels with 0.7px tracking, 44px height.
   Blue is the lone filled CTA. */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-xs);
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 600; line-height: 1.4;
  letter-spacing: 0.7px; text-transform: uppercase;
  height: 44px; padding-inline: 24px;
  border-radius: var(--r-md);
  white-space: nowrap;
  transition: background-color .15s var(--ease), color .15s var(--ease),
              box-shadow .15s var(--ease), opacity .15s var(--ease),
              transform .15s var(--ease);
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-bright); }
.btn-primary:active { background: var(--primary-press); }

/* Light sweep across primary buttons on hover. */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .7s var(--ease);
}
.btn-primary:hover::after { transform: translateX(130%); }
.btn-primary:disabled::after { display: none; }

.btn-secondary {
  background: var(--canvas); color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}
.btn-secondary:hover { background: var(--primary-bg-subdued-hover); }

/* On an ink slab the pair inverts: white fill + outline. */
.band-dark .btn-primary { background: var(--canvas); color: var(--ink); }
.band-dark .btn-primary:hover { background: var(--canvas-soft); }
.band-dark .btn-secondary { background: transparent; color: var(--on-ink); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5); }
.band-dark .btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }

.btn-sm { height: 36px; font-size: 12.6px; padding-inline: 14px; }
.btn-block { display: flex; width: 100%; }

.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* Hero CTA breathes a soft glow ring to draw the eye. */
.hero .btn-primary,
.hero-page .btn-primary {
  animation: cta-glow 3.2s ease-in-out infinite;
}
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(2, 74, 216, .32); }
  50% { box-shadow: 0 0 0 14px rgba(2, 74, 216, 0); }
}

/* Nav-scale buttons — same sharp shape, smaller. */
.btn-nav {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding-inline: var(--s-md);
  font-family: var(--font-sans);
  font-size: 12.6px; font-weight: 700; line-height: 1.0;
  letter-spacing: 0.7px; text-transform: uppercase;
  border-radius: var(--r-md);
  transition: background-color .15s var(--ease), box-shadow .15s var(--ease);
}
.btn-nav-primary { background: var(--primary); color: var(--on-primary); }
.btn-nav-primary:hover { background: var(--primary-bright); }
.btn-nav-ghost { background: transparent; color: var(--ink); box-shadow: 0 0 0 1px var(--hairline-strong); }
.btn-nav-ghost:hover { background: var(--canvas-soft); }

/* Ghost tab pill row — the HP category-tab: pill, ink-active. */
.tab-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding-inline: var(--s-md);
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 500; line-height: 1.4;
  color: var(--ink);
  background: var(--canvas);
  border-radius: var(--r-pill);
  box-shadow: 0 0 0 1px var(--hairline-strong);
  transition: color .15s var(--ease), box-shadow .15s var(--ease), background-color .15s var(--ease);
}
.tab-ghost:hover { color: var(--primary); }
.tab-ghost[aria-selected="true"], .tab-ghost.is-active {
  background: var(--ink); color: var(--on-ink); box-shadow: none;
}

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--canvas); color: var(--ink);
  border-radius: var(--r-md);
  box-shadow: 0 0 0 1px var(--hairline-strong);
  transition: background-color .15s var(--ease), box-shadow .15s var(--ease);
}
.icon-btn:hover { background: var(--canvas-soft); }
.icon-btn svg { width: 14px; height: 14px; }

/* Inline body link — blue text link. */
.link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--primary-bg-subdued-hover);
}
.link:hover { text-decoration-color: var(--primary); }

/* Arrow link. */
.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-xxs);
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 500; line-height: 1.4;
  letter-spacing: 0;
  color: var(--ink);
}
.link-arrow::after {
  content: "→";
  transition: transform .15s var(--ease);
}
.link-arrow:hover::after { transform: translateX(3px); }
.band-dark .link-arrow { color: var(--on-ink); }

/* ---------- 6. Cards & surfaces ------------------------------------------ */
/* HP: 16px rounded cards, Soft Lift shadow, hairline border. */

.card {
  background: var(--canvas);
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: var(--s-xl);
  box-shadow: var(--e-2);
  border: 1px solid var(--hairline);
}
.card-lg { border-radius: var(--r-xl); padding: var(--s-xl); box-shadow: var(--e-3); }
.card-soft { background: var(--canvas-soft); border-color: transparent; box-shadow: none; }
.card-interactive { transition: transform .2s var(--ease), box-shadow .2s var(--ease); cursor: pointer; }
.card-interactive:hover { transform: translateY(-2px); box-shadow: var(--e-4); }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: var(--s-md);
  background: var(--primary-bg-subdued-hover);
  border-radius: var(--r-lg);
  color: var(--primary);
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.card-interactive:hover .card-icon {
  transform: translateY(-3px) scale(1.08);
  background: var(--primary);
  color: var(--on-primary);
}
.card-icon svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.card h3 { margin-bottom: var(--s-xs); font-weight: 500; }
.card p { color: var(--ink-secondary); }

/* Badges & banners. */
.badge {
  display: inline-flex; align-items: center; gap: var(--s-xxs);
  height: 24px; padding-inline: var(--s-sm);
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 500; line-height: 1.33;
  background: var(--primary-bg-subdued-hover);
  color: var(--primary-deep);
  border-radius: var(--r-lg);
}
.badge-info { background: var(--primary-bg-subdued-hover); color: var(--primary-deep); }
.badge-warning { background: #fff3e0; color: #b3262b; }
.badge-error { background: #fde8ec; color: var(--ruby); }
.badge-solid { background: var(--primary); color: var(--on-primary); }

.banner {
  display: inline-flex; align-items: center; gap: var(--s-xs);
  padding: var(--s-xs) var(--s-sm) var(--s-xs) var(--s-xs);
  background: var(--canvas);
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 13px; line-height: 1.5;
  border-radius: var(--r-pill);
  box-shadow: var(--e-2);
}
.banner strong { color: var(--ink); font-weight: 500; }
.banner .badge { background: var(--primary); color: var(--on-primary); }

/* The live status dot. */
.status-dot {
  position: relative;
  width: 8px; height: 8px; flex: none;
  border-radius: var(--r-pill);
  background: var(--primary);
}
.status-dot::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; background: inherit;
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: .6; }
  70%, 100% { transform: scale(2.6); opacity: 0; }
}

/* ---------- 7. Chevron motif. The HP hero gesture ------------------------- */
/* Two angular blue slashes — an architectural echo of the HP wordmark —
   flank the hero content. They disappear on mobile, exactly like the source
   system's hero chevrons. */

.mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  filter: none;
  opacity: .1;
  animation: none;
  -webkit-mask-image: none;
  mask-image: none;
}
.mesh::before,
.mesh::after {
  content: "";
  position: absolute;
  top: -10%; bottom: -10%;
  width: min(26vw, 380px);
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
}
.mesh::before {
  left: -6%;
  clip-path: polygon(0 0, 74% 0, 30% 100%, 0 100%);
  animation: mesh-drift-a 18s ease-in-out infinite;
}
.mesh::after {
  right: -6%;
  clip-path: polygon(100% 0, 26% 0, 70% 100%, 100% 100%);
  animation: mesh-drift-b 24s ease-in-out infinite;
}
.mesh-soft { opacity: .06; }

/* The two backdrop pillars slowly breathe sideways so the hero feels alive.
   Composes with the scroll parallax, which drives the `translate` property. */
@keyframes mesh-drift-a {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3.5%); }
}
@keyframes mesh-drift-b {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-3.5%); }
}

/* Blue rule. */
.gradient-rule {
  height: 1px; border: 0;
  background: linear-gradient(90deg,
    transparent,
    var(--primary) 25%,
    var(--primary-bright) 75%,
    transparent);
  opacity: .5;
}

/* ---------- 8. Navigation ------------------------------------------------ */
/* HP nav-bar-top: white bar, hairline bottom border, blue active underline. */

.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-height);
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--hairline-strong); }

.nav-inner {
  height: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 32px;
  display: flex; align-items: center; gap: 32px;
}

.logo {
  display: inline-flex; align-items: center;
  flex: none; color: var(--ink);
}
.logo-img { height: 28px; width: auto; display: block; }

@media (max-width: 599px) {
  .logo-img { height: 24px; }
}

.nav-logo { display: flex; align-items: center; flex: none; }
.nav-logo img { height: 26px; width: auto; }

.nav-links {
  display: flex; align-items: center; gap: 2px;
  margin-left: var(--s-sm);
}
.nav-link {
  display: inline-flex; align-items: center; height: 32px;
  padding-inline: 12px;
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 500; line-height: 1.38;
  color: var(--ink-secondary);
  position: relative;
  transition: color .15s var(--ease);
}
.nav-link:hover { color: var(--primary); }
.nav-link[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}
/* Animated underline grows from the left on hover, persists for the
   current page. */
.nav-link::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: -2px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s-xs); }

.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: var(--r-md);
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
/* Generous hit area on phones. */
@media (max-width: 599px) {
  .nav-toggle { width: 44px; height: 44px; }
}
.nav-toggle:hover { background: var(--canvas-soft); }
.nav-toggle span {
  display: block; position: relative;
  width: 16px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 16px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .2s var(--ease);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-5px) rotate(-45deg); }

/* Mobile menu opens as a full overlay. */
.nav-drawer {
  position: fixed; inset: var(--nav-height) 0 0 0; z-index: 99;
  background: var(--canvas);
  padding: var(--s-lg);
  display: flex; flex-direction: column; gap: var(--s-xxs);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  overflow-y: auto;
}
.nav-drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.nav-drawer a {
  display: flex; align-items: center;
  padding: var(--s-sm) var(--s-xs);
  font-family: var(--font-sans);
  font-size: 16px; font-weight: 500; line-height: 1.38;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  -webkit-tap-highlight-color: transparent;
}
.nav-drawer a:active { background: var(--canvas-soft); }
.nav-drawer .btn { margin-top: var(--s-md); border-bottom: 0; }

/* Mobile menu rows are comfortable touch targets: 44px minimum height. */
@media (max-width: 599px) {
  .nav-drawer a { padding-block: 14px; }
}

/* ---------- 9. Hero ------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--canvas);
  padding-block: 96px 64px;
  text-align: center;
}
.hero > .container { position: relative; z-index: 1; }
.hero .banner { margin-bottom: 24px; }
.hero p.lead {
  max-width: 640px; margin: 24px auto 0;
  font-size: 18px; line-height: 1.33; color: var(--ink-secondary);
}
.hero .btn-row { margin-top: 32px; justify-content: center; }

.hero-trust {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 16px 32px;
}
.hero-trust li {
  display: inline-flex; align-items: center; gap: var(--s-xs);
  font-family: var(--font-sans);
  font-size: 14px; line-height: 1.5; color: var(--ink-mute);
}
.hero-trust svg {
  width: 14px; height: 14px; flex: none;
  fill: none; stroke: var(--primary); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Compact hero for interior pages. */
.hero-page {
  position: relative; overflow: hidden;
  background: var(--canvas);
  padding-block: 64px 48px;
  border-bottom: 1px solid var(--hairline);
}
.hero-page > .container { position: relative; z-index: 1; }
.hero-page .eyebrow { display: block; margin-bottom: var(--s-sm); }
.hero-page h1 { max-width: 800px; }
.hero-page p.lead {
  max-width: 640px; margin-top: var(--s-md);
  font-size: 18px; line-height: 1.33; color: var(--ink-secondary);
}

/* ---------- 10. Stats ---------------------------------------------------- */

.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.stat {
  padding: 32px 24px;
  border-right: 1px solid var(--hairline);
}
.stat:last-child { border-right: 0; }
.stat-value {
  font-family: var(--font-sans);
  font-size: 32px; font-weight: 500; line-height: 1.0;
  letter-spacing: 0;
  color: var(--ink);
  font-feature-settings: "tnum";
}
.stat-label { margin-top: var(--s-sm); font-family: var(--font-sans); font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--ink-secondary); }
.stat-desc { margin-top: 4px; font-size: 12px; line-height: 1.33; color: var(--ink-mute); }
.band-dark .stat-row { border-color: rgba(255, 255, 255, 0.14); }
.band-dark .stat { border-right-color: rgba(255, 255, 255, 0.14); }
.band-dark .stat-value { color: var(--on-ink); }
.band-dark .stat-label { color: rgba(255, 255, 255, 0.72); }
.band-dark .stat-desc { color: rgba(255, 255, 255, 0.5); }

/* ---------- 11. Feature list --------------------------------------------- */

.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: var(--s-xs);
  font-family: var(--font-sans);
  font-size: 15px; line-height: 1.5;
  color: var(--ink-secondary);
  font-feature-settings: "tnum";
}
.feature-list svg {
  width: 14px; height: 14px; margin-top: 2px; flex: none;
  fill: none; stroke: var(--primary); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.band-dark .feature-list li { color: rgba(255, 255, 255, 0.72); }

/* Larger two-line feature rows. */
.detail-list { display: flex; flex-direction: column; gap: 24px; }
.detail-list li { display: flex; gap: var(--s-md); }
.detail-list .card-icon { margin-bottom: 0; flex: none; width: 36px; height: 36px; }
.detail-list strong { display: block; font-family: var(--font-sans); font-size: 16px; font-weight: 500; line-height: 1.38; color: var(--ink); }
.detail-list span { display: block; margin-top: 2px; font-family: var(--font-sans); font-size: 14px; line-height: 1.5; color: var(--ink-secondary); }
.band-dark .detail-list strong { color: var(--on-ink); }
.band-dark .detail-list span { color: rgba(255, 255, 255, 0.72); }

/* ---------- 12. Pricing -------------------------------------------------- */
/* HP pricing tiers: white cards, 16px radius, Soft Lift; the featured tier
   carries a thin blue top border + blue price — never an inverted slab. */

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-items: stretch;
}
.price-card {
  display: flex; flex-direction: column;
  background: var(--canvas); color: var(--ink);
  border-radius: var(--r-xl); padding: var(--s-xl);
  box-shadow: var(--e-2);
  border: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}
.price-card.is-featured { border-color: var(--primary); box-shadow: var(--e-3); }
.price-card.is-featured::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
}
.price-card.is-featured .price-value { color: var(--primary); }
.price-card.is-featured .price-desc { color: var(--ink-secondary); }
.price-card.is-featured .btn-primary { background: var(--primary); color: var(--on-primary); }
.price-card.is-featured .btn-primary:hover { background: var(--primary-bright); }

.price-card .price-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-xs); }
.price-value {
  margin-top: var(--s-md);
  font-family: var(--font-sans);
  font-size: 24px; font-weight: 500; line-height: 1.17;
  letter-spacing: 0;
  color: var(--ink);
  font-feature-settings: "tnum";
}
.price-value .price-period {
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 400; line-height: 1.5;
  color: var(--ink-mute);
}
.price-old {
  display: block; margin-bottom: var(--s-xxs);
  font-size: 14px; font-weight: 400; line-height: 1.5;
  color: var(--ink-mute); text-decoration: line-through;
}
.price-desc { margin-top: var(--s-xs); font-family: var(--font-sans); font-size: 14px; line-height: 1.5; color: var(--ink-secondary); }
.price-card .hairline { margin-block: 24px; }
.price-card .feature-list { flex: 1; }
.price-card .btn { margin-top: 24px; }

/* ---------- 13. Forms ---------------------------------------------------- */

.field { display: flex; flex-direction: column; gap: var(--s-xs); }
.field label {
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 500; line-height: 1.4;
  color: var(--ink);
}
.field .hint { font-size: 12px; line-height: 1.33; color: var(--ink-mute); }
.field .error-text { font-size: 12px; line-height: 1.33; color: var(--ruby); }

.input, .select, .textarea {
  width: 100%; height: 44px;
  padding-inline: 16px;
  background: var(--canvas); color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px; line-height: 1.38;
  border: 1px solid var(--hairline-input);
  border-radius: var(--r-md);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.input-lg { height: 52px; }
.input-sm { height: 36px; }
.textarea { height: auto; min-height: 120px; padding-block: 12px; resize: vertical; }
.select {
  appearance: none;
  padding-right: var(--s-xl);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23636363' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-mute); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-mute); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--ruby); }

.checkbox-row { display: flex; align-items: flex-start; gap: var(--s-xs); }
.checkbox-row input[type="checkbox"] { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--primary); }
.checkbox-row label { font-family: var(--font-sans); font-size: 15px; font-weight: 400; line-height: 1.5; color: var(--ink-secondary); }

.form-note { font-size: 12px; line-height: 1.33; color: var(--ink-mute); }

.form-status {
  padding: var(--s-sm) var(--s-md);
  border-radius: var(--r-md);
  font-size: 14px; line-height: 20px;
}
.form-status.is-success { background: #e6f9f0; color: #00553d; }
.form-status.is-error { background: #fde8ec; color: var(--ruby); }

/* ---------- 14. Accordion (FAQ) ------------------------------------------ */
/* HP faq-row: 8px rounded rows, hairline dividers, 500-weight questions. */

.accordion { display: flex; flex-direction: column; gap: 8px; }
.accordion-item {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 0 var(--s-xl);
}
.accordion-trigger {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-md); width: 100%;
  padding: 20px 0;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 16px; font-weight: 500; line-height: 1.38;
  color: var(--ink);
  transition: color .15s var(--ease);
}
.accordion-trigger:hover { color: var(--primary); }
.accordion-trigger svg {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: var(--ink-mute); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .2s var(--ease);
}
.accordion-item.is-open .accordion-trigger svg { transform: rotate(180deg); }
.accordion-panel {
  max-height: 0; overflow: hidden;
  transition: max-height .3s var(--ease);
}
.accordion-panel p {
  padding-bottom: 20px;
  max-width: 720px;
  font-family: var(--font-sans);
  font-size: 16px; line-height: 1.5; color: var(--ink-secondary);
}

/* ---------- 15. Code / terminal mockup ----------------------------------- */

.code-mockup {
  background: var(--brand-dark-900); color: var(--on-ink);
  border-radius: var(--r-lg);
  padding: 24px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.code-mockup-head {
  display: flex; align-items: center; gap: var(--s-xs);
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.code-mockup-head .dot { width: 10px; height: 10px; border-radius: var(--r-pill); background: #4a4a4a; }
.code-mockup-head .file {
  margin-left: var(--s-xs);
  font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: rgba(255, 255, 255, 0.5);
}
.code-mockup pre { font-family: var(--font-mono); font-size: 13px; line-height: 20px; white-space: pre; }
.code-mockup .c-mute { color: rgba(255, 255, 255, 0.45); }
.code-mockup .c-primary { color: var(--primary-bright); }
.code-mockup .c-magenta { color: #8ec5ff; }
.code-mockup .c-blue { color: #8ec5ff; }
.code-mockup .c-cyan { color: #8ec5ff; }
.code-mockup .c-lemon { color: var(--gold); }

code.inline {
  padding: 2px 8px;
  background: var(--primary-bg-subdued-hover);
  border-radius: var(--r-xs);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--primary-deep);
}

/* ---------- 16. Tables --------------------------------------------------- */

.table th {
  padding: var(--s-xs) var(--s-sm);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 500; line-height: 1.33;
  letter-spacing: 0.1px; text-transform: uppercase;
  color: var(--ink-mute); text-align: left;
  border-bottom: 1px solid var(--hairline);
}
.table td {
  padding: 12px var(--s-sm);
  font-family: var(--font-sans);
  font-size: 15px; line-height: 1.5;
  color: var(--ink-secondary);
  border-bottom: 1px solid var(--hairline);
}
.table td strong { color: var(--ink); font-weight: 500; }

.table-wrap { overflow-x: auto; border-radius: var(--r-md); background: var(--canvas); }

/* ---------- 17. Prose (blog, legal) -------------------------------------- */

.prose { max-width: var(--prose-width); }
.prose > * + * { margin-top: var(--s-md); }
.prose h2 { margin-top: var(--s-2xl); font-weight: 500; }
.prose h3 { margin-top: var(--s-xl); font-weight: 500; }
.prose p, .prose li { font-family: var(--font-sans); font-size: 16px; line-height: 1.5; color: var(--ink-secondary); }
.prose ul, .prose ol { padding-left: var(--s-lg); }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose li + li { margin-top: var(--s-xs); }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--primary-bg-subdued-hover); }
.prose a:hover { text-decoration-color: var(--primary); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose blockquote {
  padding-left: var(--s-md);
  border-left: 2px solid var(--hairline-strong);
  color: var(--ink-secondary);
}
.prose hr { height: 1px; background: var(--hairline); border: 0; margin-block: var(--s-xl); }
.prose img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--e-2); }
.prose pre {
  padding: var(--s-md);
  background: var(--brand-dark-900); color: var(--on-ink);
  border-radius: var(--r-lg);
  overflow-x: auto;
}
.prose table { display: block; overflow-x: auto; }

/* ---------- 17b. Legal documents ----------------------------------------- */

.policy-block + .policy-block { margin-top: var(--s-4xl); }
.policy-block .policy-heading {
  display: flex; align-items: baseline; gap: var(--s-sm);
  padding-bottom: var(--s-sm);
  border-bottom: 1px solid var(--hairline);
}
.policy-heading-number {
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 500; line-height: 1.4;
  color: var(--ink-mute); flex: none;
}
.policy-body { margin-top: var(--s-md); }
.policy-body > * + * { margin-top: var(--s-md); }
.policy-body p, .policy-body li { font-family: var(--font-sans); font-size: 16px; line-height: 1.5; color: var(--ink-secondary); }
.policy-body ul { padding-left: var(--s-lg); }
.policy-body ul li { list-style: disc; }
.policy-body li + li { margin-top: var(--s-xs); }
.policy-body strong { color: var(--ink); font-weight: 500; }
.policy-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.policy-highlight {
  padding: var(--s-md);
  background: var(--canvas-soft);
  border-radius: var(--r-lg);
}
.policy-highlight p { margin: 0; }

/* ---------- 18. Article / post cards ------------------------------------- */

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--canvas);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--e-2);
  border: 1px solid var(--hairline);
  text-decoration: none;
  color: inherit;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.post-card:hover { transform: translateY(-2px); box-shadow: var(--e-4); }
.post-thumb {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  background: var(--canvas-soft);
  display: block;
  flex-shrink: 0;
}
div.post-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-body {
  padding: var(--s-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-xs);
  flex: 1;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: var(--s-xs);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.33;
  color: var(--ink-mute);
}
.post-card h2,
.post-card h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.post-card p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-secondary);
  margin: 0;
}

/* Individual Blog Post Hero & Image Frame */
.post-hero-wrapper,
.article-hero-wrapper,
.post-hero-frame {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--e-2);
  border: 1px solid var(--hairline);
  margin-block: var(--s-xl);
  background: var(--canvas-soft);
  position: relative;
  display: block;
}

.post-hero-wrapper img,
.post-hero-wrapper .post-hero-img,
.article-hero-wrapper img,
.post-hero-frame img,
.post-hero-img,
img.post-hero {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  min-height: 100% !important;
  aspect-ratio: 16 / 9;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* Standalone hero image fallback */
.post-hero,
.container-prose > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: var(--r-xl);
  box-shadow: var(--e-2);
  border: 1px solid var(--hairline);
  margin-block: var(--s-xl);
  display: block;
  background: var(--canvas-soft);
}

/* ---------- 19. Logo strip ----------------------------------------------- */

.logo-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 32px 48px;
  padding: 24px;
}
.logo-strip img, .logo-strip svg { height: 24px; width: auto; opacity: .4; }

/* ---------- 20. Footer --------------------------------------------------- */
/* HP footer-dark: ink slab closing the page rhythm. */

.footer {
  background: var(--brand-dark-900);
  color: var(--on-ink);
  padding-block: 64px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 32px;
}
.footer-brand img { height: 26px; margin-bottom: 16px; }
.footer-brand p { font-family: var(--font-sans); font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.72); max-width: 280px; }
.footer .link { color: var(--primary-bright); text-decoration-color: rgba(41, 110, 249, 0.4); }
.footer-col h2 {
  margin-bottom: var(--s-sm);
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 600; line-height: 1.4;
  color: var(--on-ink);
}
.footer-col a {
  display: block; padding-block: var(--s-xxs);
  font-family: var(--font-sans);
  font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.72);
  transition: color .15s var(--ease);
}
.footer-col a:hover { color: var(--on-ink); }

.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-md); flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; line-height: 1.33; color: rgba(255, 255, 255, 0.5); }
.footer-social { display: flex; gap: var(--s-xs); }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  color: rgba(255, 255, 255, 0.72);
  border-radius: var(--r-md);
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.footer-social a:hover { color: var(--on-ink); background: rgba(255, 255, 255, 0.08); }
.footer-social svg { width: 14px; height: 14px; }

/* ---------- 20b. Cookie consent ------------------------------------------ */

.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 150;
  max-width: 720px; margin-inline: auto;
  display: flex; align-items: center; gap: var(--s-md);
  padding: 16px;
  background: var(--canvas);
  border-radius: var(--r-xl);
  box-shadow: var(--e-4);
  border: 1px solid var(--hairline);
  transform: translateY(calc(100% + 24px));
  transition: transform .35s var(--ease);
}
.cookie-bar.is-visible { transform: none; }
.cookie-bar p {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 14px; line-height: 1.5; color: var(--ink-secondary);
}
.cookie-bar a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.cookie-bar .row { flex: none; }

@media (max-width: 599px) {
  .cookie-bar { flex-direction: column; align-items: stretch; }
  .cookie-bar .row { justify-content: stretch; }
  .cookie-bar .row .btn-nav { flex: 1; }
}

/* ---------- 21. Motion --------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Directional and scale reveal variants. Same observer, different arrival. */
.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-left.is-visible { opacity: 1; transform: none; }
.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-right.is-visible { opacity: 1; transform: none; }
.reveal-zoom {
  opacity: 0;
  transform: scale(.92);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-zoom.is-visible { opacity: 1; transform: none; }

/* Gradient text that slowly shimmers along its run. */
.text-gradient {
  background: linear-gradient(90deg,
    var(--primary), var(--primary-bright) 40%,
    var(--primary-deep) 60%, var(--primary));
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shimmer 7s ease-in-out infinite;
}
@keyframes gradient-shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* Stagger children of a revealed container. */
.stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.stagger.is-visible > * { opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 70ms; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 140ms; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 210ms; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 280ms; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 350ms; }
.stagger.is-visible > *:nth-child(7) { transition-delay: 420ms; }

/* Hero headline, words rise into place, clipped by their own line box. */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; }
.split-word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform .9s var(--ease), opacity .9s var(--ease);
}
.is-lit .split-word { transform: none; opacity: 1; }

/* Cursor-reactive card tilt. JS writes --rx / --ry / --mx / --my. */
.tilt {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  transform-style: preserve-3d;
  position: relative;
}
.tilt.is-tilting { transition: transform .12s linear, box-shadow .4s var(--ease); }
/* A soft specular follows the pointer across the surface. */
.tilt::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s var(--ease);
  background: radial-gradient(400px circle at var(--mx) var(--my),
              rgba(0, 0, 0, .035), transparent 45%);
}
.tilt.is-tilting::after { opacity: 1; }
.band-dark .tilt::after {
  background: radial-gradient(400px circle at var(--mx) var(--my),
              rgba(255, 255, 255, .07), transparent 45%);
}

/* Buttons lean toward the cursor. JS writes --tx / --ty. */
.magnetic {
  --tx: 0px; --ty: 0px;
  transform: translate3d(var(--tx), var(--ty), 0);
  transition: transform .35s var(--ease), background-color .15s var(--ease);
}
.magnetic:active { transform: translate3d(var(--tx), var(--ty), 0) scale(.98); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .stagger > * { opacity: 1; transform: none; }
  .reveal-left, .reveal-right, .reveal-zoom { opacity: 1; transform: none; }
  .split-word { opacity: 1; transform: none; }
  .mesh { opacity: 1; }
  .tilt { transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- 21b. Marquee ------------------------------------------------- */

.marquee {
  overflow: hidden;
  padding-block: var(--s-lg);
  border-block: 1px solid var(--hairline);
  background: var(--canvas);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex; align-items: center;
  gap: var(--s-2xl);
  padding-right: var(--s-2xl);
  flex: none;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: var(--s-sm);
  font-size: 24px; font-weight: 500; line-height: 1.0; letter-spacing: 0;
  color: var(--ink);
  white-space: nowrap;
}
.marquee-item .dot {
  width: 6px; height: 6px; flex: none;
  border-radius: var(--r-pill);
  background: var(--hairline-strong);
}
.marquee-item.is-muted { color: var(--ink-mute); }
@keyframes marquee { to { transform: translateX(-50%); } }

.band-dark .marquee { background: transparent; border-color: rgba(255, 255, 255, 0.14); }
.band-dark .marquee-item { color: var(--on-ink); }
.band-dark .marquee-item.is-muted { color: rgba(255, 255, 255, 0.5); }

/* ---------- 21c. Bento grid ---------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-md);
}
.bento > * { min-width: 0; }
.bento-4 { grid-column: span 4; }
.bento-3 { grid-column: span 3; }
.bento-2 { grid-column: span 2; }
.bento-6 { grid-column: span 6; }

.bento-card {
  display: flex; flex-direction: column;
  background: var(--canvas);
  border-radius: var(--r-xl);
  padding: var(--s-xl);
  box-shadow: var(--e-2);
  border: 1px solid var(--hairline);
  overflow: hidden;
}
.bento-card:hover { box-shadow: var(--e-4); }
.bento-card h3 { margin-bottom: var(--s-xs); }
.bento-card p { color: var(--ink-secondary); }
.bento-card .link-arrow { margin-top: auto; padding-top: var(--s-lg); }

.band-dark .bento-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}
.band-dark .bento-card p { color: rgba(255, 255, 255, 0.72); }

@media (max-width: 959px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-4, .bento-3, .bento-2, .bento-6 { grid-column: span 1; }
  .bento-wide { grid-column: span 2; }
}
@media (max-width: 599px) {
  .bento { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .bento-card { padding: var(--s-lg); }
}

/* ---------- 21d. Sticky process ------------------------------------------ */

.sticky-wrap {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--s-4xl);
  align-items: start;
}
.sticky-col {
  position: sticky;
  top: calc(var(--nav-height) + var(--s-4xl));
}
.sticky-steps { display: flex; flex-direction: column; }
.step {
  padding: var(--s-xl) 0;
  border-top: 1px solid var(--hairline);
  opacity: .35;
  transition: opacity .4s var(--ease);
}
.step:last-child { border-bottom: 1px solid var(--hairline); }
.step.is-active { opacity: 1; }
.step-index {
  display: flex; align-items: center; gap: var(--s-sm);
  margin-bottom: var(--s-sm);
}
.step-index .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; flex: none;
  border-radius: var(--r-pill);
  background: var(--canvas-soft);
  font-family: var(--font-sans); font-size: 12px; font-weight: 600; line-height: 16px;
  color: var(--ink-secondary);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.step.is-active .step-index .num { background: var(--primary); color: var(--on-primary); }
.step-index .rule { flex: 1; height: 1px; background: var(--hairline); }
.step p { color: var(--ink-secondary); }

.band-dark .step { border-color: rgba(255, 255, 255, 0.14); }
.band-dark .step-index .num { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.72); }
.band-dark .step.is-active .step-index .num { background: var(--canvas); color: var(--ink); }
.band-dark .step-index .rule { background: rgba(255, 255, 255, 0.14); }

@media (max-width: 959px) {
  .sticky-wrap { grid-template-columns: 1fr; gap: var(--s-xl); }
  .sticky-col { position: static; }
  .step { opacity: 1; }
}

/* ---------- 21e. Counters ------------------------------------------------ */

.count { font-variant-numeric: tabular-nums; }

/* ---------- 22. Responsive ----------------------------------------------- */

/* Wide → Desktop */
@media (max-width: 1199px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}

/* Desktop → Tablet: 3-up grids drop to 2-up, nav still horizontal. */
@media (max-width: 959px) {
  :root { --s-5xl: 72px; --s-4xl: 56px; }

  .display-xl, h1 { font-size: 40px; line-height: 1.0; }
  .display-lg, h2 { font-size: 28px; line-height: 1.0; }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Tablet → Mobile */
@media (max-width: 599px) {
  :root { --s-5xl: 64px; --s-4xl: 48px; }

  .container { padding-inline: var(--s-md); }
  .nav-inner { padding-inline: var(--s-md); }

  .section-head.split { grid-template-columns: 1fr; gap: var(--s-md); }
  .section-head.split p { justify-self: start; margin-bottom: 0; }

  .display-xl, h1 { font-size: 36px; line-height: 1.0; }
  .display-lg, h2 { font-size: 24px; line-height: 1.0; }
  .display-md, h3 { font-size: 20px; line-height: 1.17; }
  .hero p.lead, .section-head p, .hero-page p.lead { font-size: 16px; line-height: 1.38; }

  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .stat:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-lg); }

  /* Vertical rhythm tightens on small screens so sections read faster. */
  .band { padding-block: 56px; }
  .band-tight { padding-block: 44px; }
  .band-gap { height: 56px; }
  .hero { padding-block: 64px 40px; }
  .hero-page { padding-block: 44px 32px; }
  .section-head { margin-bottom: 32px; }

  /* Only the primary CTA survives in the bar; the rest live in the drawer. */
  .nav-actions .btn-nav-ghost { display: none; }
  .nav-inner { gap: var(--s-xs); }
  .logo-word { font-size: 17px; }

  .card-lg, .price-card { padding: var(--s-lg); }
  .price-value { font-size: 24px; line-height: 1.17; }

  /* Marketing CTAs go full-width so touch targets clear 44px comfortably.
     .hero-page (interior pages) carries the same pair, so every .btn-row
     is included. Long labels wrap instead of clipping off the right edge. */
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn {
    width: 100%;
    height: auto;
    min-height: 44px;
    white-space: normal;
    padding-block: 12px;
  }

  /* HP chevrons vanish on mobile, mirroring the source system. */
  .mesh { opacity: 0; }
}

/* ---------- 23. Print ---------------------------------------------------- */

@media print {
  .nav, .nav-drawer, .footer-social, .mesh { display: none !important; }
  body { background: #fff; }
  .card, .price-card { box-shadow: none; border: 1px solid var(--hairline); }
}

/* ==========================================================================
   24. Motion layer II
   Scroll progress, hero power word, wipe reveals, stacking cards, spotlight,
   drawn process line, counter-running marquee, hover sweep.
   ========================================================================== */

/* Scroll progress rail, pinned above the nav. */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 200; pointer-events: none;
  background: transparent;
}
.scroll-progress span {
  display: block; height: 100%; width: 0;
  transform-origin: left;
  background: linear-gradient(90deg,
    var(--primary), var(--primary-bright) 60%,
    var(--primary-deep));
}

/* Hero power word — character cascade. Each letter of the active word rises
   in from below, blur to sharp, one after another for a punchy reveal. JS
   splits the word into .pw-char spans and staggers .is-in. */
.power-word {
  position: relative;
  display: inline-block;
  vertical-align: bottom;
  white-space: nowrap;
}
.pw-char {
  display: inline-block;
  color: var(--primary);
  transform: translateY(.6em);
  opacity: 0;
  filter: blur(8px);
  transition: transform .55s var(--ease), opacity .55s var(--ease), filter .55s var(--ease);
}
.pw-char.is-in {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
}

/* Clip wipe. Headings uncover left to right instead of simply fading. */
.wipe {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s var(--ease);
}
.wipe.is-visible { clip-path: inset(0 0 0 0); }

/* Section eyebrow that draws a rule out beside it. */
.eyebrow-rule {
  display: flex; align-items: center; gap: var(--s-md);
  margin-bottom: var(--s-md);
}
.eyebrow-rule::after {
  content: ""; flex: 1; height: 1px;
  background: var(--hairline);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s var(--ease);
}
.eyebrow-rule.is-visible::after,
.is-visible .eyebrow-rule::after { transform: scaleX(1); }
.band-dark .eyebrow-rule::after { background: rgba(255, 255, 255, 0.14); }

/* Stacking cards. Each pins under the nav and the next slides over it. */
.stack-cards { position: relative; }
.stack-card {
  position: sticky;
  top: calc(var(--nav-height) + var(--s-lg));
  margin-bottom: var(--s-lg);
  background: var(--canvas);
  border-radius: var(--r-xl);
  padding: var(--s-xl);
  box-shadow: var(--e-4);
  border: 1px solid var(--hairline);
  transition: transform .5s var(--ease);
  will-change: transform;
}
.stack-card-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-4xl);
  align-items: center;
}
.stack-card .index {
  font-family: var(--font-sans);
  font-size: 12px; line-height: 16px;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-mute);
}
.stack-card h3 {
  margin-top: var(--s-xs);
  font-size: 32px; line-height: 1.0; letter-spacing: 0;
}
.stack-card p { margin-top: var(--s-sm); font-size: 16px; line-height: 1.38; color: var(--ink-secondary); }
.stack-card .link-arrow { margin-top: var(--s-lg); }

@media (max-width: 959px) {
  .stack-card { position: static; padding: var(--s-lg); }
  .stack-card-inner { grid-template-columns: 1fr; gap: var(--s-lg); }
  .stack-card h3 { font-size: 24px; line-height: 1.0; }
}

/* Cursor spotlight, dark surfaces only. JS writes --sx / --sy. */
.spotlight { position: relative; overflow: hidden; }
.spotlight::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s var(--ease);
  background: radial-gradient(600px circle at var(--sx, 50%) var(--sy, 50%),
              rgba(255, 255, 255, .07), transparent 55%);
}
.spotlight.is-lit::before { opacity: 1; }
.spotlight > * { position: relative; z-index: 1; }

/* Process rail that fills as the section is read. */
.rail {
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--hairline);
  overflow: hidden;
}
.rail span {
  display: block; width: 100%; height: 0;
  background: linear-gradient(180deg, var(--primary), var(--primary-bright));
}
.band-dark .rail { background: rgba(255, 255, 255, 0.14); }

.rail-steps { position: relative; padding-left: var(--s-xl); }

/* Marquee running the other way. */
.marquee-reverse .marquee-track { animation-direction: reverse; animation-duration: 46s; }

/* Light sweep across a card on hover. */
.sweep { position: relative; overflow: hidden; }
.sweep::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -60%;
  width: 45%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transition: transform .85s var(--ease);
  transform: translateX(0);
}
.sweep:hover::before { transform: translateX(360%); }
.band-dark .sweep::before {
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .08), transparent);
}

/* Floating drift for small ornaments. */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
.float { animation: float-y 5.5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .wipe { clip-path: none; }
  .eyebrow-rule::after { transform: scaleX(1); }
  .pw-char { transform: none; opacity: 1; filter: none; transition: none; }
  .float { animation: none; }
  .spotlight::before { display: none; }
  .stack-card { position: static; }
  .sweep::before { display: none; }
}

/* Parallax uses the independent translate property so it composes with the
   chevron background rather than fighting for the transform slot. */
.mesh { translate: 0 var(--py, 0px); }

/* Staggered pin offsets so each stacking card leaves a sliver of the one
   beneath it visible. */
.stack-card:nth-child(1) { top: calc(var(--nav-height) + 24px); }
.stack-card:nth-child(2) { top: calc(var(--nav-height) + 48px); }
.stack-card:nth-child(3) { top: calc(var(--nav-height) + 72px); }
.stack-card:nth-child(4) { top: calc(var(--nav-height) + 96px); }
.stack-card:last-child { margin-bottom: 0; }

@media (max-width: 959px) {
  .stack-card:nth-child(n) { top: auto; }
}

/* ==========================================================================
   Premium Service Cards with expandable sub-service accordions
   ========================================================================== */

.service-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--s-2xl);
  box-shadow: var(--e-2);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease);
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--e-4);
  border-color: var(--primary-bg-subdued-hover);
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--s-lg);
  margin-bottom: var(--s-lg);
}

.service-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  flex: none;
  background: var(--primary-bg-subdued-hover);
  border-radius: var(--r-lg);
  color: var(--primary);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.service-card:hover .service-icon-wrap {
  background: var(--primary);
  color: var(--on-primary);
}
.service-icon-wrap svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

.service-card-header-text { flex: 1; min-width: 0; }

.service-number {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 500; line-height: 16px;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--s-xs);
}

.service-card h3 {
  font-size: 32px; line-height: 1.0; letter-spacing: 0;
  font-weight: 500; font-family: var(--font-sans);
  color: var(--ink);
  margin-bottom: var(--s-sm);
}

.service-card-desc {
  font-size: 16px; line-height: 1.38;
  color: var(--ink-secondary);
  margin-bottom: var(--s-lg);
}

/* Sub-service accordion items */
.service-sub-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
}

.service-sub-item {
  border-bottom: 1px solid var(--hairline);
}

.service-sub-trigger {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  width: 100%;
  padding: var(--s-md) 0;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  transition: color .15s var(--ease);
  font-family: var(--font-sans);
}

.service-sub-trigger:hover { color: var(--primary); }

.service-sub-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  flex: none;
  background: var(--canvas-soft);
  border-radius: var(--r-md);
  color: var(--ink-mute);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.service-sub-item.is-open .service-sub-icon {
  background: var(--primary-bg-subdued-hover);
  color: var(--primary);
}
.service-sub-icon svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s var(--ease);
}
.service-sub-item.is-open .service-sub-icon svg { transform: rotate(45deg); }

.service-sub-title {
  flex: 1;
  font-size: 16px; font-weight: 500; line-height: 1.38;
}

.service-sub-caret {
  width: 14px; height: 14px; flex: none;
  fill: none; stroke: var(--ink-mute); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s var(--ease), stroke .25s var(--ease);
}
.service-sub-item.is-open .service-sub-caret { transform: rotate(180deg); stroke: var(--primary); }

.service-sub-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease), padding .35s var(--ease);
  padding-left: 48px;
}
.service-sub-item.is-open .service-sub-panel {
  padding-bottom: var(--s-lg);
}

.service-sub-desc {
  font-size: 15px; line-height: 1.5;
  color: var(--ink-mute);
  padding-right: var(--s-lg);
}

/* Services CTA row */
.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-xxs);
  margin-top: var(--s-lg);
  font-size: 14px; font-weight: 500; line-height: 1.4;
  letter-spacing: 0;
  color: var(--ink);
  transition: color .15s var(--ease);
}
.service-card-cta::after {
  content: "→";
  transition: transform .15s var(--ease);
}
.service-card-cta:hover { color: var(--primary); }
.service-card-cta:hover::after { transform: translateX(3px); }

/* Responsive */
@media (max-width: 959px) {
  .service-card { padding: var(--s-xl); }
  .service-card h3 { font-size: 24px; line-height: 1.0; }
  .service-icon-wrap { width: 48px; height: 48px; }
  .service-icon-wrap svg { width: 22px; height: 22px; }
  .service-sub-panel { padding-left: 40px; }
}
@media (max-width: 599px) {
  .service-card { padding: var(--s-lg); border-radius: var(--r-lg); }
  .service-card h3 { font-size: 22px; line-height: 1.0; }
  .service-icon-wrap { width: 42px; height: 42px; border-radius: var(--r-md); }
  .service-icon-wrap svg { width: 20px; height: 20px; }
  .service-sub-panel { padding-left: 36px; }
  .service-sub-desc { padding-right: 0; }
}

/* Grid layout for services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-xl);
}
.services-grid .service-card {
  display: flex;
  flex-direction: column;
}
.services-grid .service-sub-list { flex: 1; }

@media (max-width: 959px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-lg); }
}
@media (max-width: 599px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* Panels anchor to the nav container, not to their trigger, so a menu opened
   from the first item cannot spill off the left edge of the viewport. */
.nav-inner { position: relative; }
.nav-link .nav-caret {
  width: 14px; height: 14px; margin-left: 2px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .18s ease;
}
.has-mega > .nav-link { display: inline-flex; align-items: center; gap: 2px; }
.has-mega:hover > .nav-link .nav-caret,
.has-mega:focus-within > .nav-link .nav-caret { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 10px); left: 0;
  width: 100%;
  padding: var(--s-lg);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  box-shadow: var(--e-4, 0 12px 32px rgba(0,0,0,.12));
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
/* Compact panels anchor under their own trigger rather than the container,
   which keeps a short list from floating off on its own at the far left. */
.has-mega.is-compact { position: relative; }
/* Widths are absolute, clamped to the viewport. A percentage would resolve
   against the trigger <li> — a ~140px containing block — not the nav bar. */
.mega-sm { width: 560px; max-width: calc(100vw - 48px); }
.mega-xs { width: 240px; max-width: calc(100vw - 48px); padding: var(--s-md); }
.mega-xs .mega-inner { grid-template-columns: 1fr; }
.has-mega:hover > .mega,
.has-mega:focus-within > .mega,
.has-mega.is-open > .mega { opacity: 1; visibility: visible; transform: none; }

/* Bridges the 10px gap so the pointer can travel from trigger to panel. */
.mega::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }

.mega-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-lg); }
.mega-sm .mega-inner { grid-template-columns: repeat(2, 1fr); }
.mega-col { display: flex; flex-direction: column; gap: var(--s-xs); }
.mega-head {
  font-size: 15px; font-weight: 600; line-height: 20px;
  color: var(--ink); text-decoration: none;
}
.mega-head:hover { color: var(--primary); }
.mega-links { display: flex; flex-direction: column; gap: 2px; }
.mega-links a {
  padding: 5px 8px; margin-left: -8px; border-radius: var(--r-md);
  font-size: 14px; line-height: 20px;
  color: var(--ink-secondary); text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.mega-links a:hover { background: var(--canvas-soft); color: var(--ink); }
.mega-note { font-size: 13px; line-height: 20px; color: var(--ink-mute); }
.mega-foot { margin-top: var(--s-lg); padding-top: var(--s-md); border-top: 1px solid var(--hairline); }
.mega-foot .link-arrow { margin-top: 0; }

@media (max-width: 1023px) { .mega { display: none; } }

/* Drawer second-level items sit indented under their parent link. */
.nav-drawer .drawer-sub {
  padding-left: var(--s-md);
  font-size: 15px;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-xs);
  margin-bottom: var(--s-md);
  font-size: 14px; line-height: 20px;
  color: var(--ink-mute);
}
.crumbs a { color: var(--ink-mute); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink); }
.crumb-sep { color: var(--hairline-strong); }

/* ==========================================================================
   Card that is itself a link — the arrow is pushed to the bottom so a row of
   them lines up regardless of copy length.
   ========================================================================== */
.card-link {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.card-link h3 { color: var(--ink); }
.card-link p { flex: 1; }
.card-link .link-arrow { margin-top: var(--s-md); }
.card-link:hover .link-arrow { gap: var(--s-xs); }

/* ---------- 25. Testimonials ----------------------------------------------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  border-radius: var(--r-xl);
  padding: var(--s-xl);
  box-shadow: var(--e-2);
  border: 1px solid var(--hairline);
}
.testimonial-card:hover { box-shadow: var(--e-4); }
.testimonial-stars {
  display: flex; gap: 2px;
  margin-bottom: var(--s-md);
  color: var(--gold);
}
.testimonial-stars svg { width: 16px; height: 16px; fill: currentColor; }
.testimonial-text {
  font-size: 16px; line-height: 1.5;
  color: var(--ink-secondary); flex: 1;
  margin-bottom: var(--s-lg);
}
.testimonial-author {
  display: flex; align-items: center; gap: var(--s-sm);
}
.testimonial-avatar {
  width: 36px; height: 36px; border-radius: var(--r-md);
  background: var(--canvas-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: var(--ink-mute);
  flex: none;
}
.testimonial-name { font-size: 15px; font-weight: 600; line-height: 20px; color: var(--ink); }
.testimonial-role { font-size: 12px; line-height: 16px; color: var(--ink-mute); }
.band-dark .testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}
.band-dark .testimonial-text { color: rgba(255, 255, 255, 0.72); }
.band-dark .testimonial-name { color: var(--on-ink); }

@media (max-width: 959px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ---------- 26. Case studies ----------------------------------------------- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-lg);
}
.case-card {
  display: flex; flex-direction: column;
  background: var(--canvas);
  border-radius: var(--r-xl);
  padding: var(--s-xl);
  box-shadow: var(--e-2);
  border: 1px solid var(--hairline);
  text-decoration: none; color: inherit;
}
.case-card:hover { box-shadow: var(--e-4); }
.case-metric {
  font-size: 36px; font-weight: 500; line-height: 1.0;
  letter-spacing: 0; color: var(--primary);
}
.case-card h3 {
  margin-top: var(--s-sm);
  font-size: 20px; line-height: 1.0;
}
.case-card p {
  margin-top: var(--s-xs);
  font-size: 15px; line-height: 1.5;
  color: var(--ink-secondary); flex: 1;
}
.case-tags {
  display: flex; flex-wrap: wrap; gap: var(--s-xxs);
  margin-top: var(--s-md);
}
.case-tags span {
  height: 24px; padding-inline: var(--s-xs);
  font-size: 12px; line-height: 24px;
  background: var(--canvas-soft);
  border-radius: var(--r-pill);
  color: var(--ink-secondary);
}
.case-card .link-arrow { margin-top: var(--s-md); }

.band-dark .case-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}
.band-dark .case-card p { color: rgba(255, 255, 255, 0.72); }
.band-dark .case-tags span { background: rgba(255, 255, 255, 0.1); }

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

/* ---------- 27. Insights (blog) -------------------------------------------- */

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
}
.insight-card {
  display: flex; flex-direction: column;
  background: var(--canvas);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--e-2);
  border: 1px solid var(--hairline);
  text-decoration: none; color: inherit;
}
.insight-card:hover { box-shadow: var(--e-4); }
.insight-thumb {
  aspect-ratio: 16 / 9;
  background: var(--canvas-soft);
  object-fit: cover;
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-size: 13px; color: var(--ink-mute);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.insight-body {
  padding: var(--s-md) var(--s-lg) var(--s-lg);
  display: flex; flex-direction: column; gap: var(--s-xs); flex: 1;
}
.insight-meta {
  font-family: var(--font-sans);
  font-size: 12px; line-height: 16px;
  color: var(--ink-mute);
}
.insight-card h3 {
  font-size: 18px; line-height: 1.33;
}
.insight-card p {
  font-size: 15px; line-height: 1.5;
  color: var(--ink-secondary); flex: 1;
}
.insight-card .link-arrow { margin-top: var(--s-xs); }

.band-dark .insight-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}
.band-dark .insight-card p { color: rgba(255, 255, 255, 0.72); }

@media (max-width: 959px) {
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
  .insights-grid { grid-template-columns: 1fr; }
}

/* Country grid tiles used on the locations overview. */
.flag-tile {
  display: flex; align-items: center; gap: var(--s-sm);
  margin-bottom: var(--s-sm);
}
.flag-tile .flag {
  font-size: 28px; line-height: 1;
  filter: saturate(1.05);
}
.flag-tile .flag-meta { font-size: 12px; line-height: 16px; color: var(--ink-mute); }

/* ---------- Service Pillars ------------------------------------------ */
.service-pillars { padding: var(--s-4xl) 0; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2xl);
  align-items: stretch;
}

.pillar-card {
  position: relative;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--s-2xl) var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--e-4);
  border-color: var(--primary-bg-subdued-hover);
}

.pillar-card:hover::before { opacity: 1; }

.pillar-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-md);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 74, 216, 0.08);
  border-radius: var(--r-lg);
  color: var(--primary);
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

.pillar-num {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}

.pillar-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.17;
  color: var(--ink);
  margin: 0;
}

.pillar-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-mute);
  margin: 0;
}

.pillar-subs {
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
  margin-top: var(--s-sm);
  padding-top: var(--s-lg);
  border-top: 1px solid var(--hairline);
}

.pillar-sub {
  display: flex;
  gap: var(--s-md);
  align-items: flex-start;
}

.pillar-sub-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--canvas-soft);
  border-radius: var(--r-md);
  color: var(--primary-deep);
  flex-shrink: 0;
}

.pillar-sub-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
}

.pillar-sub-content { flex: 1; }

.pillar-sub-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s-xxs);
}

.pillar-sub-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-mute);
  margin: 0;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-xs);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: var(--s-sm) 0;
  margin-top: auto;
  transition: gap .2s var(--ease);
}

.pillar-link:hover { gap: var(--s-sm); }

.pillar-link svg {
  stroke-width: 2;
  transition: transform .2s var(--ease);
}

.pillar-link:hover svg { transform: translateX(2px); }

/* Service pillars responsive */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-xl); }
}

@media (max-width: 640px) {
  .pillars-grid { grid-template-columns: 1fr; gap: var(--s-lg); }
  .pillar-card { padding: var(--s-xl) var(--s-lg); }
  .pillar-title { font-size: 20px; }
  .pillar-desc { font-size: 14px; }
}

/* Touch device: disable tilt effect on service cards */
@media (hover: none) {
  .pillar-card:hover { transform: none; box-shadow: none; }
  .pillar-card::before { display: none; }
}

/* ---------- 38. Service & subservice page sections (svc-*) ---------------- */

.svc-hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--s-3xl);
  align-items: center;
}
.svc-hero-copy { min-width: 0; }
.svc-hero-p {
  max-width: 640px;
  margin-top: var(--s-sm);
  font-size: 16px; line-height: 1.5;
  color: var(--ink-secondary);
}
.svc-hero-visual {
  position: relative;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--s-xl);
  box-shadow: var(--e-2);
}
.svc-hero-head { display: flex; align-items: center; gap: var(--s-sm); }
.svc-hero-head .eyebrow { margin-bottom: 0; }
.svc-hero-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none;
  border-radius: var(--r-lg);
  background: var(--primary-bg-subdued-hover);
  color: var(--primary);
}
.svc-hero-tile svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.svc-chips { display: flex; flex-wrap: wrap; gap: var(--s-xs); margin-top: var(--s-lg); }
.svc-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px;
  background: var(--canvas);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 13px; line-height: 1.5; color: var(--ink);
}
.svc-chip svg {
  width: 13px; height: 13px; flex: none;
  fill: none; stroke: var(--primary); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.svc-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-md);
}
.svc-value-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--s-lg) var(--s-md);
  box-shadow: var(--e-2);
}
.svc-value-card .card-icon { width: 36px; height: 36px; margin-bottom: var(--s-sm); }
.svc-value-card .card-icon svg { width: 18px; height: 18px; }
.svc-value-card h3 {
  font-size: 16px; font-weight: 600; line-height: 1.17;
  margin-bottom: var(--s-xs);
}
.svc-value-card p { font-size: 14px; line-height: 1.5; color: var(--ink-secondary); }

.svc-outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-md);
}
.svc-outcome {
  display: flex; align-items: flex-start; gap: var(--s-md);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--s-lg);
  box-shadow: var(--e-2);
}
.svc-outcome-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex: none; margin-top: 2px;
  border-radius: var(--r-md);
  background: var(--primary-bg-subdued-hover);
  color: var(--primary);
}
.svc-outcome-mark svg {
  width: 15px; height: 15px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.svc-outcome h3 {
  font-size: 17px; font-weight: 600; line-height: 1.17;
  margin-bottom: var(--s-xxs);
}
.svc-outcome p { font-size: 14px; line-height: 1.5; color: var(--ink-secondary); }

.svc-chain-wrap { max-width: 860px; }
.svc-chain { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-sm); }
.svc-chain-node {
  padding: 12px 18px;
  background: var(--canvas);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: 14px; line-height: 1.4; color: var(--ink);
}
.band-dark .svc-chain-node {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--on-ink);
}
.svc-arrow { color: var(--primary); font-size: 18px; line-height: 1; }
.svc-example { max-width: 860px; }

/* Editorial blocks: no boxes — whitespace, type and hairlines carry the layout. */
.blocks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: var(--s-2xl);
  row-gap: var(--s-xl);
}
.blocks-grid.blocks-3 { grid-template-columns: repeat(3, 1fr); }
.blocks-grid.blocks-4 { grid-template-columns: repeat(4, 1fr); }
.block-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; margin-bottom: var(--s-md);
  color: var(--primary);
}
.block-icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.block h3 {
  font-size: 19px; font-weight: 500; line-height: 1.3;
  letter-spacing: -0.3px; margin-bottom: var(--s-xs);
}
.block p { color: var(--ink-secondary); font-size: 15px; line-height: 1.6; }
.block .link-arrow { margin-top: var(--s-sm); display: inline-flex; }

/* Editorial checklist: hairline-separated rows. */
.checks { margin-top: var(--s-2xl); }
.check-row {
  display: flex; align-items: flex-start; gap: var(--s-lg);
  padding: var(--s-lg) 0;
  border-bottom: 1px solid var(--hairline);
}
.check-row:first-child { border-top: 1px solid var(--hairline); }
.check-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; flex: none; margin-top: 3px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}
.check-mark svg {
  width: 13px; height: 13px;
  fill: none; stroke: currentColor; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.check-body h3 {
  font-size: 19px; font-weight: 500; line-height: 1.3;
  letter-spacing: -0.3px; margin-bottom: var(--s-xs);
}
.check-body p { color: var(--ink-secondary); font-size: 15px; line-height: 1.6; }

/* Value grid: four-across icon grid, no boxes. */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2xl) var(--s-lg);
}
.value-icon {
  width: 26px; height: 26px; margin-bottom: var(--s-md);
  color: var(--primary);
}
.value-icon svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.value-item h3 {
  font-size: 17px; font-weight: 600; line-height: 1.3;
  margin-bottom: var(--s-xs);
}
.value-item p { font-size: 14px; line-height: 1.55; color: var(--ink-secondary); }

/* Split section: sticky editorial heading + hairline rows. */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-3xl);
  align-items: start;
}
.split-copy { position: sticky; top: calc(var(--nav-height) + 48px); }
.split-p { margin-top: var(--s-md); color: var(--ink-secondary); font-size: 16px; line-height: 1.7; }
.split-row {
  display: flex; align-items: flex-start; gap: var(--s-md);
  padding: var(--s-lg) 0;
  border-bottom: 1px solid var(--hairline);
}
.split-row:first-child { padding-top: 0; }
.split-icon { flex: none; width: 26px; height: 26px; margin-top: 2px; color: var(--primary); }
.split-icon svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.split-body h3 {
  font-size: 19px; font-weight: 600; line-height: 1.3;
  letter-spacing: -0.3px; margin-bottom: var(--s-xs);
}
.split-body p { font-size: 15px; line-height: 1.6; color: var(--ink-secondary); }
.split-body .link-arrow { margin-top: var(--s-sm); display: inline-flex; }
.split-reverse .split-copy { order: 2; }
.split-reverse .split-items { order: 1; }

/* Outcomes: structured two-column check grid. */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-xl) var(--s-2xl);
  max-width: 920px;
  margin-inline: auto;
}
.outcome-item { display: flex; align-items: flex-start; gap: var(--s-md); }
.outcome-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; flex: none; margin-top: 3px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}
.outcome-check svg {
  width: 12px; height: 12px;
  fill: none; stroke: currentColor; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.outcome-item h3 {
  font-size: 18px; font-weight: 600; line-height: 1.3;
  margin-bottom: var(--s-xs);
}
.outcome-item p { font-size: 14px; line-height: 1.55; color: var(--ink-secondary); }

/* Numbered rows: big index numerals, hairline separators. */
.numbered-list { max-width: 880px; margin-inline: auto; }
.numbered-row {
  display: flex; align-items: flex-start; gap: var(--s-lg);
  padding: var(--s-xl) 0;
  border-bottom: 1px solid var(--hairline);
}
.numbered-row:first-child { border-top: 1px solid var(--hairline); }
.numbered-index {
  font-family: var(--font-mono);
  font-size: 18px; line-height: 1.2; color: var(--primary);
  padding-top: 4px;
}
.numbered-body { display: flex; align-items: flex-start; gap: var(--s-md); }
.numbered-icon { flex: none; width: 24px; height: 24px; margin-top: 2px; color: var(--primary); }
.numbered-icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.numbered-body h3 {
  font-size: 20px; font-weight: 600; line-height: 1.3;
  letter-spacing: -0.4px; margin-bottom: var(--s-xs);
}
.numbered-body p { font-size: 15px; line-height: 1.6; color: var(--ink-secondary); }
.numbered-body .link-arrow { margin-top: var(--s-sm); display: inline-flex; }

/* Achievements: big-numeral grid, no boxes. */
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2xl) var(--s-lg);
}
.achievement-num {
  font-family: var(--font-mono);
  font-size: 40px; line-height: 1; letter-spacing: -1px;
  color: var(--primary);
  margin-bottom: var(--s-sm);
}
.achievement p { font-size: 15px; line-height: 1.55; color: var(--ink); }

/* Icon rows: full-width hairline-separated rows. */
.icon-rows { max-width: 880px; margin-inline: auto; }
.icon-row {
  display: flex; align-items: flex-start; gap: var(--s-md);
  padding: var(--s-lg) 0;
  border-bottom: 1px solid var(--hairline);
}
.icon-row:first-child { border-top: 1px solid var(--hairline); }
.icon-row-mark { flex: none; width: 24px; height: 24px; margin-top: 3px; color: var(--primary); }
.icon-row-mark svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-row h3 {
  font-size: 18px; font-weight: 600; line-height: 1.3;
  margin-bottom: var(--s-xs);
}
.icon-row p { font-size: 15px; line-height: 1.6; color: var(--ink-secondary); }

@media (max-width: 1024px) {
  .svc-hero-grid { grid-template-columns: 1fr; gap: var(--s-xl); }
  .svc-value-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid, .achievement-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr; gap: var(--s-xl); }
  .split-copy { position: static; }
}
@media (max-width: 640px) {
  .svc-value-grid, .svc-outcome-grid { grid-template-columns: 1fr; }
  .blocks-grid, .blocks-grid.blocks-3, .blocks-grid.blocks-4 { grid-template-columns: 1fr; row-gap: var(--s-lg); }
  .check-row { gap: var(--s-md); padding: var(--s-md) 0; }
  .value-grid, .outcome-grid, .achievement-grid { grid-template-columns: 1fr; }
  .numbered-row, .icon-row { gap: var(--s-md); }
}