/* OneHRIS Marketing - Awwwards-Tier Design System
   Vibe: Soft Structuralism (white canvas, massive type, ambient shadows)
   Layout: Asymmetric Bento + Editorial Split
   Font: Plus Jakarta Sans  |  Icons: Phosphor Light
   Motion: Spring cubic-bezier(0.32, 0.72, 0, 1) throughout
*/

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

/* Icon-only links/buttons shouldn't carry Bootstrap's default link underline
   (plain <a> and .btn-link both underline unconditionally in Bootstrap 5) */
a:not(.btn):not(.page-link):not(.navbar-brand):not(.dropdown-item):not(.nav-link):has(> i:only-child),
a:not(.btn):not(.page-link):not(.navbar-brand):not(.dropdown-item):not(.nav-link):has(> svg:only-child),
.btn-link:has(> i:only-child),
.btn-link:has(> svg:only-child) {
    text-decoration: none;
}

/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --navy:        #004AAD;
  --navy-dark:   #003080;
  --navy-deep:   #001d5c;
  --gold:        #FECF5B;
  --gold-dark:   #e6b93a;
  --white:       #ffffff;
  --surface:     #F7F9FC;
  --surface-2:   #EEF3FB;
  --stroke:      rgba(0, 74, 173, 0.08);
  --stroke-mid:  rgba(0, 74, 173, 0.14);
  --text:        #0e1c38;
  --text-2:      #3d5080;
  --text-3:      #7a90b8;
  --success:     #10b981;

  /* Legacy compat */
  --brand-primary:       #004AAD;
  --brand-primary-dark:  #003080;
  --brand-primary-light: #e6f0ff;
  --brand-secondary:     #FECF5B;
  --text-muted:          #7a90b8;
  --off-white:           #F7F9FC;
  --light-gray:          #EEF3FB;
  --warning-orange:      #eab308;
  --danger-red:          #ef4444;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --spring: cubic-bezier(0.32, 0.72, 0, 1);
  --spring-fast: cubic-bezier(0.22, 1, 0.36, 1);

  /* Double-bezel radii */
  --r-xl: 1.75rem;
  --r-xl-inner: calc(1.75rem - 0.375rem);
  --r-2xl: 2.25rem;
  --r-2xl-inner: calc(2.25rem - 0.375rem);
}

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

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

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
}

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

/* Sitewide default for page-title h1s - matches the size already established on
   Pricing/Performance/CustomPolicies. The homepage hero opts into the larger,
   dramatic size explicitly via its own inline style instead of via this default. */
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.625rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--text-2); }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration: none; transition: color 0.2s var(--spring); }
a:hover { color: var(--navy-dark); }

/* ============================================================
   LAYOUT
============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   GLASSMORPHISM SITE HEADER
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 74, 173, 0.10);
  box-shadow: 0 2px 20px rgba(0, 74, 173, 0.07);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 32px rgba(0, 74, 173, 0.11);
}

/* Inner bar - matches .container width so header/content/footer align */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 1.5rem;
  padding: 0.375rem 0;
}

.logo svg { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
  margin: 0;
  flex: 1;
  justify-content: center;
  padding: 0;
}

.nav-links a {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  transition: all 0.25s var(--spring);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--navy);
  background: rgba(0, 74, 173, 0.06);
}

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  cursor: pointer;
  background: none;
  border: none;
  transition: all 0.25s var(--spring);
  white-space: nowrap;
}
.nav-dropdown-toggle:hover {
  color: var(--navy);
  background: rgba(0, 74, 173, 0.06);
}
.nav-dropdown-toggle .nav-chevron {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
  margin-top: 1px;
}
.nav-dropdown:hover .nav-chevron,
.nav-dropdown.open .nav-chevron {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid rgba(0, 74, 173, 0.1);
  border-radius: 1rem;
  box-shadow: 0 8px 40px rgba(0, 74, 173, 0.14);
  padding: 0.5rem;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 999;
}

/* Mega-menu variant - wide, multi-column panel with categorized sections.
   Positioned fixed + centered on the viewport (not the trigger's own li) so a wide
   panel stays centered under the header instead of crashing into the logo when its
   trigger sits near the left edge of the nav. */
.nav-dropdown-menu--mega {
  position: fixed;
  top: 64px;
  left: 50%;
  padding: 1.75rem 2rem;
  min-width: 620px;
}
.nav-dropdown-menu--mega.nav-dropdown-menu--wide { min-width: 820px; }
.nd-mega-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 2.25rem;
}
.nd-mega-columns--2 { grid-template-columns: repeat(2, 1fr); }
.nd-mega-columns--3 { grid-template-columns: repeat(3, 1fr); }
.nd-mega-columns--4 { grid-template-columns: repeat(4, 1fr); }
.nd-column-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  padding: 0 0.875rem 0.625rem;
  margin-bottom: 0.375rem;
  border-bottom: 1px solid rgba(0, 74, 173, 0.09);
}
.nd-column + .nd-column { border-left: 1px solid rgba(0, 74, 173, 0.07); padding-left: 1.5rem; }
.nd-mega-columns .nd-column:first-child { padding-left: 0; }
.nav-dropdown-menu--mega .nav-dropdown-menu-sub a {
  padding: 0.5rem 0.875rem;
}
.nd-item-desc {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-3);
  margin-top: 0.1rem;
  line-height: 1.35;
}
.nd-mega-footer {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 74, 173, 0.09);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}
.nd-mega-footer .btn-pill-primary { color: var(--white); }
.nd-mega-footer .btn-pill-gold { color: var(--navy-deep); }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: all 0.15s ease;
}
.nav-dropdown-menu a:hover {
  background: rgba(0, 74, 173, 0.06);
  color: var(--navy);
}
.nav-dropdown-menu a .nd-icon {
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.nav-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 9999px !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  transition: all 0.3s var(--spring) !important;
  box-shadow: 0 2px 8px rgba(0, 74, 173, 0.3);
}

