/* ============================================
   FlexiAres – Premium Enterprise SaaS Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --color-primary: #0B1220;
  --color-primary-hover: #162033;
  --color-accent: #0F9F8A;
  --color-accent-hover: #0B7F6E;
  --color-accent-tint: #E8FAF6;
  --color-accent-soft: rgba(15, 159, 138, 0.12);
  --color-text: #0B1220;
  --color-text-secondary: #3D4B63;
  --color-text-muted: #6B7A90;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F7FB;
  --color-bg-elevated: #FFFFFF;
  --color-border: #E2E8F0;
  --color-border-strong: #CBD5E1;
  --color-glow: rgba(15, 159, 138, 0.18);
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-xs: 0.78rem;
  --text-sm: 0.9rem;
  --text-base: 1.0125rem;
  --text-lg: 1.125rem;
  --text-display: clamp(2.4rem, 5.5vw, 3.6rem);
  --text-h2: clamp(1.65rem, 3vw, 2.15rem);
  --lead-max: 40rem;
  --copy-max: 42rem;
  --spacing: 1.25rem;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.25rem;
  --space-5: 1.75rem;
  --space-6: 2.5rem;
  --max-width: 1180px;
  --radius: 0.75rem;
  --radius-lg: 1.125rem;
  --radius-xl: 1.25rem;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 18, 32, 0.06);
  --shadow-lg: 0 18px 48px rgba(11, 18, 32, 0.1);
  --shadow-glow: 0 0 0 1px rgba(15, 159, 138, 0.08), 0 12px 32px rgba(15, 159, 138, 0.12);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --section-y: clamp(4.5rem, 8vw, 7.5rem);
  --header-h: 4.25rem;
  --btn-min-height: 2.85rem;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0125rem;
  line-height: 1.65;
  color: var(--color-text);
  background:
    radial-gradient(1200px 480px at 12% -10%, rgba(15, 159, 138, 0.07), transparent 55%),
    radial-gradient(900px 420px at 92% 0%, rgba(59, 130, 246, 0.05), transparent 50%),
    var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
video,
iframe,
svg {
  max-width: 100%;
  height: auto;
}

/* Skip link – visible on focus for keyboard/accessibility */
.skip-link {
  position: absolute;
  top: -3rem;
  left: var(--spacing);
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius);
  z-index: 100;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: var(--spacing);
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Layout */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(1.35) blur(18px);
  -webkit-backdrop-filter: saturate(1.35) blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
  padding: 0.85rem 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled,
.site-header--glass.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 30px rgba(11, 18, 32, 0.06);
  border-bottom-color: rgba(226, 232, 240, 0.95);
}

.site-header .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 1rem;
}

.site-logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo:hover {
  color: var(--color-accent);
}

.site-logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: nowrap;
}

.site-nav > ul > li {
  flex-shrink: 0;
}

.site-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.site-nav a:hover,
.site-nav a.nav-active,
.site-nav .nav-dropdown-trigger.nav-active {
  color: var(--color-accent);
}

.site-nav a.nav-active,
.site-nav .nav-dropdown-trigger.nav-active {
  border-bottom-color: var(--color-accent);
}

/* Nav dropdown / mega menus */
.site-nav .nav-item-dropdown {
  position: relative;
}

/* Anchor large mega panels to the header shell so they stay on-screen */
.site-nav .nav-item-dropdown:has(> .nav-mega),
.site-nav .nav-item-dropdown--mega {
  position: static;
}

.site-nav .nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  padding: 0;
  padding-bottom: 4px;
  margin-bottom: -2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.site-nav .nav-dropdown-trigger:hover,
.site-nav .nav-item-dropdown[aria-expanded="true"] .nav-dropdown-trigger {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.site-nav .nav-dropdown-trigger svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.site-nav .nav-item-dropdown[aria-expanded="true"] .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.site-nav .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  margin-top: 0;
  min-width: 220px;
  padding: 0.5rem 0;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
  list-style: none;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.site-nav .nav-item-dropdown[aria-expanded="true"] .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav .nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  border-bottom: none;
  margin-bottom: 0;
}

.site-nav .nav-dropdown-menu a:hover {
  background: var(--color-accent-tint);
  color: var(--color-accent);
}

.site-nav .nav-phone-wrap {
  margin-left: 0.15rem;
  order: 98;
}

.site-nav .nav-cta-wrap {
  margin-left: 0.5rem;
  order: 99;
}

.site-nav .nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: none;
  padding: 0.35rem 0.15rem;
}

.site-nav .nav-phone:hover,
.site-nav .nav-phone.nav-active {
  color: var(--color-accent);
  border-bottom-color: transparent;
}

.site-nav .nav-phone svg {
  width: 1rem;
  height: 1rem;
}

.site-nav .nav-cta-wrap .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
}

main {
  margin: 0;
  padding: 0;
  min-height: 60vh;
}

/* Page content wrapper for non-home pages */
.page-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem var(--spacing);
}

.page-content h1 {
  margin-bottom: 0.5rem;
}

.page-content p {
  max-width: 65ch;
  color: var(--color-text-secondary);
}

.page-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 3rem var(--spacing) 2rem;
  margin-top: 4rem;
}

.site-footer .inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2rem 1.25rem;
  align-items: start;
  padding-bottom: 0;
  border-bottom: 0;
}

.site-footer--expanded .footer-grid {
  padding-bottom: 0;
  border-bottom: 0;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.footer-heading {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links li:last-child {
  margin-bottom: 0;
}

.footer-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

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

.footer-links a.footer-cta {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: white;
  font-weight: 500;
  border-radius: var(--radius);
}

.footer-links a.footer-cta:hover {
  background: var(--color-primary-hover);
  color: white;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer-copy {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal a {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Typography */
h1, h2, h3, h4 {
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

/* Buttons & links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--btn-min-height);
  padding: 0.85rem 1.45rem;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(180deg, #14B8A0 0%, var(--color-accent) 100%);
  color: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 10px 24px rgba(15, 159, 138, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
  box-shadow: 0 12px 28px rgba(11, 127, 110, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-primary);
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  color: var(--color-accent-hover);
  border-color: var(--color-accent);
  background: var(--color-accent-tint);
  box-shadow: var(--shadow-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid transparent;
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--color-accent-tint);
  color: var(--color-accent-hover);
  box-shadow: none;
  transform: none;
}

.btn svg {
  width: 1rem;
  height: 1rem;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.landing-logo-item:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Forms (prototype – Laravel will add validation classes) */
input[type="text"],
input[type="email"],
textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

/* ============================================
   Home page sections
   ============================================ */

.section {
  padding: var(--section-y) var(--spacing);
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.section + .section,
.hero + .section {
  padding-top: var(--section-y);
}

.section p {
  max-width: 65ch;
}

.section-alt {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, #EEF2F7 100%);
  border-block: 1px solid rgba(226, 232, 240, 0.8);
}

.section-accent-tint {
  background:
    radial-gradient(700px 280px at 80% 0%, rgba(15, 159, 138, 0.1), transparent 60%),
    var(--color-accent-tint);
}

.section-title {
  font-size: var(--text-h2);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-text);
  text-align: center;
  margin: 0 auto 0.85rem;
  max-width: 22ch;
}

/* Hero */
.hero {
  padding: clamp(4rem, 9vw, 6.5rem) var(--spacing) clamp(3.5rem, 7vw, 5.5rem);
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 auto 1.15rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(15, 159, 138, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-accent-hover);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--color-text);
  margin: 0 auto 1.25rem;
  max-width: 18ch;
}

.hero-subline {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0 auto 0.85rem;
  max-width: 42rem;
}

.hero-credibility {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0 auto 1.15rem;
  max-width: 36rem;
}

.hero-support {
  font-size: 0.98rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0 auto 1.75rem;
  max-width: 40rem;
}

.hero-ctas {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-trust {
  list-style: none;
  margin: 1.35rem auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 40rem;
}

.hero-trust li {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-text-secondary);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.hero-image {
  margin-top: 3.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(145deg, #0B1220 0%, #16324A 48%, #0F9F8A 140%);
  aspect-ratio: 21 / 9;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(11, 18, 32, 0.28)),
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12), transparent 40%);
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.hero-image--placeholder .cms-media-chrome {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.hero-image--placeholder .cms-media-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  color: rgba(248, 250, 252, 0.86);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Who Is For - Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0;
  text-decoration: none;
  color: var(--color-text);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.card:hover {
  border-color: rgba(15, 159, 138, 0.45);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.card-image {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, #E8EEF7, #F5F7FB 40%, #E8FAF6);
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease-out);
}

.card:hover .card-image img {
  transform: scale(1.04);
}

.card-title {
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0;
  padding: 1.2rem 1.25rem 1.35rem;
  letter-spacing: -0.015em;
}

.card-body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.card-body .card-title {
  padding: 0;
}

.card-desc {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Platform section (homepage – branded workspace OS) */
.section-platform .platform-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.section-platform .card .card-body {
  padding: 1.25rem;
}

.section-platform .card .card-desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0 0 0.5rem;
}

.section-platform .card-title {
  margin-bottom: 0.5rem;
}

/* Pillars */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 0;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

a.pillar {
  cursor: pointer;
}

.pillar:hover {
  border-color: rgba(15, 159, 138, 0.4);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.pillar:hover .pillar-hint {
  color: var(--color-accent-hover);
}

.pillar-image {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, #E8EEF7, #F5F7FB 42%, #E8FAF6);
  overflow: hidden;
}

.pillar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease-out);
}

.pillar:hover .pillar-image img {
  transform: scale(1.03);
}

.pillar-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 1.35rem 1.35rem 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  border: 1px solid rgba(15, 159, 138, 0.16);
  background: var(--color-accent-tint);
  color: var(--color-accent);
}

.pillar-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.pillar-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem 1.35rem 1.4rem;
  flex: 1;
}

.pillar-title {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: 1.35;
}

.pillar-desc {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.55;
}

.pillar-hint {
  margin-top: auto;
  padding-top: 0.55rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--color-text-muted);
  letter-spacing: -0.01em;
}

/* Why Choose - Bullets */
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 560px;
  margin: 0 auto;
}

.why-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.why-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* Enterprise */
.enterprise-copy {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: clamp(4.5rem, 8vw, 6.5rem) var(--spacing);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 360px at 50% 0%, rgba(15, 159, 138, 0.16), transparent 55%),
    linear-gradient(180deg, #0B1220 0%, #122033 100%);
  color: #F8FAFC;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
}

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

.final-cta .final-cta-eyebrow,
.final-cta .section-kicker {
  color: #5EEAD4;
}

.final-cta h2,
.final-cta .final-cta-heading {
  color: #F8FAFC;
  margin: 0 auto 0.85rem;
  max-width: 18ch;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
}

.final-cta p {
  color: rgba(248, 250, 252, 0.78);
  font-size: 1.1rem;
  margin: 0 auto 1.75rem;
  max-width: 38rem;
}

.final-cta .btn {
  background: #F8FAFC;
  color: #0B1220;
}

.final-cta .btn:hover {
  background: #FFFFFF;
  color: #0B1220;
}

.final-cta .btn-secondary {
  background: transparent;
  color: #F8FAFC;
  border-color: rgba(248, 250, 252, 0.28);
}

.final-cta .btn-secondary:hover {
  background: rgba(248, 250, 252, 0.08);
  border-color: #5EEAD4;
  color: #5EEAD4;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.final-cta-neutral {
  background: var(--color-bg-alt);
  color: var(--color-text);
  border-block: 1px solid var(--color-border);
}

.final-cta-neutral::before,
.final-cta-neutral .final-cta-glow,
.final-cta-neutral .final-cta-float {
  display: none;
}

.final-cta-neutral .final-cta-eyebrow,
.final-cta-neutral .section-kicker {
  color: var(--color-accent-hover);
}

.final-cta-neutral h2,
.final-cta-neutral .final-cta-heading {
  color: var(--color-text);
}

.final-cta-neutral p,
.final-cta-neutral .final-cta-copy {
  color: var(--color-text-secondary);
}

.final-cta-neutral .btn,
.final-cta-neutral .btn-primary {
  background: linear-gradient(180deg, #14B8A0 0%, var(--color-accent) 100%);
  color: #fff;
  border-color: var(--color-accent);
}

.final-cta-neutral .btn:hover,
.final-cta-neutral .btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
}

.final-cta-neutral .btn-secondary {
  background: #fff;
  color: var(--color-primary);
  border-color: var(--color-border-strong);
}

.final-cta-neutral .btn-secondary:hover {
  background: var(--color-accent-tint);
  border-color: var(--color-accent);
  color: var(--color-accent-hover);
}

/* Form layout */
.form-section {
  max-width: 32rem;
  margin-top: 1.5rem;
}

.form-section p {
  margin: 0 0 1rem;
}

.form-section p.mt-2 {
  margin-top: 1rem;
}

.form-section label {
  display: block;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.form-section input,
.form-section textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  box-sizing: border-box;
}

.form-section textarea {
  min-height: 6rem;
}

/* Modules list */
.modules-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.modules-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.modules-list li:last-child {
  border-bottom: none;
}

.modules-list strong {
  color: var(--color-text);
}

/* ============================================
   Modules page
   ============================================ */

.modules-hero {
  max-width: 720px;
}

/* How the modular model works – tighter, supporting context */
.how-modular-section {
  padding: 3rem var(--spacing);
}

.how-modular-section .section-title {
  margin-bottom: 1.25rem;
  font-size: 1.375rem;
}

/* How Modular Works */
.how-modular {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.how-modular-step {
  flex: 1;
  min-width: 160px;
  max-width: 220px;
  padding: 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-align: center;
}

.how-modular-number {
  display: block;
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.75rem;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 2rem;
  text-align: center;
}

.how-modular-step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.how-modular-arrow {
  flex-shrink: 0;
  padding-top: 2rem;
  color: var(--color-text-muted);
  font-size: 1.25rem;
}

/* Module groups */
.module-group {
  margin-bottom: 3rem;
}

.module-group:last-child {
  margin-bottom: 0;
}

.module-group-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.25rem;
}

.module-group-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
}

