@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');
/* ============================================================
   AI Targeted Solutions — site.css
   ------------------------------------------------------------
   Shared chrome: design tokens, reset, typography, buttons,
   header/nav, footer, mobile menu, dropdowns. Loaded once and
   browser-cached across the site.

   Auto-generated from rules appearing in >= 4 of
   7 main pages. Page-specific styles remain inline.
   ============================================================ */

:root {
  /* "Service industry, 2050" — charcoal base, neon purple primary, cyan secondary.
     NOTE: --charcoal is repurposed as the primary (light) TEXT color, because the
     codebase uses it for text everywhere. Dark backgrounds use --ink / --surface /
     --ink-deep. Dark-section backgrounds that previously used var(--charcoal) and
     white card backgrounds (var(--white)) are converted to these surfaces. */
  --ink: #0B0B12;            /* page background */
  --surface: #15151E;        /* cards */
  --surface-2: #1E1E2A;      /* raised surfaces / inputs */
  --ink-deep: #101019;       /* dark feature / footer sections */
  --charcoal: #F2F2F8;       /* primary text (light) */
  --charcoal-soft: #D7DAE3;  /* slightly dimmer text */
  --rose: #A855F7;           /* primary accent — neon purple */
  --rose-dark: #7C3AED;
  --rose-soft: rgba(168, 85, 247, 0.14);
  --purple-glow: #C77DFF;
  --cyan: #22D3EE;           /* secondary accent */
  --cyan-glow: #67E8F9;
  --cyan-soft: rgba(34, 211, 238, 0.14);
  --soft-white: #0B0B12;     /* legacy light bg token -> now the dark page bg */
  --white: #FFFFFF;          /* white text on dark / button labels */
  --gray: #BCC2D0;
  --gray-light: #9298AA;
  --border: rgba(255, 255, 255, 0.10);
  --shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.45);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.65);
  color-scheme: dark;
  --radius: 20px;
  --radius-sm: 12px;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  /* Reserve the scrollbar gutter on every page so the sticky header's nav
     doesn't shift left/right when navigating between short (no scrollbar)
     and tall (scrollbar) pages. */
  scrollbar-gutter: stable;
}

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

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

a:focus-visible,
    button:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn:focus-visible { outline-offset: 4px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink-deep);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 200;
}

.skip-link:focus { left: 16px; }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.btn-primary {
  background: var(--rose);
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(168, 85, 247, 0.32);
}

.btn-primary:link, .btn-primary:visited, .btn-primary:active {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--rose-dark);
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(168, 85, 247, 0.42);
}

.btn-secondary {
  background: transparent;
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.55);
}

.btn-secondary:hover {
  background: var(--cyan-soft);
  color: var(--cyan-glow);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.btn-arrow:hover::after { transform: translateX(3px); }

.section { padding: 96px 0; }

.section-label {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--rose), var(--cyan));
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  font-weight: 600;
}

h1 em {
  font-style: italic;
  color: var(--rose);
  font-weight: 500;
}

p {
  color: var(--gray);
  font-size: 1.05rem;
}

p + p { margin-top: 14px; }