.nav-cta-pill:hover {
  background: var(--navy-dark) !important;
  color: var(--white) !important;
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(0, 74, 173, 0.4) !important;
}

/* Hamburger toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--navy);
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  gap: 5px;
  transition: background 0.2s;
}

.mobile-menu-toggle:hover { background: rgba(0, 74, 173, 0.08); }

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transform-origin: center;
  transition: all 0.35s var(--spring);
}

.mobile-menu-toggle.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.open .hamburger-line:nth-child(2) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   MOBILE DRAWER  (outside <header>. No stacking context issues)
============================================================ */
.mobile-drawer {
  display: none; /* shown only by JS on mobile */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001; /* above site-header (1000) */
  background: rgba(0, 8, 45, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1.5rem 2rem 3rem;
  overflow-y: auto;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  /* Slide-in from right */
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
}

.mobile-drawer.active {
  display: flex;
  transform: translateX(0);
}

/* Topbar inside drawer: white logo + close button */
.mobile-drawer-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.75rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.2s;
}

.mobile-drawer-close-btn:hover { background: rgba(255, 255, 255, 0.18); }

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.25s cubic-bezier(0.32, 0.72, 0, 1);
  opacity: 0;
  transform: translateX(1.5rem);
  transition: opacity 0.45s cubic-bezier(0.32, 0.72, 0, 1), transform 0.45s cubic-bezier(0.32, 0.72, 0, 1), color 0.2s;
}

.mobile-drawer.active .mobile-drawer-link { opacity: 1; transform: translateX(0); }
.mobile-drawer.active .mobile-drawer-link:nth-child(1) { transition-delay: 60ms; }
.mobile-drawer.active .mobile-drawer-link:nth-child(2) { transition-delay: 100ms; }
.mobile-drawer.active .mobile-drawer-link:nth-child(3) { transition-delay: 140ms; }
.mobile-drawer.active .mobile-drawer-link:nth-child(4) { transition-delay: 180ms; }
.mobile-drawer.active .mobile-drawer-link:nth-child(5) { transition-delay: 220ms; }
.mobile-drawer.active .mobile-drawer-link:nth-child(6) { transition-delay: 260ms; }

.mobile-drawer-link:hover { color: white; }
.mobile-drawer-link:last-child { border-bottom: none; }

.mobile-drawer-cta {
  margin-top: 1.5rem;
  background: var(--gold);
  color: var(--navy-deep) !important;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  border-bottom: none !important;
  justify-content: center;
  font-size: 1.125rem;
}

/* Top-pinned CTA (above nav links) */
.mobile-drawer-cta-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 1rem;
  font-weight: 800;
  border-radius: 0.875rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.mobile-drawer-cta-top:hover { opacity: 0.9; }

/* Accordion sections */
.mobile-drawer-section {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-drawer-section[open] > .mobile-drawer-section-body {
  display: flex;
  flex-direction: column;
}
.mobile-drawer-section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  padding: 1rem 0;
  cursor: pointer;
  user-select: none;
}
.mobile-drawer-section-toggle::-webkit-details-marker { display: none; }
.mobile-drawer-section-toggle:hover { color: white; }

.mobile-drawer-chevron {
  font-size: 1rem;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.mobile-drawer-section[open] .mobile-drawer-chevron {
  transform: rotate(180deg);
}

.mobile-drawer-section-body {
  display: none;
  padding-bottom: 0.5rem;
}

.mobile-drawer-sublink {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  padding: 0.625rem 0 0.625rem 0.75rem;
  text-decoration: none;
  border-left: 2px solid rgba(255,255,255,0.1);
  margin-bottom: 0.125rem;
  transition: color 0.15s, border-color 0.15s;
}
.mobile-drawer-sublink:hover {
  color: white;
  border-left-color: var(--gold);
}

/* ============================================================
   BUTTON-IN-BUTTON PILL CTAs
============================================================ */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 0.875rem 0.875rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.35s var(--spring);
  white-space: nowrap;
}

/* Trailing icon wrapper - nested circle inside button */
.btn-icon-wrap {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: transform 0.35s var(--spring), background 0.25s;
}

.btn-pill:hover .btn-icon-wrap {
  transform: translate(2px, -1px) scale(1.08);
}

/* Primary - navy with gold icon circle */
.btn-pill-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 74, 173, 0.28);
  active:transform: scale(0.98);
}

.btn-pill-primary:hover {
  background: var(--navy-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 74, 173, 0.38);
}

.btn-pill-primary .btn-icon-wrap {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* Gold - accent CTA */
.btn-pill-gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 4px 20px rgba(254, 207, 91, 0.35);
}

.btn-pill-gold:hover {
  background: var(--gold-dark);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(254, 207, 91, 0.5);
}

.btn-pill-gold .btn-icon-wrap {
  background: rgba(0, 29, 92, 0.12);
  color: var(--navy-deep);
}