.module-group-platform {
  margin-top: 3.5rem;
}

.section-modules-content {
  padding-top: 5rem;
}

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

.module-card {
  display: flex;
  gap: 1rem;
  padding: 1.35rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  cursor: pointer;
}

.module-card:hover {
  border-color: rgba(15, 159, 138, 0.45);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.module-card:hover .module-card-link {
  color: var(--color-accent);
}

.module-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  background: var(--color-accent-tint);
  border: 1px solid rgba(15, 159, 138, 0.18);
  border-radius: 0.85rem;
}

.module-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--color-accent);
}

.module-card-content {
  flex: 1;
  min-width: 0;
}

.module-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--color-text);
}

.module-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.module-card-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.why-modular {
  max-width: 480px;
}

/* ============================================
   Module detail page (e.g. Billing & Invoicing)
   ============================================ */

.module-detail-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(3.25rem, 6vw, 5rem) 0 clamp(2.75rem, 5vw, 4rem);
  text-align: left;
}

.module-detail-hero-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

.module-detail-hero-copy {
  max-width: 36rem;
}

.module-detail-h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 1rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.module-detail-h2 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 500;
  color: var(--color-primary);
  margin: 0 0 1.25rem;
  line-height: 1.55;
  max-width: 34rem;
}

.module-detail-intro {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--color-text-secondary);
  margin: 0;
  max-width: 34rem;
}

.module-detail-intro p {
  margin: 0 0 1rem;
  line-height: inherit;
}

.module-detail-intro p:last-child {
  margin-bottom: 0;
}

.module-detail-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.module-detail-hero-ctas .btn {
  min-height: 2.95rem;
  padding-inline: 1.45rem;
}

.page-hero-image {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  border-radius: var(--radius-xl, var(--radius-lg));
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 1px solid rgba(15, 23, 42, 0.08);
  aspect-ratio: 16 / 9;
  max-width: none;
  box-shadow: var(--shadow-lg);
}

.page-hero-image.cms-media-frame {
  margin-bottom: 0;
  min-height: 0;
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-section-image {
  margin-top: 1.75rem;
  border-radius: var(--radius-xl, var(--radius-lg));
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 1px solid rgba(15, 23, 42, 0.08);
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-md);
}

.page-section-image.cms-media-frame {
  margin-bottom: 0;
  min-height: 0;
  max-width: none;
}

.page-section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.module-detail-content > .page-section-image {
  margin-top: 1.75rem;
}

.module-detail-body-copy,
.module-detail-lead {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--color-text-secondary);
  max-width: 36rem;
  margin: 0 0 1.35rem;
}

.module-detail-body-copy p {
  margin: 0 0 1rem;
  line-height: inherit;
  max-width: none;
}

.module-detail-body-copy p:last-child {
  margin-bottom: 0;
}

.module-prose {
  max-width: 36rem;
}

.module-prose .module-detail-section-title {
  margin-bottom: 1rem;
}

.module-prose .module-detail-body-copy,
.module-prose .module-detail-lead,
.module-prose .enterprise-copy,
.module-prose .why-list {
  max-width: none;
}

.integration-logo {
  width: 160px;
  height: 60px;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-alt);
}

.integration-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.blog-card-image {
  aspect-ratio: 16 / 10;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-alt);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-post-featured-image {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-alt);
  aspect-ratio: 21 / 9;
}

.blog-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border, rgba(0, 0, 0, 0.08));
}

.blog-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.blog-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.75rem;
}

.blog-card h2 a {
  color: inherit;
  text-decoration: none;
}

.blog-card h2 a:hover {
  color: var(--color-primary);
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  color: var(--color-muted, #6b7280);
  font-size: 0.9375rem;
  margin: 0 0 1rem;
}

.blog-lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-muted, #4b5563);
  margin: 0 0 1rem;
}

.back-to-blog {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.back-to-blog:hover {
  text-decoration: underline;
}

.blog-post-header {
  padding: 2rem 0 0;
}

.blog-post-header h1 {
  margin: 0 0 1rem;
}

.blog-post-content {
  padding-bottom: 3rem;
}

.blog-post-content h2 {
  margin-top: 2rem;
}

.blog-filters {
  max-width: 36rem;
}

.module-detail-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

/* Nested inside .section (already a max-width rail) — avoid double gutters */
.section > .module-detail-content,
.cms-block > .module-detail-content,
article.section > .module-detail-content {
  max-width: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.module-detail-section-title {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin: 0 0 0.85rem;
  line-height: 1.3;
  max-width: 36rem;
}

.module-detail-section-title-center {
  text-align: center;
  margin-bottom: 2rem;
}

/* Key capabilities – 2-column grid, single column on narrow */
.capability-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 100%;
  margin: 0;
  width: 100%;
}

.capability-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.5rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  text-align: left;
}

.capability-card:hover {
  border-color: rgba(15, 159, 138, 0.45);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.capability-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  background: var(--color-accent-tint);
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 159, 138, 0.16);
}

.capability-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke: var(--color-accent);
}

.capability-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.3;
}

