/* ==========================================================================
   YBD Global — Homepage & Brand Chrome Style Refresh (2026-11-30)
   Direction: Clean, bright, trustworthy B2B consumer-electronics cable OEM
   Scope:
     1. Global Header / Announcement / Footer color polish (removes neon lime & orange)
     2. Homepage-only layout, spacing, surface & card redesign scoped via
        body:has(.intent-bar--home) so inner pages remain unaffected.
   ========================================================================== */

:root {
  --ybd-ink: #14191f;
  --ybd-ink-muted: #525b66;
  --ybd-ink-subtle: #6b7480;
  --ybd-bg: #f6f8fa;
  --ybd-surface: #ffffff;
  --ybd-surface-soft: #f2f5f8;
  --ybd-dark: #141a20;
  --ybd-dark-soft: #1c242c;
  --ybd-brand: #178a47;
  --ybd-brand-hover: #12713a;
  --ybd-brand-light: #6ee7b7;
  --ybd-brand-soft: #eaf6ef;
  --ybd-brand-border: #b7dfc7;
  --ybd-border: #e3e8ef;
  --ybd-border-strong: #cdd5df;
  --ybd-radius: 12px;
  --ybd-radius-sm: 8px;
  --ybd-shell: 1560px;
  --ybd-gutter: 64px;
  --ybd-shadow-sm: 0 2px 10px rgba(20, 26, 32, 0.04);
  --ybd-shadow-md: 0 10px 28px rgba(20, 26, 32, 0.07);
}

/* --------------------------------------------------------------------------
   1. Global Header, Announcement Bar & Footer Brand Polish
   -------------------------------------------------------------------------- */
