/**
 * Hello: canonical production stylesheet (brand v2.0)
 * Design tokens plus scoped site chrome (main navigation under #wrapper-navbar).
 * Do not add parallel global stylesheets for nav; extend this file only.
 *
 * Load in <head> before page-local <style>:
 *   <link rel="stylesheet" href="/css/hello_brand_tokens.css">
 *
 * Authoritative spec: /brand/hello_brand_style_guide.html (must stay in lockstep with this file).
 *
 * Marketing inner pages: body.hello-marketing-page + .hero.hero--home (see end of this file; aligns with index hero).
 */

:root {
  /* Primary accent: enterprise blue (no violet / purple hue) */
  --brand-primary: #1d4ed8;
  --brand-primary-hover: #2563eb;
  --brand-primary-active: #1e40af;
  --brand-primary-muted: #93c5fd;
  --brand-primary-subtle: #bfdbfe;
  --brand-primary-deep: #1e3a8a;

  /* Surfaces */
  --brand-surface-tint: #eff6ff;
  --brand-surface-elevated: #ffffff;

  /* Legacy CSS aliases (values are blue-primary; prefer --brand-* in new markup) */
  --purple: var(--brand-primary);
  --purple-hover: var(--brand-primary-hover);
  --purple-dark: var(--brand-primary-deep);
  --purple-light: var(--brand-surface-tint);
  --violet: var(--brand-primary);

  /* Typography color */
  --navy: #0f172a;
  --text-primary: #0f172a;
  --text-muted: rgba(15, 23, 42, 0.58);

  /* Deprecated for brand accents, never CTAs */
  --blue: #3b82f6;

  /* Secondary UI accent (icons, hints, gradient endpoints: blue, not violet) */
  --indigo: #1e40af;

  /* Functional */
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;

  /* Slate */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --white: #ffffff;
  --dark-bg: #0f172a;

  /* Dark sections (FAQ band, etc.): deep navy, not the marketing footer plate */
  --footer-bg: #0f172a;
  /* Marketing site footer main area: matches hello_brand_style_guide.html §12 "Footer structure" */
  --footer-main-gradient: linear-gradient(180deg, #1e40af 0%, #1d4ed8 45%, #1e3a8a 100%);
  --footer-accent-strip: var(--brand-primary);
  --on-dark-link-hover: #93c5fd;

  /* Default width for marketing columns (bands, focused hero). Prose max-widths reference this. */
  --home-content-max: 1200px;

  /* Marketing band / section titles: .hello-section-heading (see hello_brand_style_guide.html §6) */
  --hello-section-heading-size: clamp(1.625rem, 4vw, 2.125rem);
  --hello-section-heading-size-lg: clamp(34px, 4.25vw, 50px);
  --hello-section-heading-weight: 700;
  --hello-section-heading-line-height: 1.25;
  --hello-section-heading-tracking: -0.025em;
  --hello-section-heading-ink: var(--navy);
  --hello-section-heading-ink-on-dark: #f1f5f9;
  --hello-section-heading-margin-bottom: 22px;

  /* Marketing band lead / dek copy (under section headings; pair with .hello-section-heading) */
  --hello-section-lede-size: 16px;
  --hello-section-lede-line-height: 1.7;
  --hello-section-lede-ink: var(--slate-600);
  --hello-section-lede-ink-on-dark: rgba(255, 255, 255, 0.75);
  /* ~72% of content max (864px at 1200); not full column, not old 42rem strip. */
  --hello-marketing-prose-max-width: min(100%, calc(0.72 * var(--home-content-max)));
  --hello-section-lede-max-width: var(--hello-marketing-prose-max-width);
  --hello-section-lede-max-width-narrow: 32.5rem;
  --hello-section-lede-max-width-column: 30rem;
  --hello-section-lede-spacing-after: 28px;

  /* Section kicker / eyebrow (above .hello-section-heading); canonical "Verified results" chip */
  --hello-section-kicker-radius: 6px;
  --hello-section-kicker-font-size: 12px;
  --hello-section-kicker-padding-y: 6px;
  --hello-section-kicker-padding-x: 14px;
  --hello-section-kicker-gap: 8px;
  --hello-section-kicker-tracking: 0.05em;
  /* Kicker to band title: matches homepage hero .hero-badge → h1 rhythm */
  --home-kicker-to-heading: 32px;
  --hello-section-kicker-margin-bottom: var(--home-kicker-to-heading);

  /* Homepage and marketing: hero gutters, vertical padding, content max (see "Marketing site hero" below) */
  --home-gutter-x: 16px;
  --home-gutter-x-md: 24px;
  --home-gutter-x-lg: 48px;
  --home-hero-pad-y: 64px;
  --home-hero-pad-y-md: 120px;
  --home-hero-pad-y-lg: 160px;
  --home-heading-to-body: 22px;
  /* Section rhythm below hero on index (also referenced by .home-* sections) */
  --home-section-pad-y: 56px;
  --home-section-pad-y-bottom: 56px;
  --home-section-pad-x: calc(2 * var(--home-gutter-x));
}

@media (min-width: 768px) {
  :root {
    --home-section-pad-y: 80px;
    --home-section-pad-y-bottom: 80px;
    --home-section-pad-x: calc(2 * var(--home-gutter-x-md));
  }
}

@media (min-width: 1024px) {
  :root {
    --home-section-pad-y: 96px;
    --home-section-pad-y-bottom: 96px;
    --home-section-pad-x: calc(2 * var(--home-gutter-x-lg));
  }
}

/* In-paragraph text links on marketing pages (class required on <a>) */
a.hello-inline-link {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 3px;
}
a.hello-inline-link:hover {
  color: var(--brand-primary-hover);
  text-decoration: underline;
}
a.hello-inline-link:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* Headline wraps full heading text; stays ink until hover */
a.hello-heading-link {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
}
a.hello-heading-link:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}
a.hello-heading-link:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/**
 * Marketing section headings (major band titles on light or dark surfaces).
 * Use on <h2> (or <h3> when semantically required). Do not redefine these sizes in page-local CSS.
 * Specimen: hello_brand_style_guide.html (Typography: marketing band title).
 */
