/* =================================================================
   WTSS — Production Verification & Monitoring
   Design system & global styles
   Brand palette sampled from wtss.eu (deep petrol-navy + bright blue)
   Neuro-design notes inline: trust(blue) · hierarchy · isolation(CTA)
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand blues — color psychology: blue = trust, security, competence
     (ideal for fintech). Sampled: #004972, #2EA3F2, #4FC1E9 */
  --navy-950: #021b2a;
  --navy-900: #02283c;
  --navy-800: #00374f;
  --navy: #004972;          /* primary brand */
  --navy-600: #0a6196;
  --blue-700: #1583cf;
  --blue: #2ea3f2;          /* bright brand accent / primary action */
  --blue-400: #5cb8f6;
  --cyan: #4fc1e9;
  --cyan-200: #bfe7f6;

  /* Warm accents — used sparingly for the Von Restorff (isolation) effect */
  --coral: #ff5062;
  --amber: #f7a919;
  --green: #00d084;

  /* Ink & neutrals — slightly blue-shifted grays for cohesion */
  --ink: #082638;           /* headings */
  --text: #4a5e74;          /* body copy */
  --muted: #7a8ca1;         /* secondary copy */
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f3f8fc;       /* faint blue surface */
  --bg-mist: #e9f3fb;
  --border: #e3edf4;
  --border-strong: #cedde9;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #004972 0%, #0a6196 45%, #2ea3f2 100%);
  --grad-accent: linear-gradient(135deg, #2ea3f2 0%, #4fc1e9 100%);
  --grad-ink: linear-gradient(160deg, #02283c 0%, #00374f 55%, #004972 100%);
  --grad-text: linear-gradient(120deg, #004972 0%, #2ea3f2 60%, #4fc1e9 100%);

  /* Elevation — layered soft shadows read as physical depth = importance */
  --sh-xs: 0 1px 2px rgba(8, 38, 56, 0.06);
  --sh-sm: 0 2px 6px rgba(8, 38, 56, 0.06), 0 1px 2px rgba(8, 38, 56, 0.05);
  --sh-md: 0 10px 28px -10px rgba(8, 38, 56, 0.16), 0 3px 8px -4px rgba(8, 38, 56, 0.08);
  --sh-lg: 0 28px 60px -22px rgba(0, 73, 114, 0.32), 0 10px 24px -16px rgba(8, 38, 56, 0.14);
  --sh-blue: 0 18px 40px -14px rgba(46, 163, 242, 0.55);
  --sh-ring: 0 0 0 1px rgba(8, 38, 56, 0.05);

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);

  /* Type (fallbacks below are metric-adjusted to minimise swap CLS) */
  --font-display: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Inter Fallback', 'Segoe UI', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Dark-surface set — cinematic hero + dark bands */
  --dark-bg: #020e18;
  --dark-bg-2: #041c2c;
  --dark-panel: rgba(255, 255, 255, 0.05);
  --dark-panel-strong: rgba(255, 255, 255, 0.09);
  --dark-border: rgba(255, 255, 255, 0.1);
  --dark-border-strong: rgba(255, 255, 255, 0.2);
  --dark-text: #dcedf9;
  --dark-muted: #8fb0c9;

  /* Reserved height for an optional top banner above the navbar (0 = none).
     The fixed navbar, mobile sheet, hero and anchor offsets all read it, so
     a future announcement bar only needs to set this var. */
  --annbar-h: 0px;

  color-scheme: light;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Metric-compatible local fallbacks — the async webfonts swap in without
   shifting layout (keeps CLS low while fonts load non-blocking) */
@font-face {
  font-family: 'Plus Jakarta Sans Fallback';
  src: local('Arial');
  size-adjust: 105.06%;
  ascent-override: 97.8%;
  descent-override: 27.5%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107.4%;
  ascent-override: 90.2%;
  descent-override: 22.48%;
  line-gap-override: 0%;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(92px + var(--annbar-h, 0px));
  -webkit-text-size-adjust: 100%;
  /* Canvas behind the page: overscroll rubber-banding (iOS) shows this
     above the dark hero and below the dark footer — keep it dark, not white.
     NOTE: never set overflow-x here — a non-visible overflow on the root
     makes <html> the scroll container and breaks position:sticky and
     viewport-relative scrolling. Fix real overflow at its source instead. */
  background: var(--navy-950);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

main {
  /* Own stacking context: the dark sections draw their backdrops on
     z-index:-2 children, and with html painting the canvas (overscroll fix)
     body's white background would otherwise cover them. */
  isolation: isolate;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
  padding: 0;
}

::selection {
  background: rgba(46, 163, 242, 0.22);
  color: var(--navy-900);
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
}

p {
  text-wrap: pretty;
}

.display {
  font-size: clamp(2.4rem, 1.2rem + 4.4vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.9rem);
  letter-spacing: -0.025em;
}

.h3 {
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.45rem);
  font-weight: 700;
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.28rem);
  line-height: 1.6;
  color: var(--text);
}

.text-grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.section {
  padding-block: clamp(64px, 4vw + 48px, 116px);
  position: relative;
}

.section--tight {
  padding-block: clamp(48px, 3vw + 32px, 80px);
}

.section-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(40px, 4vw, 64px);
}

.section-head .lead {
  margin-top: 18px;
}

/* Eyebrow — small kicker that primes the reader (cognitive priming) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-600);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--bg-mist);
  border: 1px solid var(--border);
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.18);
}

.eyebrow--light {
  color: var(--cyan-200);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

/* ---------- Buttons (Fitts's law: generous targets; isolation on primary) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.btn--primary {
  background: var(--blue);
  color: var(--navy-950); /* dark-on-bright: AA contrast on the brand blue */
  box-shadow: var(--sh-blue);
}

.btn--primary:hover {
  background-color: var(--blue-400);
  /* cursor-tracking inner light (JS drives --mx/--my; centered fallback) */
  background-image: radial-gradient(
    110px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.35),
    transparent 70%
  );
  transform: translateY(-2px);
  box-shadow: 0 22px 46px -14px rgba(46, 163, 242, 0.6);
}

.btn--primary:hover svg {
  transform: translateX(3px);
}

.btn--ghost {
  background: #fff;
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--border-strong);
}

.btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--blue);
  color: var(--blue-700);
  transform: translateY(-2px);
}

.btn--light {
  background: #fff;
  color: var(--navy);
}

.btn--light:hover {
  background-image: radial-gradient(
    110px circle at var(--mx, 50%) var(--my, 50%),
    rgba(46, 163, 242, 0.22),
    transparent 70%
  );
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.5);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.32);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 17px 32px;
  font-size: 1.05rem;
}

/* text link with arrow */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue-700);
  font-size: 0.96rem;
}

.tlink svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.tlink:hover svg {
  transform: translateX(4px);
}

/* ---------- Scroll reveal utility (blur-to-focus — the brand motif) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease),
    filter 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* For content that arrives async (blog API): plays on insertion, no observer.
   Reuses the --reveal-delay stagger helper. */
