/* ============================================================
   Finnect - design system v2
   Light-first · brand violet→blue · IBM Plex Sans (light display)
   Informed by: ui-ux-pro-max (minimalism/swiss, finance typography,
   trust & authority landing pattern) + awesome-design-md (Stripe:
   gradient mesh band, single filled CTA per band, thin display with
   negative tracking, tnum numerics, pill buttons, hairline cards)
   ============================================================ */

:root {
  /* color - sampled from the Finnect logo */
  --ink: #10173a;            /* wordmark navy - body text, dark band */
  --ink-2: #1a2350;
  --ink-mute: #5a6478;
  --ink-mute-dark-bg: #9aa5c4;
  --text-on-dark: #eaeef9;
  --canvas: #ffffff;
  --canvas-soft: #f6f8fc;
  --hairline: #e4e9f1;
  --hairline-dark-bg: rgba(234, 238, 249, 0.14);
  --primary: #5a31f4;        /* CTA indigo-violet, bridges logo gradient */
  --primary-press: #4526c9;
  --primary-subdued: #eceafe;
  --violet: #7c4df0;         /* logo gradient stops */
  --blue: #3d8bf5;
  --blue-soft: #a9cdf8;
  --lavender: #cbbdf7;
  --cream: #f5efe2;          /* warm interlude stop (mesh only) */
  --shadow-1: 0 1px 3px rgba(0, 55, 112, 0.08);
  --shadow-2: 0 8px 24px rgba(0, 55, 112, 0.08), 0 2px 6px rgba(0, 55, 112, 0.04);

  /* type */
  --font-display: "Figtree", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Figtree", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;

  /* layout */
  --wrap: 1200px;
  --radius: 12px;
  --radius-input: 6px;
  --section-pad: clamp(4.5rem, 10vw, 7.5rem);
}

/* ---------- reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* display tier - Figtree, smooth geometric-humanist (Avenir spirit) */
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

h1 strong,
h2 strong {
  font-weight: 700;
}

h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 0.8rem;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

.mono {
  font-family: var(--font-mono);
}

/* tabular figures for anything numeric - the financial-data signal */
.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding: var(--section-pad) 0;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin: 0 0 1.1rem;
}

.eyebrow-on-dark {
  color: var(--blue-soft);
}

.section-head {
  max-width: 42rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--ink-mute);
  max-width: 36rem;
}

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

/* ---------- buttons - tight pills, one filled CTA per band ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, translate 0.18s ease;
}

.btn:hover {
  translate: 0 -1px;
}

.btn:active {
  translate: 0 0;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-press);
  box-shadow: 0 6px 16px rgba(90, 49, 244, 0.28);
}

.btn-secondary {
  background: var(--canvas);
  color: var(--primary);
  border-color: var(--hairline);
  box-shadow: var(--shadow-1);
}

.btn-secondary:hover {
  border-color: var(--primary);
}

.btn-on-dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-on-dark);
  border-color: var(--hairline-dark-bg);
}

.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-small {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

/* ---------- nav - floats over the mesh, solid on scroll ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--hairline);
}

.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0.8rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  width: 118px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.nav-links a:not(.btn) {
  color: var(--ink-mute);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--ink);
}

/* sliding underline on top-level nav links */
.nav-links > a:not(.btn):not(.lang-toggle),
.nav-drop > a {
  position: relative;
}

.nav-links > a:not(.btn):not(.lang-toggle)::after,
.nav-drop > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 2px;
  width: 100%;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav-links > a:not(.btn):hover::after,
.nav-drop > a:hover::after,
.nav-links > a[aria-current="page"]::after,
.nav-drop > a[aria-current]::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* services dropdown: CSS-driven, keyboard-friendly via focus-within */
.nav-drop {
  position: relative;
}

.nav-drop > a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-drop .caret {
  width: 10px;
  height: 10px;
  transition: transform 0.2s ease;
}

.drop-menu {
  position: absolute;
  top: 100%;
  left: -0.8rem;
  padding-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 120;
}

.nav-drop:hover .drop-menu,
.nav-drop:focus-within .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-drop:hover .caret,
.nav-drop:focus-within .caret {
  transform: rotate(180deg);
}

.drop-inner {
  min-width: 240px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  box-shadow: var(--shadow-2);
  padding: 0.45rem;
  display: grid;
  gap: 2px;
}

.drop-inner a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-mute);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.drop-inner a:hover {
  background: var(--canvas-soft);
  color: var(--ink);
}

