/* ==========================================================================
   NOVEXX — shared marketing design system
   Canonical source: Landing Page v3 (home). One system for every page.
   Tokens, header (announcement + nav + megas), mobile panel, heroes,
   sections, cards, steps, FAQ accordion, CTA bands, footer, breakpoints.
   ========================================================================== */

:root {
  --ink: #0d1f6b;
  --ink-2: #102f4c;
  --ink-soft: #4a5280;
  --text: #4a5280;
  --muted: #7f88ad;
  --line: #dfe3f4;
  --wash: #eceffe;
  --wash-2: #f7f8ff;
  --white: #ffffff;
  --teal: #0b9b8a;
  --teal-dark: #087a6c;
  --teal-soft: #e4f5f3;
  --mint: #def7e7;
  --sky: #dff3ff;
  --rose: #ffe6ea;
  --gold: #fff0a8;
  --cream: #fbf8ee;
  --shadow: 0 24px 70px rgba(13, 31, 107, 0.13);
  --radius: 24px;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  background: var(--wash);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
body.menu-open { overflow: hidden; }
[data-novexx-header], [data-novexx-footer] { display: contents; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }

/* --------------------------------------------------------------------------
   Announcement bar
   -------------------------------------------------------------------------- */
.announcement {
  background: var(--teal);
  color: var(--white);
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}
.announcement strong {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 3px 8px;
  color: var(--white);
}
.announcement a {
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 18px;
  white-space: nowrap;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Sticky nav + mega-dropdowns (canonical: home page)
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(13, 31, 107, 0.08);
  box-shadow: 0 1px 0 rgba(13, 31, 107, 0.03);
  backdrop-filter: blur(18px);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  white-space: nowrap;
}
.brand-leaf {
  width: 10px;
  height: 17px;
  border-radius: 10px 10px 10px 2px;
  background: var(--teal);
  transform: rotate(33deg);
  margin-top: -15px;
  margin-left: -3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
}
.nav-item { position: relative; }
.nav-button,
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  padding: 32px 0;
  white-space: nowrap;
}
.nav-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.18s ease;
}
.nav-item:hover .nav-button svg,
.nav-item:focus-within .nav-button svg,
.nav-item.open .nav-button svg { transform: rotate(180deg); }
.mega {
  position: absolute;
  left: -34px;
  top: calc(100% - 8px);
  width: min(860px, calc(100vw - 64px));
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  background: var(--white);
  border: 1px solid rgba(13, 31, 107, 0.08);
  border-radius: 0 0 24px 24px;
  box-shadow: var(--shadow);
  padding: 34px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 42px;
}
.nav-item:hover .mega,
.nav-item:focus-within .mega,
.nav-item.open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-visual { align-self: stretch; }
.mega-visual img,
.mega-visual .visual-fallback {
  width: 100%;
  height: 154px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--teal-soft), var(--wash));
}
.mega-visual h3 { margin: 0 0 10px; font-size: 24px; letter-spacing: -0.03em; }
.mega-visual p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}
.mega-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega-eyebrow {
  display: block;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
}
.mega a {
  display: block;
  padding: 9px 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}
.mega a:hover { color: var(--teal-dark); }
.mega small {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}
.nav-actions { display: flex; align-items: center; gap: 20px; }
.signin {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* Pills / buttons */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1.5px solid transparent;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(11, 155, 138, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
  cursor: pointer;
}
.pill:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(11, 155, 138, 0.26);
}
.pill.outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.pill.dark { color: var(--white); background: var(--ink); box-shadow: none; }
.pill.dark:hover { background: #0a1a58; }
.pill.light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--ink);
  box-shadow: none;
}
.pill.light:hover { background: var(--wash-2); }

