/* ============================================================
   Winjit US - winjit.com/us prototype
   Design tokens measured on live winjit.com (see design-language.md)
   ============================================================ */

:root {
  /* Brand - measured from winjit.com :root */
  --primary: #034EA2;
  --primary-dark: #033D80;
  --secondary: #00ED87;
  --green-display: #50CE15;
  --black: #09090B;
  --grey-900: #18181B;
  --grey-800: #27272A;
  --grey-700: #3F3F46;
  --grey-600: #52525B;
  --grey-500: #71717A;
  --grey-400: #A1A1AA;
  --grey-300: #D4D4D8;
  --grey-200: #E4E4E7;
  --grey-100: #F4F4F5;
  --grey-50:  #FAFAFA;
  --strokes: #DBDCDE;
  --mint: #FAFFFD;
  --soft-blue: #ECF5FF;
  --card-border-green: #CEF0DA;
  --hover-card: #E0FFDB;
  --blue-100: #DBEAFE;
  --violet-100: #EDE9FE;
  --green-100: #D1FAE5;
  --rose-100: #FFE4E6;
  --yellow-100: #FEF9C3;
  --sky-50: #F0F9FF;
  --green-50: #F0FDF4;
  --violet-50: #F5F3FF;
  --dark-card: #1C1C1C;
  --dark-card-border: #5B5B5B;

  /* Supporting inks - readable accents on light ground (DESIGN.md: Forest Ink) */
  --forest-ink: #0B7A47;
  --rose-ink: #9F1239;
  --blue-wash-border: #CFE4FB;
  --blue-hover-border: #B9CFE9;

  /* Midnight vocabulary - navy and near-black proof surfaces (DESIGN.md: Tertiary) */
  --midnight-navy: #021E42;
  --harbor-navy: #03357A;
  --midnight-card: #161619;
  --midnight-card-border: #2E2E33;
  --midnight-inset: #0F0F12;
  --teal: #00A596;
  --live-green: #00BF78;
  --aurora-mint: #8CFFC9;
  --aurora-blue: #9AD0FF;

  /* Gradients. The *-stops tokens carry colour only, so each use keeps its own angle:
     linear-gradient(150deg, var(--grad-cta-stops)). One gradient per viewport; never animated. */
  --grad-brand: linear-gradient(90deg, var(--primary) 0%, #1577D6 35%, #00A8B5 68%, var(--live-green) 100%);
  --grad-light: linear-gradient(90deg, var(--aurora-blue) 0%, #6FE7E0 50%, var(--aurora-mint) 100%);
  --grad-cta-stops: var(--primary) 0%, #0A6FC4 55%, var(--teal) 100%;
  --grad-navy-stops: var(--midnight-navy) 0%, var(--harbor-navy) 55%, var(--primary) 100%;
  --grad-soft-stops: #E6F0FF, #DDFBEF;
  --grad-line: linear-gradient(90deg, var(--primary), var(--teal));
  --grad-midnight-band: linear-gradient(125deg, var(--midnight-navy) 0%, var(--harbor-navy) 28%, var(--primary) 55%, #0A6FB0 78%, #08786C 100%);
  --grad-midnight-black: linear-gradient(180deg, #0A0A0C 0%, #121215 60%, #0D0D10 100%);
  --grad-intro: linear-gradient(105deg, var(--mint) 0%, #DFF9EC 55%, #C6F2DC 100%);

  /* Type */
  --ff-base: "Hanken Grotesk", sans-serif;
  --ff-display: "Syne", sans-serif;

  /* Layout */
  --container: 1120px;
  --gutter: 20px;
  --section-pad: clamp(48px, 5.5vw, 72px);
  --radius-card: 24px;
  --radius-block: 32px;
  --radius-pill: 32px;
  --radius-tile: 16px;
  --radius-icon: 14px;
  --radius-control: 12px;
  --header-h: 83px;
  --header-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  --card-hover-shadow: 0 12px 32px rgba(9, 9, 11, 0.10);
  --shadow-menu: 0 20px 48px rgba(9, 9, 11, .12);
  --shadow-blue-lift: 0 18px 40px rgba(3, 40, 90, .10);
  --shadow-proof-glow: 0 0 0 1px rgba(0, 237, 135, .15), 0 18px 40px rgba(0, 237, 135, .08);
  --focus-halo: 0 0 0 3px rgba(3, 78, 162, .14);

  /* Keyboard focus. Dark surfaces switch the ring to aurora mint (see below). */
  --focus-ring: var(--primary);

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-base);
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; color: var(--grey-900); font-weight: 500; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

/* One focus ring for every interactive element. Zero specificity, so a
   component with its own focus treatment still wins. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus-ring); outline-offset: 2px;
}
:where(.bg-dark, .bg-deepblue, .dark-band, .metric-band, .outcome, .compare__col--b, .site-footer,
  .lp-gov, .lp-voice, .lp-close, .lp-cell--invert, .in-hero, .wd-hero, .ws-hero, .wr-hero, .ws-close,
  .ff-gates, .ap-lanes, .fv-close, .wr-close) {
  --focus-ring: var(--aurora-mint);
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-pad) 0; }
.section--flush { padding: 0; }

/* Type scale - measured 1440 values, clamped to 390 */
.display-1 { font-size: clamp(44px, 7vw, 92px); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
h1, .h1 { font-size: clamp(38px, 5.2vw, 68px); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h2, .h2 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 500; line-height: 1.18; }
h3, .h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; }
h4, .h4 { font-size: clamp(19px, 1.8vw, 23px); font-weight: 600; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--grey-600); }
.small { font-size: 14px; }
.eyebrow {
  display: block; font-size: 15px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 18px;
}
.text-center { text-align: center; }
.muted { color: var(--grey-600); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 30px; border-radius: var(--radius-pill);
  font-family: var(--ff-base); font-size: 16px; font-weight: 600; line-height: 1.3;
  cursor: pointer; border: 1px solid transparent;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); }
.btn--outline { background: transparent; color: var(--grey-900); border-color: var(--grey-900); }
.btn--outline:hover { background: var(--grey-900); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline-light:hover { background: #fff; color: var(--grey-900); }
.btn--ghost { background: transparent; color: var(--primary); padding: 13px 6px; font-weight: 700; }
.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary); font-weight: 700; font-size: 16px;
}
.textlink svg { width: 17px; height: 17px; transition: transform 200ms var(--ease-out); }
.textlink:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #fff; height: var(--header-h);
  box-shadow: var(--header-shadow);
}
.site-header__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  height: 100%; display: flex; align-items: center; gap: 28px;
}
.site-header__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-header__logo img { height: 36px; width: auto; }
.site-nav { display: flex; align-items: stretch; align-self: stretch; gap: 4px; margin: 0 auto; }
.site-nav > .nav-item { position: relative; display: flex; align-items: center; }
.site-nav a.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 13px; color: var(--grey-900); font-size: 16px; position: relative;
}
.site-nav a.nav-link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--primary); transform: scaleX(0); transform-origin: left;
  transition: transform 200ms var(--ease-out);
}
.site-nav a.nav-link:hover::after, .site-nav .nav-item.is-active a.nav-link::after { transform: scaleX(1); }
.site-nav .nav-item.is-active a.nav-link { color: var(--primary); }
.site-nav a.nav-link svg { width: 14px; height: 14px; color: var(--grey-500); }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 320px;
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius-tile);
  box-shadow: var(--shadow-menu); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms var(--ease-out), visibility 180ms;
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
  display: block; padding: 11px 14px; border-radius: 10px; color: var(--grey-900);
}
.nav-dropdown a:hover { background: var(--soft-blue); color: var(--primary); }
.nav-dropdown a .nd-title { display: block; font-weight: 600; font-size: 15px; }
.nav-dropdown a .nd-sub { display: block; font-size: 13px; color: var(--grey-500); margin-top: 1px; }
.nav-dropdown .nd-overview { border-bottom: 1px solid var(--grey-100); margin-bottom: 6px; padding-bottom: 8px; }