.drop-inner .drop-all {
  border-top: 1px solid var(--hairline);
  border-radius: 0 0 8px 8px;
  margin-top: 0.25rem;
  padding-top: 0.65rem;
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- hero - light canvas under a gradient mesh band ---------- */
.hero {
  position: relative;
  background: var(--canvas);
  padding-top: clamp(7rem, 13vw, 9.5rem);
  overflow: hidden;
}

/* Gradient mesh band - a rendered image, not blurred CSS blobs.
   The image itself is crisp; motion is a slow GPU-composited pan
   (transform only, no filters), so nothing ever looks smeared. */
.hero-mesh {
  position: absolute;
  inset: 0 0 auto;
  height: min(78vh, 720px);
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 45%, transparent 96%);
}

.mesh-img,
.mesh-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

/* soft ground behind the canvas so the hero is never bare while JS boots */
.hero .hero-mesh {
  background:
    radial-gradient(60% 55% at 18% 8%, rgba(203, 189, 247, 0.4), transparent 70%),
    radial-gradient(55% 50% at 78% 4%, rgba(169, 205, 248, 0.38), transparent 70%);
}

.mesh-img {
  will-change: transform;
  transform-origin: 50% 40%;
  /* scale-only motion: full-bleed coverage is guaranteed at every phase */
  animation: mesh-pan 20s ease-in-out infinite alternate;
}

@keyframes mesh-pan {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.16);
  }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.hero-copy h1 em,
.contact h2 em {
  font-style: normal;
  font-weight: 600;
  background: linear-gradient(100deg, var(--violet), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  font-weight: 300;
  color: var(--ink-mute);
  max-width: 33rem;
  margin-bottom: 2.2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.9rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--ink-mute);
  max-width: 30rem;
  border-left: 2px solid var(--hairline);
  padding-left: 0.9rem;
}

/* hero visual - living footage anchored by one static results card */
.hero-visual {
  position: relative;
  max-width: 460px;
  justify-self: end;
  width: 100%;
}

/* chips anchor to the media frame only, never to the note beneath it */
.hero-frame {
  position: relative;
}

.hero-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-2);
  aspect-ratio: 4 / 5;
  background: var(--canvas-soft);
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  display: block;
}

.hero-stat-note {
  margin: 0.6rem 0 0;
  text-align: center;
  font-size: 0.68rem;
  color: #93a0b4;
}

/* small floating metric chips over the hero media */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 0.55rem 0.85rem;
  box-shadow: var(--shadow-2);
  animation: chip-float 7s ease-in-out infinite;
}

/* four chips straddling the media frame: two top corners, two bottom */
.chip-a {
  top: 7%;
  left: -1.1rem;
}

.chip-d {
  top: 16%;
  right: -1.1rem;
  animation-delay: 0.8s;
  animation-duration: 9.2s;
}

.chip-c {
  bottom: -1.1rem;
  left: 5%;
  animation-delay: 2.6s;
  animation-duration: 7.8s;
}

.chip-b {
  bottom: -1.1rem;
  right: 5%;
  animation-delay: 1.4s;
  animation-duration: 8.5s;
}

.float-chip .chip-icon {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--primary-subdued);
  color: var(--primary-press);
}

.float-chip .chip-icon svg {
  width: 15px;
  height: 15px;
}

.float-chip p {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--ink-mute);
  line-height: 1.2;
  white-space: nowrap;
}

.float-chip .chip-value {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.float-chip .chip-up {
  color: #067a55;
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: 0.25rem;
}

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 720px) {
  .float-chip {
    padding: 0.45rem 0.7rem;
  }

  .float-chip .chip-value {
    font-size: 0.84rem;
  }

  .chip-a,
  .chip-c {
    left: -0.5rem;
  }

  .chip-b,
  .chip-d {
    right: -0.5rem;
  }

  .chip-b {
    bottom: auto;
    top: 58%;
  }
}

/* firm logo band under the hero */
.logo-ticker {
  position: relative;
  border-top: 1px solid var(--hairline);
  padding: 1.4rem 0 1.1rem;
}

.ticker-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--ink-mute);
  text-align: center;
  margin: 0 0 1rem;
}

.firm {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.firm img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.firm span {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--ink-mute);
}

.logo-note {
  margin: 0.9rem auto 0;
  max-width: 46rem;
  padding: 0 1.5rem;
  font-size: 0.68rem;
  line-height: 1.5;
  color: #939db0;
  text-align: center;
}