/* Mobile menu */
.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
}
.mobile-toggle svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; }
.mobile-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--white);
  padding: 0 20px 28px;
  overflow: auto;
}
.mobile-panel.open { display: flex; min-height: 100dvh; flex-direction: column; }
.mobile-head {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(13, 31, 107, 0.08);
}
.mobile-close {
  border: 0;
  background: transparent;
  color: var(--ink);
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.mobile-close svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.mobile-menu-links {
  padding: 26px 0 10px;
  display: grid;
  gap: 4px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.mobile-menu-links > a,
.mobile-group > button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 14px 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.mobile-group > button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.2s ease;
}
.mobile-group.open > button svg { transform: rotate(180deg); }
.mobile-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.24s ease;
}
.mobile-group.open .mobile-sub { grid-template-rows: 1fr; }
.mobile-sub-inner { overflow: hidden; min-height: 0; }
.mobile-sub a {
  display: block;
  padding: 10px 0 10px 16px;
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 600;
}
.mobile-sub .mobile-sub-label {
  display: block;
  padding: 14px 0 4px 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mobile-actions {
  margin-top: auto;
  padding-top: 30px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  display: grid;
  gap: 12px;
}
.mobile-actions .pill,
.mobile-actions .signin {
  display: inline-flex;
  min-height: 52px;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}
.mobile-actions .signin {
  border: 1.5px solid rgba(13, 31, 107, 0.2);
  color: var(--ink);
  background: var(--white);
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   Sections / layout
   -------------------------------------------------------------------------- */
.section { padding: 96px 32px; }
.section.white { background: var(--white); }
.section.wash { background: var(--wash); }
.section.mint { background: var(--mint); }
.section.cream { background: var(--cream); }
.section.navy { background: var(--ink); color: var(--white); }
.container { max-width: var(--max); margin: 0 auto; }

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow.teal { color: var(--teal-dark); }
.section-title {
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.section-lede {
  max-width: 680px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 72px;
  align-items: center;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

/* --------------------------------------------------------------------------
   Page hero (inner pages): headline over full-bleed image — LEFT copy only.
   Site-wide rule: never float a panel over a background that shows content.
   Stats belong in .stat-band BELOW the hero.
   -------------------------------------------------------------------------- */
.page-hero {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.page-hero .hero-media { position: absolute; inset: 0; }
.page-hero .hero-media img,
.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 31, 107, 0.86), rgba(13, 31, 107, 0.58) 42%, rgba(13, 31, 107, 0.16));
}
.page-hero .hero-inner {
  position: relative;
  z-index: 1;
  min-height: 560px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 32px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-hero .eyebrow { color: var(--gold); margin-bottom: 18px; }
.page-hero h1 {
  max-width: 820px;
  margin: 0 0 22px;
  color: var(--white);
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: 0;
}
.page-hero .hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.65;
  font-weight: 600;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* Plain hero (no image): pricing, index pages, utility pages */
.plain-hero { background: var(--wash); padding: 90px 32px 64px; text-align: center; }
.plain-hero h1 {
  color: var(--ink);
  max-width: 880px;
  margin: 0 auto 18px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.04;
  font-weight: 700;
}
.plain-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 600;
}
.plain-hero .hero-actions { justify-content: center; }

/* Stat band — replaces hero overlay stat panels, sits below the hero */
.stat-band { background: var(--white); border-bottom: 1px solid var(--line); }
.stat-band-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 30px 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.stat-item { display: flex; align-items: baseline; gap: 14px; }
.stat-item strong {
  font-size: 30px;
  line-height: 1;
  color: var(--teal-dark);
  font-weight: 800;
  white-space: nowrap;
}
.stat-item span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Proof band
   -------------------------------------------------------------------------- */
.proof {
  background: var(--cream);
  text-align: center;
  padding: 112px 32px 104px;
}
.proof h2 {
  max-width: 960px;
  margin: 0 auto 36px;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--ink-2);
}
.proof h2:last-child { margin-bottom: 0; }
.mark {
  background: rgba(11, 155, 138, 0.18);
  color: var(--ink);
  border-radius: 8px;
  padding: 0 8px 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.trust-row { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.trust-badge { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 800; color: var(--ink); }
.badge-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   Cards, link stacks, media panels
   -------------------------------------------------------------------------- */
.card {
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px;
  box-shadow: 0 12px 34px rgba(13, 31, 107, 0.06);
}
.card h3 { font-size: 19px; line-height: 1.3; color: var(--ink); margin-bottom: 10px; }
.card p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.65; font-weight: 500; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--text); font-size: 14px; line-height: 1.8; }
.card li::marker { color: var(--teal); }
.card-link { display: inline-flex; margin-top: 16px; color: var(--teal-dark); font-size: 14px; font-weight: 800; }
.card-link:hover { color: var(--ink); }

.link-stack { display: grid; gap: 18px; margin-top: 30px; }
.link-stack a {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  color: var(--ink-2);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  font-weight: 500;
  transition: color 0.18s ease, transform 0.18s ease;
}
.link-stack a:hover { color: var(--teal-dark); transform: translateX(2px); }
.leaf {
  display: inline-block;
  width: 12px;
  height: 20px;
  margin-right: 2px;
  border-radius: 12px 12px 12px 2px;
  background: var(--teal);
  transform: rotate(35deg);
  vertical-align: 0.1em;
  flex: 0 0 auto;
}
.photo-panel { border-radius: 8px; overflow: hidden; background: var(--wash-2); }
.photo-panel img { width: 100%; height: 280px; object-fit: cover; }
.photo-panel p {
  margin: 0;
  padding: 26px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 600;
}

/* Generated-image slots: gradient placeholder until the real file exists.
   Pair with novexx.js delegated error handler on img.gen-img. */
.media-slot {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-soft) 0%, var(--wash) 55%, var(--sky) 100%);
}
.media-slot img.gen-img { width: 100%; height: 100%; object-fit: cover; }
.media-slot.img-missing img.gen-img { display: none; }