h2.hello-section-heading,
h3.hello-section-heading {
  font-size: var(--hello-section-heading-size);
  font-weight: var(--hello-section-heading-weight);
  line-height: var(--hello-section-heading-line-height);
  letter-spacing: var(--hello-section-heading-tracking);
  color: var(--hello-section-heading-ink);
  margin: 0 0 var(--hello-section-heading-margin-bottom);
  text-wrap: balance;
}

h2.hello-section-heading--lg,
h3.hello-section-heading--lg {
  font-size: var(--hello-section-heading-size-lg);
  letter-spacing: -0.022em;
  line-height: 1.18;
}

h2.hello-section-heading--on-dark,
h3.hello-section-heading--on-dark {
  color: var(--hello-section-heading-ink-on-dark);
}

/* H1 in a standard band (no page-local styles): e.g. simple inner pages that omit the marketing hero. */
.hello-marketing-page .hello-marketing-inner > h1 {
  font-size: var(--hello-section-heading-size-lg);
  font-weight: var(--hello-section-heading-weight);
  line-height: var(--hello-section-heading-line-height);
  letter-spacing: -0.022em;
  color: var(--hello-section-heading-ink);
  margin: 0 0 var(--hello-section-heading-margin-bottom);
  text-wrap: balance;
}

.hello-section-heading__accent {
  color: var(--brand-primary);
}

.hello-section-heading--on-dark .hello-section-heading__accent-muted {
  color: var(--brand-primary-muted);
}

/**
 * Section lead / dek paragraph (typography aligned with legacy .platform-desc).
 * Use under band titles; prefer this over page-local paragraph rules.
 * Light surfaces: base class only (slate-600 ink). Dark surfaces: add .hello-section-lede--on-dark.
 */
.hello-section-lede {
  font-size: var(--hello-section-lede-size);
  line-height: var(--hello-section-lede-line-height);
  color: var(--hello-section-lede-ink);
  margin: 0 auto var(--hello-section-lede-spacing-after);
  max-width: var(--hello-section-lede-max-width);
}

.hello-section-lede strong {
  color: var(--text-primary);
}

.hello-section-lede--narrow {
  max-width: var(--hello-section-lede-max-width-narrow);
}

/* Left-align; same max-width as default lede (full content column unless --narrow / --text-column) */
.hello-section-lede--align-start {
  margin-left: 0;
  margin-right: auto;
  max-width: var(--hello-section-lede-max-width);
}

/* Optional: when you need a tighter line length with left alignment, stack modifiers */
.hello-section-lede--align-start.hello-section-lede--narrow {
  max-width: var(--hello-section-lede-max-width-narrow);
}

.hello-section-lede--align-start.hello-section-lede--text-column {
  max-width: var(--hello-section-lede-max-width-column);
}

.hello-section-lede--center {
  text-align: center;
}

.hello-section-lede--on-dark {
  color: var(--hello-section-lede-ink-on-dark);
}

.hello-section-lede--on-dark strong {
  color: rgba(255, 255, 255, 0.92);
}

.hello-section-lede--emphasis {
  font-weight: 600;
  color: var(--text-primary);
}

.hello-section-lede + .hello-section-lede--emphasis {
  margin-top: 16px;
}

/**
 * Section kicker (eyebrow label above band titles). Matches homepage "Verified results" chip:
 * uppercase 12px semibold, 6px radius, enterprise blue on light tint.
 * Optional icon: first child <svg aria-hidden="true"> (14px, stroke currentColor).
 * Specimens: hello_brand_style_guide.html (Typography: section kicker).
 */
.hello-section-kicker,
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--hello-section-kicker-gap);
  box-sizing: border-box;
  padding: var(--hello-section-kicker-padding-y) var(--hello-section-kicker-padding-x);
  border-radius: var(--hello-section-kicker-radius);
  margin: 0 0 var(--hello-section-kicker-margin-bottom);
  font-size: var(--hello-section-kicker-font-size);
  font-weight: 600;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: var(--hello-section-kicker-tracking);
  line-height: 1.2;
}

.hello-section-kicker svg,
.section-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.hello-section-kicker--light,
.section-badge-purple {
  background: rgb(from var(--brand-primary) r g b / 0.08);
  color: var(--brand-primary);
}

.hello-section-kicker--light svg,
.section-badge-purple svg {
  stroke: currentColor;
  fill: none;
}

.hello-section-kicker--on-dark {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hello-section-kicker--on-dark svg {
  stroke: currentColor;
  fill: none;
}

/* Site-wide: prose and heading links inside #main-content only (narrower than all <a>). */
/* Exclude .hello-inline-link so block/hero/section can set ink (e.g. dark hero uses brand-primary-muted; prose a[href] + chained :not() otherwise outranks .hero a.hello-inline-link). */
#main-content
  :is(p, li, td, th, figcaption, blockquote)
  a[href]:where(:not(.skip-link, .hello-heading-link, .hello-inline-link)):not([class*="btn"]):not(.hero-watch-demo):not(.hero-stat):not(.voice-agent-phone-option):not(.platform-cta-link):not(.case-study-cta) {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 3px;
}
#main-content
  :is(p, li, td, th, figcaption, blockquote)
  a[href]:where(:not(.skip-link, .hello-heading-link, .hello-inline-link)):not([class*="btn"]):not(.hero-watch-demo):not(.hero-stat):not(.voice-agent-phone-option):not(.platform-cta-link):not(.case-study-cta):hover {
  color: var(--brand-primary-hover);
  text-decoration: underline;
}
#main-content
  :is(p, li, td, th, figcaption, blockquote)
  a[href]:where(:not(.skip-link, .hello-heading-link, .hello-inline-link)):not([class*="btn"]):not(.hero-watch-demo):not(.hero-stat):not(.voice-agent-phone-option):not(.platform-cta-link):not(.case-study-cta):focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}