/* Ghost - white outline */
.btn-pill-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-pill-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-2px);
}

.btn-pill-ghost .btn-icon-wrap {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* Ghost navy - for light backgrounds */
.btn-pill-ghost-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--stroke-mid);
}

.btn-pill-ghost-navy:hover {
  background: var(--surface);
  color: var(--navy);
  border-color: rgba(0, 74, 173, 0.25);
  transform: translateY(-2px);
}

.btn-pill-ghost-navy .btn-icon-wrap {
  background: var(--surface-2);
  color: var(--navy);
}

/* Compact size */
.btn-pill-sm {
  padding: 0.625rem 0.625rem 0.625rem 1.25rem;
  font-size: 0.875rem;
  gap: 0.625rem;
}

.btn-pill-sm .btn-icon-wrap {
  width: 1.875rem;
  height: 1.875rem;
  font-size: 0.875rem;
}

/* ============================================================
   LEGACY BUTTON COMPAT (other pages still use .btn)
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--spring);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 74, 173, 0.25);
}

.btn-primary:hover {
  background: var(--navy-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 74, 173, 0.38);
}

.btn-secondary {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 4px 16px rgba(254, 207, 91, 0.3);
}

.btn-secondary:hover {
  background: var(--gold-dark);
  color: var(--navy-deep);
  transform: translateY(-2px);
}

.btn-large { padding: 1rem 2.5rem; font-size: 1.125rem; }
.me-1 { margin-right: 0.25rem; }
.me-2 { margin-right: 0.5rem; }
.ms-1 { margin-left: 0.25rem; }
.ms-4 { margin-left: 1rem; }

/* ============================================================
   EYEBROW PILL TAGS
============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 74, 173, 0.07);
  border: 1px solid rgba(0, 74, 173, 0.14);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.eyebrow-gold {
  background: rgba(254, 207, 91, 0.18);
  border-color: rgba(254, 207, 91, 0.4);
  color: #8b6000;
}

/* ============================================================
   SECTION DIVIDER, navy → gold
============================================================ */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 55%, transparent 100%);
  border-radius: 2px;
  margin-bottom: 3rem;
}

/* ============================================================
   SCROLL REVEAL SYSTEM  (IntersectionObserver-driven)
   Uses only transform + opacity + filter: GPU-safe
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(2.5rem);
  filter: blur(6px);
  transition:
    opacity  0.85s var(--spring),
    transform 0.85s var(--spring),
    filter   0.85s var(--spring);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Staggered children reveal */
.reveal-group > * {
  opacity: 0;
  transform: translateY(2rem);
  filter: blur(4px);
  transition:
    opacity  0.75s var(--spring),
    transform 0.75s var(--spring),
    filter   0.75s var(--spring);
}

.reveal-group.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-group.visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-group.visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-group.visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-group.visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-group.visible > *:nth-child(6) { transition-delay: 400ms; }

.reveal-group.visible > * {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ============================================================
   HERO SECTION
============================================================ */
/* Base hero - compact, used on all pages */
.hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 52%, #0058c8 100%);
  color: var(--white);
  padding: 3rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Decorative rings layered over the gradient blobs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 680px;
  height: 680px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  top: -220px;
  right: -160px;
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.03);
}
.hero::after {
  width: 420px;
  height: 420px;
  border: 1.5px solid rgba(254, 207, 91, 0.2);
  bottom: -140px;
  left: -100px;
  box-shadow: 0 0 0 40px rgba(254, 207, 91, 0.04);
}

/* Full-height variant - homepage only */
.hero--full {
  padding: 4rem 0 3.5rem;
  min-height: unset;
}

/* Ensure text is readable on any navy hero background */
.hero p,
.hero .lead {
  color: rgba(255, 255, 255, 0.82);
}

/* Decorative orbs - animated gradient blobs */
@keyframes orb-drift-1 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.7; }
  33%  { transform: translate(-40px, 30px) scale(1.06); opacity: 0.9; }
  66%  { transform: translate(25px, -20px) scale(0.96); opacity: 0.75; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
}
@keyframes orb-drift-2 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.6; }
  40%  { transform: translate(50px, -35px) scale(1.08); opacity: 0.85; }
  75%  { transform: translate(-20px, 20px) scale(0.94); opacity: 0.65; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
}
@keyframes orb-pulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50%       { transform: scale(1.18); opacity: 0.85; }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  will-change: transform, opacity;
}

.hero-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 110, 255, 0.28) 0%, rgba(0, 74, 173, 0.12) 50%, transparent 75%);
  top: -200px;
  right: -150px;
  animation: orb-drift-1 22s ease-in-out infinite;
}

.hero-orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(254, 207, 91, 0.18) 0%, rgba(254, 207, 91, 0.06) 50%, transparent 75%);
  bottom: -150px;
  left: -120px;
  animation: orb-drift-2 28s ease-in-out infinite;
}

.hero-orb--3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(254, 207, 91, 0.22) 0%, transparent 70%);
  top: 30%;
  right: 12%;
  filter: blur(40px);
  animation: orb-pulse 14s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Split hero */
.hero-content--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
  max-width: 1200px;
}
.hero-content--split .hero-lead { margin-left: 0; margin-right: 0; }
.hero-content--split .hero-cta-group { justify-content: flex-start; }

.hero-kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}