.capability-desc {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* NPS / score classification tables on module feature-story pages */
.module-theme .score-bands-table {
  width: 100%;
  max-width: 28rem;
  margin: 1.5rem 0;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.module-theme .score-bands-table th,
.module-theme .score-bands-table td {
  padding: 0.7rem 1rem;
  text-align: left;
  border: 1px solid var(--color-border);
}

.module-theme .score-bands-table thead th {
  background: var(--color-bg-alt);
  color: var(--module-ink);
  font-weight: 650;
}

.module-theme .score-bands-table tbody tr:nth-child(even) {
  background: rgba(248, 250, 252, 0.8);
}

.module-theme .enterprise-copy ul {
  margin: 1rem 0 1.25rem;
  padding-left: 1.25rem;
  max-width: 65ch;
}

.module-theme .enterprise-copy li {
  margin: 0.45rem 0;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.module-theme .enterprise-copy p {
  max-width: 65ch;
}


.module-detail-why {
  margin: 0;
  max-width: 40rem;
  text-align: left;
}

.module-detail-content .enterprise-copy,
.module-detail-content .module-detail-why,
.module-detail-content .why-list {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 36rem;
}

.module-detail-content .enterprise-copy {
  margin-bottom: 1.35rem;
  line-height: 1.85;
}

.module-detail-content .why-list li {
  line-height: 1.75;
  padding-block: 0.7rem;
  padding-left: 1.75rem;
}

.module-detail-content .why-list li::before {
  width: 0.45rem;
  height: 0.45rem;
  top: 1.15rem;
  transform: none;
}

/* Works best with – horizontal list / small cards */
.explore-modules {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.explore-modules-all {
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.explore-modules-all:hover {
  color: var(--color-accent);
}

.works-best-with {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.works-best-item {
  padding: 1rem 1.25rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.works-best-item a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.works-best-item a:hover {
  color: var(--color-accent);
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  padding: 1rem 0 0;
  max-width: none;
  margin: 0;
}

.breadcrumb-nav .module-detail-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

.back-to-modules {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-to-modules:hover {
  color: var(--color-accent);
}

.breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.breadcrumb-nav a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: var(--color-accent);
}

.breadcrumb-nav li[aria-hidden="true"] {
  color: var(--color-text-muted);
  opacity: 0.7;
}

/* Utility */
.text-muted { color: var(--color-text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* ============================================
   Responsive – multi-screen adaptiveness
   ============================================ */

@media (max-width: 768px) {
  .site-header .inner {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .site-nav ul {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .hero {
    padding: 3rem var(--spacing) 4rem;
  }

  .section-modules-content {
    padding-top: 3.5rem;
  }

  .hero-headline {
    font-size: 1.875rem;
    line-height: 1.3;
  }

  .hero-subline {
    font-size: 1rem;
  }

  .hero-credibility {
    font-size: 0.875rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 18rem;
    text-align: center;
  }

  .hero-image {
    margin-top: 2rem;
    aspect-ratio: 16 / 9;
  }

  .section {
    padding: 2.5rem var(--spacing);
  }

  .section + .section,
  .hero + .section {
    padding-top: 3rem;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.35;
  }

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

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

  .why-list {
    padding: 0 var(--spacing);
  }

  .enterprise-copy {
    font-size: 1rem;
    padding: 0 var(--spacing);
  }

  .final-cta {
    padding: 4rem var(--spacing);
  }

  .site-footer {
    margin-top: 3rem;
    padding: 2rem var(--spacing) 1.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding-bottom: 2rem;
  }

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

  .site-nav .nav-dropdown-menu {
    left: 0;
    transform: none;
  }

  .site-nav .nav-item-dropdown[aria-expanded="true"] .nav-dropdown-menu {
    transform: none;
  }

  .page-content {
    padding: 2rem var(--spacing);
  }

  .page-content h1 {
    font-size: 1.75rem;
  }

  .page-content h2 {
    font-size: 1.375rem;
    margin-top: 1.5rem;
  }

  .how-modular {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .how-modular-step {
    max-width: none;
    min-width: 0;
  }

  .how-modular-arrow {
    padding-top: 0;
    padding-left: 1rem;
    transform: rotate(90deg);
    align-self: center;
  }

  .module-cards {
    grid-template-columns: 1fr;
  }

  .module-group {
    margin-bottom: 2rem;
  }

  .how-modular-section {
    padding: 2rem var(--spacing);
  }

  .module-group-platform {
    margin-top: 2.5rem;
  }

  .module-detail-hero {
    padding: 2.75rem 0 3rem;
  }

  .module-detail-h1 {
    font-size: 1.875rem;
  }

  .module-detail-h2 {
    font-size: 1.125rem;
  }

  .breadcrumb-nav {
    padding: 0.75rem 0 0;
  }

  .breadcrumb-list {
    font-size: 0.8125rem;
    gap: 0.375rem;
  }

  .capability-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .capability-card {
    padding: 1.25rem;
  }

  .works-best-with {
    flex-direction: column;
  }
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav-mega:has(.nav-mega-cluster) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  :root {
    --spacing: 0.75rem;
  }

  .hero-headline {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.375rem;
  }

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

/* ============================================
   Premium CMS Block Library
   Shared visual language for all marketing blocks
   ============================================ */

.cms-block {
  position: relative;
  isolation: isolate;
}

.cms-block--premium {
  padding: var(--section-y) 0;
}

.cms-block .cms-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

.cms-theme-dark {
  background:
    radial-gradient(900px 380px at 70% -10%, rgba(15, 159, 138, 0.18), transparent 55%),
    linear-gradient(180deg, #0B1220 0%, #121C2E 100%);
  color: #F8FAFC;
}

.cms-theme-dark .cms-heading,
.cms-theme-dark .cms-item-title,
.cms-theme-dark h1,
.cms-theme-dark h2,
.cms-theme-dark h3 {
  color: #F8FAFC;
}

.cms-theme-dark .cms-copy,
.cms-theme-dark .cms-subheading,
.cms-theme-dark .cms-item-body {
  color: rgba(248, 250, 252, 0.74);
}

.cms-theme-muted,
.cms-theme-soft {
  background: linear-gradient(180deg, #F5F7FB 0%, #EEF2F7 100%);
}

.cms-spacing-compact { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.cms-spacing-spacious { padding-block: clamp(5.5rem, 10vw, 8.5rem); }
.cms-spacing-default { padding-block: var(--section-y); }

.cms-width-narrow .cms-shell { max-width: 760px; }
.cms-width-wide .cms-shell { max-width: 1280px; }

.cms-align-center .cms-intro,
.cms-align-center .cms-actions {
  text-align: center;
  margin-inline: auto;
}

.cms-align-center .cms-actions,
.cms-align-center .cms-badges,
.cms-align-center .cms-trust {
  justify-content: center;
}

.cms-align-center .cms-copy {
  margin-inline: auto;
}

.cms-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.9rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(15, 159, 138, 0.2);
  background: rgba(232, 250, 246, 0.85);
  color: var(--color-accent-hover);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cms-intro {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.cms-heading {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.cms-subheading {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.cms-copy {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 42rem;
}

.cms-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  list-style: none;
  padding: 0;
}

.cms-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
}

.cms-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.cms-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius);
  border: 1px dashed var(--color-border-strong);
  background: rgba(255, 255, 255, 0.65);
  color: var(--color-text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1rem;
  margin: 0 0 1.75rem;
}

.cms-item {
  position: relative;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.cms-item:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 159, 138, 0.4);
  box-shadow: var(--shadow-glow);
}

.cms-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  border-radius: 0.8rem;
  background: var(--color-accent-tint);
  border: 1px solid rgba(15, 159, 138, 0.16);
  color: var(--color-accent);
}

.cms-item-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.cms-item-value {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-primary);
}

.cms-item-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.cms-item-body {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.cms-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cms-media-frame {
  position: relative;
  margin: 0 0 1.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background:
    linear-gradient(145deg, #0F172A 0%, #1E293B 45%, #0F9F8A 160%);
  min-height: 14rem;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.cms-media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.14), transparent 35%),
    linear-gradient(180deg, transparent 50%, rgba(11, 18, 32, 0.35));
  pointer-events: none;
}

.cms-media-chrome {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  display: flex;
  gap: 0.35rem;
  z-index: 2;
}

.cms-media-chrome span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.cms-media-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  color: rgba(248, 250, 252, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 1.5rem;
}

.cms-media-frame img,
.cms-media-frame iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}

.cms-type-meta {
  display: none;
}

.cms-reveal {
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.cms-reveal.is-pending {
  opacity: 0;
  transform: translateY(14px);
}

.cms-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .cms-reveal,
  .cms-reveal.is-pending,
  .card,
  .module-card,
  .cms-item,
  .capability-card,
  .btn {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 1rem;
}

.stat-card {
  text-align: center;
  padding: 1.6rem 1.1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 159, 138, 0.3);
  box-shadow: var(--shadow-glow);
}

.stat-card .cms-item-icon {
  margin: 0 auto 0.85rem;
}

.stat-value {
  margin: 0 0 0.35rem;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-primary);
  background: linear-gradient(120deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

/* FAQ accordion */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(15, 159, 138, 0.35);
  box-shadow: var(--shadow-glow);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease-out);
  flex-shrink: 0;
}

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

.faq-answer {
  margin: 0;
  padding: 0 1.25rem 1.2rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Section lead helper */
.section-lead {
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: var(--lead-max);
}

.section-lead.align-left {
  margin-left: 0;
  text-align: left;
}

.section-lead .section-title,
.section-lead .module-detail-section-title {
  margin-bottom: 0.75rem;
}

.section-lead .enterprise-copy {
  margin: 0 auto;
  max-width: var(--copy-max);
}

.section-lead.align-left .enterprise-copy {
  margin-left: 0;
}

.section-lead .cms-kicker {
  margin-bottom: 0.85rem;
}

.feature-grid .section-lead .enterprise-copy {
  margin-bottom: 0;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin: 0 auto;
}

.final-cta-copy {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
}

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cms-media-frame {
    min-height: 11rem;
  }
}

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

  .cms-actions .btn,
  .hero-ctas .btn,
  .final-cta-actions .btn {
    width: 100%;
  }
}

.cms-trust-item img {
  max-height: 1.75rem;
  width: auto;
  display: block;
  filter: grayscale(1);
  opacity: 0.78;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.cms-trust-item:hover img {
  filter: none;
  opacity: 1;
}

.page-section-image.cms-media-frame img {
  position: relative;
  z-index: 1;
}

/* ============================================
   Enterprise Hero — Flagship
   ============================================ */

.cms-block--enterprise-hero {
  padding: 0 !important;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  overflow: clip;
  background: #F4F7FB;
}

.eh {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.eh-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.eh-gradient {
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(42% 38% at 18% 22%, rgba(15, 159, 138, 0.28), transparent 70%),
    radial-gradient(36% 34% at 82% 18%, rgba(59, 130, 246, 0.22), transparent 68%),
    radial-gradient(40% 40% at 70% 78%, rgba(15, 159, 138, 0.12), transparent 70%),
    linear-gradient(165deg, #EEF3F9 0%, #F8FBFF 42%, #F3F7FB 100%);
  animation: eh-gradient 16s ease-in-out infinite alternate;
}

@keyframes eh-gradient {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to { transform: translate3d(1.5%, 1.5%, 0) scale(1.04); }
}

.eh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
  animation: eh-drift 14s ease-in-out infinite alternate;
}

.eh-orb--a {
  width: 30rem;
  height: 30rem;
  left: -8rem;
  top: -5rem;
  background: rgba(15, 159, 138, 0.32);
}

.eh-orb--b {
  width: 26rem;
  height: 26rem;
  right: -6rem;
  top: 8%;
  background: rgba(37, 99, 235, 0.2);
  animation-delay: -4s;
}

.eh-orb--c {
  width: 18rem;
  height: 18rem;
  right: 18%;
  bottom: 8%;
  background: rgba(94, 234, 212, 0.18);
  animation-delay: -7s;
}

.eh-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 18%, transparent 72%);
  opacity: 0.9;
}

@keyframes eh-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(2.5%, 3%, 0) scale(1.07); }
}

.eh-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(5.5rem, 9vh, 7rem) var(--spacing) 1.5rem;
}

.eh-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.eh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.eh-kicker-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(15, 159, 138, 0.18);
  animation: eh-pulse 2.2s ease-in-out infinite;
}

@keyframes eh-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

.eh-headline {
  margin: 0 0 1rem;
  font-size: clamp(2.55rem, 5.2vw, 3.85rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 13ch;
}

.eh-lede {
  margin: 0 0 0.85rem;
  font-size: clamp(1.08rem, 1.9vw, 1.25rem);
  line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 34rem;
}

.eh-support {
  margin: 0 0 1.6rem;
  color: var(--color-text-muted);
  max-width: 32rem;
  line-height: 1.7;
}

.eh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.eh-trust-label {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.eh-trust-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
}

.eh-trust-item,
.eh-trust-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  color: var(--color-text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
}

.eh-trust-mark span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 0.2rem;
  background: linear-gradient(135deg, #94A3B8, #0F9F8A);
}

.eh-stage {
  position: relative;
  min-height: clamp(26rem, 58vh, 34rem);
  padding: 1.25rem 0.75rem 1.5rem 1.5rem;
}

.eh-glow {
  position: absolute;
  inset: 12% 8% 8% 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 159, 138, 0.35), transparent 68%);
  filter: blur(28px);
  animation: eh-glow 7s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes eh-glow {
  from { opacity: 0.55; transform: scale(0.96); }
  to { opacity: 0.95; transform: scale(1.05); }
}

.eh-mock {
  position: relative;
  z-index: 1;
  width: min(100%, 36rem);
  margin-left: auto;
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 28%),
    #0B1220;
  box-shadow:
    0 40px 90px rgba(11, 18, 32, 0.35),
    0 18px 40px rgba(15, 159, 138, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transform: perspective(1400px) rotateY(-8deg) rotateX(5deg) translateY(0);
  transition: transform 0.55s var(--ease-out);
  animation: eh-mock-float 7s ease-in-out infinite alternate;
}

@keyframes eh-mock-float {
  from { transform: perspective(1400px) rotateY(-8deg) rotateX(5deg) translateY(0); }
  to { transform: perspective(1400px) rotateY(-5deg) rotateX(3deg) translateY(-10px); }
}

.eh-stage:hover .eh-mock {
  transform: perspective(1400px) rotateY(-3deg) rotateX(2deg) translateY(-4px);
  animation-play-state: paused;
}

.eh-mock-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.eh-mock-chrome span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.eh-mock-url {
  margin-left: 0.75rem;
  color: rgba(248, 250, 252, 0.55);
  font-size: 0.75rem;
}

.eh-mock-body {
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  min-height: 23rem;
}

.eh-mock-nav {
  padding: 1rem 0.7rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.eh-nav-pill {
  height: 1.55rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
}

.eh-nav-pill.is-active {
  background: linear-gradient(135deg, rgba(15, 159, 138, 0.7), rgba(59, 130, 246, 0.35));
  box-shadow: 0 0 16px rgba(94, 234, 212, 0.25);
}

.eh-mock-main {
  padding: 1rem;
}

.eh-mock-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.eh-mock-title {
  color: #F8FAFC;
  font-weight: 600;
  font-size: 0.95rem;
}

.eh-mock-chip {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5EEAD4;
  background: rgba(15, 159, 138, 0.18);
  border: 1px solid rgba(94, 234, 212, 0.25);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.55rem;
}

.eh-mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.eh-mock-kpi {
  padding: 0.7rem 0.65rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.eh-mock-kpi span {
  display: block;
  font-size: 0.68rem;
  color: rgba(248, 250, 252, 0.55);
  margin-bottom: 0.25rem;
}

.eh-mock-kpi strong {
  color: #F8FAFC;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.eh-mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 8.75rem;
  padding: 0.75rem;
  border-radius: 0.85rem;
  background:
    linear-gradient(180deg, rgba(94, 234, 212, 0.05), transparent),
    rgba(255, 255, 255, 0.035);
  margin-bottom: 0.85rem;
}

.eh-bar {
  flex: 1;
  height: var(--h);
  border-radius: 0.35rem 0.35rem 0.15rem 0.15rem;
  background: linear-gradient(180deg, #5EEAD4, #0F9F8A 70%, #0B7F6E);
  box-shadow: 0 0 14px rgba(94, 234, 212, 0.2);
  animation: eh-bar 2.8s ease-in-out infinite alternate;
}

.eh-bar:nth-child(2n) { animation-delay: -0.6s; }
.eh-bar:nth-child(3n) { animation-delay: -1.2s; }

@keyframes eh-bar {
  from { transform: scaleY(0.92); transform-origin: bottom; }
  to { transform: scaleY(1.05); transform-origin: bottom; }
}

.eh-mock-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.eh-panel {
  height: 3.9rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.eh-panel--wide {
  grid-column: 1 / -1;
  height: 3rem;
}

.eh-mock-shot {
  min-height: 16rem;
  border-radius: 0.75rem;
  background-size: cover;
  background-position: center;
}

.eh-float {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    0 12px 30px rgba(11, 18, 32, 0.1),
    0 0 0 1px rgba(15, 159, 138, 0.04);
  animation: eh-float 5.8s ease-in-out infinite alternate;
  max-width: 11.5rem;
}

.eh-float--occupancy { top: 4%; left: 0; }
.eh-float--revenue { top: 18%; right: -0.25rem; animation-delay: -1.1s; }
.eh-float--rooms { top: 42%; left: -0.75rem; animation-delay: -2.1s; }
.eh-float--visitors { bottom: 28%; right: -0.5rem; animation-delay: -2.8s; }
.eh-float--ai { bottom: 12%; left: 8%; animation-delay: -3.4s; }
.eh-float--tickets { top: 62%; right: 8%; animation-delay: -4.2s; }

@keyframes eh-float {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

.eh-float-copy {
  min-width: 0;
}

.eh-float-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.eh-float-value {
  margin: 0.1rem 0;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  line-height: 1.1;
}

.eh-float-meta {
  margin: 0;
  font-size: 0.76rem;
  color: var(--color-text-secondary);
  line-height: 1.35;
}

.eh-float-icon {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(15, 159, 138, 0.16), rgba(59, 130, 246, 0.08));
  color: var(--color-accent);
  border: 1px solid rgba(15, 159, 138, 0.16);
  flex-shrink: 0;
}

.eh-float-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.eh-float-mobile-row {
  display: none;
}

.eh-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: clamp(1.75rem, 4vh, 2.75rem);
  padding: 1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

.eh-metric {
  text-align: center;
  padding: 0.55rem 0.35rem;
}

.eh-metric + .eh-metric {
  border-left: 1px solid rgba(226, 232, 240, 0.95);
}

.eh-metric-value {
  margin: 0 0 0.2rem;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-primary);
}

.eh-metric-label {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  .eh-gradient,
  .eh-orb,
  .eh-glow,
  .eh-mock,
  .eh-float,
  .eh-bar,
  .eh-kicker-dot {
    animation: none !important;
  }
}

/* Problem → Solution */
.cms-block--problem-solution {
  padding: var(--section-y) 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FB 100%);
}

.ps-timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem;
  align-items: stretch;
  max-width: 56rem;
  margin: 0 auto;
}

.ps-node {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.ps-node--before { background: linear-gradient(180deg, #FFF7F5, #FFFFFF); }
.ps-node--after { background: linear-gradient(180deg, #E8FAF6, #FFFFFF); }

.ps-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  margin-bottom: 1rem;
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.ps-node--after .ps-icon {
  background: var(--color-accent-tint);
  color: var(--color-accent);
}

.ps-icon svg { width: 1.35rem; height: 1.35rem; }

.ps-step {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.ps-title {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.ps-body {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.ps-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--color-accent);
}

.ps-line {
  width: 2px;
  flex: 1;
  min-height: 1.5rem;
  background: linear-gradient(180deg, transparent, var(--color-accent), transparent);
}

.ps-arrow {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-accent-tint);
  border: 1px solid rgba(15, 159, 138, 0.25);
  animation: ps-bounce 1.8s ease-in-out infinite;
}

@keyframes ps-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Business outcomes */
.cms-block--business-outcomes {
  background:
    radial-gradient(700px 280px at 10% 0%, rgba(15, 159, 138, 0.08), transparent 55%),
    #FFFFFF;
}

.bo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}

.bo-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
}

.bo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 159, 138, 0.4);
  box-shadow: var(--shadow-glow);
}

.bo-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 0.95rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
  background:
    linear-gradient(145deg, rgba(15, 159, 138, 0.16), rgba(15, 159, 138, 0.05));
  border: 1px solid rgba(15, 159, 138, 0.18);
}

.bo-icon svg { width: 1.3rem; height: 1.3rem; }

.bo-title {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.bo-body {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Dashboard showcase */
.cms-block--dashboard-showcase {
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(15, 159, 138, 0.2), transparent 55%),
    linear-gradient(180deg, #0B1220 0%, #121C2E 100%);
  color: #F8FAFC;
}

.cms-block--dashboard-showcase .section-title,
.cms-block--dashboard-showcase .cms-heading {
  color: #F8FAFC;
}

.cms-block--dashboard-showcase .enterprise-copy {
  color: rgba(248, 250, 252, 0.72);
}

.ds-stage {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
}

.ds-frame {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  background: #0A101C;
}

.ds-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ds-chrome span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.ds-url {
  margin-left: 0.75rem;
  font-size: 0.75rem;
  color: rgba(248, 250, 252, 0.5);
}

.ds-screen {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
}

.ds-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ds-ui {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  min-height: 22rem;
}

.ds-ui-side {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.ds-ui-main { padding: 1rem; }

.ds-ui-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.ds-ui-card {
  height: 4.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ds-ui-chart {
  height: 8rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 0.85rem;
  position: relative;
  overflow: hidden;
}

.ds-ui-line {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 28%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #5EEAD4, transparent);
  box-shadow: 0 0 18px rgba(94, 234, 212, 0.55);
  animation: ds-scanline 3.5s ease-in-out infinite;
}

@keyframes ds-scanline {
  0%, 100% { transform: translateY(18px); opacity: 0.4; }
  50% { transform: translateY(-28px); opacity: 1; }
}

.ds-ui-table {
  display: grid;
  gap: 0.45rem;
}

.ds-ui-table div {
  height: 0.85rem;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.05);
}

.ds-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 18, 32, 0.35));
  pointer-events: none;
}

.ds-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 28%;
  top: -30%;
  background: linear-gradient(180deg, transparent, rgba(94, 234, 212, 0.08), transparent);
  animation: ds-sweep 5s linear infinite;
  pointer-events: none;
}

@keyframes ds-sweep {
  from { top: -30%; }
  to { top: 110%; }
}

.ds-callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 2;
}

.ds-callout--1 { top: 18%; left: -0.5rem; }
.ds-callout--2 { top: 28%; right: -0.5rem; }
.ds-callout--3 { bottom: 22%; left: 4%; }
.ds-callout--4 { bottom: 16%; right: 2%; }

.ds-hotspot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: #5EEAD4;
  box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.55);
  animation: ds-pulse 2s ease-out infinite;
  flex-shrink: 0;
}

@keyframes ds-pulse {
  0% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(94, 234, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); }
}

.ds-label {
  padding: 0.7rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 0.15rem;
  min-width: 9.5rem;
}

.ds-label strong {
  font-size: 0.86rem;
  color: #F8FAFC;
}

.ds-label span {
  font-size: 0.78rem;
  color: rgba(248, 250, 252, 0.65);
}

/* Industry cards */
.cms-block--industry-cards {
  padding: var(--section-y) 0;
  background: linear-gradient(180deg, #F5F7FB 0%, #FFFFFF 100%);
}

.ic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1rem;
}

.ic-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
}

.ic-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 159, 138, 0.4);
  box-shadow: var(--shadow-glow);
}