@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pop-in {
  animation: pop-in 0.55s var(--ease) both;
  animation-delay: var(--reveal-delay, 0ms);
}

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

/* ---------- Lenis smooth scrolling (recommended base styles) ---------- */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* ---------- Film grain overlay (apply to a position:relative section) ---------- */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* ---------- Aurora drift (slow ambient motion for dark backdrops) ---------- */
@keyframes aurora-a {
  0%,
  100% {
    transform: translate3d(-3%, -2%, 0) scale(1);
  }
  50% {
    transform: translate3d(4%, 5%, 0) scale(1.1);
  }
}

@keyframes aurora-b {
  0%,
  100% {
    transform: translate3d(2%, 3%, 0) scale(1.06);
  }
  50% {
    transform: translate3d(-4%, -4%, 0) scale(0.96);
  }
}

/* =================================================================
   NAVBAR
   ================================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  top: var(--annbar-h, 0px);
  z-index: 100;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease), top 0.3s var(--ease);
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--border), var(--sh-sm);
}

/* Over the dark home hero the nav runs transparent with light links */
.nav--dark .nav__logo,
.nav--dark .nav__link,
.nav--dark .nav__phone {
  color: #fff;
}

.nav--dark .nav__logo small {
  color: var(--dark-muted);
}

.nav--dark .nav__logo img {
  filter: brightness(0) invert(1); /* white mark on the dark backdrop */
}

.nav--dark .nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.nav--dark .nav__phone svg {
  color: var(--cyan);
}

.nav--dark .nav__toggle {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav__logo img {
  height: 38px;
  width: 38px;
}

.nav__logo small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__link {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-900);
  padding: 9px 14px;
  border-radius: var(--r-xs);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

/* With the Blog link the full set + phone no longer fits mid-desktop */
@media (max-width: 1280px) {
  .nav__actions .nav__phone {
    display: none;
  }
}

.nav__link:hover {
  color: var(--blue-700);
  background: var(--bg-mist);
}

/* sliding active-route indicator (Motion layoutId animates it between links) */
.nav__active-pill {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-accent);
  pointer-events: none;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-900);
  white-space: nowrap;
}

.nav__phone svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

.nav .btn {
  padding: 11px 20px;
  font-size: 0.94rem;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-xs);
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--bg-mist);
}

.nav__toggle svg {
  width: 24px;
  height: 24px;
}

/* mobile sheet */
.nav__mobile {
  display: none;
}

@media (max-width: 940px) {
  .nav__links,
  .nav__actions .nav__phone,
  .nav__actions .btn {
    display: none;
  }
  .nav__toggle {
    display: inline-flex;
  }
  .nav__mobile {
    display: block;
    position: fixed;
    inset: calc(72px + var(--annbar-h, 0px)) 0 auto 0;
    /* Never taller than the viewport — long tabs (Solutions) scroll inside
       the sheet instead of pushing links and the CTA out of reach. */
    max-height: calc(100vh - 72px - var(--annbar-h, 0px));
    max-height: calc(100svh - 72px - var(--annbar-h, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-lg);
    padding: 18px var(--gutter) 26px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav__mobile.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav__mobile a.nav__link {
    display: block;
    font-size: 1.08rem;
    padding: 14px 12px;
    border-radius: var(--r-sm);
  }
  .nav__mobile .btn {
    width: 100%;
    margin-top: 14px;
  }
}

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  /* Tight enough that headline → CTAs → trust line fit above the fold on a
     laptop-height viewport (the old 168px cap dated from the banner era). */
  padding-top: calc(clamp(88px, 8.5vw, 120px) + var(--annbar-h, 0px));
  padding-bottom: clamp(64px, 6vw, 104px);
  overflow: clip;
  color: var(--dark-text);
}

/* cinematic dark backdrop — spotlight + aurora glows + brand navy depth */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(58% 42% at 50% -8%, rgba(220, 237, 249, 0.1), transparent 62%),
    radial-gradient(52% 58% at 82% 10%, rgba(46, 163, 242, 0.17), transparent 62%),
    radial-gradient(46% 54% at 10% 6%, rgba(0, 73, 114, 0.55), transparent 60%),
    radial-gradient(64% 52% at 50% 112%, rgba(79, 193, 233, 0.12), transparent 58%),
    linear-gradient(180deg, #031723 0%, var(--dark-bg-2) 48%, var(--dark-bg) 100%);
}

.hero__bg::before {
  /* slow-drifting aurora layer */
  content: '';
  position: absolute;
  inset: -22%;
  background:
    radial-gradient(34% 30% at 70% 32%, rgba(46, 163, 242, 0.16), transparent 60%),
    radial-gradient(28% 30% at 26% 64%, rgba(79, 193, 233, 0.11), transparent 60%);
  animation: aurora-a 26s ease-in-out infinite;
  will-change: transform;
}

.hero__bg::after {
  /* faint grid — signals "monitoring / precision" without noise */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(220, 237, 249, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 237, 249, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(72% 62% at 50% 30%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(72% 62% at 50% 30%, #000 0%, transparent 80%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.hero__title {
  font-size: clamp(2.5rem, 1rem + 5vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin-top: 18px;
  color: #fff;
}

/* word-by-word blur-to-focus entrance (driven by Motion) */
.hero__word {
  display: inline-block;
  margin-right: 0.26em;
  will-change: transform, filter;
}

/* Laptop folds: when the viewport is short, compact the hero so the whole
   story — headline to trust line — lands above the fold. */
@media (min-width: 941px) and (max-height: 840px) {
  .hero {
    padding-top: calc(74px + var(--annbar-h, 0px));
    padding-bottom: 48px;
  }
  .hero__title {
    font-size: clamp(2.4rem, 1rem + 4.4vw, 3.5rem);
    margin-top: 14px;
  }
  .hero__sub {
    max-width: 560px;
  }
  .hero__actions {
    margin-top: 20px;
  }
}

.hero__word:last-child {
  margin-right: 0;
}

/* headline gradient tuned for dark backdrops */
.text-grad--light {
  background: linear-gradient(120deg, #5cb8f6 0%, #4fc1e9 55%, #bfe7f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  margin-top: 16px;
  max-width: 540px;
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.24rem);
  color: var(--dark-muted);
}

.hero__sub strong {
  color: var(--cyan-200);
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero__badge {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-200);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.hero__trust-text {
  font-size: 0.9rem;
  color: var(--dark-muted);
  max-width: 270px;
  line-height: 1.45;
}

.hero__trust-text b {
  color: #fff;
  font-weight: 700;
}

.hero__avatars {
  display: flex;
}

.hero__avatars span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
  border: 2.5px solid var(--dark-bg-2);
  margin-left: -10px;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.5);
}

.hero__avatars span:first-child {
  margin-left: 0;
}

/* ---- Hero visual: focus dashboard ---- */
.hero__visual {
  position: relative;
}

.hero__panel {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border: 1px solid var(--dark-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 20px;
  overflow: hidden;
}

.hero__panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 16px;
}

.hero__panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
}

.hero__panel-title i {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: #fff;
}

.hero__panel-title i svg {
  width: 17px;
  height: 17px;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green);
  text-transform: uppercase;
  font-family: var(--font-display);
}

.live-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(0, 208, 132, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 208, 132, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(0, 208, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 208, 132, 0); }
}

/* incident state for the demo loop */
.live-dot--bad {
  color: var(--coral);
}

.live-dot--bad::before {
  background: var(--coral);
  animation-name: pulse-bad;
}

@keyframes pulse-bad {
  0% { box-shadow: 0 0 0 0 rgba(255, 80, 98, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(255, 80, 98, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 80, 98, 0); }
}

/* transaction chain inside panel */
.chain {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.chain__row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease), opacity 0.45s var(--ease), filter 0.45s var(--ease);
}

.chain__row--focus {
  border-color: rgba(46, 163, 242, 0.5);
  box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.14);
}