/* Problem statement h1 */
.hero-problem {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  color: white;
  margin-bottom: 0;
}

/* Cycling word */
.hero-cycle {
  display: inline;
  color: #ffd84d;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.hero-cycle--out { opacity: 0; transform: translateY(-6px); }
.hero-cycle--in  { animation: hero-cycle-in 0.3s ease forwards; }
@keyframes hero-cycle-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Answer line inside h1 */
.hero-answer {
  display: block;
  font-size: 0.75em;
  color: var(--gold);
  line-height: 1.15;
  margin-top: 0.25em;
}
.hero-answer em {
  font-style: italic;
  font-size: 1.08em;
}

/* Screenshot */
@keyframes screenshot-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.hero-screenshot {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-screenshot__img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 20px 60px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.08);
  animation: screenshot-float 6s ease-in-out infinite;
  transform-origin: center bottom;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 .gold { color: var(--gold); }

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Module pills */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  padding: 0.3rem 0.875rem;
  font-size: 0.775rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  transition: all 0.25s var(--spring);
}

.hero-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.hero-pill.gold {
  background: rgba(254, 207, 91, 0.14);
  border-color: rgba(254, 207, 91, 0.36);
  color: var(--gold);
  font-weight: 600;
}

.hero-trust {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.hero-trust-item .ph { color: var(--gold); font-size: 0.875rem; }

/* Compliance strip */
.compliance-strip {
  background: var(--navy-deep);
  border-top: 1px solid rgba(254, 207, 91, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.75rem 0;
}

.compliance-strip-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.comp-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

.comp-tag strong { color: var(--gold); }

/* ============================================================
   DOUBLE-BEZEL CARD ARCHITECTURE
   Outer shell (machined tray) + Inner core (glass plate)
============================================================ */
.bezel {
  background: rgba(0, 74, 173, 0.045);
  border: 1px solid rgba(0, 74, 173, 0.13);
  border-radius: var(--r-xl);
  padding: 6px;
  box-shadow: 0 2px 12px rgba(0, 74, 173, 0.07), 0 1px 3px rgba(0, 74, 173, 0.04);
  transition: box-shadow 0.45s var(--spring), border-color 0.3s, transform 0.4s var(--spring);
}

.bezel:hover {
  border-color: rgba(0, 74, 173, 0.22);
  box-shadow: 0 4px 10px rgba(0,74,173,0.07), 0 20px 56px rgba(0,74,173,0.13);
  transform: translateY(-2px);
}

.bezel__inner {
  background: var(--white);
  border-radius: var(--r-xl-inner);
  padding: 2rem;
  height: 100%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.6);
}

/* Large bezel */
.bezel--lg {
  border-radius: var(--r-2xl);
}

.bezel--lg .bezel__inner {
  border-radius: var(--r-2xl-inner);
  padding: 2.5rem;
}

/* Icon container inside bezel - navy circle */
.bezel-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.bezel-icon.gold { background: var(--gold); color: var(--navy-deep); }
.bezel-icon.green { background: var(--success); color: var(--white); }

/* Dark bezel - inverted navy card */
.bezel--dark {
  background: var(--navy-deep);
  border-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.22), 0 1px 3px rgba(0, 0, 0, 0.12);
}

.bezel--dark:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 56px rgba(0, 0, 0, 0.32);
  transform: translateY(-3px);
}

.bezel--dark .bezel__inner {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dark) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.bezel--dark .bezel__inner h2,
.bezel--dark .bezel__inner h3 {
  color: var(--white) !important;
}

.bezel--dark .bezel__inner p {
  color: rgba(255, 255, 255, 0.68) !important;
}

/* ============================================================
   BENTO GRID  (Asymmetric masonry-style)
============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bento--wide { grid-column: span 2; }
.bento--tall { grid-row: span 2; }
.bento--full { grid-column: span 3; }

/* ============================================================
   SECTIONS, massive whitespace
============================================================ */
section { padding: 7rem 0; }
section.tight { padding: 4rem 0; }
section.slim  { padding: 2rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 { color: var(--navy); margin-bottom: 0.875rem; }

.section-header p {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.65;
}

/* ============================================================
   FEATURE MOCKUP SCREENS  (animated hi-fidelity previews)
   GPU-safe: only animates transform + opacity
============================================================ */
.feature-mockup {
  background: var(--navy-deep);
  border-radius: var(--r-xl-inner) var(--r-xl-inner) 0 0;
  padding: 1.25rem 1.125rem;
  height: 248px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

/* Cards stretch to equal height within a .bento row; pin the CTA to the
   bottom of the text block so "Learn More" lines up even when titles
   wrap to different numbers of lines or descriptions vary in length. */
.bento .bezel__inner:has(.feature-mockup) {
  display: flex;
  flex-direction: column;
}

.bento .feature-mockup + div {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bento .feature-mockup + div > a {
  margin-top: auto;
}

@keyframes mockFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes mockPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.68; transform: scale(0.96); }
}

@keyframes mockProgressFill {
  from { width: 0; }
  to   { width: 72%; }
}

@keyframes mockBlink {
  0%, 74%, 100% { opacity: 1; }
  87%            { opacity: 0; }
}

.mr1 { animation: mockFadeUp 0.5s var(--spring) 0.10s both; }
.mr2 { animation: mockFadeUp 0.5s var(--spring) 0.22s both; }
.mr3 { animation: mockFadeUp 0.5s var(--spring) 0.34s both; }
.mr4 { animation: mockFadeUp 0.5s var(--spring) 0.46s both; }
.mr5 { animation: mockFadeUp 0.5s var(--spring) 0.58s both; }

.mpulse    { animation: mockPulse 2.1s ease-in-out infinite; will-change: transform; }
.mcursor   { animation: mockBlink 1.2s step-end infinite; font-style: normal; }
.mprogress {
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  animation: mockProgressFill 1.6s var(--spring) 0.5s both;
}

/* ARIA full-width card inner grid */
.aria-card .bezel__inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  padding: 0 !important;
  overflow: hidden;
}