#main-content :is(h1, h2, h3, h4, h5, h6) a[href]:where(:not(.skip-link)):not([class*="btn"]):not(.hello-heading-link):not(.hello-inline-link) {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
}
#main-content :is(h1, h2, h3, h4, h5, h6) a[href]:where(:not(.skip-link)):not([class*="btn"]):not(.hello-heading-link):not(.hello-inline-link):hover {
  color: var(--brand-primary);
  text-decoration: underline;
}
#main-content :is(h1, h2, h3, h4, h5, h6) a[href]:where(:not(.skip-link)):not([class*="btn"]):not(.hello-heading-link):not(.hello-inline-link):focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* =========
 * Site chrome: main navigation (#wrapper-navbar). Scoped; load via hello_brand_tokens.css only.
 * ========= */

:root {
  --hello-chrome-nav-ink: #0f172a;
  --hello-chrome-nav-muted: #64748b;
  --hello-chrome-nav-panel: #f1f5f9;
  --hello-chrome-nav-shadow: 0 20px 45px 0 rgba(15, 23, 42, 0.08);
}

#wrapper-navbar .ml-auto {
  margin-left: auto !important;
}

body.hello-nav-frozen {
  overflow: hidden;
}

#wrapper-navbar .dropdown-menu > .hello-megamenu-panel {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

#wrapper-navbar {
  position: fixed;
  top: 20px;
  right: 0;
  left: 0;
  background: transparent;
  z-index: 9999;
  transition: top 0.3s ease, left 0.3s ease, right 0.3s ease;
  pointer-events: none;
}

#wrapper-navbar .navbar {
  pointer-events: auto;
}

#wrapper-navbar .navbar.bg-primary {
  padding: 0;
  background: transparent !important;
}

#wrapper-navbar .navbar > .container {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

#wrapper-navbar .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#wrapper-navbar .navbar-inner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  transition: border-radius 0.2s ease, background 0.3s ease;
}

#wrapper-navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  margin-right: 1rem;
  flex-shrink: 0;
}

#wrapper-navbar .navbar-brand .hello-nav-wordmark {
  display: block;
  height: 22px;
  width: auto;
}

#wrapper-navbar .navbar-mobile-dropdown-back {
  display: none;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--hello-chrome-nav-ink);
  cursor: pointer;
  padding: 8px 12px;
  font-family: inherit;
}

#wrapper-navbar .navbar-toggler {
  padding: 0.35rem 0.65rem;
  font-size: 1.1rem;
  line-height: 1;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.35rem;
  cursor: pointer;
}

#wrapper-navbar .navbar-toggler span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--hello-chrome-nav-ink);
  border-radius: 1px;
  box-shadow: 0 -6px 0 var(--hello-chrome-nav-ink), 0 6px 0 var(--hello-chrome-nav-ink);
}

#wrapper-navbar .navbar-mobile-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

@media (min-width: 783px) {
  #wrapper-navbar .navbar-mobile-wrapper #navbar-main {
    flex: 1 1 auto;
    min-width: 0;
  }
}

#wrapper-navbar .navbar-collapse#navbar-buttons {
  flex-grow: 0;
}

#wrapper-navbar .navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}

#wrapper-navbar #buttons-menu.navbar-nav {
  gap: 8px;
}

#wrapper-navbar .navbar-nav > .menu-item > .nav-link:not(.btn) {
  padding: 10px;
  font-size: 14px;
  letter-spacing: -0.07px;
  color: var(--hello-chrome-nav-ink);
  text-decoration: none;
  font-weight: 500;
  line-height: 135%;
}

#wrapper-navbar .navbar-nav > .menu-item > .nav-link.btn {
  text-decoration: none;
}

#wrapper-navbar .navbar-nav > .menu-item > .nav-link:not(.btn).dropdown-toggle {
  position: relative;
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0 2px;
  cursor: pointer;
}

#wrapper-navbar .navbar-nav > .menu-item > .nav-link:not(.btn).dropdown-toggle::after {
  display: none;
  content: none;
}

#wrapper-navbar .navbar-nav > .menu-item > .nav-link:not(.btn).dropdown-toggle .content {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

#wrapper-navbar .navbar-nav > .menu-item > .nav-link:not(.btn).dropdown-toggle svg:first-of-type {
  width: 16px;
  height: 16px;
  margin-left: 0;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

#wrapper-navbar .navbar-nav > .menu-item.dropdown.show > .nav-link:not(.btn).dropdown-toggle svg:first-of-type {
  transform: rotate(180deg);
}

#wrapper-navbar .navbar-nav > .menu-item.dropdown {
  position: static;
}

#wrapper-navbar .navbar-nav > .menu-item .dropdown-menu {
  border: none;
}