header {
  background: rgba(11, 11, 18, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.logo span {
  font-size: 0.72rem;
  color: var(--rose);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  list-style: none;
}

.nav-links a:hover { color: var(--rose); }

.nav-links .btn {
  padding: 11px 22px;
  font-size: 0.92rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
        radial-gradient(circle at 85% 20%, rgba(168, 85, 247, 0.18), transparent 38%),
        radial-gradient(circle at 10% 90%, rgba(34, 211, 238, 0.13), transparent 32%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.hero-eyebrow span { color: var(--rose); }

.trust-line {
  font-weight: 600;
  color: var(--charcoal);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-line::before {
  content: '';
  width: 38px;
  height: 2px;
  background: var(--ink-deep);
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
        linear-gradient(135deg, rgba(168,85,247,0.22) 0%, var(--surface) 52%, rgba(34,211,238,0.18) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.final-cta {
  text-align: center;
  background:
        radial-gradient(circle at 28% 50%, rgba(168, 85, 247, 0.15), transparent 52%),
        radial-gradient(circle at 76% 50%, rgba(34, 211, 238, 0.11), transparent 52%),
        var(--soft-white);
}

.final-cta p {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 1.1rem;
}

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

footer {
  background: var(--ink-deep);
  color: var(--white);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

footer h4 {
  color: var(--white);
  margin-bottom: 16px;
}

footer p,
    footer a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

footer a:hover { color: var(--rose); }

.footer-logo strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}

.footer-links {
  display: grid;
  gap: 10px;
  list-style: none;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
}

.nav-links > li { position: relative; }

.nav-links > li > a, .nav-links > li > button.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, background 0.2s;
}

.nav-links > li > a:hover, .nav-links > li > button.dropdown-trigger:hover,
    .nav-links > li > a.active, .nav-links > li > button.dropdown-trigger[aria-expanded="true"] {
  color: var(--rose);
  background: var(--rose-soft);
}

.dropdown-trigger::after {
  content: '▾';
  font-size: 0.7rem;
  margin-left: 2px;
  transition: transform 0.25s;
}

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

.nav-links .nav-cta {
  margin-left: 8px;
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  background: var(--rose);
  color: var(--white);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(168, 85, 247, 0.32);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.nav-links .nav-cta:hover {
  background: var(--rose-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(168, 85, 247, 0.42);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 15, 16, 0.12);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 110;
}

.nav-links > li:hover > .dropdown-menu,
    .dropdown-trigger[aria-expanded="true"] + .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu li a:hover {
  background: var(--rose-soft);
  color: var(--rose);
}

.dropdown-menu li a strong {
  display: block;
  font-weight: 700;
}

.dropdown-menu li a small {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-light);
  margin-top: 2px;
}

.hamburger {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 210;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-deep);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s;
}

.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }

.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 100%);
  background: var(--surface);
  box-shadow: -8px 0 24px rgba(15, 15, 16, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 88px 24px 32px;
  z-index: 150;
  overflow-y: auto;
  visibility: hidden;
}

.mobile-menu[data-open="true"] {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 16, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 140;
}

.mobile-menu-backdrop[data-open="true"] {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-section { margin-bottom: 8px; }

.mobile-menu-section-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
  padding: 16px 14px 6px;
}

.mobile-menu a {
  display: block;
  padding: 14px 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  border-radius: 10px;
  transition: background 0.15s;
}

.mobile-menu a:hover, .mobile-menu a:focus-visible {
  background: var(--rose-soft);
  color: var(--rose);
}

.mobile-menu .mobile-cta {
  display: block;
  margin-top: 16px;
  padding: 16px;
  background: var(--rose);
  color: var(--white);
  text-align: center;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(168, 85, 247, 0.32);
}

.mobile-menu .mobile-cta:hover { background: var(--rose-dark); }

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--rose);
  color: var(--white);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(168, 85, 247, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.2s;
  z-index: 90;
}

.back-to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--rose-dark);
  transform: translateY(-3px);
}

@media (max-width: 980px) {
  .nav-links { display: none; }
        .hamburger { display: block; }
}

@media (max-width: 480px) { .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; } }

body[data-menu-open="true"] { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
          animation-duration: 0.01ms !important;
          transition-duration: 0.01ms !important;
          scroll-behavior: auto !important;
        }
}

.footer-grid-v2 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 36px 26px;
  align-items: start;
  margin-bottom: 36px;
}

/* Centered brand block above the link columns */
.footer-brand-top {
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.footer-brand-top .footer-brandrow { justify-content: center !important; margin-bottom: 4px !important; }
.footer-brand-top .footer-tagline { margin-left: auto; margin-right: auto; }
.footer-brand-top .footer-contact-block { align-items: center; }
.footer-brand-top .footer-social { justify-content: center; }
.footer-brand-top .footer-cta { align-self: center; }

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand .footer-tagline {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.84);
}

.footer-contact-block a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-block a:hover { color: var(--rose); }

.footer-contact-block .label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 8px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--rose);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(168, 85, 247, 0.32);
  transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
  margin-top: 4px;
}