.aria-screen {
  background: var(--navy-deep);
  border-left: 1px solid rgba(0, 74, 173, 0.1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ============================================================
   FEATURE CARDS  (bezel-based)
============================================================ */
.feature-card {
  background: var(--white);
  border: 1px solid var(--stroke);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(0, 74, 173, 0.05);
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--spring), border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 74, 173, 0.12);
  border-color: var(--stroke-mid);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.feature-icon.gold  { background: var(--gold); color: var(--navy-deep); }
.feature-icon.green { background: var(--success); color: var(--white); }
.feature-icon.teal  { background: #0891b2; color: var(--white); }

.feature-card h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 0.625rem;
}

.feature-card p {
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0;
}

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

/* ============================================================
   STAT BOXES
============================================================ */
.stat-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
}

.stat-box {
  flex: unset;
  min-width: unset;
  background: transparent;
  color: var(--white);
  border-radius: 0;
  padding: 3.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.stat-box:last-child { border-right: none; }

.stat-num {
  display: block;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 0;
}

/* ============================================================
   PRICING
============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.pricing-card {
  background: rgba(0, 74, 173, 0.02);
  border: 1px solid var(--stroke);
  border-radius: var(--r-xl);
  padding: 0.375rem;
  transition: box-shadow 0.4s var(--spring), border-color 0.3s;
  position: relative;
}

.pricing-card:hover {
  border-color: var(--stroke-mid);
  box-shadow: 0 16px 48px rgba(0, 74, 173, 0.1);
}

.pricing-card__inner {
  background: var(--white);
  border-radius: var(--r-xl-inner);
  padding: 2.25rem 2rem;
  height: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1);
}

.pricing-card.featured {
  border-color: var(--navy);
  box-shadow: 0 8px 32px rgba(0, 74, 173, 0.15);
}

.pricing-card.featured .pricing-card__inner {
  background: linear-gradient(160deg, #f0f6ff 0%, var(--white) 60%);
}

.pricing-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.3rem 1.125rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* Dark featured pricing variant - inverted navy */
.pricing-card.featured-dark {
  border-color: rgba(254, 207, 91, 0.28);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(254,207,91,0.09);
  background: var(--navy-deep);
}

.pricing-card.featured-dark:hover {
  border-color: rgba(254, 207, 91, 0.44);
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(254,207,91,0.15);
  transform: translateY(-3px);
}

.pricing-card.featured-dark .pricing-card__inner {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.pricing-card.featured-dark::before {
  content: "Most Popular";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.3rem 1.125rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.pricing-card.featured-dark .tier-name { color: var(--gold); }
.pricing-card.featured-dark .tier-price { color: var(--white); }
.pricing-card.featured-dark .tier-price small { color: rgba(255,255,255,0.45); }
.pricing-card.featured-dark .tier-description { color: rgba(255,255,255,0.58); margin-bottom: 1.5rem; }
.pricing-card.featured-dark .tier-features li {
  color: rgba(255,255,255,0.82);
  border-bottom-color: rgba(255,255,255,0.07);
}
.pricing-card.featured-dark .tier-features .icon { color: var(--gold); }

.tier-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.375rem;
  letter-spacing: -0.01em;
}

.tier-price {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.tier-price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0;
}

.tier-description {
  color: var(--text-2);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.tier-features {
  list-style: none;
  margin-bottom: 2rem;
}

.tier-features li {
  padding: 0.625rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--stroke);
  font-size: 0.9rem;
  color: var(--text);
}

.tier-features li:last-child { border-bottom: none; }

.tier-features .icon {
  font-size: 1rem;
  color: var(--navy);
  flex-shrink: 0;
  font-weight: 700;
}

/* ============================================================
   COMPARISON TABLE
============================================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 74, 173, 0.07);
  border: 1px solid var(--stroke);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--stroke);
}

.comparison-table thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.775rem;
  letter-spacing: 0.08em;
}

.comparison-table tbody tr:hover { background: var(--surface); }
.comparison-table .check { color: var(--success); font-size: 1rem; }
.comparison-table .cross { color: #d1d5db; font-size: 1rem; }

/* ============================================================
   QUALIFICATION WIZARD
============================================================ */
.wizard-container {
  max-width: 680px;
  margin: 3rem auto;
}

.wizard-shell {
  background: rgba(0, 74, 173, 0.03);
  border: 1px solid var(--stroke);
  border-radius: var(--r-2xl);
  padding: 0.5rem;
  box-shadow: 0 4px 32px rgba(0, 74, 173, 0.07);
}

.wizard-inner {
  background: var(--white);
  border-radius: var(--r-2xl-inner);
  padding: 3rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1);
}

.wizard-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.wizard-progress::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--stroke);
  z-index: 0;
}

