
:root {
  --color-primary: #0b6cb1;
  --color-primary-hover: #095a93;
  --color-accent: #27a3e0;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7f9;
  --color-header-bg: #0e1418;
  --color-footer-bg: #0e1418;
  --color-footer-band: #1b242b;
  --color-text: #11181d;
  --color-text-2: #33424c;
  --color-muted: #6b7a85;
  --color-border: #dde3e8;
  --color-link: #0b6cb1;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif; color: var(--color-text); background: var(--color-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
h1, h2, h3, h4, h5 { font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif; font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--color-text); }
h1 { font-size: 2.5rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.35rem; color: var(--color-primary); }
p { margin: 0 0 1em; color: var(--color-text-2); }
a { color: var(--color-link); text-decoration: none; }
a:hover { color: var(--color-primary-hover); text-decoration: underline; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Header — fixed layout: logo (left, fixed) · nav (center, flex:1) · CTA (right, fixed) */
.site-header { background: var(--color-header-bg); border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 50; }
.site-header .inner { display: flex; align-items: center; gap: 48px; padding: 16px 0; }
.site-header .logo { flex: 0 0 auto; display: flex; align-items: center; text-decoration: none; }
.site-header .logo:hover { text-decoration: none; }
.site-header .logo img { height: 44px; width: auto; display: block; }
.site-header nav { flex: 1 1 auto; min-width: 0; }
.site-header nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; flex-wrap: wrap; }
.site-header nav a { color: var(--color-text); font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; font-size: .95rem; }
.site-header nav a:hover { color: var(--color-primary); border-bottom-color: var(--color-primary); text-decoration: none; }

/* Products dropdown — opens on hover (desktop) or click (JS toggle) */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown-trigger.nav-trigger-active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.nav-caret { font-size: .85em; line-height: 1; transition: transform .15s; }
.nav-dropdown:hover > .nav-dropdown-trigger > .nav-caret,
.nav-dropdown.nav-dropdown-open > .nav-dropdown-trigger > .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%; left: -12px;
  display: none;
  list-style: none;
  margin: 0; padding: 8px 0;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  min-width: 230px;
  z-index: 60;
  border-radius: 4px;
}
.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown.nav-dropdown-open > .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li { display: block; margin: 0; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 0;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
  border-bottom: 0;
}
.nav-dropdown-menu a.nav-drop-active { color: var(--color-primary); background: var(--color-bg-alt); }