.ic-art {
  position: relative;
  height: 7.5rem;
  border-radius: 0.95rem;
  margin-bottom: 1.1rem;
  overflow: hidden;
  background: linear-gradient(145deg, #E8EEF7, #E8FAF6);
}

.ic-blob {
  position: absolute;
  width: 8rem;
  height: 8rem;
  right: -1.5rem;
  top: -1.5rem;
  border-radius: 50%;
  background: rgba(15, 159, 138, 0.18);
}

.ic-icon {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-accent);
  border: 1px solid rgba(15, 159, 138, 0.18);
}

.ic-icon svg { width: 1.2rem; height: 1.2rem; }

.ic-title {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.ic-body {
  margin: 0 0 1rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  flex: 1;
}

.ic-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-accent-hover);
  font-weight: 600;
  font-size: 0.92rem;
}

.ic-link svg { width: 1rem; height: 1rem; }

/* Content section variants */
.cms-block--content-section {
  padding: var(--section-y) 0;
}

.cs-variant-1 {
  background: linear-gradient(180deg, #FFFFFF, #F5F7FB);
}

.cs-variant-2 {
  background:
    radial-gradient(800px 320px at 70% 0%, rgba(15, 159, 138, 0.16), transparent 55%),
    linear-gradient(180deg, #0B1220, #152033);
  color: #F8FAFC;
}

.cs-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.cs-feature {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.cs-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.cs-feature-icon {
  width: 3.1rem;
  height: 3.1rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(15, 159, 138, 0.18), rgba(59, 130, 246, 0.08));
  color: var(--color-accent);
}

.cs-feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
}

.cs-feature p {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.cs-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.cs-highlight {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.cs-variant-2 .cs-highlight h2 {
  color: #F8FAFC;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
}

.cs-variant-2 .cs-highlight p {
  color: rgba(248, 250, 252, 0.74);
  max-width: 38rem;
  margin: 0 auto 1.5rem;
}

/* Stats XL + FAQ polish */
.stats-grid--hero {
  gap: 1.1rem;
}

.stat-card--xl {
  padding: 2rem 1.25rem;
}

.stat-card--xl .stat-value {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
}

.stat-caption {
  margin: 0.55rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::after {
  display: none;
}

.faq-chevron {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--color-text-muted);
  transition: transform 0.25s var(--ease-out);
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-answer-wrap {
  overflow: hidden;
}

.faq-item summary:hover {
  background: rgba(15, 159, 138, 0.04);
}

/* Premium CTA extras */
.final-cta--premium {
  position: relative;
}

.final-cta-glow {
  position: absolute;
  width: 28rem;
  height: 28rem;
  left: 50%;
  top: -8rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(15, 159, 138, 0.28);
  filter: blur(40px);
  pointer-events: none;
}

.final-cta-float {
  position: absolute;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.final-cta-float--a {
  width: 8rem;
  height: 5rem;
  left: 8%;
  top: 28%;
  transform: rotate(-8deg);
}

.final-cta-float--b {
  width: 6.5rem;
  height: 6.5rem;
  right: 10%;
  bottom: 22%;
  border-radius: 50%;
}

/* Header / footer polish */
.site-header--glass {
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(11, 18, 32, 0.06);
  background: rgba(255, 255, 255, 0.9);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: 0.7rem;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.nav-mega {
  left: 0;
  right: 0;
  width: auto;
  max-width: none;
  min-width: 0;
  margin-inline: 0;
  padding: 0.85rem;
  border-radius: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  gap: 0.35rem 0.75rem;
  max-height: min(72vh, 34rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.nav-mega:has(.nav-mega-cluster) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem 1.15rem;
  align-items: start;
}

.nav-mega a {
  border-radius: 0.7rem;
  padding: 0.65rem 0.75rem !important;
}

.nav-mega-label {
  display: block;
  font-weight: 600;
}

.nav-mega-desc {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.nav-mega-cluster {
  padding: 0.25rem 0.15rem 0.45rem;
  min-width: 0;
}

.nav-mega-cluster + .nav-mega-cluster {
  margin-top: 0;
  border-top: 0;
  padding-top: 0.25rem;
}

.nav-mega-cluster-label {
  display: block;
  padding: 0.35rem 0.5rem 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nav-mega-cluster-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.nav-mega-cluster-list a {
  padding: 0.45rem 0.65rem !important;
}

.site-footer--expanded {
  padding-top: 4.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.55fr);
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
}

.footer-brand-name {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-brand-copy {
  margin: 0 0 1.25rem;
  color: var(--color-text-secondary);
  max-width: 28rem;
  line-height: 1.65;
}

.footer-newsletter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-newsletter input {
  flex: 1;
  min-width: 12rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: #fff;
}

.footer-bottom-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.footer-social {
  list-style: none;
  display: flex;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

.footer-social a {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.65rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-social a:hover {
  color: var(--color-accent);
  border-color: rgba(15, 159, 138, 0.35);
  background: var(--color-accent-tint);
}

.footer-social svg {
  width: 1rem;
  height: 1rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .eh-shell,
  .cs-split,
  .footer-top,
  .ps-timeline {
    grid-template-columns: 1fr;
  }

  .eh-inner {
    padding-top: clamp(5rem, 8vh, 6rem);
  }

  .eh-stage {
    min-height: auto;
    padding: 0;
    order: 2;
  }

  .eh-copy {
    order: 1;
  }

  .eh-mock {
    width: 100%;
    margin: 0;
    transform: none;
    animation: eh-mock-float-mobile 6s ease-in-out infinite alternate;
  }

  @keyframes eh-mock-float-mobile {
    from { transform: translateY(0); }
    to { transform: translateY(-6px); }
  }

  .eh-stage:hover .eh-mock {
    transform: none;
  }

  .eh-float {
    position: static;
    max-width: none;
    animation: none;
  }

  .eh-float--occupancy,
  .eh-float--revenue,
  .eh-float--rooms,
  .eh-float--visitors,
  .eh-float--ai,
  .eh-float--tickets {
    display: none;
  }

  .eh-float-mobile-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: 0.85rem;
  }

  .eh-float--mobile {
    display: flex;
    position: static;
    max-width: none;
    animation: none;
  }

  .eh-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eh-metric:nth-child(2n + 1) {
    border-left: 0;
  }

  .eh-metric:nth-child(n + 3) {
    border-top: 1px solid rgba(226, 232, 240, 0.95);
  }

  .ps-connector {
    flex-direction: row;
    min-height: auto;
    padding: 0.25rem 0;
  }

  .ps-line {
    width: auto;
    flex: 1;
    height: 2px;
    min-height: 0;
  }

  .ds-callout--1,
  .ds-callout--2,
  .ds-callout--3,
  .ds-callout--4 {
    position: static;
    margin: 0.65rem 0 0;
  }

  .ds-stage {
    display: flex;
    flex-direction: column;
  }
}

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

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    width: auto;
    max-height: min(80vh, calc(100dvh - 4.5rem));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    padding: 0.75rem;
    z-index: 130;
  }

  .site-header .inner {
    position: relative;
  }

  .site-nav.is-open { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    flex-wrap: nowrap;
  }

  .site-nav > ul > li {
    width: 100%;
  }

  .site-nav .nav-item-dropdown:has(> .nav-mega),
  .site-nav .nav-item-dropdown--mega {
    position: relative;
  }

  .site-nav .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.7rem 0.65rem;
    font-size: 1rem;
    border-bottom: 0;
    margin-bottom: 0;
    border-radius: 0.65rem;
  }

  .site-nav .nav-dropdown-trigger:hover,
  .site-nav .nav-item-dropdown[aria-expanded="true"] .nav-dropdown-trigger {
    background: var(--color-bg-alt);
    border-bottom-color: transparent;
  }

  .site-nav > ul > li > a {
    display: block;
    padding: 0.7rem 0.65rem;
    border-bottom: 0;
    margin-bottom: 0;
    border-radius: 0.65rem;
  }

  .site-nav > ul > li > a:hover,
  .site-nav > ul > li > a.nav-active {
    background: var(--color-bg-alt);
    border-bottom-color: transparent;
  }

  .site-nav .nav-dropdown-menu {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    margin: 0.15rem 0 0.45rem;
    padding: 0.25rem 0.25rem 0.35rem 0.65rem;
    min-width: 0;
    width: auto;
    max-height: none;
    overflow: visible;
    background: transparent;
  }

  .site-nav .nav-item-dropdown[aria-expanded="true"] .nav-dropdown-menu {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-nav .nav-mega {
    width: auto;
    max-width: none;
    margin-inline: 0;
    left: auto;
    right: auto;
    gap: 0.2rem;
    grid-template-columns: 1fr;
  }

  .site-nav .nav-mega:has(.nav-mega-cluster) {
    grid-template-columns: 1fr;
  }

  .site-nav .nav-phone-wrap,
  .site-nav .nav-cta-wrap {
    margin-left: 0;
    margin-top: 0.35rem;
  }

  .site-nav .nav-cta-wrap .btn,
  .site-nav .nav-phone {
    width: 100%;
    justify-content: center;
  }

  .eh-float { display: none; }

  .eh-float-mobile-row {
    display: grid;
  }

  .eh-float--mobile {
    display: flex !important;
  }

  .eh-stage {
    display: flex;
    flex-direction: column;
  }

  .eh-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .eh-headline {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .eh-float { display: none; }

  .eh-float-mobile-row {
    display: grid;
  }

  .eh-float--mobile {
    display: flex !important;
  }

  .eh-stage {
    display: flex;
    flex-direction: column;
  }

  .eh-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .eh-headline {
    max-width: none;
  }
}
.bp-surface-alt .cms-intro { max-width: 46rem; }
.bp-surface-tint {
  padding: 1.5rem;
  border-radius: 1.25rem;
  background:
    radial-gradient(500px 220px at 90% 0%, rgba(15, 159, 138, 0.12), transparent 60%),
    var(--color-accent-tint);
}
.cms-block--premium > .cms-shell.bp-surface-default {
  padding-block: 0;
}

/* ============================================
   Landing Theme — Home + Platform master styles
   Scoped under main.landing-theme so both pages
   inherit one production-ready visual system.
   ============================================ */

.landing-theme {
  --landing-section-gap: clamp(4.75rem, 9vw, 8rem);
  --landing-lead-max: 40rem;
  --landing-copy-size: 1.0625rem;
  --landing-copy-lh: 1.7;
  --landing-surface-alt:
    radial-gradient(900px 320px at 10% 0%, rgba(15, 159, 138, 0.06), transparent 55%),
    linear-gradient(180deg, #F7F9FC 0%, #EEF2F7 100%);
  --landing-surface-dark:
    radial-gradient(800px 360px at 50% 0%, rgba(15, 159, 138, 0.18), transparent 55%),
    linear-gradient(180deg, #0B1220 0%, #101A2C 100%);
}

.landing-theme > .section,
.landing-theme > .cms-block,
.landing-theme > .final-cta,
.landing-theme > .hero,
.landing-theme > .enterprise-hero {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.landing-theme > .enterprise-hero,
.landing-theme > .hero {
  content-visibility: visible;
}

.landing-theme .section,
.landing-theme .cms-block .cms-shell {
  padding-block: var(--landing-section-gap);
}

.landing-theme .cms-spacing-compact .cms-shell {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.landing-theme .cms-spacing-spacious .cms-shell {
  padding-block: clamp(5rem, 10vw, 8.5rem);
}

.landing-theme .section-lead {
  margin: 0 auto 2.75rem;
  max-width: var(--landing-lead-max);
  text-align: center;
}

.landing-theme .cms-align-left .section-lead,
.landing-theme .section-lead.align-left {
  margin-left: 0;
  text-align: left;
}

.landing-theme .section-title {
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.landing-theme .enterprise-copy,
.landing-theme .section-lead p {
  font-size: var(--landing-copy-size);
  line-height: var(--landing-copy-lh);
  color: var(--color-text-secondary);
  margin: 0 auto;
}

.landing-theme .section-lead-support {
  margin-top: 0.75rem !important;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.landing-theme .cms-kicker,
.landing-theme .section-kicker {
  margin-bottom: 0.85rem;
}

/* Alternating section rhythm without CMS changes */
.landing-theme > .section:nth-of-type(even):not(.stats-section):not(.faq-section),
.landing-theme > .cms-block:nth-child(even of .cms-block):not(.cms-theme-dark):not(.cms-block--dashboard-showcase) {
  background: var(--landing-surface-alt);
}

.landing-theme > .section.landing-logos {
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  background: transparent;
  border-block: 1px solid rgba(226, 232, 240, 0.85);
}

.landing-theme > .section.landing-logos .section-lead {
  margin-bottom: 1.5rem;
}

.landing-theme > .section.landing-logos .section-title {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text-muted);
}

.landing-logo-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
}

.landing-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.5rem;
  min-height: 3rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease-out);
}

.landing-logo-item:hover {
  color: var(--color-primary);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.landing-logo-item img {
  max-height: 1.5rem;
  width: auto;
  filter: grayscale(1) opacity(0.72);
  transition: filter 0.2s ease;
}

.landing-logo-item:hover img {
  filter: none;
}

/* Shared CTA row */
.landing-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.landing-theme .cms-actions {
  gap: 0.85rem;
}

.landing-theme .hero-ctas,
.landing-theme .eh-actions,
.landing-theme .final-cta-actions {
  gap: 0.85rem;
}

.landing-theme .btn {
  min-height: 2.85rem;
  padding-inline: 1.55rem;
}

.landing-theme .btn-primary {
  box-shadow: 0 10px 28px rgba(15, 159, 138, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.landing-theme .btn-secondary {
  backdrop-filter: blur(8px);
}

.landing-theme .cms-theme-dark .btn-secondary,
.landing-theme .final-cta .btn-secondary,
.landing-theme .enterprise-hero .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #F8FAFC;
  border-color: rgba(255, 255, 255, 0.18);
}

.landing-theme .cms-theme-dark .btn-secondary:hover,
.landing-theme .final-cta .btn-secondary:hover,
.landing-theme .enterprise-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(94, 234, 212, 0.55);
  color: #fff;
}

/* Stats polish */
.landing-theme .landing-stats .stats-grid--hero {
  gap: 1rem;
}

.landing-theme .landing-stats .stat-card--xl {
  padding: 1.85rem 1.25rem;
  border-radius: 1.25rem;
  background:
    radial-gradient(280px 120px at 50% 0%, rgba(15, 159, 138, 0.1), transparent 70%),
    rgba(255, 255, 255, 0.96);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
}

.landing-theme .landing-stats .stat-card--xl:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 159, 138, 0.35);
  box-shadow: var(--shadow-glow);
}

/* Module / card grids */
.landing-theme .module-cards,
.landing-theme .ic-grid,
.landing-theme .bo-grid,
.landing-theme .cs-feature-grid {
  gap: 1.15rem;
}

.landing-theme .module-card,
.landing-theme .capability-card,
.landing-theme .ic-card,
.landing-theme .bo-card,
.landing-theme .cms-item {
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
}

.landing-theme .module-card:hover,
.landing-theme .capability-card:hover,
.landing-theme .ic-card:hover,
.landing-theme .bo-card:hover,
.landing-theme .cms-item:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 159, 138, 0.28);
  box-shadow: var(--shadow-md);
}

/* Soft section divider transitions */
.landing-theme > .section + .section,
.landing-theme > .cms-block + .cms-block,
.landing-theme > .section + .cms-block,
.landing-theme > .cms-block + .section {
  position: relative;
}

.landing-theme > .final-cta {
  margin-top: 0;
}

.landing-theme .final-cta--premium {
  padding-block: clamp(5rem, 10vw, 8rem);
}

.landing-theme .final-cta-heading {
  max-width: 16ch;
}

.landing-theme .faq-section .faq-list {
  max-width: 46rem;
  margin-inline: auto;
}

.landing-theme .faq-item {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
}

.landing-theme .faq-item[open] {
  border-color: rgba(15, 159, 138, 0.28);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   Shared product mockup (Home + Platform)
   ============================================ */

.product-mock {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(600px 280px at 80% 0%, rgba(15, 159, 138, 0.16), transparent 55%),
    linear-gradient(180deg, #0E1626 0%, #0A101C 100%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  color: #E2E8F0;
}

.product-mock--xl {
  min-height: 22rem;
}

.product-mock--embedded {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 22rem;
}

.product-mock-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.product-mock-chrome span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.product-mock-chrome span:nth-child(1) { background: #F87171; }
.product-mock-chrome span:nth-child(2) { background: #FBBF24; }
.product-mock-chrome span:nth-child(3) { background: #34D399; }

.product-mock-url {
  margin-left: 0.75rem;
  font-size: 0.72rem;
  color: rgba(248, 250, 252, 0.48);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-mock-body {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  min-height: 20rem;
}

.product-mock-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.product-mock-pill {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.product-mock-pill.is-active {
  background: linear-gradient(90deg, #14B8A6, #2DD4BF);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.35);
}

.product-mock-main {
  padding: 1rem 1.1rem 1.25rem;
}

.product-mock-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}

.product-mock-title {
  font-size: 0.92rem;
  font-weight: 650;
  color: #F8FAFC;
  letter-spacing: -0.02em;
}

.product-mock-chip {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #042F2E;
  background: #5EEAD4;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
}

.product-mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.product-mock-kpi {
  padding: 0.75rem 0.8rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.product-mock-kpi span {
  display: block;
  font-size: 0.68rem;
  color: rgba(248, 250, 252, 0.5);
  margin-bottom: 0.25rem;
}

.product-mock-kpi strong {
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: #F8FAFC;
}

.product-mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 7.5rem;
  padding: 0.85rem;
  margin-bottom: 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(15, 159, 138, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.03);
}

.product-mock-chart .eh-bar {
  flex: 1;
  height: var(--h, 60%);
  border-radius: 0.35rem 0.35rem 0.15rem 0.15rem;
  background: linear-gradient(180deg, #5EEAD4 0%, rgba(15, 159, 138, 0.35) 100%);
  opacity: 0.9;
}

.product-mock-panels {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 0.65rem;
}

.product-mock-panels .eh-panel {
  height: 3.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.product-mock-panels .eh-panel--wide {
  background:
    linear-gradient(90deg, rgba(15, 159, 138, 0.18), transparent 70%),
    rgba(255, 255, 255, 0.04);
}

.ds-frame .product-mock--embedded {
  position: relative;
  z-index: 1;
}

.ds-frame > .ds-glass,
.ds-frame > .ds-scan {
  pointer-events: none;
}

.ds-frame:has(.product-mock--embedded) > .ds-glass {
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(10, 16, 28, 0.55));
  z-index: 2;
}

.ds-frame:has(.product-mock--embedded) > .ds-scan {
  z-index: 3;
}

.landing-theme .ds-callout {
  backdrop-filter: blur(10px);
}

.landing-theme .ds-label {
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Reveal polish on landing pages */
.landing-theme .cms-reveal.is-pending {
  transform: translateY(18px);
}

.landing-theme .cms-reveal.is-visible {
  transition-duration: 0.65s;
}

@media (max-width: 900px) {
  .product-mock-body {
    grid-template-columns: 1fr;
  }

  .product-mock-nav {
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.75rem 1rem;
  }

  .product-mock-pill {
    width: 2.25rem;
  }

  .product-mock-kpis {
    grid-template-columns: 1fr;
  }

  .product-mock-panels {
    grid-template-columns: 1fr;
  }

  .landing-theme .landing-cta-row,
  .landing-theme .final-cta-actions,
  .landing-theme .eh-actions,
  .landing-theme .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-theme .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .landing-theme .section,
  .landing-theme .cms-block .cms-shell {
    padding-block: clamp(3.5rem, 12vw, 5.5rem);
  }

  .landing-theme .section-lead {
    margin-bottom: 1.75rem;
  }

  .landing-logo-item {
    min-width: calc(50% - 0.5rem);
  }

  .product-mock-chart {
    height: 5.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-theme .module-card:hover,
  .landing-theme .capability-card:hover,
  .landing-theme .ic-card:hover,
  .landing-theme .bo-card:hover,
  .landing-theme .cms-item:hover,
  .landing-theme .landing-stats .stat-card--xl:hover,
  .landing-logo-item:hover {
    transform: none;
  }

  .landing-theme > .section,
  .landing-theme > .cms-block,
  .landing-theme > .final-cta {
    content-visibility: visible;
  }
}

/* Hero mock aligned to shared product-mock language */
.landing-theme .eh-mock-chrome span:nth-child(1) { background: #F87171; }
.landing-theme .eh-mock-chrome span:nth-child(2) { background: #FBBF24; }
.landing-theme .eh-mock-chrome span:nth-child(3) { background: #34D399; }

.landing-theme .eh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.landing-theme .eh-support {
  max-width: 36rem;
  color: rgba(226, 232, 240, 0.72);
}

.landing-theme .cms-block--enterprise-hero + .section.landing-logos,
.landing-theme .cms-block--enterprise-hero + .landing-logos {
  margin-top: -0.5rem;
}

/* ============================================
   Solution Theme — master template for every
   industry / vertical solution page.
   Distinct from Landing Theme: editorial,
   left-led narrative, numbered challenges,
   playbook rhythm — same design tokens.
   ============================================ */

.solution-theme {
  --solution-rail: #0F766E;
  --solution-ink: #0B1220;
  --solution-surface:
    linear-gradient(180deg, #F8FAFC 0%, #EEF4F8 100%);
  --solution-surface-deep:
    linear-gradient(135deg, #0B1220 0%, #123044 48%, #0F766E 140%);
  --solution-lead-max: 44rem;
  --solution-section-y: clamp(4.25rem, 8vw, 6.75rem);
  --solution-gap: 1.25rem;
}

.solution-theme {
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(15, 118, 110, 0.07), transparent 55%),
    radial-gradient(700px 360px at 100% 8%, rgba(30, 64, 175, 0.05), transparent 50%),
    var(--color-bg);
}

.solution-theme > .section,
.solution-theme > .cms-block,
.solution-theme > .final-cta {
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}

.solution-theme > .cms-block--split-hero,
.solution-theme > .solution-hero {
  content-visibility: visible;
}

.solution-theme .section,
.solution-theme .cms-block .cms-shell {
  padding-block: var(--solution-section-y);
}

.solution-theme .section-lead {
  margin: 0 0 2.5rem;
  max-width: var(--solution-lead-max);
  text-align: left;
}

.solution-theme .cms-align-center .section-lead,
.solution-theme .solution-showcase .section-lead,
.solution-theme .solution-cta .section-lead {
  margin-inline: auto;
  text-align: center;
}

.solution-theme .section-title,
.solution-theme .cms-heading {
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.solution-theme .cms-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  background: rgba(15, 118, 110, 0.08);
  color: #0F766E;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solution-theme .cms-kicker::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--solution-rail);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
}

.solution-theme .enterprise-copy,
.solution-theme .cms-subheading,
.solution-theme .cms-copy {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Editorial split hero — not the landing flagship spectacle */
.solution-theme .cms-block--split-hero,
.solution-theme .solution-hero {
  position: relative;
  overflow: hidden;
  background: var(--solution-surface-deep);
  color: #F8FAFC;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.solution-theme .cms-block--split-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 40%, black 10%, transparent 70%);
  pointer-events: none;
}

.solution-theme .cms-block--split-hero .cms-shell {
  position: relative;
  z-index: 1;
  padding-block: clamp(4.5rem, 10vw, 7rem);
}

.solution-theme .cms-block--split-hero .cs-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.solution-theme .cms-block--split-hero .cms-kicker {
  border-color: rgba(94, 234, 212, 0.28);
  background: rgba(15, 118, 110, 0.22);
  color: #99F6E4;
}

.solution-theme .cms-block--split-hero .cms-kicker::before {
  background: #5EEAD4;
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.2);
}

.solution-theme .solution-hero-title {
  margin: 0.85rem 0 1rem;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 780;
  letter-spacing: -0.04em;
  color: #F8FAFC;
  max-width: 16ch;
}

.solution-theme .cms-block--split-hero .cms-subheading,
.solution-theme .cms-block--split-hero .cms-copy {
  color: rgba(226, 232, 240, 0.82);
  max-width: 38rem;
}

.solution-theme .solution-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.solution-theme .cms-block--split-hero .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #F8FAFC;
  border-color: rgba(255, 255, 255, 0.18);
}

.solution-theme .cms-block--split-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(94, 234, 212, 0.5);
  color: #fff;
}

.solution-theme .solution-hero-mock {
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transform-origin: left center;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

/* Numbered industry challenges — playbook feel */
.solution-theme .solution-challenges {
  background: var(--solution-surface);
  border-block: 1px solid rgba(226, 232, 240, 0.9);
}

.solution-challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--solution-gap);
  counter-reset: none;
}

.solution-challenge-card {
  position: relative;
  padding: 1.5rem 1.4rem 1.45rem 1.35rem;
  border-radius: 1.1rem;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease, box-shadow 0.25s ease;
}

.solution-challenge-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #0F766E, #38BDF8);
}

.solution-challenge-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, 0.3);
  box-shadow: var(--shadow-md);
}

.solution-challenge-index {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  color: #0F766E;
}

.solution-challenge-title {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--solution-ink);
}

.solution-challenge-body {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Solve section — stronger timeline contrast */
.solution-theme .solution-solve {
  background: #fff;
}

.solution-theme .solution-solve .ps-timeline {
  max-width: 920px;
  margin-inline: 0;
}

.solution-theme .solution-solve .ps-node--before {
  background:
    linear-gradient(180deg, #FFF7F5 0%, #FFFFFF 100%);
  border-color: rgba(239, 68, 68, 0.18);
}

.solution-theme .solution-solve .ps-node--after {
  background:
    linear-gradient(180deg, #F0FDFA 0%, #FFFFFF 100%);
  border-color: rgba(15, 118, 110, 0.22);
}

/* Benefits / modules */
.solution-theme .solution-benefits {
  background: var(--solution-surface);
}

.solution-theme .solution-benefits .bo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.solution-theme .solution-modules .module-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-theme .solution-modules .module-card {
  border-left: 3px solid transparent;
}

.solution-theme .solution-modules .module-card:hover {
  border-left-color: #0F766E;
}

/* Showcase keeps product mock language but sits in solution rhythm */
.solution-theme .solution-showcase .section-lead {
  max-width: 40rem;
}

.solution-theme .solution-success {
  background: var(--solution-surface);
}

.solution-theme .solution-success .card {
  border-top: 3px solid #0F766E;
}

.solution-theme .solution-faq .faq-list {
  max-width: 46rem;
  margin-left: 0;
}

.solution-theme .solution-cta {
  background:
    radial-gradient(800px 320px at 20% 0%, rgba(15, 118, 110, 0.22), transparent 55%),
    linear-gradient(180deg, #0B1220 0%, #10253A 100%);
}

.solution-theme .btn {
  min-height: 2.85rem;
}

.solution-theme .landing-cta-row,
.solution-theme .cms-actions,
.solution-theme .final-cta-actions {
  gap: 0.85rem;
}

@media (max-width: 980px) {
  .solution-theme .cms-block--split-hero .cs-split {
    grid-template-columns: 1fr;
  }

  .solution-theme .solution-hero-title {
    max-width: none;
  }

  .solution-theme .solution-hero-mock {
    transform: none;
  }

  .solution-challenge-grid,
  .solution-theme .solution-benefits .bo-grid,
  .solution-theme .solution-modules .module-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .solution-theme .solution-hero-actions,
  .solution-theme .final-cta-actions,
  .solution-theme .cms-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .solution-theme .btn {
    width: 100%;
  }

  .solution-theme .solution-faq .faq-list {
    margin-inline: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solution-challenge-card:hover,
  .solution-theme .solution-hero-mock {
    transform: none;
  }

  .solution-theme > .section,
  .solution-theme > .cms-block,
  .solution-theme > .final-cta {
    content-visibility: visible;
  }
}

/* ============================================
   Module Theme — master template for every
   module / platform product detail page.
   Product-focused and feature-rich; distinct
   from Landing (spectacle) and Solution
   (industry playbook) while sharing tokens.
   ============================================ */

.module-theme {
  --module-accent: #0F9F8A;
  --module-accent-soft: rgba(15, 159, 138, 0.1);
  --module-ink: #0B1220;
  --module-surface: linear-gradient(180deg, #F8FAFC 0%, #EEF2F7 100%);
  --module-surface-alt: #FFFFFF;
  --module-section-y: clamp(3.25rem, 6vw, 5.25rem);
  --module-lead-max: 42rem;
}

.module-theme {
  background:
    radial-gradient(900px 420px at 100% -5%, rgba(15, 159, 138, 0.07), transparent 55%),
    radial-gradient(700px 360px at 0% 10%, rgba(37, 99, 235, 0.04), transparent 50%),
    var(--color-bg);
}

.module-theme > .section,
.module-theme > .cms-block,
.module-theme > .final-cta,
.module-theme > .module-detail-hero {
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}

.module-theme > .module-detail-hero,
.module-theme > .module-hero {
  content-visibility: visible;
}

.module-theme .section,
.module-theme .cms-block .cms-shell {
  padding-block: var(--module-section-y);
}

/* Full-bleed body sections so backgrounds align with the hero */
.module-theme > .section,
.module-theme > article.section {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
}

.module-theme > .section > .module-detail-content,
.module-theme > article.section > .module-detail-content {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--spacing);
  width: 100%;
}

.module-theme > .section > .section-lead,
.module-theme > .section > .faq-list,
.module-theme > .section > .final-cta-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--spacing);
  width: 100%;
  box-sizing: border-box;
}

.module-theme > .section.section-alt {
  border-block: 1px solid rgba(226, 232, 240, 0.85);
}

.module-theme .section-lead {
  margin: 0 0 2.75rem;
  max-width: var(--module-lead-max);
  text-align: left;
}

.module-theme .section-lead .module-detail-section-title-center {
  margin-bottom: 0.35rem;
}

.module-theme .module-screenshots .section-lead,
.module-theme .module-cta .section-lead,
.module-theme .faq-section .section-lead,
.module-theme .section-lead:has(.module-detail-section-title-center) {
  margin-inline: auto;
  text-align: center;
}

.module-theme .cms-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(15, 159, 138, 0.22);
  background: var(--module-accent-soft);
  color: var(--color-accent-hover);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.module-theme .section-title,
.module-theme .cms-heading,
.module-theme .module-detail-h1 {
  letter-spacing: -0.03em;
  color: var(--module-ink);
}

.module-theme .enterprise-copy,
.module-theme .cms-copy,
.module-theme .module-detail-intro,
.module-theme .module-detail-body-copy {
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* Product hero */
.module-theme .module-detail-hero,
.module-theme .module-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 280px at 90% 0%, rgba(15, 159, 138, 0.18), transparent 55%),
    linear-gradient(180deg, #0B1220 0%, #111827 100%);
  color: #F8FAFC;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.module-theme .module-detail-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.45), transparent);
}

.module-theme .module-detail-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--spacing);
  padding-block: 0;
}

.module-theme .module-detail-hero-copy {
  max-width: 36rem;
}

.module-theme .module-detail-h1 {
  max-width: 16ch;
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4.2vw, 3.05rem);
  font-weight: 780;
  line-height: 1.1;
  color: #F8FAFC;
}

.module-theme .module-detail-h2 {
  margin: 0 0 1.35rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 500;
  line-height: 1.55;
  max-width: 34rem;
  color: rgba(226, 232, 240, 0.92);
}

.module-theme .module-detail-intro {
  max-width: 34rem;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(203, 213, 225, 0.9);
}

.module-theme .module-detail-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.1rem;
}

.module-theme .module-detail-hero .btn-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.module-theme .module-detail-hero .btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.module-theme .module-detail-hero .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #F8FAFC;
  border-color: rgba(255, 255, 255, 0.18);
}

.module-theme .module-detail-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(94, 234, 212, 0.55);
  color: #fff;
}

.module-theme .page-hero-image {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}

.module-theme .module-detail-content .enterprise-copy,
.module-theme .module-detail-content .why-list,
.module-theme .module-detail-body-copy,
.module-theme .module-prose {
  text-align: left;
  margin-inline: 0;
  max-width: 36rem;
}

.module-theme .module-prose .module-detail-body-copy,
.module-theme .module-prose .enterprise-copy,
.module-theme .module-prose .why-list {
  max-width: none;
}

.module-theme .module-detail-section-title {
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  line-height: 1.28;
  margin-bottom: 1rem;
  max-width: 28rem;
}

.module-theme .module-detail-section-title-center {
  text-align: center;
  margin-inline: auto;
  max-width: none;
}

.module-theme .capability-cards {
  gap: 1.15rem;
}

.module-theme .capability-card {
  padding: 1.35rem 1.35rem 1.45rem;
  gap: 0.45rem;
}

/* Overview split */
.module-theme .module-overview {
  background: var(--module-surface-alt);
}

.module-theme .module-overview .cs-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

/* Feature-rich grids */
.module-theme .module-features {
  background: var(--module-surface);
  border-block: 1px solid rgba(226, 232, 240, 0.9);
}

.module-theme .module-features .bo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.module-theme .module-features .bo-card {
  border-top: 3px solid transparent;
  background: rgba(255, 255, 255, 0.96);
}

.module-theme .module-features .bo-card:hover {
  border-top-color: var(--module-accent);
}

.module-theme .module-features .bo-icon {
  background: var(--module-accent-soft);
  color: #1D4ED8;
}

/* How it works */
.hiw-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.hiw-step {
  position: relative;
  padding: 1.35rem 1.2rem 1.4rem;
  border-radius: 1.1rem;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.hiw-step-index {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #1D4ED8;
  margin-bottom: 0.85rem;
}

.hiw-step-icon {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--module-accent-soft);
  color: #1D4ED8;
  margin-bottom: 0.85rem;
}

.hiw-step-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.hiw-step-title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hiw-step-body {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.module-theme .module-how {
  background: #fff;
}

/* Benefits / related */
.module-theme .module-benefits {
  background: var(--module-surface);
}

.module-theme .module-benefits .bo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-theme .module-related .module-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-theme .module-related .module-card {
  border-bottom: 3px solid transparent;
}

.module-theme .module-related .module-card:hover {
  border-bottom-color: var(--module-accent);
}

/* Screenshots */
.module-theme .module-screenshots .section-lead {
  max-width: 40rem;
}

/* Integrations */
.module-theme .module-integrations {
  background: var(--module-surface);
}

.module-theme .module-integrations .module-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.module-theme .module-integrations .module-card {
  border-top: 3px solid transparent;
}

.module-theme .module-integrations .module-card:hover {
  border-top-color: var(--module-accent);
}

.module-theme .module-faq .faq-list {
  max-width: 46rem;
  margin-left: 0;
}

.module-theme .module-cta {
  background:
    radial-gradient(720px 300px at 80% 0%, rgba(37, 99, 235, 0.22), transparent 55%),
    linear-gradient(180deg, #0B1220 0%, #111827 100%);
}

.module-theme .btn {
  min-height: 2.85rem;
}

.module-theme .cms-actions,
.module-theme .final-cta-actions,
.module-theme .module-detail-hero-ctas,
.module-theme .landing-cta-row {
  gap: 0.85rem;
}

@media (max-width: 1100px) {
  .module-theme .module-features .bo-grid,
  .hiw-steps,
  .module-theme .module-integrations .module-cards,
  .module-theme .module-related .module-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .module-theme .module-overview .cs-split {
    grid-template-columns: 1fr;
  }

  .module-theme .module-detail-h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .module-theme .module-features .bo-grid,
  .module-theme .module-benefits .bo-grid,
  .module-theme .module-related .module-cards,
  .module-theme .module-integrations .module-cards,
  .hiw-steps {
    grid-template-columns: 1fr;
  }

  .module-theme .module-detail-hero-ctas,
  .module-theme .final-cta-actions,
  .module-theme .cms-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .module-theme .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hiw-step {
    transform: none;
  }

  .module-theme > .section,
  .module-theme > .cms-block,
  .module-theme > .final-cta,
  .module-theme > .module-detail-hero {
    content-visibility: visible;
  }
}

/* ============================================
   Integration Theme — master template for every
   integration detail page. Emphasizes connectivity,
   automation, security, and easy setup while
   sharing the FlexiAres design system.
   (Do not alter Landing / Solution / Module themes.)
   ============================================ */

.integration-theme {
  --integration-accent: #7C3AED;
  --integration-accent-soft: rgba(124, 58, 237, 0.1);
  --integration-ink: #0B1220;
  --integration-surface: linear-gradient(180deg, #FBF8FF 0%, #F3F0FF 100%);
  --integration-section-y: clamp(3.25rem, 6vw, 5.25rem);
  --integration-lead-max: 42rem;
}

.integration-theme {
  background:
    radial-gradient(900px 420px at 0% -5%, rgba(124, 58, 237, 0.08), transparent 55%),
    radial-gradient(700px 360px at 100% 8%, rgba(15, 159, 138, 0.05), transparent 50%),
    var(--color-bg);
}

.integration-theme > .section,
.integration-theme > .cms-block,
.integration-theme > .final-cta,
.integration-theme > .module-detail-hero {
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}

.integration-theme > .module-detail-hero,
.integration-theme > .integration-hero {
  content-visibility: visible;
}

.integration-theme .section,
.integration-theme .cms-block .cms-shell {
  padding-block: var(--integration-section-y);
}

.integration-theme > .section,
.integration-theme > article.section {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
}

.integration-theme > .section > .module-detail-content,
.integration-theme > article.section > .module-detail-content {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--spacing);
  width: 100%;
}

.integration-theme > .section > .section-lead,
.integration-theme > .section > .faq-list {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--spacing);
  width: 100%;
  box-sizing: border-box;
}

.integration-theme .section-lead {
  margin: 0 0 2.75rem;
  max-width: var(--integration-lead-max);
  text-align: left;
}

.integration-theme .integration-workflow .section-lead,
.integration-theme .integration-cta .section-lead {
  margin-inline: auto;
  text-align: center;
}

.integration-theme .cms-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.22);
  background: var(--integration-accent-soft);
  color: #6D28D9;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.integration-theme .cms-kicker::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #8B5CF6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.integration-theme .section-title,
.integration-theme .cms-heading,
.integration-theme .module-detail-h1 {
  letter-spacing: -0.03em;
  color: var(--integration-ink);
}

.integration-theme .enterprise-copy,
.integration-theme .cms-copy,
.integration-theme .module-detail-intro,
.integration-theme .module-detail-body-copy {
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* Connectivity hero */
.integration-theme .module-detail-hero,
.integration-theme .integration-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 300px at 85% 0%, rgba(124, 58, 237, 0.22), transparent 55%),
    radial-gradient(520px 240px at 10% 100%, rgba(15, 159, 138, 0.14), transparent 50%),
    linear-gradient(135deg, #0B1220 0%, #17132A 55%, #122033 100%);
  color: #F8FAFC;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.integration-theme .module-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(167, 139, 250, 0.12), transparent 18%),
    radial-gradient(circle at 70% 60%, rgba(45, 212, 191, 0.08), transparent 16%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  mask-image: radial-gradient(ellipse at 40% 40%, black 15%, transparent 70%);
  pointer-events: none;
}

.integration-theme .module-detail-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--spacing);
  padding-block: 0;
}

.integration-theme .module-detail-hero-copy {
  max-width: 36rem;
}

.integration-theme .module-detail-h1 {
  max-width: 16ch;
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4.2vw, 3.05rem);
  font-weight: 780;
  line-height: 1.1;
  color: #F8FAFC;
}

.integration-theme .module-detail-h2 {
  margin: 0 0 1.35rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 500;
  line-height: 1.55;
  max-width: 34rem;
  color: rgba(226, 232, 240, 0.92);
}

.integration-theme .module-detail-intro {
  max-width: 34rem;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(203, 213, 225, 0.9);
}

.integration-theme .module-detail-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.1rem;
}

.integration-theme .module-detail-hero .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #F8FAFC;
  border-color: rgba(255, 255, 255, 0.18);
}

.integration-theme .module-detail-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(196, 181, 253, 0.55);
  color: #fff;
}

.integration-theme .page-hero-image {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}

.integration-theme .module-detail-content .enterprise-copy,
.integration-theme .module-detail-content .why-list,
.integration-theme .module-detail-body-copy,
.integration-theme .module-prose {
  text-align: left;
  margin-inline: 0;
  max-width: 36rem;
}

.integration-theme .module-prose .module-detail-body-copy,
.integration-theme .module-prose .enterprise-copy,
.integration-theme .module-prose .why-list {
  max-width: none;
}

/* Overview */
.integration-theme .integration-overview {
  background: #fff;
}

.integration-theme .integration-overview .cs-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

/* Capabilities */
.integration-theme .integration-capabilities {
  background: var(--integration-surface);
  border-block: 1px solid rgba(226, 232, 240, 0.9);
}

.integration-theme .integration-capabilities .bo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.integration-theme .integration-capabilities .bo-card {
  border-left: 3px solid transparent;
}

.integration-theme .integration-capabilities .bo-card:hover {
  border-left-color: var(--integration-accent);
}

.integration-theme .integration-capabilities .bo-icon {
  background: var(--integration-accent-soft);
  color: #6D28D9;
}

/* How it works */
.integration-theme .integration-how {
  background: #fff;
}

.integration-theme .integration-how .hiw-step-index,
.integration-theme .integration-how .hiw-step-icon {
  color: #6D28D9;
}

.integration-theme .integration-how .hiw-step-icon {
  background: var(--integration-accent-soft);
}

/* Benefits / related */
.integration-theme .integration-benefits {
  background: var(--integration-surface);
}

.integration-theme .integration-benefits .bo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.integration-theme .integration-related .module-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.integration-theme .integration-related .module-card:hover {
  border-color: rgba(124, 58, 237, 0.28);
}

/* Workflow / screenshots */
.integration-theme .integration-workflow .section-lead {
  max-width: 40rem;
}

/* Security & data flow */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.sec-card {
  padding: 1.3rem 1.15rem;
  border-radius: 1.1rem;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.sec-icon {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  background: rgba(15, 159, 138, 0.1);
  color: #0F766E;
  margin-bottom: 0.85rem;
}

.sec-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.sec-title {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sec-body {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
}

.integration-theme .integration-security {
  background:
    radial-gradient(700px 260px at 0% 0%, rgba(15, 159, 138, 0.08), transparent 55%),
    #fff;
}

.integration-theme .integration-security .sec-icon {
  background: rgba(124, 58, 237, 0.1);
  color: #6D28D9;
}

.integration-theme .integration-faq .faq-list {
  max-width: 46rem;
  margin-left: 0;
}

.integration-theme .integration-cta {
  background:
    radial-gradient(720px 300px at 15% 0%, rgba(124, 58, 237, 0.24), transparent 55%),
    linear-gradient(180deg, #0B1220 0%, #17132A 100%);
}

.integration-theme .btn {
  min-height: 2.85rem;
}

.integration-theme .cms-actions,
.integration-theme .final-cta-actions,
.integration-theme .module-detail-hero-ctas,
.integration-theme .landing-cta-row {
  gap: 0.85rem;
}

@media (max-width: 1100px) {
  .integration-theme .integration-capabilities .bo-grid,
  .integration-theme .integration-related .module-cards,
  .sec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .integration-theme .integration-overview .cs-split {
    grid-template-columns: 1fr;
  }

  .integration-theme .module-detail-h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .integration-theme .integration-capabilities .bo-grid,
  .integration-theme .integration-benefits .bo-grid,
  .integration-theme .integration-related .module-cards,
  .sec-grid {
    grid-template-columns: 1fr;
  }

  .integration-theme .module-detail-hero-ctas,
  .integration-theme .final-cta-actions,
  .integration-theme .cms-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .integration-theme .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .integration-theme > .section,
  .integration-theme > .cms-block,
  .integration-theme > .final-cta,
  .integration-theme > .module-detail-hero {
    content-visibility: visible;
  }
}

/* ============================================
   Company Theme — About, Contact, Careers,
   Partners, Leadership, Why FlexiAres.
   Human, trustworthy, premium — distinct from
   Landing / Solution / Module / Integration.
   ============================================ */

.company-theme {
  --company-accent: #0F766E;
  --company-accent-soft: rgba(15, 118, 110, 0.1);
  --company-ink: #111827;
  --company-warm: #F8FAFC;
  --company-surface: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  --company-section-y: clamp(4rem, 7.5vw, 6.5rem);
  --company-lead-max: 42rem;
}

.company-theme {
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(15, 118, 110, 0.06), transparent 55%),
    radial-gradient(700px 360px at 100% 0%, rgba(15, 23, 42, 0.04), transparent 50%),
    var(--color-bg);
}

.company-theme > .section,
.company-theme > .cms-block,
.company-theme > .final-cta {
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}

.company-theme > .cms-block--split-hero,
.company-theme > .company-hero {
  content-visibility: visible;
}

.company-theme .section,
.company-theme .cms-block .cms-shell,
.company-theme .company-contact .page-content {
  padding-block: var(--company-section-y);
}

.company-theme .section-lead {
  margin: 0 0 2.35rem;
  max-width: var(--company-lead-max);
  text-align: left;
}

.company-theme .company-cta .section-lead {
  margin-inline: auto;
  text-align: center;
}

.company-theme .cms-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  background: var(--company-accent-soft);
  color: #0F766E;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.company-theme .section-title,
.company-theme .cms-heading,
.company-theme .solution-hero-title {
  letter-spacing: -0.03em;
  color: var(--company-ink);
}

.company-theme .enterprise-copy,
.company-theme .cms-copy,
.company-theme .cms-subheading {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Human editorial hero */
.company-theme .cms-block--split-hero,
.company-theme .company-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 320px at 90% 10%, rgba(15, 118, 110, 0.16), transparent 55%),
    linear-gradient(160deg, #0B1220 0%, #142033 48%, #1A2A3A 100%);
  color: #F8FAFC;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.company-theme .cms-block--split-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 70%, rgba(255, 255, 255, 0.05), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  mask-image: radial-gradient(ellipse at 35% 45%, black 12%, transparent 72%);
  pointer-events: none;
}

.company-theme .cms-block--split-hero .cms-shell {
  position: relative;
  z-index: 1;
  padding-block: clamp(4.5rem, 10vw, 7rem);
}

.company-theme .cms-block--split-hero .cs-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.company-theme .cms-block--split-hero .cms-kicker {
  border-color: rgba(94, 234, 212, 0.28);
  background: rgba(15, 118, 110, 0.22);
  color: #99F6E4;
}

.company-theme .cms-block--split-hero .solution-hero-title,
.company-theme .cms-block--split-hero .cms-heading {
  max-width: 14ch;
  margin: 0.85rem 0 1rem;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 780;
  color: #F8FAFC;
}

.company-theme .cms-block--split-hero .cms-subheading,
.company-theme .cms-block--split-hero .cms-copy {
  color: rgba(226, 232, 240, 0.82);
  max-width: 38rem;
}

.company-theme .cms-block--split-hero .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #F8FAFC;
  border-color: rgba(255, 255, 255, 0.18);
}

.company-theme .cms-block--split-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(153, 246, 228, 0.5);
  color: #fff;
}

.company-theme .solution-hero-mock,
.company-theme .company-hero .product-mock {
  transform: none;
  border-radius: 1.25rem;
}

/* Story */
.company-theme .company-story {
  background: #fff;
}

.company-theme .company-story .cs-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.company-story-media {
  position: relative;
  min-height: 18rem;
  border-radius: 1.35rem;
  overflow: hidden;
  background:
    radial-gradient(500px 240px at 80% 0%, rgba(15, 118, 110, 0.2), transparent 60%),
    linear-gradient(160deg, #0F172A 0%, #1E293B 100%);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: var(--shadow-lg);
}

.company-story-media-glow {
  position: absolute;
  inset: auto -20% -30% auto;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.25), transparent 65%);
  pointer-events: none;
}

.company-story-media-card {
  position: relative;
  z-index: 1;
  max-width: 22rem;
  margin: 3.5rem 2rem;
  padding: 1.35rem 1.4rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: #F8FAFC;
}

.company-story-media-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #99F6E4;
}

.company-story-media-quote {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

/* Mission / values */
.company-theme .company-mission {
  background: var(--company-surface);
  border-block: 1px solid rgba(226, 232, 240, 0.9);
}

.company-theme .company-mission .bo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.company-theme .company-mission .bo-card {
  border-radius: 1.15rem;
}

.company-theme .company-mission .bo-icon {
  background: var(--company-accent-soft);
  color: #0F766E;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.team-card {
  padding: 1.4rem 1.2rem 1.5rem;
  border-radius: 1.2rem;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}

.team-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 3.1rem;
  height: 3.1rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(15, 23, 42, 0.08));
  color: #0F766E;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.team-name {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.team-role {
  margin: 0 0 0.75rem;
  color: #0F766E;
  font-size: 0.88rem;
  font-weight: 650;
}

.team-quote {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
}

.company-theme .company-team {
  background: #fff;
}

/* Why / culture */
.company-theme .company-why {
  background: var(--company-surface);
}

.company-theme .company-why .bo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.company-theme .company-culture {
  background: #fff;
}

.company-theme .company-culture .cards-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.company-theme .company-culture .card {
  border-radius: 1.15rem;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.96);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.company-theme .company-culture .card-title {
  margin-bottom: 0.45rem;
}

/* Contact */
.company-theme .company-contact {
  background: var(--company-surface);
  border-block: 1px solid rgba(226, 232, 240, 0.9);
}

.company-theme .company-contact .page-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--spacing);
}

.company-theme .company-contact .form-section {
  max-width: 40rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: 1.2rem;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.company-theme .company-contact label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--company-ink);
}

.company-theme .company-contact input,
.company-theme .company-contact textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border-strong);
  background: #fff;
}