.wizard-progress-fill {
  position: absolute;
  top: 19px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%);
  z-index: 1;
  transition: width 0.6s var(--spring);
}

.wizard-step {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--stroke-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  position: relative;
  z-index: 2;
  transition: all 0.35s var(--spring);
  color: var(--text-3);
}

.wizard-step.active {
  border-color: var(--navy);
  color: var(--navy);
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(0, 74, 173, 0.1);
}

.wizard-step.completed {
  border-color: var(--success);
  background: var(--success);
  color: var(--white);
}

.wizard-content { min-height: 280px; }

.wizard-question h3 {
  color: var(--navy);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.wizard-options { display: flex; flex-direction: column; gap: 0.75rem; }

.wizard-option {
  background: var(--surface);
  border: 1.5px solid var(--stroke);
  border-radius: 0.875rem;
  padding: 1.125rem 1.25rem;
  cursor: pointer;
  transition: all 0.25s var(--spring);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: var(--text);
}

.wizard-option:hover {
  border-color: var(--navy);
  background: rgba(0, 74, 173, 0.04);
  transform: translateX(3px);
}

.wizard-option.selected {
  border-color: var(--navy);
  background: rgba(0, 74, 173, 0.06);
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.08);
}

.wizard-option input[type="radio"],
.wizard-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  flex-shrink: 0;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

/* ============================================================
   RECOMMENDATION CARD
============================================================ */
.recommendation-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  border-radius: var(--r-2xl);
  padding: 3rem;
  margin: 2rem 0;
  box-shadow: 0 24px 64px rgba(0, 74, 173, 0.28);
}

.recommendation-card h2 { color: var(--white); font-size: 2rem; }
.recommendation-card p { color: rgba(255, 255, 255, 0.9); }
.recommendation-card .price { font-size: 3rem; font-weight: 900; margin: 1rem 0; color: var(--gold); letter-spacing: -0.04em; }

.recommendation-card ul { list-style: none; margin: 1.5rem 0; }

.recommendation-card ul li {
  padding: 0.625rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9375rem;
}

.recommendation-card ul li .icon { color: var(--gold); }

/* ============================================================
   FORMS
============================================================ */
.form-group { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 1.5px solid var(--stroke-mid);
  border-radius: 0.875rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s var(--spring), box-shadow 0.2s var(--spring);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
}

.form-textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   FOOTER, navy-deep editorial
============================================================ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.6);
  padding: 5rem 0 2.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-section h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.625rem; }

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s var(--spring);
}

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

.footer-brand-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.footer-compliance-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 1.25rem;
}

.footer-tag {
  font-size: 0.675rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  letter-spacing: 0.03em;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--gold); }
.footer-bottom strong { color: var(--gold); }

/* ============================================================
   BADGE / LEGACY COMPAT
============================================================ */
.badge {
  display: inline-block;
  padding: 0.35rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--gold);
  color: var(--navy-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.badge.success { background: #d1fae5; color: var(--success); }

/* ============================================================
   UTILITIES
============================================================ */
.text-center { text-align: center; }
.text-navy   { color: var(--navy); }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text-2); }
.text-white  { color: var(--white); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* ============================================================
   BLOG ARTICLE CONTENT (inner pages)
============================================================ */
.feature-card h2 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1.75rem; color: var(--navy); }
.feature-card h2:first-child { margin-top: 0; }
.feature-card h3 { margin-top: 2rem; margin-bottom: 0.75rem; font-size: 1.375rem; }
.feature-card h4 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.feature-card p  { margin-bottom: 1.25rem; line-height: 1.7; }
.feature-card ul, .feature-card ol { margin-bottom: 1.5rem; margin-left: 1.5rem; }
.feature-card li { margin-bottom: 0.5rem; line-height: 1.7; }
.feature-card table { margin: 1.5rem 0; }

/* ============================================================
   MOBILE RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  /* Header: stay sticky, compress height on mobile */
  .nav-inner {
    padding: 0 1.25rem;
    height: 56px;
  }

  /* Content/footer: shrink gutter to match header and maximize usable width */
  .container {
    padding: 0 1.25rem;
  }

  /* Hide desktop nav links on mobile - prevents horizontal overflow */
  .nav-links { display: none !important; }

  /* Show hamburger on mobile */
  .mobile-menu-toggle { display: flex; }

  /* Prevent ALL card/section overflow from exceeding viewport */
  .bezel, .feature-card, .feature-mockup {
    overflow: hidden;
    max-width: 100%;
  }

  /* ARIA card: stack vertically, hide chat screen (too small to read) */
  .aria-card .bezel__inner {
    grid-template-columns: 1fr !important;
  }
  .aria-screen { display: none !important; }

  /* Feature mockup: tighter padding on mobile */
  .feature-mockup {
    padding: 1rem;
    min-height: 160px;
  }

  /* ── Mobile stacking utility ──
     Applied to structural two/three-column grids and flex rows.
     Covers all inline-style grids that can't be overridden without !important */
  .stack-mobile,
  .stack-mobile.reveal-group,
  .feature-grid.stack-mobile {
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
  }

  /* Also handle feature-grid with inline repeat(3) that already had its own rule */
  .feature-grid[style*="1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .hero--full { padding: 3rem 0 2.5rem; min-height: unset; }
  .hero h1 { font-size: 2.25rem; }
  .hero-lead { font-size: 1.05rem; }
  .hero-cta-group { flex-direction: column; align-items: center; }

  /* Split hero → single column on mobile */
  .hero-content--split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content--split .hero-cta-group { justify-content: center; }
  .hero-screenshot__img {
    animation: none;
    transform: none;
    border-radius: 0.75rem;
    margin-top: 2rem;
  }

  section { padding: 4.5rem 0; }

  .bento { grid-template-columns: 1fr; }
  .bento--wide { grid-column: span 1; }
  .bento--tall { grid-row: span 1; }
  .bento--full { grid-column: span 1; }

  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }

  .stat-row { grid-template-columns: 1fr; }
  .stat-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 2.5rem 1.5rem; }
  .stat-box:last-child { border-bottom: none; }

  .comparison-table { font-size: 0.875rem; }
  .comparison-table th, .comparison-table td { padding: 0.75rem 0.625rem; }

  .wizard-inner { padding: 2rem 1.5rem; }

  .compliance-strip-inner { gap: 0.875rem; }

  .feature-grid[style*="repeat(3"] { grid-template-columns: 1fr !important; }
  .bento[style*="repeat(3"] { grid-template-columns: 1fr !important; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento--wide { grid-column: span 2; }
  .bento--full { grid-column: span 2; }
  .feature-grid[style*="repeat(3"] { grid-template-columns: repeat(2, 1fr) !important; }
  .bento[style*="repeat(3"] { grid-template-columns: repeat(2, 1fr) !important; }
}