.chain__row--warn {
  border-color: rgba(247, 169, 25, 0.45);
  background: rgba(247, 169, 25, 0.07);
  box-shadow: 0 0 0 3px rgba(247, 169, 25, 0.12);
}

.chain__row--incident {
  border-color: rgba(255, 80, 98, 0.55);
  background: rgba(255, 80, 98, 0.09);
  box-shadow: 0 0 0 3px rgba(255, 80, 98, 0.15);
}

.chain__row--blur {
  opacity: 0.5;
  filter: blur(1.2px);
}

.chain__ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.chain__ic svg {
  width: 17px;
  height: 17px;
}

.chain__ic--ok { background: rgba(0, 208, 132, 0.14); color: var(--green); }
.chain__ic--blue { background: rgba(46, 163, 242, 0.16); color: var(--blue-400); }
.chain__ic--warn { background: rgba(247, 169, 25, 0.16); color: var(--amber); }
.chain__ic--bad { background: rgba(255, 80, 98, 0.16); color: var(--coral); }

.chain__body { flex: 1; min-width: 0; }

.chain__body b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.chain__body span {
  font-size: 0.78rem;
  color: var(--dark-muted);
}

.chain__ms {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  transition: color 0.45s var(--ease);
}

.chain__ms--ok { color: var(--green); }
.chain__ms--warn { color: var(--amber); }
.chain__ms--bad { color: var(--coral); }

/* ---- alert toast (slides in over the panel during the demo loop) ---- */
.panel-toast {
  position: absolute;
  top: 58px;
  right: 14px;
  z-index: 5;
  width: min(292px, 88%);
  padding: 12px 14px 13px;
  border-radius: var(--r-sm);
  background: rgba(3, 16, 26, 0.94);
  border: 1px solid var(--dark-border-strong);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.panel-toast__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-toast__head b {
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-toast__head time {
  font-size: 0.68rem;
  color: var(--dark-muted);
  font-variant-numeric: tabular-nums;
}

.panel-toast__ic {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.panel-toast__ic svg {
  width: 13px;
  height: 13px;
}

.panel-toast__ic--bad { background: rgba(255, 80, 98, 0.16); color: var(--coral); }
.panel-toast__ic--ok { background: rgba(0, 208, 132, 0.14); color: var(--green); }

/* the "correct vs incorrect situation" bar — the thing clients praise */
.panel-toast__bar {
  display: flex;
  gap: 3px;
  height: 6px;
  margin-top: 11px;
}

.panel-toast__bar span {
  border-radius: 4px;
}

.panel-toast__bar-ok {
  flex: 1;
  background: var(--green);
  box-shadow: 0 0 10px rgba(0, 208, 132, 0.45);
}

.panel-toast__bar-bad {
  width: 14%;
  background: var(--coral);
  box-shadow: 0 0 10px rgba(255, 80, 98, 0.5);
}

.panel-toast__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 9px;
  font-size: 0.72rem;
  color: var(--dark-muted);
}

.panel-toast__meta b {
  font-weight: 700;
}

.panel-toast__meta .is-ok { color: var(--green); }
.panel-toast__meta .is-bad { color: var(--coral); }

.panel-toast__esc {
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  padding: 2px 8px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(247, 169, 25, 0.4);
  background: rgba(247, 169, 25, 0.12);
}

/* floating chips around panel — positioning lives on .floatwrap so the
   Motion entrance (on the wrapper) and the CSS float loop (on the card)
   never fight over the same transform */
.floatwrap {
  position: absolute;
  z-index: 3;
}

.floatwrap--tl {
  top: -8%;
  left: -5%;
}

.floatwrap--br {
  bottom: 6%;
  right: -6%;
}

.floatwrap--tl .floatcard {
  animation-delay: -2s;
}

.floatcard {
  background: #fff;
  border-radius: var(--r);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
}

.floatcard svg { width: 20px; height: 20px; }

.floatcard b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.1;
}

.floatcard span {
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 500;
}

.floatcard__ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.floatcard__ic--green { background: rgba(0, 208, 132, 0.12); color: var(--green); }
.floatcard__ic--blue { background: rgba(46, 163, 242, 0.12); color: var(--blue-700); }

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

@media (max-width: 940px) {
  .floatwrap--tl { top: -3%; left: 2%; }
  .floatwrap--br { bottom: 4%; right: 2%; }
}

/* On small screens the chips collide with the panel + alert toast — the
   living monitor panel carries the story on its own there. */
@media (max-width: 700px) {
  .floatwrap {
    display: none;
  }
}

/* =================================================================
   LOGOS / COVERAGE MARQUEE
   ================================================================= */
.coverage {
  border-block: 1px solid var(--border);
  background: var(--bg-soft);
  padding-block: 26px;
  overflow: hidden;
}

.coverage__label {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 14px;
  padding-right: 14px;
  flex-shrink: 0;
  animation: scroll-x 32s linear infinite;
}

.coverage:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes scroll-x {
  to { transform: translateX(-100%); }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-900);
  padding: 11px 18px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
}

.pill svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
}

/* =================================================================
   CHAIN TOUR — pinned scroll-driven journey walkthrough
   (position:sticky stage inside a tall region; never blocks scrolling)
   ================================================================= */
.chaintour {
  position: relative;
  color: var(--dark-text);
  /* On mobile the sticky stage goes position:static, so the absolutely
     positioned backdrop escapes it — clip at the section. (clip, not
     hidden: hidden would break position:sticky inside on desktop.) */
  overflow: clip;
}

.chaintour__tall {
  height: 380vh;
}

.chaintour__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  /* iOS Safari: small-viewport height keeps the stage clear of the
     collapsing browser chrome (the vh line above is the fallback) */
  height: 100svh;
  overflow: clip;
  display: flex;
  align-items: center;
  padding-top: calc(60px + var(--annbar-h, 0px));
}

.chaintour__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(44% 52% at 82% 16%, rgba(46, 163, 242, 0.14), transparent 60%),
    radial-gradient(38% 46% at 8% 78%, rgba(79, 193, 233, 0.1), transparent 60%),
    linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-bg-2) 55%, var(--dark-bg) 100%);
}