/* Desktop mega dropdown */
@media (min-width: 783px) {
  #wrapper-navbar .navbar-expand-md .navbar-toggler {
    display: none;
  }

  #wrapper-navbar .navbar-expand-md .navbar-mobile-dropdown-back {
    display: none !important;
  }

  #wrapper-navbar .navbar-expand-md .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    flex-grow: 1;
    align-items: center;
  }

  #wrapper-navbar .navbar-mobile-wrapper {
    overflow: visible;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    margin: 26px 0 0;
    padding: 0;
    min-width: min(100vw - 48px, 920px);
    max-width: calc(100vw - 48px);
    border-radius: 10px;
    box-shadow: var(--hello-chrome-nav-shadow);
    background: #fff;
    display: none !important;
    flex-direction: row;
    align-items: flex-start;
    z-index: 10000;
  }

  #wrapper-navbar .navbar-nav > .menu-item.dropdown.show > .dropdown-menu {
    display: flex !important;
  }

  #wrapper-navbar .navbar-nav > .menu-item:last-child > .dropdown-menu,
  #wrapper-navbar .navbar-nav > .menu-item:nth-child(2) > .dropdown-menu {
    left: auto;
    right: 0;
    transform: none;
  }

  #wrapper-navbar .navbar-nav > .menu-item:nth-child(2) > .dropdown-menu {
    right: 50px;
  }

  #wrapper-navbar .navbar-nav > .menu-item:last-child > .dropdown-menu {
    right: 0;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0;
    width: 100%;
    max-width: 100%;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container > .hello-megamenu-columns {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container > .hello-megamenu-columns > .menu-item {
    width: calc(268px + 64px);
    max-width: 100%;
    padding: 32px;
    list-style: none;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container > .hello-megamenu-columns > .menu-item.hello-megamenu-side-panel {
    width: calc(312px + 64px);
    background: var(--hello-chrome-nav-panel);
    border-radius: 0 10px 10px 0;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container > .hello-megamenu-columns > .menu-item.has-view-all > .dropdown-item .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container > .hello-megamenu-columns > .menu-item > span.dropdown-item {
    display: block;
    padding: 0 0 18px;
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.35;
    letter-spacing: -0.005em;
    text-align: left;
    color: var(--hello-chrome-nav-muted);
    border-bottom: 1px solid #cac9d9;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container .dropdown-menu {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    list-style: none;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container > .hello-megamenu-columns > .menu-item.hello-megamenu-side-panel .dropdown-menu .menu-item .dropdown-item {
    background: var(--hello-chrome-nav-panel);
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container .dropdown-menu .menu-item {
    list-style: none;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container .dropdown-menu .menu-item .dropdown-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 0;
    margin: 0;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    transition: background 0.2s ease;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container .dropdown-menu .menu-item .dropdown-item:hover {
    background: var(--hello-chrome-nav-panel);
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container .dropdown-menu .menu-item .dropdown-item figure {
    margin: 0;
    flex-shrink: 0;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container .dropdown-menu .menu-item .dropdown-item .content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container .dropdown-menu .menu-item .dropdown-item .content strong {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.005em;
    color: var(--hello-chrome-nav-ink);
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container .dropdown-menu .menu-item .dropdown-item .content p {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -0.005em;
    color: var(--hello-chrome-nav-muted);
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container > .hello-megamenu-columns > .menu-item.has-view-all > .dropdown-item .content a {
    font-size: 12px;
    font-weight: 400;
    color: var(--hello-chrome-nav-ink);
    text-decoration: none;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container > .hello-megamenu-columns > .menu-item.has-view-all > .dropdown-item .content a:hover {
    color: #a6a5c0;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container > .hello-megamenu-columns > .menu-item.is-see-all .dropdown-item {
    display: inline-flex;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hello-chrome-nav-ink);
  }

  #wrapper-navbar #navbar-social {
    display: none;
  }
}

/* Primary CTA: canonical brand primary (never legacy #8B5CF6) */
#wrapper-navbar .btn.btn-primary {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  line-height: 1.2;
}

#wrapper-navbar .btn.btn-primary:hover {
  background: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
  color: #fff !important;
}

#wrapper-navbar .btn.btn-primary .content {
  color: inherit;
}

#wrapper-navbar .btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
}

/* Mobile overlay (breakpoint 782px) */
@media only screen and (max-width: 782px) {
  #wrapper-navbar.is-open--mobile {
    top: 14px !important;
  }

  #wrapper-navbar.is-open--mobile .navbar-inner {
    border-radius: 10px 10px 0 0;
  }

  #wrapper-navbar .navbar-expand-md .navbar-toggler {
    display: block;
  }

  #wrapper-navbar .navbar-mobile-dropdown-back.hello-nav-back-visible {
    display: inline-flex;
  }

  #wrapper-navbar .navbar-mobile-wrapper {
    height: calc(var(--hello-vh, 1vh) * 100 - 28px - 76px);
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    border-radius: 0 0 10px 10px;
    border-top: 1px solid #dbdfe9;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    overflow-y: auto;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
  }

  #wrapper-navbar.is-open--mobile .navbar-mobile-wrapper {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  #wrapper-navbar .navbar-collapse {
    flex-grow: 1;
    width: 100%;
  }

  #wrapper-navbar #navbar-main {
    display: block;
    width: 100%;
  }

  #wrapper-navbar #main-menu.navbar-nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .nav-link:not(.btn).dropdown-toggle {
    padding: 24px 0;
    width: 100%;
    border-bottom: 1px solid #eef;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .nav-link:not(.btn).dropdown-toggle svg:first-of-type {
    width: 24px;
    height: 24px;
    margin-left: auto;
    transform: rotate(-90deg);
  }

  #wrapper-navbar .navbar-nav > .menu-item.dropdown.show > .nav-link:not(.btn).dropdown-toggle svg:first-of-type {
    transform: rotate(90deg);
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu {
    display: none !important;
    position: absolute;
    top: 0;
    bottom: -92px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    overflow-y: auto;
    z-index: 10;
  }

  #wrapper-navbar .navbar-nav > .menu-item.dropdown.show > .dropdown-menu {
    display: block !important;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container {
    flex-direction: column;
    padding: 16px;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container > .hello-megamenu-columns {
    flex-direction: column;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container > .hello-megamenu-columns > .menu-item {
    width: 100%;
    padding: 16px;
  }

  #wrapper-navbar .navbar-nav > .menu-item > .dropdown-menu > .hello-megamenu-panel > .container > .hello-megamenu-columns > .menu-item.hello-megamenu-side-panel {
    border-radius: 0;
  }

  #wrapper-navbar #navbar-buttons {
    width: 100%;
    border-top: 1px solid #dbdfe9;
  }

  #wrapper-navbar #buttons-menu {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 12px;
  }

  #wrapper-navbar #buttons-menu .nav-link {
    padding: 14px 0 !important;
  }

  #wrapper-navbar #buttons-menu .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  #wrapper-navbar #navbar-social {
    display: block;
    width: 100%;
  }

  #wrapper-navbar #navbar-social #social-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 22px 0;
    margin: 0;
    list-style: none;
  }

  #wrapper-navbar #navbar-social .nav-link {
    padding: 0;
    border: none;
  }

  #wrapper-navbar #navbar-social .nav-link .content {
    display: none;
  }

  #wrapper-navbar #navbar-social .nav-link figure {
    margin: 0;
  }

  #wrapper-navbar #navbar-social .nav-link svg {
    width: 48px;
    height: 48px;
  }

  #wrapper-navbar.dropdown-is-shown .navbar-brand {
    opacity: 0;
    pointer-events: none;
  }
}

@media (min-width: 783px) {
  #wrapper-navbar.dropdown-is-shown .navbar-brand {
    opacity: 1;
  }
}

/* =========
 * Marketing site hero (canonical). Homepage index.html and inner marketing pages.
 * Do not duplicate in page-local <style>. Pairs with hello_brand_style_guide.html
 * (Layout system: marketing hero) and :root --home-* tokens above.
 * ========= */