/* Legacy product banner — shown at top of legacy product pages */
.legacy-banner {
  background: #fff8e1;
  border: 1px solid #f0c674;
  border-left: 4px solid #e69b00;
  color: #6e4f00;
  padding: 14px 18px;
  border-radius: 4px;
  margin: 0 0 24px;
  font-size: .95rem;
}
.legacy-banner strong { color: #5a4100; }
.legacy-banner a { color: #b07700; text-decoration: underline; font-weight: 600; }
.legacy-banner a:hover { color: #5a4100; }
.site-header .header-cta { flex: 0 0 auto; background: var(--color-primary); color: #fff; padding: 12px 22px; border-radius: 40px; font-weight: 600; white-space: nowrap; line-height: 1; font-size: .95rem; }
.site-header .header-cta:hover { background: var(--color-primary-hover); color: #fff; text-decoration: none; }
.site-header .menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; font-size: 1.5rem; color: var(--color-text); }

/* Hero */
.hero { background: #0b6cb1; color: #fff; padding: 90px 0 100px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; right: -10%; width: 70%; height: 100%; background: radial-gradient(ellipse at center, rgba(255,255,255,.10) 0%, transparent 60%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 60px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.08)); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 20px; padding: 6px 14px; border: 1px solid rgba(255,255,255,.3); }
.hero h1 { color: #fff; font-size: 3rem; max-width: 900px; margin: 0 0 18px; line-height: 1.1; }
.hero p { color: rgba(255,255,255,.92); font-size: 1.15rem; max-width: 720px; }
.hero .cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 30px; margin-top: 60px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.2); }
.hero-stat strong { display: block; font-size: 2.1rem; color: #fff; line-height: 1; margin-bottom: 6px; }
.hero-stat span { color: rgba(255,255,255,.78); font-size: .9rem; }
.btn-primary, .btn-secondary { display: inline-block; padding: 13px 26px; border-radius: 40px; font-weight: 600; transition: background .15s, color .15s, transform .15s; white-space: nowrap; cursor: pointer; border: 0; font-size: 1rem; }
.btn-primary { background: #fff; color: var(--color-primary); }
.btn-primary:hover { background: var(--color-bg-alt); text-decoration: none; transform: translateY(-1px); }
.btn-secondary { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-secondary:hover { background: rgba(255,255,255,.22); color: #fff; text-decoration: none; }
.btn-solid { display: inline-block; padding: 13px 26px; border-radius: 40px; font-weight: 600; background: var(--color-primary); color: #fff; white-space: nowrap; transition: background .15s; }
.btn-solid:hover { background: var(--color-primary-hover); color: #fff; text-decoration: none; }
.btn-outline { display: inline-block; padding: 13px 26px; border-radius: 40px; font-weight: 600; color: var(--color-primary); border: 2px solid var(--color-primary); white-space: nowrap; background: transparent; transition: all .15s; }
.btn-outline:hover { background: var(--color-primary); color: #fff; text-decoration: none; }

/* Sections */
section { padding: 70px 0; }
section h2 { text-align: center; margin-bottom: 12px; }
section .lead { text-align: center; color: var(--color-muted); margin-bottom: 50px; max-width: 720px; margin-left: auto; margin-right: auto; }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.cat-card { background: #fff; border: 1px solid var(--color-border); padding: 28px; transition: all .2s; display: block; color: inherit; }
.cat-card:hover { border-color: var(--color-primary); box-shadow: 0 8px 24px rgba(0,100,200,.10); text-decoration: none; transform: translateY(-2px); }
.cat-card h3 { color: var(--color-primary); margin-bottom: 8px; }
.cat-card .count { color: var(--color-muted); font-size: .9rem; margin-bottom: 12px; }
.cat-card .preview { color: var(--color-text-2); font-size: .92rem; }
.cat-card .arrow { color: var(--color-primary); margin-top: 16px; font-weight: 600; }

/* Why-card grid (Why Olympian section) */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.why-card { background: #fff; padding: 30px; border: 1px solid var(--color-border); }
.why-card h3 { margin-top: 0; color: var(--color-primary); }
.why-card p { margin: 0; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.product-card { background: #fff; border: 1px solid var(--color-border); padding: 0; transition: all .2s; display: block; color: inherit; overflow: hidden; }
.product-card:hover { border-color: var(--color-primary); box-shadow: 0 8px 24px rgba(0,100,200,.10); text-decoration: none; transform: translateY(-2px); }
.product-card .image { background: var(--color-bg-alt); height: 220px; display: flex; align-items: center; justify-content: center; padding: 16px; }
.product-card .image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-card .image .placeholder { color: var(--color-muted); font-size: 3rem; opacity: .3; }
.product-card .body { padding: 22px; }
.product-card h3 { color: var(--color-text); margin-bottom: 6px; }
.product-card .desc { color: var(--color-muted); font-size: .92rem; min-height: 3em; }
.product-card .more { color: var(--color-primary); font-weight: 600; margin-top: 14px; display: inline-block; }

/* Breadcrumb */
.crumbs { color: var(--color-muted); margin-bottom: 18px; font-size: .92rem; }

/* Page intros */
.page-intro { padding: 50px 0 30px; }
.page-intro h1 { margin-bottom: 12px; }
.page-intro .intro-lead { color: var(--color-text-2); font-size: 1.1rem; max-width: 800px; }

/* Product page */
.product-page { padding: 50px 0; }
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-bottom: 50px; align-items: start; }
.product-hero .images img.main-img { width: 100%; max-height: 460px; object-fit: contain; background: var(--color-bg-alt); padding: 24px; border: 1px solid var(--color-border); }
.product-hero .thumbs { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.product-hero .thumb-btn { width: 78px; height: 78px; padding: 0; background: var(--color-bg-alt); border: 2px solid var(--color-border); cursor: pointer; overflow: hidden; transition: border-color .15s, transform .15s; display: flex; align-items: center; justify-content: center; }
.product-hero .thumb-btn img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 4px; pointer-events: none; }
.product-hero .thumb-btn:hover { border-color: var(--color-primary); }
.product-hero .thumb-btn.active { border-color: var(--color-primary); background: #fff; }
.product-hero .thumb-btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.product-hero .meta h1 { margin: 6px 0 12px; }
.product-hero .meta .series { color: var(--color-primary); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.product-hero .meta .short { color: var(--color-text-2); font-size: 1.1rem; margin: 18px 0 24px; }
.product-hero .actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.spec-table { width: 100%; border-collapse: collapse; margin: 30px 0; background: #fff; }
.spec-table th { background: var(--color-bg-alt); text-align: left; padding: 12px 16px; font-weight: 600; border: 1px solid var(--color-border); width: 32%; vertical-align: top; }
.spec-table td { padding: 12px 16px; border: 1px solid var(--color-border); color: var(--color-text-2); }
.long-desc { background: var(--color-bg-alt); padding: 30px; margin: 30px 0; border-left: 4px solid var(--color-primary); }
.long-desc h2 { text-align: left; margin-top: 0; }

/* Image lightbox — full-screen image preview triggered by clicking the
   product main image (handled in the brand ui.js). */
.pxh-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  cursor: zoom-out;
  animation: pxhFade .15s ease-out;
}
@keyframes pxhFade { from { opacity: 0; } to { opacity: 1; } }
.pxh-lightbox img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  cursor: default;
}
.pxh-lightbox-close {
  position: absolute; top: 16px; right: 20px;
  background: transparent; border: 0;
  color: #fff; font-size: 2.4rem;
  cursor: pointer; line-height: 1; padding: 8px 14px;
  opacity: .75;
}
.pxh-lightbox-close:hover { opacity: 1; }

/* Hardware Details accordion sections — manual-sourced reference */
.hw-section {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  margin: 10px 0;
  padding: 0;
}
.hw-section > summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-text);
  font-size: .98rem;
  list-style: none;
  padding: 14px 20px;
  user-select: none;
  display: flex;
  align-items: center;
}
.hw-section > summary::-webkit-details-marker { display: none; }
.hw-section > summary::before {
  content: "▶";
  display: inline-block;
  margin-right: 12px;
  font-size: .7em;
  color: var(--color-primary);
  transition: transform .15s;
}
.hw-section[open] > summary { border-bottom: 1px solid var(--color-border); }
.hw-section[open] > summary::before { transform: rotate(90deg); }
.hw-section-body { padding: 14px 22px 18px; }
.hw-section-body p { margin: 10px 0; color: var(--color-text-2); }
.hw-section-body ul { margin: 8px 0 12px; padding-left: 22px; color: var(--color-text-2); }
.hw-section-body li { margin: 4px 0; }
.hw-section-body strong { color: var(--color-text); }
.hw-section-body em { font-style: italic; color: var(--color-primary); font-weight: 500; }
.hw-section-body h4 { margin: 0 0 8px; font-size: .92rem; color: var(--color-primary); }

/* OPT routing tables — small two-column tables, side by side on desktop */
.hw-routing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 14px 0;
}
.hw-routing-block {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 12px 16px;
}
.hw-routing-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.hw-routing-table th {
  text-align: left;
  font-weight: 600;
  padding: 4px 8px 4px 0;
  color: var(--color-primary);
  white-space: nowrap;
  width: 70px;
}
.hw-routing-table td { padding: 4px 0; color: var(--color-text-2); }

/* Video spec tables (Input / Output specs) */
.hw-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.hw-spec-block {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 12px 16px;
}
.hw-spec-block h4 { color: var(--color-primary); margin: 0 0 6px; }
.hw-spec-block ul { font-size: .88rem; margin: 4px 0; padding-left: 18px; }
.hw-spec-block li { color: var(--color-text-2); margin: 2px 0; }

/* PGM / Copy explainer accordion below the chassis schematic */
.pxh-panel-explainer {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  padding: 14px 22px;
  margin: 16px 0 30px;
  border-radius: 4px;
}
.pxh-panel-explainer > summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1rem;
  list-style: none;
  padding: 4px 0;
}
.pxh-panel-explainer > summary::-webkit-details-marker { display: none; }
.pxh-panel-explainer > summary::before {
  content: "▶";
  display: inline-block;
  margin-right: 8px;
  font-size: .72em;
  transition: transform .15s;
}
.pxh-panel-explainer[open] > summary::before { transform: rotate(90deg); }
.pxh-panel-explainer p { margin: 12px 0; color: var(--color-text-2); }
.pxh-panel-explainer ul { margin: 10px 0; padding-left: 20px; }
.pxh-panel-explainer li { margin: 4px 0; color: var(--color-text-2); }
.pxh-panel-explainer strong { color: var(--color-text); }
.pxh-panel-explainer em { color: var(--color-primary); font-style: normal; font-weight: 600; }

/* Footer */
.footer-band { background: var(--color-footer-band); color: #fff; padding: 36px 0; text-align: center; }
.footer-band h3 { color: #fff; margin-bottom: 8px; }
.footer-band p { color: rgba(255,255,255,.85); }
.footer-band a { color: #fff; text-decoration: underline; }
.site-footer { background: var(--color-footer-bg); color: #fff; padding: 50px 0 24px; }
.site-footer .grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.site-footer a { color: #ccc; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; color: #888; font-size: .9rem; text-align: center; }

/* Compare pages */
.compare-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0 0 50px; }
.compare-card { display: block; color: inherit; background: #fff; border: 1px solid var(--color-border); overflow: hidden; transition: all .15s; }
.compare-card:hover { border-color: var(--color-primary); box-shadow: 0 8px 24px rgba(0,100,200,.10); text-decoration: none; transform: translateY(-2px); }
.compare-card .image { background: var(--color-bg-alt); height: 240px; display: flex; align-items: center; justify-content: center; padding: 20px; }
.compare-card .image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.compare-card .body { padding: 24px; }
.compare-card .body h3 { color: var(--color-text); margin-bottom: 8px; }
.compare-card .body p { color: var(--color-muted); font-size: .92rem; min-height: 3em; }
.compare-card .more { color: var(--color-primary); font-weight: 600; }
.compare-table { width: 100%; border-collapse: collapse; margin: 0 0 50px; background: #fff; }
.compare-table thead th { background: var(--color-primary); color: #fff; text-align: left; padding: 14px 18px; font-weight: 600; border: 1px solid var(--color-primary); }
.compare-table tbody th { background: var(--color-bg-alt); text-align: left; padding: 12px 18px; font-weight: 600; border: 1px solid var(--color-border); width: 28%; vertical-align: top; }
.compare-table tbody td { padding: 12px 18px; border: 1px solid var(--color-border); color: var(--color-text-2); vertical-align: top; }

/* Multi-way (3+ model) compare table — emphasizes differences */
.compare-table-multi tbody tr.compare-row-same { background: var(--color-bg-alt); }
/* Merged cells (adjacent columns sharing a value) — center the text and
   give a subtle off-white tint so the merge reads visually. */
.compare-table-multi .compare-cell-merged {
  text-align: center;
  background: var(--color-bg-alt);
}
.compare-table-multi td.compare-cell-dim { color: var(--color-muted); }
.compare-hero-3 { grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .compare-hero-3 { grid-template-columns: 1fr; } }

/* Featured comparison card on the compare index */
.compare-feature {
  display: block;
  margin: 26px 0 36px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
  color: #fff;
  padding: 32px 36px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,100,200, 0.18);
  transition: transform .15s, box-shadow .15s;
}
.compare-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,100,200, 0.25);
  text-decoration: none;
  color: #fff;
}
.compare-feature-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-weight: 600;
}
.compare-feature h2 { color: #fff; margin: 0 0 8px; font-size: 1.6rem; text-align: left; }
.compare-feature p { color: rgba(255, 255, 255, 0.92); margin: 0 0 10px; }
.compare-feature .more { color: #fff; font-weight: 600; }

/* Downloads table — used on product pages and /downloads/ index */
.downloads-table { width: 100%; border-collapse: collapse; margin: 14px 0 40px; background: #fff; }
.downloads-table thead th { background: var(--color-primary); color: #fff; text-align: left; padding: 12px 14px; font-weight: 600; }
.downloads-table tbody th, .downloads-table tbody td { padding: 12px 14px; border: 1px solid var(--color-border); vertical-align: middle; color: var(--color-text-2); }
.downloads-table tbody th { background: var(--color-bg-alt); text-align: left; font-weight: 600; color: var(--color-text); }
.downloads-table .btn-solid { display: inline-block; }

/* Generic table-scroll wrapper — wide tables (compare, downloads, spec)
   become horizontally scrollable inside this wrapper on mobile, and the
   page itself never horizontally scrolls. */
html, body { overflow-x: hidden; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.table-scroll table { margin: 0; }

/* CTA block — used inside <div class="container"> wrappers */
.cta-block { background: var(--color-primary); color: #fff; padding: 50px; text-align: center; margin: 50px 0; }
.cta-block h2 { color: #fff; margin-top: 0; }
.cta-block p { color: rgba(255,255,255,.92); }
.cta-block .btn-primary { background: #fff; color: var(--color-primary); margin-top: 6px; }
.cta-block .btn-primary:hover { background: var(--color-bg-alt); }
.cta-block a:not(.btn-primary) { color: #fff; text-decoration: underline; }

@media (max-width: 1100px) {
  .site-header .inner { gap: 28px; }
  .site-header nav ul { gap: 20px; }
  .site-header nav a { font-size: .92rem; }
}

@media (max-width: 800px) {
  .compare-hero { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .site-header nav { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: #fff; padding: 24px; overflow-y: auto; z-index: 100; }
  .site-header nav.open { display: block; }
  .site-header nav > ul { flex-direction: column; gap: 0; }
  .site-header nav > ul > li { border-bottom: 1px solid var(--color-border); }
  .site-header nav a { display: block; padding: 16px 4px; font-size: 1.05rem; }
  /* On mobile the dropdown is flattened — render the menu inline so users
     can tap any category directly without a hover step. */
  .nav-dropdown-menu {
    position: static; display: block; border: 0; box-shadow: none;
    padding: 0; background: transparent; min-width: 0;
  }
  .nav-dropdown-menu li { border-bottom: 0; }
  .nav-dropdown-menu a { padding: 12px 4px 12px 24px; font-size: .98rem; }
  .nav-dropdown-trigger { pointer-events: none; }
  .nav-dropdown-trigger .nav-caret { display: none; }
  .nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 90; }
  .nav-backdrop.open { display: block; }
  body.nav-open { overflow: hidden; }
  .site-header .menu-toggle { display: block; order: -1; font-size: 1.6rem; padding: 6px 10px; min-width: 44px; min-height: 44px; line-height: 1; }
  .site-header .inner { position: relative; gap: 16px; }
  .hero { padding: 60px 0 70px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .product-hero { grid-template-columns: 1fr; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
  .cta-block { padding: 36px 24px; }
}

@media (max-width: 500px) {
  .site-header .logo img { height: 30px; }
  .site-header .header-cta { padding: 8px 14px; font-size: .9rem; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 28px; margin-top: 40px; }
  .hero-stat strong { font-size: 1.6rem; }
  .site-footer .grid { grid-template-columns: 1fr; }
}

/* Control4 Store text wordmark */
.c4-wordmark { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--c4-heading, inherit); text-decoration: none; }
.c4-wordmark .c4-word { font-weight: 800; font-size: 1.45rem; letter-spacing: -.01em; color: #fff; }
.site-header .c4-wordmark .c4-word { color: var(--color-header-text, #fff); }
.c4-wordmark .c4-store { font-weight: 600; font-size: 1.1rem; color: var(--color-accent); text-transform: uppercase; letter-spacing: .12em; }
.c4-wordmark:hover { text-decoration: none; }
.c4-wordmark-footer { margin-bottom: 14px; }
.c4-wordmark-footer .c4-word { color: #fff; }

/* Homepage extras */
.c4-disclaimer { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-left: 4px solid var(--color-accent); padding: 16px 20px; margin: 0 0 8px; font-size: .9rem; color: var(--color-muted); border-radius: 4px; }
.c4-tag { display:inline-block; background: var(--color-bg-alt); color: var(--color-text-2); border:1px solid var(--color-border); border-radius: 20px; padding: 4px 12px; font-size:.82rem; margin: 0 6px 8px 0; }

.site-header { --color-header-text: #ffffff; }
.site-header nav a { color: #ffffff; }
.site-header nav a:hover { color: var(--color-accent); border-bottom-color: var(--color-accent); }
.site-header .menu-toggle { color: #ffffff; }
.site-header .nav-dropdown-trigger { color: #ffffff; }
