/* ============================================================
FxCloudio Technologies — Design System
Style references: stripe.com, lucanet.com, board.com, bain.com
============================================================ */

:root {
  --navy-900: #06122e;
  --navy-800: #0a1a42;
  --navy-700: #12285c;
  --navy-600: #1a3474;

  --blue-600: #1f55e0;
  --blue-500: #3568f5;
  --blue-400: #6b93ff;
  --cyan-400: #1fc4d8;
  --teal-400: #12b3a5;
  --accent: #1fc4d8;

  --ink-900: #0a1220;
  --ink-700: #3a475e;
  --ink-500: #66758f;
  --ink-400: #8a98b0;

  --bg-page: #f7f9fc;
  --bg-soft: #eef3f9;
  --bg-softer: #e6edf6;
  --bg-elevated: #ffffff;
  --line: #dce5f0;
  --line-dark: rgba(255, 255, 255, 0.12);

  --font-display: "DM Sans", -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 0.625rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;

  --shadow-sm: 0 1px 2px rgba(6, 18, 46, 0.04), 0 2px 0.5rem rgba(6, 18, 46, 0.04);
  --shadow-md: 0 0.25rem 1rem rgba(6, 18, 46, 0.06), 0 0.75rem 1.75rem rgba(6, 18, 46, 0.05);
  --shadow-lg: 0 0.75rem 2rem rgba(6, 18, 46, 0.08), 0 1.75rem 3.5rem rgba(6, 18, 46, 0.1);
  --shadow-glow: 0 0.5rem 1.75rem rgba(31, 85, 224, 0.22);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --container: 80rem;
  --gutter: 1.5rem;
  --header-h: 4.5rem;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.32s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Header only — section padding already spaces the heading (~60–80px). */
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /*
  Fluid root so 1rem tracks laptop width/height.
  ~14.2px at 1280, 16px from 1440 up. All rem type/spacing scales together.
  */
  font-size: clamp(13.5px, calc(100vw / 90), 16px);
}

@media (max-height: 820px) {
  html {
    font-size: clamp(13px, calc(100vw / 96), 15px);
  }
}

/* 13–14" laptops: keep nav + CTA on one row without jumping to the mobile drawer */

@media (max-width: 1360px) and (min-width: 861px) {
  .nav-wrap { gap: 0.75rem; }

  .main-nav > a,
  .nav-item > button,
  .nav-item > a.nav-parent {
    padding: 0.45rem 0.55rem;
    font-size: 16px;
  }

  .brand-word { font-size: 1.12rem; }
}

#industries,
#roles,
#improve,
#saas,
#distribution,
#retail,
#software-services,
#professional-services,
#real-estate,
#fnb,
#medical,
#cfo,
#ceo,
#coo,
#controller,
#financial-visibility,
#finance-operations,
#revenue-billing,
#multi-entity,
#tax-compliance,
#scale-growth,
#support-optimize,
#planning-forecasting,
#integrations-focus,
#oneworld,
#inventory,
#warehouse,
#projects,
#cfo-series,
#migration-series,
#india-tax-series,
[id].section {
  /* Do not stack with html scroll-padding-top (that pushed headings too low). */
  scroll-margin-top: 0;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-700);
  background:
  radial-gradient(75rem 37.5rem at 8% -10%, rgba(53, 104, 245, 0.07), transparent 55%),
  radial-gradient(56.25rem 31.25rem at 100% 0%, rgba(31, 196, 216, 0.06), transparent 50%),
  var(--bg-page);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(53, 104, 245, 0.18);
  color: var(--ink-900);
}

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 0.1875rem;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  display: block;
  flex-shrink: 0;
  max-width: 100%;
}

/* Inline icons (nav chevrons, buttons) must not inherit block layout */

.main-nav svg,
.btn svg,
.text-link svg,
.nav-toggle svg {
  display: inline-block;
  vertical-align: middle;
}

a {
  color: var(--blue-600);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.18;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h1 { font-size: 3.1rem; font-weight: 700; }

h2 { font-size: 2.25rem; font-weight: 700; }

h3 { font-size: 1.28rem; font-weight: 600; }

h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-narrow { max-width: 53.75rem; }

section { position: relative; }

.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.section-tight {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.bg-soft { background: var(--bg-soft); }

/* ---------- Eyebrow / section headers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 1.125rem;
}

.eyebrow::before {
  content: "";
  width: 1.375rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
}

.section-head {
  max-width: 45rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .eyebrow::before { display: none; }

.section-head .lead {
  font-size: 1.13rem;
  color: var(--ink-500);
  margin-top: 0.875rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.125rem;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
  transform 0.28s var(--ease-out),
  box-shadow 0.28s var(--ease-out),
  background 0.28s ease,
  color 0.2s ease,
  border-color 0.2s ease;
  white-space: nowrap;
}

.btn svg { width: 0.9375rem; height: 0.9375rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-500) 55%, var(--cyan-400) 140%);
  color: #fff;
  border: 0;
  overflow: hidden;
  clip-path: inset(0 round 8px);
  -webkit-clip-path: inset(0 round 8px);
  box-shadow: none;
  filter: drop-shadow(0 0.5rem 1.125rem rgba(31, 85, 224, 0.22));
}

.btn-primary:hover {
  transform: translateY(-0.125rem);
  filter: drop-shadow(0 0.75rem 1.5rem rgba(31, 85, 224, 0.32));
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-900);
  border-color: var(--line);
  backdrop-filter: blur(0.5rem);
}

.btn-ghost:hover {
  border-color: var(--blue-400);
  color: var(--blue-600);
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-sm);
}

.btn-light {
  background: #fff;
  color: var(--navy-800);
  box-shadow: 0 0.375rem 1.125rem rgba(0, 0, 0, 0.14);
}

.btn-light:hover { transform: translateY(-0.125rem); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--blue-600);
}

.text-link svg {
  width: 0.9375rem;
  height: 0.9375rem;
  transition: transform 0.18s ease;
}

.text-link:hover svg { transform: translateX(0.25rem); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  overflow: visible;
  background: rgba(247, 249, 252, 0.72);
  backdrop-filter: saturate(1.5) blur(1rem);
  -webkit-backdrop-filter: saturate(1.5) blur(1rem);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: rgba(220, 229, 240, 0.9);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

.site-header.on-dark:not(.scrolled) {
  background: transparent;
}

.site-header.on-dark:not(.scrolled) .main-nav > a,
.site-header.on-dark:not(.scrolled) .nav-item > button,
.site-header.on-dark:not(.scrolled) .nav-item > a.nav-parent {
  color: rgba(255, 255, 255, 0.85);
}

.site-header.on-dark:not(.scrolled) .main-nav > a:hover,
.site-header.on-dark:not(.scrolled) .nav-item > button:hover,
.site-header.on-dark:not(.scrolled) .nav-item > a.nav-parent:hover {
  color: #fff;
}

.site-header.on-dark:not(.scrolled) .brand-word { color: #fff; }

.site-header.on-dark:not(.scrolled) .nav-toggle span { background: #fff; }

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

.brand-word em {
  font-style: normal;
  background: linear-gradient(100deg, var(--blue-500), var(--cyan-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.main-nav > a,
.nav-item > button,
.nav-item > a.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  padding: 0.5625rem 0.8125rem;
  border-radius: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.main-nav > a:hover,
.main-nav > a.active,
.nav-item > button:hover,
.nav-item > button.active,
.nav-item > a.nav-parent:hover,
.nav-item > a.nav-parent.active {
  color: var(--blue-600);
}

.main-nav > a.active,
.nav-item > button.active,
.nav-item > a.nav-parent.active {
  font-weight: 600;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-item > button,
.nav-item > a.nav-parent { position: relative; }

.nav-item > button svg,
.nav-item > a.nav-parent svg {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  min-width: 0.75rem;
  min-height: 0.75rem;
  max-width: 0.75rem;
  max-height: 0.75rem;
  flex: 0 0 0.75rem;
  transition: transform 0.2s ease;
}

.nav-item.open > button svg,
.nav-item.open > a.nav-parent svg,
.nav-item:hover > a.nav-parent svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 0.625rem);
  left: 50%;
  transform: translateX(-50%) translateY(0.5rem);
  min-width: 17.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.625rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-item.open .dropdown,
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Same-page menu clicks stay under the pointer, so :hover would keep the panel open.
   Match Solutions: after a nav pick, the menu must disappear immediately. */
.nav-item.nav-dismiss > .dropdown,
.nav-item.nav-dismiss:hover > .dropdown,
.nav-item.nav-dismiss.open > .dropdown,
.nav-item.nav-dismiss > .dropdown.dropdown-mega,
.nav-item.nav-dismiss:hover > .dropdown.dropdown-mega,
.nav-item.nav-dismiss.open > .dropdown.dropdown-mega {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.dropdown a {
  display: block;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5625rem;
  color: var(--ink-900);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.14s ease, color 0.14s ease;
}

.dropdown a small {
  display: block;
  font-weight: 400;
  color: var(--ink-500);
  font-size: 0.8rem;
  margin-top: 1px;
}

.dropdown a:hover {
  background: var(--bg-softer);
  color: var(--blue-600);
}

.dropdown .drop-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-400);
  padding: 0.625rem 0.875rem 0.25rem;
}

.nav-cta {
  padding: 0.4375rem 0.875rem;
  font-size: 0.78rem;
  margin-left: 0.25rem;
  box-shadow: 0 0.25rem 0.875rem rgba(31, 85, 224, 0.22);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.3125rem;
  width: 2.625rem;
  height: 2.625rem;
  padding: 0.625rem;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle span {
  height: 2px;
  border-radius: 2px;
  background: var(--ink-900);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(0.4375rem) rotate(45deg); }

body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }

body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-0.4375rem) rotate(-45deg); }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(2.5rem, 5.5vw, 4.5rem)) 0 clamp(3.5rem, 6vw, 5.5rem);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: radial-gradient(75rem 37.5rem at 78% -10%, rgba(34, 200, 221, 0.14), transparent 60%),
  radial-gradient(62.5rem 34.375rem at 12% 0%, rgba(59, 110, 245, 0.12), transparent 55%),
  linear-gradient(180deg, #f3f7fd 0%, #ffffff 78%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(18, 39, 94, 0.045) 1px, transparent 1px),
  linear-gradient(90deg, rgba(18, 39, 94, 0.045) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem;
  mask-image: radial-gradient(45rem 28.75rem at 60% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(45rem 28.75rem at 60% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero > .container {
  width: min(100%, var(--container));
  max-width: var(--container);
  margin-inline: auto;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  align-items: center;
  width: 100%;
}

.hero-copy .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy-700);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 62.4375rem;
  padding: 0.5rem 1rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.375rem;
}

.hero-badge .dot {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 0.25rem rgba(20, 184, 166, 0.16);
}

.hero-copy h1 {
  font-size: 3.565rem;
  margin-bottom: 1rem;
  max-width: 14ch;
  line-height: 1.12;
}

.hero-copy h1 .grad {
  background: linear-gradient(100deg, var(--blue-600) 10%, var(--cyan-400) 70%, var(--teal-400) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy .hero-sub {
  font-size: 1.16rem;
  color: var(--ink-500);
  max-width: 32.5rem;
  margin: 0 0 2.125rem;
  line-height: 1.55;
}

/* Focus tiles — static 4×2 grid below hero (no flip) */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 0;
}

.hero-actions .btn {
  font-size: 0.875rem;
  padding: 0.625rem 1.125rem;
}

.page-hero .hero-actions .btn {
  font-size: 0.84rem;
  padding: 0.5625rem 1rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.hero-stats .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}

.hero-stats .stat span {
  font-size: 0.83rem;
  color: var(--ink-500);
}

/* ---------- Dashboard mock ---------- */

.dash-wrap {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 35rem;
  transform: translate(1.75rem, -2.25rem);
}

.hero-band .dash-wrap.hero-split-fin {
  justify-self: stretch;
  transform: none;
  max-width: none;
}

.dash {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.dash-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.125rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfdff, #f5f8fc);
}

.dash-top i {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: #e3eaf4;
}

.dash-top i:nth-child(1) { background: #ffb4a8; }

.dash-top i:nth-child(2) { background: #ffd88a; }

.dash-top i:nth-child(3) { background: #9be3b4; }

.dash-top span {
  margin-left: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-500);
  letter-spacing: 0.02em;
}

.dash-body { padding: 1.125rem; display: grid; gap: 0.875rem; }

/* ---------- Logo / industries strip ---------- */

.strip {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.strip .strip-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.125rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-400);
  margin-bottom: 1.75rem;
}

.strip .strip-label::before,
.strip .strip-label::after {
  content: "";
  flex: 1;
  max-width: 10rem;
  height: 1px;
  background: var(--line);
}

.strip-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 3rem;
}

.ind-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b7a90;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.25rem 0;
  box-shadow: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* ---------- Tiles / cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.375rem;
}

.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.625rem;
  transition:
  transform 0.35s var(--ease-out),
  box-shadow 0.35s var(--ease-out),
  border-color 0.25s ease;
  overflow: hidden;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tile:hover {
  transform: translateY(-0.3125rem);
  box-shadow: var(--shadow-md);
  border-color: #c9d7ea;
}

.tile:hover::before { opacity: 1; }

.tile .tile-icon {
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(59, 110, 245, 0.1), rgba(34, 200, 221, 0.12));
  color: var(--blue-600);
  margin-bottom: 1.125rem;
}

.tile .tile-icon svg { width: 1.4375rem; height: 1.4375rem; }

.tile h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }

.tile p {
  font-size: 0.92rem;
  color: var(--ink-500);
  margin: 0 0 1rem;
  flex-grow: 1;
}

.tile .text-link { font-size: 0.87rem; margin-top: auto; }

/* ---------- Dark section (platform pillars — used on inner pages) ---------- */

.dark-section {
  background: radial-gradient(56.25rem 30rem at 85% 0%, rgba(53, 104, 245, 0.2), transparent 55%),
  radial-gradient(50rem 31.25rem at 5% 100%, rgba(31, 196, 216, 0.14), transparent 55%),
  linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 60%, #0d1f52 100%);
  color: rgba(255, 255, 255, 0.78);
}

.dark-section h2,
.dark-section h3,
.dark-section h4 { color: #fff; }

.dark-section .eyebrow { color: var(--cyan-400); }

.dark-section .section-head .lead { color: rgba(255, 255, 255, 0.62); }

.dark-section .tile {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(0.75rem) saturate(1.15);
  -webkit-backdrop-filter: blur(0.75rem) saturate(1.15);
}

.dark-section .tile:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.dark-section .tile h3 {
  color: #fff;
}

.dark-section .tile p {
  color: rgba(255, 255, 255, 0.62);
}

.dark-section .tile .tile-icon {
  background: rgba(34, 200, 221, 0.12);
  color: var(--cyan-400);
}

.pillar-tab {
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  background: none;
  border: none;
  border-left: 2px solid var(--line-dark);
  padding: 0.875rem 1.25rem;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  border-radius: 0 0.625rem 0.625rem 0;
}

.pillar-tab:hover { color: #fff; }

.pillar-tab.active {
  color: #fff;
  border-left-color: var(--cyan-400);
  background: linear-gradient(90deg, rgba(34, 200, 221, 0.12), transparent 75%);
}

.pillar-panel {
  display: none;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  animation: fadeUp 0.4s ease;
}

.pillar-panel.active { display: block; }

.pillar-panel .p-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-400);
  margin-bottom: 0.625rem;
}

.pillar-panel h3 { font-size: 1.55rem; margin-bottom: 0.75rem; }

.pillar-panel > p { color: rgba(255, 255, 255, 0.66); max-width: 35rem; }

.pillar-panel ul {
  list-style: none;
  padding: 0;
  margin: 1.375rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.pillar-panel li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--ink-700);
  font-size: 0.98rem;
}

.pillar-panel li svg {
  width: 1.1875rem;
  height: 1.1875rem;
  color: var(--teal-400);
  flex-shrink: 0;
  margin-top: 0.1875rem;
}

/* Dark pillar panels keep light list text */

.dark-section .pillar-panel li,
.industry-highlights:not(.highlights-light) .pillar-panel li {
  color: rgba(255, 255, 255, 0.82);
}

.dark-section .pillar-panel li svg,
.industry-highlights:not(.highlights-light) .pillar-panel li svg {
  color: var(--cyan-400);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(0.625rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Platform Highlights (Lucanet-style dark tabs) ---------- */

.platform-highlights {
  background:
  radial-gradient(56.25rem 32.5rem at 90% 10%, rgba(53, 104, 245, 0.22), transparent 55%),
  radial-gradient(43.75rem 30rem at 5% 90%, rgba(31, 196, 216, 0.12), transparent 50%),
  linear-gradient(165deg, #001526 0%, #001b2d 45%, #061830 100%);
  color: rgba(255, 255, 255, 0.72);
  padding-top: clamp(4rem, 8vw, 6.25rem);
  padding-bottom: clamp(4.5rem, 9vw, 7.5rem);
}

.platform-highlights .ph-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.platform-highlights .ph-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.875rem;
}

.platform-highlights .ph-head h2 {
  color: #fff;
  font-size: 2.35rem;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0;
  line-height: 1.15;
}

.ph-tabs-wrap {
  margin-top: 0.5rem;
  overflow: visible;
  order: 2;
  position: relative;
  z-index: 1;
}

.platform-highlights,
.platform-highlights .container {
  overflow: visible;
}

.ph-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.75rem;
  padding: 0.375rem 0.25rem 0;
  border-radius: 0.25rem;
  border-bottom: none;
}

.highlights-light .ph-tabs {
  background: #e8eef8;
}

.platform-highlights:not(.highlights-light) .ph-tabs {
  background: #0d2740;
}

@media (max-width: 640px) {
  .ph-tabs {
    padding: 0.25rem 0.25rem 0;
    justify-content: flex-start;
    text-align: left;
  }

  .platform-highlights .pillar-tab.ph-tab,
  .highlights-light .pillar-tab.ph-tab,
  .page-products .highlights-light .pillar-tab.ph-tab {
    text-align: left;
  }
}

.platform-highlights .pillar-tab.ph-tab {
  position: relative;
  overflow: hidden;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  background: none;
  border: none;
  border-left: none;
  border-radius: 0;
  padding: 0.875rem 2px 1rem;
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.platform-highlights .pillar-tab.ph-tab:hover {
  color: rgba(255, 255, 255, 0.9);
}

.platform-highlights .pillar-tab.ph-tab.active {
  color: #fff;
  background: none;
  border-left: none;
  font-weight: 600;
}

.platform-highlights .pillar-tab.ph-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.1875rem;
  background: #fff;
  border-radius: 2px 2px 0 0;
}

.ph-panels {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
}

.platform-highlights .ph-panel {
  display: none;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  animation: fadeUp 0.45s var(--ease-out);
}

.platform-highlights .ph-panel.active {
  display: grid;
}

.ph-copy h3 {
  color: #fff;
  font-size: 1.75rem;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  line-height: 1.25;
  max-width: 44ch;
}

.ph-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  max-width: 58ch;
}

.ph-copy > p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0 0 0.625rem;
  max-width: 58ch;
}

.ph-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  min-height: 20rem;
}

/* Isometric plate stack */

/* Solutions — By Industry Lucanet layout */

.industry-highlights .ph-head h2 {
  max-width: 22ch;
}

.ph-section-lead {
  margin: 0.875rem 0 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.02rem;
  line-height: 1.65;
}

.industry-highlights .ph-panel.active {
  display: block;
}

.ph-industry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.ph-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
}

.ph-visual .feature-visual {
  width: 100%;
  min-height: 0;
  border-radius: 1.25rem;
}

.ph-visual .fv-card {
  max-width: 26rem;
  width: 100%;
}

.highlights-light .ph-visual .feature-visual {
  background: transparent;
  padding: 0;
  min-height: 0;
}

.industry-highlights:not(.highlights-light) .ph-visual .feature-visual {
  background: transparent;
  border: none;
  padding: 0;
  min-height: 0;
}

.industry-highlights:not(.highlights-light) .fv-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(1rem) saturate(1.2);
  -webkit-backdrop-filter: blur(1rem) saturate(1.2);
}

.industry-highlights:not(.highlights-light) .fv-card-head {
  color: rgba(255, 255, 255, 0.62);
}

.industry-highlights:not(.highlights-light) .fv-row {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
}

.industry-highlights:not(.highlights-light) .fv-kpi {
  background: rgba(255, 255, 255, 0.06);
}

.industry-highlights:not(.highlights-light) .fv-kpi label {
  color: rgba(255, 255, 255, 0.48);
}

.industry-highlights:not(.highlights-light) .fv-kpi b {
  color: #fff;
}

.industry-highlights:not(.highlights-light) .fv-bars span {
  background: rgba(199, 214, 248, 0.22);
}

.industry-highlights:not(.highlights-light) .fv-progress-meta {
  color: rgba(255, 255, 255, 0.78);
}

.industry-highlights:not(.highlights-light) .fv-progress-bar {
  background: rgba(255, 255, 255, 0.1);
}

.industry-highlights:not(.highlights-light) .fv-tag.ok {
  background: rgba(20, 184, 166, 0.18);
  color: #5eead4;
}

.industry-highlights:not(.highlights-light) .fv-tag.plan {
  background: rgba(107, 147, 255, 0.18);
  color: #93c5fd;
}

.industry-highlights:not(.highlights-light) .fv-decision-label {
  color: var(--cyan-400);
}

.industry-highlights:not(.highlights-light) .fv-decision b {
  color: #fff;
}

.industry-highlights:not(.highlights-light) .fv-decision p {
  color: rgba(255, 255, 255, 0.62);
}

.industry-highlights:not(.highlights-light) .fv-ow-stem,
.industry-highlights:not(.highlights-light) .fv-ow-children::before,
.industry-highlights:not(.highlights-light) .fv-ow-children .fv-ow-node::before {
  background: rgba(255, 255, 255, 0.22);
}

.ph-industry-acc .accordion {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}

.ph-industry-acc .card-grid {
  margin-top: 0.5rem;
}

.highlights-light .ph-industry-acc .card-grid .tile,
.highlights-light .ph-industry-acc .cards .tile {
  background: #fff;
}

/* Dark sections: frosted glass accordion + tiles */

.industry-highlights:not(.highlights-light) .ph-industry-acc .accordion {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(1rem) saturate(1.2);
  -webkit-backdrop-filter: blur(1rem) saturate(1.2);
}

.industry-highlights:not(.highlights-light) .ph-industry-acc .acc-item + .acc-item {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.industry-highlights:not(.highlights-light) .ph-industry-acc .acc-head {
  color: rgba(255, 255, 255, 0.92);
}

.industry-highlights:not(.highlights-light) .ph-industry-acc .acc-head:hover {
  background: rgba(255, 255, 255, 0.06);
}

.industry-highlights:not(.highlights-light) .ph-industry-acc .acc-item.open .acc-head {
  color: var(--cyan-400);
}

.industry-highlights:not(.highlights-light) .ph-industry-acc .acc-ic {
  color: rgba(255, 255, 255, 0.7);
}

.industry-highlights:not(.highlights-light) .ph-industry-acc .acc-ic::before {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
}

.industry-highlights:not(.highlights-light) .ph-industry-acc .acc-body-inner {
  color: rgba(255, 255, 255, 0.65);
}

.industry-highlights:not(.highlights-light) .ph-industry-acc .acc-body-inner h4 {
  color: #fff;
}

.industry-highlights:not(.highlights-light) .ph-industry-acc .role-list li,
.industry-highlights:not(.highlights-light) .ph-industry-acc .check-list li {
  color: rgba(255, 255, 255, 0.78);
}

.industry-highlights:not(.highlights-light) .ph-industry-acc .role-list strong,
.industry-highlights:not(.highlights-light) .ph-industry-acc .check-list b,
.industry-highlights:not(.highlights-light) .ph-industry-acc .check-list strong {
  color: #fff;
}

.industry-highlights:not(.highlights-light) .ph-industry-acc .check-list li svg {
  color: var(--cyan-400);
}

.industry-highlights:not(.highlights-light) .ph-industry-acc .role-list li::before,
.industry-highlights:not(.highlights-light) .ph-industry-acc .role-list--ok li::before {
  background: var(--cyan-400);
}

.industry-highlights:not(.highlights-light) .ph-industry-acc .card-grid .tile {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(0.75rem) saturate(1.15);
  -webkit-backdrop-filter: blur(0.75rem) saturate(1.15);
  color: rgba(255, 255, 255, 0.88);
}

.industry-highlights:not(.highlights-light) .ph-industry-acc .card-grid .tile:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.industry-highlights:not(.highlights-light) .ph-industry-acc .card-grid .tile h3 {
  color: #fff;
}

.industry-highlights:not(.highlights-light) .ph-industry-acc .card-grid .tile p {
  color: rgba(255, 255, 255, 0.62);
}

.industry-highlights .ph-tabs {
  gap: 0 1.375rem;
}

.industry-highlights .pillar-tab.ph-tab {
  font-size: 0.9rem;
  padding: 0.75rem 2px 0.875rem;
}

.ph-num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-400);
  margin-bottom: 0.625rem;
}

.ph-improve-link {
  margin-top: 1.125rem;
}

.industry-highlights .text-link {
  color: #fff;
}

.industry-highlights .text-link:hover {
  color: var(--cyan-400);
}

.industry-highlights .text-link svg {
  stroke: currentColor;
}

