/* =========================================================
   Financify — light, fast, responsive
   ========================================================= */
:root {
  --bg: #f7f7fb;
  --bg-2: #ffffff;
  --ink: #12122a;
  --ink-2: #4b4b66;
  --ink-3: #8a8aa3;
  --line: #e7e6f0;
  --line-2: #efeef6;
  --accent: #6c5ce7;
  --accent-2: #8b7cf6;
  --accent-soft: #efedff;
  --surface: #ffffff;
  --teal: #14b8a6;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(18, 18, 42, .04), 0 2px 8px rgba(18, 18, 42, .04);
  --shadow: 0 10px 30px -12px rgba(40, 30, 120, .18), 0 2px 6px rgba(18, 18, 42, .04);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --nav-h: 72px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", var(--font);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; letter-spacing: -.02em; line-height: 1.12; }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--ink-3); }
.grad {
  background: linear-gradient(90deg, var(--accent) 0%, #9a7bff 55%, var(--teal) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* site-wide side margin: the header bar and all content share the same left/right edges */
:root { --gutter: clamp(20px, 3vw, 56px); }
.container { width: 100%; max-width: none; margin: 0 auto; padding: 0 var(--gutter); }
::selection { background: var(--accent-soft); color: var(--accent); }

/* ---------- Buttons: modern pills ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  padding: .95em 1.7em; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--font); letter-spacing: -.005em; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

/* primary: glossy violet gradient with glow and a top highlight edge */
.btn--dark {
  color: #fff;
  background: linear-gradient(135deg, #8b7cf6 0%, #6c5ce7 45%, #5a48d8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -2px 6px rgba(40, 20, 140, .35), 0 10px 26px -10px rgba(108, 92, 231, .75);
}
.btn--dark:hover {
  background: linear-gradient(135deg, #9a8cff 0%, #7465f0 45%, #5f4ee0 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 6px rgba(40, 20, 140, .35), 0 16px 34px -12px rgba(108, 92, 231, .9), 0 0 0 4px rgba(139, 124, 246, .18);
}

/* secondary: glass pill with a fine violet-to-teal gradient border */
.btn--light {
  color: var(--ink);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, rgba(139, 124, 246, .7), rgba(20, 184, 166, .55)) border-box;
  box-shadow: var(--shadow-sm);
}
.btn--light:hover {
  background:
    linear-gradient(135deg, rgba(139, 124, 246, .14), rgba(20, 184, 166, .10)) padding-box,
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, #8b7cf6, #14b8a6) border-box;
  box-shadow: 0 12px 26px -14px rgba(108, 92, 231, .55);
}

/* soft (header "Talk to us") */
.btn--soft { background: var(--accent-soft); color: var(--accent); border-color: rgba(139, 124, 246, .3); }
.btn--soft:hover { background: var(--accent); color: #fff; box-shadow: 0 10px 22px -10px rgba(108, 92, 231, .7); }

/* light sweep across buttons on hover */
.btn::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .35) 45%, rgba(190, 180, 255, .25) 52%, transparent 70%);
  transform: translateX(-130%); transition: transform .9s var(--ease);
}
.btn--light::after { background: linear-gradient(110deg, transparent 25%, rgba(139, 124, 246, .16) 45%, rgba(20, 184, 166, .12) 55%, transparent 72%); }
.btn:hover::after { transform: translateX(130%); }

/* arrow sits in its own circle; it brightens and tilts up-right on hover */
.btn:has(> span[aria-hidden]) { padding-right: .5em; }
.btn > span[aria-hidden] {
  display: inline-grid; place-items: center; width: 2.1em; height: 2.1em; margin: -.55em 0; border-radius: 50%;
  font-size: .95em; background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  transition: transform .45s var(--ease), background .35s, color .35s;
}
.btn--light > span[aria-hidden] { background: var(--accent-soft); color: var(--accent); box-shadow: none; }
.btn:hover > span[aria-hidden] { transform: rotate(-45deg); background: #fff; color: var(--accent); }
.btn--light:hover > span[aria-hidden] { background: var(--accent); color: #fff; }
/* buttons that jump further down the page: down arrow that nudges downward on hover */
.btn__down { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn--down:hover > span[aria-hidden] { transform: none; }
.btn--down:hover .btn__down { animation: btn-down .9s var(--ease) infinite; }
@keyframes btn-down { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(3px); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font: 600 .75rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
/* section labels use the same blue as the hero stats */
.eyebrow { color: #4f9cf9; }
.eyebrow .dot { background: #4f9cf9; box-shadow: 0 0 0 4px rgba(79, 156, 249, .18); }
html[data-theme="dark"] .eyebrow { color: #93c5fd; }
html[data-theme="dark"] .eyebrow .dot { background: #93c5fd; box-shadow: 0 0 0 4px rgba(147, 197, 253, .18); }

/* ---------- Nav ---------- */
/* full-width bar, edge to edge; its content lines up with the page gutter */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 0; }
.nav__inner {
  max-width: none; margin: 0; height: 68px; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 24px;
  background: rgba(255, 255, 255, .72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 0; border-radius: 0;
  box-shadow: var(--shadow-sm);
}
/* brand wordmark: custom geometric SVG (even strokes, wide spacing, detached bars) */
.brand { display: flex; align-items: center; color: var(--ink); transition: color .3s; }
.brand:hover { color: #4f9cf9; }
html[data-theme="dark"] .brand:hover { color: #93c5fd; }
/* brand: the circular f logo followed by "financify" in DM Serif Display italic (its ball-ended f echoes the logo's f) */
.brand { gap: 11px; --logo: 46px; position: relative; }
.brand__logo { display: block; flex: none; width: var(--logo); height: var(--logo); }
/* logo matches the hero stats blue: soft light blue on dark, brighter blue on light */
.brand__logo--on-dark { display: none; }
html[data-theme="dark"] .brand__logo--on-dark { display: block; }
html[data-theme="dark"] .brand__logo--on-light { display: none; }
.brand__name {
  font: italic 400 2.1rem/1 "DM Serif Display", Georgia, serif; letter-spacing: -.01em;
  padding: 0 .06em .08em 0; white-space: nowrap;
}
.footer .brand { --logo: 56px; }
.footer .brand__name { font-size: 2.6rem; }
.wordmark { display: block; height: 19px; width: auto; fill: none; stroke: currentColor; stroke-width: 5; stroke-linejoin: miter; stroke-miterlimit: 1; overflow: visible; }
.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; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { position: relative; padding: 8px 14px; border-radius: 10px; font-size: 1.02rem; font-weight: 700; color: var(--ink-2); transition: background .2s, color .2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a:hover { background: var(--line-2); color: var(--ink); }
.nav__cta { padding: .75em 1.25em; }
.nav__toggle { display: none; flex: none; width: 42px; height: 42px; border: 0; background: transparent; border-radius: 10px; position: relative; cursor: pointer; transition: background .2s; }
.nav__toggle:hover { background: var(--line-2); }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 24px; }
.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); }
.nav__mobile {
  max-width: none; margin: 8px var(--gutter) 0; padding: 10px;
  display: grid; gap: 2px; background: rgba(255,255,255,.95); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  animation: menu-drop .35s var(--ease);
}
.nav__mobile[hidden] { display: none; }
.nav__mobile a { padding: 12px 14px; border-radius: 10px; font-size: 1.08rem; font-weight: 700; }
.nav__mobile a:not(.btn):hover { background: var(--line-2); }
.nav__mobile .btn { justify-content: center; margin-top: 6px; }
@keyframes menu-drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 14px) 0 40px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 38%, rgba(139, 124, 246, .16), transparent 70%),
    radial-gradient(40% 40% at 10% 10%, rgba(20, 184, 166, .08), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(18, 18, 42, .06) 1px, transparent 0) 0 0 / 28px 28px;
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; min-height: calc(100vh - var(--nav-h) - 40px); }
.hero__copy h1 { margin-bottom: 22px; }
/* hero headline: clean modern sans + elegant italic serif accent */
.hero-title {
  font: 500 clamp(2.2rem, 3.9vw, 3.4rem)/1.08 "Satoshi", var(--font-display);
  letter-spacing: -.045em; text-wrap: balance;
}
.hero-title .ht-sans { display: block; font-weight: 700; }
.hero-title .ht-soft { color: var(--ink-3); font-weight: 500; }
.hero-title .ht-serif {
  display: inline-block; padding: 0 .08em .06em 0;
  font: normal 700 1.06em/1 "Urbanist", var(--font-display); letter-spacing: -.035em;
  background: linear-gradient(100deg, #60a5fa 0%, #93c5fd 30%, #bae6fd 55%, #60a5fa 80%, #93c5fd 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: ht-shimmer 7s ease-in-out infinite alternate;
}
@keyframes ht-shimmer { to { background-position: 100% 0; } }
html:not([data-theme="dark"]) .hero-title .ht-serif {
  background-image: linear-gradient(100deg, #2563eb 0%, #4f9cf9 30%, #0ea5e9 55%, #2563eb 80%, #4f9cf9 100%);
}
/* the "o" of clockwork is drawn as a small ticking clock */
.hero-title .ht-serif { white-space: nowrap; }
.ht-clock {
  display: inline-block; width: .62em; height: .62em; margin: 0 .03em; vertical-align: -.03em; overflow: visible;
  fill: none; stroke: url(#htClockGrad); stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round;
}
.ht-clock__arrow { fill: url(#htClockGrad); stroke-width: 1; }
.ht-clock__hand { stroke: #fb7185; stroke-width: 2.2; }
html:not([data-theme="dark"]) .ht-clock__hand { stroke: #e11d48; }
.ht-clock__c1 { stop-color: #93c5fd; }
.ht-clock__c2 { stop-color: #60a5fa; }
html:not([data-theme="dark"]) .ht-clock__c1 { stop-color: #4f9cf9; }
html:not([data-theme="dark"]) .ht-clock__c2 { stop-color: #2563eb; }
.ht-clock__ticks { stroke-width: 1.7; }
.ht-clock__hour, .ht-clock__min { transform-box: view-box; transform-origin: 12px 12px; }
.ht-clock__min { animation: ht-tick 12s linear infinite; }
.ht-clock__hour { animation: ht-tick 96s linear infinite; }
@keyframes ht-tick { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ht-clock__min, .ht-clock__hour { animation: none; } }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 36px; flex-wrap: wrap; }
.hero__facts li { display: flex; flex-direction: column; }
/* stats use the same striped numerals as "How we work" */
/* stats: light blue striped numerals; labels use the regular hero text colour */
.hero__facts { --facts: #4f9cf9; }
html[data-theme="dark"] .hero__facts { --facts: #93c5fd; }
.hero__facts strong { font: 400 2.75rem/1.1 "Monoton", var(--font-display); letter-spacing: .01em; color: var(--facts); padding-right: .04em; }
.hero__facts span { font-size: 1.1rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }

/* globe sized by both width and screen height, so it and its legend always fit in the first view */
.hero__visual { position: relative; width: 100%; min-width: 0; max-width: min(640px, calc(100vh - var(--nav-h) - 96px)); justify-self: center; display: flex; flex-direction: column; }

/* ---------- Word globe: sub-service names on a rotating sphere ---------- */
.word-globe { position: relative; width: 100%; aspect-ratio: 1 / 1; isolation: isolate; }
/* the sphere is decorative: no text cursor, caret or selection highlight when clicked */
.word-globe, .word-globe__legend {
  cursor: default; caret-color: transparent; outline: none;
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
/* drag left/right to spin; vertical swipes still scroll the page on touch screens */
.word-globe { cursor: grab; touch-action: pan-y; }
.word-globe.is-dragging { cursor: grabbing; }
.word-globe::before { /* soft core glow + orbit ring */
  content: ""; position: absolute; inset: 10%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(139, 124, 246, .18), rgba(139, 124, 246, .05) 55%, transparent 72%);
  box-shadow: 0 0 0 1px rgba(139, 124, 246, .10);
}
.word-globe__inner { position: absolute; left: 50%; top: 50%; }
.word-globe__word {
  --wc: #6c5ce7;
  position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform, opacity; transform-origin: 0 0;
  font: 600 9px/1 var(--font); letter-spacing: 0; color: var(--wc);
  transition: filter .35s;
}
.word-globe__word[data-s="1"] { --wc: #0f9488; }
.word-globe__word[data-s="2"] { --wc: #db2777; }
.word-globe__word[data-s="3"] { --wc: #c2410c; }
.word-globe__word[data-s="4"] { --wc: #0369a1; }
html[data-theme="dark"] .word-globe__word { --wc: #b3a8ff; }
html[data-theme="dark"] .word-globe__word[data-s="1"] { --wc: #5eead4; }
html[data-theme="dark"] .word-globe__word[data-s="2"] { --wc: #f9a8d4; }
html[data-theme="dark"] .word-globe__word[data-s="3"] { --wc: #fdba74; }
html[data-theme="dark"] .word-globe__word[data-s="4"] { --wc: #7dd3fc; }
/* hovering a legend chip highlights that service's words */
.word-globe[data-focus] .word-globe__word { filter: opacity(.18) saturate(.4); }
.word-globe[data-focus="0"] .word-globe__word[data-s="0"],
.word-globe[data-focus="1"] .word-globe__word[data-s="1"],
.word-globe[data-focus="2"] .word-globe__word[data-s="2"],
.word-globe[data-focus="3"] .word-globe__word[data-s="3"],
.word-globe[data-focus="4"] .word-globe__word[data-s="4"] { filter: none; }

.word-globe__legend { display: flex; flex-wrap: nowrap; justify-content: center; gap: 16px; padding-top: 10px; white-space: nowrap; min-width: 0; }
.wg-key b { font-weight: inherit; } .wg-short { display: none; }
.wg-key {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 4px; cursor: default;
  font-size: .96rem; font-weight: 600; color: var(--ink-2);
  transition: color .25s;
}
.wg-key i { width: 11px; height: 11px; border-radius: 50%; background: var(--k); }
.wg-key:hover { color: var(--ink); }
.wg-key[data-s="0"] { --k: #8b7cf6; } .wg-key[data-s="1"] { --k: #14b8a6; } .wg-key[data-s="2"] { --k: #ec4899; }
.wg-key[data-s="3"] { --k: #f97316; } .wg-key[data-s="4"] { --k: #0ea5e9; }

/* Client segments strip */
.clients {
  margin-top: 36px; padding: 16px; border-radius: var(--radius);
  background: rgba(255,255,255,.6); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.clients__title { font-size: .8rem; color: var(--ink-3); margin: 0 4px 12px; }
.clients__title strong { color: var(--ink); }
.clients__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.client-cell {
  position: relative; height: 104px; border-radius: 12px; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line-2);
}
.client {
  position: absolute; inset: 0; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; padding: 0 20px;
  transition: opacity .6s var(--ease), filter .6s var(--ease), transform .6s var(--ease);
}
.client.enter { opacity: 0; filter: blur(10px); transform: translateY(18px); }
.client.leave { opacity: 0; filter: blur(10px); transform: translateY(-18px); }
/* icon always at the same spot (left, vertically centred) so icons line up across tiles */
.client__text { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; }
.client__name { font: 600 .98rem/1.2 var(--font-display); color: var(--client-ink, #3a3a58); letter-spacing: -.01em; }
.client__ico { width: 46px; height: 46px; border-radius: 14px; }
.client__ico svg { width: 28px; height: 28px; }
.client__tag { font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 3px 8px; border-radius: 6px; background: var(--line-2); }

/* ---------- Industries marquee ---------- */
.industries { padding: 76px 0 36px; overflow: hidden; }
.marquee-rows { display: grid; gap: 6px; }
.industries__head { margin-bottom: 8px; }
.marquee {
  overflow: hidden; padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track {
  display: flex; width: max-content; margin: 0; padding: 0; list-style: none;
  animation: marquee var(--marquee-dur, 90s) linear infinite; will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
/* padding instead of flex gap so both halves are exactly equal and the loop never jumps */
.marquee__track li {
  display: flex; align-items: center; flex: none; white-space: nowrap;
  font: 600 clamp(.95rem, 1.45vw, 1.25rem)/1.4 var(--font-display);
  letter-spacing: -.02em; color: var(--ink); transition: color .3s;
}
/* each row has its own tone (no per-item alternation, so the loop stays seamless) */
.marquee--2 .marquee__track li { color: var(--ink-3); }
.marquee .marquee__track li:hover { color: var(--accent); }
.marquee__track li::after {
  content: ""; flex: none; width: .3em; height: .3em; margin: 0 .75em; border-radius: 3px; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--accent), var(--teal));
}
@keyframes marquee { to { transform: translateX(-50%); } }
/* middle row runs left to right (same seamless loop, played in reverse) */
.marquee--2 .marquee__track { animation-direction: reverse; }

/* ---------- Services (pinned accordion) ---------- */
.services { position: relative; background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 30%, var(--surface) 70%, var(--bg) 100%); }
.services__layout { display: grid; grid-template-columns: 320px 1fr; gap: 56px; }
.services__aside h2 { margin-bottom: 18px; font-size: clamp(1.8rem, 2.5vw, 2.4rem); }
.services__intro { color: var(--ink-2); font-size: .98rem; }
.services__index { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; gap: 4px; }
/* short laptop screens: drop the intro so the larger index still fits beside the pinned list */
@media (max-height: 820px) and (min-width: 961px) {
  .services.pinned .services__intro { display: none; }
  .services.pinned .services__index { margin-top: 20px; }
}
.services__index li {
  counter-increment: s; display: flex; gap: 12px; align-items: center;
  font-size: 1.15rem; font-weight: 500; color: var(--ink-3); padding: 7px 0; transition: color .4s, transform .4s var(--ease);
}
.services__index li::before { content: "0" counter(s); font: 600 .86rem/1 var(--font-display); color: var(--ink-3); width: 28px; }
.services__index li.on { color: var(--ink); transform: translateX(6px); }
.services__index li.on::before { color: var(--accent); }
.services__progress { margin-top: 18px; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; max-width: 260px; }
.services__progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--teal)); border-radius: inherit; }

.svc-list { perspective: 1400px; }
.svc {
  border-bottom: 1px solid var(--line);
  transform-origin: 50% 0;
  transition: opacity .6s var(--ease), transform .7s var(--ease);
}
.svc__head {
  width: 100%; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px;
  padding: 18px 4px; background: none; border: 0; text-align: left; font: inherit; color: inherit; cursor: pointer;
  position: relative; border-radius: 10px; transition: background-color .35s;
}
/* shining line under service headers */
.svc__head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--teal) 70%, transparent);
  transform: scaleX(0); transition: transform .6s var(--ease);
}
.svc__head:hover::after { transform: scaleX(1); }
.svc__head:hover { background-color: rgba(139, 124, 246, .04); }
.svc__titles { transition: translate .4s var(--ease); }
.svc__head:hover .svc__titles { translate: 6px 0; }
.svc__head:hover .svc__title { color: var(--accent); }
.services.stacked .svc__head:hover { background-color: transparent; }
.services.stacked .svc__head:hover .svc__titles { translate: none; }
.svc__num { font: 600 .8rem/1 var(--font-display); color: var(--ink-3); transition: color .4s; }
.svc__titles { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.svc__title { font: 600 clamp(1.05rem, 1.6vw, 1.35rem)/1.2 var(--font-display); letter-spacing: -.02em; transition: color .4s; }
.svc__tag { font-size: .85rem; color: var(--ink-3); transition: opacity .4s, max-height .5s var(--ease); max-height: 2em; overflow: hidden; }
.svc__count { font-size: .75rem; font-weight: 600; color: var(--ink-3); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }

.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .75s var(--ease); }
.svc__inner { overflow: hidden; min-height: 0; }
.svc__desc { color: var(--ink-2); max-width: 680px; padding: 0 4px 16px 62px; font-size: .97rem; }
.svc__items { list-style: none; margin: 0; padding: 0 4px 26px 62px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.svc__items li {
  position: relative;
  padding: 15px 17px; border-radius: var(--radius-sm); background-color: var(--bg); border: 1px solid var(--line-2);
  opacity: 0; transform: translateY(-14px) rotateX(-30deg); transform-origin: 50% 0;
  /* drop-in uses a staggered delay (--d); hover properties respond instantly */
  transition: opacity .5s var(--ease) var(--d, 0s), transform .6s var(--ease) var(--d, 0s),
    translate .35s var(--ease), box-shadow .35s var(--ease), border-color .3s, background-color .3s, --glow .35s;
}
.svc__items li:hover { border-color: #d9d4ff; background-color: var(--surface); translate: 0 -3px; box-shadow: 0 12px 26px -14px rgba(108, 92, 231, .45); }
.svc__items li:hover h4::before { box-shadow: 0 0 0 4px var(--accent-soft), 0 0 10px 2px rgba(108, 92, 231, .45); }
.svc__items h4::before { transition: box-shadow .35s var(--ease); }
.svc__items h4 { font: 600 1.02rem/1.35 var(--font); letter-spacing: -.005em; margin-bottom: 6px; display: flex; gap: 9px; color: var(--ink); }
.svc__items h4::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .45em; border-radius: 50%; background: var(--accent); }
.svc__items p { font-size: .94rem; line-height: 1.6; color: var(--ink-2); padding-left: 15px; }

/* open state: drop down */
.svc.open .svc__body { grid-template-rows: 1fr; }
/* service names and numbers use the site blue */
.svc__num, .svc__title, .svc.open .svc__num, .svc.open .svc__title, .svc__head:hover .svc__title { color: #3b82f6; }
html[data-theme="dark"] .svc__num, html[data-theme="dark"] .svc__title,
html[data-theme="dark"] .svc.open .svc__num, html[data-theme="dark"] .svc.open .svc__title,
html[data-theme="dark"] .svc__head:hover .svc__title { color: #93c5fd; }
.svc.open .svc__items li { opacity: 1; transform: none; --d: calc(.18s + var(--i, 0) * .045s); }

/* folded (already passed): fold up & close */
.svc.folded { opacity: .5; transform: rotateX(14deg) scaleY(.94); }
.svc.folded .svc__tag { max-height: 0; opacity: 0; }
.svc.folded .svc__head { padding: 12px 4px; }
.svc.folded .svc__items li { transform: translateY(-10px) rotateX(40deg); }

/* Pinned mode (large screens, set by JS) */
.services.measuring, .services.measuring * { transition: none !important; }
.services.pinned { height: calc(var(--n) * 90vh + 100vh); }
/* whole list glides up (set by JS) so the open service is always shown in full */
.services.pinned .svc-list { transform: translateY(var(--list-shift, 0px)); transition: transform .45s cubic-bezier(.2, .7, .3, 1); will-change: transform; }
.services.pinned .services__stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: flex-start; padding-top: calc(var(--nav-h) + 28px); overflow: hidden; }
.services.pinned .container { max-width: none; }
.services.pinned .services__layout { grid-template-columns: 280px 1fr; gap: 48px; }
.services.pinned .svc__head { padding: 12px 4px; }
.services.pinned .svc:not(.open) .svc__tag { max-height: 0; opacity: 0; }
.services.pinned .svc.folded .svc__head { padding: 9px 4px; }
.services.pinned .svc__desc { padding-bottom: 12px; }
.services.pinned .svc__items { padding-bottom: 18px; }
.services:not(.pinned) { padding: 100px 0; }

/* Stacked mode (small screens) */
.services.stacked .services__layout { grid-template-columns: 1fr; gap: 28px; }
.services.stacked .services__index, .services.stacked .services__progress { display: none; }
.services.stacked .svc-list { display: grid; gap: 14px; perspective: none; }
.services.stacked .svc {
  position: sticky; top: calc(var(--nav-h) + 12px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transform-origin: 50% 0; transition: none;
}
.services.stacked .svc__head { grid-template-columns: 36px 1fr; padding: 18px 16px; cursor: default; }
.services.stacked .svc__count { display: none; }
.services.stacked .svc__body { transition: none; grid-template-rows: 1fr; }
.services.stacked .svc__desc { padding: 0 16px 14px; }
.services.stacked .svc__items { grid-template-columns: 1fr 1fr; padding: 0 16px 18px; }
.services.stacked .svc::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: var(--bg); opacity: calc(var(--q, 0) * .85);
}
.services.stacked .svc.folded { opacity: 1; }
.services.stacked .svc.folded .svc__tag { max-height: 2em; opacity: 1; }

/* ---------- Process ---------- */
.process { padding: 110px 0; }
.section-head { max-width: none; margin-bottom: 52px; }
.section-head__lead { margin-top: 18px; color: var(--ink-2); font-size: 1.05rem; line-height: 1.7; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.step {
  position: relative; display: flex; flex-direction: column; padding: 32px 34px 30px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.step__num {
  /* multi-line "inline stripe" numerals, matching the hero stats */
  font: 400 4rem/1 "Monoton", var(--font-display); letter-spacing: .01em;
  color: #4f9cf9; padding-right: .04em;
}
html[data-theme="dark"] .step__num { color: #93c5fd; }
.step h3 { font-size: 1.45rem; margin-bottom: 10px; }
.step > p { font-size: .97rem; color: var(--ink-2); line-height: 1.65; }
.step__list { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 10px; }
.step__list li { position: relative; padding-left: 20px; font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.step__list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--teal)); }
.step__list { margin-bottom: 22px; }
/* "You receive" box sits at the bottom so all four cards line up */
.step > p.step__out { margin-top: auto; padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); font-size: .9rem; font-weight: 600; color: var(--ink); line-height: 1.5; }
.step__out span { display: block; margin-bottom: 6px; font: 600 .76rem/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; color: #4f9cf9; }
html[data-theme="dark"] .step__out span { color: #93c5fd; }

/* cards start stacked in the centre of the grid and burst out to their four corners */
.process .steps .step { opacity: 0; transition: opacity .7s var(--ease), transform 1.1s cubic-bezier(.16, 1, .3, 1), box-shadow .4s var(--ease), --glow .4s; }
.process .steps .step:nth-child(1) { transform: translate(calc(50% + 12px), calc(50% + 12px)) scale(.6); }
.process .steps .step:nth-child(2) { transform: translate(calc(-50% - 12px), calc(50% + 12px)) scale(.6); }
.process .steps .step:nth-child(3) { transform: translate(calc(50% + 12px), calc(-50% - 12px)) scale(.6); }
.process .steps .step:nth-child(4) { transform: translate(calc(-50% - 12px), calc(-50% - 12px)) scale(.6); }
.process .steps.open .step { opacity: 1; transform: none; }
.process .steps.open .step:hover { transform: translateY(-4px); }

/* ---------- Why ---------- */
.why { padding: 40px 0 110px; }
.why { overflow-x: clip; } /* hides the cards while they wait off-screen to slide in */
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.why__copy { position: sticky; top: calc(var(--nav-h) + 40px); }
.why__copy h2 { margin-bottom: 18px; }
.why__copy p { color: var(--ink-2); margin-bottom: 14px; max-width: 480px; }
.why__promises { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; max-width: 480px; }
.why__promises li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; color: var(--ink-2); line-height: 1.5; }
.why__promises li strong { color: var(--ink); font-weight: 600; }
.why__promises svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 1px; stroke-width: 2; }
.feature__list { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 9px; }
.feature__list li { position: relative; padding-left: 18px; font-size: .86rem; line-height: 1.5; color: var(--ink-2); }
.feature__list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--teal)); }

/* cards slide in: left column from the left, right column from the right */
.why__cards .feature.reveal { filter: none; transition: opacity .9s var(--ease), transform 1.1s cubic-bezier(.16, 1, .3, 1), box-shadow .4s var(--ease), --glow .4s; }
.why__cards .feature.reveal:nth-child(odd) { transform: translateX(-180px) rotate(-4deg); }
.why__cards .feature.reveal:nth-child(even) { transform: translate(180px, 24px) rotate(4deg); }
.why__cards .feature.reveal.in:nth-child(odd) { transform: none; }
.why__cards .feature.reveal.in:nth-child(even) { transform: translateY(24px); }
.why__cards .feature.reveal.in:nth-child(odd):hover { transform: translateY(-4px); }
.why__cards .feature.reveal.in:nth-child(even):hover { transform: translateY(20px); }
.why__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature:nth-child(even) { transform: translateY(24px); }
.feature:nth-child(even):hover { transform: translateY(20px); }
/* ---------- Duotone icon system: soft tint + crisp violet outline + teal accent ---------- */
.dti { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.dti .t { fill: currentColor; opacity: .16; stroke: none; }
.dti .a { stroke: var(--teal); }
.dti .af { fill: var(--teal); stroke: none; }
.dti .bg { fill: var(--surface); }
.ico-tile {
  position: relative; display: grid; place-items: center; flex: none; color: var(--accent);
  background: linear-gradient(140deg, rgba(139, 124, 246, .20), rgba(139, 124, 246, .07) 55%, rgba(20, 184, 166, .14));
  border: 1px solid rgba(139, 124, 246, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 8px 18px -12px rgba(108, 92, 231, .6);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
html[data-theme="dark"] .ico-tile { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 18px -12px rgba(0, 0, 0, .7); border-color: rgba(157, 143, 255, .28); }

.feature__icon { width: 58px; height: 58px; border-radius: 18px; margin-bottom: 20px; }
.feature__icon svg { width: 34px; height: 34px; }
.feature:hover .feature__icon { transform: translateY(-2px) rotate(-4deg) scale(1.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 14px 24px -12px rgba(108, 92, 231, .7); }
.feature h3 { margin-bottom: 6px; }
.feature p { font-size: .92rem; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact { padding: 0 0 100px; }
.contact__card {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; padding: 48px;
  border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  background-image: radial-gradient(50% 60% at 0% 0%, rgba(139,124,246,.10), transparent 70%);
}
.contact__copy h2 { margin-bottom: 14px; }
.contact__copy > p { color: var(--ink-2); }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 16px; font-size: .95rem; }
.contact__list span { width: 64px; color: var(--ink-3); font-size: .85rem; padding-top: 1px; }
.contact__list a:hover { color: var(--accent); }
/* hand-drawn typing animation fills the empty space under the contact details, drawn straight on the card
   (transparent GIFs: dark ink for light mode, light ink for dark mode) */
.contact__copy { display: flex; flex-direction: column; }
.contact__sketch {
  margin: 36px 0 0; flex: 1; display: flex; align-items: center; justify-content: flex-start;
}
.contact__sketch img { display: block; width: 100%; max-width: 320px; height: auto; }
.contact__sketch .sketch--on-dark { display: none; }
html[data-theme="dark"] .contact__sketch .sketch--on-dark { display: block; }
html[data-theme="dark"] .contact__sketch .sketch--on-light { display: none; }
@media (max-width: 600px) { .contact__sketch { margin-top: 24px; } .contact__sketch img { max-width: 250px; } }
.form { display: grid; gap: 14px; }
.form input.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; } /* spam trap, hidden from people */
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.form input, .form select, .form textarea {
  width: 100%; font: 400 .95rem/1.4 var(--font); color: var(--ink);
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg);
  transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 4px var(--accent-soft); background: var(--surface); }
.form .invalid { border-color: #e5484d; }
.form button { justify-self: start; margin-top: 4px; }
.form__note { font-size: .88rem; color: #0f8f81; min-height: 1.4em; }

/* ---------- Footer ---------- */
/* soft violet-to-mint tint: not grey, not dark */
.footer {
  /* light mode: neutral charcoal text (not purple) so it stands out on the lavender background */
  --f-ink: #0e0e16; --f-ink-2: #2a2a35; --f-ink-3: #45454f; --f-line: rgba(30, 30, 50, .14);
  position: relative; overflow: hidden; padding: 72px 0 0; color: var(--f-ink-2);
  background:
    radial-gradient(55% 70% at 100% 0%, rgba(20, 184, 166, .15), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(244, 114, 182, .10), transparent 70%),
    linear-gradient(160deg, #f1eeff 0%, #ebe7ff 50%, #e3f3f0 100%);
  border-top: 1px solid rgba(108, 92, 231, .18);
}
.footer::before { /* faint dot grid like the hero */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 1px 1px, rgba(60, 40, 160, .10) 1px, transparent 0) 0 0 / 26px 26px;
  -webkit-mask-image: linear-gradient(transparent, #000 40%, transparent); mask-image: linear-gradient(transparent, #000 40%, transparent);
}
.footer .container { position: relative; z-index: 1; }
.footer .brand { color: var(--f-ink); }
/* "Made with ♥ in India" line under the footer contact details */
.footer__cols .footer__made { display: inline-flex; align-items: center; gap: 6px; margin-top: 1.5em; } /* one blank row above */
.footer__heart { width: 1.35em; height: 1.35em; fill: #e5484d; flex: none; animation: heart-beat 1.6s ease-in-out infinite; transform-origin: center; }
@keyframes heart-beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.22); } 30% { transform: scale(1.05); } 45% { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .footer__heart { animation: none; } }
.footer .brand:hover { color: #4f9cf9; }
html[data-theme="dark"] .footer .brand:hover { color: #93c5fd; }
.footer__top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid var(--f-line); }
.footer__tagline { margin: 16px 0 20px; max-width: 400px; font-size: .95rem; }
.footer__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.footer__chips li {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 999px;
  font-size: .92rem; font-weight: 600; color: var(--f-ink); background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8);
}
.footer__chips li { gap: 9px; padding-left: 12px; }
.footer__chips svg { width: 23px; height: 23px; color: var(--accent); }
.footer__social svg { fill: currentColor; stroke: none; }

.footer__news { align-self: start; padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .85); box-shadow: 0 12px 30px -18px rgba(60, 40, 160, .35); backdrop-filter: blur(8px); }
.footer__news label { display: block; font: 600 1.05rem/1.3 var(--font-display); color: var(--f-ink); }
.footer__news > p:first-of-type { font-size: .86rem; margin: 6px 0 14px; }
.footer__news input.footer__news-trap { position: absolute; left: -9999px; flex: none; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; } /* spam trap, hidden from people */
.footer__news-field { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--f-line); transition: box-shadow .2s, border-color .2s; }
.footer__news-field:focus-within { border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(139, 124, 246, .18); }
.footer__news input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 10px; font: 400 .93rem var(--font); color: var(--ink); }
.footer__news .btn { padding: .8em 1.4em; }
.footer__news-note { font-size: .8rem; min-height: 1.2em; margin-top: 8px; color: #0f7f73; }

.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--f-line); }
.footer__cols h4 { font: 600 .78rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--f-ink); margin-bottom: 16px; }
.footer__cols a, .footer__cols span { display: block; width: fit-content; font-size: .92rem; padding: 5px 0; color: var(--f-ink-2); }
.footer__cols a { position: relative; transition: color .2s, translate .3s var(--ease); }
.footer__cols a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: linear-gradient(90deg, var(--accent), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.footer__cols a:hover { color: var(--accent); translate: 3px 0; }
.footer__cols a:hover::after { transform: scaleX(1); }
/* light mode: deep teal hover (purple blended into the lavender background) */
html:not([data-theme="dark"]) .footer__cols a:hover,
html:not([data-theme="dark"]) .footer__legal-links a:hover,
html:not([data-theme="dark"]) .footer__news a { color: #0b6b62; }
html:not([data-theme="dark"]) .footer__cols a::after { background: #0b6b62; }

/* bottom row: copyright + legal links (left), social / button (right), disclaimer full width underneath */
.footer__bottom { display: grid; grid-template-columns: 1fr auto; column-gap: 32px; align-items: start; padding: 26px 0 8px; }
.footer__legal { display: contents; }
.footer__copy { grid-column: 1; grid-row: 1; }
.footer__legal-links { grid-column: 1; grid-row: 2; }
.footer__bottom > .footer__social, .footer__bottom > .btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.footer__copy { font-size: .85rem; color: var(--f-ink); font-weight: 500; }
.footer__disclaimer { grid-column: 1 / -1; grid-row: 3; margin-top: 12px; max-width: none; font-size: .88rem; line-height: 1.6; color: var(--f-ink-3); }
.footer__disclaimer strong { color: var(--f-ink-2); }
.footer__social { display: flex; gap: 8px; }
.footer__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--f-ink); background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .85); transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s; }
.footer__social a:hover { transform: translateY(-3px); background: var(--ink); color: #fff; box-shadow: 0 10px 20px -10px rgba(60, 40, 160, .6); }
.footer__social svg { width: 17px; height: 17px; }

/* giant brand watermark */
.footer__mark {
  position: relative; user-select: none; pointer-events: none; padding: 30px 0 0; overflow: hidden;
  color: rgba(79, 156, 249, .38);
  -webkit-mask-image: linear-gradient(#000 35%, transparent 105%); mask-image: linear-gradient(#000 35%, transparent 105%);
}
.footer__mark .wordmark { height: auto; width: min(92%, 1240px); margin: 0 auto -1.5%; stroke-width: 4; }
.footer__mark-text {
  display: block; text-align: center; white-space: nowrap;
  font: italic 400 clamp(4.5rem, 19vw, 17rem)/1 "DM Serif Display", Georgia, serif; letter-spacing: -.02em;
  margin-bottom: -.18em; padding: 0 .1em;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.feature.reveal.in:nth-child(even) { transform: translateY(24px); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.footer__legal-links { display: flex; gap: 18px; margin-top: 8px; font-size: .82rem; }
.footer__legal-links a { color: var(--f-ink-2); text-decoration: underline; text-decoration-color: rgba(80, 64, 180, .3); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.footer__legal-links a:hover { color: var(--accent); text-decoration-color: currentColor; }
.footer--compact { padding-top: 8px; }
.footer--compact .footer__bottom { align-items: center; }
.consent { font-size: .8rem; color: var(--ink-3); line-height: 1.5; }
.consent a, .footer__news a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Legal pages ---------- */
.legal-hero {
  padding: calc(var(--nav-h) + 64px) 0 44px; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(50% 80% at 85% 0%, rgba(139, 124, 246, .16), transparent 70%),
    radial-gradient(35% 60% at 5% 20%, rgba(20, 184, 166, .08), transparent 70%);
}
.legal-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.legal-hero__meta { margin-top: 10px; font-size: .85rem; color: var(--ink-3); }
.legal-hero__lead { margin-top: 16px; max-width: none; color: var(--ink-2); font-size: 1.05rem; }
.legal-switch { display: inline-flex; gap: 4px; margin-top: 26px; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.legal-switch a { padding: 8px 16px; border-radius: 9px; font-size: .88rem; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s; }
.legal-switch a:hover { color: var(--ink); background: var(--line-2); }
.legal-switch a[aria-current="page"] { background: var(--ink); color: #fff; }

.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding-top: 48px; padding-bottom: 96px; }
.legal-toc { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.legal-toc p { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.legal-toc nav { display: grid; border-left: 2px solid var(--line); }
.legal-toc a { margin-left: -2px; padding: 6px 0 6px 14px; font-size: .86rem; color: var(--ink-3); border-left: 2px solid transparent; transition: color .2s, border-color .2s; }
.legal-toc a:hover { color: var(--ink); }
.legal-toc a.on { color: var(--accent); border-left-color: var(--accent); font-weight: 600; }

.legal-body { max-width: 760px; }
.legal-body section { padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line-2); scroll-margin-top: calc(var(--nav-h) + 24px); }
.legal-body section:last-child { border-bottom: 0; margin-bottom: 0; }
.legal-body h2 { font-size: 1.35rem; margin-bottom: 14px; }
.legal-body h3 { font-size: 1rem; margin: 20px 0 8px; }
.legal-body p, .legal-body li { color: var(--ink-2); font-size: .97rem; line-height: 1.75; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { margin: 10px 0 0; padding-left: 20px; }
.legal-body li { margin-bottom: 6px; }
.legal-body li::marker { color: var(--accent); }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-contact { margin-top: 14px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

/* ---------- Blog (Insights) ---------- */
.nav__links a[aria-current="page"] { color: var(--ink); background: var(--line-2); }
.chip {
  display: inline-block; padding: 6px 12px; border-radius: 8px;
  font: 500 .7rem/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
}
.chip--soft { color: var(--ink-2); background: var(--line-2); }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; letter-spacing: .06em; }

.blog-hero {
  padding: calc(var(--nav-h) + 64px) 0 36px;
  background:
    radial-gradient(50% 80% at 85% 0%, rgba(139, 124, 246, .16), transparent 70%),
    radial-gradient(35% 60% at 5% 20%, rgba(20, 184, 166, .08), transparent 70%);
}
.blog-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin-bottom: 16px; }
.blog-hero__lead { max-width: none; color: var(--ink-2); font-size: 1.05rem; }

.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0 28px; }
.blog-filters button {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; cursor: pointer;
  font: 600 .85rem/1 var(--font); color: var(--ink-2); background: var(--surface); border: 1px solid var(--line);
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s;
}
.blog-filters button small { font: 500 .7rem/1 "JetBrains Mono", monospace; color: var(--ink-3); }
.blog-filters button:hover { border-color: var(--accent-2); color: var(--ink); }
.blog-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.blog-filters button[aria-pressed="true"] small { color: inherit; opacity: .7; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; padding-bottom: 80px; }
.post-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 28px; background-color: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), --glow .4s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(40, 30, 120, .35); }
.post-card__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--line-2); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 26px; }
.post-card .chip { align-self: flex-start; margin-bottom: 18px; }
.post-card h3 { font: 700 1.28rem/1.3 "Sora", var(--font); letter-spacing: -.02em; margin-bottom: 14px; transition: color .3s; }
.post-card:hover h3 { color: var(--accent); }
.post-card p { color: var(--ink-2); font-size: .95rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__meta {
  display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px;
  font: 500 .76rem/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em; color: var(--ink-3);
}

.blog-cta { padding-bottom: 90px; }
.blog-cta__card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 36px 40px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  background-image: radial-gradient(50% 90% at 100% 0%, rgba(139, 124, 246, .14), transparent 70%);
}
.blog-cta__card h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 6px; }
.blog-cta__card p { color: var(--ink-2); }

/* Single article */
.article-narrow { max-width: none; }
.article-wide { max-width: none; }
.article-hero { padding: calc(var(--nav-h) + 56px) 0 34px; background: radial-gradient(50% 80% at 85% 0%, rgba(139, 124, 246, .14), transparent 70%); }
.article-back { display: inline-block; margin-bottom: 22px; font-size: .88rem; font-weight: 600; color: var(--ink-3); transition: color .2s, translate .3s var(--ease); }
.article-back:hover { color: var(--accent); translate: -3px 0; }
.article-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.article-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.15; margin-bottom: 16px; }
.article-lead { font-size: 1.12rem; color: var(--ink-2); line-height: 1.65; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 22px; font-size: .82rem; color: var(--ink-3); }
.article-meta__by { font-weight: 600; color: var(--ink-2); }
.article-figure { margin: 0 0 40px; }
.article-figure img { width: 100%; height: auto; aspect-ratio: 8 / 3; object-fit: cover; border-radius: 26px; background: var(--line-2); box-shadow: var(--shadow); }
.article-figure figcaption { margin-top: 10px; font-size: .74rem; color: var(--ink-3); text-align: right; }
.takeaways {
  margin-bottom: 36px; padding: 24px 26px; border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--accent-soft), rgba(20, 184, 166, .06));
}
.takeaways h2 { font: 600 .78rem/1 "JetBrains Mono", monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.takeaways ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.takeaways li { color: var(--ink); font-weight: 500; line-height: 1.55; }
.takeaways li::marker { color: var(--accent); }
.article-body p, .article-body li { color: var(--ink-2); font-size: 1.04rem; line-height: 1.85; }
.article-body p { margin-bottom: 18px; }
.article-body h2 { font-size: 1.45rem; margin: 38px 0 14px; }
.article-body ul { margin: 0 0 20px; padding-left: 22px; display: grid; gap: 8px; }
.article-body li::marker { color: var(--accent); }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body > p:first-child { font-size: 1.12rem; color: var(--ink); }
.article-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin: 44px 0 0; padding: 26px 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.article-cta h3 { margin-bottom: 4px; }
.article-cta p { color: var(--ink-2); font-size: .93rem; }
.related { padding: 70px 0 10px; margin-top: 70px; border-top: 1px solid var(--line); }
.related h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 26px; }

html[data-theme="dark"] .post-card:hover { box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .7); }
html[data-theme="dark"] .post-card__img img, html[data-theme="dark"] .article-figure img { filter: brightness(.9); }

@media (max-width: 1100px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .post-grid { grid-template-columns: 1fr; gap: 18px; padding-bottom: 56px; }
  .post-card { border-radius: 22px; }
  .post-card__body { padding: 22px 20px; }
  .post-card h3 { font-size: 1.15rem; }
  .blog-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 22px; scrollbar-width: none; }
  .blog-filters::-webkit-scrollbar { display: none; }
  .blog-filters button { flex: none; }
  .blog-cta__card, .article-cta { padding: 24px 20px; }
  .article-figure img { border-radius: 18px; aspect-ratio: 16 / 10; }
  .article-body p, .article-body li { font-size: 1rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services__layout { grid-template-columns: 260px 1fr; gap: 36px; }
}
.nav__links a { white-space: nowrap; }
/* small tablets: the bigger brand + full menu no longer fit on one row, so the menu moves to a second row (like phones) */
@media (min-width: 601px) and (max-width: 820px) {
  :root { --nav-h: 108px; }
  .nav__inner { flex-wrap: wrap; height: auto; padding: 10px var(--gutter) 6px; row-gap: 4px; }
  .nav__inner .theme-toggle { margin-left: auto; }
  .nav__links { order: 3; width: 100%; margin-left: 0; justify-content: space-between; border-top: 1px solid var(--line-2); padding-top: 4px; }
}
@media (max-width: 960px) {
  .nav__inner { gap: 12px; }
  .nav__links { gap: 0; }
  .nav__links a { padding: 8px 10px; }
  .nav .brand { --logo: 40px; gap: 9px; }
  .nav .brand__name { font-size: 1.75rem; }
  .nav__links a::after { left: 10px; right: 10px; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .hero { padding-top: calc(var(--nav-h) + 36px); }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .hero__copy { text-align: center; }
  .hero__copy .lead { margin: 0 auto; }
  .hero__actions, .hero__facts { justify-content: center; }
  .hero__visual { max-width: 460px; }
  .wg-key { font-size: .8rem; }
  .word-globe__legend { gap: 10px; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: 1fr; gap: 36px; }
  .why__copy { position: static; }
  .contact__card { grid-template-columns: 1fr; padding: 32px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .legal-toc { position: static; }
  .legal-toc nav { grid-template-columns: 1fr 1fr; border-left: 0; gap: 0 12px; }
  .legal-toc a { margin-left: 0; padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  :root { --nav-h: 104px; }
  .nav { padding: 0; }
  /* menu drops to its own row under the logo on phones */
  .nav__inner { flex-wrap: wrap; height: auto; padding: 10px var(--gutter) 6px; row-gap: 4px; }
  .nav__toggle { margin-left: auto; width: 38px; height: 38px; }
  .nav__toggle span:first-child { top: 14px; }
  .nav__toggle span:last-child { top: 22px; }
  .nav__links { order: 3; width: 100%; margin-left: 0; justify-content: space-between; border-top: 1px solid var(--line-2); padding-top: 4px; }
  .nav__links a { padding: 7px 3px; font-size: min(.86rem, 3.6vw); white-space: nowrap; }
  .nav__links a::after { left: 8px; right: 8px; bottom: 2px; }
  .lead { font-size: 1rem; }
  .hero__facts { gap: 18px; flex-wrap: nowrap; }
  .hero__facts strong { font-size: 2.1rem; }
  .step__num { font-size: 3.2rem; }
  .hero__facts span { font-size: .86rem; line-height: 1.3; white-space: normal; }
  .client-cell { height: 112px; }
  .word-globe__word { font-size: 6.5px; }
  .wg-key { font-size: .7rem; gap: 5px; padding: 2px; }
  .word-globe__legend { gap: 8px; }
  .wg-key i { width: 8px; height: 8px; }
  .wg-full { display: none; } .wg-short { display: inline; }
  .wordmark { height: 16px; }
  .brand { --logo: 38px; gap: 10px; }
  .brand__name { font-size: 1.7rem; }
  .client__ico { width: 40px; height: 40px; border-radius: 12px; }
  .client__ico svg { width: 24px; height: 24px; }
  .client { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 9px; padding: 14px 12px 0; }
  .client__text { gap: 5px; }
  .client__name { font-size: .78rem; letter-spacing: -.02em; }
  .client__text { width: 100%; }
  .client__name, .client__tag { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .client__tag { letter-spacing: .08em; }
  .services.stacked .svc__items { grid-template-columns: 1fr; }
  .services.stacked .svc__title { font-size: 1.05rem; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step { padding: 26px 22px 24px; border-radius: 20px; }
  .step h3 { font-size: 1.25rem; }
  /* single column: each card rises and expands from the centre */
  .process .steps .step:nth-child(n) { transform: translateY(50px) scale(.82); }
  .process .steps.open .step:nth-child(n) { transform: none; }
  .process .steps.open .step:nth-child(n):hover { transform: translateY(-4px); }
  .why__cards { grid-template-columns: 1fr; }
  .feature:nth-child(even), .feature.reveal.in:nth-child(even) { transform: none; }
  .why__cards .feature.reveal:nth-child(odd) { transform: translateX(-110px) rotate(-3deg); }
  .why__cards .feature.reveal:nth-child(even) { transform: translateX(110px) rotate(3deg); }
  .why__cards .feature.reveal.in:nth-child(odd), .why__cards .feature.reveal.in:nth-child(even) { transform: none; }
  .why__cards .feature.reveal.in:nth-child(odd):hover, .why__cards .feature.reveal.in:nth-child(even):hover { transform: translateY(-4px); }
  .contact__card { padding: 24px 18px; border-radius: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .form button { justify-self: stretch; justify-content: center; }
  .footer { padding-top: 52px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__cols > div:first-child { grid-column: 1 / -1; }
  .footer__bottom { grid-template-columns: 1fr; row-gap: 4px; }
  .footer__bottom > .footer__social, .footer__bottom > .btn { grid-column: 1; grid-row: 4; justify-self: start; margin-top: 16px; }
  .footer__news { padding: 18px; }
  .footer__news .btn { padding: .75em 1em; }
}

/* ---------- Hover glow: spotlight + lit border that follow the pointer ---------- */
@property --glow { syntax: "<number>"; inherits: false; initial-value: 0; }
.glow {
  --mx: 50%; --my: 50%;
  background-image: radial-gradient(260px circle at var(--mx) var(--my), rgba(139, 124, 246, calc(.13 * var(--glow))), rgba(20, 184, 166, calc(.05 * var(--glow))) 45%, transparent 70%);
}
.glow::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 1;
  background: radial-gradient(180px circle at var(--mx) var(--my), rgba(108, 92, 231, .95), rgba(20, 184, 166, .6) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s var(--ease);
}
.glow:hover { --glow: 1; }
.glow:hover::before { opacity: 1; }
.step.glow, .feature.glow { transition: opacity .8s var(--ease), filter .8s var(--ease), transform .5s var(--ease), box-shadow .4s var(--ease), --glow .4s; }
.feature { position: relative; }
.client-cell.glow { transition: --glow .4s, border-color .3s; }
.client-cell.glow:hover { border-color: transparent; }

/* ---------- Theme toggle (sun / moon) ---------- */
.theme-toggle {
  position: relative; flex: none; width: 40px; height: 40px; border-radius: 12px; cursor: pointer;
  display: grid; place-items: center; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: color .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent-2); box-shadow: 0 0 0 4px var(--accent-soft); transform: translateY(-1px); }
.theme-toggle svg { position: absolute; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease), opacity .35s; }
.theme-toggle .i-sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
html[data-theme="dark"] .theme-toggle .i-moon { opacity: 0; transform: rotate(90deg) scale(.5); }
html[data-theme="dark"] .theme-toggle .i-sun { opacity: 1; transform: none; }
@media (max-width: 960px) { .theme-toggle { margin-left: 4px; } }
@media (max-width: 600px) { .theme-toggle { margin-left: auto; width: 38px; height: 38px; } .nav__toggle { margin-left: 4px; } }

/* brief colour cross-fade while switching themes */
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .4s ease, border-color .4s ease, color .4s ease, box-shadow .4s ease !important;
}

/* ---------- Dark theme ---------- */
html[data-theme="dark"] {
  --bg: #0d0c1d; --bg-2: #15132b; --surface: #15132b;
  --ink: #eceafa; --ink-2: #b4b1d0; --ink-3: #8682a8;
  --line: #2a2748; --line-2: #1f1c39;
  --accent: #9d8fff; --accent-2: #b3a8ff; --accent-soft: rgba(139, 124, 246, .16); --teal: #2dd4bf;
  --client-ink: #d8d5f0;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .25);
  --shadow: 0 14px 34px -14px rgba(0, 0, 0, .65), 0 2px 6px rgba(0, 0, 0, .3);
  color-scheme: dark;
}
html[data-theme="dark"] .nav__inner { background: rgba(28, 26, 56, .86); } /* a shade lighter than the #0d0c1d page */
html[data-theme="dark"] .nav__mobile { background: rgba(21, 19, 43, .96); }
html[data-theme="dark"] .btn--soft { border-color: rgba(157, 143, 255, .3); }
html[data-theme="dark"] .hero__bg {
  background:
    radial-gradient(60% 50% at 78% 38%, rgba(139, 124, 246, .22), transparent 70%),
    radial-gradient(40% 40% at 10% 10%, rgba(20, 184, 166, .10), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .06) 1px, transparent 0) 0 0 / 28px 28px;
}
html[data-theme="dark"] .clients { background: rgba(21, 19, 43, .6); }
html[data-theme="dark"] .svc__items li:hover { border-color: rgba(157, 143, 255, .4); }
html[data-theme="dark"] .contact__card { background-image: radial-gradient(50% 60% at 0% 0%, rgba(139, 124, 246, .16), transparent 70%); }
html[data-theme="dark"] .form__note, html[data-theme="dark"] .footer__news-note { color: #5eead4; }
html[data-theme="dark"] .legal-switch a[aria-current="page"] { background: var(--accent); color: #fff; }
html[data-theme="dark"] .legal-hero { background: radial-gradient(50% 80% at 85% 0%, rgba(139, 124, 246, .2), transparent 70%), radial-gradient(35% 60% at 5% 20%, rgba(20, 184, 166, .1), transparent 70%); }
/* footer: deep indigo-to-teal instead of lavender */
html[data-theme="dark"] .footer {
  --f-ink: #eceafa; --f-ink-2: #bdb9de; --f-ink-3: #8f8bb5; --f-line: rgba(157, 143, 255, .18);
  background:
    radial-gradient(55% 70% at 100% 0%, rgba(45, 212, 191, .14), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(244, 114, 182, .10), transparent 70%),
    linear-gradient(160deg, #1d1942 0%, #181433 50%, #10282b 100%);
  border-top-color: rgba(157, 143, 255, .2);
}
html[data-theme="dark"] .footer::before { background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .06) 1px, transparent 0) 0 0 / 26px 26px; }
html[data-theme="dark"] .footer__chips li,
html[data-theme="dark"] .footer__social a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .footer__news { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .6); }
html[data-theme="dark"] .footer__social a:hover { background: var(--accent); color: #fff; }
html[data-theme="dark"] .footer__legal-links a { text-decoration-color: rgba(189, 185, 222, .35); }
html[data-theme="dark"] .footer__mark { color: rgba(147, 197, 253, .4); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .marquee { overflow-x: auto; }
}

/* Terms of Service / Privacy Policy links in blue (footer bottom row, contact consent, newsletter note; not the Company column) */
html :is(.footer__legal-links, .footer__news, .consent) a:is([href$="terms.html"], [href$="privacy.html"]) { color: #2563eb; text-decoration-color: rgba(37, 99, 235, .35); }
html :is(.footer__legal-links, .footer__news, .consent) a:is([href$="terms.html"], [href$="privacy.html"]):hover { color: #1d4ed8; text-decoration-color: currentColor; }
html[data-theme="dark"] :is(.footer__legal-links, .footer__news, .consent) a:is([href$="terms.html"], [href$="privacy.html"]) { color: #93c5fd; text-decoration-color: rgba(147, 197, 253, .4); }
html[data-theme="dark"] :is(.footer__legal-links, .footer__news, .consent) a:is([href$="terms.html"], [href$="privacy.html"]):hover { color: #bfdbfe; text-decoration-color: currentColor; }
/* body text across Services, How we work, Why us and Blog matches the hero intro (1.1rem; 1rem on phones) */
.services__intro, .svc__desc, .svc__items p, .section-head__lead,
.step > p, .step__list li, .step > p.step__out,
.why__copy p, .why__promises li, .feature p, .feature__list li,
.blog-hero__lead, .post-card p, .article-body p, .article-body li { font-size: 1.1rem; }
.svc__items h4 { font-size: 1.15rem; }
@media (max-width: 600px) {
  .services__intro, .svc__desc, .svc__items p, .section-head__lead,
  .step > p, .step__list li, .step > p.step__out,
  .why__copy p, .why__promises li, .feature p, .feature__list li,
  .blog-hero__lead, .post-card p, .article-body p, .article-body li { font-size: 1rem; }
  .svc__items h4 { font-size: 1.05rem; }
}