/* Smooth reveal: novexx.js tags only images that haven't loaded yet with
   .nv-fade, so they fade in on load instead of popping — while already-cached
   images (never tagged) show instantly with no flash. If JS is disabled,
   nothing is tagged and all images render normally. */
img.gen-img.nv-fade { opacity: 0; transition: opacity 0.55s ease; }
img.gen-img.nv-fade.is-loaded { opacity: 1; }

.tool-band { border-radius: 8px; background: var(--mint); padding: 64px; }
.tool-band h2 { text-align: center; margin-bottom: 42px; }
.tool-band .section-title { margin-bottom: 42px; }

.resource-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.resource-row strong { font-size: 21px; color: var(--ink); }
.resource-row span {
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 800;
}

/* Steps (canonical: home page pattern) */
.steps-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 48px;
}
.steps-head h2 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--ink-2);
}
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step-card {
  min-height: 300px;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 150px 1fr;
  background: var(--wash-2);
}
.step-illustration { display: grid; place-items: center; background: var(--gold); }
.step-illustration svg { width: 96px; height: 96px; }
.step-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--ink-2);
}
.step-body { background: rgba(255, 255, 255, 0.72); padding: 24px; }
.step-body small {
  display: block;
  margin-bottom: 12px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.step-body p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; font-weight: 500; }

/* --------------------------------------------------------------------------
   FAQ — smooth accordion (site-wide standard; replaces native <details>)
   Markup: .faq > .faq-item > button.faq-q[aria-expanded] + .faq-a > .faq-a-inner
   -------------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 80px;
  align-items: start;
}
.faq-grid h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: 0;
}
.faq-grid > div > p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
}
.plus {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-weight: 800;
  transition: transform 0.24s ease, background 0.2s ease, color 0.2s ease;
}
.faq-item.open .plus { background: var(--teal); color: var(--white); transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.24s ease;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; min-height: 0; }
.faq-a p {
  margin: 0;
  padding: 0 56px 24px 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}
@media (prefers-reduced-motion: reduce) {
  .faq-a, .plus, .mobile-sub { transition: none; }
}
/* Legacy <details> safety (any straggler keeps the old look) */
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}
summary::-webkit-details-marker { display: none; }
details > p { padding: 0 56px 24px 0; color: var(--ink-soft); font-size: 15px; line-height: 1.75; }
details[open] .plus { background: var(--teal); color: var(--white); }

/* --------------------------------------------------------------------------
   Prose (legal, BAA, long-form)
   -------------------------------------------------------------------------- */
.prose { max-width: 860px; }
.prose h2 { color: var(--ink); font-size: 28px; margin: 40px 0 12px; letter-spacing: -0.02em; }
.prose h3 { color: var(--ink); font-size: 20px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--text); font-size: 15px; line-height: 1.8; font-weight: 500; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li::marker { color: var(--teal); }
.prose .updated { color: var(--muted); font-size: 13px; font-weight: 700; }

/* --------------------------------------------------------------------------
   CTA band (inner pages)
   -------------------------------------------------------------------------- */