.company-theme .company-contact input:focus,
.company-theme .company-contact textarea:focus {
  outline: 2px solid rgba(15, 118, 110, 0.35);
  outline-offset: 1px;
  border-color: #0F766E;
}

.company-theme .company-faq .faq-list {
  max-width: 46rem;
  margin-left: 0;
}

.company-theme .company-cta {
  background:
    radial-gradient(720px 300px at 20% 0%, rgba(15, 118, 110, 0.2), transparent 55%),
    linear-gradient(180deg, #0B1220 0%, #142033 100%);
}

.company-theme .btn {
  min-height: 2.85rem;
}

.company-theme .cms-actions,
.company-theme .final-cta-actions,
.company-theme .solution-hero-actions,
.company-theme .landing-cta-row {
  gap: 0.85rem;
}

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

@media (max-width: 900px) {
  .company-theme .cms-block--split-hero .cs-split,
  .company-theme .company-story .cs-split {
    grid-template-columns: 1fr;
  }

  .company-theme .cms-block--split-hero .solution-hero-title,
  .company-theme .cms-block--split-hero .cms-heading {
    max-width: none;
  }

  .company-theme .company-mission .bo-grid,
  .company-theme .company-why .bo-grid,
  .company-theme .company-culture .cards-grid {
    grid-template-columns: 1fr;
  }
}

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

  .company-theme .solution-hero-actions,
  .company-theme .final-cta-actions,
  .company-theme .cms-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .company-theme .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-card:hover {
    transform: none;
  }

  .company-theme > .section,
  .company-theme > .cms-block,
  .company-theme > .final-cta {
    content-visibility: visible;
  }
}