/* ============================================================
   Pricing page: three-column tiers, compact hero, short notes
============================================================ */
.hero.hero--compact { padding: 2.75rem 0 2.5rem; }

.pricing-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.25rem;
  max-width: 1180px;
  margin: 0 auto;
}

.pricing-grid--3 .pricing-card__inner { padding: 2rem 1.75rem; display: flex; flex-direction: column; }
.pricing-grid--3 .tier-features { flex: 1; margin-bottom: 0; }
.pricing-grid--3 .tier-features li { padding: 0.5rem 0; font-size: 0.875rem; }

.tier-range {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.tier-term {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-3);
  margin: -0.75rem 0 1.25rem;
}
.pricing-card.featured-dark .tier-range { color: var(--white); }
.pricing-card.featured-dark .tier-term { color: rgba(255,255,255,0.5); }

.pricing-card.featured-dark.best-value::before { content: "Best value"; }
.pricing-card.featured-dark.best-value {
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(254,207,91,0.22);
}

.pricing-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stroke);
}
.pricing-notes dt {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.pricing-notes dd {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-2);
}

@media (max-width: 991px) {
  .pricing-grid--3 { grid-template-columns: 1fr; max-width: 520px; }
  .pricing-grid--3 .pricing-card.best-value { order: -1; }
}

/* ============================================================
   Resources and Glossary (content from the headless CMS)
============================================================ */
.cms-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: center;
  margin: 0 0 2.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.cms-filter a { color: var(--text-2); text-decoration: none; padding-bottom: 0.25rem; border-bottom: 2px solid transparent; }
.cms-filter a:hover, .cms-filter a.active { color: var(--navy); border-bottom-color: var(--gold); }

.cms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.cms-kicker {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 0.5rem;
}
.cms-card-title { font-size: 1.15rem; margin: 0 0 0.5rem; line-height: 1.35; text-align: left; }
.cms-card-title a { color: var(--navy); text-decoration: none; }
.cms-card-title a:hover { text-decoration: underline; }

.cms-answer { font-size: 1.15rem; line-height: 1.7; color: var(--text); font-weight: 500; margin: 0 0 1rem; }
.cms-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-size: 0.8125rem; color: var(--text-3); margin: 0 0 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--stroke); }

.cms-body { font-size: 1.0625rem; line-height: 1.8; color: var(--text-2); }
.cms-body h2, .cms-h2 { font-size: 1.5rem; margin: 2.25rem 0 0.75rem; text-align: left; color: var(--navy); }
.cms-body h3 { font-size: 1.2rem; margin: 1.75rem 0 0.5rem; text-align: left; color: var(--navy); }
.cms-body ul, .cms-body ol { padding-left: 1.25rem; }
.cms-body a { color: var(--navy); text-decoration: underline; }
.cms-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
.cms-body th, .cms-body td { border-bottom: 1px solid var(--stroke); padding: 0.6rem 0.75rem; text-align: left; }

.cms-glossary > div { padding: 1.1rem 0; border-bottom: 1px solid var(--stroke); }
.cms-glossary dt { font-size: 1.1rem; font-weight: 700; }
.cms-glossary dt a { color: var(--navy); text-decoration: none; }
.cms-glossary dd { margin: 0.25rem 0 0; color: var(--text-2); line-height: 1.6; }

.cms-body blockquote { margin: 1.5rem 0; padding: 0.5rem 1.25rem; background: var(--surface); border-left: 4px solid var(--gold); border-radius: 0 0.5rem 0.5rem 0; color: var(--text); }
.cms-body blockquote h3 { margin-top: 0.75rem; font-size: 1.05rem; }
.cms-body blockquote > :last-child { margin-bottom: 0.75rem; }
.cms-body th { color: var(--navy); font-weight: 700; }
.cms-body table { display: block; overflow-x: auto; }
.cms-faq { background: white; border: 1px solid var(--stroke); border-radius: 0.5rem; padding: 1.25rem 1.5rem; margin: 1rem 0; }
.cms-faq h3 { font-size: 1.05rem; margin: 0; text-align: left; color: var(--navy); }
.cms-faq p { margin: 0.5rem 0 0; }
.cms-sources { font-size: 0.9rem; color: var(--text-2); line-height: 1.8; padding-left: 1.25rem; }
.cms-related { line-height: 1.9; padding-left: 1.25rem; }
.cms-related a { color: var(--navy); }