.footer-cta:hover {
  background: var(--rose-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.footer-grid-v2 h4 {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
}

.footer-grid-v2 .footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid-v2 .footer-links a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-grid-v2 .footer-links a:hover { color: var(--rose); }

/* Industries column: two-up list so 13 links stay compact */
.footer-grid-v2 .footer-links.cols2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
}

/* Industries band — full-width chip row */
.footer-industries {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  margin-bottom: 30px;
}
.footer-industries h4 {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}
.footer-industry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-industry-chips a {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.footer-industry-chips a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: var(--cyan-soft);
}

/* Bottom legal bar */
.footer-legal {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  margin-bottom: 16px;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-legal-links a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.84rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal-links a:hover { color: var(--cyan); }

@media (max-width: 900px) {
  .footer-grid-v2 {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
  }
}

@media (max-width: 520px) {
  .footer-grid-v2 {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

#aits-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 16, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#aits-popup-overlay[data-visible="true"] {
  opacity: 1;
  visibility: visible;
}

.aits-popup-card {
  background: var(--surface);
  border-radius: 18px;
  width: min(480px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 32px 28px 24px;
  position: relative;
  box-shadow: 0 24px 64px rgba(15, 15, 16, 0.32);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#aits-popup-overlay[data-visible="true"] .aits-popup-card { transform: translateY(0); }

.aits-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #5A5E66;
  font-size: 1.5rem;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aits-popup-close:hover {
  background: var(--ink);
  color: var(--charcoal);
}

.aits-popup-close:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

.aits-popup-eyebrow {
  color: var(--rose);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  margin-bottom: 10px;
}

.aits-popup-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--charcoal);
  font-weight: 600;
}

.aits-popup-title em {
  font-style: italic;
  color: var(--rose);
  font-weight: 500;
}

.aits-popup-subtitle {
  color: #5A5E66;
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0 0 22px;
}

.aits-popup-form .aits-popup-row { margin-bottom: 12px; }

.aits-popup-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.aits-popup-form input[type="text"],
    .aits-popup-form input[type="email"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #E1E3E8;
  border-radius: 10px;
  font-size: 0.96rem;
  font-family: inherit;
  color: var(--charcoal);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.aits-popup-form input:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
}

.aits-popup-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 18px;
  cursor: pointer;
  padding: 4px 0;
}

.aits-popup-consent input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--rose);
  cursor: pointer;
}

.aits-popup-consent span {
  font-size: 0.78rem;
  color: #5A5E66;
  line-height: 1.45;
}

.aits-popup-consent a {
  color: var(--rose);
  font-weight: 600;
  text-decoration: underline;
}

.aits-popup-submit {
  width: 100%;
  padding: 13px 20px;
  background: var(--rose);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 22px rgba(168, 85, 247, 0.32);
  transition: background 0.2s, transform 0.2s;
}

.aits-popup-submit:hover {
  background: var(--rose-dark);
  transform: translateY(-1px);
}

.aits-popup-submit:focus-visible {
  outline: 2px solid #0F0F10;
  outline-offset: 3px;
}

.aits-popup-submit:disabled {
  background: #8B8F97;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.aits-popup-terms {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #E1E3E8;
  font-size: 0.72rem;
  color: #8B8F97;
  line-height: 1.5;
}

.aits-popup-terms summary {
  cursor: pointer;
  font-weight: 600;
  color: #5A5E66;
  padding: 2px 0;
  list-style: none;
}

.aits-popup-terms summary::-webkit-details-marker { display: none; }

.aits-popup-terms summary::before {
  content: '+ ';
  color: var(--rose);
  font-weight: 700;
}

.aits-popup-terms[open] summary::before { content: '− '; }

.aits-popup-terms p { margin: 8px 0 0; }

.aits-popup-error {
  background: var(--rose-soft);
  border-left: 3px solid var(--rose);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--rose-dark);
  margin-bottom: 12px;
  display: none;
}

.aits-popup-error[data-visible="true"] { display: block; }

@media (max-width: 480px) {
  .aits-popup-card {
          padding: 26px 20px 20px;
          border-radius: 14px;
        }
        .aits-popup-title { font-size: 1.4rem; }
}

.footer-social {
  display: flex;
  gap: 10px;
  margin: 4px 0 6px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-social a:hover {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
  transform: translateY(-2px);
}

.nav-links a { transition: color 0.2s; }

.hero p.lead {
  font-size: 1.2rem;
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--gray);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background-color: var(--ink);
  background-image:
    radial-gradient(820px 520px at 82% -10%, rgba(168,85,247,0.16), transparent 70%),
    radial-gradient(680px 460px at 4% 4%, rgba(34,211,238,0.10), transparent 70%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-arrow::after { content: '→'; transition: transform 0.2s; }

.section-dark .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.section-dark .btn-secondary:hover {
  background: var(--surface);
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-family: var(--font-body);
  letter-spacing: -0.01em;
  font-weight: 700;
}

h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

footer a { transition: color 0.2s; }

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

h2 em {
  font-style: italic;
  color: var(--cyan);
  font-weight: 500;
}

.section-dark h2,
    .section-dark h3 { color: var(--white); }

.section-dark p { color: rgba(255, 255, 255, 0.74); }

.nav-links a.active { color: var(--rose); }

.hero {
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
  background: var(--soft-white);
}

.section-white { background: var(--surface); }

.section-dark { background: var(--ink-deep); color: var(--white); position: relative; overflow: hidden; }

.section-dark::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--rose);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
}