.site-header {
  background: rgba(20, 26, 32, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
}

.announcement {
  min-height: 32px;
  background: #0e1318;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  gap: 28px;
}

.announcement span {
  position: relative;
}

.announcement span + span::before {
  content: "·";
  position: absolute;
  left: -16px;
  color: rgba(255, 255, 255, 0.34);
}

.site-header__inner {
  min-height: 74px;
}

body:has(.intent-bar--home) .site-header__inner,
body:has(.intent-bar--home) .footer-inner,
body:has(.intent-bar--home) .footer-bottom {
  width: min(var(--ybd-shell), calc(100% - var(--ybd-gutter)));
  max-width: var(--ybd-shell);
}

.nav-link {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 8px;
  transition: color 160ms ease, background 160ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.header-cta {
  background: var(--ybd-brand);
  color: #ffffff;
  border: 1px solid transparent;
  border-radius: var(--ybd-radius-sm);
  font-weight: 650;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(23, 138, 71, 0.24);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--ybd-brand-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(23, 138, 71, 0.3);
}

.submenu {
  background: #182028;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.submenu a {
  color: rgba(255, 255, 255, 0.84);
  border-radius: 6px;
}

.submenu a:hover,
.submenu a[aria-current="page"] {
  background: rgba(23, 138, 71, 0.2);
  color: #ffffff;
}

.mobile-nav {
  background: #141a20;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav a[aria-current="page"] {
  color: var(--ybd-brand-light);
}

.site-footer {
  background: var(--ybd-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-ridge {
  background: linear-gradient(90deg, transparent, rgba(23, 138, 71, 0.45), transparent);
  height: 2px;
}

.site-footer h2 {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.site-footer a:hover {
  color: var(--ybd-brand-light);
}

.whatsapp-float {
  background: var(--ybd-brand);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(20, 26, 32, 0.22);
}

@media (min-width: 1400px) {
  body:has(.intent-bar--home) .whatsapp-float {
    top: auto !important;
    bottom: 24px !important;
    right: 24px !important;
  }
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: var(--ybd-brand-hover);
  border-color: var(--ybd-brand-hover);
}

.whatsapp-float:focus-visible {
  outline-color: var(--ybd-brand-light);
}

/* --------------------------------------------------------------------------
   2. Homepage Base Canvas & Shared Buttons
   -------------------------------------------------------------------------- */
body:has(.intent-bar--home) {
  background: var(--ybd-bg);
  color: var(--ybd-ink);
}

body:has(.intent-bar--home) main {
  background: var(--ybd-bg);
}

body:has(.intent-bar--home) .button-primary {
  background: var(--ybd-brand);
  color: #ffffff;
  border: 1px solid transparent;
  border-radius: var(--ybd-radius-sm);
  font-weight: 650;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 10px rgba(23, 138, 71, 0.22);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

body:has(.intent-bar--home) .button-primary:hover,
body:has(.intent-bar--home) .button-primary:focus-visible {
  background: var(--ybd-brand-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(23, 138, 71, 0.28);
}

body:has(.intent-bar--home) .section-label {
  color: var(--ybd-brand);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   3. Homepage Hero + 6-Step Buying Process Panel
   -------------------------------------------------------------------------- */
body:has(.intent-bar--home) main > .page-hero:first-child {
  min-height: 540px;
  padding-top: 56px;
  padding-bottom: 84px;
  padding-inline: max(32px, calc((100% - var(--ybd-shell)) / 2));
  background:
    linear-gradient(96deg, rgba(12, 17, 22, 0.92) 0%, rgba(12, 17, 22, 0.78) 40%, rgba(12, 17, 22, 0.16) 68%, rgba(12, 17, 22, 0.24) 100%),
    linear-gradient(180deg, rgba(12, 17, 22, 0.18) 0%, rgba(12, 17, 22, 0.04) 45%, rgba(12, 17, 22, 0.42) 100%),
    url('/images/editorial/connectivity-range-hero.webp') center right / cover no-repeat !important;
  background-color: var(--ybd-dark);
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 340px);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

body:has(.intent-bar--home) .page-hero::after {
  display: none;
}

body:has(.intent-bar--home) .page-hero__content {
  max-width: 820px;
}

body:has(.intent-bar--home) .page-hero__content::before {
  min-height: 28px;
  padding: 0 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(110, 231, 183, 0.32);
  background: rgba(23, 138, 71, 0.18);
  color: var(--ybd-brand-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

body:has(.intent-bar--home) .page-hero__content .eyebrow {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

body:has(.intent-bar--home) main > .page-hero:first-child .page-hero__content h1 {
  max-width: 19ch;
  font-size: clamp(2.45rem, 3.6vw, 3.55rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

body:has(.intent-bar--home) .page-hero__content p:not(.eyebrow) {
  max-width: 58ch;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.65;
  font-weight: 450;
}

body:has(.intent-bar--home) .hero-actions {
  margin-top: 28px;
  gap: 12px;
}

body:has(.intent-bar--home) .hero-actions .button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--ybd-radius-sm);
  font-weight: 600;
  box-shadow: none;
  backdrop-filter: blur(8px);
}

body:has(.intent-bar--home) .hero-actions .button-secondary:hover,
body:has(.intent-bar--home) .hero-actions .button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.48);
  color: #ffffff;
}

body:has(.intent-bar--home) .page-hero__panel {
  padding: 24px 24px 22px;
  border-radius: var(--ybd-radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ybd-ink);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
}

body:has(.intent-bar--home) .page-hero__panel .panel-kicker {
  color: var(--ybd-brand);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  margin-bottom: 6px;
}

body:has(.intent-bar--home) .page-hero__panel h2 {
  color: var(--ybd-ink);
  font-size: 1.42rem;
  font-weight: 780;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ybd-border);
}

body:has(.intent-bar--home) .page-hero__panel ul {
  display: grid;
  gap: 11px;
  counter-reset: hero-step;
}

body:has(.intent-bar--home) .page-hero__panel li {
  counter-increment: hero-step;
  padding-left: 32px;
  color: #36404a;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
}

body:has(.intent-bar--home) .page-hero__panel li::before {
  content: "0" counter(hero-step);
  top: 0.05em;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--ybd-brand-soft);
  color: var(--ybd-brand);
  font-size: 0.68rem;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

/* --------------------------------------------------------------------------
   4. Intent Bar (Unified 3-Column Summary Strip)
   -------------------------------------------------------------------------- */
section.intent-bar.intent-bar--home {
  width: min(var(--ybd-shell), calc(100% - var(--ybd-gutter)));
  margin: -36px auto 56px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  background: var(--ybd-surface);
  border: 1px solid var(--ybd-border);
  border-radius: var(--ybd-radius);
  box-shadow: 0 8px 24px rgba(20, 26, 32, 0.06);
  overflow: hidden;
}

section.intent-bar.intent-bar--home .intent-bar__item {
  min-height: auto;
  padding: 20px 26px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

section.intent-bar.intent-bar--home .intent-bar__item + .intent-bar__item {
  border-left: 1px solid var(--ybd-border);
}

section.intent-bar.intent-bar--home .intent-bar__item span {
  color: var(--ybd-brand);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

section.intent-bar.intent-bar--home .intent-bar__item strong {
  color: var(--ybd-ink);
  font-size: 0.96rem;
  font-weight: 680;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   5. Five Product Families — Clean Studio Product Stage + White Text Base
   -------------------------------------------------------------------------- */
.category-directory--home.category-directory--visual {
  width: min(var(--ybd-shell), calc(100% - var(--ybd-gutter)));
  margin: 0 auto 60px;
  padding: 0;
}

.category-directory--home.category-directory--visual .category-directory__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: end;
  gap: 32px;
  margin-bottom: 28px;
}

.category-directory--home.category-directory--visual .category-directory__header .section-label {
  color: var(--ybd-brand);
  margin: 0 0 8px;
}

.category-directory--home.category-directory--visual .category-directory__header h2 {
  max-width: 18ch;
  margin: 0;
  color: var(--ybd-ink);
  font-size: clamp(1.85rem, 2.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.category-directory--home.category-directory--visual .category-directory__header > p {
  margin: 0;
  color: var(--ybd-ink-muted);
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 40ch;
  justify-self: end;
}

.category-directory--home .home-family-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}

.category-directory--home .home-family-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--ybd-radius);
  background: var(--ybd-surface);
  color: var(--ybd-ink);
  border: 1px solid var(--ybd-border);
  box-shadow: var(--ybd-shadow-sm);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-directory--home .home-family-card:hover,
.category-directory--home .home-family-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--ybd-brand);
  box-shadow: var(--ybd-shadow-md);
}

.category-directory--home .home-family-card--wide {
  grid-row: 1 / 3;
}

.category-directory--home .home-family-card__shade {
  display: none;
}

.category-directory--home .home-family-card__number {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--ybd-border);
  color: var(--ybd-ink-muted);
  font-size: 0.7rem;
  font-weight: 750;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  backdrop-filter: blur(6px);
}

.category-directory--home .home-family-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #ffffff;
  transition: transform 400ms ease;
}

/* Studio-cutout products (USB-C cable, DisplayPort connectors, USB-C charger): show full product without clipping */
.category-directory--home .home-family-card--wide img {
  flex: 1 1 auto;
  height: auto;
  min-height: 360px;
  object-fit: contain;
  background: #ffffff;
  padding: 22px;
  box-sizing: border-box;
}

.category-directory--home .home-family-card:nth-child(3) img {
  object-fit: contain;
  background: #ffffff;
  padding: 10px 16px 0;
  box-sizing: border-box;
}

.category-directory--home .home-family-card:nth-child(4) img {
  object-fit: contain;
  background: #ffffff;
  padding: 6px;
  box-sizing: border-box;
}

.category-directory--home .home-family-card:hover img {
  transform: scale(1.03);
}

.category-directory--home .home-family-card > div {
  position: static;
  inset: auto;
  z-index: 2;
  padding: 18px 20px 20px;
  background: var(--ybd-surface);
  border-top: 1px solid #eef2f6;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-directory--home .home-family-card--wide > div {
  padding: 22px 24px 24px;
}

.category-directory--home .home-family-card > div p {
  margin: 0;
  color: var(--ybd-brand);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-directory--home .home-family-card h3 {
  max-width: none;
  margin: 0;
  color: var(--ybd-ink);
  font-size: 1.2rem;
  font-weight: 760;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.category-directory--home .home-family-card--wide h3 {
  font-size: 1.5rem;
}

.category-directory--home .home-family-card > div > span {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding-top: 0;
  border-top: 0;
  color: var(--ybd-brand);
  font-size: 0.84rem;
  font-weight: 650;
}

.category-directory--home .home-family-card:hover > div > span {
  color: var(--ybd-brand-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   6. Procurement Configurator (Decision Engine) — Clean Two-Column Tool
   -------------------------------------------------------------------------- */
body:has(.intent-bar--home) .decision-engine {
  width: min(var(--ybd-shell), calc(100% - var(--ybd-gutter)));
  margin: 0 auto 60px;
  z-index: 2;
}

body:has(.intent-bar--home) .decision-engine__shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ybd-surface);
  border: 1px solid var(--ybd-border);
  box-shadow: var(--ybd-shadow-md);
}

body:has(.intent-bar--home) .decision-engine__intro {
  min-height: 440px;
  padding: 36px 36px;
  border-radius: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 10%, rgba(23, 138, 71, 0.22), transparent 52%),
    linear-gradient(160deg, #1a232b 0%, #11171d 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

body:has(.intent-bar--home) .decision-engine__intro .section-label {
  color: var(--ybd-brand-light);
  margin: 0 0 12px;
}

body:has(.intent-bar--home) .decision-engine__intro h2 {
  max-width: 14ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

body:has(.intent-bar--home) .decision-engine__intro > div > p:not(.section-label) {
  max-width: 34ch;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.96rem;
  font-weight: 450;
  line-height: 1.65;
}

body:has(.intent-bar--home) .decision-engine__promise {
  max-width: none;
  padding: 20px 22px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: none;
  gap: 6px;
}

body:has(.intent-bar--home) .decision-engine__promise span {
  color: var(--ybd-brand-light);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.09em;
}

body:has(.intent-bar--home) .decision-engine__promise strong {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.38;
}

body:has(.intent-bar--home) .decision-engine__app {
  min-height: 440px;
  padding: 32px 38px;
  border-radius: 0;
  background: var(--ybd-surface);
}

body:has(.intent-bar--home) .decision-engine__progress {
  gap: 10px;
  margin-bottom: 26px;
}

body:has(.intent-bar--home) .decision-engine__dot {
  min-height: 36px;
  border-radius: 8px;
  background: var(--ybd-surface-soft);
  border: 1px solid var(--ybd-border);
  color: var(--ybd-ink-subtle);
  font-size: 0.82rem;
  font-weight: 700;
}

body:has(.intent-bar--home) .decision-engine__dot.is-active {
  background: var(--ybd-ink);
  border-color: var(--ybd-ink);
  color: #ffffff;
}

body:has(.intent-bar--home) .decision-engine__dot.is-complete {
  background: var(--ybd-brand-soft);
  border-color: var(--ybd-brand-border);
  color: var(--ybd-brand);
}

body:has(.intent-bar--home) .decision-step legend {
  color: var(--ybd-ink);
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  font-weight: 780;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body:has(.intent-bar--home) .decision-step legend span {
  color: var(--ybd-brand);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

body:has(.intent-bar--home) .decision-step.needs-answer legend::after {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  font-weight: 700;
}

body:has(.intent-bar--home) .decision-options {
  gap: 12px;
  margin-top: 20px;
}

body:has(.intent-bar--home) .decision-option {
  min-height: 82px;
}

/* Eliminate orphan half-width slot when a step has 5 options */
body:has(.intent-bar--home) .decision-option:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

body:has(.intent-bar--home) .decision-option > span {
  padding: 16px 18px;
  gap: 6px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--ybd-border);
  color: var(--ybd-ink);
}

body:has(.intent-bar--home) .decision-option:hover > span {
  transform: translateY(-1px);
  background: #ffffff;
  border-color: var(--ybd-brand-border);
  box-shadow: 0 6px 16px rgba(20, 26, 32, 0.06);
}

body:has(.intent-bar--home) .decision-option input:focus-visible + span {
  outline: 2px solid var(--ybd-brand);
  outline-offset: 2px;
}

body:has(.intent-bar--home) .decision-option input:checked + span {
  background: var(--ybd-brand-soft);
  border-color: var(--ybd-brand);
  box-shadow: inset 0 0 0 1px var(--ybd-brand);
}

body:has(.intent-bar--home) .decision-option strong {
  font-size: 0.98rem;
  font-weight: 720;
  line-height: 1.25;
  color: var(--ybd-ink);
}

body:has(.intent-bar--home) .decision-option small {
  color: var(--ybd-ink-muted);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.45;
}

body:has(.intent-bar--home) .decision-engine__controls {
  padding-top: 24px;
  border-top: 1px solid #eef2f6;
  margin-top: 24px;
}

body:has(.intent-bar--home) .decision-engine .button-secondary {
  background: #ffffff;
  border: 1px solid var(--ybd-border-strong);
  border-radius: var(--ybd-radius-sm);
  color: var(--ybd-ink);
  font-weight: 600;
}

body:has(.intent-bar--home) .decision-engine .button-secondary:hover:not(:disabled) {
  background: var(--ybd-surface-soft);
  border-color: #9aa5b4;
}

/* --------------------------------------------------------------------------
   7. Home Editorial Body Wrapper & Buying Path Brief
   -------------------------------------------------------------------------- */
body:has(.intent-bar--home) .content-body.home-content {
  width: min(var(--ybd-shell), calc(100% - var(--ybd-gutter)));
  max-width: var(--ybd-shell);
  margin: 0 auto 64px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
  background: transparent;
  color: var(--ybd-ink);
  box-shadow: none;
  border: 0;
}

body:has(.intent-bar--home) .home-visual-brief {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  background: var(--ybd-surface);
  border: 1px solid var(--ybd-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--ybd-shadow-sm);
}

body:has(.intent-bar--home) .home-visual-brief figure {
  margin: 0;
  height: 100%;
  min-height: 440px;
  max-height: 520px;
  position: relative;
}

body:has(.intent-bar--home) .home-visual-brief figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body:has(.intent-bar--home) .home-visual-brief figure::after {
  background: linear-gradient(180deg, rgba(16, 22, 28, 0) 56%, rgba(16, 22, 28, 0.74) 100%);
}

body:has(.intent-bar--home) .home-visual-brief figcaption {
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

body:has(.intent-bar--home) .home-visual-brief__copy {
  padding: clamp(32px, 4.5vw, 56px);
  gap: 20px;
}

body:has(.intent-bar--home) .home-visual-brief h2 {
  max-width: 16ch;
  color: var(--ybd-ink);
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

body:has(.intent-bar--home) .home-visual-brief p:not(.section-label) {
  color: var(--ybd-ink-muted);
  font-size: 0.96rem;
  line-height: 1.68;
}

body:has(.intent-bar--home) .home-step-strip {
  gap: 12px;
  margin-top: 8px;
}

body:has(.intent-bar--home) .home-step-strip a {
  min-height: 132px;
  padding: 18px;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid var(--ybd-border);
  border-radius: 10px;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

body:has(.intent-bar--home) .home-step-strip a:hover,
body:has(.intent-bar--home) .home-step-strip a:focus-visible {
  background: var(--ybd-surface);
  border-color: var(--ybd-brand);
  transform: translateY(-2px);
}

body:has(.intent-bar--home) .home-step-strip span {
  color: var(--ybd-brand);
  font-size: 0.72rem;
  font-weight: 750;
}

body:has(.intent-bar--home) .home-step-strip strong {
  color: var(--ybd-ink);
  font-size: 0.96rem;
  font-weight: 750;
}

body:has(.intent-bar--home) .home-step-strip small {
  color: var(--ybd-ink-muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   8. Buying Situations — Clean 3-Column Image-Top / White-Text-Below Cards
   -------------------------------------------------------------------------- */
body:has(.intent-bar--home) .home-buying-board {
  gap: 28px;
}

body:has(.intent-bar--home) .home-buying-board__intro {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 32px;
  align-items: end;
}

body:has(.intent-bar--home) .home-buying-board__intro .section-label {
  color: var(--ybd-brand);
}

body:has(.intent-bar--home) .home-buying-board__intro h2 {
  max-width: 18ch;
  margin-top: 8px;
  color: var(--ybd-ink);
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

body:has(.intent-bar--home) .home-buying-board__intro > p {
  color: var(--ybd-ink-muted);
  font-size: 0.96rem;
  line-height: 1.65;
  justify-self: end;
}

body:has(.intent-bar--home) .home-buying-board__cards {
  gap: 20px;
}

body:has(.intent-bar--home) .home-buying-board article {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: auto;
  overflow: hidden;
  border-radius: var(--ybd-radius);
  background: var(--ybd-surface);
  border: 1px solid var(--ybd-border);
  box-shadow: var(--ybd-shadow-sm);
}

body:has(.intent-bar--home) .home-buying-board article::after {
  display: none;
}

body:has(.intent-bar--home) .home-buying-board article img {
  display: block;
  width: 100%;
  height: 248px;
  object-fit: cover;
  background: var(--ybd-surface-soft);
}

/* Keep the OEM/ODM diagram card clean and unclipped */
body:has(.intent-bar--home) .home-buying-board article:nth-child(2) img {
  object-fit: contain;
  background: #f5f7fa;
  padding: 6px;
  box-sizing: border-box;
}

body:has(.intent-bar--home) .home-buying-board article span {
  position: static;
  display: inline-block;
  padding: 20px 22px 6px;
  color: var(--ybd-brand);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid #eef2f6;
}

body:has(.intent-bar--home) .home-buying-board article strong {
  position: static;
  display: block;
  padding: 0 22px 24px;
  color: var(--ybd-ink);
  font-size: 1.04rem;
  font-weight: 720;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   9. Quote-Ready Handoff Band (Bottom Dark CTA Card)
   -------------------------------------------------------------------------- */
body:has(.intent-bar--home) .home-visual-brief,
body:has(.intent-bar--home) .home-buying-board,
body:has(.intent-bar--home) .home-rfq-handoff {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

body:has(.intent-bar--home) .home-rfq-handoff {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  background: var(--ybd-dark);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 36px rgba(20, 26, 32, 0.12);
  overflow: hidden;
}

body:has(.intent-bar--home) .home-rfq-handoff > div:first-child {
  padding: clamp(36px, 5vw, 60px);
  gap: 20px;
}

body:has(.intent-bar--home) .home-rfq-handoff .section-label {
  color: var(--ybd-brand-light);
}

body:has(.intent-bar--home) .home-rfq-handoff > div:first-child h2 {
  max-width: 18ch;
  color: #ffffff;
  font-size: clamp(1.8rem, 2.5vw, 2.45rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

body:has(.intent-bar--home) .home-rfq-handoff p:not(.section-label) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  line-height: 1.68;
}

body:has(.intent-bar--home) .home-rfq-handoff .button-primary {
  align-self: flex-start;
  min-width: 180px;
  margin-top: 8px;
}

body:has(.intent-bar--home) .home-rfq-handoff .home-evidence-list {
  padding: clamp(32px, 4.5vw, 52px);
  gap: 14px;
  background: rgba(255, 255, 255, 0.025);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

body:has(.intent-bar--home) .home-rfq-handoff .home-evidence-list article {
  min-height: auto;
  padding: 20px 22px;
  gap: 18px;
  grid-template-columns: 44px minmax(0, 1fr);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

body:has(.intent-bar--home) .home-rfq-handoff .home-evidence-list span {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(110, 231, 183, 0.32);
  background: rgba(23, 138, 71, 0.16);
  color: var(--ybd-brand-light);
  font-size: 0.74rem;
  font-weight: 750;
}

body:has(.intent-bar--home) .home-rfq-handoff .home-evidence-list strong {
  color: #ffffff;
  font-size: 1.06rem;
  font-weight: 720;
  line-height: 1.25;
}

body:has(.intent-bar--home) .home-rfq-handoff .home-evidence-list small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 450;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   10. Responsive Refinements (Tablet <= 980px & Mobile <= 640px)
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  body:has(.intent-bar--home) main > .page-hero:first-child {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 72px;
    gap: 32px;
  }

  body:has(.intent-bar--home) .page-hero__panel {
    max-width: 540px;
  }

  body:has(.intent-bar--home) .decision-engine__shell {
    grid-template-columns: 1fr;
  }

  body:has(.intent-bar--home) .decision-engine__intro {
    min-height: auto;
    padding: 32px 28px;
  }

  body:has(.intent-bar--home) .decision-engine__app {
    min-height: auto;
    padding: 28px;
  }

  body:has(.intent-bar--home) .home-visual-brief,
  body:has(.intent-bar--home) .home-rfq-handoff {
    grid-template-columns: 1fr;
  }

  body:has(.intent-bar--home) .home-visual-brief figure {
    min-height: 320px;
  }

  body:has(.intent-bar--home) .home-rfq-handoff .home-evidence-list {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 980px) {
  section.intent-bar.intent-bar--home {
    grid-template-columns: 1fr;
    margin: -24px auto 48px;
    gap: 0;
  }

  section.intent-bar.intent-bar--home .intent-bar__item + .intent-bar__item {
    border-left: 0;
    border-top: 1px solid var(--ybd-border);
  }

  .category-directory--home.category-directory--visual .category-directory__header,
  body:has(.intent-bar--home) .home-buying-board__intro {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .category-directory--home.category-directory--visual .category-directory__header > p,
  body:has(.intent-bar--home) .home-buying-board__intro > p {
    justify-self: start;
  }

  .category-directory--home .home-family-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .category-directory--home .home-family-card--wide {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .category-directory--home .home-family-card--wide img {
    min-height: 260px;
    max-height: 300px;
  }

  body:has(.intent-bar--home) .home-buying-board__cards {
    grid-template-columns: 1fr;
  }

  body:has(.intent-bar--home) .home-step-strip {
    grid-template-columns: 1fr;
  }

  body:has(.intent-bar--home) .home-step-strip a {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --ybd-gutter: 28px;
  }

  .announcement {
    gap: 6px 14px;
    padding: 6px 12px;
    flex-wrap: wrap;
    white-space: normal;
    line-height: 1.35;
    font-size: 0.66rem;
    text-align: center;
    overflow: visible;
  }

  .announcement span + span::before {
    display: none;
  }

  body:has(.intent-bar--home) .home-step-strip,
  body:has(.intent-bar--home) .home-buying-board__cards {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: 1fr;
    overflow-x: visible;
    padding: 0;
    gap: 14px;
  }

  body:has(.intent-bar--home) .home-buying-board article {
    min-height: auto;
  }

  body:has(.intent-bar--home) main > .page-hero:first-child {
    padding-top: 36px;
    padding-bottom: 56px;
  }

  body:has(.intent-bar--home) .page-hero__content h1 {
    font-size: 2rem;
    max-width: none;
  }

  body:has(.intent-bar--home) .page-hero__panel {
    padding: 22px 20px;
  }

  .category-directory--home.category-directory--visual,
  body:has(.intent-bar--home) .decision-engine,
  body:has(.intent-bar--home) .content-body.home-content {
    margin-bottom: 52px;
  }

  body:has(.intent-bar--home) .content-body.home-content {
    gap: 52px;
  }

  .category-directory--home .home-family-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .category-directory--home .home-family-card img,
  .category-directory--home .home-family-card--wide img {
    height: 210px;
    min-height: 210px;
    max-height: 210px;
  }

  body:has(.intent-bar--home) .decision-options {
    grid-template-columns: 1fr;
  }

  body:has(.intent-bar--home) .decision-engine__intro,
  body:has(.intent-bar--home) .decision-engine__app,
  body:has(.intent-bar--home) .home-visual-brief__copy,
  body:has(.intent-bar--home) .home-rfq-handoff > div:first-child,
  body:has(.intent-bar--home) .home-rfq-handoff .home-evidence-list {
    padding: 24px 20px;
  }

  body:has(.intent-bar--home) .home-rfq-handoff .button-primary {
    width: 100%;
    text-align: center;
  }
}