/* capabilities band */
.ticker {
  position: relative;
  border-top: 1px solid var(--hairline);
  padding: 1.05rem 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: ticker 36s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}

.ticker-track i {
  color: var(--blue);
  font-style: normal;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- problem + proof ---------- */
.problem {
  background: var(--canvas);
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.problem-copy {
  font-size: 1.08rem;
  font-weight: 300;
  color: var(--ink-mute);
}

.problem-copy strong {
  font-weight: 500;
  color: var(--ink);
}

.problem-kicker {
  color: var(--ink);
  border-left: 2px solid var(--primary);
  padding-left: 1.1rem;
  margin-top: 1.6rem;
}

/* ---------- services - hairline cards on soft canvas ---------- */
.services {
  background: var(--canvas-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  border-color: #c9d4e6;
  box-shadow: var(--shadow-2);
  translate: 0 -4px;
}

.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--primary-subdued);
  color: var(--primary-press);
  margin-bottom: 1.2rem;
}

.service-icon svg {
  width: 23px;
  height: 23px;
}

.service-card p {
  color: var(--ink-mute);
  font-size: 0.96rem;
  font-weight: 300;
}

/* the one inverted card - deep navy, full-width banner row */
.service-cta {
  grid-column: 1 / -1;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--text-on-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 2rem;
}

.service-cta h3 {
  flex-basis: 100%;
  margin-bottom: 0;
}

.service-cta p {
  flex: 1 1 24rem;
  margin: 0;
}

.service-cta p {
  color: var(--ink-mute-dark-bg);
}

.service-cta .btn {
  align-self: flex-start;
  margin-top: 0.6rem;
}

/* ---------- process - the dark featured band ---------- */
.process {
  background: var(--ink);
  color: var(--text-on-dark);
}

.process h2 {
  color: var(--text-on-dark);
}

.process-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.process-step {
  border-top: 1px solid var(--hairline-dark-bg);
  padding-top: 1.4rem;
}

.step-num {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--blue-soft);
  letter-spacing: 0.12em;
  margin-bottom: 0.9rem;
}

.process-step h3 {
  color: var(--text-on-dark);
  margin-bottom: 0.6rem;
}

.process-step p {
  font-size: 0.93rem;
  font-weight: 300;
  color: var(--ink-mute-dark-bg);
}

/* ---------- why ---------- */
.why {
  background: var(--canvas);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.why-sticky {
  position: sticky;
  top: 6.5rem;
}

.why-sticky .btn {
  margin-top: 0.8rem;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.why-item {
  border-top: 1px solid var(--hairline);
  padding: 1.8rem 0;
}

.why-item:last-child {
  border-bottom: 1px solid var(--hairline);
}

.why-item h3 {
  margin-bottom: 0.5rem;
}

.why-item p {
  color: var(--ink-mute);
  font-weight: 300;
  margin: 0;
  max-width: 34rem;
}

/* founders figure (why-finnect story) */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}

.founders-figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 30% 20%, rgba(203, 189, 247, 0.55), transparent 70%),
    radial-gradient(75% 65% at 75% 30%, rgba(169, 205, 248, 0.5), transparent 70%),
    var(--canvas-soft);
  border: 1px solid var(--hairline);
  padding: 2rem 1.5rem 0;
}

.founders-figure img {
  display: block;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.founders-figure figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-1);
}

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

  .founders-figure {
    max-width: 420px;
  }
}

/* team grid (why-finnect) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.3rem;
}

.team-card {
  text-align: center;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.3rem 1rem 1.2rem;
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.team-card:hover {
  border-color: #c9d4e6;
  box-shadow: var(--shadow-2);
  translate: 0 -4px;
}

.team-card img {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  margin: 0 auto 0.8rem;
  image-rendering: auto;
  object-fit: cover;
  border: 1px solid var(--hairline);
}

.team-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}

.team-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-mute);
}

/* ---------- who ---------- */
.who {
  background: var(--canvas-soft);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.who .section-head {
  margin-bottom: 1.8rem;
}

.who-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.chip {
  font-size: 0.93rem;
  font-weight: 500;
  padding: 0.6rem 1.15rem;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  transition: border-color 0.2s ease;
}

.chip:hover {
  border-color: var(--primary);
}

/* ---------- faq ---------- */
.faq {
  background: var(--canvas);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--hairline);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 0;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

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

.faq-icon {
  flex: none;
  position: relative;
  width: 22px;
  height: 22px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--primary);
  transition: transform 0.25s ease;
}

.faq-icon::before {
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
}