.section-dark > .container { position: relative; z-index: 1; }
/* ============================================================
   Mobile color & contrast fix (append to site.css)
   ------------------------------------------------------------
   Root cause: no `color-scheme` declared anywhere. On Android
   Chrome + Samsung Internet "Force Dark" and on iOS with
   third-party dark-mode shims, the browser auto-inverts the
   page. Transparent buttons (.btn-secondary), the dark footer,
   and any white-background card flip colors unpredictably,
   leaving white-on-white text on .btn-secondary and a white
   footer with white text.

   Strategy:
   1. Tell every browser the site is a LIGHT design. Modern
      browsers (Chrome 81+, Safari 13+, FF 96+) then skip
      force-dark on this site.
   2. Belt-and-suspenders: pin background + text color
      explicitly on the components most prone to break, using
      !important so the auto-dark heuristic backs off even
      when color-scheme is ignored.
   ============================================================ */

/* 1. Opt out of browser-forced dark mode site-wide ---------- */
:root { color-scheme: light; }
html  { color-scheme: light; }

/* 2. Bulletproof .btn-secondary across every context -------- */
/* Transparent bg + var(--charcoal) text is the worst-case for
   auto-darkening — it inverts the text and leaves the bg, so
   you get light text on a light card. Lock both layers. */
.btn-secondary,
.btn-secondary:link,
.btn-secondary:visited {
  background-color: transparent !important;
  color: var(--cyan) !important;
  -webkit-text-fill-color: var(--cyan);
  border: 2px solid rgba(34, 211, 238, 0.55) !important;
}
.btn-secondary:hover,
.btn-secondary:focus-visible,
.btn-secondary:active {
  background-color: var(--cyan-soft) !important;
  color: var(--cyan-glow) !important;
  -webkit-text-fill-color: var(--cyan-glow);
  border-color: var(--cyan) !important;
}

/* btn-secondary on dark sections (already handled inline on
   some pages, made global + bulletproof here) */
.section-dark .btn-secondary,
.form-section .btn-secondary,
footer .btn-secondary {
  background-color: transparent !important;
  color: var(--cyan) !important;
  -webkit-text-fill-color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.55) !important;
}
.section-dark .btn-secondary:hover,
.section-dark .btn-secondary:focus-visible,
.form-section .btn-secondary:hover,
.form-section .btn-secondary:focus-visible,
footer .btn-secondary:hover,
footer .btn-secondary:focus-visible {
  background-color: var(--cyan-soft) !important;
  color: var(--cyan-glow) !important;
  -webkit-text-fill-color: var(--cyan-glow);
  border-color: var(--cyan) !important;
}

/* 3. Pin the dark footer so auto-dark can't flip it --------- */
footer {
  background-color: var(--ink-deep) !important;
  color: rgba(255, 255, 255, 0.92) !important;
}
footer h4,
footer .footer-brand strong,
footer .footer-grid-v2 h4 {
  color: #FFFFFF !important;
}
footer p,
footer a,
footer .footer-grid-v2 .footer-links a,
footer .footer-grid-v2 .footer-tagline,
footer .footer-contact-block,
footer .footer-contact-block a,
footer .copyright,
footer .copyright span {
  color: rgba(255, 255, 255, 0.72) !important;
}
footer a:hover,
footer .footer-grid-v2 .footer-links a:hover,
footer .footer-contact-block a:hover {
  color: var(--rose) !important;
}
footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* Footer CTA pill — keep white text on rose, no matter what */
footer .footer-cta,
.footer-cta,
.footer-cta:link,
.footer-cta:visited {
  background-color: var(--rose) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF;
}
.footer-cta:hover {
  background-color: var(--rose-dark) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF;
}

/* Social icons — currentColor SVGs need the parent locked */
footer .footer-social a {
  color: rgba(255, 255, 255, 0.85) !important;
}
footer .footer-social a:hover {
  color: #FFFFFF !important;
  background: var(--rose) !important;
  border-color: var(--rose) !important;
}

