/*
 * Shared layout system for the client-final static site.
 * This file is deliberately loaded after each page stylesheet so that the
 * common grid and header remain consistent without erasing page-specific art.
 */

:root {
  --nirnai-green-dark: #153833;
  --nirnai-green-light: #2f6b60;
  --nirnai-gold: #c79a56;
}

.client-final-site {
  /* The imported page styles use different variable names. Resolve each
     semantic brand role to this one shared palette at the shell level. */
  --deep: var(--nirnai-green-dark);
  --deep-2: var(--nirnai-green-dark);
  --green: var(--nirnai-green-dark);
  --dark: var(--nirnai-green-dark);
  --ink: var(--nirnai-green-dark);
  --nirnai-ink: var(--nirnai-green-dark);
  --teal: var(--nirnai-green-light);
  --teal-2: var(--nirnai-green-light);
  --teal2: var(--nirnai-green-light);
  --teal-light: var(--nirnai-green-light);
  --teal-dark: var(--nirnai-green-dark);
  --teal3: var(--nirnai-green-dark);
  --nirnai-teal: var(--nirnai-green-light);
  --nirnai-teal-dark: var(--nirnai-green-dark);
  --gold: var(--nirnai-gold);
  --gold2: var(--nirnai-gold);
  --gold-light: var(--nirnai-gold);
  --gold-bright: var(--nirnai-gold);
  --gold-dark: var(--nirnai-gold);
  --gold-deep: var(--nirnai-gold);
  --nirnai-gold: #c79a56;
  --nirnai-gold-soft: var(--nirnai-gold);
  --site-shell: 1240px;
  --site-gutter: 40px;
  --site-nav-height: 72px;
  --site-logo-width: 150px;
  --font-body:
    "Inter Variable", Inter, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-heading:
    "Space Grotesk Variable", "Space Grotesk", "Inter Variable", Inter,
    system-ui, sans-serif;
  --font-label: "IBM Plex Mono", monospace;
  font-family: var(--font-body) !important;
}

/* Every business-enquiry control has the same affordance regardless of the
   page family that renders it. */