/* Mega-menu - background bleeds edge to edge, content aligns to the header container */
.nav-dropdown--mega {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: auto;
  display: grid;
  grid-template-columns:
    minmax(var(--gutter), 1fr)
    340px
    minmax(0, 900px)
    minmax(var(--gutter), 1fr);
  background: #fff; padding: 0; margin: 0;
  border: none; border-top: 1px solid var(--grey-200); border-radius: 0;
  box-shadow: 0 18px 40px rgba(9, 9, 21, .10);
  transform: none !important;
  max-height: none; min-width: auto; z-index: 50;
}
.mega-tabs {
  grid-column: 2; position: relative;
  display: flex; flex-direction: column; gap: 0;
  background: var(--grey-100); border-right: none;
  padding: 26px 0;
}
/* paint the grey band out to the left viewport edge */
.mega-tabs::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: 100%;
  width: 100vw; background: var(--grey-100);
}
.mega-tab {
  display: block; text-align: left; padding: 17px 22px; border: none;
  background: transparent; color: var(--grey-800); font-size: 17px; font-weight: 500;
  font-family: var(--ff-base); cursor: pointer; border-radius: 0; margin: 0;
  transition: color 150ms, background 150ms;
}
.mega-tab:hover { color: var(--primary); background: #fff; }
.mega-tab.is-active { color: var(--primary); background: #fff; font-weight: 600; }
.mega-panels {
  grid-column: 3;
  padding: 30px 34px 44px; overflow-y: auto; display: flex; flex-direction: column; gap: 0;
  max-height: calc(100vh - var(--header-h));
}
.mega-panel {
  display: none;
}
.mega-panel.is-active {
  display: block;
}
.mega-panel a {
  display: block; padding: 20px 0; color: var(--grey-900);
  border-bottom: 1px solid var(--grey-100); transition: color 150ms;
}
.mega-panel a:last-child {
  border-bottom: none;
}
.mega-panel a:hover {
  background: transparent; color: var(--primary);
}
.mega-panel .nd-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.mega-panel .nd-sub { font-size: 15px; color: var(--grey-600); line-height: 1.5; }

.site-header__utility { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.site-header__utility .util-link { color: var(--grey-600); font-size: 15px; }
.site-header__utility .util-link:hover { color: var(--primary); }

/* Region switcher globe dropdown */
.region-switcher {
  position: relative;
}
.region-switcher__btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  background: none; border: 0; border-radius: 0;
  cursor: pointer; color: var(--grey-900); transition: color 150ms, opacity 150ms;
}
.region-switcher__btn:hover {
  color: var(--primary);
}
.region-switcher__btn svg {
  width: 20px; height: 20px;
}
.region-switcher__menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--grey-100); border: 1px solid var(--grey-200); border-radius: var(--radius-control);
  padding: 6px;
  box-shadow: var(--shadow-menu);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 150ms ease, transform 150ms var(--ease-out), visibility 150ms;
  min-width: 180px; overflow: hidden;
}
.region-switcher--header:focus-within .region-switcher__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.region-switcher__item {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: var(--grey-700); font-size: 14px;
  transition: background 150ms, color 150ms;
}
.region-switcher__item:hover {
  background: rgba(255, 255, 255, .6); color: var(--grey-900);
}
.region-switcher__item--active {
  background: #fff; color: var(--grey-900); font-weight: 600;
}
.region-switcher--footer .region-switcher__menu {
  right: auto; left: 0;
}