.chaintour__bg::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(30% 28% at 66% 40%, rgba(46, 163, 242, 0.12), transparent 60%),
    radial-gradient(26% 26% at 30% 60%, rgba(0, 73, 114, 0.4), transparent 60%);
  animation: aurora-b 30s ease-in-out infinite;
  will-change: transform;
}

.chaintour__head {
  text-align: center;
}

.chaintour__title {
  margin-top: 18px;
  color: #fff;
  max-width: 760px;
  margin-inline: auto;
}

.chaintour__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  margin-top: clamp(30px, 3.5vw, 52px);
}

/* left rail: step list + scroll progress */
.chaintour__steps {
  position: relative;
  padding-left: 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chaintour__rail {
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.chaintour__rail-fill {
  position: absolute;
  inset: 0;
  transform-origin: top;
  background: var(--grad-accent);
}

.chaintour__step {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--r);
  color: var(--dark-muted);
  transition: background 0.3s var(--ease);
}

.chaintour__step b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s var(--ease);
}

.chaintour__step-desc {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), opacity 0.45s var(--ease);
}

.chaintour__step.is-active {
  background: rgba(255, 255, 255, 0.05);
}

.chaintour__step.is-active b {
  color: #fff;
}

.chaintour__step.is-active .chaintour__step-desc {
  max-height: 140px;
  opacity: 1;
}

/* right stage: telemetry card */
.chaintour__stage {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tourcard {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--dark-border);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 26px;
  overflow: hidden;
}

.tourcard__num {
  position: absolute;
  top: -14px;
  right: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 8vw, 7.5rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.tourcard__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tourcard__ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: #fff;
  flex-shrink: 0;
}

.tourcard__ic svg {
  width: 22px;
  height: 22px;
}

.tourcard__head small {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-muted);
}

.tourcard__head b {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.tourcard__head .live-dot {
  margin-left: auto;
}

.tourcard__rows {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.tourcard__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.tourcard__row span {
  color: var(--dark-muted);
}

.tourcard__row b {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.tourcard__row b.is-ok {
  color: var(--green);
}

.tourcard__row b.is-blue {
  color: var(--blue-400);
}

.tourcard__foot {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--cyan-200);
}

.tourcard__foot svg {
  width: 17px;
  height: 17px;
  color: var(--green);
  flex-shrink: 0;
}

.chaintour__minirows {
  display: none;
}

/* mobile: no pinning — plain stacked cards with inline telemetry */
@media (max-width: 940px) {
  .chaintour__tall {
    height: auto;
  }
  .chaintour__sticky {
    position: static;
    height: auto;
    display: block;
    padding-block: clamp(64px, 9vw, 96px);
  }
  .chaintour__grid {
    grid-template-columns: 1fr;
  }
  .chaintour__stage,
  .chaintour__rail {
    display: none;
  }
  .chaintour__steps {
    padding-left: 0;
    gap: 14px;
  }
  .chaintour__step {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px;
  }
  .chaintour__step b {
    color: #fff;
  }
  .chaintour__step-desc {
    max-height: none;
    opacity: 1;
  }
  .chaintour__minirows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
  }
  .chaintour__minirow {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.84rem;
    padding: 9px 12px;
    border-radius: var(--r-xs);
    background: rgba(255, 255, 255, 0.04);
  }
  .chaintour__minirow span {
    color: var(--dark-muted);
  }
  .chaintour__minirow b {
    color: #fff;
    font-weight: 700;
  }
}

/* =================================================================
   INSIGHT  ("see what you cannot see")
   ================================================================= */
.insight__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.insight__lens {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-xl);
  background: var(--grad-ink);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.insight__lens::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 40% at 30% 25%, rgba(79, 193, 233, 0.4), transparent 60%),
    radial-gradient(50% 50% at 80% 80%, rgba(46, 163, 242, 0.32), transparent 60%);
}

.insight__rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.insight__rings span {
  position: absolute;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.insight__rings span:nth-child(1) { width: 92%; height: 92%; }
.insight__rings span:nth-child(2) { width: 68%; height: 68%; border-color: rgba(255,255,255,0.22); }
.insight__rings span:nth-child(3) { width: 44%; height: 44%; border-color: rgba(79,193,233,0.5); }

.insight__core {
  position: relative;
  width: 30%;
  height: 30%;
  border-radius: 50%;
  background: var(--grad-accent);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 0 60px rgba(79, 193, 233, 0.6);
}

.insight__core svg { width: 40%; height: 40%; }

.insight__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(79, 193, 233, 0.5), transparent);
  width: 40%;
  animation: scan 4s ease-in-out infinite;
}

@keyframes scan {
  0%, 100% { transform: translateX(-60%); opacity: 0; }
  50% { transform: translateX(260%); opacity: 1; }
}

.insight__list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.insight__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.insight__item i {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(0, 208, 132, 0.12);
  color: var(--green);
  display: grid;
  place-items: center;
}

.insight__item i svg { width: 16px; height: 16px; }

.insight__item b {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
}

/* =================================================================
   SERVICES (3 core)
   ================================================================= */
.services {
  background: var(--bg-soft);
}

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

.svc-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--sh-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
  overflow: hidden;
}

.svc-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}

.svc-card:hover::before {
  transform: scaleX(1);
}

.svc-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--sh-blue);
  margin-bottom: 22px;
}

.svc-card__icon svg { width: 27px; height: 27px; }

.svc-card h3 {
  margin-bottom: 10px;
}

.svc-card p {
  color: var(--text);
  font-size: 0.98rem;
  margin-bottom: 20px;
}

.svc-card .tlink {
  margin-top: auto;
}

/* =================================================================
   SOLUTIONS (verification domains grid)
   ================================================================= */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sol-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}

.sol-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
}

.sol-card__icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--bg-mist);
  color: var(--blue-700);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.sol-card:hover .sol-card__icon {
  background: var(--grad-brand);
  color: #fff;
}

.sol-card__icon svg { width: 24px; height: 24px; }

.sol-card h3 {
  font-size: 1.12rem;
}

.sol-card p {
  font-size: 0.93rem;
  color: var(--text);
}

.sol-card__tag {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 8th tile — gradient call-to-action */
.sol-card--cta {
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: var(--sh-blue);
}

.sol-card--cta h3 {
  color: #fff;
}

.sol-card--cta p {
  color: rgba(255, 255, 255, 0.85);
}

.sol-card--cta .sol-card__icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.sol-card--cta:hover .sol-card__icon {
  background: #fff;
  color: var(--blue-700);
}

.sol-card--cta .tlink {
  color: #fff;
  margin-top: auto;
}

/* =================================================================
   PROCESS  (how the pilot customer works)
   ================================================================= */
.process {
  background: var(--grad-ink);
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 45% at 85% 12%, rgba(79, 193, 233, 0.22), transparent 60%),
    radial-gradient(40% 40% at 10% 90%, rgba(46, 163, 242, 0.18), transparent 60%);
  pointer-events: none;
}

.process .section-head h2,
.process .h2 {
  color: #fff;
}