.faq-item[open] .faq-icon::after {
  transform: rotate(90deg);
}

.faq-item[open] > p {
  animation: faq-in 0.3s ease;
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.faq-item p {
  color: var(--ink-mute);
  font-weight: 300;
  margin: 0 0 1.35rem;
  max-width: 38rem;
}

/* ---------- contact - looping motion-graphic band ---------- */
.contact {
  position: relative;
  background: var(--canvas-soft);
  overflow: hidden;
}

.contact-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* readability scrim over the motion graphic */
.contact-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.78) 45%, rgba(246, 248, 252, 0.62) 100%);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-form {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-2);
  display: grid;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid #c6d3e2;
  border-radius: var(--radius-input);
  padding: 0.7rem 0.9rem;
  min-height: 42px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.form-field textarea {
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9aa7ba;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subdued);
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235a6478' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-field input.invalid,
.form-field textarea.invalid {
  border-color: #c92d55;
}

.form-status {
  margin: 0;
  font-size: 0.9rem;
  min-height: 1.3em;
  color: #0d7a4f;
}

.form-status.error {
  color: #c92d55;
}

/* ---------- footer - light, muted ---------- */
.footer {
  background: var(--canvas);
  color: var(--ink-mute);
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.8rem;
  border-top: 1px solid var(--hairline);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.8rem;
}

.footer .logo img {
  width: 108px;
}

.footer-tag {
  margin-top: 0.9rem;
  max-width: 16rem;
  font-size: 0.92rem;
  font-weight: 300;
}

.footer-col {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  justify-items: start;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.footer-col a:not(.btn) {
  color: var(--ink-mute);
  text-decoration: none;
  font-size: 0.93rem;
  transition: color 0.2s ease;
}

.footer-col a:not(.btn):hover {
  color: var(--primary);
}

.footer-loc {
  font-size: 0.84rem;
  margin-top: 0.6rem;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid var(--hairline);
  padding-top: 1.6rem;
  font-size: 0.84rem;
}

.footer-legal p {
  margin: 0;
}

.footer-legal-links {
  display: flex;
  gap: 1.4rem;
}

.footer-legal-links a {
  color: var(--ink-mute);
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: var(--primary);
}

/* ---------- reveal animation ----------
   --rd staggers the entrance; translate/box-shadow/border are in the same
   transition list so hover lifts stay smooth on revealed cards */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease var(--rd, 0s),
    transform 0.6s ease var(--rd, 0s),
    translate 0.22s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* staggered entrances for card grids and lists */
.services-grid > .reveal:nth-child(2), .team-grid > .reveal:nth-child(2),
.resource-grid > .reveal:nth-child(2), .process-grid > .reveal:nth-child(2),
.timeline > .reveal:nth-child(2), .why-list > .reveal:nth-child(2),
.faq-list > .reveal:nth-child(2) { --rd: 0.08s; }

.services-grid > .reveal:nth-child(3), .team-grid > .reveal:nth-child(3),
.resource-grid > .reveal:nth-child(3), .process-grid > .reveal:nth-child(3),
.timeline > .reveal:nth-child(3), .why-list > .reveal:nth-child(3),
.faq-list > .reveal:nth-child(3) { --rd: 0.16s; }

.services-grid > .reveal:nth-child(4), .team-grid > .reveal:nth-child(4),
.process-grid > .reveal:nth-child(4), .timeline > .reveal:nth-child(4),
.why-list > .reveal:nth-child(4), .faq-list > .reveal:nth-child(4) { --rd: 0.24s; }

.services-grid > .reveal:nth-child(5), .team-grid > .reveal:nth-child(5),
.faq-list > .reveal:nth-child(5) { --rd: 0.32s; }

.services-grid > .reveal:nth-child(6), .team-grid > .reveal:nth-child(6) { --rd: 0.4s; }

/* hero entrance choreography (page load, home) */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-copy > * {
  opacity: 0;
  animation: rise-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.15s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.25s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.35s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.45s; }

/* chips fade in after the media, then keep floating */
@keyframes chip-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.chip-a { animation: chip-fade 0.45s ease-out 0.65s both, chip-float 7s ease-in-out 0.65s infinite; }
.chip-d { animation: chip-fade 0.45s ease-out 0.85s both, chip-float 9.2s ease-in-out 0.85s infinite; }
.chip-c { animation: chip-fade 0.45s ease-out 1.05s both, chip-float 7.8s ease-in-out 1.05s infinite; }
.chip-b { animation: chip-fade 0.45s ease-out 1.25s both, chip-float 8.5s ease-in-out 1.25s infinite; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 460px;
    justify-self: center;
    margin-inline: auto;
  }

  .problem-grid,
  .why-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .why-sticky {
    position: static;
  }

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

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

  

  

  

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

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.6rem;
    padding: 5.5rem 2rem 2rem;
    background: var(--canvas);
    border-left: 1px solid var(--hairline);
    box-shadow: var(--shadow-2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links {
    overflow-y: auto;
    padding-bottom: 3rem;
  }

  .nav-links a:not(.btn) {
    font-size: 1.1rem;
  }

  /* dropdown becomes an always-open indented group in the drawer */
  .drop-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-top: 0.4rem;
  }

  .drop-inner {
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 0.9rem;
    border-left: 2px solid var(--hairline);
    border-radius: 0;
  }

  .drop-inner a {
    font-size: 0.95rem;
    padding: 0.6rem 0.4rem;
  }

  .nav-drop .caret {
    display: none;
  }

  .nav {
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom-color: var(--hairline);
  }

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

  

  

  

  

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   v4 components - multi-page
   ============================================================ */

/* language toggle */
.lang-toggle {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  background: var(--ink);
  color: #ffffff;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lang-toggle:hover {
  background: var(--ink-2);
  border-color: var(--ink-2);
}

/* beat the generic nav-link color rules */
.nav-links a.lang-toggle,
.nav-links a.lang-toggle:hover {
  color: #ffffff;
}

/* one-time guidance bubble under the language toggle */
.lang-tip {
  position: fixed;
  z-index: 130;
  max-width: 240px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.45;
  padding: 0.7rem 0.95rem;
  border-radius: 10px;
  box-shadow: var(--shadow-2);
  opacity: 0;
  transform: translateY(-4px);
  animation: tip-in 0.35s ease 0.8s forwards;
}

.lang-tip::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 16px;
  width: 10px;
  height: 10px;
  background: var(--ink);
  transform: rotate(45deg);
}