/* Mobile nav */
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--grey-900);
}
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 1080px) {
  .site-nav, .site-header__utility .util-link { display: none; }
  .nav-toggle { display: block; }
  .site-header__utility { margin-left: auto; }
  .site-header__inner { gap: 12px; }
  .mobile-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; z-index: 99;
    overflow-y: auto; padding: 18px var(--gutter) 40px;
    transform: translateX(100%); transition: transform 260ms var(--ease-out);
  }
  body.nav-open .mobile-nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  /* The open mobile nav has its own "Book a meeting" CTA at the bottom;
     the header's copy would otherwise float over it, doubled. */
  body.nav-open .site-header__utility > .btn { display: none; }

  /* The header globe dropdown depends on :focus-within, which touch
     taps don't reliably trigger. Below the breakpoint the region
     choice lives inside the mobile nav accordion instead, so the
     header control is hidden rather than shipped broken. */
  .region-switcher--header { display: none; }
}
@media (min-width: 1081px) { .mobile-nav { display: none; } }
.mobile-nav .m-group { border-bottom: 1px solid var(--grey-100); }
.mobile-nav .m-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 2px; font-size: 18px; font-weight: 600; color: var(--grey-900); width: 100%;
  background: none; border: 0; cursor: pointer; font-family: var(--ff-base);
}
.mobile-nav .m-top svg { width: 18px; height: 18px; color: var(--grey-500); transition: transform 200ms; }
.mobile-nav .m-group.open .m-top svg { transform: rotate(180deg); }
.mobile-nav .m-children { display: none; padding: 0 2px 14px; }
.mobile-nav .m-group.open .m-children { display: block; }
.mobile-nav .m-children a { display: block; padding: 9px 0; color: var(--grey-700); font-size: 16px; }
.mobile-nav .m-children a.is-active { color: var(--grey-900); font-weight: 600; }
.mobile-nav .m-cta { margin-top: 22px; }