/* ============================================
   Content Theme — Blog, Resources, Case Studies,
   Guides, Documentation, Whitepapers, Webinars, News.
   Readability, SEO, internal linking, discovery —
   distinct from Landing / Solution / Module /
   Integration / Company.
   ============================================ */

.content-theme {
  --content-accent: #1D4ED8;
  --content-accent-soft: rgba(29, 78, 216, 0.1);
  --content-ink: #0F172A;
  --content-muted: #475569;
  --content-surface: #F8FAFC;
  --content-rule: rgba(15, 23, 42, 0.08);
  --content-section-y: clamp(3.5rem, 6.5vw, 5.75rem);
  --content-measure: 42rem;
  --content-wide: 68rem;
}

.content-theme {
  background:
    linear-gradient(180deg, #F8FAFC 0%, transparent 28rem),
    radial-gradient(720px 360px at 100% -10%, rgba(29, 78, 216, 0.07), transparent 55%),
    var(--color-bg);
  color: var(--content-ink);
}

.content-theme > .section,
.content-theme > .cms-block,
.content-theme > .final-cta,
.content-theme > .blog-post,
.content-theme > article {
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}

.content-theme > .cms-block--page-header,
.content-theme > .content-hero,
.content-theme > .content-article-hero,
.content-theme > .blog-post-header {
  content-visibility: visible;
}

.content-theme .section,
.content-theme .cms-block .cms-shell,
.content-theme .content-library,
.content-theme .page-content.content-prose {
  padding-block: var(--content-section-y);
}

.content-theme .cms-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.26rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(29, 78, 216, 0.18);
  background: var(--content-accent-soft);
  color: var(--content-accent);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.content-theme .section-title,
.content-theme .cms-heading,
.content-theme .content-hero-title,
.content-theme .blog-post-header h1 {
  letter-spacing: -0.03em;
  color: var(--content-ink);
}

.content-theme .enterprise-copy,
.content-theme .cms-copy,
.content-theme .cms-subheading,
.content-theme .content-hero-lede,
.content-theme .content-hero-support,
.content-theme .card-desc {
  color: var(--content-muted);
  line-height: 1.7;
}

.content-theme .section-lead {
  margin: 0 0 2rem;
  max-width: var(--content-measure);
  text-align: left;
}

.content-theme .content-cta .section-lead,
.content-theme .content-cta .enterprise-copy {
  margin-inline: auto;
  text-align: center;
  max-width: 36rem;
}

/* Hero */
.content-theme .cms-block--page-header,
.content-theme .content-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.06), transparent 55%),
    linear-gradient(180deg, #EEF2FF 0%, #F8FAFC 100%);
  border-bottom: 1px solid var(--content-rule);
}