.industry-highlights .role-list li {
  color: var(--ink-700);
}

.industry-highlights .role-list--ok li::before {
  background: var(--blue-500);
}

/* Alternating light theme (Section 2) */

.highlights-light {
  background:
  radial-gradient(50rem 26.25rem at 90% 0%, rgba(53, 104, 245, 0.08), transparent 55%),
  radial-gradient(43.75rem 25rem at 5% 100%, rgba(31, 196, 216, 0.07), transparent 50%),
  linear-gradient(180deg, #f4f7fb 0%, #eef3f9 50%, #f7f9fc 100%);
  color: var(--ink-700);
}

.highlights-light .ph-eyebrow {
  color: var(--blue-600);
}

.highlights-light .ph-head h2 {
  color: var(--ink-900);
}

.highlights-light .ph-section-lead {
  color: var(--ink-500);
}

.highlights-light .pillar-tab.ph-tab {
  color: #64748b;
  font-weight: 600;
}

.highlights-light .pillar-tab.ph-tab:hover {
  color: #0f172a;
}

.highlights-light .pillar-tab.ph-tab.active {
  color: var(--blue-600);
}

.highlights-light .pillar-tab.ph-tab.active::after {
  background: var(--blue-600);
}

.highlights-light .ph-copy h3 {
  color: var(--ink-900);
}

.highlights-light .ph-lead {
  color: var(--ink-700);
}

.highlights-light .ph-copy > p {
  color: var(--ink-500);
}

.highlights-light .ph-industry-acc .accordion {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}

.highlights-light .ph-industry-acc .check-list li,
.highlights-light .pillar-panel .check-list li {
  color: var(--ink-700);
}

.highlights-light .ph-industry-acc .check-list b,
.highlights-light .ph-industry-acc .check-list strong,
.highlights-light .pillar-panel .check-list b,
.highlights-light .pillar-panel .check-list strong {
  color: var(--ink-900);
}

.highlights-light .ph-industry-acc .check-list li svg,
.highlights-light .pillar-panel .check-list li svg {
  color: var(--teal-400);
}

.highlights-light .text-link {
  color: var(--blue-600);
}

.highlights-light .text-link:hover {
  color: var(--blue-500);
}

.highlights-light .ph-num {
  color: var(--blue-600);
}

/* Section 2 stays dark with a slightly different wash */

.role-highlights {
  background:
  radial-gradient(56.25rem 32.5rem at 10% 0%, rgba(31, 196, 216, 0.14), transparent 55%),
  radial-gradient(43.75rem 30rem at 95% 90%, rgba(53, 104, 245, 0.18), transparent 50%),
  linear-gradient(165deg, #001526 0%, #001b2d 45%, #061830 100%);
}

@media (max-width: 900px) {
  .ph-industry-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .platform-highlights .ph-panel.active {
    grid-template-columns: 1fr;
  }

  .ph-visual {
    min-height: 0;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .ph-visual .feature-visual,
  .ph-visual .fv-card {
    margin-left: auto;
    margin-right: auto;
  }

  .ph-industry-grid {
    grid-template-columns: 1fr;
  }

  .ph-tabs {
    flex-wrap: wrap;
    overflow: visible;
    gap: 0 1.25rem;
  }
}

/* ---------- Platform feature rows (Brex-style, light) ---------- */

.platform-section {
  background: #fff;
}

.platform-section .section-head {
  max-width: 45rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.feature-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(4.5rem, 8vw, 7rem);
}

.platform-section .feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  margin-top: 0;
}

.platform-section .feature-row + .feature-row { margin-top: 0; }

.platform-section .feature-row.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.platform-section .feature-row.reverse .feature-copy { order: 2; }

.platform-section .feature-visual {
  justify-content: center;
}

.platform-section .feature-row.reverse .feature-visual {
  order: 1;
  justify-content: center;
}

.platform-section .feature-kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.625rem;
}

.platform-section .feature-copy h3 {
  font-size: 1.75rem;
  margin-bottom: 0.875rem;
  letter-spacing: -0.025em;
}

.platform-section .feature-copy > p {
  font-size: 1.05rem;
  color: var(--ink-500);
  line-height: 1.7;
  margin: 0 0 0.5rem;
  max-width: 30rem;
}

.platform-section .feature-copy .check-list {
  margin-top: 1.125rem;
}

.feature-visual {
  background: var(--bg-soft);
  border-radius: 1.25rem;
  padding: clamp(1.15rem, 2.4vw, 1.75rem);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 15.5rem;
}

.fv-card {
  width: 100%;
  max-width: 26rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  padding: 1.375rem;
}

.fv-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-500);
  margin-bottom: 1.125rem;
}

.fv-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 0.25rem rgba(20, 184, 166, 0.15);
  margin-right: 0.5rem;
  vertical-align: middle;
}

.fv-head-left {
  display: inline-flex;
  align-items: center;
}

.fv-stack {
  display: grid;
  gap: 0.625rem;
}

.fv-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  background: var(--bg-soft);
  border-radius: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-900);
}

.fv-row span { flex: 1; }

.fv-ic {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.fv-ic.blue { background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); }

.fv-ic.cyan { background: linear-gradient(135deg, var(--cyan-400), #0ea5b8); }

.fv-ic.violet { background: linear-gradient(135deg, var(--blue-500), var(--navy-600)); }

.fv-ic.teal { background: linear-gradient(135deg, var(--teal-400), #0e9f6e); }

.fv-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.5625rem;
  border-radius: 62.4375rem;
  white-space: nowrap;
}

.fv-tag.ok {
  background: rgba(20, 184, 166, 0.12);
  color: #0e9f6e;
}

.fv-tag.plan {
  background: rgba(59, 110, 245, 0.12);
  color: var(--blue-600);
}

.fv-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.125rem;
}

.fv-kpi {
  background: var(--bg-soft);
  border-radius: 0.75rem;
  padding: 0.875rem;
}

.fv-kpi label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.fv-kpi b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink-900);
  margin: 0.25rem 0 2px;
}

.fv-kpi .up {
  font-size: 0.72rem;
  font-weight: 600;
  color: #0e9f6e;
}

.fv-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.625rem;
  height: 6.25rem;
  padding: 0.5rem 0.25rem 0;
}

.fv-bars span {
  flex: 1;
  border-radius: 0.375rem 0.375rem 2px 2px;
  background: #c7d6f8;
  min-height: 0.75rem;
}

.fv-bars span.accent {
  background: linear-gradient(180deg, var(--blue-500), var(--cyan-400));
}

.fv-progress {
  margin-bottom: 0.875rem;
}

.fv-progress:last-child { margin-bottom: 0; }

.fv-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 0.5rem;
}

.fv-progress-bar {
  height: 0.5rem;
  background: var(--bg-softer);
  border-radius: 62.4375rem;
  overflow: hidden;
}

.fv-progress-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
}

.fv-progress-bar i.cyan {
  background: linear-gradient(90deg, var(--cyan-400), #0ea5b8);
}

.fv-card-decision {
  padding: 1.75rem 1.5rem;
}

.fv-decision-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.625rem;
}

.fv-decision b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink-900);
  line-height: 1.25;
  margin-bottom: 0.625rem;
}

.fv-decision p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-500);
  line-height: 1.55;
}

/* OneWorld, Planning, Analytics visuals */

.fv-ow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.375rem 2px 2px;
}

.fv-ow-node {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  width: 100%;
  padding: 0.875rem 0.625rem;
  border-radius: 0.75rem;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  color: #fff;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  box-shadow: var(--shadow-sm);
}

.fv-ow-parent {
  width: auto;
  min-width: 11.25rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-700));
  box-shadow: var(--shadow-glow);
}

.fv-ow-stem {
  width: 2px;
  height: 1.125rem;
  background: #c5d2e4;
  flex-shrink: 0;
}

.fv-ow-children {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.625rem;
  width: 100%;
  position: relative;
  padding-top: 1.125rem;
}

.fv-ow-children::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: #c5d2e4;
}

.fv-ow-children .fv-ow-node::before {
  content: "";
  position: absolute;
  top: -1.125rem;
  left: 50%;
  width: 2px;
  height: 1.125rem;
  margin-left: -0.0625rem;
  background: #c5d2e4;
}

.fv-cmp {
  display: flex;
  align-items: flex-end;
  gap: 0.875rem;
  height: 6.75rem;
  padding: 2px 0.25rem 0;
}

.fv-cmp-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  height: 100%;
}

.fv-cmp-pair {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.25rem;
  width: 100%;
}

.fv-cmp-pair i {
  display: block;
  width: 0.875rem;
  border-radius: 0.3125rem 0.3125rem 2px 2px;
  min-height: 0.5rem;
}

.fv-cmp-pair i.act { background: var(--blue-500); }

.fv-cmp-pair i.bud { background: var(--cyan-400); }

.fv-cmp-col em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-500);
}

.fv-cmp-legend {
  display: flex;
  gap: 1rem;
  margin-top: 0.875rem;
}

.fv-cmp-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-500);
}

.fv-cmp-legend i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2px;
}

.fv-cmp-legend i.act { background: var(--blue-500); }

.fv-cmp-legend i.bud { background: var(--cyan-400); }

/* ---------- Home light / dark rhythm ---------- */

.home-dark {
  background:
  radial-gradient(56.25rem 32.5rem at 90% 10%, rgba(53, 104, 245, 0.2), transparent 55%),
  radial-gradient(43.75rem 30rem at 5% 90%, rgba(31, 196, 216, 0.1), transparent 50%),
  linear-gradient(165deg, #001526 0%, #001b2d 45%, #061830 100%);
  color: rgba(255, 255, 255, 0.72);
}

.home-dark .section-head .eyebrow,
.home-dark .eyebrow {
  color: var(--cyan-400);
}

.home-dark .section-head h2,
.home-dark h2,
.home-dark h3 {
  color: #fff;
}

.home-dark .section-head .lead,
.home-dark .lead {
  color: rgba(255, 255, 255, 0.62);
}

.home-dark.platform-section .feature-kicker {
  color: var(--cyan-400);
}

.home-dark.platform-section .feature-copy > p {
  color: rgba(255, 255, 255, 0.62);
}

.home-dark .check-list li {
  color: rgba(255, 255, 255, 0.82);
}

.home-dark .check-list li b,
.home-dark .check-list li strong {
  color: #fff;
}

.home-dark .check-list li svg {
  color: var(--cyan-400);
}

.home-dark .feature-visual {
  background: transparent;
  border: none;
  padding: 0;
  min-height: 0;
}

.home-dark .fv-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.28);
}

.home-dark .fv-card-head,
.home-dark .fv-progress-meta {
  color: rgba(255, 255, 255, 0.62);
}

.home-dark .fv-row {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.home-dark .fv-kpi {
  background: rgba(255, 255, 255, 0.06);
}

.home-dark .fv-kpi label {
  color: rgba(255, 255, 255, 0.5);
}

.home-dark .fv-kpi b {
  color: #fff;
}

.home-dark .fv-progress-bar {
  background: rgba(255, 255, 255, 0.14);
}

.home-dark .fv-tag.ok {
  background: rgba(34, 200, 221, 0.16);
  color: var(--cyan-400);
}

.home-dark .fv-tag.plan {
  background: rgba(107, 147, 255, 0.18);
  color: #c5d4ff;
}

.home-dark .fv-decision-label {
  color: var(--cyan-400);
}

.home-dark .fv-decision b {
  color: #fff;
}

.home-dark .fv-decision p {
  color: rgba(255, 255, 255, 0.62);
}

.home-dark .tile {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
}

.home-dark .tile:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.home-dark .tile h3 {
  color: #fff;
}

.home-dark .tile p {
  color: rgba(255, 255, 255, 0.62);
}

.home-dark .tile .tile-icon {
  background: rgba(34, 200, 221, 0.12);
  color: var(--cyan-400);
}

.home-dark .text-link {
  color: #fff;
}

.home-dark .text-link:hover {
  color: var(--cyan-400);
}

.home-dark .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.home-dark .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* ---------- Role rail (home — replaces odd 4-card grid) ---------- */

.roles-preview {
  background:
  radial-gradient(50rem 25rem at 50% 0%, rgba(53, 104, 245, 0.06), transparent 60%),
  #fff;
}

.roles-footer {
  text-align: center;
  margin-top: 2.25rem;
}

.role-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 1.375rem;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.role-rail-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 2rem 1.75rem 1.75rem;
  color: inherit;
  text-decoration: none;
  min-height: 13.125rem;
  transition: background 0.3s var(--ease-out);
}

.role-rail-item + .role-rail-item {
  border-left: 1px solid var(--line);
}

.role-rail-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.role-rail-item:hover {
  background: linear-gradient(180deg, rgba(53, 104, 245, 0.04), transparent 70%);
}

.role-rail-item:hover::after {
  transform: scaleX(1);
}