/* Region switcher as a mobile nav accordion item */
.mobile-nav .m-region-label { display: inline-flex; align-items: center; gap: 8px; }
.mobile-nav .m-region-label svg { width: 18px; height: 18px; color: var(--grey-500); flex-shrink: 0; }

/* Push content below fixed header */
main { padding-top: var(--header-h); }

/* ---------- Heroes ---------- */
.hero { position: relative; overflow: hidden; background: var(--mint); }
.hero__inner { position: relative; z-index: 2; padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); text-align: center; }
.hero h1 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.hero .display-1 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.hero__sub { max-width: 760px; margin: 22px auto 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; color: var(--grey-600); }
.hero__ctas { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
/* ambient orbs - the winjit.com soft gradient shapes */
.hero__orbs { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__orbs::before, .hero__orbs::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
}
.hero__orbs::before {
  width: 560px; height: 560px; left: -180px; top: -120px;
  background: radial-gradient(circle, rgba(0, 237, 135, .35), rgba(0, 237, 135, 0) 70%);
  animation: orb-drift 30s ease-in-out infinite alternate;
}
.hero__orbs::after {
  width: 640px; height: 640px; right: -220px; bottom: -260px;
  background: radial-gradient(circle, rgba(3, 78, 162, .18), rgba(3, 78, 162, 0) 70%);
  animation: orb-drift 30s ease-in-out infinite alternate-reverse;
}
@keyframes orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(60px, 40px, 0) scale(1.08); }
}
/* photo hero variant (vertical landings) */
.hero--photo .hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero--photo .hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.hero--photo .hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(250, 255, 253, .55) 0%, var(--mint) 92%);
}
/* proof strip (ValueMomentum pattern, Winjit styling) */
.proof-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 0;
  margin: 46px auto 0; max-width: 980px; padding: 0;
}
.proof-strip li {
  list-style: none; display: flex; align-items: center; gap: 10px;
  font-size: 15.5px; font-weight: 600; color: var(--grey-700); padding: 0 22px;
  border-right: 1px solid var(--grey-300);
}
.proof-strip li:last-child { border-right: 0; }
.proof-strip svg { width: 17px; height: 17px; color: var(--primary); flex-shrink: 0; }
@media (max-width: 760px) {
  .proof-strip { flex-direction: column; align-items: center; gap: 10px; }
  .proof-strip li { border-right: 0; }
}

/* intro band - winjit inner-page gradient band with photo */
.intro-band { background: var(--grad-intro); }
.intro-band__grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center;
}
.intro-band__text h2 { margin-bottom: 18px; }
.intro-band__text p { font-size: clamp(16.5px, 1.4vw, 19px); line-height: 1.6; color: var(--grey-800); }
.intro-band__text p:last-child { margin-bottom: 0; }
.intro-band__media img { border-radius: var(--radius-card); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .intro-band__grid { grid-template-columns: 1fr; } }