.client-final-site .nirnai-business-cta {
  align-items: center;
  background: var(--nirnai-green-dark) !important;
  border: 1px solid var(--nirnai-green-dark) !important;
  border-radius: 4px;
  color: #fff !important;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.client-final-site .nirnai-business-cta:hover,
.client-final-site .nirnai-business-cta:focus-visible {
  background: var(--nirnai-green-light) !important;
  border-color: var(--nirnai-green-light) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Section headings follow the homepage reading order: label, heading, then
   supporting copy. Imported product templates previously placed the copy in
   a second grid column and added a gold fading rule below the title. */
body.client-final-site:not(.client-final-home) :where(.section-head, .section-intro) {
  display: block !important;
  margin-bottom: 32px !important;
}

body.client-final-site:not(.client-final-home) :where(.section-head, .section-intro) > :where(div, header) {
  max-width: 760px;
}

body.client-final-site:not(.client-final-home) :where(.section-head, .section-intro) h2 {
  font-family: var(--font-heading) !important;
  margin: 0 !important;
  padding-bottom: 0 !important;
}

body.client-final-site:not(.client-final-home) :where(.section-head, .section-intro) h2::after {
  content: none !important;
  display: none !important;
}

/* Some imported pages attach the same divider to a bare section heading
   instead of its section-head wrapper. Keep that legacy decoration out of
   every non-home section as well. */
body.client-final-site:not(.client-final-home) section h2 {
  font-family: var(--font-heading) !important;
}

body.client-final-site:not(.client-final-home) section h2::after {
  content: none !important;
  display: none !important;
}

body.client-final-site:not(.client-final-home) :where(.section-head, .section-intro) > p,
body.client-final-site:not(.client-final-home) :where(.section-head, .section-intro) > :where(div, header) > p {
  display: block !important;
  margin: 14px 0 0 !important;
  max-width: 720px !important;
}

.client-final-site :where(h1, h2, h3, h4, h5, h6, summary) {
  font-family: var(--font-heading) !important;
}

.client-final-site :where(p, li, input, select, textarea, button) {
  font-family: var(--font-body);
}

/* Home defines the public typography system. Imported page styles include
   legacy display faces, so keep all rendered client-final pages within the
   same three-family stack: Inter for copy, Space Grotesk for display type,
   and IBM Plex Mono for labels. */
body.client-final-site,
body.client-final-site :where(a, button, input, select, textarea, option, label, p, li, td, th, small, strong, b, span, i) {
  font-family: var(--font-body) !important;
}

body.client-final-site :where(h1, h2, h3, h4, h5, h6, summary),
body.client-final-site :where(h1, h2, h3, h4, h5, h6) :where(span, em, strong, b, i),
body.client-final-site .serif,
body.client-final-site .hero h1 :where(span, em, strong, .gold, .serif),
body.client-final-site .hero-copy h1 em,
body.client-final-site .quote-mark,
body.client-final-site .quote p,
body.client-final-site .pullquote,
body.client-final-site .mind-mark,
body.client-final-site .value-mark {
  font-family: var(--font-heading) !important;
}

body.client-final-site :where(.mono, .eyebrow, .kicker, .section-kicker, .section-label, .overline, .process-note, .step-no, .feature-num, .flowNum, .location-code, .value-num) {
  font-family: var(--font-label) !important;
}

.client-final-site
  :where(
    .mono,
    .eyebrow,
    .contact-eyebrow,
    .kicker,
    .section-kicker,
    .section-label,
    .overline
  ) {
  font-family: var(--font-label) !important;
}

/* Shared content shell. Page art can remain full bleed; readable content uses
   the same left and right anchors everywhere. */
.client-final-site .wrap {
  width: 100% !important;
  max-width: var(--site-shell) !important;
  margin-inline: auto !important;
  padding-inline: var(--site-gutter) !important;
  box-sizing: border-box;
}

/* One predictable navigation grid across the independently-designed pages. */
.client-final-site nav > :where(.wrap, .navwrap, .nav-inner, .navinner) {
  width: 100%;
  max-width: var(--site-shell);
  min-height: var(--site-nav-height) !important;
  height: var(--site-nav-height) !important;
  margin-inline: auto;
  padding-inline: var(--site-gutter);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 24px;
}

.client-final-site nav {
  min-height: var(--site-nav-height) !important;
  height: var(--site-nav-height) !important;
}

.client-final-site
  nav
  > :where(.wrap, .navwrap, .nav-inner, .navinner)
  > :first-child {
  justify-self: start;
}

.client-final-site
  nav
  > :where(.wrap, .navwrap, .nav-inner, .navinner)
  > :nth-child(2):not(:last-child) {
  justify-self: center;
}

.client-final-site
  nav
  > :where(.wrap, .navwrap, .nav-inner, .navinner)
  > :last-child,
.client-final-site
  nav
  > :where(.wrap, .navwrap, .nav-inner, .navinner)
  > :nth-child(3) {
  justify-self: end;
}

.client-final-site nav :where(.brand, .brandmark) img,
.client-final-site nav img.logo {
  width: var(--site-logo-width) !important;
  max-width: var(--site-logo-width) !important;
  max-height: 48px !important;
  height: auto !important;
  object-fit: contain;
}

.client-final-site nav :where(.navlinks, .nav-links, .links) {
  gap: 24px;
  white-space: nowrap;
}

.client-final-site nav :where(.navcta, .nav-demo, .cta.nav-demo) {
  min-height: 44px;
  padding: 11px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  white-space: nowrap;
}

/* Homepage: full-bleed photograph, content aligned to the same shell as nav. */
.client-final-home .hero {
  min-height: clamp(620px, 72vh, 780px) !important;
  align-items: center !important;
}

.client-final-home .hero > .hero-content {
  width: 100% !important;
  max-width: var(--site-shell) !important;
  margin-inline: auto !important;
  padding: 24px var(--site-gutter) 32px !important;
  box-sizing: border-box;
}

.client-final-home .hero > .hero-content > :where(.eyebrow, h1, p) {
  max-width: 720px;
}

.client-final-home .hero h1 {
  font-size: clamp(3.35rem, 4.5vw, 4.75rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.04em !important;
  color: #f7f5f0;
}

.client-final-home .hero h1 em {
  color: #b8873f !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: currentColor !important;
}

.client-final-home .hero p,
.client-final-about .hero .hero-copy {
  max-width: 610px !important;
  margin-top: 22px !important;
  color: rgba(247, 245, 240, 0.88) !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

.client-final-home .feature-band {
  padding-block: 24px !important;
}

.client-final-home .feature-point b {
  font-size: 0.96rem;
}

.client-final-home .feature-point span {
  font-size: 0.78rem;
  line-height: 1.45;
}

/* Product pages: full-bleed hero media, readable copy aligned to the shared header shell. */
.client-final-product-page .hero {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  min-height: clamp(560px, 68vh, 700px) !important;
  box-shadow: none !important;
}

.client-final-product-page .hero :where(.hero-media, .hero-media img) {
  width: 100% !important;
  height: 100% !important;
}

.client-final-product-page .hero :where(.hero-content, .hero-inner) {
  width: 100% !important;
  max-width: var(--site-shell) !important;
  min-height: clamp(560px, 68vh, 700px) !important;
  margin-inline: auto !important;
  padding-inline: var(--site-gutter) !important;
  box-sizing: border-box !important;
}

.client-final-product-page .hero :where(.hero-copy) {
  max-width: min(690px, 100%) !important;
}

.client-final-contact .contact-hero-copy {
  padding-left: var(--site-gutter);
}

.client-final-vetting .hero-inner {
  width: 100%;
  max-width: var(--site-shell);
  margin-inline: auto;
  padding-inline: var(--site-gutter);
  box-sizing: border-box;
}

/* Shared hero rhythm: keep page artwork unique, but make the copy structure
   match the homepage pattern across client-final pages. */
.client-final-site
  :where(header.hero, section.hero, .article-hero, .contact-hero-v3)
  :where(.hero-content, .hero-inner, .hero-grid, .contact-hero-copy) {
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.client-final-site
  :where(header.hero, section.hero, .article-hero, .contact-hero-v3)
  :where(.eyebrow, .contact-eyebrow, .kicker) {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: auto !important;
  margin: 0 0 18px !important;
  color: #b8873f !important;
  font-family: var(--font-label) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
}

.client-final-site
  :where(header.hero, section.hero, .article-hero, .contact-hero-v3)
  :where(.eyebrow, .contact-eyebrow, .kicker)::before {
  content: "" !important;
  display: block !important;
  width: 34px !important;
  height: 1px !important;
  flex: 0 0 34px !important;
  background: currentColor !important;
  opacity: 0.82 !important;
}

.client-final-site
  :where(header.hero, section.hero, .article-hero, .contact-hero-v3)
  h1 {
  max-width: 760px !important;
  color: inherit;
  font-family: var(--font-heading) !important;
  font-size: 4.25rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.03 !important;
  max-inline-size: 100% !important;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.client-final-site header.hero h1 :where(span, em, strong, .gold, .serif),
.client-final-site section.hero h1 :where(span, em, strong, .gold, .serif),
.client-final-site .article-hero h1 :where(span, em, strong, .gold, .serif),
.client-final-site .contact-hero-v3 h1 :where(span, em, strong, .gold, .serif) {
  font-family: var(--font-heading) !important;
}

.client-final-site
  :where(header.hero, section.hero, .article-hero, .contact-hero-v3)
  :where(
    p.hero-copy,
    .hero-lead,
    .heroLead,
    .hero-sub,
    .hero-lede,
    .lead,
    .dek,
    .contact-hero-copy > p,
    .hero-content > p,
    .hero-inner > p
  ) {
  max-width: 650px !important;
  margin-top: 22px !important;
  font-family: var(--font-body) !important;
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  max-inline-size: 100% !important;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.client-final-site
  :where(header.hero, section.hero, .article-hero, .contact-hero-v3)
  :where(.hero-note, .hero-meta, .hero-points, .contact-trust, .meta) {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 740px !important;
  margin-top: 34px !important;
}

.client-final-site
  :where(header.hero, section.hero, .article-hero, .contact-hero-v3)
  :where(
    .hero-note > *,
    .hero-meta > *,
    .hero-points > *,
    .contact-trust > *,
    .meta > *
  ) {
  margin: 0 !important;
  padding: 0 20px !important;
  border-left: 1px solid rgb(255 255 255 / 18%) !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.client-final-site
  :where(header.hero, section.hero, .article-hero, .contact-hero-v3)
  :where(
    .hero-note > *,
    .hero-meta > *,
    .hero-points > *,
    .contact-trust > *,
    .meta > *
  ):first-child {
  padding-left: 0 !important;
  border-left: 0 !important;
}

.client-final-site
  :where(header.hero, section.hero, .article-hero, .contact-hero-v3)
  :where(.hero-note b, .contact-trust b) {
  display: block !important;
  font-size: 0.94rem !important;
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  overflow-wrap: anywhere;
}

.client-final-site
  :where(header.hero, section.hero, .article-hero, .contact-hero-v3)
  :where(.hero-note span, .hero-meta span, .contact-trust span, .meta span) {
  display: block !important;
  margin-top: 5px !important;
  color: rgb(255 255 255 / 68%) !important;
  font-family: var(--font-body) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.45 !important;
  overflow-wrap: anywhere;
}

.client-final-site .article-hero {
  width: 100% !important;
  max-width: var(--site-shell) !important;
  margin-inline: auto !important;
  padding-inline: var(--site-gutter) !important;
  box-sizing: border-box !important;
}

.client-final-site .article-hero > .hero-note {
  display: block !important;
  width: auto !important;
  max-width: 360px !important;
  margin-top: 0 !important;
  padding: 22px !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  background: var(--white) !important;
  box-shadow: var(--shadow) !important;
}

.client-final-site .article-hero > .hero-note > * {
  padding: 0 !important;
  border: 0 !important;
}

.client-final-site .article-hero > .hero-note :where(span, i) {
  display: inline-flex !important;
  margin-top: 0 !important;
  color: inherit !important;
}

.client-final-contact .contact-hero-v3 {
  width: 100% !important;
  max-width: none !important;
  min-height: clamp(500px, 62vh, 640px) !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.client-final-contact .contact-hero-copy {
  width: auto !important;
  flex: 1 1 auto !important;
  min-height: clamp(500px, 62vh, 640px) !important;
  margin: 0 !important;
  padding-block: 0 !important;
  padding-left: max(
    var(--site-gutter),
    calc((100vw - var(--site-shell)) / 2 + var(--site-gutter))
  ) !important;
  padding-right: 44px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.client-final-contact .lead-box-v3 {
  flex: 0 0 430px !important;
  margin-right: max(
    var(--site-gutter),
    calc((100vw - var(--site-shell)) / 2 + var(--site-gutter))
  ) !important;
}

.client-final-contact .contact-hero-v3 .contact-eyebrow {
  color: #9ed3c8 !important;
}

.client-final-contact .contact-hero-v3 .contact-eyebrow::before {
  background: #b8873f !important;
}

.client-final-security .hero,
.client-final-privacy .hero,
.client-final-about .hero {
  min-height: clamp(620px, 72vh, 780px) !important;
}

.client-final-security .hero {
  background: #063f39 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.client-final-security .hero-grid {
  align-items: center !important;
  box-sizing: border-box !important;
  margin-inline: auto !important;
  max-width: var(--site-shell) !important;
  min-height: clamp(620px, 72vh, 780px) !important;
  padding-block: 56px !important;
  padding-inline: var(--site-gutter) !important;
  width: 100% !important;
}

.client-final-security .hero h1 {
  color: #f7f5f0 !important;
}

.client-final-security .hero-lead {
  color: rgb(247 245 240 / 78%) !important;
}

.client-final-security .hero :where(.eyebrow, .kicker) {
  color: #9ed3c8 !important;
}

.client-final-security .hero :where(.eyebrow, .kicker)::before {
  background: #c79a56 !important;
}

.client-final-privacy .hero {
  background: #063f39 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  min-height: clamp(620px, 72vh, 780px) !important;
  padding: 0 !important;
  width: 100% !important;
}

.client-final-privacy .heroGrid {
  align-items: center !important;
  box-sizing: border-box !important;
  margin-inline: auto !important;
  max-width: var(--site-shell) !important;
  min-height: clamp(620px, 72vh, 780px) !important;
  padding-block: 56px !important;
  padding-inline: var(--site-gutter) !important;
  width: 100% !important;
}

.client-final-privacy .hero h1 {
  color: #f7f5f0 !important;
}

.client-final-privacy .heroLead {
  color: rgb(247 245 240 / 78%) !important;
}

.client-final-privacy .hero .eyebrow {
  color: #9ed3c8 !important;
}

.client-final-privacy .hero .eyebrow::before {
  background: #c79a56 !important;
}

.client-final-privacy .hero-points {
  gap: 14px 24px !important;
}

.client-final-privacy .hero-points .hero-point {
  align-items: center !important;
  color: #f4f8f6 !important;
  display: flex !important;
  gap: 9px !important;
  padding: 0 !important;
  border: 0 !important;
}

.client-final-privacy .hero-points .hero-point svg {
  flex: 0 0 23px;
  height: 23px;
  stroke: #c79a56;
  width: 23px;
}

.client-final-privacy .hero-points .hero-point span {
  color: #f4f8f6 !important;
  display: inline !important;
  font-size: 0.82rem !important;
  line-height: 1.4 !important;
  margin-top: 0 !important;
}

.client-final-security .hero-note {
  gap: 14px 24px !important;
}

.client-final-security .hero-note .hero-point {
  align-items: center !important;
  color: #f4f8f6 !important;
  display: flex !important;
  gap: 9px !important;
  padding: 0 !important;
  border: 0 !important;
}

.client-final-security .hero-note .hero-point svg {
  flex: 0 0 23px;
  height: 23px;
  stroke: #c79a56;
  width: 23px;
}

.client-final-security .hero-note .hero-point span {
  color: #f4f8f6 !important;
  display: inline !important;
  font-size: 0.82rem !important;
  line-height: 1.4 !important;
  margin-top: 0 !important;
}

.client-final-privacy .heroGrid,
.client-final-about .hero-grid {
  min-height: clamp(560px, 68vh, 720px) !important;
  padding-block: 56px !important;
  align-items: center !important;
}

.client-final-privacy
  .hero
  :where(
    .hero-note > *,
    .hero-meta > *,
    .hero-points > *,
    .contact-trust > *,
    .meta > *
  ),
.client-final-security
  .hero
  :where(
    .hero-note > *,
    .hero-meta > *,
    .hero-points > *,
    .contact-trust > *,
    .meta > *
  ) {
  border-left-color: rgb(21 56 51 / 16%) !important;
}

.client-final-privacy
  .hero
  :where(
    .hero-note span,
    .hero-meta span,
    .hero-points span,
    .contact-trust span,
    .meta span
  ),
.client-final-security
  .hero
  :where(
    .hero-note span,
    .hero-meta span,
    .hero-points span,
    .contact-trust span,
    .meta span
  ) {
  color: rgb(18 32 28 / 66%) !important;
}

@media (max-width: 1100px) {
  .client-final-site nav :where(.navlinks, .nav-links, .links) {
    gap: 17px;
    font-size: 0.8rem;
  }

  .client-final-site nav :where(.navcta, .nav-demo, .cta.nav-demo) {
    padding-inline: 16px;
  }
}

@media (max-width: 900px) {
  .client-final-site {
    --site-gutter: 24px;
    --site-nav-height: 68px;
    --site-logo-width: 138px;
  }

  .client-final-site nav > :where(.wrap, .navwrap, .nav-inner, .navinner) {
    display: flex;
    justify-content: space-between;
    gap: 16px;
  }

  .client-final-site nav :where(.navlinks, .nav-links, .links) {
    display: none;
  }

  .client-final-home .navlinks.mobile-open {
    display: flex;
    top: calc(var(--site-nav-height) + 8px);
  }

  .client-final-home .hero {
    min-height: clamp(590px, 76vh, 700px) !important;
  }

  .client-final-home .hero h1 {
    font-size: 3.45rem !important;
  }

  .client-final-site
    :where(header.hero, section.hero, .article-hero, .contact-hero-v3)
    h1 {
    font-size: 3.45rem !important;
  }

  .client-final-site
    :where(header.hero, section.hero, .article-hero, .contact-hero-v3)
    :where(
      p.hero-copy,
      .hero-lead,
      .heroLead,
      .hero-sub,
      .hero-lede,
      .lead,
      .dek,
      .contact-hero-copy > p,
      .hero-content > p,
      .hero-inner > p
    ) {
    font-size: 1rem !important;
  }
}

@media (max-width: 700px) {
  .client-final-site {
    --site-gutter: 20px;
    --site-logo-width: 130px;
  }

  .client-final-site nav :where(.navcta, .nav-demo, .cta.nav-demo) {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 0.76rem;
  }

  .client-final-home .hero {
    min-height: 620px !important;
    align-items: flex-end !important;
  }

  .client-final-home .hero > .hero-content {
    padding: 44px var(--site-gutter) 52px !important;
  }

  .client-final-home .hero h1 {
    font-size: 2.75rem !important;
    line-height: 1.04 !important;
  }

  .client-final-site
    :where(header.hero, section.hero, .article-hero, .contact-hero-v3)
    h1 {
    font-size: 2.75rem !important;
    line-height: 1.06 !important;
  }

  .client-final-home .hero p {
    font-size: 0.94rem !important;
    line-height: 1.58 !important;
  }

  .client-final-site
    :where(header.hero, section.hero, .article-hero, .contact-hero-v3)
    :where(
      p.hero-copy,
      .hero-lead,
      .heroLead,
      .hero-sub,
      .hero-lede,
      .lead,
      .dek,
      .contact-hero-copy > p,
      .hero-content > p,
      .hero-inner > p
    ) {
    font-size: 0.95rem !important;
    line-height: 1.58 !important;
  }

  .client-final-site
    :where(header.hero, section.hero, .article-hero, .contact-hero-v3)
    :where(.hero-note, .hero-meta, .hero-points, .contact-trust, .meta) {
    display: block !important;
    max-width: 100% !important;
  }

  .client-final-site
    :where(header.hero, section.hero, .article-hero, .contact-hero-v3)
    :where(
      .hero-note > *,
      .hero-meta > *,
      .hero-points > *,
      .contact-trust > *,
      .meta > *
    ) {
    padding: 12px 0 !important;
    border-left: 0 !important;
    border-top: 1px solid rgb(255 255 255 / 16%) !important;
  }

  .client-final-site
    :where(header.hero, section.hero, .article-hero, .contact-hero-v3)
    :where(
      .hero-note > *,
      .hero-meta > *,
      .hero-points > *,
      .contact-trust > *,
      .meta > *
    ):first-child {
    border-top: 0 !important;
  }

  .client-final-site .article-hero > .hero-note {
    padding: 19px !important;
    border: 1px solid var(--line) !important;
    background: var(--white) !important;
  }

  .client-final-site .article-hero > .hero-note > * {
    padding: 0 !important;
    border-top: 0 !important;
  }

  .client-final-privacy
    .hero
    :where(
      .hero-note > *,
      .hero-meta > *,
      .hero-points > *,
      .contact-trust > *,
      .meta > *
    ),
  .client-final-security
    .hero
    :where(
      .hero-note > *,
      .hero-meta > *,
      .hero-points > *,
      .contact-trust > *,
      .meta > *
    ) {
    border-top-color: rgb(21 56 51 / 16%) !important;
  }

  .client-final-product-page .hero,
  .client-final-product-page .hero :where(.hero-content, .hero-inner) {
    min-height: 600px !important;
  }

  .client-final-contact .contact-hero-v3 {
    display: block !important;
    min-height: 600px !important;
  }

  .client-final-contact .contact-hero-copy {
    min-height: auto !important;
    padding: 76px var(--site-gutter) 34px !important;
  }

  .client-final-contact .lead-box-v3 {
    width: auto !important;
    max-width: none !important;
    margin: 0 var(--site-gutter) 28px !important;
  }

  .client-final-home .feature-band {
    padding-block: 8px !important;
  }
}

/* MOTD hero points read as one list; spacing replaces the separator lines. */
.client-final-motd .hero-points {
  gap: 14px 24px !important;
}

.client-final-motd .hero-points > * {
  padding: 0 !important;
  border: 0 !important;
}

@media (max-width: 700px) {
  .client-final-motd .hero-points {
    display: grid !important;
    gap: 12px !important;
  }
}

/* Product hero typography pass: align Legal Opinion, Vetting, Valuation, and MOTD
   with the shared homepage/about hero rhythm. */
.client-final-product-page .hero :where(.eyebrow, .kicker) {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: auto !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #b8873f !important;
  font-family: var(--font-label) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
}

.client-final-product-page .hero :where(.eyebrow, .kicker)::before {
  content: "" !important;
  display: block !important;
  width: 34px !important;
  height: 1px !important;
  flex: 0 0 34px !important;
  background: #b8873f !important;
  opacity: 0.9 !important;
}

.client-final-legalOpinion .hero :where(.eyebrow) {
  color: #9ed3c8 !important;
}

.client-final-legalOpinion .hero :where(.eyebrow)::before {
  background: #b8873f !important;
}

.client-final-vetting .hero :where(.eyebrow) {
  color: #9ed3c8 !important;
}

.client-final-vetting .hero :where(.eyebrow)::before {
  background: #b8873f !important;
}

.client-final-valuation .hero :where(.eyebrow),
.client-final-motd .hero :where(.eyebrow) {
  color: #9ed3c8 !important;
}

.client-final-valuation .hero :where(.eyebrow)::before,
.client-final-motd .hero :where(.eyebrow)::before {
  background: #b8873f !important;
}

.client-final-careers .hero .eyebrow {
  color: #9ed3c8 !important;
}

.client-final-careers .hero .eyebrow::before {
  background: #b8873f !important;
}

.client-final-product-page .hero h1 {
  max-width: 760px !important;
  color: #f7f5f0 !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(2.7rem, 5vw, 4.25rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.03 !important;
  text-shadow: 0 2px 22px rgb(0 0 0 / 18%) !important;
}

.client-final-product-page .hero h1::after {
  display: none !important;
}

.client-final-product-page .hero h1 :where(span, em, strong, .gold, .serif) {
  font-family: var(--font-heading) !important;
  font-weight: inherit !important;
  letter-spacing: 0 !important;
}

.client-final-product-page .hero h1 span {
  color: inherit !important;
}

.client-final-product-page .hero h1 :where(.gold, .serif),
.client-final-product-page .hero h1 span:last-child {
  color: #d7b16a !important;
}

.client-final-product-page
  .hero
  :where(.hero-copy > p, p.hero-copy, .hero-sub, .hero-lede) {
  max-width: 650px !important;
  margin-top: 22px !important;
  color: rgb(247 245 240 / 88%) !important;
  font-family: var(--font-body) !important;
  font-size: 1.03rem !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  text-shadow: none !important;
}

@media (max-width: 700px) {
  .client-final-product-page .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.25rem) !important;
    line-height: 1.06 !important;
  }

  .client-final-product-page
    .hero
    :where(.hero-copy > p, p.hero-copy, .hero-sub, .hero-lede) {
    font-size: 0.95rem !important;
    line-height: 1.58 !important;
  }
}

/* Product FAQ: match the Technology page FAQ treatment. */
body.client-final-site.client-final-product-page section.technology-faq#faq {
  background: #f7f5f0 !important;
  border-top: 1px solid rgb(21 56 51 / 12%) !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 52px 0 !important;
}

body.client-final-site.client-final-product-page section.technology-faq#faq .wrap {
  max-width: 1080px !important;
}

body.client-final-site.client-final-product-page
  section.technology-faq#faq
  :where(.section-head, .section-intro) {
  display: block !important;
  gap: 0 !important;
  margin-bottom: 32px !important;
}

body.client-final-site.client-final-product-page
  section.technology-faq#faq
  :where(.section-head, .section-intro)
  > p {
  display: block !important;
  max-width: 760px !important;
  margin-top: 6px !important;
  color: #5b6862 !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}

body.client-final-site.client-final-product-page section.technology-faq#faq .kicker {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
  color: #2f6b60 !important;
  font-family: var(--font-label) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
}

body.client-final-site.client-final-product-page
  section.technology-faq#faq
  :where(.kicker, .section-head > p, .section-intro > p) {
  display: none !important;
}

body.client-final-site.client-final-product-page
  section.technology-faq#faq
  .kicker::before {
  display: none !important;
}

body.client-final-site.client-final-product-page
  section.technology-faq#faq
  :where(.section-head, .section-intro)
  h2 {
  margin: 0 !important;
  padding: 0 !important;
  color: #153833 !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(1.45rem, 2.6vw, 2rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.15 !important;
  text-shadow: none !important;
}

body.client-final-site.client-final-product-page
  section.technology-faq#faq
  :where(.section-head, .section-intro)
  h2::after {
  display: none !important;
  content: none !important;
}

body.client-final-site.client-final-product-page section.technology-faq#faq details {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgb(21 56 51 / 12%) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 14px 0 !important;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease !important;
  will-change: auto !important;
}

body.client-final-site.client-final-product-page
  section.technology-faq#faq
  details:first-of-type {
  border-top: 0 !important;
}

body.client-final-site.client-final-product-page
  section.technology-faq#faq
  details:hover {
  background: transparent !important;
  border-color: rgb(21 56 51 / 12%) !important;
  padding-left: 0 !important;
  transform: none !important;
}

body.client-final-site.client-final-product-page section.technology-faq#faq summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  color: #153833 !important;
  cursor: pointer !important;
  font-family: var(--font-heading) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  list-style: none !important;
  padding: 0 !important;
  text-transform: none !important;
  overflow-wrap: anywhere;
}

body.client-final-site.client-final-product-page
  section.technology-faq#faq
  summary::-webkit-details-marker {
  display: none !important;
}

body.client-final-site.client-final-product-page
  section.technology-faq#faq
  summary::after {
  content: "+" !important;
  flex: 0 0 auto !important;
  color: #2f6b60 !important;
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

body.client-final-site.client-final-product-page
  section.technology-faq#faq
  details[open]
  summary::after {
  content: "-" !important;
}

body.client-final-site.client-final-product-page
  section.technology-faq#faq
  details
  p {
  max-width: 720px !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  color: #5b6862 !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  body.client-final-site.client-final-product-page section.technology-faq#faq {
    padding: 52px 0 !important;
  }
}

/* Legal Opinion: keep the Visibility/dashboard treatment aligned with the
   shared product-page typography and content shell. */
body.client-final-legalOpinion #dashboard .section-head h2 {
  font-family: var(--font-heading) !important;
}

body.client-final-legalOpinion #dashboard .section-head h2::after {
  content: none !important;
  display: none !important;
}

body.client-final-legalOpinion #dashboard .dash-copy2 {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.client-final-site.client-final-product-page.client-final-legalOpinion
  section.technology-faq#faq
  .wrap {
  max-width: var(--site-shell) !important;
}

body.client-final-site.client-final-product-page.client-final-vetting
  section.technology-faq#faq
  .wrap {
  max-width: var(--site-shell) !important;
}

body.client-final-site.client-final-product-page.client-final-valuation
  section.technology-faq#faq
  .wrap {
  max-width: var(--site-shell) !important;
}