.role-rail-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.role-rail-item strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.role-rail-desc {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-500);
  margin: 0;
  max-width: 22ch;
}

.role-rail-go {
  margin-top: auto;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: rgba(53, 104, 245, 0.08);
  overflow: hidden;
  clip-path: circle(50%);
  -webkit-clip-path: circle(50%);
  transition: transform 0.3s var(--ease-out), background 0.25s ease, color 0.25s ease;
}

.role-rail-go svg {
  width: 1rem;
  height: 1rem;
}

.role-rail-item:hover .role-rail-go {
  transform: translateX(0.25rem);
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  color: #fff;
}

@media (max-width: 900px) {
  .role-rail {
    grid-template-columns: 1fr 1fr;
  }

  .role-rail-item:nth-child(2) {
    border-left: 1px solid var(--line);
  }

  .role-rail-item:nth-child(3),
  .role-rail-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .role-rail-item:nth-child(3) {
    border-left: none;
  }
}

@media (max-width: 560px) {
  .role-rail {
    grid-template-columns: 1fr;
  }

  .role-rail-item,
  .role-rail-item + .role-rail-item,
  .role-rail-item:nth-child(n) {
    border-left: none;
    border-top: none;
    min-height: 0;
    padding: 1.375rem 3.75rem 1.375rem 1.25rem;
  }

  .role-rail-item + .role-rail-item {
    border-top: 1px solid var(--line);
  }

  .role-rail-item {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .role-rail-label { width: auto; }

  .role-rail-item strong {
    display: block;
    width: 100%;
  }

  .role-rail-desc {
    flex: none;
    max-width: none;
    width: 100%;
  }

  .role-rail-go {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
  }

  .role-rail-item:hover .role-rail-go {
    transform: translateY(-50%) translateX(0.2rem);
  }
}

/* ---------- Feature rows (zigzag) ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.25rem, 6vw, 5rem);
  align-items: center;
}

.feature-row + .feature-row { margin-top: clamp(4rem, 8vw, 6.875rem); }

.careers-split {
  align-items: start;
}

.careers-looking {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.feature-row.reverse .feature-media { order: 2; }

.feature-media {
  background: linear-gradient(135deg, var(--bg-softer), #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.97rem;
  color: var(--ink-700);
}

.check-list li span {
  color: inherit;
}

.check-list li b,
.check-list li strong {
  color: var(--ink-900);
  font-weight: 600;
}

.check-list li svg {
  width: 1.1875rem;
  height: 1.1875rem;
  color: var(--teal-400);
  flex-shrink: 0;
  margin-top: 0.1875rem;
}

/* ---------- Accordion ---------- */

.accordion {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.acc-item,
.cta-band,
.site-footer {
  overflow-anchor: none;
}

.acc-item + .acc-item { border-top: 1px solid var(--line); }

.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.25rem 1.375rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-900);
  transition: background 0.25s ease, color 0.2s ease;
}

.acc-head:hover { background: rgba(238, 243, 249, 0.85); }

.acc-head .acc-ic {
  position: relative;
  z-index: 0;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--ink-500);
  background: transparent;
  overflow: hidden;
  clip-path: circle(50%);
  -webkit-clip-path: circle(50%);
  transition: color 0.25s ease, filter 0.25s ease;
}

.acc-head .acc-ic::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #c9d6ea;
  z-index: -1;
  pointer-events: none;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.acc-head .acc-ic svg {
  position: relative;
  z-index: 1;
  width: 0.8125rem;
  height: 0.8125rem;
  transition: transform 0.35s var(--ease-out);
}

.acc-item.open .acc-ic {
  color: #fff;
  filter: drop-shadow(0 0.25rem 0.625rem rgba(31, 85, 224, 0.28));
}

.acc-item.open .acc-ic::before {
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  box-shadow: none;
}

.acc-item.open .acc-ic svg {
  transform: rotate(45deg);
}

.acc-item.open .acc-head {
  color: var(--blue-600);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.acc-body-inner {
  padding: 0.35rem 1.5rem 2rem;
  color: var(--ink-500);
  font-size: 0.95rem;
}

.acc-body-inner h4 {
  font-size: 0.98rem;
  font-weight: 650;
  color: var(--ink-900);
  margin: 1.125rem 0 0.375rem;
  letter-spacing: -0.01em;
}

.acc-body-inner h4:first-child {
  margin-top: 0;
}

.acc-body-inner p {
  margin: 0 0 0.625rem;
  line-height: 1.65;
}

.acc-body-inner .role-list {
  margin: 0.5rem 0 0.75rem;
}

.acc-body-inner p:last-child { margin-bottom: 0; }

.acc-body-inner .text-link {
  display: inline-flex;
  margin-top: 0.75rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  background:
  radial-gradient(43.75rem 23.75rem at 85% 0%, rgba(31, 196, 216, 0.22), transparent 58%),
  radial-gradient(37.5rem 21.875rem at 5% 100%, rgba(53, 104, 245, 0.2), transparent 55%),
  linear-gradient(145deg, var(--navy-900), var(--navy-800) 55%, #0e2558);
  border-radius: var(--radius-xl);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.75rem, 5vw, 4.5rem);
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  color: #fff;
  max-width: 38.75rem;
  margin: 0 auto 0.875rem;
  font-size: 2rem;
  line-height: 1.25;
  overflow: visible;
}

.cta-band p { max-width: 33.75rem; margin: 0 auto 2rem; font-size: 1.05rem; }

.cta-band .btn-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.cta-band .btn {
  white-space: normal;
  line-height: 1.3;
  text-align: center;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: calc(var(--header-h) + clamp(3.5rem, 7vw, 6rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
  background:
  radial-gradient(56.25rem 28.75rem at 88% -8%, rgba(53, 104, 245, 0.28), transparent 58%),
  radial-gradient(47.5rem 26.25rem at 6% 110%, rgba(31, 196, 216, 0.18), transparent 55%),
  linear-gradient(165deg, var(--navy-900), var(--navy-800) 68%, #0c214f);
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.page-hero::after {
  content: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero .eyebrow { color: var(--cyan-400); }

.page-hero h1 {
  color: #fff;
  font-size: 2.75rem;
  max-width: 48.75rem;
}

.page-hero .lead {
  font-size: 1.13rem;
  max-width: 40rem;
  margin-top: 1rem;
}

.page-hero .hero-actions { margin: 2rem 0 0; }

.role-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.625rem;
}

.role-list li {
  position: relative;
  padding-left: 1.125rem;
  color: var(--ink-700);
  font-size: 0.95rem;
  line-height: 1.55;
}

.role-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--blue-500);
}

.role-list--ok li::before {
  background: var(--blue-500);
}

.role-list strong {
  color: var(--ink-900);
  font-weight: 600;
}

#industry-browse,
#role-browse,
#improve-browse,
#cases-browse,
#resources-browse {
  margin-top: 1rem;
}

/* ---------- Stat band ---------- */

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.375rem;
  text-align: center;
}

.stat-band .stat-cell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.875rem 1.25rem;
}

.stat-band b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(110deg, var(--blue-600), var(--cyan-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-band span { font-size: 0.87rem; color: var(--ink-500); }

/* ---------- Testimonials ---------- */

.testimonials .section-head {
  max-width: 40rem;
}

.testimonial-stage {
  --testimonial-gap: 1.375rem;
  max-width: none;
  background: transparent;
  isolation: isolate;
}

.testimonial-viewport {
  overflow: hidden;
  background: transparent;
  -webkit-mask-image: none;
  transform: none;
  container-type: inline-size;
}

.testimonial-track {
  display: flex;
  align-items: stretch;
  gap: var(--testimonial-gap);
  background: transparent;
  transition: transform 0.55s var(--ease-out);
}

.testimonial-slide {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  flex: 0 0 calc((100cqi - var(--testimonial-gap)) / 2);
  width: calc((100cqi - var(--testimonial-gap)) / 2);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.625rem;
  box-shadow: none;
}

.testimonial-slide::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-slide.is-active::before,
.testimonial-slide:hover::before {
  opacity: 1;
}

.testimonial-mark {
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(59, 110, 245, 0.1), rgba(34, 200, 221, 0.12));
  color: var(--blue-600);
  margin-bottom: 1.125rem;
}

.testimonial-mark svg {
  width: 1.25rem;
  height: 1.25rem;
}

.testimonial-slide p {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
  color: var(--ink-700);
  margin: 0 0 1.35rem;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border: 1px solid var(--line);
}

.testimonial-author cite {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.testimonial-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-900);
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--ink-500);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.testimonial-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.testimonial-dot:hover {
  background: var(--ink-400);
}

.testimonial-dot.is-active {
  width: 1.5rem;
  background: var(--blue-600);
}

.testimonial-dot:focus-visible,
.testimonial-nav:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 0.1875rem;
}

.testimonial-nav {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--ink-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease-out);
}

.testimonial-nav svg {
  width: 1rem;
  height: 1rem;
}

.testimonial-nav:hover {
  border-color: #c9d7ea;
  color: var(--blue-600);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.testimonial-nav:active {
  transform: scale(0.96);
}

/* Deck — overlapping avatar cards with side peek */
.testimonial-deck {
  --testimonial-gap: 1.5rem;
  --deck-pad: 1.5rem;
  --avatar-size: 4.25rem;
}

.testimonial-deck .testimonial-viewport {
  overflow: hidden;
  padding: calc(var(--avatar-size) / 2 + 0.35rem) var(--deck-pad) 0.35rem;
  margin-inline: calc(var(--deck-pad) * -1);
  width: calc(100% + var(--deck-pad) * 2);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.testimonial-deck .testimonial-track {
  align-items: stretch;
  padding-bottom: 0.25rem;
}

.testimonial-deck .testimonial-slide {
  --deck-visible: 3;
  flex: 0 0 calc((100cqi - (var(--deck-visible) - 1) * var(--testimonial-gap) - var(--deck-pad) * 2) / var(--deck-visible));
  width: calc((100cqi - (var(--deck-visible) - 1) * var(--testimonial-gap) - var(--deck-pad) * 2) / var(--deck-visible));
  align-items: center;
  text-align: center;
  overflow: visible;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, var(--blue-500), var(--cyan-400)) top center / 100% 2px no-repeat,
    var(--bg-elevated);
  background-clip: border-box;
  box-shadow: var(--shadow-sm);
  padding: calc(var(--avatar-size) / 2 + 1.15rem) 1.5rem 1.65rem;
  transition:
    border-color 0.25s ease,
    box-shadow 0.3s var(--ease-out),
    transform 0.3s var(--ease-out);
}

.testimonial-deck .testimonial-slide::before {
  display: none;
}

.testimonial-deck .testimonial-slide.is-active {
  border-color: #c9d7ea;
  box-shadow: var(--shadow-md);
}

.testimonial-deck .testimonial-avatar {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--avatar-size);
  height: var(--avatar-size);
  transform: translate(-50%, -50%);
  border: 3px solid #fff;
  box-shadow:
    0 0 0 1.5px rgba(31, 85, 224, 0.18),
    var(--shadow-sm);
  z-index: 2;
}

.testimonial-deck .testimonial-slide > cite {
  font-style: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin: 0 0 1rem;
  min-width: 0;
}

.testimonial-deck .testimonial-name {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.testimonial-deck .testimonial-role {
  font-size: 0.8rem;
  line-height: 1.35;
  max-width: 22ch;
}

.testimonial-deck .testimonial-quote {
  position: absolute;
  top: calc(var(--avatar-size) / 2 + 0.35rem);
  left: 1rem;
  width: 2rem;
  height: 2rem;
  color: rgba(31, 85, 224, 0.12);
  pointer-events: none;
}

.testimonial-deck .testimonial-quote svg {
  width: 100%;
  height: 100%;
}

.testimonial-deck .testimonial-slide p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-700);
  text-wrap: pretty;
}

.testimonial-deck .testimonial-controls {
  margin-top: 1.75rem;
}

@media (max-width: 980px) {
  .testimonial-deck .testimonial-slide {
    --deck-visible: 2;
  }
}

@media (max-width: 820px) {
  .testimonial-slide {
    flex-basis: 100cqi;
    width: 100cqi;
  }

  .testimonial-deck {
    --deck-pad: 1rem;
    --testimonial-gap: 1.125rem;
  }

  .testimonial-deck .testimonial-slide {
    --deck-visible: 1;
    padding-inline: 1.25rem;
  }

  .testimonial-deck .testimonial-viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

@media (max-width: 640px) {
  .testimonial-slide {
    padding: 1.5rem 1.25rem 1.35rem;
  }

  .testimonial-slide p {
    font-size: 0.95rem;
    margin-bottom: 1.15rem;
  }

  .testimonial-controls {
    margin-top: 1.15rem;
  }

  .testimonial-deck {
    --avatar-size: 3.75rem;
  }

  .testimonial-deck .testimonial-slide {
    padding-top: calc(var(--avatar-size) / 2 + 1rem);
    padding-bottom: 1.35rem;
  }

  .testimonial-deck .testimonial-slide p {
    margin-bottom: 0;
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    transition: none;
  }
}

/* ---------- Forms ---------- */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.125rem;
}