/* Hero: light brand wash, mobile first.
 * Use a column flex so the sole .hero-container stretches to full content width.
 * Row flex + align-items:center made the flex item shrink-to-fit to min-content
 * (e.g. one-line h1 + narrow copy), which centered a ~656px block on inner pages. */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  background: var(--purple-light);
  padding: 48px 0 40px 0;
  min-height: auto;
}

.hero.hero--home {
  padding: var(--home-hero-pad-y) var(--home-gutter-x);
  min-height: auto;
  box-sizing: border-box;
}

/**
 * Hero background variants (pick one per page; do not rely on the light default blindly).
 * hero--surface = explicit light brand wash (same as bare .hero); consulting / long-form service narrative.
 * hero--dark = navy depth, proof / case studies / demo request (enterprise contrast).
 * hero--pricing = blue-navy authority band for rate cards and tiers.
 */
.hero.hero--surface {
  background: var(--purple-light);
}
.hero.hero--dark {
  background: linear-gradient(170deg, var(--navy) 0%, #1a2744 45%, var(--slate-800) 100%);
  position: relative;
  overflow: hidden;
}
.hero.hero--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 55% at 28% 0%, rgba(29, 78, 216, 0.16) 0%, transparent 58%),
    radial-gradient(ellipse 70% 45% at 72% 100%, rgba(30, 64, 175, 0.1) 0%, transparent 52%);
  pointer-events: none;
}
.hero.hero--pricing {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 52%, #172554 100%);
  position: relative;
  overflow: hidden;
}
.hero.hero--pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 28%, rgba(59, 130, 246, 0.14) 0%, transparent 48%);
  pointer-events: none;
}
.hero.hero--dark .hero-container,
.hero.hero--dark .hero-content,
.hero.hero--pricing .hero-container,
.hero.hero--pricing .hero-content {
  position: relative;
  z-index: 1;
}

.hero.hero--dark .hero-badge,
.hero.hero--pricing .hero-badge {
  background: rgba(29, 78, 216, 0.22);
  color: var(--brand-primary-muted);
}

.hero.hero--dark h1,
.hero.hero--pricing h1 {
  color: #f8fafc;
  max-width: min(100%, 48rem);
}
.hero.hero--dark h1 .hero-heading-accent,
.hero.hero--pricing h1 .hero-heading-accent,
.hero.hero--dark h1 .book-demo-hero-em,
.hero.hero--pricing h1 .book-demo-hero-em {
  color: var(--brand-primary-muted);
}

.hero.hero--dark .subtitle,
.hero.hero--pricing .subtitle {
  color: rgba(248, 250, 252, 0.88);
}
.hero.hero--dark .subtitle strong,
.hero.hero--pricing .subtitle strong {
  color: #fff;
}

.hero.hero--dark a.hello-inline-link,
.hero.hero--pricing a.hello-inline-link {
  color: var(--brand-primary-muted);
  font-weight: 600;
}
.hero.hero--dark a.hello-inline-link:hover,
.hero.hero--pricing a.hello-inline-link:hover {
  color: #bfdbfe;
  text-decoration: underline;
}
.hero.hero--dark a.hello-inline-link:focus-visible,
.hero.hero--pricing a.hello-inline-link:focus-visible {
  outline: 2px solid var(--brand-primary-muted);
  outline-offset: 2px;
}

.hero.hero--dark a.hero-cta-outline,
.hero.hero--pricing a.hero-cta-outline {
  border-color: rgba(255, 255, 255, 0.32);
  color: #f1f5f9;
  background: rgba(15, 23, 42, 0.35);
}
.hero.hero--dark a.hero-cta-outline:hover,
.hero.hero--pricing a.hero-cta-outline:hover {
  border-color: var(--brand-primary-muted);
  color: #fff;
  background: rgba(29, 78, 216, 0.2);
}

.hero.hero--dark .book-demo-hero-benefits li,
.hero.hero--pricing .book-demo-hero-benefits li {
  color: rgba(226, 232, 240, 0.92);
}
.hero.hero--dark .book-demo-hero-benefits li svg,
.hero.hero--pricing .book-demo-hero-benefits li svg {
  color: var(--brand-primary-muted);
}

.hero.hero--home .hero-container {
  padding-left: 0;
  padding-right: 0;
}

.hero-container {
  width: 100%;
  min-width: 0;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  box-sizing: border-box;
}

/* Marketing hero kicker: all-caps. Legacy *-hero-badge pages: uppercase + letter-spacing only (size stays page-local). */
.hero-badge,
[class*="-hero-badge"] {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-badge {
  display: inline-flex;
  background: rgb(from var(--brand-primary) r g b / 0.15);
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  margin-bottom: var(--home-kicker-to-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
}

.hero h1 {
  font-size: clamp(28px, 3.85vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--home-heading-to-body) 0;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  max-width: min(100%, 40rem);
  text-wrap: balance;
}

@media (min-width: 1024px) {
  .hero h1.hello-hero-title--one-line {
    max-width: none;
    white-space: nowrap;
  }
}

.hero .subtitle {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 32px 0;
  max-width: var(--hello-marketing-prose-max-width);
}

.hero .subtitle strong {
  color: var(--text-primary);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta .btn {
  width: 100%;
  box-sizing: border-box;
}

.hero-container--focused {
  max-width: var(--home-content-max);
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.hero-watch-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--violet);
  text-decoration: none;
}

.hero-watch-demo:hover {
  color: var(--purple-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a.hero-watch-demo--link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

a.hero-watch-demo--link:hover {
  color: var(--purple-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-watch-demo-icon {
  flex-shrink: 0;
  color: currentColor;
}

.hero-secondary-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-secondary-cta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-start;
    width: auto;
  }
}

a.hero-watch-demo--outline,
a.hero-cta-outline {
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid var(--slate-300);
  background: transparent;
  box-sizing: border-box;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  transition: border-color 0.15s ease, color 0.15s ease;
}

a.hero-watch-demo--outline:hover,
a.hero-cta-outline:hover {
  background: transparent;
  color: var(--brand-primary);
  border-color: var(--brand-primary);
  text-decoration: none;
}

button.hero-watch-demo {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}

button.hero-watch-demo:disabled {
  cursor: not-allowed;
}

button.hero-watch-demo:disabled:hover {
  text-decoration: none;
}

.hero-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.8;
}

/* Hero stats bar (homepage) */
.hero-stats {
  display: block;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-200);
  font-variant-numeric: tabular-nums;
  text-align: left;
  line-height: 1.7;
}

.hero-stat {
  display: inline;
}

.hero-stats > .hero-stat:not(:last-child)::after {
  content: " · ";
  color: var(--slate-300);
  font-weight: 400;
}

.hero-stat-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.hero-stat-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--slate-600);
  line-height: 1.3;
}