@keyframes tip-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.lang-tip.gone {
  animation: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-links a[aria-current]:not(.btn) {
  color: var(--ink);
}

/* interior page header */
.page-hero {
  position: relative;
  background: var(--canvas);
  padding: clamp(7.5rem, 13vw, 10rem) 0 clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}

.page-hero .hero-mesh {
  height: 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 90%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 90%);
  opacity: 0.55;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  max-width: 46rem;
}

.page-hero .wrap {
  position: relative;
}

.page-hero .section-sub {
  font-size: 1.15rem;
}

/* breadcrumbs */
.crumbs {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-mute);
  margin: 0 0 1.2rem;
}

.crumbs a {
  color: var(--ink-mute);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--primary);
}

.crumbs .sep {
  margin: 0 0.45rem;
  color: var(--hairline);
}

/* sticky in-page sub-nav (services) */
.subnav {
  position: sticky;
  top: 62px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-block: 1px solid var(--hairline);
}

.subnav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav-inner::-webkit-scrollbar {
  display: none;
}

.subnav a {
  flex: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-mute);
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.subnav a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* deep service block */
.service-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(2.8rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--hairline);
  scroll-margin-top: 7.5rem;
}

.service-block:first-of-type {
  border-top: 0;
}

.service-block h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
}

.service-block .service-icon {
  margin-bottom: 1rem;
}

.service-kicker {
  font-weight: 300;
  color: var(--ink-mute);
  font-size: 1.08rem;
}

.service-facts {
  display: grid;
  gap: 1.3rem;
  align-content: start;
}

.fact {
  border-left: 2px solid var(--hairline);
  padding-left: 1.1rem;
}

.fact h3 {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.fact p,
.fact ul {
  color: var(--ink-mute);
  font-size: 0.95rem;
  font-weight: 300;
  margin: 0;
}

.fact ul {
  padding-left: 1.1rem;
}

.fact li {
  margin-bottom: 0.25rem;
}

.objection {
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
}

.objection h3 {
  font-size: 0.95rem;
  color: var(--primary-press);
  margin-bottom: 0.35rem;
}

.objection p {
  color: var(--ink-mute);
  font-size: 0.93rem;
  margin: 0;
}

/* proof section holds only the trust band now: no tall section padding */
.proof-section {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  background: var(--canvas-soft);
}

/* trust band - legitimate, verifiable claims only.
   One card divided into cells: the 1px grid gap over a hairline background
   draws the dividers, so they stay correct at any column count. */
.trust-band {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.trust-band li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.95rem;
  min-width: 0;
  padding: 1.9rem 1.5rem;
  background: var(--canvas);
  transition: background 0.25s ease;
}

.trust-band li:hover {
  background: var(--canvas-soft);
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-subdued), #e3edfd);
  color: var(--primary-press);
}