.form-field { display: flex; flex-direction: column; gap: 0.4375rem; }

.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-900);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-900);
  border: 1.5px solid var(--line);
  border-radius: 0.625rem;
  padding: 0.75rem 0.9375rem;
  background: var(--bg-soft);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 0.25rem rgba(59, 110, 245, 0.12);
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: #e11d48;
  background: #fff8f8;
}

.form-field.is-invalid input:focus,
.form-field.is-invalid select:focus,
.form-field.is-invalid textarea:focus {
  border-color: #e11d48;
  box-shadow: 0 0 0 0.25rem rgba(225, 29, 72, 0.12);
}

.field-error {
  font-size: 0.78rem;
  font-weight: 500;
  color: #e11d48;
  line-height: 1.35;
}

.form-note { font-size: 0.8rem; color: var(--ink-400); }

/* ---------- Footer ---------- */

.site-footer {
  background: linear-gradient(180deg, var(--navy-900), #050e26);
  color: rgba(255, 255, 255, 0.6);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.25rem;
  font-size: 14px;;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand p { max-width: 18.75rem; margin-top: 1rem; font-size:15px; }

.footer-brand .brand-word { color: #fff; }

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.125rem;
	    margin-top: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6875rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s ease;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
  padding-top: 1.875rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.42);
}

.footer-bottom a { color: rgba(255, 255, 255, 0.6); }

.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(1.375rem);
  transition:
  opacity 0.75s var(--ease-out),
  transform 0.75s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.07s; }

.reveal-d2 { transition-delay: 0.14s; }

.reveal-d3 { transition-delay: 0.21s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .card-grid,
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }

  .hero {
    display: block;
    padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
  }

  .hero-grid { grid-template-columns: 1fr; }

  .hero-band .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .hero-copy h1 { max-width: none; font-size: 2.875rem; }

  h1 { font-size: 2.5rem; }

  h2 { font-size: 1.95rem; }

  .page-hero h1 { font-size: 2.4rem; }

  .dash-wrap {
    max-width: 48rem;
    margin: 2rem auto 0;
    transform: none;
    justify-self: center;
  }

  .pillar-tab {
    border-left: none;
    border-bottom: 2px solid var(--line-dark);
    border-radius: 0.625rem 0.625rem 0 0;
    white-space: nowrap;
    padding: 0.625rem 1rem;
  }

  .pillar-tab.active {
    border-bottom-color: var(--cyan-400);
    background: linear-gradient(180deg, rgba(34, 200, 221, 0.12), transparent);
  }

  .platform-section .feature-row,
  .platform-section .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .platform-section .feature-row.reverse .feature-copy,
  .platform-section .feature-row.reverse .feature-visual { order: 0; }

  .platform-section .feature-copy {
    text-align: center;
  }

  .platform-section .feature-copy > p {
    margin-left: auto;
    margin-right: auto;
  }

  .platform-section .feature-copy .check-list {
    justify-items: stretch;
    text-align: left;
  }

  .platform-section .feature-copy .check-list li {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    justify-content: flex-start;
    text-align: left;
  }

  .platform-section .feature-visual,
  .platform-section .feature-row.reverse .feature-visual {
    justify-content: center;
  }

  .feature-visual { min-height: 15rem; }

  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }

  .footer-brand { grid-column: 1 / -1; }

  .stat-band { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 3;
  }

  .nav-cta { display: none; }

  /*
  backdrop-filter on .site-header makes position:fixed descendants
  use the 4.5rem header as their containing block — the drawer then
  has 0 height and only "About" peeks through. Drop the filter on
  mobile and expand the header while the menu is open.
  */

  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.97);
    overflow: hidden;
  }

  body.nav-open .site-header,
  body.nav-open .site-header.on-dark:not(.scrolled) {
    height: 100%;
    height: 100dvh;
    bottom: 0;
    background: #fff;
    box-shadow: none;
  }

  body.nav-open .site-header.on-dark:not(.scrolled) .nav-toggle span {
    background: var(--ink-900);
  }

  body.nav-open .site-header.on-dark:not(.scrolled) .brand-word {
    color: var(--ink-900);
  }

  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100dvh - var(--header-h));
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 0.5rem 1.25rem calc(6rem + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    border-top: 1px solid var(--line);
    z-index: 1;
    visibility: hidden;
    pointer-events: none;
  }

  body.nav-open .main-nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  body.nav-open { overflow: hidden; }

  /* Keep the top bar as logo + close only; pin the CTA to the viewport
     bottom. Absolute + .nav-wrap (header height) was stacking the blue
     button under the X in the header strip. */
  body.nav-open .nav-cta {
    display: inline-flex;
    position: fixed;
    left: 1.25rem;
    right: 1.25rem;
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    z-index: 102;
    margin: 0;
    justify-content: center;
    width: auto;
    max-width: none;
  }

  body.nav-open .brand {
    position: relative;
    z-index: 3;
  }

  body.nav-open .nav-toggle {
    position: relative;
    z-index: 3;
    background: #fff;
    border-radius: 0.5rem;
  }

  .nav-item {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav > a,
  .nav-item > button,
  .nav-item > a.nav-parent {
    width: 100%;
    justify-content: space-between;
    font-size: 1.05rem;
    padding: 0.9375rem 0.25rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--ink-900) !important;
  }

  .dropdown {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
    padding: 0;
    transition: none;
    min-width: 0;
    left: auto;
    right: auto;
  }

  .nav-item:hover .dropdown {
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transform: none !important;
  }

  .nav-item.open .dropdown,
  .nav-item.open:hover .dropdown {
    visibility: visible;
    max-height: none;
    overflow: visible;
    padding: 0.25rem 0 0.625rem 0.5rem;
  }

  .feature-row { grid-template-columns: 1fr; }

  .careers-looking { position: static; }

  .feature-row.reverse .feature-media { order: 0; }

  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  h1 { font-size: 2.15rem; }

  h2 { font-size: 1.7rem; }

  .page-hero h1 { font-size: 2.1rem; }

  .cta-band h2 { font-size: 1.65rem; }

  .card-grid,
  .card-grid.cols-4 { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .stat-band { grid-template-columns: 1fr 1fr; gap: 0.875rem; }

  .hero-stats { gap: 1.25rem; }
}

/* ============================================================
Interactions & motion layer
============================================================ */

/* ---------- Scroll progress bar ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 0.1875rem;
  width: 0;
  z-index: 300;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
  border-radius: 0 0.1875rem 0.1875rem 0;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ---------- Back to top ---------- */

.back-top {
  position: fixed;
  right: 1.375rem;
  bottom: 1.375rem;
  z-index: 250;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  overflow: hidden;
  clip-path: circle(50%);
  -webkit-clip-path: circle(50%);
  filter: drop-shadow(0 0.5rem 1.125rem rgba(31, 85, 224, 0.32));
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.875rem);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.back-top svg { width: 1.25rem; height: 1.25rem; }

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover { transform: translateY(-0.25rem); }

/* ---------- Nav link underline ---------- */