a.hero-stat--integrations {
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
  transition: color 0.15s ease;
}

a.hero-stat--integrations:hover .hero-stat-value,
a.hero-stat--integrations:hover .hero-stat-label,
a.hero-stat--integrations:focus-visible .hero-stat-value,
a.hero-stat--integrations:focus-visible .hero-stat-label {
  color: var(--brand-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a.hero-stat--integrations:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
}

.hero-stats-clarifier {
  flex-basis: 100%;
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--slate-600);
  line-height: 1.5;
}

.hero-stats-clarifier strong {
  font-weight: 600;
  color: var(--text-primary);
}

/* Optional hero data visualization shell (homepage) */
.hero-dataviz {
  width: 100%;
  margin: 0 auto;
  min-height: auto;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: background 0.7s ease;
}

.hero-dataviz canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* Optional DataViz chrome (controls hidden on live site; kept for parity / dev) */
.dataviz-controls {
  position: absolute;
  top: 16px;
  right: 16px;
  display: none;
  gap: 8px;
  z-index: 10;
}

.dataviz-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.dataviz-btn:hover {
  background: white;
  border-color: var(--purple);
}

.dataviz-btn svg {
  width: 16px;
  height: 16px;
  color: var(--purple);
}

.dataviz-dropdown {
  position: relative;
}

.dataviz-menu {
  position: absolute;
  top: 44px;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--slate-200);
  padding: 8px 0;
  min-width: 140px;
  display: none;
}

.dataviz-menu.show {
  display: block;
}

.dataviz-menu-item {
  width: 100%;
  padding: 8px 16px;
  text-align: left;
  font-size: 14px;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  transition: background 0.2s;
}

.dataviz-menu-item:hover {
  background: rgba(37, 99, 235, 0.1);
}

.dataviz-menu-item.active {
  color: var(--purple);
  font-weight: 500;
}

.dataviz-menu-item svg {
  width: 16px;
  height: 16px;
  color: var(--purple-hover);
}