/* left + split hero variants - sub-page anatomy (Xceedance-style, winjit palette) */
.hero--left .hero__inner, .hero--split .hero__inner { text-align: left; padding: clamp(44px, 6vw, 76px) 0 clamp(44px, 6vw, 72px); }
.hero--left .hero__inner h1, .hero--split .hero__inner h1 { margin-left: 0; max-width: 24ch; }
.hero--left .hero__sub, .hero--split .hero__sub { margin-left: 0; max-width: 62ch; }
.hero--left .hero__ctas, .hero--split .hero__ctas { justify-content: flex-start; }
.hero--split .hero__cols { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero--split .hero__media img { border-radius: var(--radius-card); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .hero--split .hero__cols { grid-template-columns: 1fr; } }
/* family tints */
.hero--tint-sky { background: linear-gradient(180deg, var(--sky-50) 0%, var(--mint) 100%); }
.hero--tint-violet { background: linear-gradient(180deg, var(--violet-50) 0%, var(--mint) 100%); }
.hero--tint-green { background: linear-gradient(180deg, var(--green-50) 0%, var(--mint) 100%); }

/* color-block panels - winjit.com homepage sect4 signature */
.color-panels .container > * + * { margin-top: 28px; }
.color-panel {
  display: grid; grid-template-columns: 1.05fr .95fr; border-radius: var(--radius-block);
  overflow: hidden; min-height: 360px; text-decoration: none;
  transition: transform 200ms var(--ease-out), box-shadow 200ms ease;
}
a.color-panel:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(9, 9, 11, .12); }
.color-panel__text { padding: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.color-panel__text h3 { font-size: clamp(26px, 3vw, 40px); font-weight: 500; margin-bottom: 14px; }
.color-panel__text p { color: var(--grey-700); font-size: 16.5px; max-width: 52ch; }
.color-panel__text .textlink { margin-top: 10px; }
.color-panel__media { position: relative; min-height: 260px; }
.color-panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.color-panel--blue { background: var(--blue-100); }
.color-panel--violet { background: var(--violet-100); }
.color-panel--green { background: var(--green-100); }
.color-panel--yellow { background: var(--yellow-100); }
.color-panel--rose { background: var(--rose-100); }
@media (max-width: 860px) {
  .color-panel { grid-template-columns: 1fr; }
  .color-panel__media { order: -1; min-height: 220px; }
}

/* dark band - winjit Design-Studio signature: black + green display type */
.dark-band { background: #000; color: var(--grey-400); position: relative; overflow: hidden; }
.dark-band h2 { color: var(--green-display); font-size: clamp(30px, 4vw, 52px); font-weight: 500; max-width: 18ch; }
.dark-band__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .dark-band__grid { grid-template-columns: 1fr; } }
.dark-band p { color: var(--grey-400); font-size: 16.5px; line-height: 1.6; max-width: 54ch; }
.dark-band p strong { color: #fff; }
.dark-band__media img { border-radius: var(--radius-card); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; opacity: .85; }
.dark-band .textlink { color: var(--secondary); }

/* proof bar - ValueMomentum pattern: boxless keyword columns */
.proof-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
@media (max-width: 900px) { .proof-bar { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .proof-bar { grid-template-columns: 1fr; } }
.proof-bar__item { text-align: left; padding-top: 18px; border-top: 3px solid var(--primary); }
.proof-bar__item svg { width: 26px; height: 26px; color: var(--primary); margin-bottom: 14px; }
.proof-bar__item h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.proof-bar__item p { color: var(--grey-600); font-size: 15px; margin: 0; }

/* ---------- Section shells ---------- */
.bg-mint { background: var(--mint); }
.bg-white { background: #fff; }
.bg-softblue { background: var(--soft-blue); }
.bg-grey { background: var(--grey-50); }
.bg-dark { background: #000; color: var(--grey-300); }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-deepblue { background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 60%, #0A63C4 100%); color: rgba(255,255,255,.85); }
.bg-deepblue h2, .bg-deepblue h3, .bg-deepblue h4 { color: #fff; }
.section-head { max-width: 820px; margin: 0 auto 48px; text-align: center; }
.section-head--left { margin: 0 0 40px; text-align: left; }
.section-head .lead { margin-top: 14px; }
.bg-dark .section-head .lead, .bg-deepblue .section-head .lead { color: var(--grey-400); }
.bg-deepblue .section-head .lead { color: rgba(255,255,255,.75); }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 24px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; }
}
.card {
  background: #fff; border: 1px solid var(--card-border-green); border-radius: var(--radius-card);
  padding: 30px 28px; position: relative; display: flex; flex-direction: column;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
a.card { color: inherit; }
.card:hover { transform: translateY(-3px); box-shadow: var(--card-hover-shadow); }
.card--blue { border-color: var(--blue-wash-border); background: var(--sky-50); }
.card--violet { border-color: #E2DBF7; background: var(--violet-50); }
.card--green { background: var(--green-50); }
.card--plain { border-color: var(--grey-200); }
.card__icon {
  width: 52px; height: 52px; border-radius: var(--radius-icon); display: flex; align-items: center; justify-content: center;
  background: var(--soft-blue); color: var(--primary); margin-bottom: 20px; flex-shrink: 0;
}
.card__icon svg { width: 26px; height: 26px; }
.card--green .card__icon { background: var(--green-100); color: var(--forest-ink); }
.card--violet .card__icon { background: var(--violet-100); color: #5B4BC4; }
.card h3, .card h4 { margin-bottom: 10px; }
.card .brand-line { font-size: 14px; font-weight: 700; color: var(--primary); letter-spacing: .02em; margin-bottom: 12px; }
.card p { color: var(--grey-600); font-size: 15.5px; margin-bottom: 0; }
.card .textlink { margin-top: auto; padding-top: 18px; }
.card p + .textlink { padding-top: 18px; }

/* capability card (Xceedance agent-card pattern) */
.cap-card { text-align: left; }
.cap-card ul.tasks { list-style: none; padding: 0; margin: 14px 0 0; }
.cap-card ul.tasks li {
  padding: 8px 0 8px 26px; position: relative; font-size: 15px; color: var(--grey-700);
  border-bottom: 1px solid var(--grey-100);
}
.cap-card ul.tasks li:last-child { border-bottom: 0; }
.cap-card ul.tasks li svg {
  position: absolute; left: 0; top: 10px; width: 16px; height: 16px; color: var(--primary);
}

/* feature grid - "What the framework brings" */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-item {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px;
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius-tile);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.feature-item:hover { transform: translateY(-2px); box-shadow: var(--card-hover-shadow); }
.feature-item svg { width: 21px; height: 21px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.feature-item span { font-size: 15.5px; color: var(--grey-800); line-height: 1.5; }
.bg-mint .feature-item, .bg-softblue .feature-item { border-color: var(--card-border-green); }

/* config list - "What is configured" chips */
.config-panel {
  background: var(--soft-blue); border-radius: var(--radius-block); padding: clamp(28px, 4vw, 48px);
}
.config-panel h3 { margin-bottom: 6px; }
.config-panel .config-note { color: var(--grey-600); margin-bottom: 22px; max-width: 640px; }
.config-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.config-chips li {
  background: #fff; border: 1px solid var(--blue-wash-border); color: var(--grey-800);
  border-radius: 999px; padding: 9px 18px; font-size: 15px; font-weight: 500;
}

/* ---------- Metric band (Xceedance pattern) ---------- */
.metric-band { position: relative; overflow: hidden; }
.metric-band .band-bg { position: absolute; inset: 0; }
.metric-band .band-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.metric-band .band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.82)); }
.metric-band .container { position: relative; z-index: 2; }
.metric-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 34px 22px; margin-top: 48px;
}
.metric { text-align: left; }
.metric__value {
  font-family: var(--ff-display); font-weight: 700; color: var(--secondary);
  font-size: clamp(34px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -0.01em;
  display: block; white-space: nowrap;
}
.metric__label { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: var(--grey-300); max-width: 22ch; }
.metric-band--light .metric__value { color: var(--primary); }
.metric-band--light .metric__label { color: var(--grey-600); }

/* ---------- Compare cards (SMS OTP vs TOTP) ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .compare { grid-template-columns: 1fr; } }
.compare__col { border-radius: var(--radius-card); padding: 30px 28px; }
.compare__col--a { background: var(--grey-100); border: 1px solid var(--grey-200); }
.compare__col--b { background: var(--primary); color: rgba(255,255,255,.92); }
.compare__col h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 20px; }
.compare__col--b h3 { color: #fff; }
.compare__col h3 svg { width: 22px; height: 22px; }
.compare__col--a h3 svg { color: var(--grey-500); }
.compare__col--b h3 svg { color: var(--secondary); }
.compare__row { padding: 13px 0; border-top: 1px solid rgba(9,9,11,.08); font-size: 15px; }
.compare__col--b .compare__row { border-top-color: rgba(255,255,255,.18); }
.compare__row .cr-label { display: block; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-500); margin-bottom: 3px; }
.compare__col--b .compare__row .cr-label { color: rgba(255,255,255,.6); }

/* ---------- Three-band architecture diagram ---------- */
.arch-diagram { max-width: 880px; margin: 0 auto; }
.arch-diagram svg { width: 100%; height: auto; display: block; overflow: visible; }
.arch-diagram .band { opacity: 0; transform: translateY(14px); transition: opacity 550ms var(--ease-out), transform 550ms var(--ease-out); }
.arch-diagram .band-top { transition-delay: 0ms; }
.arch-diagram .band-api-1 { transition-delay: 340ms; }
.arch-diagram .band-mid { transition-delay: 160ms; }
.arch-diagram .band-api-2 { transition-delay: 420ms; }
.arch-diagram .band-bottom { transition-delay: 260ms; }
.arch-diagram.in .band { opacity: 1; transform: translateY(0); }
.arch-diagram .api-line { stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 700ms 480ms ease-out; }
.arch-diagram.in .api-line { stroke-dashoffset: 0; }
.diagram-notes { max-width: 880px; margin: 34px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.diagram-notes .dn {
  font-size: 14.5px; color: var(--grey-600); line-height: 1.5;
  padding-left: 14px; border-left: 3px solid var(--grey-200);
}
.diagram-notes .dn strong { color: var(--grey-900); display: block; margin-bottom: 3px; }

/* ---------- Statement blocks / prose ---------- */
.statement { max-width: 820px; }
.statement p { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--grey-700); }
.statement p strong { color: var(--grey-900); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split__media img { border-radius: var(--radius-card); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.split .statement p { font-size: 16.5px; }

/* what-changes list */
.change-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .change-list { grid-template-columns: 1fr; } }
.change-item { padding: 26px 26px; background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius-card); }
.change-item h4 { color: var(--primary); margin-bottom: 8px; }
.change-item p { color: var(--grey-600); font-size: 15.5px; margin: 0; }

/* implementation / outcome strip */
.outcome {
  border-radius: var(--radius-block); background: var(--grey-900); color: var(--grey-300);
  padding: clamp(30px, 4vw, 52px); display: grid; grid-template-columns: auto 1fr; gap: clamp(22px, 4vw, 56px); align-items: center;
}
@media (max-width: 760px) { .outcome { grid-template-columns: 1fr; } }
.outcome .o-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--secondary); display: block; margin-bottom: 12px; }
.outcome p { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; color: #fff; margin: 0; max-width: 56ch; }
.outcome .o-metric { font-family: var(--ff-display); font-weight: 700; font-size: clamp(40px, 4.5vw, 64px); color: var(--secondary); line-height: 1; white-space: nowrap; }

/* process strip (integration steps) */
.process-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
@media (max-width: 900px) { .process-strip { grid-template-columns: 1fr; } }
.process-step { position: relative; padding: 0 22px 0 0; }
.process-step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--ff-display); font-weight: 700; font-size: 15px; color: var(--primary);
  display: inline-flex; width: 40px; height: 40px; border: 1.5px solid var(--primary); border-radius: 50%;
  align-items: center; justify-content: center; margin-bottom: 14px; background: #fff;
}
.process-step::after {
  content: ""; position: absolute; top: 20px; left: 52px; right: 10px; height: 1.5px; background: var(--grey-200);
}
.process-step:last-child::after { display: none; }
@media (max-width: 900px) {
  .process-step { padding: 0 0 26px 0; }
  .process-step::after { display: none; }
}
.process-step p { font-size: 15px; color: var(--grey-700); margin: 0; padding-right: 6px; }

/* ---------- CTA band + footer ---------- */
.footer-wrap { background: linear-gradient(180deg, #034EA2 0%, #000C1A 100%); color: #fff; margin-top: 0; }
.cta-band { text-align: center; padding: 123px 0 84px; }
.cta-band h2 { font-size: clamp(30px, 4vw, 52px); color: var(--grey-900); max-width: 22ch; margin: 0 auto 12px; }
.cta-band .cta-sub { color: var(--grey-700); font-size: 17px; margin-bottom: 30px; }
.site-footer { padding: 40px 0 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px;
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__brand img { height: 30px; margin-bottom: 18px; }
.site-footer__brand p { color: #fff; font-size: 14.5px; max-width: 36ch; }
.site-footer h5 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 10px; font-size: 15px; }
.site-footer__offices { border-top: 1px solid rgba(255,255,255,.22); padding: 22px 0; display: flex; gap: 26px; flex-wrap: wrap; font-size: 14.5px; color: #fff; }
.site-footer__offices svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 7px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.22); padding: 20px 0 26px; font-size: 13.5px; color: #fff; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.site-footer__bottom .config-line { font-weight: 600; color: #fff; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 18px 0 0; position: relative; z-index: 3; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: 14px; color: var(--grey-500); }
.breadcrumb a { color: var(--grey-600); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--grey-300); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 80ms; } .reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; } .reveal-d4 { transition-delay: 320ms; }
.reveal-d5 { transition-delay: 400ms; } .reveal-d6 { transition-delay: 480ms; }
.reveal-d7 { transition-delay: 560ms; } .reveal-d8 { transition-delay: 640ms; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .arch-diagram .band { opacity: 1 !important; transform: none !important; transition: none !important; }
  .arch-diagram .api-line { stroke-dashoffset: 0 !important; transition: none !important; }
  .hero__orbs::before, .hero__orbs::after { animation: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