.process .section-head .lead {
  color: rgba(255, 255, 255, 0.72);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}

.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--grad-accent);
  color: #fff;
  margin-bottom: 18px;
  box-shadow: var(--sh-blue);
}

.step h3 {
  color: #fff;
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

.step__connector {
  position: absolute;
  top: 48px;
  right: -13px;
  width: 26px;
  color: rgba(255, 255, 255, 0.3);
  z-index: 2;
}

.step:last-child .step__connector { display: none; }

/* =================================================================
   TESTIMONIALS — real client voices, one at a time
   ================================================================= */
.testi__card {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
  border-radius: var(--r-xl);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
  padding: clamp(32px, 5vw, 54px) clamp(24px, 5vw, 64px) clamp(22px, 3vw, 34px);
  overflow: hidden;
}

.testi__mark {
  position: absolute;
  top: -34px;
  left: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11rem;
  line-height: 1;
  color: rgba(46, 163, 242, 0.12);
  pointer-events: none;
  user-select: none;
}

.testi__figure {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testi__figure blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 1rem + 1vw, 1.6rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.testi__figure figcaption {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testi__figure figcaption b {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
}

.testi__figure figcaption span {
  font-size: 0.84rem;
  color: var(--muted);
}

.testi__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.testi__dots {
  display: flex;
  gap: 8px;
}

.testi__dots button {
  width: 26px;
  height: 6px;
  padding: 0;
  border-radius: var(--r-pill);
  background: var(--border-strong);
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}

.testi__dots button.is-active {
  width: 42px;
  background: var(--blue);
}

.testi__arrows {
  display: flex;
  gap: 8px;
}

.testi__arrows button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--navy);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.testi__arrows button:hover {
  border-color: var(--blue);
  color: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}

.testi__arrows button svg {
  width: 17px;
  height: 17px;
}

.testi__arrows button:first-child svg {
  transform: rotate(180deg);
}

@media (max-width: 640px) {
  .testi__figure {
    min-height: 360px;
  }
  .testi__nav {
    flex-direction: column;
    align-items: center;
  }
}

/* =================================================================
   OUTCOMES  (stats / benefits)
   ================================================================= */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 1.6rem + 2vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__num sup {
  font-size: 0.5em;
  vertical-align: super;
}

.stat__label {
  margin-top: 10px;
  font-weight: 600;
  color: var(--navy-900);
  font-size: 0.98rem;
}

.stat__sub {
  margin-top: 3px;
  font-size: 0.84rem;
  color: var(--muted);
}

/* outcome directions */
.outcomes__results {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.result {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 24px 16px;
  border-radius: var(--r);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.result__arrow {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.result__arrow svg { width: 22px; height: 22px; }

.result--down .result__arrow { background: rgba(255, 80, 98, 0.12); color: var(--coral); }
.result--up .result__arrow { background: rgba(0, 208, 132, 0.12); color: var(--green); }

.result b {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
}

/* dark Mercury-style stats band on Home — .stat/.result stay light on About */
.outcomes {
  color: var(--dark-text);
  overflow: clip;
}

.outcomes__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(42% 50% at 85% 18%, rgba(46, 163, 242, 0.15), transparent 60%),
    radial-gradient(40% 46% at 10% 82%, rgba(79, 193, 233, 0.11), transparent 60%),
    linear-gradient(175deg, var(--dark-bg-2) 0%, var(--dark-bg) 70%);
}

.outcomes .h2 {
  color: #fff;
}

.outcomes .lead {
  color: var(--dark-muted);
}

.outcomes .stat {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--dark-border);
  box-shadow: none;
  padding: 40px 20px;
}

.outcomes .stat__num {
  font-size: clamp(3rem, 2rem + 3vw, 4.6rem);
  background: linear-gradient(120deg, #ffffff 8%, #5cb8f6 58%, #4fc1e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.outcomes .stat__label {
  color: #fff;
}

.outcomes .stat__sub {
  color: var(--dark-muted);
}

.outcomes .result {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--dark-border);
}

.outcomes .result b {
  color: #fff;
}

/* =================================================================
   CTA
   ================================================================= */
.cta__card {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--grad-brand);
  padding: clamp(40px, 5vw, 72px);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--sh-lg);
}

.cta__card::before {
  content: '';
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(50% 60% at 12% 10%, rgba(79, 193, 233, 0.4), transparent 55%),
    radial-gradient(45% 55% at 90% 95%, rgba(2, 27, 42, 0.45), transparent 60%);
  animation: aurora-b 26s ease-in-out infinite;
  will-change: transform;
}

.cta__card > * { position: relative; z-index: 1; }

.cta__card h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta__card p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta__meta {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.cta__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
}

.cta__meta svg { width: 17px; height: 17px; color: var(--cyan-200); }

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.62);
  padding-top: clamp(56px, 6vw, 84px);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 18px;
}

.footer__logo img {
  height: 36px;
  width: 36px;
  /* the mark is transparent orange — it reads on navy without the white tile
     the old stacked lockup needed to rescue its dark wordmark */
}

.footer__brand p {
  font-size: 0.95rem;
  max-width: 300px;
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.footer__social a:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
}

.footer__social svg { width: 19px; height: 19px; }

.footer__col .footer__h {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
}

.footer__col h4,
.footer__col .footer__h {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer__col ul { display: grid; gap: 11px; }

.footer__col a {
  font-size: 0.94rem;
  transition: color 0.2s;
}

.footer__col a:hover { color: var(--cyan); }

.footer__contact li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.94rem;
  margin-bottom: 14px;
  line-height: 1.5;
}

.footer__contact svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact a:hover { color: var(--cyan); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-block: 26px;
  font-size: 0.86rem;
}

.footer__legal {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer__legal a:hover { color: var(--cyan); }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; margin-inline: auto; }
  .insight__grid { grid-template-columns: 1fr; }
  .insight__lens { max-width: 380px; margin-inline: auto; order: -1; }
  .svc-grid { grid-template-columns: 1fr; }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step__connector { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .outcomes__results { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .sol-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .outcomes__results { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__actions .btn,
  .cta__actions .btn { width: 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* =================================================================
   MULTI-PAGE ADDITIONS — nav menus, page heroes, detail & info pages
   ================================================================= */

/* ---- Card links inherit type colour ---- */
.svc-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.svc-card p { flex: 1 0 auto; }
.sol-card { color: inherit; text-decoration: none; }
.sol-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sol-card:hover .sol-card__tag { color: var(--blue-700); }

/* ---- Nav: dropdown mega-menus ---- */
.nav__item { position: relative; display: flex; align-items: center; }

.nav__link--menu {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  color: var(--navy-900);
}

.nav__link--menu svg { transition: transform 0.25s var(--ease); color: var(--muted); }
.nav__item:hover .nav__link--menu svg { transform: rotate(180deg); }

.nav__mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.97);
  width: 360px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  /* visibility keeps the closed menu's links out of keyboard tab order;
     the delay lets the fade-out finish before it snaps hidden */
  visibility: hidden;
  transform-origin: top center;
  /* quick fade-out when closing; the springy pop lives on .is-open */
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease),
    visibility 0s linear 0.18s;
  z-index: 50;
}

.nav__mega::before {
  /* hover bridge so the menu doesn't close in the gap */
  content: '';
  position: absolute;
  inset: -12px 0 auto 0;
  height: 14px;
}

.nav__mega--wide { width: 620px; }

.nav__mega.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__mega-grid { display: grid; gap: 4px; }
.nav__mega-grid--2 { grid-template-columns: 1fr 1fr; gap: 4px; }

.nav__mega-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--r-sm);
  transition: background 0.18s var(--ease);
}