@media (min-width: 768px) {
  .hero {
    padding: 100px 0 80px 0;
    min-height: 100vh;
  }
  .hero.hero--home {
    min-height: auto;
    padding: var(--home-hero-pad-y-md) var(--home-gutter-x-md);
  }
  .hero-container {
    padding: 0 48px;
    gap: 48px;
  }
  .hero.hero--home .hero-container {
    padding-left: 0;
    padding-right: 0;
  }
  .hero-cta {
    flex-direction: row;
  }
  .hero-cta .btn {
    width: auto;
  }
  .btn-large {
    padding: 20px 48px;
  }
  .hero-dataviz {
    width: 80%;
    min-height: 400px;
    border-radius: 24px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 120px 0 100px 0;
  }
  .hero.hero--home {
    min-height: auto;
    padding: var(--home-hero-pad-y-lg) var(--home-gutter-x-lg);
  }
  .hero-container {
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
  }
  .hero.hero--home .hero-container {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Slim homepage hero: single column when .hero-container--focused */
@media (min-width: 768px) {
  .hero-cta-stack {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 20px;
  }
  .hero-cta-stack .btn-primary {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .hero.hero--home .hero-container--focused {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .hero-dataviz {
    margin-top: 8px;
    padding: 12px 0 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  a.hero-watch-demo--outline,
  a.hero-cta-outline,
  a.hero-stat--integrations {
    transition: none !important;
  }
}

/* =========
 * body.hello-marketing-page: inner marketing templates + shared skip link
 * ========= */

body.hello-marketing-page {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hello-marketing-page :focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.hello-skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 2000;
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--slate-200);
  border-radius: 12px;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 600;
}
.hello-skip-link:focus {
  top: 16px;
}

.hello-marketing-page .hello-marketing-band {
  padding: var(--home-section-pad-y) var(--home-gutter-x);
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .hello-marketing-page .hello-marketing-band {
    padding: var(--home-section-pad-y) var(--home-gutter-x-md);
  }
}
@media (min-width: 1024px) {
  .hello-marketing-page .hello-marketing-band {
    padding: var(--home-section-pad-y) var(--home-gutter-x-lg);
  }
}

.hello-marketing-page .hello-marketing-band--alt {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}
.hello-marketing-page .hello-marketing-band--on-brand {
  background: var(--brand-primary);
  color: #ffffff;
}
.hello-marketing-page .hello-marketing-band--on-brand .hello-section-heading__accent {
  color: var(--brand-primary-muted);
}
.hello-marketing-page .hello-marketing-band--on-brand .btn-primary {
  background: #ffffff;
  color: var(--brand-primary);
  font-weight: 700;
}
.hello-marketing-page .hello-marketing-band--on-brand .btn-primary:hover {
  background: var(--brand-surface-tint);
  color: var(--brand-primary);
}
.hello-marketing-page .hello-marketing-band--center {
  text-align: center;
}
.hello-marketing-page .hello-marketing-inner {
  max-width: var(--home-content-max);
  margin: 0 auto;
}
.hello-marketing-page .hello-marketing-inner--narrow {
  max-width: 40rem;
}
.hello-marketing-page .hello-marketing-band--cta-final {
  padding-bottom: 100px;
}

.hello-marketing-page .hello-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 8px;
}
@media (min-width: 900px) {
  .hello-marketing-page .hello-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.hello-marketing-page .hello-surface-card {
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 20px 18px;
  background: var(--white);
  text-align: left;
}
.hello-marketing-page .hello-surface-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--navy);
}
.hello-marketing-page .hello-surface-card p {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.6;
  margin: 0;
}

.hello-marketing-page .hello-phase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}
@media (min-width: 800px) {
  .hello-marketing-page .hello-phase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.hello-marketing-page .hello-phase-card {
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 16px;
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.6;
  background: var(--white);
  text-align: left;
}
.hello-marketing-page .hello-phase-card h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  margin: 0 0 6px;
  font-weight: 600;
}
.hello-marketing-page .hello-phase-card p {
  margin: 0;
}

/* =========
   Feature card (.hello-feature-card)
   Canonical marketing card for landing-page feature sections: product pillars,
   bento cells, differentiator tiles, anywhere a rectangular surface houses an
   eyebrow + title + body + proof row.

   Use this, not .hello-surface-card or .hello-phase-card, whenever:
     - The card is a primary content block in a marketing section
     - The card supports hover interaction (glow + lift)
     - The card contains an eyebrow, title, body, and proof row

   Contract (do not re-implement per section):
     - 20 px radius
     - 1 px slate-200 border
     - 32 px padding (base)
     - #fff background
     - 16 px internal gap
     - Hover: luminous dual radial gradient, brand-primary-muted border,
       colored soft shadow, translateY(-2 px)
     - No top-accent gradient bar, no underline, no vertical stripe

   Variants
     .hello-feature-card--feature   larger padding (44-52 px), 240 px min-height
     .hello-feature-card--tint      brand-surface-tint background
     .hello-feature-card--compact   smaller padding (24 px), 16 px radius
   ========= */
.hello-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}
.hello-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.06), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(29, 78, 216, 0.04), transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.hello-feature-card:hover {
  border-color: var(--brand-primary-muted, #93c5fd);
  box-shadow: 0 24px 60px -24px rgba(29, 78, 216, 0.18);
  transform: translateY(-2px);
}
.hello-feature-card:hover::before { opacity: 1; }
.hello-feature-card > * { position: relative; z-index: 1; }

.hello-feature-card--feature {
  padding: 36px;
  min-height: 240px;
}
@media (min-width: 820px) {
  .hello-feature-card--feature { padding: 44px 48px; }
}
@media (min-width: 1100px) {
  .hello-feature-card--feature { padding: 52px 56px; }
}

.hello-feature-card--tint {
  background: var(--brand-surface-tint);
  border-color: var(--brand-primary-subtle, #bfdbfe);
}

.hello-feature-card--compact {
  padding: 24px;
  border-radius: 16px;
  gap: 12px;
}

/* Tags nested directly inside a feature card shrink to content width —
   the card is a column flexbox and would otherwise stretch the tag into
   a full-width banner bar. */
.hello-feature-card > .hello-tag { align-self: flex-start; }

@media (prefers-reduced-motion: reduce) {
  .hello-feature-card,
  .hello-feature-card::before { transition: none; }
  .hello-feature-card:hover { transform: none; }
}

.hello-marketing-page .hello-service-block {
  margin-top: 24px;
}
.hello-marketing-page .hello-service-block:first-of-type {
  margin-top: 0;
}
.hello-marketing-page .hello-service-block h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 20px 0 10px;
  color: var(--brand-primary);
}
.hello-marketing-page .hello-service-block h3:first-child {
  margin-top: 0;
}
.hello-marketing-page .hello-service-block ul {
  margin: 0 0 0 1.1rem;
  padding: 0;
}
.hello-marketing-page .hello-service-block li {
  margin: 6px 0;
  font-size: 15px;
  color: var(--text-primary);
}
.hello-marketing-page h2.hello-section-heading--tight-top {
  margin-top: 40px;
}

.hello-marketing-page .hello-quote-block {
  border-left: 3px solid var(--brand-primary);
  padding-left: 16px;
  margin: 28px 0;
  text-align: left;
}
.hello-marketing-page .hello-quote-block h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--navy);
}
.hello-marketing-page .hello-quote-block p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate-600);
  margin: 0;
}
.hello-marketing-page .hello-marketing-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

/* =========
   Tag primitive (.hello-tag)
   Canonical small-label shape used across marketing pages for eyebrows, proof
   tags, metric chips, filter buttons, and stack items. Squared-off at 4 px
   radius so it sits cleanly inside 16-20 px radius cards and reads editorial
   rather than pill-heavy.

   Do NOT use full-pill radius (>= 50px) for tag components.
   Reserve pill (>= 50px) radius for .hero-badge and other hero-only chips, and
   circles (50%) for step-number indicators where the circle is load-bearing.

   Variants
     .hello-tag                default: slate-700 on slate-50 with slate-200 border
     .hello-tag--accent        brand-primary on brand-surface-tint with brand-primary-subtle border
     .hello-tag--on-dark       light ink on translucent white, for use on hero--dark bands
     .hello-tag--quiet         slate-500 on white with slate-200 border, for low-emphasis labels
     .hello-tag--success       success-green tint
     .hello-tag--warning       amber tint
     .hello-tag--danger        red tint
     .hello-tag--uppercase     add the eyebrow typography (uppercase, 0.08em tracking)
     .hello-tag--sm            smaller height and type (10.5px)
   ========= */
.hello-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--slate-700);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  vertical-align: middle;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.hello-tag--accent {
  color: var(--brand-primary);
  background: var(--brand-surface-tint);
  border-color: var(--brand-primary-subtle, #bfdbfe);
}
.hello-tag--on-dark {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}
.hello-tag--quiet {
  color: var(--slate-500);
  background: #ffffff;
  border-color: var(--slate-200);
}
.hello-tag--success {
  color: #065f46;
  background: #ecfdf5;
  border-color: #6ee7b7;
}
.hello-tag--warning {
  color: #92400e;
  background: #fffbeb;
  border-color: #fcd34d;
}
.hello-tag--danger {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecaca;
}
.hello-tag--uppercase {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hello-tag--sm {
  font-size: 10.5px;
  padding: 4px 8px;
}
button.hello-tag,
a.hello-tag {
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
}
button.hello-tag:hover,
a.hello-tag:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}
button.hello-tag:focus-visible,
a.hello-tag:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}
button.hello-tag.is-active,
a.hello-tag.is-active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
}

