:root {
  --bitstar-navy: #0b344b;
  --bitstar-blue: #155f89;
  --bitstar-green: #178258;
  --bitstar-mint: #70d6a8;
  --bitstar-ink: #17384b;
  --bitstar-muted: #657985;
  --bitstar-line: #cad9de;
  --bitstar-bg: #f3f6f7;
  --font-sans: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --type-display: clamp(42px, 4vw, 60px);
  --type-page-title: var(--type-display);
  --type-section-title: clamp(30px, 2.4vw, 38px);
  --type-card-title: 21px;
  --type-body: 14px;
  --type-label: 12px;
  --type-meta: 11px;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: #f3f6f7; color: #102431; font-family: var(--font-sans); }
img { max-width: 100%; height: auto; }
.site-header { position: relative; overflow: visible; }
.site-header .header-brand img { width: 190px; height: auto; display: block; }
.desktop-nav { align-self: stretch; align-items: center; }
.desktop-nav > a,
.desktop-nav > div > a { display: flex; align-items: center; height: 100%; }
.nav-product-item,
.nav-about-item { position: static; height: 100%; display: flex; align-items: center; }
.nav-product-item > a:after,
.nav-about-item > a:after { content: "⌄"; margin-left: 7px; font-size: 11px; }
.product-mega-menu {
  position: absolute; z-index: 50; top: 83px; left: 0; width: 100%;
  display: grid; grid-template-columns: 1.35fr .65fr; gap: 7vw;
  padding: 42px max(7vw, 45px); color: #fff; background: #0b3a55;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  box-shadow: 0 24px 50px rgba(6, 31, 51, .22);
}
.nav-product-item:hover .product-mega-menu,
.nav-product-item:focus-within .product-mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.product-mega-menu section { min-width: 0; }
.product-mega-menu h2 { margin: 0 0 20px; font-size: 20px; color: #fff; }
.product-mega-menu section > a { position: relative; display: grid; padding: 16px 42px 16px 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.product-mega-menu strong { font-size: 15px; }
.product-mega-menu span { margin-top: 5px; color: #b7cbd5; font-size: 12px; font-weight: 400; }
.product-mega-menu b { position: absolute; right: 4px; top: 21px; color: #70d6a8; }
.about-submenu {
  position: absolute; z-index: 50; top: 83px; min-width: 170px; padding: 10px 0;
  background: #fff; border: 1px solid #d5e0e4; box-shadow: 0 18px 36px rgba(6,31,51,.12);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s;
}
.nav-about-item:hover .about-submenu,
.nav-about-item:focus-within .about-submenu { opacity: 1; visibility: visible; transform: none; }
.about-submenu a { display: block; padding: 12px 18px; font-size: 13px; }
.about-submenu a:hover { background: #eef3f5; }
.mobile-menu-toggle { display: none; border: 1px solid #9fb4bf; background: transparent; padding: 10px 13px; color: #17384b; }
.mobile-navigation { padding: 14px 24px 24px; background: #0b3a55; color: #fff; }
.mobile-navigation a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.footer-column h2 { margin: 0 0 18px; font-size: 14px; color: #fff; }
.wp-content-shell { min-height: 62vh; padding: 84px max(7vw,45px); }
.wp-entry { max-width: 1180px; margin: 0 auto; }
.wp-page-header { margin-bottom: 48px; }
.wp-page-header h1 { margin: 0; color: #17384b; font-size: var(--type-page-title); font-weight: 500; line-height: 1.1; letter-spacing: -.04em; }
.wp-entry-content { color: #425f6d; font-size: var(--type-body); line-height: 1.85; }
.wp-entry-content h2 { margin: 56px 0 20px; color: #17384b; font-size: var(--type-section-title); font-weight: 500; }
.wp-entry-content h3 { margin: 36px 0 14px; color: #17384b; font-size: var(--type-card-title); }
.wp-home-placeholder { min-height: 680px; display: grid; grid-template-columns: 52% 48%; background: #f8faf9; }
.wp-home-placeholder > div { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 80px max(6vw,46px); }
.wp-home-placeholder h1 { margin: 0; color: #102f43; font-size: clamp(48px,5.5vw,78px); line-height: 1.08; font-weight: 500; letter-spacing: -.04em; }
.wp-home-placeholder h1 span { color: #178258; }
.wp-home-placeholder > div > p:last-of-type { max-width: 570px; margin: 28px 0 36px; color: #657985; font-size: 16px; }
.wp-home-placeholder > img { width: 100%; height: 100%; min-height: 680px; object-fit: cover; }
.wp-home-editor { padding: 80px max(7vw,45px); }
.solution-wp-hero { display: grid; grid-template-columns: 46% 54%; min-height: 620px; background: #0b344b; color: #fff; }
.solution-wp-hero > div:first-child { display: flex; flex-direction: column; justify-content: center; padding: 70px max(5vw,54px); }
.solution-wp-hero h1 { margin: 0; font-size: var(--type-page-title); font-weight: 500; line-height: 1.1; }
.solution-wp-hero p { max-width: 560px; color: #bdd0d8; }
.solution-wp-image img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; }
.solution-wp-body { max-width: 1120px; margin: 0 auto; padding: 90px max(5vw,34px); color: #425f6d; font-size: var(--type-body); }
.solution-wp-body h2 { margin-top: 58px; color: #17384b; font-size: var(--type-section-title); font-weight: 500; }
.solution-archive-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid #cad9de; border-left: 1px solid #cad9de; }
.solution-archive-grid > a { padding: 26px; border-right: 1px solid #cad9de; border-bottom: 1px solid #cad9de; background: #fff; }
.solution-archive-grid img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.solution-archive-grid small { display: block; margin-top: 22px; color: #178258; }
.solution-archive-grid h2 { margin: 12px 0; color: #17384b; font-size: 27px; }
.solution-archive-grid p { color: #657985; }
.solution-archive-grid b { color: #155f89; font-size: 13px; }
.solution-archive .wp-page-header { max-width: 860px; margin-bottom: 42px; }
.solution-archive .wp-page-header h1 { font-size: clamp(38px, 3.4vw, 46px) !important; }
.solution-archive .wp-page-header > p:last-child { max-width: 660px; font-size: 14px; }
.solution-offer { display: grid; grid-template-columns: minmax(240px,.68fr) minmax(620px,1.32fr); gap: 6vw; margin-bottom: 64px; padding: 34px 0 0; border-top: 1px solid #cad9de; }
.solution-offer-heading h2 { margin: 0 0 16px; color: #17384b; font-size: clamp(28px, 2.5vw, 36px); font-weight: 500; letter-spacing: -.035em; }
.solution-offer-heading > p:last-child { max-width: 360px; margin: 0; color: #657985; font-size: 14px; line-height: 1.8; }
.solution-offer-list { border-top: 1px solid #cad9de; }
.solution-offer-list a { position: relative; display: grid; grid-template-columns: 42px minmax(150px,.75fr) minmax(210px,1fr) 18px; gap: 18px; align-items: center; padding: 19px 2px; border-bottom: 1px solid #cad9de; }
.solution-offer-list small { color: #178258; font: 11px/1.4 var(--font-mono); }
.solution-offer-list strong { color: #17384b; font-size: 16px; }
.solution-offer-list span { color: #657985; font-size: 13px; }
.solution-offer-list b { color: #178258; font-size: 16px; font-weight: 400; }
.solution-offer-list a:hover strong, .solution-offer-list a:hover b { color: #155f89; }
.solution-archive-grid h2 { font-size: 22px !important; line-height: 1.4 !important; }
.solution-archive-grid p { margin: 0 0 18px; font-size: 14px; line-height: 1.8; }
.blog-index .blog-index-heading h2 { font-size: clamp(26px, 2.2vw, 34px); line-height: 1.3; }
.blog-index .blog-article { grid-template-columns: minmax(220px,.72fr) minmax(340px,1.28fr); }
.blog-index .blog-article-media { min-height: 260px; }
.blog-index .blog-article-copy { padding: 30px 32px 34px; }
.blog-index .blog-article-copy > h2 { font-size: clamp(24px, 2vw, 30px) !important; line-height: 1.35 !important; }
.blog-index .blog-intro { margin-bottom: 0; padding-bottom: 24px; }
.blog-index .blog-article-copy > a { margin-top: 24px; }
@media (max-width: 1000px) {
  .solution-offer { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 700px) {
  .solution-archive .wp-page-header h1 { font-size: 34px; }
  .solution-offer-list a { grid-template-columns: 34px 1fr 18px; gap: 12px; }
  .solution-offer-list span { grid-column: 2 / 4; }
  .blog-index .blog-article { grid-template-columns: 1fr; }
  .blog-index .blog-article-media { min-height: 220px; }
}
.home-insight-list { width: 100%; }
.insight-list > .home-insight-item { border-bottom: 1px solid #c5d4da; grid-template-columns: 42px 1fr 22px; gap: 18px; padding: 26px 28px; transition: background .2s; display: grid; }
.insight-list > .home-insight-item:hover { background: #f2f6f7; }
.home-insight-item .home-insight-arrow { color: #157652; font-size: 14px; }
.home-insight-item .blog-meta a { color: #157652; }
body .solution-copy > p:not(.eyebrow) { max-width: 310px; }
body .solution-card-copy h3 { margin: 0; max-width: 92%; font-size: 22px; line-height: 1.28; }
.solution-list article { overflow: hidden; grid-template-columns: 1fr; gap: 0; padding: 0 0 28px; }
.solution-list .solution-card-media { position: relative; min-height: 280px; overflow: hidden; }
.solution-list .solution-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.solution-list .solution-card-media > span { position: absolute; top: 24px; left: 24px; }
.solution-list .solution-card-copy { padding: 18px 2px 0; }
.solution-list .solution-card-copy h3 { color: #fff; }
.solution-list article > a.solution-card-link { position: absolute; inset: 0; z-index: 2; display: block; color: transparent; }
.solution-list article > a.solution-card-link b { position: absolute; top: 24px; right: 24px; color: #fff; font-size: 14px; font-weight: 400; }
.solution-list article .solution-card-media > span { z-index: 3; pointer-events: none; }
.solution-list article .solution-card-copy { position: relative; z-index: 3; pointer-events: none; }
.home-insight-item { cursor: pointer; }
.home-insight-item .insight-number,
.home-insight-item h3,
.home-insight-item p,
.home-insight-item .home-insight-arrow { pointer-events: none; }
.home-insight-item .blog-meta { position: relative; z-index: 2; }
.home-insight-item .blog-meta a { position: relative; z-index: 3; }
.blog-article-media img { width: 100%; height: 100%; object-fit: cover; }
.product-category-page { padding: 0 max(5vw,40px) 92px; background: #f3f6f7; }
.product-category-hero { padding: 92px max(2vw,20px) 64px; }
.product-category-hero h1 { margin: 0; color: #17384b; font-size: var(--type-page-title); font-weight: 500; letter-spacing: -.04em; }
.product-category-hero > p:last-child { max-width: 780px; margin: 24px 0 0; color: #657985; font-size: var(--type-body); }
.product-category-toolbar { display: flex; justify-content: space-between; padding: 18px 24px; border: 1px solid #cad9de; border-bottom: 0; color: #657985; background: #fff; font-size: 13px; }
.product-category-toolbar a { color: #155f89; font-weight: 700; }
.product-subcategory { margin-top: 58px; }
.product-category-toolbar + .product-subcategory { margin-top: 0; }
.product-subcategory-heading { display: grid; grid-template-columns: minmax(260px,.8fr) minmax(360px,1.2fr); gap: 18px 72px; align-items: end; padding: 52px 24px 30px; border: 1px solid #cad9de; border-bottom: 0; background: #fff; }
.product-subcategory-heading .eyebrow { grid-column: 1 / -1; margin: 0; }
.product-subcategory-heading h2 { margin: 0; color: #17384b; font-size: var(--type-section-title); font-weight: 500; letter-spacing: -.03em; }
.product-subcategory-heading > p:last-child { margin: 0 0 4px; color: #657985; font-size: var(--type-body); line-height: 1.8; }
.product-card-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.product-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #cad9de; border-right: 0; background: #fff; }
.product-card:nth-child(3n) { border-right: 1px solid #cad9de; }
.product-card-media { display: grid; place-items: center; min-height: 310px; padding: 22px; overflow: hidden; background: #e7eef1; }
.product-card-media img { width: 100%; height: 270px; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s; }
.product-card:hover .product-card-media img { transform: scale(1.035); }
.product-card-copy { display: flex; flex: 1; flex-direction: column; padding: 28px 24px 30px; }
.product-card-copy > div:first-child { display: flex; justify-content: space-between; gap: 20px; color: #178258; font-size: 11px; }
.product-card-copy small { color: #78909a; font-family: monospace; letter-spacing: .1em; }
.product-card-copy h2 { margin: 25px 0 12px; color: #17384b; font-size: 24px; line-height: 1.35; }
.product-card-copy h3 { margin: 0 0 13px; color: #274f64; font-size: 14px; line-height: 1.65; }
.product-card-copy p { margin: 0 0 28px; color: #657985; font-size: var(--type-body); }
.product-card-link { margin-top: auto; color: #17384b; font-size: 13px; font-weight: 700; }
.product-card-link span { margin-left: 18px; color: #178258; }
.catalog-directory-layout .product-card { min-height: 100%; border: 1px solid #d4dfe3; border-right: 1px solid #d4dfe3; overflow: hidden; transform: none; }
.catalog-directory-layout .product-card-media { aspect-ratio: 1.16; width: 100%; min-height: 0; padding: 0; border-bottom: 1px solid #d4dfe3; background: #e9eff1; }
.catalog-directory-layout .product-card-media img { width: 100%; height: 100%; padding: 22px; object-fit: contain; mix-blend-mode: multiply; filter: none; }
.catalog-directory-layout .product-card-copy { flex: 1; justify-content: flex-start; padding: 25px 22px 27px !important; }
.catalog-directory-layout .product-card-copy > .catalog-meta { gap: 12px; }
.catalog-directory-layout .product-card-copy > .catalog-meta > span { color: #157652; letter-spacing: .08em; background: transparent; padding: 0; }
.catalog-directory-layout .product-card-copy h3 { color: #17384b; margin: 20px 0 10px; }
.catalog-directory-layout .product-card-copy > b { color: #315469; font-size: var(--type-body); line-height: 1.7; }
.catalog-directory-layout .product-card-copy p { color: #657985; margin: 12px 0 0; }
.catalog-directory-layout .product-card-link { color: #17384b; border-bottom: 0; margin-top: auto; padding-top: 23px; }

@media (max-width: 1000px) {
  .desktop-nav, .site-header .nav-cta { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .wp-home-placeholder, .solution-wp-hero { grid-template-columns: 1fr; }
  .wp-home-placeholder > img { min-height: 440px; }
  .solution-wp-image img { min-height: 420px; }
}
@media (max-width: 620px) {
  .site-header .header-brand img { width: 150px; }
  .wp-content-shell { padding: 60px 22px; }
  .solution-archive-grid { grid-template-columns: 1fr; }
  .product-card-grid { grid-template-columns: repeat(2,1fr); }
  .product-card:nth-child(3n) { border-right: 0; }
  .product-card:nth-child(2n) { border-right: 1px solid #cad9de; }
  .wp-home-placeholder > div { padding: 62px 24px; }
  .wp-home-placeholder h1 { font-size: 48px; }
  .product-category-page { padding: 0 14px 60px; }
  .product-category-hero { padding: 64px 8px 44px; }
  .product-category-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; }
  .product-subcategory { margin-top: 34px; }
  .product-subcategory-heading { grid-template-columns: 1fr; padding: 38px 20px 24px; }
  .product-subcategory-heading .eyebrow { grid-column: auto; }
  .product-card-grid { grid-template-columns: 1fr; }
  .product-card,.product-card:nth-child(2n),.product-card:nth-child(3n) { border-right: 1px solid #cad9de; }
}

/* Keep homepage section headers and product-line cards visually concise. */
.section-heading > p,
.portfolio-models { display: none; }

/* Compact specification filters for the body-camera catalogue. */
.catalog-spec-filter { border-top: 1px solid #cad9de; padding-top: 18px; }
.catalog-spec-filter p { color: #17384b; margin: 0; padding: 14px 0 7px; font-size: var(--type-label); font-weight: 700; }
.catalog-spec-filter button { display: block; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid #d5e0e4; color: #58717d; background: transparent; text-align: left; font-size: var(--type-body); cursor: pointer; }
.catalog-spec-filter button:hover, .catalog-spec-filter button:focus-visible { color: #155f89; }
.catalog-spec-filter button.is-active { color: #155f89; font-weight: 700; }
.catalog-grid article.is-filter-hidden { display: none; }
.catalog-group.is-filter-empty { display: none; }

.product-category-hero { position: relative; min-height: 500px; overflow: hidden; background: linear-gradient(90deg, #eef2f3 0%, #eef2f3 53%, #e5edef 53%, #e5edef 100%); }
.product-category-hero > div:first-child { max-width: none !important; padding-left: max(7vw, 90px) !important; padding-right: 48vw !important; }
.product-category-hero:after { content: ""; position: absolute; width: 58vw; height: 58vw; max-width: 860px; max-height: 860px; right: -12vw; top: -22vw; border: 1px solid #155f8918; border-radius: 50%; box-shadow: 0 0 0 90px #155f8908, 0 0 0 180px #155f8905; pointer-events: none; }
.product-category-hero-visual { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 48%; margin: 0; display: grid; place-items: center; pointer-events: none; }
.product-category-hero-visual:before { content: ""; position: absolute; width: 80%; height: 76%; border: 1px solid #ffffffb8; background: linear-gradient(145deg, #edf3f4, #dfe9eb); box-shadow: 0 30px 60px #17384b1a; }
.product-category-hero-visual span { position: absolute; z-index: 2; top: 17%; right: 14%; color: #5e7884; font: 10px var(--font-mono); letter-spacing: .14em; }
.product-category-hero-image { position: relative; z-index: 1; width: 78%; height: 88%; max-height: 440px; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(24px 30px 22px #183a4a3b); }
.product-category-hero-visual.is-render { width: 50%; }
.product-category-hero-visual.is-render:before { width: 100%; height: 100%; border: 0; background: #e9eff1; box-shadow: none; }
.product-category-hero-visual.is-render .product-category-hero-image { width: 100%; height: 100%; max-height: none; object-fit: cover; mix-blend-mode: normal; filter: none; }
.product-category-hero-visual.is-render span { top: 10%; right: 7%; color: #5e7884; }
.catalog-sidebar-filter-title { margin-top: 42px !important; }
.catalog-spec-filter + .catalog-spec-filter { margin-top: 20px; }

/* Keep the form action area aligned with the map frame while the two columns sit side by side. */
@media (min-width: 981px) {
  .contact-workspace {
    grid-template-columns: minmax(0, 2fr) minmax(300px, .72fr);
    gap: clamp(42px, 4vw, 64px);
  }
  .contact-location-heading h2 {
    font-size: 20px !important;
    line-height: 1.3 !important;
    letter-spacing: -.055em !important;
    white-space: nowrap;
  }
  .contact-form-actions { height: 278px; align-items: flex-start; padding-top: 0; }
}

@media (max-width: 980px) {
  .contact-location-heading h2 {
    font-size: clamp(20px, 4vw, 24px) !important;
    letter-spacing: -.05em !important;
    white-space: nowrap;
  }
}

.contact-google-map iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.bitstar-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.contact-form-actions { flex-wrap: wrap; }
.contact-form-actions button:disabled { cursor: wait; opacity: .72; }
.form-status { flex: 1 1 260px; margin: 0; color: #58717d; font-size: var(--type-label); line-height: 1.6; }
.form-status.is-success { color: #178258; }
.form-status.is-error { color: #a43d32; }

/* Separate the homepage FAQ and CTA sections without enlarging the CTA card. */
body.home .contact {
  padding-top: 65px;
  padding-bottom: 65px;
  margin-top: 128px;
  margin-bottom: 0;
}

/* Give the homepage FAQ a distinct navy closing band. */
.faq-section {
  color: #fff;
  background: #0b3550;
  border-top: 1px solid #0b3550;
}
.faq-section .eyebrow { color: #a9c0ca; }
.faq-section .section-heading h2 { color: #fff !important; }
.faq-section .section-heading > p { color: #a9c0ca; }
.faq-section .faq-list { border-top-color: #34566a; }
.faq-section .faq-item { border-bottom-color: #34566a; }
.faq-section .faq-item > span { color: #76c493; }
.faq-section .faq-item h3 { color: #fff !important; }
.faq-section .faq-item p { color: #a9c0ca; }

@media (max-width: 900px) {
  .product-category-hero { min-height: 420px; background: #eef2f3; }
  .product-category-hero > div:first-child { padding-left: 28px !important; padding-right: 28px !important; }
  .product-category-hero-visual { opacity: .24; right: -8vw; width: 72vw; }
  .product-category-hero:after { right: -24vw; }
}