.nav__mega-item:hover { background: var(--bg-mist); }

.nav__mega-ic {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--bg-mist);
  color: var(--blue-700);
  transition: background 0.2s, color 0.2s;
}

.nav__mega-item:hover .nav__mega-ic { background: var(--grad-brand); color: #fff; }

.nav__mega-item b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.94rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
}

.nav__mega-item small { font-size: 0.78rem; color: var(--muted); line-height: 1.25; }

.nav__mega-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 8px;
  padding: 11px;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue-700);
  background: var(--bg-mist);
}

.nav__mega-foot:hover { background: rgba(46, 163, 242, 0.12); }

/* mobile nav additions */
.nav__mtabs { display: flex; gap: 8px; margin-bottom: 8px; }
.nav__mtabs button {
  flex: 1;
  padding: 10px;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-900);
  background: var(--bg-mist);
}
.nav__mtabs button.is-active { background: var(--grad-brand); color: #fff; }

.nav__mlist { display: grid; gap: 2px; margin-bottom: 8px; }
.nav__mitem {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border-radius: var(--r-sm);
  font-weight: 600;
  color: var(--navy-900);
}
.nav__mitem:hover { background: var(--bg-mist); }
.nav__mlinks { display: grid; gap: 2px; border-top: 1px solid var(--border); padding-top: 8px; }

/* ---- Breadcrumbs ---- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.crumbs__seg { display: inline-flex; align-items: center; gap: 4px; }
.crumbs a { color: var(--navy-600); font-weight: 600; }
.crumbs a:hover { color: var(--blue-700); }
/* the icon set only ships a down chevron; breadcrumbs need it pointing along
   the trail, so rotate rather than carry a second near-identical path */
.crumbs__sep { color: var(--border-strong); transform: rotate(-90deg); }

/* ---- Inner-page hero ---- */
.phero {
  position: relative;
  padding-top: clamp(116px, 13vw, 168px);
  padding-bottom: clamp(48px, 6vw, 84px);
  overflow: clip;
}
.phero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 60% at 90% 0%, rgba(79, 193, 233, 0.16), transparent 60%),
    radial-gradient(50% 55% at 6% 0%, rgba(46, 163, 242, 0.12), transparent 55%),
    linear-gradient(180deg, #f4f9fd 0%, #ffffff 70%);
}
.phero__inner { display: block; }
.phero--split .phero__inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}
.phero__title {
  font-size: clamp(2.2rem, 1.1rem + 4.2vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-top: 18px;
  max-width: 16ch;
}
.phero--split .phero__title { max-width: none; }
.phero__subtitle {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: var(--navy);
}
.phero .lead { margin-top: 14px; max-width: 56ch; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }

/* detail hero card */
.dhero {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, #ffffff, #eef6fc);
  border: 1px solid var(--border);
  box-shadow: var(--sh-lg);
  padding: 30px;
}
.dhero__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r);
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--sh-blue);
  margin-bottom: 18px;
}
.dhero__title { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--ink); }
.dhero__sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-top: 4px;
}
.dhero__list { margin-top: 20px; display: grid; gap: 11px; }
.dhero__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-900);
}
.dhero__list li svg {
  color: var(--green);
  background: rgba(0, 208, 132, 0.12);
  border-radius: 6px;
  padding: 3px;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ---- "Why" section ---- */
.why__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.why__head { position: sticky; top: 100px; }
.why__head .lead { margin-top: 16px; }
.why__points { display: grid; gap: 14px; }
.why__point {
  display: flex;
  gap: 15px;
  padding: 22px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.why__point:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.why__point-ic {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: #fff;
}
.why__point b { font-family: var(--font-display); color: var(--ink); font-size: 1.05rem; display: block; margin-bottom: 3px; }
.why__point p { font-size: 0.95rem; color: var(--text); }

/* ---- Feature grid ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 20px;
}
.feature-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--sh-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.feature-card__icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: var(--bg-mist);
  color: var(--blue-700);
  margin-bottom: 18px;
  transition: background 0.28s var(--ease), color 0.28s var(--ease);
}
.feature-card:hover .feature-card__icon { background: var(--grad-brand); color: #fff; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 0.95rem; color: var(--text); }

/* ---- Channels ---- */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.channel {
  padding: 26px 22px;
  border-radius: var(--r-lg);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.channel:hover { transform: translateY(-4px); box-shadow: var(--sh-md); background: #fff; }
.channel__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: #fff;
  margin-bottom: 16px;
  box-shadow: var(--sh-blue);
}
.channel b { font-family: var(--font-display); color: var(--ink); font-size: 1.05rem; display: block; margin-bottom: 6px; }
.channel p { font-size: 0.9rem; color: var(--text); }

/* ---- Chips ---- */
.chips { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; max-width: 880px; margin: 0 auto; }
.chip-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy-900);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}
.chip-tag:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); border-color: var(--blue); }
.chip-tag svg { color: var(--green); }

/* ---- Flow (light steps) ---- */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.flow__step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
}
.flow__num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad-accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: var(--sh-blue);
  margin-bottom: 16px;
}
.flow__step h3 { margin-bottom: 7px; }
.flow__step p { font-size: 0.94rem; color: var(--text); }
.flow__arrow {
  position: absolute;
  top: 44px;
  right: -15px;
  width: 26px;
  height: 26px;
  color: var(--border-strong);
  z-index: 1;
}
.flow__step:last-child .flow__arrow { display: none; }