/* =========
   Form primitive (.hello-form-*)
   Canonical form control styles per Brand Style Guide Section 14 "Form
   Elements" (public_html/brand/hello_brand_style_guide.html). Use these
   classes instead of re-implementing input/select chrome per page.

   Classes
     .hello-form-field              vertical stack: label + control + hint/error
     .hello-form-label              13px SemiBold label above the control
     .hello-form-label__required    red asterisk span for required fields
     .hello-form-input              text, email, tel, number, url, password
     .hello-form-textarea           multi-line text
     .hello-form-select             native <select> with custom stroke chevron
     .hello-form-hint               13px slate-500 helper text
     .hello-form-error              13px red helper text (and aria-live region)
     .is-invalid / [aria-invalid]   applied to control to show error state

   Spec (style guide Section 14)
     Font:        Inter 15px, --navy ink, weight 500
     Padding:     12px vertical, 14px horizontal (42px right on select for caret)
     Border:      1px solid --slate-200 (1px, never 2px)
     Radius:      8px
     Focus:       border --brand-primary + box-shadow 0 0 0 3px rgba(29,78,216,0.1)
     Error:       border --error + box-shadow 0 0 0 3px rgba(239,68,68,0.08)
     Placeholder: --slate-400 at full opacity
     Label:       13px SemiBold --navy, 6px gap to control
     Tap target:  44px minimum (spec)

   Do NOT use outline for focus rings — always box-shadow (spec).
   Do NOT set input font-size below 15px (iOS triggers zoom on <16px).
   ========= */
.hello-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hello-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.005em;
  margin: 0;
}
.hello-form-label__required {
  color: var(--error, #ef4444);
  margin-left: 2px;
}

.hello-form-input,
.hello-form-textarea,
.hello-form-select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--navy);
  background-color: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.hello-form-input::placeholder,
.hello-form-textarea::placeholder {
  color: var(--slate-400);
  opacity: 1;
}

.hello-form-input:hover:not(:disabled),
.hello-form-textarea:hover:not(:disabled),
.hello-form-select:hover:not(:disabled) {
  border-color: var(--brand-primary-muted, #93c5fd);
}

.hello-form-input:focus,
.hello-form-textarea:focus,
.hello-form-select:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.hello-form-input:disabled,
.hello-form-textarea:disabled,
.hello-form-select:disabled {
  background-color: var(--slate-50);
  color: var(--slate-400);
  cursor: not-allowed;
  border-color: var(--slate-200);
}

/* Error state (either class-based or aria-invalid attribute) */
.hello-form-input.is-invalid,
.hello-form-textarea.is-invalid,
.hello-form-select.is-invalid,
.hello-form-input[aria-invalid="true"],
.hello-form-textarea[aria-invalid="true"],
.hello-form-select[aria-invalid="true"] {
  border-color: var(--error, #ef4444);
}
.hello-form-input.is-invalid:focus,
.hello-form-textarea.is-invalid:focus,
.hello-form-select.is-invalid:focus,
.hello-form-input[aria-invalid="true"]:focus,
.hello-form-textarea[aria-invalid="true"]:focus,
.hello-form-select[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

/* Textarea */
.hello-form-textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.5;
}

/* Select — custom stroke chevron caret in brand-primary */
.hello-form-select {
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
}
.hello-form-select:disabled {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
}
.hello-form-select optgroup {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  font-style: normal;
  letter-spacing: -0.005em;
}
.hello-form-select option {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  padding: 6px 0;
}

/* Hint + error helper text */
.hello-form-hint {
  font-size: 13px;
  line-height: 1.4;
  color: var(--slate-500);
  margin: 2px 0 0;
}
.hello-form-error {
  font-size: 13px;
  line-height: 1.4;
  color: var(--error, #ef4444);
  font-weight: 500;
  margin: 2px 0 0;
}

/* Compact modifier for toolbar/inline placement */
.hello-form-input--sm,
.hello-form-textarea--sm,
.hello-form-select--sm {
  font-size: 14px;
  padding: 9px 12px;
}
.hello-form-select--sm {
  padding-right: 38px;
  background-position: right 12px center;
}

/* =========
   Combobox primitive (.hello-combobox)
   Progressive enhancement that replaces native <select> chrome with an
   on-brand popover listbox. Upgrade via /js/hello_combobox.js: add
   data-hello-combobox to a <select> and the primitive takes over. The
   native <select> stays in the DOM (visually hidden) to preserve state
   and any existing change-event listeners.
   ========= */
.hello-combobox {
  position: relative;
  display: block;
  width: 100%;
  max-width: inherit;
}
.hello-combobox__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.hello-combobox__trigger {
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.hello-combobox__trigger[aria-expanded="true"] {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}
.hello-combobox__value {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hello-combobox__value--placeholder {
  color: var(--slate-400);
}
.hello-combobox__popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 50;
  max-height: 360px;
  overflow-y: auto;
  padding: 6px;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  box-shadow:
    0 20px 40px -16px rgba(15, 23, 42, 0.18),
    0 4px 10px -4px rgba(15, 23, 42, 0.08);
  outline: none;
}
.hello-combobox__popover[hidden] {
  display: none;
}
.hello-combobox__group {
  display: block;
}
.hello-combobox__group + .hello-combobox__group {
  border-top: 1px solid var(--slate-100, #f1f5f9);
  margin-top: 4px;
  padding-top: 4px;
}
.hello-combobox__group-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-500);
  padding: 10px 12px 6px;
}
.hello-combobox__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-700);
  line-height: 1.35;
  cursor: pointer;
  user-select: none;
  transition: background 0.12s ease, color 0.12s ease;
}
.hello-combobox__option:hover {
  background: var(--brand-surface-tint);
  color: var(--navy);
}
.hello-combobox__option.is-active {
  background: var(--brand-surface-tint);
  color: var(--navy);
}
.hello-combobox__option.is-selected {
  background: var(--brand-surface-tint);
  color: var(--brand-primary);
  font-weight: 600;
}
.hello-combobox__option-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hello-combobox__option-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--brand-primary);
  opacity: 0;
}
.hello-combobox__option.is-selected .hello-combobox__option-check {
  opacity: 1;
}