.cms-search { width: 100%; max-width: 480px; padding: 0.85rem 1.25rem; border-radius: 9999px; border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.95); color: var(--navy); font-size: 1rem; }
.cms-search:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cms-help-list { list-style: none; margin: 0; padding: 0; }
.cms-help-list li { padding: 0.9rem 0; border-bottom: 1px solid var(--stroke); }
.cms-help-list li[hidden], .cms-help-section[hidden] { display: none; }
.cms-help-list a { display: block; font-weight: 700; color: var(--navy); text-decoration: none; margin-bottom: 0.2rem; }
.cms-help-list a:hover { text-decoration: underline; }
.cms-help-list span { display: block; font-size: 0.9rem; color: var(--text-2); line-height: 1.55; }

/* One-time setup fee line under a tier price. Readable on the light cards and on the dark Pro card. */
.tier-setup { font-size: 0.8125rem; font-weight: 600; color: var(--text-2); margin: -0.25rem 0 0.75rem; }

/* ============================================================
   NAV ADDITIONS — Platform mega-menu highlight column
============================================================ */
.nd-column--highlight {
  background: linear-gradient(160deg, rgba(0,74,173,0.04) 0%, rgba(0,74,173,0.01) 100%);
  border-radius: var(--r-xl-inner);
  padding: 1rem 1.25rem !important;
  border-left: none !important;
  margin-left: 0.5rem;
}
.nd-featured-item { align-items: flex-start !important; }
.nd-featured-item .nd-item-desc { display: block; margin-top: 0.125rem; }
.nd-platform-pitch {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--stroke);
}
.nd-platform-pitch p { font-size: 0.8125rem; color: var(--text-2); line-height: 1.55; margin: 0; }

/* Resources mega dropdown width */
.nav-dropdown-menu--resources { min-width: 620px; }

/* Mobile drawer group labels */
.mobile-drawer-group-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  padding: 0.75rem 1.25rem 0.25rem;
}

/* ============================================================
   FEATURE SPLIT — Rippling-style text + app mockup layout
============================================================ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
}
.feature-split + .feature-split {
  border-top: 1px solid var(--stroke);
}
.feature-split--reverse { direction: rtl; }
.feature-split--reverse > * { direction: ltr; }

.feature-split__text {}
.feature-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--surface-2);
  border: 1px solid var(--stroke-mid);
  border-radius: 9999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1rem;
}
.feature-split__text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.feature-split__text p.lead {
  font-size: 1.125rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.feature-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.5;
}
.feature-checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  background: var(--success);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M13.5 4.5L6.5 11.5 3 8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* App frame — browser chrome wrapper for mockups */
.app-frame {
  background: #fff;
  border-radius: 1rem;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.06),
    0 8px 16px rgba(0,74,173,0.06),
    0 32px 64px rgba(0,74,173,0.10);
  overflow: hidden;
}
.app-frame__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.875rem;
  background: #f0f2f5;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.app-frame__dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #d1d5db;
}
.app-frame__dot:first-child { background: #fc6057; }
.app-frame__dot:nth-child(2) { background: #febc2e; }
.app-frame__dot:nth-child(3) { background: #28c840; }
.app-frame__url {
  flex: 1;
  font-size: 0.7rem;
  color: #9ca3af;
  background: #fff;
  border-radius: 0.3rem;
  padding: 0.2rem 0.6rem;
  margin: 0 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-frame__content {
  background: var(--surface);
  overflow: hidden;
}
.app-frame__content img {
  display: block;
  width: 100%;
  height: auto;
}

/* Mock UI for when real screenshots aren't available yet */
.mock-ui {
  padding: 1.25rem;
  font-size: 0.8125rem;
}
.mock-ui__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--stroke);
}
.mock-ui__title { font-weight: 700; color: var(--navy); font-size: 0.9375rem; }
.mock-ui__badge {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: rgba(16,185,129,0.1);
  color: #059669;
}
.mock-ui__table { width: 100%; border-collapse: collapse; }
.mock-ui__table th {
  text-align: left;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid var(--stroke);
}
.mock-ui__table td {
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid var(--stroke);
  color: var(--text-2);
}
.mock-ui__table tr:last-child td { border-bottom: none; }
.mock-ui__pill {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
}
.mock-ui__pill--green { background: rgba(16,185,129,0.1); color: #059669; }
.mock-ui__pill--blue  { background: rgba(0,74,173,0.08); color: var(--navy); }
.mock-ui__pill--amber { background: rgba(245,158,11,0.1); color: #b45309; }
.mock-ui__stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}
.mock-ui__stat {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
}
.mock-ui__stat-val { font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.mock-ui__stat-lbl { font-size: 0.6875rem; color: var(--text-3); margin-top: 0.1rem; }

@@media (max-width: 900px) {
  .feature-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 0;
  }
  .feature-split--reverse { direction: ltr; }
}
.pricing-card.featured-dark .tier-setup { color: rgba(255,255,255,0.85); }