.main-nav > a::after {
  content: "";
  position: absolute;
  left: 0.8125rem;
  right: 0.8125rem;
  bottom: 0.3125rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav > a { position: relative; }

.nav-item > button::after,
.nav-item > a.nav-parent::after {
  content: "";
  position: absolute;
  left: 0.8125rem;
  right: 1.625rem;
  bottom: 0.3125rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav > a:hover::after,
.main-nav > a.active::after,
.nav-item > button:hover::after,
.nav-item > button.active::after,
.nav-item > a.nav-parent:hover::after,
.nav-item > a.nav-parent.active::after { transform: scaleX(1); }

/* Active state stays readable on the dark hero header */

.site-header.on-dark:not(.scrolled) .main-nav > a.active,
.site-header.on-dark:not(.scrolled) .nav-item > button.active,
.site-header.on-dark:not(.scrolled) .nav-item > a.nav-parent.active {
  color: #fff;
}

@media (max-width: 860px) {
  .main-nav > a::after,
  .nav-item > button::after,
  .nav-item > a.nav-parent::after { display: none; }

  .main-nav > a.active,
  .nav-item.open > button,
  .nav-item > button.active,
  .nav-item > a.nav-parent.active {
    color: var(--blue-600) !important;
  }
}

/* ---------- Aurora hero blobs ---------- */

.hero-aurora,
.page-hero .hero-aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-aurora span {
  position: absolute;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  filter: blur(5rem);
  opacity: 0.45;
  animation: aurora 18s ease-in-out infinite;
  will-change: transform;
}

.hero-aurora span:nth-child(1) {
  top: -11.25rem;
  left: -7.5rem;
  background: radial-gradient(circle, rgba(59, 110, 245, 0.5), transparent 65%);
}

.hero-aurora span:nth-child(2) {
  top: -7.5rem;
  right: -8.75rem;
  background: radial-gradient(circle, rgba(34, 200, 221, 0.45), transparent 65%);
  animation-delay: -6s;
}

.hero-aurora span:nth-child(3) {
  bottom: -13.75rem;
  left: 34%;
  background: radial-gradient(circle, rgba(53, 104, 245, 0.38), transparent 65%);
  animation-delay: -12s;
}

.page-hero .hero-aurora span { opacity: 0.55; }

@keyframes aurora {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(3.75rem, 2.5rem) scale(1.15); }
  66% { transform: translate(-2.5rem, -1.875rem) scale(0.92); }
}

/* ---------- Rotating word ---------- */

.rotate-word {
  display: inline-block;
  min-width: 9.375rem;
  text-align: left;
  font-weight: 700;
  background: linear-gradient(100deg, var(--blue-600), var(--cyan-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.rotate-word.swap {
  opacity: 0;
  transform: translateY(0.5625rem);
}

/* ---------- Cursor spotlight on cards ---------- */

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(21.25rem circle at var(--mx, 50%) var(--my, 50%), rgba(59, 110, 245, 0.09), rgba(34, 200, 221, 0.05) 45%, transparent 68%);
  pointer-events: none;
}

.tile:hover::after { opacity: 1; }

.tile:hover .tile-icon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 0.375rem 1.125rem rgba(59, 110, 245, 0.22);
}

.tile .tile-icon { transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease; }

/* ---------- Marquee strip ---------- */

.strip-marquee .strip-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.strip-marquee .strip-items {
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: max-content;
  gap: 1.125rem 3.5rem;
  animation: marquee 40s linear infinite;
  will-change: transform;
}

.strip-marquee .strip-items span,
.strip-marquee .strip-items .ind-chip {
  flex-shrink: 0;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.strip-marquee .strip-items .ind-chip:hover {
  color: var(--ink-700);
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.strip-marquee:hover .strip-items { animation-play-state: paused; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Dashboard tilt & chart animations ---------- */

.dash-wrap { perspective: 68.75rem; }

.dash-wrap .dash {
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
  will-change: transform;
}

.line-anim {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
}

.dot-anim { opacity: 0; }

.dash.play .line-anim { animation: drawline 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards; }

.dash.play .dot-anim { animation: fadein 0.5s ease 1.9s forwards; }

.bar-anim {
  transform: scaleY(0);
  transform-origin: bottom;
  transform-box: fill-box;
}

.dash.play .bar-anim { animation: growbar 0.9s cubic-bezier(0.22, 1.2, 0.36, 1) forwards; }

.dash.play .bar-anim:nth-of-type(1) { animation-delay: 0.45s; }

.dash.play .bar-anim:nth-of-type(2) { animation-delay: 0.6s; }

.dash.play .bar-anim:nth-of-type(3) { animation-delay: 0.75s; }

.dash.play .bar-anim:nth-of-type(4) { animation-delay: 0.9s; }

.dash.play .bar-anim:nth-of-type(5) { animation-delay: 1.05s; }

.line-fade { opacity: 0; }

.hero-fin-wrap.play .bar-anim {
  animation: growbar 0.7s cubic-bezier(0.22, 1.05, 0.36, 1) forwards;
}

.hero-fin-wrap.play .bar-anim:nth-of-type(1) { animation-delay: 0.06s; }

.hero-fin-wrap.play .bar-anim:nth-of-type(2) { animation-delay: 0.11s; }

.hero-fin-wrap.play .bar-anim:nth-of-type(3) { animation-delay: 0.16s; }

.hero-fin-wrap.play .bar-anim:nth-of-type(4) { animation-delay: 0.21s; }

.hero-fin-wrap.play .bar-anim:nth-of-type(5) { animation-delay: 0.26s; }

.hero-fin-wrap.play .bar-anim:nth-of-type(6) { animation-delay: 0.31s; }

.hero-fin-wrap.play .bar-anim:nth-of-type(7) { animation-delay: 0.36s; }

.hero-fin-wrap.play .bar-anim:nth-of-type(8) { animation-delay: 0.41s; }

.hero-fin-wrap.play .bar-anim:nth-of-type(9) { animation-delay: 0.46s; }

.hero-fin-wrap.play .bar-anim:nth-of-type(10) { animation-delay: 0.51s; }

.hero-fin-wrap.play .bar-anim:nth-of-type(11) { animation-delay: 0.56s; }

.hero-fin-wrap.play .bar-anim:nth-of-type(12) { animation-delay: 0.61s; }

.hero-fin-wrap.play .line-anim {
  animation: drawline 1.1s cubic-bezier(0.4, 0, 0.2, 1) 0.18s forwards;
}

.hero-fin-wrap.play .line-fade {
  animation: fadein 0.65s ease 0.5s forwards;
}

.hero-fin-wrap.play .dot-anim {
  animation: fadein 0.35s ease 0.75s forwards;
}

.hero-fin-donut-svg circle { opacity: 0; }

.hero-fin-wrap.play .hero-fin-donut-svg circle {
  animation: fadein 0.45s ease forwards;
}

.hero-fin-wrap.play .hero-fin-donut-svg circle:nth-child(1) { animation-delay: 0.28s; }

.hero-fin-wrap.play .hero-fin-donut-svg circle:nth-child(2) { animation-delay: 0.34s; }

.hero-fin-wrap.play .hero-fin-donut-svg circle:nth-child(3) { animation-delay: 0.4s; }

.hero-fin-wrap.play .hero-fin-donut-svg circle:nth-child(4) { animation-delay: 0.46s; }

.hero-fin-wrap.play .hero-fin-donut-svg circle:nth-child(5) { animation-delay: 0.52s; }

.hero-fin-wrap.play .hero-fin-donut-svg circle:nth-child(6) { animation-delay: 0.58s; }

.hero-fin-wrap.play .hero-fin-donut-svg circle:nth-child(7) { animation-delay: 0.64s; }

.hero-fin-wrap.play .hero-fin-donut-svg circle:nth-child(8) { animation-delay: 0.7s; }

@keyframes drawline { to { stroke-dashoffset: 0; } }

@keyframes fadein { to { opacity: 1; } }

@keyframes growbar { to { transform: scaleY(1); } }

.dash-top span::before {
  content: "";
  display: inline-block;
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: #0e9f6e;
  margin-right: 0.4375rem;
  animation: livepulse 1.8s ease-in-out infinite;
}

@keyframes livepulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 159, 110, 0.45); }
  50% { box-shadow: 0 0 0 0.3125rem rgba(14, 159, 110, 0); }
}

.pillar-tab { position: relative; overflow: hidden; }

/* ---------- CTA band grain shimmer ---------- */

.cta-band::before {
  content: "";
  position: absolute;
  inset: -60% -20%;
  background: conic-gradient(from 0deg, transparent 60%, rgba(255, 255, 255, 0.06) 72%, transparent 84%);
  animation: ctaspin 12s linear infinite;
  pointer-events: none;
}

.cta-band > * { position: relative; z-index: 1; }

@keyframes ctaspin { to { transform: rotate(360deg); } }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .hero-aurora span,
  .strip-marquee .strip-items,
  .cta-band::before,
  .dash-top span::before { animation: none !important; }

  .dash-wrap .dash { transform: none !important; }
}

/* ============================================================
Aesthetic polish — minimal, professional, catchy
============================================================ */

.grad {
  background: linear-gradient(100deg, var(--blue-600) 0%, var(--blue-500) 45%, var(--cyan-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Dark page heroes need a light gradient */

.page-hero h1 .grad {
  background: linear-gradient(115deg, #e8f7fb 0%, #7ad4e8 45%, #8eb6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Home hero is light — keep NetSuite clearly visible */

.hero h1 .grad,
.hero-copy h1 .grad {
  background: linear-gradient(100deg, #1f55e0 0%, #3568f5 42%, #0ea5b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.acc-body-inner {
  animation: accIn 0.35s var(--ease-out);
}

@keyframes accIn {
  from { opacity: 0; transform: translateY(-0.375rem); }
  to { opacity: 1; transform: translateY(0); }
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dropdown {
  border-radius: 1rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(0.75rem);
  background: rgba(255, 255, 255, 0.96);
}

.dropdown a {
  border-radius: 0.625rem;
  transition: background 0.2s ease, transform 0.2s var(--ease-out);
}

.dropdown a:hover {
  transform: translateX(0.1875rem);
}

.hero-badge {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(0.625rem);
}

.back-top:hover {
  transform: translateY(-0.25rem) scale(1.04);
  box-shadow: 0 0.75rem 1.75rem rgba(31, 85, 224, 0.4);
}

.scroll-progress {
  height: 0.1562rem;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
  box-shadow: 0 0 0.75rem rgba(31, 196, 216, 0.45);
}

/* Soft lift on interactive surfaces */

.ind-chip {
  transition:
  transform 0.35s var(--ease-out),
  box-shadow 0.35s var(--ease-out),
  border-color 0.25s ease,
  background 0.25s ease;
}

@media (hover: hover) {
  .btn-primary:active,
  .btn-light:active,
  .btn-ghost:active {
    transform: translateY(0) scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .acc-body-inner { animation: none; }

  .dropdown a:hover { transform: none; }
}

/* One continuous gradient across hero + cards + industries strip */

.hero-band {
  position: relative;
  isolation: isolate;
  background:
  radial-gradient(61.25rem 33.75rem at 50% 72%, rgba(53, 104, 245, 0.26), transparent 58%),
  radial-gradient(45rem 27.5rem at 10% 78%, rgba(31, 196, 216, 0.18), transparent 55%),
  radial-gradient(45rem 27.5rem at 90% 70%, rgba(18, 179, 165, 0.14), transparent 55%),
  linear-gradient(180deg, #ffffff 0%, #f2f6ff 28%, #e6f0ff 58%, #dcecff 78%, #e8f0ff 100%);
}

.hero-band .hero {
  background: transparent;
  overflow: visible;
  min-height: 0;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  /* 15% viewport white space above and below hero content */
  padding: calc(var(--header-h) + 15vh) 0 15vh;
}

.hero-band .hero > .container.hero-grid {
  max-width: 80rem;
  width: 100%;
}

.hero-band .hero-grid {
 align-items: center;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 5vw, 5rem);
}

.hero-band .hero-copy {
  text-align: left;
  align-self: center;
  max-width: 40rem;
}

.hero-band .hero-copy .hero-badge {
  margin-bottom: 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  backdrop-filter: none;
  color: var(--navy-700);
}

.hero-band .hero-copy h1 {
  font-family: "Manrope", var(--font-display);
  font-size: clamp(2.3rem, 0.76rem + 2.62vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: none;
  margin-bottom: 0.85rem;
  text-align: left;
}

.hero-band .hero-copy h1 .hero-line {
  display: block;
  white-space: nowrap;
}

.hero-band .hero-copy .hero-sub {
  font-size: 1.02rem;
  line-height: 1.5;
  max-width: 34rem;
  margin: 0 0 1.15rem;
  text-align: left;
}

.hero-band .hero-actions {
  justify-content: flex-start;
}

.hero-band .hero-split-fin {
  justify-self: center;
  align-self: center;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: min(23.8rem, 44.2vh);
  aspect-ratio: 560 / 410;
}

.hero-band > .hero-v2-cards-block {
  width: min(70.15rem, 100%);
  margin: 0 auto;
  padding: 0.85rem var(--gutter) 2.75rem;
}

.strip-continue {
  border-top: none;
  border-bottom: none;
  background: #fff;
  padding: 2.25rem 0 3rem;
  position: relative;
  z-index: 1;
}

.strip-continue + .strip-continue {
  padding-top: 0;
}

.strip-continue .industries-wrap {
  max-width: var(--container);
}

.strip-continue .strip-label {
  color: var(--ink-400);
  margin-bottom: 1.375rem;
}

.strip-continue .strip-label.strip-heading {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin-bottom: 1.6rem;
}

.strip-continue .strip-label::before,
.strip-continue .strip-label::after {
  background: rgba(15, 40, 90, 0.12);
}

.strip-continue span.ind-chip {
  cursor: default;
}

.strip-continue .ind-chip,
.strip-continue .ind-chip:link,
.strip-continue .ind-chip:visited {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: 0;
  text-decoration: none;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  gap: 0;
  color: #5b6573;
  transition: color 0.2s ease;
}

.strip-continue .ind-chip::after {
  content: "·";
  margin-left: 1.15em;
  font-style: normal;
  font-weight: 400;
  color: #b0b0b0;
}

.strip-continue.strip-marquee .strip-items {
  gap: 1.15em;
  align-items: baseline;
  animation-duration: 42s;
}

.strip-continue.strip-marquee .strip-items .ind-chip:hover,
.strip-continue.strip-marquee .strip-items .ind-chip:focus-visible {
  color: #1f2937;
  font-weight: 500;
  transform: none;
  box-shadow: none;
  border-color: transparent;
  opacity: 1;
}

.testimonials {
  background: var(--bg-page);
  padding-bottom: 3.5rem;
}

.testimonials.testimonials-deck {
  background:
    radial-gradient(46rem 22rem at 50% 12%, rgba(53, 104, 245, 0.07), transparent 62%),
    var(--bg-page);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.strip-after-testimonials {
  background: #fff;
  padding-top: 1.25rem;
  padding-bottom: 3.75rem;
}

.strip-marquee.strip-reverse .strip-items {
  animation-name: marquee-reverse;
  animation-duration: 52s;
}

@keyframes marquee-reverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.hero-v2-cards-block {
  position: relative;
  z-index: 1;
  width: min(70.15rem, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.hero-v2-cards-head {
  max-width: 40rem;
  margin-bottom: 1rem;
}

.hero-band .hero-v2-cards-head.section-head {
  margin-bottom: 1rem;
}

.hero-v2-cards-head h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.85rem, 1.35rem + 1.15vw, 2.45rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.hero-v2-cards-head .lead {
  margin: 0 auto;
}

.hero-v2-cards-block .hero-v2-tray {
  width: 100%;
  margin-top: 0;
}

.hero-v2-tray {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.875rem;
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 1.125rem 3rem rgba(20, 50, 110, 0.08);
  backdrop-filter: blur(0.625rem);
  -webkit-backdrop-filter: blur(0.625rem);
  background-image: radial-gradient(rgba(30, 60, 120, 0.06) 1px, transparent 1px);
  background-size: 0.875rem 0.875rem;
  animation: heroTrayIn 0.85s var(--ease-out) 0.1s both;
}

@keyframes heroTrayIn {
  from { opacity: 0; transform: translateY(1.375rem); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-v2-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.hero-v2-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.15rem 1rem 0.8rem;
  box-shadow: 0 0.5rem 1.5rem rgba(20, 40, 90, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.95);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 10.25rem;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.hero-v2-card:hover {
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.875rem 1.875rem rgba(20, 50, 110, 0.12);
}

.hero-v2-card-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 0.45rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.hero-v2-card-desc {
  font-size: 0.88rem;
  font-weight: 400;
  color: #6f7a8c;
  line-height: 1.5;
  margin-bottom: 0.7rem;
}

.hero-v2-spark {
  width: 100%;
  height: 1.7rem;
  margin-top: auto;
  display: block;
}

.hero-v2-card strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink-900);
  line-height: 1;
}

@media (max-width: 1180px) {
  .hero-v2-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .hero-band .hero-copy h1 { font-size: 2.85rem; }
}

@media (max-width: 900px) {
  .hero-band .hero {
    display: block;
    min-height: 0;
    padding: calc(var(--header-h) + 1.75rem) 0 2.5rem;
  }

  .hero-band .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-band .hero-copy h1 { font-size: 2.7rem; }

  .hero-band .hero-copy h1 .hero-line {
    white-space: normal;
  }

  .hero-band .hero-split-fin {
    width: 100%;
    height: auto;
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 560px) {
  .hero-band .hero { padding: calc(var(--header-h) + 1.25rem) 0 1.75rem; }

  .hero-band .hero-copy h1 { font-size: 2.45rem; }

  .hero-band > .hero-v2-cards-block { padding: 2rem var(--gutter) 1.75rem; }

  .hero-v2-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
  }

  .hero-v2-card {
    text-align: center;
    align-items: center;
    min-height: 0;
    padding: 0.95rem 0.7rem 0.7rem;
  }

  .hero-v2-card-label {
    font-size: 0.82rem;
  }

  .hero-v2-card-desc {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .hero-v2-tray {
    padding: 0.625rem;
    border-radius: 1.375rem;
  }
}

@media (max-height: 820px) and (min-width: 901px) {
  .hero-band .hero {
    min-height: 0;
    padding: calc(var(--header-h) + 15vh) 0 15vh;
  }

  .hero-band .hero-copy h1 {
    font-size: clamp(2.76rem, 1.265rem + 2.53vw, 3.85rem);
  }

  .hero-band .hero-split-fin {
    max-height: min(20.4rem, 39.1vh);
  }

  .hero-band > .hero-v2-cards-block {
    padding-top: 1rem;
  }

  .section {
    padding: clamp(3.5rem, 8vh, 5.75rem) 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-v2-tray { animation: none !important; }

  .hero-v2-card:hover { transform: none; }
}

/* ---------- Hero finance dashboard (scaled into split hero) ---------- */

.hero-split-fin {
  width: 100%;
  max-width: none;
  aspect-ratio: 560 / 410;
  overflow: visible;
  container-type: inline-size;
  justify-self: stretch;
  align-self: center;
}

.hero-split-fin .hero-fin-wrap {
  position: absolute;
  top: 50%;
  left: 0;
  width: 70rem;
  max-width: none;
  margin: 0;
  padding-top: 0;
  transform: translateY(-50%) scale(calc(100cqi / 70rem));
  transform-origin: left center;
  z-index: 1;
}

.hero-fin-wrap {
  position: relative;
  z-index: 2;
  width: min(70rem, 100%);
  margin: 0 auto 3.5rem;
  padding-top: 0.75rem;
  display: grid;
  gap: 1rem;
}

.hero-fin-kpis,
.hero-fin-ratios,
.hero-fin-charts {
  display: grid;
  gap: 1rem;
}

.hero-fin-kpis { grid-template-columns: repeat(4, 1fr); }

.hero-fin-ratios { grid-template-columns: repeat(3, 1fr); }

.hero-fin-charts {
  grid-template-columns: 1.55fr 1fr;
  align-items: stretch;
}

.hero-fin-charts .hero-fin-float {
  display: flex;
  min-height: 0;
}

.hero-fin-float {
  min-width: 0;
  animation: heroFinFloat 5.8s ease-in-out infinite;
  will-change: transform;
}

.hero-fin-float.f1 { animation-duration: 5.6s; }

.hero-fin-float.f2 { animation-duration: 6.2s; animation-delay: 0.45s; }

.hero-fin-float.f3 { animation-duration: 5.9s; animation-delay: 0.9s; }

.hero-fin-float.f4 { animation-duration: 6.4s; animation-delay: 1.25s; }

.hero-fin-float.f5 { animation-duration: 6.6s; animation-delay: 0.3s; }

.hero-fin-float.f6 { animation-duration: 5.7s; animation-delay: 0.85s; }

.hero-fin-float.f7 { animation-duration: 6.3s; animation-delay: 1.4s; }

.hero-fin-float.f8 { animation-duration: 7.2s; animation-delay: 0.2s; }

.hero-fin-float.f9 { animation-duration: 6.8s; animation-delay: 0.75s; }

@keyframes heroFinFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.625rem); }
}

.hero-fin-kpi,
.hero-fin-ratio,
.hero-fin-chart {
  background: #fff;
  border-radius: 1rem;
  box-shadow:
  0 0.625rem 1.75rem rgba(20, 45, 100, 0.08),
  0 2px 0.375rem rgba(20, 45, 100, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.95);
  transition: box-shadow 0.25s ease;
}

.hero-fin-kpi:hover,
.hero-fin-ratio:hover,
.hero-fin-chart:hover {
  box-shadow: 0 1rem 2.25rem rgba(20, 50, 110, 0.14);
}

.hero-fin-kpi {
  position: relative;
  overflow: hidden;
  padding: 1.125rem 1.125rem 1rem;
}

.hero-fin-kpi-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.625rem;
}

.hero-fin-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: #7b8798;
  letter-spacing: 0.01em;
}

.hero-fin-kpi strong,
.hero-fin-ratio strong {
  display: block;
  margin: 0.5rem 0 0.375rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink-900);
  line-height: 1.1;
}

.hero-fin-delta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: #16a34a;
}

.hero-fin-delta svg {
  width: 0.6875rem;
  height: 0.6875rem;
}

.hero-fin-ico {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hero-fin-ico.round { border-radius: 50%; }

.hero-fin-ico svg { width: 1.125rem; height: 1.125rem; }

.accent-blue .hero-fin-ico { background: #3b82f6; }

.accent-green .hero-fin-ico { background: #22c55e; }

.accent-purple .hero-fin-ico { background: #8b5cf6; }

.accent-orange .hero-fin-ico { background: #f59e0b; }

.hero-fin-ico.pale-blue { background: #dbeafe; }

.hero-fin-ico.pale-teal { background: #ccfbf1; }

.hero-fin-ico.pale-green { background: #dcfce7; }

.hero-fin-accent {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.25rem;
  display: block;
}

.accent-blue .hero-fin-accent { background: #3b82f6; }

.accent-green .hero-fin-accent { background: #22c55e; }

.accent-purple .hero-fin-accent { background: #8b5cf6; }

.accent-orange .hero-fin-accent { background: #f59e0b; }

.hero-fin-ratio {
  position: relative;
  padding: 1.25rem 1.125rem 1.125rem;
  min-height: 8rem;
}

.hero-fin-ratio .hero-fin-ico {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.hero-fin-ratio strong {
  font-size: 1.7rem;
  margin: 0.625rem 0 0.5rem;
}

.hero-fin-sub {
  font-size: 0.8rem;
  color: #8a93a3;
  font-weight: 500;
}

.hero-fin-chart {
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  min-height: 0;
}

.hero-fin-chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.hero-fin-chart-head h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink-900);
}

.hero-fin-chart-head p {
  margin: 0.1875rem 0 0;
  font-size: 0.76rem;
  color: #8a93a3;
}

.hero-fin-pills {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.hero-fin-pills span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3125rem 0.625rem;
  border-radius: 62.4375rem;
}

.pill-rev {
  background: #3b82f6;
  color: #fff;
}

.pill-ni {
  background: #dcfce7;
  color: #15803d;
}

.hero-fin-trend-svg {
  display: block;
  width: 100%;
  height: auto;
}

.hero-fin-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 0.25rem;
  padding-left: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
}

.hero-fin-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.hero-fin-legend i {
  display: block;
  width: 0.75rem;
  height: 0.5rem;
  border-radius: 2px;
}

.lg-bar { background: #3b82f6; }

.lg-ni {
  height: 0;
  border-top: 2px solid #22c55e;
  background: none;
  width: 0.875rem;
}

.lg-eb {
  height: 0;
  border-top: 2px dashed #8b5cf6;
  background: none;
  width: 0.875rem;
}

.hero-fin-donut-stage {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  min-height: 0;
}

.hero-fin-donut-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

@media (max-width: 980px) {
  .hero-fin-kpis { grid-template-columns: repeat(2, 1fr); }

  .hero-fin-ratios { grid-template-columns: 1fr; }

  .hero-fin-charts { grid-template-columns: 1fr; }

  .hero-fin-wrap { margin-bottom: 2.5rem; }

  .hero-split-fin .hero-fin-kpis { grid-template-columns: repeat(4, 1fr); }

  .hero-split-fin .hero-fin-ratios { grid-template-columns: repeat(3, 1fr); }

  .hero-split-fin .hero-fin-charts { grid-template-columns: 1.55fr 1fr; }

  .hero-split-fin .hero-fin-wrap { margin-bottom: 0; }
}

@media (max-width: 900px) {
  .hero-band .hero { overflow-x: hidden; }

  .hero-split-fin {
    max-width: 48rem;
    width: 100%;
    margin: 2rem auto 0;
    transform: none;
    justify-self: center;
    overflow: hidden;
  }
}

@media (max-width: 560px) {
  .hero-fin-kpis { grid-template-columns: 1fr; }

  .hero-fin-kpi strong,
  .hero-fin-ratio strong { font-size: 1.4rem; }

  .hero-fin-chart { padding: 1rem 0.875rem 0.75rem; }

  .hero-fin-float { animation-duration: 6s; }

  .hero-split-fin .hero-fin-kpis { grid-template-columns: repeat(4, 1fr); }

  .hero-split-fin .hero-fin-kpi strong,
  .hero-split-fin .hero-fin-ratio strong { font-size: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-fin-float { animation: none !important; }

  .hero-fin-trend-svg .bar-anim { transform: none; }

  .line-anim { stroke-dashoffset: 0; }

  .line-fade,
  .dot-anim,
  .hero-fin-donut-svg circle { opacity: 1; }
}

/* ---------- Solutions hub, mega nav, and detail pages ---------- */

.nav-item:has(.dropdown-mega) {
  position: static;
}

.dropdown.dropdown-mega {
  display: grid;
  grid-template-columns: repeat(3, minmax(10.5rem, 1fr));
  gap: 0.25rem 0.75rem;
  min-width: min(47.5rem, calc(100vw - 3rem));
  width: max-content;
  max-width: calc(100% - 0.5rem);
  padding: 1rem 0.875rem 0.875rem;
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(0.5rem);
  z-index: 120;
}

.dropdown.dropdown-mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 0.875rem;
}

.nav-item.open .dropdown.dropdown-mega,
.nav-item:hover .dropdown.dropdown-mega {
  transform: translateX(-50%) translateY(0);
}

.dropdown.dropdown-mega.dropdown-mega-end {
  left: 50%;
  right: auto;
}

.dropdown.dropdown-mega:has(> .drop-mega-col:nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(12rem, 1fr));
}

.dropdown.dropdown-mega .drop-mega-col {
  min-width: 0;
}

.dropdown.dropdown-mega a {
  padding: 0.4375rem 0.625rem;
  font-size: 0.88rem;
}

.dropdown a.drop-label {
  color: var(--ink-400);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.625rem 0.375rem;
}

.dropdown a.drop-label:hover {
  color: var(--blue-600);
  background: transparent;
  transform: none;
}

.sol-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 1.125rem;
}

.sol-crumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.sol-crumb a:hover { color: #fff; }

.sol-hub-grid .tile {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  min-height: 100%;
  background: #fff;
  padding-right: 2.25rem;
}

.sol-hub-grid .tile h3 {
  color: var(--ink-900);
}

.sol-hub-grid .tile p {
  color: var(--ink-500);
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  margin-bottom: 0;
}

.sol-card-go {
  position: absolute;
  top: 1.35rem;
  right: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0;
  border-radius: 999px;
  background: rgba(53, 104, 245, 0.08);
  color: var(--blue-600);
  font-size: 0;
  gap: 0;
}

.sol-card-go svg {
  width: 0.85rem;
  height: 0.85rem;
}

a.pillar-tab.ph-tab {
  text-decoration: none;
  display: inline-block;
}

/* Transform on .reveal would trap position:sticky inside the wrap. */

.ph-tabs-wrap.reveal,
.ph-tabs-wrap.reveal.visible {
  opacity: 1;
  transform: none;
}

.platform-highlights .container {
  display: flex;
  flex-direction: column;
}

.platform-highlights .container > * {
  min-width: 0;
}

.platform-highlights .ph-head {
  order: 0;
}

/* ========== Contained tab bar (same shape every page; theme follows section) ========== */
.ph-tabs-sticky {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 0.35rem 0 0.5rem;
  background: transparent;
  box-shadow: none;
  filter: none;
  order: 1;
}

.ph-tabs-sticky::before {
  display: none;
}

/* Shared pill shape — theme color is set per section below */
.ph-tabs-sticky .ph-tabs,
.ph-tabs {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.375rem;
  overflow: visible;
  border: none;
  border-radius: 0.625rem;
  box-shadow: none;
  filter: none;
  padding: 0.15rem 0.9rem 0;
}

/* Light sections only — soft blue pill (never on dark SuiteApps etc.) */
.highlights-light .ph-tabs,
.highlights-light .ph-tabs-sticky .ph-tabs,
.sol-detail .highlights-light .ph-tabs-sticky .ph-tabs,
.page-products .highlights-light .ph-tabs-sticky .ph-tabs {
  background: #e8eef8;
  box-shadow: none;
  filter: none;
}

/* Dark sections (e.g. Products SuiteApps): solid navy pill */
.platform-highlights:not(.highlights-light) .ph-tabs,
.platform-highlights:not(.highlights-light) .ph-tabs-sticky .ph-tabs,
.role-highlights .ph-tabs,
.role-highlights .ph-tabs-sticky .ph-tabs {
  background: #0d2740;
  box-shadow: none;
  filter: none;
}

.highlights-light .ph-tabs-sticky,
.sol-detail .highlights-light .ph-tabs-sticky,
.page-products .highlights-light .ph-tabs-sticky,
.platform-highlights:not(.highlights-light) .ph-tabs-sticky,
.platform-highlights:not(.highlights-light) .ph-tabs-sticky.is-stuck {
  background: transparent;
  box-shadow: none;
  filter: none;
  padding: 0.35rem 0 0.5rem;
}

/* Light section tab labels */
.highlights-light .pillar-tab.ph-tab,
.sol-detail .highlights-light .pillar-tab.ph-tab,
.page-products .highlights-light .pillar-tab.ph-tab,
.highlights-light a.pillar-tab.ph-tab {
  color: #64748b;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: none;
  filter: none;
}

.highlights-light .pillar-tab.ph-tab:hover,
.sol-detail .highlights-light .pillar-tab.ph-tab:hover,
.page-products .highlights-light .pillar-tab.ph-tab:hover,
.highlights-light a.pillar-tab.ph-tab:hover {
  color: #0f172a;
}

.highlights-light .pillar-tab.ph-tab.active,
.sol-detail .highlights-light .pillar-tab.ph-tab.active,
.page-products .highlights-light .pillar-tab.ph-tab.active,
.highlights-light a.pillar-tab.ph-tab.active {
  color: var(--blue-600);
  font-weight: 600;
}

.highlights-light .pillar-tab.ph-tab.active::after,
.sol-detail .highlights-light .pillar-tab.ph-tab.active::after,
.page-products .highlights-light .pillar-tab.ph-tab.active::after,
.highlights-light a.pillar-tab.ph-tab.active::after {
  background: var(--blue-600);
}

/* Dark section tab labels */
.platform-highlights:not(.highlights-light) .pillar-tab.ph-tab,
.platform-highlights:not(.highlights-light) a.pillar-tab.ph-tab {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: none;
  filter: none;
}

.platform-highlights:not(.highlights-light) .pillar-tab.ph-tab:hover,
.platform-highlights:not(.highlights-light) a.pillar-tab.ph-tab:hover {
  color: rgba(255, 255, 255, 0.9);
}

.platform-highlights:not(.highlights-light) .pillar-tab.ph-tab.active,
.platform-highlights:not(.highlights-light) a.pillar-tab.ph-tab.active {
  color: #fff;
  font-weight: 600;
}

.platform-highlights:not(.highlights-light) .pillar-tab.ph-tab.active::after,
.platform-highlights:not(.highlights-light) a.pillar-tab.ph-tab.active::after {
  background: #fff;
}

.ph-tabs-sticky .pillar-tab.ph-tab {
  flex-shrink: 0;
}

.ph-tabs-sticky .ph-tabs::-webkit-scrollbar {
  display: none;
}

.ph-panels {
  overflow-anchor: none;
  min-height: 32rem;
}

.ph-panel.industry-panel {
  animation: tabPanelIn 0.38s var(--ease-out);
}

@keyframes tabPanelIn {
  from { opacity: 0; transform: translateY(0.6rem); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ph-panel.industry-panel { animation: none; }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none !important;
  }
}

.sol-detail #industry-browse,
.sol-detail #role-browse,
.sol-detail #improve-browse,
.sol-detail #modules-browse,
.sol-detail #suiteapps-browse,
.sol-detail #integrations-browse,
.sol-detail #services-browse,
.sol-detail #cases-browse,
.sol-detail #resources-browse {
  scroll-margin-top: calc(var(--header-h) + 3.25rem);
}

/* Solution pages have no section title above the tabs — don't leave that empty band. */
.sol-detail .platform-highlights.section {
  /* + the tab shell's 0.35rem = the same 32px header-to-tabs gap as Products */
  padding-top: 1.65rem;
  padding-bottom: clamp(3.25rem, 6vw, 5rem);
}

.sol-detail .ph-tabs-wrap {
  min-height: 0;
  margin-top: 0;
}

/* Same bar-to-content gap as Products so the pinned tab bar never sits on the panel */
.sol-detail .ph-panels {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
}

/* Tab browsing: collapse hero for first paint (seamless), then JS restores it
with scroll compensation so up-scroll still reaches the hero. */

html.sol-tab-nav,
html.tab-hash-nav {
  scroll-behavior: auto !important;
  background: #f4f7fb;
}

html.sol-tab-nav .page-hero,
html.tab-hash-nav .page-hero {
  display: none;
}

html.tab-hash-nav .ph-head {
  display: none;
}

html.sol-tab-nav .platform-highlights,
html.sol-tab-nav .sol-detail .platform-highlights.section,
html.tab-hash-nav .platform-highlights {
  padding-top: calc(var(--header-h) + 0.55rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

html.sol-tab-nav:has(.highlights-light) .site-header.on-dark:not(.scrolled),
html.tab-hash-nav .site-header.on-dark:not(.scrolled) {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(220, 229, 240, 0.9);
  box-shadow: none;
}

html.sol-tab-nav:has(.highlights-light) .site-header.on-dark:not(.scrolled) .main-nav > a,
html.sol-tab-nav:has(.highlights-light) .site-header.on-dark:not(.scrolled) .nav-item > button,
html.sol-tab-nav:has(.highlights-light) .site-header.on-dark:not(.scrolled) .nav-item > a.nav-parent,
html.tab-hash-nav .site-header.on-dark:not(.scrolled) .main-nav > a,
html.tab-hash-nav .site-header.on-dark:not(.scrolled) .nav-item > button,
html.tab-hash-nav .site-header.on-dark:not(.scrolled) .nav-item > a.nav-parent {
  color: var(--ink-700);
}

html.sol-tab-nav:has(.highlights-light) .site-header.on-dark:not(.scrolled) .main-nav > a:hover,
html.sol-tab-nav:has(.highlights-light) .site-header.on-dark:not(.scrolled) .main-nav > a.active,
html.sol-tab-nav:has(.highlights-light) .site-header.on-dark:not(.scrolled) .nav-item > button:hover,
html.sol-tab-nav:has(.highlights-light) .site-header.on-dark:not(.scrolled) .nav-item > button.active,
html.sol-tab-nav:has(.highlights-light) .site-header.on-dark:not(.scrolled) .nav-item > a.nav-parent:hover,
html.sol-tab-nav:has(.highlights-light) .site-header.on-dark:not(.scrolled) .nav-item > a.nav-parent.active,
html.tab-hash-nav .site-header.on-dark:not(.scrolled) .main-nav > a:hover,
html.tab-hash-nav .site-header.on-dark:not(.scrolled) .main-nav > a.active,
html.tab-hash-nav .site-header.on-dark:not(.scrolled) .nav-item > button:hover,
html.tab-hash-nav .site-header.on-dark:not(.scrolled) .nav-item > button.active,
html.tab-hash-nav .site-header.on-dark:not(.scrolled) .nav-item > a.nav-parent:hover,
html.tab-hash-nav .site-header.on-dark:not(.scrolled) .nav-item > a.nav-parent.active {
  color: var(--blue-600);
}

html.sol-tab-nav:has(.highlights-light) .site-header.on-dark:not(.scrolled) .brand-word,
html.tab-hash-nav .site-header.on-dark:not(.scrolled) .brand-word {
  color: var(--ink-900);
}

html.sol-tab-nav:has(.highlights-light) .site-header.on-dark:not(.scrolled) .nav-toggle span,
html.tab-hash-nav .site-header.on-dark:not(.scrolled) .nav-toggle span {
  background: var(--ink-900);
}

.sol-detail .ph-copy > h3 {
  display: block;
}

.sol-detail .ph-copy > .ph-lead {
  display: block;
  margin-bottom: 0.85rem;
}

.sol-detail .ph-copy > .ph-num {
  margin-bottom: 0.75rem;
}

@media (max-width: 860px) {
  .dropdown.dropdown-mega {
    display: none;
    grid-template-columns: 1fr;
    min-width: 0;
    width: 100%;
    padding: 0.25rem 0 0.625rem 0.5rem;
    left: auto;
    right: auto;
    transform: none !important;
    box-shadow: none;
    border: none;
    position: static;
    opacity: 1;
    z-index: auto;
  }

  .dropdown.dropdown-mega::before { display: none; }

  .nav-item:hover .dropdown.dropdown-mega {
    display: none;
  }

  .nav-item.open .dropdown.dropdown-mega,
  .nav-item.open:hover .dropdown.dropdown-mega {
    display: grid;
  }

  .dropdown.dropdown-mega .drop-mega-col {
    display: contents;
  }
}

@media (max-width: 1024px) {
  .sol-hub-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Why Choose FxCloudio (home) ---------- */

.why-choose {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(42rem 28rem at 8% 12%, rgba(53, 104, 245, 0.09), transparent 58%),
    radial-gradient(36rem 24rem at 92% 88%, rgba(31, 196, 216, 0.08), transparent 55%),
    linear-gradient(180deg, #f4f7fb 0%, #eef3f9 48%, #f7f9fc 100%);
  color: var(--ink-900);
}

.why-choose-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(6, 18, 46, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 18, 46, 0.035) 1px, transparent 1px);
  background-size: 3.25rem 3.25rem;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.7;
}

.why-choose-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.why-choose-intro {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding-top: 0.25rem;
}

.why-choose-intro .eyebrow {
  color: var(--blue-600);
}

.why-choose-intro h2 {
  font-size: clamp(2.125rem, 3.68vw, 2.935rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
  max-width: 16ch;
}

.why-choose-intro .lead {
  color: var(--ink-700);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 1.5rem;
  max-width: 28rem;
}

.why-choose-promise {
  margin: 0;
  padding: 0 0 0 1.125rem;
  border-left: 2px solid var(--blue-500);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--navy-700);
  max-width: 26rem;
}

.why-reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(26, 52, 116, 0.1);
}

.why-reason {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1.15rem;
  padding: 2rem 1.5rem 2rem 0;
  border-bottom: 1px solid rgba(26, 52, 116, 0.1);
}

.why-reason:nth-child(odd) {
  padding-right: 1.85rem;
  border-right: 1px solid rgba(26, 52, 116, 0.1);
}

.why-reason:nth-child(even) {
  padding-left: 1.85rem;
}

.why-reason-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: rgba(53, 104, 245, 0.4);
  padding-top: 0.15rem;
  transition: color 0.3s ease;
}

.why-reason:hover .why-reason-num {
  color: var(--blue-500);
}

.why-reason-body h3 {
  position: relative;
  display: inline-block;
  font-size: 1.14rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--ink-900);
  transition: color 0.3s ease;
}

.why-reason-body h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.why-reason:hover .why-reason-body h3 {
  color: var(--blue-600);
}

.why-reason:hover .why-reason-body h3::after {
  transform: scaleX(1);
}

.why-reason-body p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.62;
  color: var(--ink-500);
  transition: color 0.3s ease;
}

.why-reason:hover .why-reason-body p {
  color: var(--ink-700);
}

@media (max-width: 1024px) {
  .why-choose-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .why-choose-intro {
    position: static;
    max-width: 40rem;
  }

  .why-choose-intro h2 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .why-reasons {
    grid-template-columns: 1fr;
  }

  .why-reason,
  .why-reason:nth-child(odd),
  .why-reason:nth-child(even) {
    padding: 1.5rem 0;
    border-right: none;
  }
}

/* Feature headlines: force two-line split */
.platform-section .feature-copy h3 .h-line { display: block; }

/* One Platform rows: fixed copy + card widths, centred as a unit so the gap reads the same in every row */
@media (min-width: 1025px) {
  .platform-section .feature-row {
    grid-template-columns: minmax(0, 33rem) minmax(0, 28rem);
    justify-content: center;
    gap: clamp(3rem, 6vw, 6rem);
  }

  .platform-section .feature-row.reverse {
    grid-template-columns: minmax(0, 28rem) minmax(0, 33rem);
  }

  .platform-section .feature-row .fv-card {
    max-width: none;
    min-height: 14rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* Solution pages: tabs sit at the very top of the section, right in the top-right glow —
   drop that glow so the tab bar reads as one flat colour like Products/Services. */
.sol-detail .highlights-light {
  background:
    radial-gradient(43.75rem 25rem at 5% 100%, rgba(31, 196, 216, 0.07), transparent 50%),
    linear-gradient(180deg, #f4f7fb 0%, #eef3f9 50%, #f7f9fc 100%);
}

/* ---------- Logo (V1 / V2 trial) ---------- */
.brand-logo { height: 3rem; width: auto; display: block; }
.site-footer .brand-logo { height: 45px; }
.site-header.on-dark:not(.scrolled) .brand-logo--v1 { content: url(../img/logo/logo-v1-white.svg); }
.site-header.on-dark:not(.scrolled) .brand-logo--v2 { content: url(../img/logo/logo-v2-white.svg); }
body.nav-open .site-header.on-dark:not(.scrolled) .brand-logo--v1 { content: url(../img/logo/logo-v1.svg); }
body.nav-open .site-header.on-dark:not(.scrolled) .brand-logo--v2 { content: url(../img/logo/logo-v2.svg); }