/* ---- Mission / Vision ---- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card {
  padding: 38px 34px;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
}
.mv-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r);
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--sh-blue);
  margin-bottom: 20px;
}
.mv-card h2 { margin-bottom: 12px; }
.mv-card p { font-size: 1.02rem; color: var(--text); }

/* ---- Phone mockup ---- */
.phone {
  position: relative;
  width: min(300px, 78%);
  margin-inline: auto;
  aspect-ratio: 300 / 600;
  background: linear-gradient(160deg, #0a2f48, #021b2a);
  border-radius: 42px;
  padding: 14px;
  box-shadow: var(--sh-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}
.phone__notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: #021b2a;
  z-index: 2;
}
.phone__screen {
  height: 100%;
  border-radius: 30px;
  background: linear-gradient(180deg, #f3f9fd, #ffffff);
  padding: 30px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.phone__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  font-size: 1.02rem;
}
.phone__bar svg { color: var(--blue); }
.phone__balance {
  background: var(--grad-brand);
  border-radius: var(--r);
  padding: 16px;
  color: #fff;
  box-shadow: var(--sh-blue);
}
.phone__balance small { font-size: 0.72rem; opacity: 0.85; }
.phone__balance b { display: block; font-family: var(--font-display); font-size: 1.5rem; margin-top: 2px; }
.phone__rows { display: grid; gap: 9px; }
.phone__row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px;
  border-radius: var(--r-sm);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
}
.phone__ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.phone__ic--ok { background: rgba(0, 208, 132, 0.12); color: var(--green); }
.phone__ic--blue { background: rgba(46, 163, 242, 0.12); color: var(--blue-700); }
.phone__row b { display: block; font-family: var(--font-display); font-size: 0.86rem; color: var(--ink); }
.phone__row small { font-size: 0.74rem; color: var(--muted); }
.phone__btn {
  margin-top: auto;
  text-align: center;
  padding: 13px;
  border-radius: var(--r-sm);
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: var(--sh-blue);
}

/* ---- Contact ---- */
.contact { padding-top: clamp(120px, 13vw, 160px); position: relative; overflow: clip; }
.contact__head { max-width: 640px; margin-bottom: 44px; }
.contact__head .lead { margin-top: 16px; }
.contact__grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.contact__form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  padding: clamp(24px, 3vw, 36px);
}
.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; grid-column: 1 / -1; }
.field--half { grid-column: span 1; }
.field label { font-weight: 600; font-size: 0.88rem; color: var(--navy-900); margin-bottom: 7px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: #9fb0c0; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(46, 163, 242, 0.14);
}
.contact__form > .btn { grid-column: 1 / -1; justify-self: start; }
.contact__fineprint { grid-column: 1 / -1; font-size: 0.82rem; color: var(--muted); margin-top: -2px; }
.contact__success { text-align: center; padding: 22px 8px; }
.contact__success-ic {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  background: rgba(0, 208, 132, 0.12);
  color: var(--green);
}
.contact__success h2 { margin-bottom: 10px; }
.contact__success p { color: var(--text); max-width: 380px; margin: 0 auto 22px; }
.contact__success a { color: var(--blue-700); font-weight: 700; }

.contact__info { display: grid; gap: 14px; }
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
a.info-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.info-card__ic {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--sh-blue);
}
.info-card small { font-size: 0.78rem; color: var(--muted); display: block; }
.info-card b { font-family: var(--font-display); color: var(--ink); font-size: 1.05rem; display: block; margin-top: 2px; }
.info-card__addr { font-size: 0.9rem; color: var(--text); display: block; margin-top: 2px; }

/* ---- 404 ---- */
.notfound { padding-top: clamp(150px, 18vw, 220px); text-align: center; }
.notfound__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.notfound__code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 3rem + 8vw, 8rem);
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.notfound .lead { max-width: 460px; }
.notfound .phero__actions { justify-content: center; margin-top: 22px; }

/* ---- Responsive (multi-page) ---- */
@media (max-width: 940px) {
  .nav__mega { display: none; }
  .phero--split .phero__inner { grid-template-columns: 1fr; }
  .phero--split .phero__visual { order: -1; max-width: 420px; margin-inline: auto; }
  .why__grid { grid-template-columns: 1fr; }
  .why__head { position: static; }
  .mv-grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .flow__arrow { display: none; }
}

@media (max-width: 560px) {
  .nav__mega--wide { width: 100%; }
  .contact__form { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .dhero { padding: 24px; }
}

/* =================================================================
   TRUST COVERAGE BAND — real stats + payment rails/standards marquee
   (coverage/capability, not client logos)
   ================================================================= */
.coverage { padding-block: clamp(30px, 4vw, 44px); }

.coverage__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  margin-bottom: 26px;
}

.coverage__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #067a52; /* AA on the pale green chip (was --green) */
  padding: 7px 15px;
  border-radius: var(--r-pill);
  background: rgba(0, 208, 132, 0.1);
  border: 1px solid rgba(0, 208, 132, 0.25);
}

.coverage__lead {
  max-width: 640px;
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.18rem);
  color: var(--text);
  line-height: 1.5;
}
.coverage__lead b { color: var(--navy); font-weight: 700; }

/* grayscale "logo-wall" wordmark chips */
.scheme {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #5b7183; /* AA on white (grayscale wordmark look preserved) */
  padding: 11px 22px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.scheme:hover {
  color: var(--navy);
  border-color: var(--blue);
  transform: translateY(-2px);
}

/* second row: observability integrations (reverse direction) */
.coverage__sublabel {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin: 24px 0 16px;
}

.marquee__track--reverse {
  animation-direction: reverse;
}

.scheme--int {
  font-size: 0.95rem;
  color: #5b7183;
  background: var(--bg-soft);
}

/* =================================================================
   POINTER FLOURISHES — cursor-tracked card glow
   (pointer-flourishes.ts sets --mx/--my; springy menu pop below)
   ================================================================= */
.svc-card:hover,
.sol-card:not(.sol-card--cta):hover,
.feature-card:hover,
a.info-card:hover {
  background-image: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 50%),
    rgba(46, 163, 242, 0.09),
    transparent 70%
  );
}

/* =================================================================
   BLINDSPOT (Insight section: control-mechanism gaps + the reframe)
   ================================================================= */
.is-green {
  color: var(--green);
}

.is-red {
  color: var(--coral);
}

.blind__row {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.blind__row > b {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.blind__proves,
.blind__gap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.4;
}

.blind__proves {
  color: var(--text);
}

.blind__proves svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  flex-shrink: 0;
}

.blind__gap {
  color: #c22736; /* AA-contrast red on the soft background */
  font-weight: 600;
}

.blind__gap svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* inside-out vs outside-in */
.reframe {
  margin-top: clamp(44px, 5vw, 68px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
}

.reframe__col {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--sh-sm);
  padding: 24px 26px;
}

.reframe__col small {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.reframe__col b {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.reframe__col p {
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--text);
}

.reframe__vs {
  align-self: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.reframe__col--accent {
  border-color: rgba(46, 163, 242, 0.45);
  box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.1), var(--sh-md);
}

.reframe__col--accent small {
  color: var(--blue-700);
}

/* the central question */
.blind__question {
  margin-top: clamp(28px, 3vw, 40px);
  padding: clamp(26px, 3vw, 38px) clamp(24px, 4vw, 52px);
  border-radius: var(--r-lg);
  background: var(--grad-ink);
  color: var(--cyan-200);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1rem + 0.7vw, 1.4rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-align: center;
}

.blind__question em {
  font-style: normal;
  color: #fff;
}

.blind__question span {
  display: block;
  margin-top: 10px;
  font-size: 0.78em;
  color: var(--cyan);
}

@media (max-width: 720px) {
  .reframe {
    grid-template-columns: 1fr;
  }
  .reframe__vs {
    justify-self: center;
  }
}

/* =================================================================
   CAPABILITIES MATRIX (region-tabbed "what we verify")
   ================================================================= */
.caps {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.caps__tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.caps__tab {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: var(--r-pill);
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border-strong);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.caps__tab:hover {
  border-color: var(--blue);
  color: var(--blue-700);
  transform: translateY(-1px);
}

.caps__tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.caps__legend {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 26px;
  font-size: 0.85rem;
  color: var(--text);
}

.caps__legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.caps__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.caps__dot--live {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 208, 132, 0.18);
}

.caps__dot--dev {
  background: transparent;
  border: 2px solid var(--muted);
}

.caps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}