/* 4. Dark sections in body — same protection ---------------- */
.section-dark {
  background-color: var(--ink-deep) !important;
  color: #FFFFFF !important;
}
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: #FFFFFF !important; }
.section-dark p  { color: rgba(255, 255, 255, 0.78) !important; }

/* 5. Form inputs — pin colors so auto-dark doesn't leave -----
   black text on a black-inverted field on light pages, or
   white text on a white-inverted field on dark pages. */
.form-row input,
.form-row select,
.form-row textarea {
  color: var(--charcoal);
  -webkit-text-fill-color: var(--charcoal);
}
.form-section .form-row input,
.form-section .form-row select,
.form-section .form-row textarea,
.audit-form .form-row input,
.audit-form .form-row select,
.audit-form .form-row textarea {
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
}

/* 6. Tier-cta pricing buttons — they are .btn .btn-secondary
   sitting on a light .tier-card. Same fix applies via rule (2),
   but iOS Safari sometimes ignores -webkit-text-fill-color on
   anchor descendants of cards; force again at the most-specific
   selector. */
.tier-card .tier-cta.btn-secondary,
.tier-card .tier-cta.btn-secondary:link,
.tier-card .tier-cta.btn-secondary:visited {
  color: var(--charcoal) !important;
  -webkit-text-fill-color: var(--charcoal);
  background-color: transparent !important;
  border-color: var(--charcoal) !important;
}
.tier-card .tier-cta.btn-secondary:hover,
.tier-card .tier-cta.btn-secondary:focus-visible {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF;
  background-color: var(--ink-deep) !important;
}
/* The "Growth" tier uses .btn-primary; reinforce there too */
.tier-card .tier-cta.btn-primary,
.tier-card .tier-cta.btn-primary:link,
.tier-card .tier-cta.btn-primary:visited {
  background-color: var(--rose) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF;
}

/* 7. Mobile-menu — make sure it survives ------------------- */
.mobile-menu,
.mobile-menu * {
  background-color: initial; /* let the .mobile-menu rule below own bg */
}
.mobile-menu {
  background-color: var(--surface) !important;
  color: var(--charcoal) !important;
}
.mobile-menu a {
  color: var(--charcoal) !important;
  -webkit-text-fill-color: var(--charcoal);
}
.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  background-color: rgba(168, 85, 247, 0.14) !important;
  color: var(--rose) !important;
  -webkit-text-fill-color: var(--rose);
}
.mobile-menu .mobile-cta,
.mobile-menu .mobile-cta:link,
.mobile-menu .mobile-cta:visited {
  background-color: var(--rose) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF;
}
.mobile-menu-section-label {
  color: var(--rose) !important;
}

/* 8. Touch target sizing on small screens ------------------ */
@media (max-width: 760px) {
  .btn { min-height: 44px; }            /* WCAG 2.5.5 target size */
  .nav-links a, .mobile-menu a { min-height: 44px; }
  .footer-cta { min-height: 44px; padding: 12px 22px; }
  /* Footer social icons — bump from the implicit ~30px area */
  .footer-social a { min-width: 40px; min-height: 40px; }
}

/* 9. Honor real OS-level dark mode IF the user has it on ----
   We're saying "the site is light", but if the user explicitly
   prefers dark and we ever want to ship a real dark theme, this
   is the hook. For now we keep light styling but soften shadows
   so it doesn't look stark on AMOLED screens. */
@media (prefers-color-scheme: dark) {
  /* intentionally minimal — full dark theme would go here */
  :root { color-scheme: dark; }
}


/* ============================================================
   2050 brand accents (cyan secondary + neon-purple glow)
   ============================================================ */
::selection { background: var(--cyan); color: var(--ink); }
.section-label::before { background: var(--cyan) !important; }
.btn-primary,
a.btn-primary {
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.5), 0 14px 38px -14px rgba(168, 85, 247, 0.7);
}
.btn-primary:hover,
a.btn-primary:hover {
  box-shadow: 0 0 0 1px var(--purple-glow), 0 18px 48px -12px rgba(168, 85, 247, 0.9);
}
input, textarea, select { background: var(--surface-2) !important; color: var(--charcoal); border-color: var(--border); }
input::placeholder, textarea::placeholder { color: var(--gray-light); }