.cta { background: linear-gradient(135deg, var(--teal-soft), #f4fbff); padding: 88px 32px; }
.cta-inner-band {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.cta h2 {
  margin: 0 0 14px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 600;
  color: var(--ink-2);
}
.cta p {
  max-width: 680px;
  margin: 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Footer (canonical teal) + working newsletter form
   -------------------------------------------------------------------------- */
.footer { background: var(--teal); color: var(--ink-2); padding: 64px 32px 34px; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr));
  gap: 44px;
  border-top: 1px solid rgba(13, 31, 107, 0.35);
  padding-top: 48px;
}
.footer h3, .footer h4 { margin: 0; color: var(--ink-2); }
.footer h3 { font-size: 24px; letter-spacing: -0.03em; margin-bottom: 34px; }
.email-form { max-width: 320px; }
.email-row {
  border-bottom: 1px solid var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.email-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  padding: 4px 0;
}
.email-row input::placeholder { color: rgba(18, 51, 51, 0.78); }
.email-row input:focus { outline: none; }
.email-row button {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: 18px;
  cursor: pointer;
  padding: 2px 6px;
}
.email-note { display: none; margin: 0 0 14px; font-size: 12px; font-weight: 700; }
.email-note.ok { display: block; color: #0a3d38; }
.email-note.err { display: block; color: #7a1f2b; }
.fineprint {
  max-width: 320px;
  color: rgba(18, 51, 51, 0.76);
  font-size: 11px;
  line-height: 1.6;
  margin: 0 0 28px;
}
.footer-column h4 { margin-bottom: 18px; font-size: 12px; font-weight: 800; }
.footer-column a { display: block; margin: 0 0 13px; color: var(--ink-2); font-size: 13px; font-weight: 500; }
.footer-column a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(13, 31, 107, 0.35);
  margin-top: 54px;
  padding-top: 28px;
  color: rgba(18, 51, 51, 0.78);
  font-size: 12px;
}
.footer-badges { display: flex; gap: 16px; flex-wrap: wrap; font-weight: 800; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .announcement { align-items: flex-start; flex-direction: column; gap: 10px; text-align: left; }
  .nav-inner { min-height: 78px; padding: 0 20px; }
  .nav-links, .nav-actions { display: none; }
  .mobile-toggle { display: inline-grid; place-items: center; }
  .section { padding: 72px 20px; }
  .proof { padding: 82px 20px 74px; }
  .split, .grid-3, .grid-4, .faq-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .faq-grid { gap: 40px; }
  .page-hero .hero-inner { padding: 70px 20px 54px; }
  .plain-hero { padding: 70px 20px 50px; }
  .stat-band-inner { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; }
  .tool-band { padding: 46px 20px; }
  .steps-head { display: grid; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .cta { padding: 66px 20px; }
}

@media (max-width: 620px) {
  .announcement { min-height: 0; padding: 16px 20px; }
  .announcement a { width: 100%; justify-content: center; display: inline-flex; }
  .brand { font-size: 22px; }
  .page-hero { min-height: 480px; }
  .page-hero .hero-inner { min-height: 480px; }
  .page-hero h1 { font-size: 42px; }
  .page-hero::after {
    background: linear-gradient(90deg, rgba(13, 31, 107, 0.78), rgba(13, 31, 107, 0.5));
  }
  .plain-hero h1 { font-size: 40px; }
  .section-title { font-size: 34px; }
  .pill { width: 100%; }
  .hero-actions .pill { width: 100%; }
  .link-stack a { font-size: 30px; }
  .photo-panel img { height: 210px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 260px; grid-template-rows: 130px 1fr; }
  .resource-row strong { font-size: 17px; }
  .faq-q { font-size: 16px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   Callouts + iconed cards (utility/company pages)
   -------------------------------------------------------------------------- */
.callout {
  margin-top: 34px;
  border: 1px solid #cdeae5;
  border-radius: 8px;
  padding: 24px 26px;
  background: var(--teal-soft);
}
.callout strong { display: block; color: var(--ink); margin-bottom: 6px; }
.callout p { margin: 0; color: var(--ink-2); line-height: 1.65; font-size: 14px; font-weight: 500; }
.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  color: var(--ink);
  background: var(--wash);
  font-size: 20px;
}
.card ol { margin: 12px 0 0; padding-left: 18px; color: var(--text); font-size: 14px; line-height: 1.9; }
.card ol li::marker { color: var(--teal-dark); font-weight: 800; }
.section-gap { margin-top: 40px; }

/* Simple contact/demo form */
.form-card {
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px;
  box-shadow: 0 12px 34px rgba(13, 31, 107, 0.06);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { display: block; }
.form-field.full { grid-column: 1 / -1; }
.form-field span { display: block; color: var(--ink-2); font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 12px 14px;
  color: var(--ink-2);
  font-size: 15px;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid rgba(11, 155, 138, 0.28);
  border-color: var(--teal);
}
.form-note { display: none; margin: 14px 0 0; font-size: 13px; font-weight: 700; }
.form-note.ok { display: block; color: var(--teal-dark); }
.form-note.err { display: block; color: #b4232f; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Product mockups (salvaged from legacy product pages, canonical-styled).
   Pure HTML/CSS — no stock photos on product pages.
   -------------------------------------------------------------------------- */
.product-hero { background: var(--wash); padding: 88px 32px 80px; overflow: hidden; }
.product-hero-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px; align-items: center;
}
.product-hero h1 {
  color: var(--ink); font-size: clamp(40px, 4.6vw, 58px);
  line-height: 1.07; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 20px;
}
.product-hero .lede { color: var(--text); font-size: 18px; line-height: 1.7; font-weight: 600; max-width: 540px; margin: 0; }
.mock {
  background: var(--white); border-radius: 12px; border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(13, 31, 107, 0.13); overflow: hidden; font-size: 12px;
}
.mock-head {
  background: var(--wash-2); border-bottom: 1px solid var(--line);
  padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.mock-head.navy { background: var(--ink); border-bottom: 0; }
.mock-head.navy .mock-title { color: var(--white); }
.mock-title { font-weight: 800; font-size: 14px; color: var(--ink); }
.mock-sub { color: var(--muted); font-size: 11px; font-weight: 600; }
.mock-chip {
  background: var(--teal-soft); color: var(--teal-dark); font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 6px; white-space: nowrap;
}
.mock-chip.solid { background: var(--teal); color: var(--white); }
.mock-chip.gray { background: var(--wash); color: var(--muted); }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.mock-kpis.three { grid-template-columns: repeat(3, 1fr); background: var(--wash-2); }
.mock-kpi { padding: 12px 16px; border-right: 1px solid var(--wash); }
.mock-kpi:last-child { border-right: 0; }
.mock-kpi small {
  display: block; font-size: 10px; font-weight: 800; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 4px;
}
.mock-kpi strong { font-size: 20px; font-weight: 800; color: var(--teal-dark); }
.mock-kpi strong.warn { color: #b45309; }
.mock-kpi strong.bad { color: #b91c1c; }
.mock-kpi strong.ink { color: var(--ink); }
.mock-table { width: 100%; border-collapse: collapse; }
.mock-table th {
  padding: 7px 14px; font-size: 10px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em; text-align: left;
  background: var(--wash-2); border-bottom: 1px solid var(--line);
}
.mock-table td { padding: 9px 14px; font-size: 12px; color: var(--ink-soft); border-bottom: 1px solid var(--wash); }
.mock-table tr:last-child td { border-bottom: 0; }
.mock-table td.strong { font-weight: 800; color: var(--ink); }
.mock-table td.mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 600; color: var(--ink); }
.mock-status { font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
.mock-status.ok { background: var(--teal-soft); color: var(--teal-dark); }
.mock-status.pending { background: var(--wash); color: var(--ink); }
.mock-status.bad { background: #fee2e2; color: #b91c1c; }
.mock-status.settled { background: #f1f5f9; color: #475569; }
.mock-body { display: flex; min-height: 300px; }
.mock-side { width: 132px; border-right: 1px solid var(--wash); padding: 12px 8px; background: var(--wash-2); }
.mock-side small {
  display: block; font-size: 10px; font-weight: 800; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.07em; padding: 0 8px; margin-bottom: 8px;
}
.mock-side span { display: block; padding: 7px 10px; border-radius: 6px; margin-bottom: 2px; color: var(--ink-soft); font-size: 12px; }
.mock-side span.active { background: var(--teal-soft); color: var(--teal-dark); font-weight: 700; }
.mock-main { flex: 1; padding: 16px; min-width: 0; }
.mock-tabs { display: flex; gap: 2px; background: var(--wash); border-radius: 8px; padding: 3px; margin: 10px 0; }
.mock-tabs span { flex: 1; text-align: center; padding: 6px 0; border-radius: 6px; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: capitalize; }
.mock-tabs span.active { background: var(--white); color: var(--ink); box-shadow: 0 1px 4px rgba(13, 31, 107, 0.10); }
.mock-note { color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.mock-cal { position: relative; display: flex; min-height: 280px; }
.mock-cal-hours { width: 52px; border-right: 1px solid var(--wash); background: var(--wash-2); }
.mock-cal-hours i { display: block; height: 56px; font-style: normal; font-size: 10px; color: var(--muted); text-align: right; padding: 4px 8px 0 0; }
.mock-cal-grid { flex: 1; position: relative; }
.mock-cal-grid hr { position: absolute; left: 0; right: 0; border: 0; border-top: 1px solid var(--wash); margin: 0; }
.mock-appt {
  position: absolute; border-radius: 0 6px 6px 0; padding: 4px 8px; overflow: hidden;
  background: var(--teal-soft); border-left: 3px solid var(--teal);
}
.mock-appt b { display: block; font-size: 11px; font-weight: 800; color: var(--ink); }
.mock-appt i { font-style: normal; font-size: 10px; color: var(--muted); }
.mock-appt.alt { background: var(--wash); border-left-color: var(--ink); }
.mock-appt.gold { background: var(--gold); border-left-color: #b45309; }
@media (max-width: 980px) {
  .product-hero { padding: 64px 20px 56px; }
  .product-hero-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 620px) {
  .mock-kpis, .mock-kpis.three { grid-template-columns: repeat(2, 1fr); }
  .mock-kpi { border-bottom: 1px solid var(--wash); }
  .mock-side { display: none; }
  .mock-table th:nth-child(n+5), .mock-table td:nth-child(n+5) { display: none; }
}

/* Responsive hardening (360px audit fixes) */
.stat-band-inner.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) {
  .stat-band-inner.four { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .stat-item strong { white-space: normal; }
  .mock { font-size: 11px; }
  .mock-main > div { flex-wrap: wrap; }
  .mock-table th, .mock-table td { padding: 7px 8px; font-size: 11px; }
  .mock-head { flex-wrap: wrap; }
  .mock-kpi strong { font-size: 16px; }
}
@media (max-width: 430px) {
  .mock-table th:nth-child(n+4), .mock-table td:nth-child(n+4) { display: none; }
  .mock-cal-hours { width: 40px; }
}

/* ==========================================================================
   Product animation embeds (.nx-anim) — see marketing/ANIMATION-MANIFEST.md.
   The slot keeps its poster <img> until the Stage iframe loads; overlay
   variants sit on top of a CSS .mock and fade in over it.
   ========================================================================== */
.nx-anim { position: relative; overflow: hidden; }
.nx-anim > iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
  background: transparent;
  /* Crossfade the mounted animation in over its poster instead of popping. */
  opacity: 0;
  transition: opacity 0.5s ease;
}
.nx-anim.nx-anim-live > iframe { opacity: 1; }
/* Keep the poster underneath until the iframe has faded in, so no blank flash. */
.nx-anim.nx-anim-live > img { visibility: hidden; transition: visibility 0s 0.5s; }
.nx-anim-overlay {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: #e9edfb;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.nx-anim-overlay.nx-anim-live { opacity: 1; }
.nx-anim-strip {
  aspect-ratio: 21 / 9;
  border-radius: 22px;
  /* Matches the strip scenes' white canvas so pre-load and letterbox blend. */
  background: #ffffff;
  border: 1px solid #e0e3f0;
}
.nx-anim-strip.steps-anim {
  aspect-ratio: 16 / 4.5;
  border: 0;
  border-radius: 0;
  background: transparent;
}
@media (max-width: 700px) {
  .nx-anim-strip.steps-anim { aspect-ratio: 21 / 9; }
}
.nx-anim-strip > img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Tab-gated overlay (homepage feature tabs): visible only while its tab is active. */
.nx-anim-overlay.nx-anim-gated { opacity: 0; }
.nx-anim-overlay.nx-anim-gated.nx-anim-live.nx-anim-active { opacity: 1; }