.trust-icon svg {
  width: 21px;
  height: 21px;
}

.trust-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  min-width: 0;
  text-wrap: balance;
}

@media (max-width: 900px) {
  .trust-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .trust-band {
    grid-template-columns: 1fr;
  }

  .trust-band li {
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
    padding: 1.15rem 1.2rem;
  }
}

/* timeline (process page) */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 1.6rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--hairline);
}

.timeline .when {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  padding-top: 0.25rem;
}

.timeline h3 {
  margin-bottom: 0.4rem;
}

.timeline p {
  color: var(--ink-mute);
  font-weight: 300;
  margin: 0;
  max-width: 36rem;
}

/* comparison table (your time vs ours) */
.table-wrap {
  overflow-x: auto;
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.cmp-table th,
.cmp-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

.cmp-table th {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-mute);
  font-weight: 600;
}

.cmp-table td:first-child {
  font-weight: 500;
  white-space: nowrap;
}

.cmp-table td {
  color: var(--ink-mute);
}

.cmp-table .num {
  font-family: var(--font-mono);
  color: var(--ink);
  white-space: nowrap;
}

/* article / prose */
.prose {
  max-width: 42rem;
}

.prose > * + * {
  margin-top: 1.1rem;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.4rem;
}

.prose h3 {
  margin-top: 1.8rem;
}

.prose p,
.prose li {
  font-weight: 300;
  color: #303b4e;
  font-size: 1.05rem;
  line-height: 1.7;
}

.prose ul,
.prose ol {
  padding-left: 1.4rem;
}

.prose strong {
  font-weight: 500;
  color: var(--ink);
}

.prose blockquote {
  margin: 1.6rem 0;
  padding-left: 1.2rem;
  border-left: 3px solid var(--primary);
  color: var(--ink-mute);
  font-style: italic;
}

.article-meta {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

.article-cta {
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  margin: 2.2rem 0;
}

.article-cta h3 {
  margin-bottom: 0.4rem;
}

.article-cta p {
  color: var(--ink-mute);
  font-size: 0.96rem;
  margin-bottom: 1rem;
}

/* resource cards */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.3rem;
}

.resource-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-decoration: none;
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.resource-card:hover {
  border-color: #c9d4e6;
  box-shadow: var(--shadow-2);
  translate: 0 -4px;
}

.resource-card .tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-press);
}

.resource-card h3 {
  margin: 0;
}

.resource-card p {
  color: var(--ink-mute);
  font-size: 0.95rem;
  font-weight: 300;
  margin: 0;
}

.resource-card .read-more {
  margin-top: auto;
  padding-top: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
}

/* reusable closing CTA band (video background) */
.cta-band {
  position: relative;
  background: var(--canvas-soft);
  overflow: hidden;
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}

.cta-band .wrap {
  position: relative;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.4rem;
}

.cta-band h2 {
  max-width: 34rem;
}

.cta-band .section-sub {
  margin: 0 auto 1.6rem;
}

.cta-microcopy {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 1.1rem;
}

/* steps ("what happens next") */
.next-steps {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
  counter-reset: ns;
}

.next-steps li {
  counter-increment: ns;
  position: relative;
  padding-left: 2.6rem;
  color: var(--ink-mute);
  font-weight: 300;
}

.next-steps li::before {
  content: counter(ns, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--primary);
}

.next-steps strong {
  display: block;
  font-weight: 500;
  color: var(--ink);
}

/* FAQ theme groups */
.faq-group {
  margin-bottom: 2.6rem;
}

.faq-group h2 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

@media (max-width: 960px) {
  .service-block {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

/* ---------- small screens: dashboard + hero polish ---------- */
@media (max-width: 480px) {
  

  

  

  

  

  .hero-ctas .btn {
    width: 100%;
  }

  .logo-note {
    font-size: 0.62rem;
  }
}

/* internal-link footers on service pages and articles */
.pairs-with {
  margin: 1.6rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-mute);
}

.pairs-with a {
  color: var(--primary);
  text-decoration: none;
}

.pairs-with a:hover {
  text-decoration: underline;
}

.contact-address {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: var(--ink-mute);
}

.contact-address a {
  color: var(--primary);
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: #7d879b;
  margin: 0 0 1rem;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