.caps__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  padding: 20px;
}

.caps__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
}

.caps__title i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--bg-mist);
  color: var(--blue-700);
  flex-shrink: 0;
}

.caps__title i svg {
  width: 18px;
  height: 18px;
}

.caps__list {
  margin-top: 14px;
  display: grid;
  gap: 7px;
}

.caps__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--navy-900);
  padding: 8px 11px;
  border-radius: var(--r-xs);
  background: var(--bg-soft);
}

.caps__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.caps__status--live {
  color: #067a52;
}

.caps__status--dev {
  color: var(--muted);
}

.caps__note {
  margin: 22px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

.caps__methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.caps__method {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--navy-900);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--border);
}

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

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

/* =================================================================
   TRIGGERS ("when banks turn to WTSS")
   ================================================================= */
.triggers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.trigger {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--sh-xs);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.trigger:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: rgba(46, 163, 242, 0.4);
}

.trigger i {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--bg-mist);
  color: var(--blue-700);
  flex-shrink: 0;
}

.trigger i svg {
  width: 19px;
  height: 19px;
}

.trigger b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--ink);
  line-height: 1.3;
}

/* =================================================================
   CASE STUDIES (dark "where we've done it before")
   ================================================================= */
.cases {
  position: relative;
  color: var(--dark-text);
  overflow: clip;
}

.cases__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(44% 52% at 14% 12%, rgba(46, 163, 242, 0.14), transparent 60%),
    radial-gradient(40% 48% at 88% 88%, rgba(79, 193, 233, 0.1), transparent 60%),
    linear-gradient(170deg, var(--dark-bg) 0%, var(--dark-bg-2) 55%, var(--dark-bg) 100%);
}

.cases__title {
  color: #fff;
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.case {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--dark-border);
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  padding: 26px 28px;
  overflow: hidden;
}

.case__num {
  position: absolute;
  top: -16px;
  right: 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.4rem, 6vw, 6rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.case small {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.case p {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--dark-text);
}

.case__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.case__chips span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.76rem;
  color: var(--cyan-200);
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

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

/* =================================================================
   BLOG (index cards + article typography)
   ================================================================= */
.blog__empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
}

.blog__empty code {
  font-size: 0.9em;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 6px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: rgba(46, 163, 242, 0.4);
}

.post-card__tag {
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-700);
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--bg-mist);
  border: 1px solid var(--border);
}

.post-card p {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text);
}

.post-card__meta {
  font-size: 0.82rem;
  color: var(--muted);
}

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

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

/* article page */
.article {
  position: relative;
  padding-top: clamp(110px, 11vw, 150px);
}

.article__wrap {
  max-width: 760px;
}

.article__wrap .post-card__tag {
  display: inline-flex;
  margin-bottom: 14px;
}

.article__title {
  font-size: clamp(2rem, 1.2rem + 2.8vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.article__meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.article__body {
  margin-top: clamp(28px, 3vw, 40px);
}

.article__body h2,
.article__body h3,
.article__body h4 {
  margin: 1.6em 0 0.5em;
}

.article__body h2 { font-size: 1.7rem; }
.article__body h3 { font-size: 1.35rem; }
.article__body h4 { font-size: 1.1rem; }

.article__body p {
  margin: 0.9em 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
}

.article__body ul,
.article__body ol {
  margin: 0.9em 0;
  padding-left: 1.4em;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
}

.article__body ul { list-style: disc; }
.article__body ol { list-style: decimal; }

.article__body li { margin: 0.35em 0; }

.article__body strong { color: var(--ink); }

.article__body a {
  color: var(--blue-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article__body blockquote {
  margin: 1.2em 0;
  padding: 14px 20px;
  border-left: 3px solid var(--blue);
  background: var(--bg-soft);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--navy-900);
  font-weight: 600;
}

.article__body code {
  font-size: 0.9em;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 6px;
}

.article__body pre {
  margin: 1.2em 0;
  padding: 16px 18px;
  background: var(--navy-950);
  color: var(--cyan-200);
  border-radius: var(--r-sm);
  overflow-x: auto;
}

.article__body pre code {
  background: none;
  border: none;
  padding: 0;
}

.article__body figure {
  margin: 1.8em 0;
}

.article__body figure img {
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
}

.article__body figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.article__back {
  display: inline-flex;
  margin-top: 40px;
}

.article__back svg {
  transform: rotate(180deg);
}

/* =================================================================
   ADMIN (demo CMS panel)
   ================================================================= */
.admin {
  padding-top: clamp(110px, 11vw, 150px);
  min-height: 70vh;
}

.admin__login {
  max-width: 420px;
  text-align: center;
}

.admin__login .h2 {
  margin-top: 14px;
}

.admin__login-form {
  margin-top: 24px;
  display: grid;
  gap: 14px;
  text-align: left;
}

.admin__hint {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.admin__notice {
  color: #c22736;
  font-weight: 600;
  font-size: 0.92rem;
}

.admin__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin__bar-actions {
  display: flex;
  gap: 10px;
}

.admin__list {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.admin__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--sh-xs);
  flex-wrap: wrap;
}

.admin__row-main {
  flex: 1;
  min-width: 220px;
}

.admin__row-main b {
  display: block;
  font-family: var(--font-display);
  color: var(--ink);
}

.admin__row-main span {
  font-size: 0.85rem;
  color: var(--muted);
}

.admin__status {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.admin__status--live {
  color: #067a52;
  background: rgba(0, 208, 132, 0.1);
  border-color: rgba(0, 208, 132, 0.3);
}

.admin__row-actions {
  display: flex;
  gap: 8px;
}

.admin__row .btn,
.admin__bar .btn {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.admin__danger {
  background: var(--coral);
  color: #fff;
}

.admin__editor {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.admin__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.admin__fields .field {
  grid-column: 1 / -1;
}

.admin__fields .field--half {
  grid-column: auto;
}

.admin__publish {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--navy-900);
  font-size: 0.95rem;
}

.admin__actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.admin__preview {
  position: sticky;
  top: 100px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-soft);
  padding: 22px 26px;
  max-height: 75vh;
  overflow-y: auto;
}

.admin__preview-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.admin__preview-title {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

@media (max-width: 940px) {
  .admin__editor {
    grid-template-columns: 1fr;
  }
  .admin__preview {
    position: static;
    max-height: none;
  }
}

/* =================================================================
   WHY WTSS (differentiators grid)
   ================================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

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

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

.nav__mega.is-open {
  transition: opacity 0.25s var(--ease),
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0s;
}
