/* ONYX CLEAN — an optional, page-specific visual language.
 * Light editorial rhythm, readable typography, soft surfaces, deliberate grids.
 * Scope is intentional: no changes to existing ONYX pages or theme settings.
 * Brand accent and canvas are selected independently by each page owner.
 */
body.onyx-style-clean {
  --clean-primary:#315FD4;
  --clean-secondary:#1D2F52;
  --clean-highlight:#8FB4F5;
  --clean-accent:var(--clean-primary);
  --clean-on-accent:#fff;
  --clean-link:#274FAE;
  --clean-primary-emphasis:#214b98;
  --clean-canvas-link:#274FAE;
  --clean-canvas:#F1F7FF;
  --clean-ink:var(--clean-secondary);
  --clean-muted:#4F6486;
  --clean-canvas-ink:var(--clean-secondary);
  --clean-canvas-muted:#4F6486;
  --clean-cta:var(--clean-secondary);
  /* Bootstrap 5.3 semantic approach: neutral surfaces and borders are NOT
     made from the Accent token. Primary gets its own subtle focus/badge tint. */
  --clean-line:#dee2e6;
  --clean-line-hover:#c7cfd8;
  --clean-primary-subtle:color-mix(in srgb,var(--clean-primary) 9%,#ffffff);
  --clean-soft:var(--clean-primary-subtle);
  --clean-soft-deep:color-mix(in srgb,var(--clean-primary) 16%,#ffffff);
  --clean-paper:#ffffff;
  --clean-shadow:0 16px 40px rgba(32,64,128,.055);
  --onyx-text:var(--clean-ink);
  --onyx-muted:var(--clean-muted);
  --onyx-paper:var(--clean-paper);
  --onyx-mist:var(--clean-canvas);
  --onyx-edge:var(--clean-line);
  --onyx-accent:var(--clean-accent);
  --onyx-accent-deep:var(--clean-link);
  background:var(--clean-paper);
  color:var(--clean-ink);
  font-size:16px;
  line-height:1.65;
}
body.onyx-style-clean a {color:var(--clean-link)}
body.onyx-style-clean a:hover {color:var(--clean-ink)}
body.onyx-style-clean :is(a,button,input,select,textarea):focus-visible {outline:3px solid var(--clean-accent);outline-offset:3px}
/* Clean site navigation is readable on a pale hero before and after scrolling. */
body.onyx-style-clean .onyx-site-header,
body.onyx-style-clean .onyx-site-header.is-scrolled {
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--clean-line);
  box-shadow:0 1px 12px rgba(30,55,115,.025);
  backdrop-filter:blur(18px);
}
body.onyx-style-clean .onyx-navbar {padding:.64rem 0;min-height:4.4rem}
body.onyx-style-clean .onyx-site-header.is-scrolled .onyx-navbar {padding:.57rem 0}
body.onyx-style-clean .onyx-nav-inner {max-width:1240px;padding-inline:clamp(1.1rem,2.8vw,2.4rem)}
body.onyx-style-clean .onyx-brand,
body.onyx-style-clean .onyx-brand:hover,
body.onyx-style-clean .onyx-site-header.is-scrolled .onyx-brand {
  color:var(--clean-ink);text-decoration:none;
}
body.onyx-style-clean .onyx-brand-word {font-size:1.08rem;letter-spacing:.16em;font-weight:800}
body.onyx-style-clean .onyx-navbar .nav-link,
body.onyx-style-clean .onyx-site-header.is-scrolled .onyx-navbar .nav-link {
  color:var(--clean-muted);font-size:.89rem;letter-spacing:0;font-weight:550;
}
body.onyx-style-clean .onyx-navbar .nav-link:hover,
body.onyx-style-clean .onyx-site-header.is-scrolled .onyx-navbar .nav-link:hover {color:var(--clean-link)}
body.onyx-style-clean .onyx-menu-toggle {border-color:var(--clean-line)}
body.onyx-style-clean .onyx-menu-toggle span,
body.onyx-style-clean .onyx-site-header.is-scrolled .onyx-menu-toggle span {background:var(--clean-ink)}
body.onyx-style-clean .onyx-navbar .dropdown-menu {background:#fff;border-color:var(--clean-line)}
body.onyx-style-clean .onyx-navbar .dropdown-item {color:var(--clean-ink)}
body.onyx-style-clean .onyx-navbar .dropdown-item:hover {color:var(--clean-link);background:var(--clean-canvas)}

/* Calm, editorial hero. No enormous heading or theatrical transitions. */
body.onyx-style-clean .onyx-hero {
  background:var(--clean-canvas);
  overflow:hidden;
  isolation:isolate;
}
/* Respect the actual saved Hero height, including ONYX Clean. */
body.onyx-style-clean .onyx-hero.onyx-hero--tall {height:100svh;min-height:37rem}
body.onyx-style-clean .onyx-hero.onyx-hero--medium {height:75svh;min-height:29rem}
body.onyx-style-clean .onyx-hero.onyx-hero--short {height:55svh;min-height:25rem}
body.onyx-style-clean .onyx-hero--background-solid .onyx-hero-surface,
body.onyx-style-clean .onyx-hero--background-gradient .onyx-hero-surface {opacity:1}
/* An explicit opt-in ties the Hero surface to the inherited four-color palette. */
body.onyx-style-clean .onyx-hero--clean-canvas .onyx-hero-surface {background:var(--clean-canvas)!important}
body.onyx-style-clean .onyx-hero::before {
  content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;
  /* No Accent-colored wash across the Hero. Canvas alone owns the surface. */
  background:none;
}
body.onyx-style-clean .onyx-hero-content {
  max-width:1240px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,.93fr);
  gap:clamp(28px,5vw,74px);
  justify-content:space-between;
  align-items:center;
  padding:clamp(4.5rem,8svh,7rem) clamp(1.1rem,2.8vw,2.4rem) clamp(1.5rem,3vw,3rem);
  min-height:0;
  height:100%;
}
body.onyx-style-clean .onyx-hero-content:not(:has(.onyx-clean-visual,.onyx-hero-art)) {display:flex}
/* Keep the layout's positioning independent of the copy's text alignment. */
body.onyx-style-clean .onyx-hero.onyx-align--left .onyx-hero-content {justify-content:flex-start}
body.onyx-style-clean .onyx-hero.onyx-align--right .onyx-hero-content {justify-content:flex-end}
body.onyx-style-clean .onyx-hero.onyx-align--center .onyx-hero-content {justify-content:center}
body.onyx-style-clean .onyx-hero-copy {
  max-width:33.5rem;
  margin:0;
  min-width:0;
  text-align:left;
  text-shadow:none;
  color:var(--clean-canvas-ink);
  position:relative;
  z-index:2;
}
/* `inherit` follows layout; explicit Hero text position always wins. */
body.onyx-style-clean .onyx-hero.onyx-align--left.onyx-text-position--inherit .onyx-hero-copy,
body.onyx-style-clean .onyx-hero.onyx-text-position--left .onyx-hero-copy {text-align:left;margin-left:0;margin-right:auto}
body.onyx-style-clean .onyx-hero.onyx-align--center.onyx-text-position--inherit .onyx-hero-copy,
body.onyx-style-clean .onyx-hero.onyx-text-position--center .onyx-hero-copy {text-align:center;margin-inline:auto}
body.onyx-style-clean .onyx-hero.onyx-align--right.onyx-text-position--inherit .onyx-hero-copy,
body.onyx-style-clean .onyx-hero.onyx-text-position--right .onyx-hero-copy {text-align:right;margin-left:auto;margin-right:0}
/* Hero description must agree with the selected copy alignment. */
body.onyx-style-clean .onyx-hero.onyx-text-position--left .onyx-hero-description,
body.onyx-style-clean .onyx-hero.onyx-align--left.onyx-text-position--inherit .onyx-hero-description {margin-left:0;margin-right:auto}
body.onyx-style-clean .onyx-hero.onyx-text-position--center .onyx-hero-description,
body.onyx-style-clean .onyx-hero.onyx-align--center.onyx-text-position--inherit .onyx-hero-description {margin-inline:auto}
body.onyx-style-clean .onyx-hero.onyx-text-position--right .onyx-hero-description,
body.onyx-style-clean .onyx-hero.onyx-align--right.onyx-text-position--inherit .onyx-hero-description {margin-left:auto;margin-right:0}
body.onyx-style-clean .onyx-hero-copy .onyx-eyebrow {
  display:inline-flex;align-items:center;gap:10px;
  font-size:12.5px;letter-spacing:.09em;line-height:1.5;
  font-weight:750;text-transform:uppercase;
  color:var(--clean-canvas-link);
  background:color-mix(in srgb,var(--clean-canvas) 24%,white);
  border:1px solid var(--clean-line);
  padding:.51rem .86rem;border-radius:999px;margin:0 0 24px;
}
/* Accent is reserved for tiny, intentionally decorative touches only. */
body.onyx-style-clean .onyx-hero-copy .onyx-eyebrow::before {content:"";width:7px;height:7px;border-radius:50%;background:var(--clean-highlight);flex:none}
body.onyx-style-clean .onyx-hero-copy h1 {
  font-weight:700;
  font-size:clamp(2.45rem,3.9vw,3.65rem);
  line-height:1.15;letter-spacing:-.045em;
  color:var(--clean-canvas-ink);text-wrap:balance;
  margin:0 0 23px;
}
body.onyx-style-clean .onyx-hero-description,
body.onyx-style-clean .onyx-hero-copy .onyx-hero-description {
  color:var(--clean-canvas-muted)!important;
  font-size:1.055rem;line-height:1.78;
  max-width:31rem;margin:0;
}
body.onyx-style-clean .onyx-hero-description p {margin:0}
body.onyx-style-clean .onyx-hero .onyx-button.btn {
  margin-top:32px;min-height:47px;
  padding:.76rem 1.42rem;border-radius:.57rem;
  background:var(--clean-accent);border:1px solid var(--clean-accent);
  color:var(--clean-on-accent);
  font-weight:700;font-size:.9rem;letter-spacing:0;
  box-shadow:0 7px 15px rgba(38,82,180,.10);
  transition:transform .18s ease,background .18s ease,box-shadow .18s ease;
}
body.onyx-style-clean .onyx-hero .onyx-button.btn:hover {transform:translateY(-2px);filter:brightness(.94);box-shadow:0 12px 18px rgba(38,82,180,.13)}
body.onyx-style-clean .onyx-hero-art img {max-width:100%;max-height:520px;object-fit:contain}

/* Editorial hero composition: abstract original geometry, no external media. */
body.onyx-style-clean .onyx-clean-visual {
  width:100%;max-width:475px;aspect-ratio:1.02;
  position:relative;margin:0 auto;
  display:flex;align-items:center;justify-content:center;
}
body.onyx-style-clean .onyx-clean-editorial {
  position:relative;width:86%;max-width:405px;
  padding:15px;background:#fff;
  border:1px solid var(--clean-line);
  border-radius:14px;
  box-shadow:0 27px 65px rgba(44,76,140,.11),0 3px 12px rgba(44,76,140,.04);
  transform:rotate(-2.1deg);
}
body.onyx-style-clean .onyx-clean-editorial-top {
  height:38px;display:flex;gap:9px;align-items:center;justify-content:space-between;
  color:var(--clean-muted);font-size:10.5px;font-weight:750;letter-spacing:.075em;white-space:nowrap;
  padding:0 5px 12px;
}
body.onyx-style-clean .onyx-clean-symbol {font-size:27px;color:var(--clean-highlight);line-height:1;font-weight:650;letter-spacing:0}
body.onyx-style-clean .onyx-clean-art-scene {
  position:relative;width:100%;height:clamp(215px,22vw,305px);
  background:linear-gradient(148deg,var(--clean-soft) 0%,color-mix(in srgb,var(--clean-primary) 9%,#ffffff) 100%);
  overflow:hidden;border-radius:7px;
}
body.onyx-style-clean .onyx-clean-art-sun {
  position:absolute;top:13%;left:16%;width:23%;aspect-ratio:1;border-radius:50%;
  background:linear-gradient(140deg,#ffffff,var(--clean-soft-deep));box-shadow:0 0 55px rgba(31,49,72,.07);
}
body.onyx-style-clean .onyx-clean-art-arch {
  position:absolute;bottom:-23%;right:12%;width:58%;height:90%;
  border-radius:52% 52% 0 0 / 38% 38% 0 0;
  background:linear-gradient(120deg,var(--clean-primary) 0%,var(--clean-primary) 57%,var(--clean-secondary) 100%);
  transform:rotate(-17deg);box-shadow:24px 16px 35px rgba(44,79,155,.16);
}
body.onyx-style-clean .onyx-clean-art-arch::after {
  content:"";position:absolute;bottom:-6%;left:27%;height:75%;width:47%;
  border-radius:50% 50% 0 0 / 27% 27% 0 0;
  background:linear-gradient(130deg,var(--clean-canvas),var(--clean-soft-deep));
}
body.onyx-style-clean .onyx-clean-art-disc {
  position:absolute;right:-6%;top:4%;width:41%;aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle at 31% 22%,var(--clean-soft-deep),color-mix(in srgb,var(--clean-primary) 20%,var(--clean-secondary)) 72%);
  opacity:.9;mix-blend-mode:multiply;
}
body.onyx-style-clean .onyx-clean-art-floor {
  position:absolute;bottom:0;left:0;right:0;height:18%;
  background:linear-gradient(0deg,color-mix(in srgb,var(--clean-secondary) 12%,transparent),transparent);
}
body.onyx-style-clean .onyx-clean-editorial-bottom {
  display:flex;align-items:flex-end;justify-content:space-between;gap:12px;
  padding:20px 6px 7px;color:var(--clean-ink);
}
body.onyx-style-clean .onyx-clean-editorial-bottom strong {font-size:clamp(16px,2vw,23px);line-height:1.2;letter-spacing:-.04em;font-weight:730}
body.onyx-style-clean .onyx-clean-editorial-bottom span {font-size:10.5px;font-weight:600;color:var(--clean-muted);letter-spacing:.02em;text-align:right;white-space:nowrap}
body.onyx-style-clean .onyx-clean-float-card {
  position:absolute;left:-6%;top:54%;bottom:auto;z-index:2;
  display:flex;align-items:center;gap:12px;
  padding:16px 18px;background:#fff;border:1px solid var(--clean-line);border-radius:10px;
  box-shadow:0 12px 30px rgba(35,72,154,.12);
  transform:rotate(2deg);
}
body.onyx-style-clean .onyx-clean-float-dot {display:block;width:30px;height:30px;flex:none;border-radius:9px;background:var(--clean-accent);position:relative}
body.onyx-style-clean .onyx-clean-float-dot::after {content:"✓";color:#fff;position:absolute;inset:0;display:grid;place-items:center;font-size:18px;font-weight:750}
body.onyx-style-clean .onyx-clean-float-card>span:last-child {display:flex;flex-direction:column;gap:2px;color:var(--clean-muted);font-size:12px;line-height:1.35}
body.onyx-style-clean .onyx-clean-float-card strong {color:var(--clean-ink);font-size:13.5px;line-height:1.35}

/* Section structure, with consistent measured whitespace and clear hierarchy. */
body.onyx-style-clean .onyx-section {
  --section-fg:var(--clean-ink);
  --section-muted:var(--clean-muted);
  --section-line:var(--clean-line);
  color:var(--section-fg);
}
body.onyx-style-clean .onyx-section--paper {background:#fff}
body.onyx-style-clean .onyx-section--mist {background:var(--clean-canvas);--section-fg:var(--clean-canvas-ink);--section-muted:var(--clean-canvas-muted)}
body.onyx-style-clean .onyx-section--mist .onyx-section-heading h2 {color:var(--section-fg)}
body.onyx-style-clean .onyx-section--mist .onyx-eyebrow {color:var(--clean-canvas-link)}
/* Custom and gradient backgrounds carry their own computed foreground.
   Honor it rather than overwriting it with the default Clean ink tokens. */
body.onyx-style-clean .onyx-section--custom:not(.onyx-section--custom-text) {
  --section-fg:var(--onyx-section-auto-fg,#111827);
  --section-muted:var(--onyx-section-auto-fg,#111827);
  color:var(--section-fg);
}
body.onyx-style-clean .onyx-section--gradient:not(.onyx-section--custom-text) {
  --section-fg:var(--onyx-section-foreground,#ffffff);
  --section-muted:var(--onyx-section-foreground,#ffffff);
  color:var(--section-fg);
}
body.onyx-style-clean .onyx-section--surface-dark:not(.onyx-section--custom-text) .onyx-eyebrow {color:var(--section-fg)}
body.onyx-style-clean .onyx-section--ink {
  background:var(--clean-cta);
  --section-fg:#ffffff;
  --section-muted:#DDE3E8;
  --section-line:rgba(232,245,237,.22);
  color:var(--section-fg);
}
body.onyx-style-clean .onyx-section--pt-default:not(.onyx-section--layout-spacious) {padding-top:4.25rem}
body.onyx-style-clean .onyx-section--pb-default:not(.onyx-section--layout-spacious) {padding-bottom:4.25rem}
body.onyx-style-clean .onyx-section--width-default>.container {max-width:1152px}
body.onyx-style-clean .onyx-section--width-wide>.container-fluid {max-width:1260px}
body.onyx-style-clean .onyx-section-heading {max-width:47rem;margin-bottom:2rem}
body.onyx-style-clean .onyx-section-heading h2 {
  font-size:clamp(1.75rem,2.55vw,2.2rem);font-weight:700;
  line-height:1.26;letter-spacing:-.032em;
  margin:0 0 .8rem;color:inherit;text-wrap:balance;
}
body.onyx-style-clean .onyx-section-copy {font-size:1rem;line-height:1.76;color:var(--section-muted);max-width:42rem}
body.onyx-style-clean .onyx-eyebrow {font-size:12.5px;line-height:1.45;font-weight:750;letter-spacing:.105em;color:var(--clean-link);margin-bottom:.76rem}
body.onyx-style-clean .onyx-section--ink .onyx-eyebrow {color:#dce3ea}
body.onyx-style-clean .onyx-section--intro .onyx-intro-layout .onyx-section-heading {
  width:100%;max-width:100%;display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  grid-template-rows:auto auto;column-gap:clamp(32px,6vw,85px);row-gap:8px;
  align-items:start;
}
body.onyx-style-clean .onyx-section--intro .onyx-eyebrow {grid-column:1;grid-row:1;margin:0 0 5px}
body.onyx-style-clean .onyx-section--intro .onyx-section-heading h2 {grid-column:1;grid-row:2;margin:0}
body.onyx-style-clean .onyx-section--intro .onyx-section-copy {grid-column:2;grid-row:1/span 2;align-self:center;max-width:30rem;font-size:1.03rem}

/* Feature cards: soft, readable, aligned and restrained. */
body.onyx-style-clean .onyx-features {--bs-gutter-x:1.1rem;--bs-gutter-y:1.1rem}
body.onyx-style-clean .onyx-feature-card {
  padding:1.75rem 1.75rem 2.35rem;
  border-radius:13px;
  background:#fff;
  border:1px solid var(--clean-line);
  box-shadow:0 3px 13px rgba(34,65,127,.018);
  min-height:202px;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
body.onyx-style-clean .onyx-feature-card:hover {transform:translateY(-3px);border-color:var(--clean-line-hover);box-shadow:var(--clean-shadow)}
body.onyx-style-clean .onyx-feature-card h3 {font-size:1.12rem;line-height:1.33;font-weight:700;letter-spacing:-.02em;margin-bottom:.7rem;color:var(--clean-ink)}
body.onyx-style-clean .onyx-feature-card p {font-size:.945rem;line-height:1.72;color:var(--clean-muted);margin-right:.8rem}
body.onyx-style-clean .onyx-card-arrow {color:var(--clean-link);right:22px;bottom:18px;font-size:18px}
body.onyx-style-clean .onyx-split-media {border-radius:14px;border-color:var(--clean-line);background:var(--clean-canvas);box-shadow:var(--clean-shadow)}
body.onyx-style-clean .onyx-split-media img {border-radius:inherit}
body.onyx-style-clean .onyx-center-card {border-radius:12px;border-color:var(--clean-line);box-shadow:0 3px 12px rgba(34,65,127,.025)}
body.onyx-style-clean .onyx-stat {
  border-top:2px solid var(--clean-line);padding:1.25rem 1rem 1.05rem .2rem;
}
body.onyx-style-clean .onyx-stat strong {font-size:clamp(1.75rem,2.4vw,2.3rem);font-weight:720;color:var(--clean-link);letter-spacing:-.04em;margin-bottom:.62rem}
body.onyx-style-clean .onyx-stat span {font-size:.93rem;line-height:1.62;color:var(--clean-muted)}
/* Automatic dark sections use legible light text instead of the light-surface
   link and muted tokens. User-selected custom text colors remain authoritative. */
body.onyx-style-clean .onyx-section--ink .onyx-stat {border-top-color:rgba(255,255,255,.26)}
body.onyx-style-clean .onyx-section--ink:not(.onyx-section--custom-text) .onyx-stat strong {color:#fff}
body.onyx-style-clean .onyx-section--ink:not(.onyx-section--custom-text) .onyx-stat span {color:var(--section-muted,#DDE3E8)}
body.onyx-style-clean .onyx-section--surface-dark .onyx-stat {border-top-color:rgba(255,255,255,.26)}
body.onyx-style-clean .onyx-section--surface-dark:not(.onyx-section--custom-text) .onyx-stat strong {color:var(--section-fg,#fff)}
body.onyx-style-clean .onyx-section--surface-dark:not(.onyx-section--custom-text) .onyx-stat span {color:var(--section-muted,#fff)}
body.onyx-style-clean .onyx-statement {max-width:62rem;margin:0 auto;padding:1.15rem 0}
body.onyx-style-clean .onyx-statement .onyx-section-heading {max-width:60rem}
body.onyx-style-clean .onyx-statement h2 {font-size:clamp(1.8rem,2.8vw,2.7rem);letter-spacing:-.045em;line-height:1.3}
body.onyx-style-clean .onyx-statement .onyx-section-copy {margin-inline:auto}

/* Clean FAQ and tabs encourage interaction without visual noise. */
body.onyx-style-clean .onyx-section--faq>.container {
  display:grid;grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);
  gap:clamp(30px,6vw,90px);align-items:start;
}
body.onyx-style-clean .onyx-section--faq .onyx-section-heading {margin-bottom:0}
body.onyx-style-clean .onyx-faq {max-width:100%}
body.onyx-style-clean .onyx-faq .accordion-item {
  border:1px solid var(--clean-line);border-radius:10px;margin-bottom:11px;background:#fff;overflow:hidden;
}
body.onyx-style-clean .onyx-faq .accordion-button {
  padding:1.15rem 1.25rem;font-size:.975rem;font-weight:650;
  color:var(--clean-ink);background:#fff;box-shadow:none;
}
body.onyx-style-clean .onyx-faq .accordion-button:not(.collapsed){color:var(--clean-link);background:color-mix(in srgb,var(--clean-canvas) 55%,white)}
body.onyx-style-clean .onyx-faq .accordion-body{font-size:.94rem;line-height:1.75;color:var(--clean-muted);padding:.3rem 1.25rem 1.25rem}
body.onyx-style-clean .onyx-tabs .nav-link {color:var(--clean-link);border-color:var(--clean-line);font-size:.91rem;min-height:40px;border-radius:.6rem}
body.onyx-style-clean .onyx-tabs .nav-link.active,
body.onyx-style-clean .onyx-tabs .nav-link:hover {background:var(--clean-accent);color:var(--clean-on-accent);border-color:var(--clean-accent)}
body.onyx-style-clean .onyx-tab-panels {border:1px solid var(--clean-line);border-radius:12px;background:#fff;padding:1.5rem}
body.onyx-style-clean .onyx-testimonial {border-color:var(--clean-line);border-radius:12px;box-shadow:var(--clean-shadow)}
body.onyx-style-clean .onyx-testimonial blockquote {color:var(--clean-ink)}
body.onyx-style-clean .onyx-section--ink:not(.onyx-section--custom-text) .onyx-testimonial blockquote {color:var(--section-fg,#fff)}
/* Tabs on dark sections need two deliberate surfaces: light navigation labels
   on Ink; dark content typography inside the white tab panel. */
body.onyx-style-clean .onyx-section--ink:not(.onyx-section--custom-text) .onyx-tabs .nav-link:not(.active):not(:hover) {
  color:var(--section-muted,#DDE3E8);
  border-color:rgba(255,255,255,.28);
}
body.onyx-style-clean .onyx-section--ink:not(.onyx-section--custom-text) .onyx-tab-body,
body.onyx-style-clean .onyx-section--surface-dark:not(.onyx-section--custom-text) .onyx-tab-body {
  color:var(--clean-muted);
  border-color:var(--clean-line);
}
body.onyx-style-clean .onyx-section--surface-dark:not(.onyx-section--custom-text) .onyx-tabs .nav-link:not(.active):not(:hover) {
  color:var(--section-fg,#fff);
  border-color:rgba(255,255,255,.28);
}

/* Balanced call to action and an unobtrusive footer. */
body.onyx-style-clean .onyx-section--cta.onyx-section--ink {background:var(--clean-cta)}
body.onyx-style-clean .onyx-section--cta .onyx-cta {gap:26px}
body.onyx-style-clean .onyx-section--cta .onyx-cta .onyx-section-heading {max-width:42rem}
/* CTA contrast follows its surface; on a light section use a primary button,
   on dark sections use a light button. Explicit manual text remains user-owned. */
body.onyx-style-clean .onyx-section--cta.onyx-section--ink .onyx-section-heading h2,
body.onyx-style-clean .onyx-section--cta.onyx-section--surface-dark .onyx-section-heading h2 {color:#fff}
body.onyx-style-clean .onyx-section--cta.onyx-section--ink .onyx-section-copy {color:#DDE3E8}
body.onyx-style-clean .onyx-section--cta .onyx-button.btn {
  flex:none;min-height:45px;border-radius:8px;padding:.69rem 1.3rem;font-weight:700;font-size:.92rem;
  background:var(--clean-primary);color:var(--clean-on-accent);border-color:var(--clean-primary);
}
body.onyx-style-clean .onyx-section--cta:is(.onyx-section--ink,.onyx-section--surface-dark) .onyx-button.btn {
  background:#fff;color:var(--clean-cta);border-color:#fff;
}
body.onyx-style-clean .onyx-section--cta .onyx-button.btn:hover {filter:brightness(.94);transform:translateY(-2px)}
body.onyx-style-clean .onyx-section--cta:is(.onyx-section--ink,.onyx-section--surface-dark) .onyx-button.btn:hover {background:var(--clean-soft);filter:none}
body.onyx-style-clean .onyx-site-footer {
  background:color-mix(in srgb,var(--clean-canvas) 55%,white);border-top:1px solid var(--clean-line);
  color:var(--clean-muted);padding:2.25rem 0;
}
body.onyx-style-clean .onyx-footer-inner {max-width:1152px}
body.onyx-style-clean .onyx-footer-logo,
body.onyx-style-clean .onyx-footer-inner p,
body.onyx-style-clean .onyx-footer-right a {color:var(--clean-ink)}
body.onyx-style-clean .onyx-footer-logo span {color:var(--clean-accent)}
body.onyx-style-clean .onyx-footer-right {color:var(--clean-muted)}

/* All original sections remain responsive; never trade legibility for compactness. */
@media(max-width:1080px) {
 body.onyx-style-clean .onyx-hero-content {grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:20px;min-height:0;padding:clamp(4.5rem,7svh,6rem) 24px 2rem}
 body.onyx-style-clean .onyx-hero-copy h1 {font-size:clamp(2.25rem,4.5vw,3.1rem)}
 body.onyx-style-clean .onyx-clean-float-card{left:-1%}
}
@media(max-width:767.98px) {
 body.onyx-style-clean .onyx-navbar .navbar-collapse {background:#fff;border:1px solid var(--clean-line);border-radius:10px;padding:10px 13px;box-shadow:0 15px 30px rgba(35,62,126,.08)}
 body.onyx-style-clean .onyx-hero.onyx-hero--tall {height:min(72svh,34rem);min-height:25rem}
 body.onyx-style-clean .onyx-hero.onyx-hero--medium {height:min(60svh,30rem);min-height:23rem}
 body.onyx-style-clean .onyx-hero.onyx-hero--short {height:min(50svh,26rem);min-height:20rem}
 body.onyx-style-clean .onyx-hero-content {display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:clamp(4.75rem,10svh,6rem) 22px 2rem;gap:24px}
 body.onyx-style-clean .onyx-hero-copy {max-width:100%}
 body.onyx-style-clean .onyx-hero-copy h1 {font-size:clamp(2.2rem,7.8vw,3.1rem)}
 body.onyx-style-clean .onyx-hero-description {font-size:1rem;line-height:1.72}
 body.onyx-style-clean .onyx-clean-visual {max-width:410px;aspect-ratio:1.1}
 body.onyx-style-clean .onyx-clean-float-card {left:0;top:52%;bottom:auto;padding:12px 14px}
 body.onyx-style-clean .onyx-clean-art-scene {height:265px}
 body.onyx-style-clean .onyx-section--intro .onyx-intro-layout .onyx-section-heading {display:flex;flex-direction:column;align-items:flex-start;gap:9px}
 body.onyx-style-clean .onyx-section--intro .onyx-section-copy {max-width:100%;margin-top:4px}
 body.onyx-style-clean .onyx-section--faq>.container {display:block}
 body.onyx-style-clean .onyx-section--faq .onyx-section-heading {margin-bottom:1.6rem}
 body.onyx-style-clean .onyx-section--cta .onyx-cta {flex-direction:column;align-items:flex-start;gap:18px}
 body.onyx-style-clean .onyx-section--pt-default:not(.onyx-section--layout-spacious) {padding-top:3.3rem}
 body.onyx-style-clean .onyx-section--pb-default:not(.onyx-section--layout-spacious) {padding-bottom:3.3rem}
}
@media(max-width:575.98px) {
 body.onyx-style-clean .onyx-hero-content {padding:clamp(4.75rem,9svh,5.5rem) 20px 1.5rem;gap:18px}
 body.onyx-style-clean .onyx-hero-copy h1 {font-size:clamp(2.05rem,8vw,2.65rem);line-height:1.2}
 body.onyx-style-clean .onyx-hero-copy .onyx-eyebrow {margin-bottom:18px;font-size:12.5px}
 body.onyx-style-clean .onyx-hero .onyx-button.btn {margin-top:24px;width:100%;justify-content:center}
 body.onyx-style-clean .onyx-clean-visual {max-width:340px;aspect-ratio:1.05}
 body.onyx-style-clean .onyx-clean-art-scene {height:205px}
 body.onyx-style-clean .onyx-clean-editorial-top{font-size:10.5px}
 body.onyx-style-clean .onyx-clean-editorial-bottom {padding:13px 4px 3px}
 body.onyx-style-clean .onyx-clean-editorial-bottom strong {font-size:16px}
 body.onyx-style-clean .onyx-clean-editorial-bottom span {font-size:10.5px}
 body.onyx-style-clean .onyx-clean-float-card {top:52%;bottom:auto;padding:10px 12px}
 body.onyx-style-clean .onyx-clean-float-card strong {font-size:13.5px}
 body.onyx-style-clean .onyx-feature-card {padding:1.45rem 1.45rem 2.1rem;min-height:0}
 body.onyx-style-clean .onyx-section-heading h2 {font-size:1.8rem}
 body.onyx-style-clean .onyx-section--pt-default:not(.onyx-section--layout-spacious) {padding-top:3rem}
 body.onyx-style-clean .onyx-section--pb-default:not(.onyx-section--layout-spacious) {padding-bottom:3rem}
 body.onyx-style-clean .onyx-site-footer {padding:2rem 0}
}
@media(prefers-reduced-motion:reduce){
 body.onyx-style-clean .onyx-feature-card,
 body.onyx-style-clean .onyx-hero .onyx-button.btn{transition:none;transform:none}
}

/* Keep original contrast-aware Hero behavior when another background is chosen. */
body.onyx-style-clean .onyx-hero--background-image .onyx-hero-copy,
body.onyx-style-clean .onyx-hero--background-gradient .onyx-hero-copy,
body.onyx-style-clean .onyx-hero--background-slider .onyx-hero-copy {
 color:var(--onyx-hero-auto-foreground,#ffffff);
}
body.onyx-style-clean .onyx-hero--background-image .onyx-hero-copy h1,
body.onyx-style-clean .onyx-hero--background-gradient .onyx-hero-copy h1,
body.onyx-style-clean .onyx-hero--background-slider .onyx-hero-copy h1 {
 color:var(--onyx-hero-auto-foreground,#ffffff);
}
body.onyx-style-clean .onyx-hero--background-image .onyx-hero-description,
body.onyx-style-clean .onyx-hero--background-gradient .onyx-hero-description,
body.onyx-style-clean .onyx-hero--background-slider .onyx-hero-description {
 color:var(--onyx-hero-auto-foreground,#ffffff)!important;
}
body.onyx-style-clean .onyx-hero.onyx-hero--custom-text-color .onyx-hero-copy,
body.onyx-style-clean .onyx-hero.onyx-hero--custom-text-color .onyx-hero-copy h1,
body.onyx-style-clean .onyx-hero.onyx-hero--custom-text-color .onyx-hero-copy .onyx-eyebrow {
 color:var(--onyx-hero-text-color);
}
body.onyx-style-clean .onyx-hero.onyx-hero--custom-text-color .onyx-hero-description {
 color:var(--onyx-hero-text-color)!important;
}
/* Carousel fits its parent: Full screen, Medium and Compact retain their own sizing. */
body.onyx-style-clean .onyx-hero:has(.onyx-carousel--hero) {overflow:hidden}

/* ONYX Clean: a solid Hero and navigation use the same visible surface.
   If Hero canvas is enabled, the palette canvas wins. If it is disabled,
   the separately chosen solid Hero color wins. Ink always follows contrast.
   Other page types, image Heroes and legacy ONYX styles are unaffected. */
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-site-header,
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-site-header.is-scrolled {
  background:var(--clean-visible-hero-bg);
  border-bottom:1px solid color-mix(in srgb,var(--clean-visible-hero-ink) 16%,transparent);
  box-shadow:0 1px 12px color-mix(in srgb,var(--clean-visible-hero-ink) 5%,transparent);
}
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-site-header .onyx-brand,
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-site-header .onyx-brand:hover,
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-site-header.is-scrolled .onyx-brand,
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-navbar .nav-link,
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-site-header.is-scrolled .onyx-navbar .nav-link {
  color:var(--clean-visible-hero-ink);
}
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-navbar .nav-link:hover,
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-site-header.is-scrolled .onyx-navbar .nav-link:hover,
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-navbar .current-menu-item>.nav-link {
  color:var(--clean-visible-hero-ink);
  text-decoration:none;text-underline-offset:4px;
}
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-menu-toggle {
  border-color:color-mix(in srgb,var(--clean-visible-hero-ink) 30%,transparent);
}
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-menu-toggle span,
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-site-header.is-scrolled .onyx-menu-toggle span {
  background:var(--clean-visible-hero-ink);
}
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-navbar .dropdown-menu {
  background:var(--clean-visible-hero-bg);
  border-color:color-mix(in srgb,var(--clean-visible-hero-ink) 24%,transparent);
}
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-navbar .dropdown-item {
  color:var(--clean-visible-hero-ink);
}
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-navbar .dropdown-item:hover {
  background:color-mix(in srgb,var(--clean-visible-hero-ink) 12%,var(--clean-visible-hero-bg));
  color:var(--clean-visible-hero-ink);
}
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-hero--background-solid:not(.onyx-hero--custom-text-color) .onyx-hero-copy,
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-hero--background-solid:not(.onyx-hero--custom-text-color) .onyx-hero-copy h1,
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-hero--background-solid:not(.onyx-hero--custom-text-color) .onyx-hero-description,
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-hero--background-solid:not(.onyx-hero--custom-text-color) .onyx-hero-description p {
  color:var(--clean-visible-hero-ink)!important;
}
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-hero--background-solid:not(.onyx-hero--custom-text-color) .onyx-hero-copy .onyx-eyebrow {
  color:var(--clean-visible-hero-ink);
  background:color-mix(in srgb,var(--clean-visible-hero-ink) 9%,transparent);
  border-color:color-mix(in srgb,var(--clean-visible-hero-ink) 25%,transparent);
}
@media(max-width:991.98px){
  body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-navbar .navbar-collapse {
    background:var(--clean-visible-hero-bg);
    border-color:color-mix(in srgb,var(--clean-visible-hero-ink) 20%,transparent);
  }
  body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-navbar .navbar-collapse .nav-link {
    color:var(--clean-visible-hero-ink);
  }
}
/* Outrank legacy transparent-Hero navigation contrast when a Clean header has
   its own matching background. Prevent white-on-white / dark-on-dark links. */
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-site-header:not(.is-scrolled) .onyx-navbar .nav-link,
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-site-header:not(.is-scrolled) .onyx-navbar .navbar-collapse .nav-link,
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-site-header.is-scrolled .onyx-navbar .navbar-collapse .nav-link {
  color:var(--clean-visible-hero-ink);
}
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-site-header:not(.is-scrolled) .onyx-navbar .nav-link:hover,
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-site-header:not(.is-scrolled) .onyx-navbar .current-menu-item>.nav-link {
  color:var(--clean-visible-hero-ink);
  text-decoration:none;text-underline-offset:4px;
}
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-site-header:not(.is-scrolled) .onyx-menu-toggle span,
body.onyx-style-clean.onyx-clean-header-follows-hero .onyx-site-header.is-scrolled .onyx-menu-toggle span {
  background:var(--clean-visible-hero-ink);
}

/* Compact Hero image/art must fit the chosen size without changing its height. */
body.onyx-style-clean .onyx-hero--short .onyx-hero-art img {max-height:clamp(12rem,30svh,19rem)}
body.onyx-style-clean .onyx-hero--medium .onyx-hero-art img {max-height:clamp(15rem,43svh,27rem)}
body.onyx-style-clean .onyx-hero--short .onyx-clean-visual {transform:scale(.78);transform-origin:center}
@media(max-width:767.98px){
 body.onyx-style-clean .onyx-hero--short .onyx-hero-copy h1{font-size:clamp(1.65rem,6.5vw,2.2rem)}
 body.onyx-style-clean .onyx-hero--short .onyx-hero-description{font-size:.93rem;line-height:1.55}
 body.onyx-style-clean .onyx-hero--short .onyx-button.btn{margin-top:14px;min-height:41px}
 body.onyx-style-clean .onyx-hero--short .onyx-hero-content{gap:12px}
}

/* Preserve the foreground paired with the actual button surface on interaction. */
body.onyx-style-clean .onyx-hero .onyx-button.btn:is(:hover,:focus-visible,:active),
body.onyx-style-clean .onyx-section--cta .onyx-button.btn:is(:hover,:focus-visible,:active){
 color:var(--clean-on-accent);
}
body.onyx-style-clean .onyx-section--cta:is(.onyx-section--ink,.onyx-section--surface-dark) .onyx-button.btn:is(:hover,:focus-visible,:active){
 color:var(--clean-cta);
}