.content-theme .content-hero-inner,
.content-theme .content-article-hero .content-prose {
  max-width: var(--content-wide);
  margin-inline: auto;
}

.content-theme .content-hero-title {
  margin: 0.85rem 0 1rem;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.12;
  max-width: 18ch;
}

.content-theme .content-hero-lede {
  margin: 0 0 0.85rem;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  max-width: 40rem;
}

.content-theme .content-hero-support {
  margin: 0;
  max-width: 36rem;
}

.content-theme .content-hero-actions {
  margin-top: 1.75rem;
}

.content-theme .content-article-hero {
  padding-top: 1.5rem;
  background: transparent;
  border-bottom: 0;
}

.content-theme .content-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin: 1.25rem 0 0;
  color: var(--content-muted);
  font-size: 0.92rem;
}

/* Featured / related discovery cards */
.content-theme .content-featured,
.content-theme .content-related-resources,
.content-theme .content-related-articles {
  background: var(--content-surface);
  border-block: 1px solid var(--content-rule);
}

.content-theme .content-featured .cards-grid,
.content-theme .content-related-resources .cards-grid,
.content-theme .content-related-articles .cards-grid {
  gap: 1.15rem;
}

.content-theme .content-featured .card,
.content-theme .content-related-resources .card,
.content-theme .content-related-articles .card {
  border: 1px solid var(--content-rule);
  background: #fff;
  box-shadow: none;
  min-height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.content-theme .content-featured .card > .card-title,
.content-theme .content-related-resources .card > .card-title,
.content-theme .content-related-articles .card > .card-title {
  padding: 1.2rem 1.25rem 0.4rem;
}

.content-theme .content-featured .card > .card-desc,
.content-theme .content-related-resources .card > .card-desc,
.content-theme .content-related-articles .card > .card-desc {
  padding: 0 1.25rem 1.35rem;
}

.content-theme .content-featured .card > .card-body,
.content-theme .content-related-resources .card > .card-body,
.content-theme .content-related-articles .card > .card-body {
  flex: 1;
}

.content-theme .content-featured .card:hover,
.content-theme .content-related-resources .card:hover,
.content-theme .content-related-articles .card:hover {
  border-color: rgba(29, 78, 216, 0.35);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.content-theme .content-featured .card-title,
.content-theme .content-related-resources .card-title,
.content-theme .content-related-articles .card-title {
  color: var(--content-ink);
}

/* Main readable body */
.content-theme .content-main .content-prose,
.content-theme .content-prose {
  max-width: var(--content-measure);
  margin-inline: auto;
}

.content-theme .content-library {
  max-width: var(--content-wide);
  margin-inline: auto;
}

.content-theme .content-prose-body,
.content-theme .blog-post-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--content-ink);
}

