/* OneBigBroadcast site header and footer (obb26). White version of the
   novlantrucks layout: contact strip, logo and nav row, hover dropdowns on
   desktop, hamburger with tap-open submenus below 992px, sticky with shadow.
   Every rule is scoped to .obbh (header) or .obbf (footer). */

.obbh, .obbh *, .obbf, .obbf * { box-sizing: border-box; }
.obbh-shell { width: var(--shell, min(1200px, calc(100% - 3rem))); margin-inline: auto; }

/* Header shell */
.obbh { position: sticky; top: 0; z-index: 900; background: #fff; color: var(--ink, #17191d);
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif; transition: box-shadow 180ms ease; }
.obbh.is-scrolled { box-shadow: 0 6px 24px rgba(23, 25, 29, 0.08); }
.obbh a { text-decoration: none; }

/* Contact strip */
.obbh-strip { border-bottom: 1px solid var(--line, #dde1e6); background: var(--mist, #f5f5f7); }
.obbh-strip-row { display: flex; min-height: 2.4rem; align-items: center; justify-content: space-between; gap: 1rem; }
.obbh-cards, .obbh-strip-right { display: flex; align-items: center; gap: 1.5rem; }
.obbh-cards a, .obbh-strip-right a, .obbh-tag { color: var(--ink-soft, #3f4650); font-size: 0.78rem; font-weight: 700; line-height: 1.2; }
.obbh-strip-right span { color: var(--ink-soft, #3f4650); font-size: 0.78rem; font-weight: 700; line-height: 1.2; }
.obbh-cards a:hover, .obbh-strip-right a:hover { color: var(--blue, #0877e7); }
.obbh-k { margin-right: 0.45rem; color: var(--blue, #0877e7); font-family: 'Space Mono', monospace; font-size: 0.66rem;
  letter-spacing: 0.06em; text-transform: uppercase; }
.obbh-strip-right span { color: var(--muted, #68717e); font-weight: 600; }

/* Logo and nav row */
.obbh-main { border-bottom: 1px solid rgba(23, 25, 29, 0.08); background: #fff; }
.obbh-main-row { position: relative; display: flex; min-height: 4.75rem; align-items: center; justify-content: space-between; gap: 1.25rem; }
.obbh-brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 0.65rem; color: var(--ink, #17191d);
  font-size: 1.05rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.obbh-brand .brand-mark { margin: 0.8rem; }

.obbh-nav { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 1.75rem); }
.obbh-menu { display: flex; align-items: center; gap: clamp(0.5rem, 1.6vw, 1.5rem); margin: 0; padding: 0; list-style: none; }
.obbh-menu > li { position: relative; display: flex; align-items: center; margin: 0; padding: 0; }
.obbh-menu > li > a { display: inline-flex; min-height: 2.75rem; align-items: center; color: var(--ink-soft, #3f4650);
  font-size: 0.86rem; font-weight: 700; transition: color 160ms ease; }
.obbh-menu > li > a:hover, .obbh-menu > li > a.is-active, .obbh-menu > li:hover > a { color: var(--blue, #0877e7); }

.obbh-showsub { display: inline-flex; width: 1.4rem; height: 1.4rem; align-items: center; justify-content: center; margin-left: 0.15rem;
  padding: 0; border: 0; background: transparent; color: var(--muted, #68717e); cursor: pointer; }
.obbh-showsub::before { width: 0.42rem; height: 0.42rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  content: ''; transform: translateY(-2px) rotate(45deg); transition: transform 180ms ease; }

.obbh-sub { position: absolute; top: 100%; left: -1rem; min-width: 14rem; margin: 0; padding: 0.5rem; list-style: none;
  border: 1px solid var(--line, #dde1e6); border-radius: 0.85rem; background: #fff; box-shadow: 0 18px 40px rgba(23, 25, 29, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 160ms ease, transform 160ms ease, visibility 160ms; }
.obbh-sub li { margin: 0; padding: 0; }
.obbh-sub a { display: block; padding: 0.65rem 0.8rem; border-radius: 0.55rem; color: var(--ink, #17191d); font-size: 0.86rem; font-weight: 700; }
.obbh-sub a:hover { background: var(--blue-pale, #eaf4ff); color: var(--blue, #0877e7); }

.obbh-cta { display: inline-flex; min-height: 2.75rem; align-items: center; justify-content: center; padding: 0.7rem 1.1rem;
  border: 1px solid var(--blue, #0877e7); border-radius: 999px; background: var(--blue, #0877e7); color: #fff !important;
  font-size: 0.84rem; font-weight: 800; line-height: 1; transition: background 180ms ease, transform 180ms ease; }
.obbh-cta:hover { background: var(--blue-deep, #075caf); transform: translateY(-2px); }

.mobile-toggle { display: none; min-width: 3rem; min-height: 3rem; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0 0.5rem; border: 0; border-radius: 0.5rem; background: transparent; color: var(--ink, #17191d); cursor: pointer;
  font: inherit; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; }
.obbh-burger, .obbh-burger::before, .obbh-burger::after { display: block; width: 1.2rem; height: 2px; border-radius: 2px;
  background: currentColor; content: ''; transition: transform 180ms ease, background 180ms ease; }
.obbh-burger { position: relative; }
.obbh-burger::before { position: absolute; top: -0.38rem; }
.obbh-burger::after { position: absolute; top: 0.38rem; }
.obbh.is-open .obbh-burger { background: transparent; }
.obbh.is-open .obbh-burger::before { transform: translateY(0.38rem) rotate(45deg); }
.obbh.is-open .obbh-burger::after { transform: translateY(-0.38rem) rotate(-45deg); }

/* Desktop: hover opens dropdowns */
@media (min-width: 993px) {
  .obbh-has-sub:hover > .obbh-sub, .obbh-has-sub:focus-within > .obbh-sub { opacity: 1; visibility: visible; transform: translateY(0); }
  .obbh-has-sub:hover > .obbh-showsub::before { transform: translateY(1px) rotate(225deg); }
}

/* Below 992px: hamburger, stacked menu, tap-open submenus (same breakpoint as novlantrucks) */
@media (max-width: 992px) {
  .obbh-hide-sm { display: none !important; }
  .mobile-toggle { display: inline-flex; }
  .obbh-main-row { flex-wrap: wrap; min-height: 4rem; }
  .obbh-nav { display: none; flex: 0 0 100%; width: 100%; flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - 7rem); overflow-y: auto; padding: 0 0 1.25rem; }
  .obbh.is-open .obbh-nav { display: flex; }
  .obbh-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .obbh-menu > li { flex-wrap: wrap; justify-content: space-between; border-top: 1px solid var(--line, #dde1e6); }
  .obbh-menu > li > a { flex: 1; min-height: 3.1rem; font-size: 1rem; }
  .obbh-showsub { width: 3rem; height: 3rem; }
  .obbh-sub { position: static; display: none; flex: 0 0 100%; min-width: 0; margin: 0 0 0.75rem; padding: 0.25rem;
    border: 0; border-radius: 0.6rem; background: var(--mist, #f5f5f7); box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .obbh-has-sub.is-sub-open > .obbh-sub { display: block; }
  .obbh-has-sub.is-sub-open > .obbh-showsub::before { transform: translateY(1px) rotate(225deg); }
  .obbh-cta { margin-top: 1rem; min-height: 3.1rem; }
}

/* Footer */
.obbf { border-top: 1px solid var(--line, #dde1e6); background: var(--mist, #f5f5f7); color: var(--ink, #17191d);
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif; }
.obbf a { color: var(--ink-soft, #3f4650); text-decoration: none; }
.obbf a:hover { color: var(--blue, #0877e7); }
.obbf-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; }
.obbf-about p { max-width: 22rem; margin: 1.1rem 0 1.4rem; color: var(--ink-soft, #3f4650); font-size: 0.95rem; line-height: 1.6; }
.obbf-about .obbh-brand { color: var(--ink, #17191d); }
.obbf-cta { display: inline-flex; min-height: 2.75rem; align-items: center; padding: 0.7rem 1.1rem; border-radius: 999px;
  background: var(--blue, #0877e7); color: #fff !important; font-size: 0.84rem; font-weight: 800; }
.obbf-cta:hover { background: var(--blue-deep, #075caf); }
.obbf-col { display: flex; flex-direction: column; gap: 0.7rem; }
.obbf-col a { font-size: 0.9rem; font-weight: 700; }
.obbf-label { margin-bottom: 0.35rem; color: var(--blue, #0877e7); font-family: 'Space Mono', monospace; font-size: 0.68rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.obbf-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.4rem 0 2rem;
  border-top: 1px solid var(--line, #dde1e6); color: var(--muted, #68717e); font-size: 0.8rem; }
.obbf-legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.obbf-bottom a { color: var(--muted, #68717e); font-weight: 700; }

@media (max-width: 920px) { .obbf-grid { grid-template-columns: 1fr 1fr; } .obbf-about { grid-column: 1 / -1; } }
@media (max-width: 560px) { .obbf-grid { grid-template-columns: 1fr; } }

/* Fixes to the Manus page styles */
.closing-section .button { border-color: #fff; background: #fff; color: var(--ink, #17191d); }
.closing-section .button:hover { border-color: #d9edff; background: #d9edff; }

/* obb26-legacy: older CMS pages (privacy, terms) shown inside the new header */
body.obb26 #container { width: var(--shell, min(1200px, calc(100% - 3rem))); margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
body.obb26 .mainContent { max-width: 52rem; color: var(--ink-soft, #3f4650); font-family: Manrope, ui-sans-serif, system-ui, sans-serif; font-size: 1rem; line-height: 1.75; }
body.obb26 .mainContent h1, body.obb26 .mainContent h2 { max-width: none; margin: 0 0 1.25rem; font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.04em; line-height: 1.08; }
body.obb26 .mainContent h3 { margin: 2rem 0 0.75rem; font-size: 1.25rem; }
body.obb26 .mainContent strong { color: var(--ink, #17191d); }
body.obb26 .mainContent p { margin: 0 0 1rem; font-size: 1rem; }
body.obb26 .mainContent a { color: var(--blue, #0877e7); }
body.obb26 .mainContent ul, body.obb26 .mainContent ol { margin: 0 0 1rem 1.25rem; padding: 0; }

/* obb26-scorecards: header link, homepage section, tool pages */
.obbh-free { margin-left: 1.25rem; color: var(--blue, #0877e7); font-size: 0.78rem; font-weight: 800; line-height: 1.2; text-decoration: none; }
.obbh-free:hover { text-decoration: underline; }
@media (max-width: 992px) { .obbh-free { margin-left: 0; } }
.scope-section { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--blue-pale, #eaf4ff); }
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.scope-grid .hero-actions { margin-top: 1.75rem; }
@media (max-width: 920px) { .scope-grid { grid-template-columns: 1fr; } }
.obb26-tool { display: block; width: 100%; }