.content-theme .content-prose-body p,
.content-theme .blog-post-content p {
  margin: 0 0 1.15em;
}

.content-theme .content-prose-body h2,
.content-theme .blog-post-content h2 {
  margin: 2rem 0 0.85rem;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.content-theme .content-prose-body a,
.content-theme .blog-post-content a,
.content-theme .content-tags a {
  color: var(--content-accent);
  text-underline-offset: 0.15em;
}

.content-theme .content-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  max-width: none;
  margin: 0 0 2.5rem;
  padding: 1.35rem;
  border: 1px solid var(--content-rule);
  border-radius: var(--radius-lg);
  background: #fff;
}

.content-theme .content-filters label {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--content-muted);
}

.content-theme .content-filters input,
.content-theme .content-filters select {
  width: 100%;
  margin-top: 0.35rem;
}

.content-theme .content-filter-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.25rem 0 0;
}

.content-theme .content-post-list {
  display: grid;
  gap: 1.25rem;
}

.content-theme .blog-card {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--content-rule);
}

.content-theme .blog-card h2 a {
  color: var(--content-ink);
}

.content-theme .blog-card h2 a:hover {
  color: var(--content-accent);
}

.content-theme .content-pagination {
  margin-top: 2.5rem;
}

/* Download / mid CTA */
.content-theme .content-download {
  background: linear-gradient(180deg, #EEF2FF 0%, #F8FAFC 100%);
}

.content-theme .content-download .section-title,
.content-theme .content-download .cms-heading {
  text-align: center;
}

.content-theme .content-download .enterprise-copy,
.content-theme .content-download .cms-copy {
  margin-inline: auto;
  text-align: center;
  max-width: 36rem;
}

.content-theme .content-download .cms-actions,
.content-theme .content-download .final-cta-actions {
  justify-content: center;
}

/* Author / company */
.content-theme .content-author {
  background: #fff;
}

.content-theme .content-author .cs-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.content-theme .content-author .cs-feature {
  border: 1px solid var(--content-rule);
  background: var(--content-surface);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.content-theme .content-author .cs-feature-icon {
  color: var(--content-accent);
}

.content-theme .content-author-footer {
  padding-bottom: var(--content-section-y);
  border-top: 1px solid var(--content-rule);
}

.content-theme .content-author-bio {
  margin-top: 1.75rem;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--content-accent);
  background: var(--content-surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Quote block (optional editorial use) */
.content-theme .quote-block .quote-text {
  max-width: var(--content-measure);
  margin: 0 auto;
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--content-ink);
}

.content-theme .quote-block .quote-attribution {
  margin-top: 1rem;
  color: var(--content-muted);
  font-size: 0.95rem;
}

/* Newsletter */
.content-theme .content-newsletter,
.content-theme .newsletter {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
  color: #F8FAFC;
}

.content-theme .newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: end;
}

.content-theme .newsletter .cms-kicker {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #BFDBFE;
}

.content-theme .newsletter .section-title,
.content-theme .newsletter .enterprise-copy,
.content-theme .newsletter .newsletter-note {
  color: #E2E8F0;
}

.content-theme .newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.content-theme .newsletter-form input[type="email"] {
  flex: 1 1 14rem;
  min-height: 2.85rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.35);
  color: #fff;
}

.content-theme .newsletter-form input[type="email"]::placeholder {
  color: rgba(226, 232, 240, 0.7);
}

/* Final CTA */
.content-theme .content-cta,
.content-theme .final-cta.content-cta {
  text-align: center;
  background:
    radial-gradient(600px 280px at 50% 0%, rgba(29, 78, 216, 0.12), transparent 60%),
    var(--content-surface);
  border-top: 1px solid var(--content-rule);
}

.content-theme .content-cta .section-title {
  margin-inline: auto;
  max-width: 18ch;
}

.content-theme .final-cta-actions,
.content-theme .cms-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.content-theme .content-cta .final-cta-actions {
  justify-content: center;
  margin-top: 1.5rem;
}

.content-theme .btn-primary {
  background: var(--content-accent);
  border-color: var(--content-accent);
}

.content-theme .btn-primary:hover {
  filter: brightness(1.05);
}

.content-theme .btn-secondary {
  border-color: rgba(29, 78, 216, 0.28);
  color: var(--content-accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .content-theme .newsletter-inner,
  .content-theme .content-author .cs-feature-grid {
    grid-template-columns: 1fr;
  }

  .content-theme .content-filters {
    grid-template-columns: 1fr;
  }

  .content-theme .content-hero-title {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .content-theme .content-hero-actions,
  .content-theme .final-cta-actions,
  .content-theme .cms-actions {
    flex-direction: column;
  }

  .content-theme .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .content-theme .card:hover,
  .content-theme .content-featured .card:hover,
  .content-theme .content-related-resources .card:hover,
  .content-theme .content-related-articles .card:hover {
    transform: none;
  }

  .content-theme > .section,
  .content-theme > .cms-block,
  .content-theme > .final-cta,
  .content-theme > .blog-post,
  .content-theme > article {
    content-visibility: visible;
  }
}

.lead-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(11, 18, 32, 0.94);
  color: #fff;
  box-shadow: 0 -12px 32px rgba(11, 18, 32, 0.18);
}

.lead-bar-copy {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lead-bar-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lead-bar .btn {
  min-height: 2.4rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.82rem;
}

.lead-bar .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .has-lead-bar {
    padding-bottom: 5.25rem;
  }

  .lead-bar {
    display: flex;
  }

  .lead-bar-copy {
    display: none;
  }

  .lead-bar-actions {
    width: 100%;
  }

  .lead-bar-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

/* ============================================
   Contact / enquiry conversion layout
   ============================================ */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-copy {
  padding-top: 0.35rem;
}

.contact-title {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  max-width: 12ch;
}

.contact-intro {
  margin: 0 0 1.75rem;
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 36rem;
}

.contact-trust {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.contact-trust li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-trust svg {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.contact-direct-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 650;
}

.contact-direct-link:hover {
  color: var(--color-accent-hover);
}

.contact-direct-link svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-accent);
}

.contact-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-md);
  padding: clamp(1.35rem, 3vw, 1.85rem);
}

.contact-status {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: var(--color-accent-tint);
  border: 1px solid rgba(15, 159, 138, 0.25);
  color: var(--color-accent-hover);
  font-weight: 600;
}

.contact-alert {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
  font-weight: 600;
}

.contact-form {
  max-width: none;
  margin-top: 0;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.contact-field {
  margin: 0;
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-optional {
  margin-left: 0.35rem;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.contact-error {
  display: block;
  margin-top: 0.35rem;
  color: #B91C1C;
  font-size: 0.82rem;
}

.contact-submit {
  margin: 1.15rem 0 0;
}

.contact-submit .btn {
  width: 100%;
}

.contact-footnote {
  margin: 0.85rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.company-theme .company-contact .contact-form input,
.company-theme .company-contact .contact-form textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 0.8rem;
  border: 1px solid var(--color-border-strong);
  background: #fff;
  box-sizing: border-box;
}

.company-theme .company-contact .form-section {
  max-width: none;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.footer-convert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(520px 180px at 10% 0%, rgba(15, 159, 138, 0.22), transparent 60%),
    linear-gradient(180deg, #0B1220 0%, #121C2E 100%);
  color: #F8FAFC;
}

.footer-convert-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(94, 234, 212, 0.9);
}

.footer-convert-title {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-convert-text {
  margin: 0;
  max-width: 36rem;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-convert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-convert .btn-primary {
  background: linear-gradient(180deg, #14B8A0 0%, var(--color-accent) 100%);
  color: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 10px 24px rgba(15, 159, 138, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.footer-convert .btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
}

.footer-convert .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  margin-top: 1rem;
}

.footer-contact-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.footer-contact-links a:hover {
  color: var(--color-accent-hover);
}

.faq-convert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem auto 0;
  max-width: 46rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.92);
}

.faq-convert-copy {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  font-weight: 550;
}

.faq-convert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-title {
    max-width: none;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .footer-convert {
    align-items: flex-start;
  }
}

/* ============================================
   Enterprise shared system — cross-theme
   primitives so every page family feels one
   product, not separate templates.
   ============================================ */

.module-theme .btn,
.solution-theme .btn,
.company-theme .btn,
.integration-theme .btn,
.content-theme .btn {
  min-height: var(--btn-min-height);
}

.module-theme .pillar,
.solution-theme .pillar,
.company-theme .pillar,
.integration-theme .pillar {
  border-radius: var(--radius-xl);
}

.module-theme .faq-item,
.solution-theme .faq-item,
.company-theme .faq-item,
.integration-theme .faq-item,
.content-theme .faq-item {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.96);
}

.module-theme .capability-card,
.solution-theme .capability-card,
.company-theme .capability-card,
.integration-theme .capability-card {
  border-radius: var(--radius-xl);
}

.module-theme .stats-section .section-lead,
.module-theme .faq-section .section-lead,
.module-theme .feature-grid .section-lead,
.solution-theme .faq-section .section-lead,
.solution-theme .stats-section .section-lead,
.company-theme .faq-section .section-lead,
.company-theme .final-cta .section-lead {
  margin-inline: auto;
  text-align: center;
}

.module-theme .final-cta,
.solution-theme .final-cta,
.company-theme .final-cta,
.integration-theme .final-cta {
  text-align: center;
}

.module-theme .final-cta-actions,
.solution-theme .final-cta-actions,
.company-theme .final-cta-actions,
.integration-theme .final-cta-actions {
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .pillar,
  .pillar:hover,
  .stat-card,
  .stat-card:hover,
  .capability-card,
  .capability-card:hover {
    transition: none !important;
    transform: none !important;
  }
}


/* ============================================
   Responsive hardening + mobile nav lock
   ============================================ */

body.nav-open {
  overflow: hidden;
}

.platform-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.5rem;
}

.site-logo-img {
  max-height: 52px;
  width: auto;
}

@media (max-width: 1100px) {
  .site-nav a,
  .site-nav .nav-dropdown-trigger {
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  .module-theme .module-detail-hero-inner,
  .integration-theme .module-detail-hero-inner {
    grid-template-columns: 1fr;
  }

  .module-theme .module-overview .cs-split,
  .integration-theme .cs-split {
    grid-template-columns: 1fr;
  }

  .hiw-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .site-logo-img {
    height: 42px;
    max-height: 42px;
  }

  .hiw-steps {
    grid-template-columns: 1fr;
  }

  .module-theme .module-features .bo-grid,
  .module-theme .capability-cards,
  .capability-cards {
    grid-template-columns: 1fr;
  }

  .faq-convert {
    flex-direction: column;
    align-items: stretch;
  }

  .faq-convert-actions {
    width: 100%;
  }

  .faq-convert-actions .btn {
    flex: 1;
    justify-content: center;
  }

  .breadcrumb-list {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero-ctas .btn,
  .module-detail-hero-ctas .btn,
  .final-cta-actions .btn {
    width: 100%;
  }
}
