:root {
  --container-width: 1200px;
  --color-primary: #1a5cff;
  --color-primary-dark: #003ecf;
  --color-accent: #00a7d9;
  --color-success: #16a34a;
  --color-bg: #ffffff;
  --color-bg-soft: #f6f8fb;
  --color-bg-dark: #07111f;
  --color-text-main: #101828;
  --color-text-secondary: #5f6673;
  --color-text-muted: #667085;
  --color-text-light: #ffffff;
  --color-border: #e5eaf0;
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --radius-pill: 999px;
  --shadow-card: 0 18px 42px rgba(16, 24, 40, 0.08);
  --shadow-soft: 0 10px 28px rgba(16, 24, 40, 0.06);
  --font-sans: "Inter", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Inter", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --smartxy-font-main: var(--font-sans);

  --blue: var(--color-primary);
  --blue2: var(--color-primary);
  --azure: var(--color-accent);
  --ink: var(--color-text-main);
  --ink-2: #344054;
  --ink-3: var(--color-text-secondary);
  --muted: var(--color-text-secondary);
  --bg: var(--color-bg);
  --soft: var(--color-bg-soft);
  --line: var(--color-border);
  --line-2: var(--color-border);
  --card: #ffffff;
  --shadow: var(--shadow-card);
  --radius: var(--radius-lg);
  --r: var(--radius-lg);
  --r-lg: var(--radius-lg);
  --max: var(--container-width);
  --wrap: var(--container-width);
  --accent: var(--color-primary);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--color-text-main);
  background: var(--color-bg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:where(
  body,
  body *:not(svg):not(svg *),
  input,
  select,
  textarea,
  button
) {
  font-family: var(--font-sans) !important;
}

body:not(.news-page) {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 44%, #ffffff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

input,
select,
textarea,
button {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  color: var(--color-text-main);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0 !important;
}

h1 {
  font-size: clamp(38px, 5.1vw, 56px) !important;
  line-height: 1.12 !important;
}

h2 {
  font-size: clamp(28px, 3.4vw, 40px) !important;
  line-height: 1.2 !important;
}

h3 {
  font-size: clamp(20px, 2vw, 24px) !important;
  line-height: 1.35 !important;
}

p {
  color: var(--color-text-secondary);
  line-height: 1.75;
}

.container,
.wrap,
.news-header,
.news-main {
  width: 100%;
  max-width: var(--container-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.section,
.sec,
.uc,
.product-spec-section {
  padding-top: 88px !important;
  padding-bottom: 88px !important;
}

.section.soft,
.sec-soft,
.section-soft,
.product-text-layer,
.product-spec-section {
  background: var(--color-bg-soft) !important;
}

.section.ink,
.section-dark {
  background: var(--color-bg-dark) !important;
  color: #ffffff !important;
}

.section.ink p,
.section-dark p {
  color: rgba(255, 255, 255, 0.74) !important;
}

.page-title,
.hero:not(.uc-hero):not(.news-hero) {
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%) !important;
}

.page-title {
  padding: 92px 0 52px !important;
}

.hero-in,
.hero-grid {
  gap: 56px !important;
}

.hero-in {
  padding-top: 96px !important;
  padding-bottom: 88px !important;
}

.hero-copy {
  max-width: 760px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.hero h1,
.page-title h1,
.product-text-layer h1,
.news-hero-copy h1,
.detail-hero h1 {
  max-width: 18ch;
  margin-bottom: 22px !important;
}

.lead,
.sub,
.section p.sub,
.sec-head .sub,
.section-heading p {
  max-width: 720px;
  color: var(--color-text-secondary) !important;
  font-size: clamp(16px, 1.4vw, 18px) !important;
  line-height: 1.72 !important;
}

.section-head,
.sec-head,
.section-heading {
  max-width: 760px !important;
  margin-bottom: 48px !important;
}

.section-head {
  align-items: end;
}

.sec-head.center,
.section-heading {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.eyebrow,
.section-label,
.label,
.panel-label,
.uc-tag,
.summary-label,
.breadcrumbs,
.crumbs,
.k,
.lab {
  color: var(--color-primary) !important;
  font-family: var(--font-mono);
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
}

.eyebrow {
  background: rgba(26, 92, 255, 0.08) !important;
  border-radius: var(--radius-pill) !important;
  padding: 8px 12px !important;
}

.eyebrow::before {
  background: var(--color-primary) !important;
}

.grid-2,
.g2,
.hero-grid,
.uc-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 48px !important;
  align-items: center;
}

.grid-3,
.g3,
.product-grid,
.news-grid,
.solution-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
}

.grid-4,
.g4,
.stats,
.stats-grid,
.news-summary {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.btn,
.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-accent,
.h-herobtn,
.h-accentbtn,
.h-navcta,
.btn-dark,
.btn-quote,
a.nav-cta,
.card-cta,
button[type="submit"],
.news-search button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  border-radius: var(--radius-pill) !important;
  padding: 0 24px !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
}

.btn.primary,
.btn-primary,
.btn-accent,
.h-herobtn,
.h-accentbtn,
.h-navcta,
.btn-dark,
.btn-quote,
button[type="submit"],
.news-search button {
  border: 1px solid var(--color-primary) !important;
  background: var(--color-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(26, 92, 255, 0.18) !important;
}

.btn.primary:hover,
.btn-primary:hover,
.btn-accent:hover,
.h-herobtn:hover,
.h-accentbtn:hover,
.h-navcta:hover,
.btn-dark:hover,
.btn-quote:hover,
button[type="submit"]:hover,
.news-search button:hover {
  background: var(--color-primary-dark) !important;
  transform: translateY(-2px) !important;
}

.btn:not(.primary):not(.dark):not(.btn-primary):not(.btn-accent),
.btn-secondary,
.btn-ghost,
.h-ghost,
.link-explore,
.news-nav a,
.anchor-grid a {
  border: 1px solid var(--color-border) !important;
  background: #ffffff !important;
  color: var(--color-text-main) !important;
  box-shadow: none !important;
}

.btn:not(.primary):not(.dark):not(.btn-primary):not(.btn-accent):hover,
.btn-secondary:hover,
.btn-ghost:hover,
.h-ghost:hover,
.link-explore:hover,
.anchor-grid a:hover {
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
}

.card,
.qcard,
.product-card,
.feature-card,
.solution-card,
.stat,
.stat-item,
.fact,
.model,
.stage,
.flow-step,
.cap-card,
.platform,
.answer,
.aeo-summary,
.faq-lite,
.compliance-note,
.feature-panel,
.hero-panel-card,
.summary-card,
.news-card,
.article-card,
.detail-aside .sticky-card,
.detail-hero,
.news-toolbar,
.image-panel,
.uc-shell,
.market-card,
.portrait-card {
  overflow: hidden;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-lg) !important;
  background: #ffffff !important;
  box-shadow: var(--shadow-soft) !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.card:hover,
.qcard:hover,
.product-card:hover,
.feature-card:hover,
.solution-card:hover,
.stat:hover,
.stat-item:hover,
.model:hover,
.stage:hover,
.flow-step:hover,
.cap-card:hover,
.platform:hover,
.hero-panel-card:hover,
.summary-card:hover,
.news-card:hover,
.article-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(26, 92, 255, 0.28) !important;
  box-shadow: var(--shadow-card) !important;
}

.product-card,
.news-card {
  padding: 0 !important;
}

.product-card img,
.product-image,
.article-cover img,
.news-card img,
.image-panel img,
.uc-shot img,
.market-card img {
  width: 100% !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--color-bg-soft);
}

.image-panel img,
.image-panel video {
  height: 100%;
  object-fit: cover;
}

.ar99-pro-video-embed {
  overflow: hidden !important;
}

.ar99-pro-video-embed video {
  width: 79.2% !important;
  height: 64.5% !important;
  max-width: none !important;
}

.product-body,
.product-card-body,
.news-card-body,
.article-card,
.hero-panel-card {
  padding: 24px !important;
}

.pill,
.chip,
.product-tags span,
.platform-strip span,
.news-hero-stats span,
.detail-meta span,
.keyword-list span {
  display: inline-flex !important;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-pill) !important;
  background: #f2f5fa !important;
  color: #475467 !important;
  padding: 6px 11px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.chip.active,
.pill.active {
  border-color: rgba(26, 92, 255, 0.3) !important;
  background: rgba(26, 92, 255, 0.1) !important;
  color: var(--color-primary) !important;
}

.stat,
.stat-item,
.summary-card {
  padding: 28px 22px !important;
  text-align: center;
}

.stat b,
.stat strong,
.stat .num,
.stat-item strong,
.summary-value,
.ipstat .big {
  display: block;
  color: var(--color-primary) !important;
  font-size: clamp(30px, 3.2vw, 42px) !important;
  line-height: 1 !important;
  margin-bottom: 10px;
}

table,
.table,
.sku-table,
.spec-table,
.status-table {
  width: 100%;
  overflow: hidden;
  border-collapse: separate !important;
  border-spacing: 0;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-lg) !important;
  background: #ffffff !important;
  box-shadow: var(--shadow-soft) !important;
}

th,
td,
.table th,
.table td,
.sku-table th,
.sku-table td,
.spec-table th,
.spec-table td {
  padding: 16px !important;
  border-bottom: 1px solid var(--color-border) !important;
  color: #475467 !important;
  text-align: left;
  vertical-align: top;
}

th,
.table th,
.sku-table th,
.spec-table th {
  background: #f2f6ff !important;
  color: var(--color-text-main) !important;
  font-weight: 800 !important;
}

.rfq-form input,
.rfq-form select,
.rfq-form textarea,
.form-control,
.h-field,
.news-search input,
input,
select,
textarea {
  min-height: 48px;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-sm) !important;
  background: #ffffff !important;
  color: var(--color-text-main) !important;
  padding: 12px 16px !important;
  outline: none;
}

textarea,
textarea.form-control,
.rfq-form textarea {
  min-height: 140px;
  padding-top: 14px !important;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.h-field:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(26, 92, 255, 0.14) !important;
}

.topbar,
.site-header,
header.site,
.header,
.news-header {
  position: sticky !important;
  top: 0;
  z-index: 1000 !important;
  min-height: 72px;
  background: rgba(255, 255, 255, 0.9) !important;
  color: var(--color-text-main) !important;
  border-bottom: 1px solid rgba(229, 234, 240, 0.9) !important;
  backdrop-filter: blur(16px);
}

.nav,
.site-header .nav,
.news-header {
  min-height: 72px;
  align-items: center;
}

.brand,
.news-brand,
.site-header .brand {
  color: var(--color-text-main) !important;
  font-weight: 800 !important;
}

.header .brand-text strong {
  color: var(--color-text-main) !important;
}

.header .brand-text span {
  color: var(--color-text-secondary) !important;
}

.brand-mark,
.brand-xy,
.news-brand-mark,
.site-header .brand-mark {
  border-radius: var(--radius-sm) !important;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent)) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.navlinks,
.nav-links,
.news-nav,
.site-header .navlinks {
  gap: 8px !important;
  color: #344054 !important;
}

.navlinks a,
.nav-links a,
.news-nav a,
.site-header .navlinks a {
  width: auto !important;
  padding: 9px 11px !important;
  border: 0 !important;
  border-radius: var(--radius-sm) !important;
  color: #344054 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

.navlinks a:hover,
.navlinks a.active,
.nav-links a:hover,
.nav-links a.active,
.news-nav a:hover,
.news-nav a.active,
.site-header .navlinks a:hover,
.site-header .navlinks a.active {
  background: rgba(26, 92, 255, 0.08) !important;
  color: var(--color-primary) !important;
}

.navlinks a.nav-cta,
a.nav-cta,
header.site .nav-cta.btn-accent {
  border-color: var(--color-primary) !important;
  background: var(--color-primary) !important;
  color: #ffffff !important;
}

.navlinks a.nav-cta:hover,
a.nav-cta:hover,
header.site .nav-cta.btn-accent:hover {
  background: var(--color-primary-dark) !important;
  color: #ffffff !important;
}

.menu-btn {
  min-height: 44px;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-sm) !important;
  background: #ffffff !important;
  color: var(--color-text-main) !important;
  padding: 9px 12px !important;
  font-weight: 800;
}

.footer,
.site-footer,
footer.site,
footer[data-site-footer] {
  background: var(--color-bg-dark) !important;
  color: rgba(255, 255, 255, 0.72) !important;
  padding: 72px 0 32px !important;
}

.footer h3,
.site-footer h3,
footer.site h3,
footer.site h4,
.footer b,
.site-footer b {
  color: #ffffff !important;
}

.footer p,
.site-footer p,
footer.site p,
.footer a,
.site-footer a,
footer.site a {
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}

.footer a:hover,
.site-footer a:hover,
footer.site a:hover {
  color: #ffffff !important;
}

.footer-grid,
.foot-grid,
.site-footer .footer-grid {
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1.2fr !important;
  gap: 48px !important;
}

.copyright,
.foot-bottom,
.site-footer .copyright {
  color: rgba(255, 255, 255, 0.5) !important;
}

.cta,
.band {
  padding-top: 88px !important;
  padding-bottom: 88px !important;
}

.band,
.cta-box {
  border-radius: var(--radius-lg) !important;
  background: linear-gradient(135deg, #0b1b3a, var(--color-bg-dark)) !important;
  color: #ffffff !important;
  box-shadow: var(--shadow-card) !important;
}

.band h2,
.cta-box h2 {
  color: #ffffff !important;
}

.band p,
.cta-box p {
  color: rgba(255, 255, 255, 0.76) !important;
}

.news-page {
  --accent: var(--color-primary);
  background: var(--color-bg-soft) !important;
  font-family: var(--font-sans) !important;
}

.news-hero {
  gap: 28px !important;
}

.news-hero-copy {
  background: var(--color-bg-dark) !important;
}

.news-hero-copy p {
  color: rgba(255, 255, 255, 0.76) !important;
}

@media (max-width: 992px) {
  .grid-3,
  .g3,
  .product-grid,
  .news-grid,
  .solution-grid,
  .grid-4,
  .g4,
  .stats,
  .stats-grid,
  .news-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 36px !important;
  }

  h2 {
    font-size: 28px !important;
  }

  h3 {
    font-size: 20px !important;
  }

  p {
    font-size: 15px;
    line-height: 1.7;
  }

  .container,
  .wrap,
  .news-header,
  .news-main {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .section,
  .sec,
  .uc,
  .product-spec-section,
  .cta {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .hero-in,
  .page-title {
    padding-top: 72px !important;
    padding-bottom: 64px !important;
  }

  .grid-2,
  .g2,
  .hero-grid,
  .uc-hero-grid,
  .grid-3,
  .g3,
  .product-grid,
  .news-grid,
  .solution-grid,
  .grid-4,
  .g4,
  .stats,
  .stats-grid,
  .news-summary,
  .footer-grid,
  .foot-grid,
  .site-footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  header.site .wrap.nav {
    max-width: 100% !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    gap: 12px !important;
  }

  header.site .brand {
    min-width: 0;
    flex: 1 1 auto;
    margin-right: 0;
  }

  header.site .brand-tx {
    min-width: 0;
  }

  header.site .brand-tx small {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  header.site a.nav-cta {
    display: none !important;
  }

  header.site .menu-btn {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .header .nav {
    width: min(100% - 28px, 1240px) !important;
    max-width: calc(100% - 28px) !important;
    padding: 10px 12px !important;
    gap: 10px !important;
  }

  .header .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .header .brand-text {
    min-width: 0;
  }

  .header .brand-text span {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .header .nav-cta {
    flex: 0 0 auto;
    gap: 8px !important;
  }

  .header .nav-cta .desktop-only {
    display: none !important;
  }

  .header .menu-btn {
    width: 44px !important;
    min-width: 44px !important;
    flex: 0 0 44px;
    padding: 0 !important;
  }

  .section-head,
  .sec-head,
  .section-heading {
    margin-bottom: 36px !important;
    text-align: left !important;
  }

  .sec-head.center,
  .section-heading {
    text-align: left !important;
  }

  .hero-actions,
  .hero-cta,
  .news-search {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-ghost,
  .btn-accent,
  .h-herobtn,
  .h-accentbtn,
  .h-navcta,
  .btn-dark,
  .btn-quote,
a.nav-cta,
  button[type="submit"],
  .news-search button {
    width: 100% !important;
  }

  .navlinks,
  .nav-links,
  .site-header .navlinks {
    top: 72px !important;
    left: 18px !important;
    right: 18px !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-card) !important;
  }

  th,
  td,
  .table th,
  .table td,
  .sku-table th,
  .sku-table td,
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100% !important;
  }
}

@media (max-width: 560px) {
  .grid-4,
  .g4,
  .stats,
  .stats-grid,
  .news-summary {
    grid-template-columns: 1fr !important;
  }

  .card,
  .qcard,
  .product-body,
  .product-card-body,
  .news-card-body,
  .hero-panel-card {
    padding: 20px !important;
  }

  body > div[style*="overflow-x:hidden"] > div:first-child {
    flex-wrap: wrap !important;
    white-space: normal !important;
    row-gap: 6px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body > div[style*="overflow-x:hidden"] > div:first-child .bar-link {
    white-space: nowrap !important;
  }

  body > div[style*="overflow-x:hidden"] > nav > div {
    gap: 12px !important;
    justify-content: center !important;
  }

  body > div[style*="overflow-x:hidden"] > header#top {
    grid-template-columns: minmax(0, 1fr) !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  body > div[style*="overflow-x:hidden"] > header#top > * {
    min-width: 0 !important;
  }
}

/* Homepage product showcase */
#products.home-products {
  max-width: 1360px !important;
  padding-top: clamp(78px, 8vw, 112px) !important;
}

#products.home-products > div:first-child {
  align-items: end !important;
  gap: 36px !important;
  margin-bottom: 44px !important;
}

#products.home-products .home-products-tier {
  margin: 40px 0 14px !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(10, 20, 35, 0.14) !important;
  color: #766f63 !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
}

#products.home-products .home-product-grid {
  display: grid !important;
  align-items: stretch !important;
  gap: 20px !important;
}

#products.home-products .g2,
#products.home-products .g3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

#products.home-products .g4 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

#products.home-products .home-product-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-width: 0 !important;
  padding: 20px !important;
  border: 1px solid #dedbd0 !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #08111f !important;
  text-decoration: none !important;
  box-shadow: 0 18px 42px rgba(15, 24, 36, 0.08) !important;
  overflow: hidden !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

#products.home-products .home-product-card > div:first-child {
  min-height: 48px !important;
  gap: 14px !important;
}

#products.home-products .home-product-card > div:first-child > div:first-child > div:first-child {
  font-size: 10.5px !important;
  line-height: 1.25 !important;
  letter-spacing: 0.11em !important;
}

#products.home-products .home-product-card > div:first-child > div:first-child > div:last-child {
  margin-top: 5px !important;
  font-size: clamp(22px, 2.1vw, 27px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.025em !important;
}

#products.home-products .home-product-card > div:first-child > div:last-child {
  flex: 0 0 auto !important;
  font-size: 10.5px !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
}

#products.home-products .home-product-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(61, 98, 255, 0.36) !important;
  box-shadow: 0 24px 52px rgba(15, 24, 36, 0.13) !important;
}

#products.home-products .home-product-media {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1.92 / 1 !important;
  margin: 16px 0 14px !important;
  border: 1px solid #dfdcd0 !important;
  border-radius: 6px !important;
  background: linear-gradient(180deg, #f5f4ee 0%, #ece9df 100%) !important;
  overflow: hidden !important;
}

#products.home-products .home-product-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: var(--home-product-image-pad, 12px) !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(var(--home-product-image-scale, 0.9)) !important;
  transform-origin: center center !important;
}

#products.home-products .home-product-card > p {
  flex: 1 1 auto !important;
  margin-bottom: 14px !important;
  color: #253042 !important;
  font-size: 12.8px !important;
  line-height: 1.52 !important;
}

#products.home-products .home-product-card > div:last-child {
  margin-top: auto !important;
  padding-top: 11px !important;
  border-top: 1px solid rgba(10, 20, 35, 0.1) !important;
  color: #5f6875 !important;
  font-size: 10.5px !important;
  line-height: 1.35 !important;
}

#products.home-products .home-product-card[data-product="audio"] {
  --home-product-image-scale: 0.98;
  --home-product-image-pad: 8px;
}

#products.home-products .home-product-card[data-product="k900"] {
  --home-product-image-scale: 0.88;
  --home-product-image-pad: 14px;
}

#products.home-products .home-product-card[data-product="nudge"] {
  --home-product-image-scale: 0.92;
  --home-product-image-pad: 10px;
}

#products.home-products .home-product-card[data-product="ar99"] {
  --home-product-image-scale: 1.02;
  --home-product-image-pad: 8px;
}

#products.home-products .home-product-card[data-product="ar99-style"] {
  --home-product-image-scale: 1;
  --home-product-image-pad: 10px;
}

#products.home-products .home-product-card[data-product="ar99-pro"] {
  --home-product-image-scale: 0.9;
  --home-product-image-pad: 14px;
}

#products.home-products .home-product-card[data-product="c100"] {
  --home-product-image-scale: 0.98;
  --home-product-image-pad: 8px;
}

#products.home-products .home-product-card[data-product="bb-medical"],
#products.home-products .home-product-card[data-product="confidant"],
#products.home-products .home-product-card[data-product="falcon"] {
  --home-product-image-scale: 0.92;
  --home-product-image-pad: 12px;
}

@media (max-width: 1180px) {
  #products.home-products .g2,
  #products.home-products .g3,
  #products.home-products .g4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  #products.home-products {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  #products.home-products > div:first-child {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-bottom: 34px !important;
  }

  #products.home-products .g2,
  #products.home-products .g3,
  #products.home-products .g4 {
    grid-template-columns: 1fr !important;
  }

  #products.home-products .home-product-card {
    padding: 20px !important;
  }

  #products.home-products .home-products-tier {
    margin-top: 36px !important;
  }
}

/* Global Typography & UI Consistency Layer
   Scope: text rhythm, component typography, buttons and links only.
   This layer intentionally avoids grid, image sizing and module-order rules. */
:root {
  --type-font-sans: "Inter", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --type-font-display: var(--type-font-sans);
  --type-font-meta: var(--type-font-sans);
  --type-size-body: 16px;
  --type-size-body-sm: 14px;
  --type-size-caption: 12px;
  --type-size-button: 14px;
  --type-line-body: 1.66;
  --type-line-tight: 1.18;
  --type-line-heading: 1.16;
  --type-line-subhead: 1.34;
  --type-line-caption: 1.48;
  --type-weight-regular: 400;
  --type-weight-medium: 500;
  --type-weight-semibold: 650;
  --type-weight-bold: 750;
  --type-weight-heavy: 850;
  --type-h1: clamp(40px, 5vw, 64px);
  --type-h2: clamp(30px, 3.3vw, 44px);
  --type-h3: clamp(21px, 2vw, 28px);
  --type-h4: clamp(17px, 1.35vw, 20px);
  --type-lead: clamp(17px, 1.35vw, 20px);
  --type-paragraph-gap: 0.86em;
  --type-list-gap: 0.44em;
  --button-radius: 999px;
  --button-pad-x: 20px;
  --button-pad-y: 11px;
  --button-min-height: 44px;
}

:where(html) {
  font-size: 16px;
}

:where(body, input, select, textarea, button) {
  font-family: var(--type-font-sans) !important;
  font-size: var(--type-size-body);
  font-weight: var(--type-weight-regular);
  line-height: var(--type-line-body);
  letter-spacing: 0 !important;
}

:where(body *:not(svg):not(svg *)) {
  font-family: var(--type-font-sans) !important;
  letter-spacing: 0 !important;
}

:where(h1, h2, h3, h4, .headline, .section-title, .section-heading h2, .sec-head h2, .audio-section-head h2, .uc-title, .hero-title, .page-title h1) {
  font-family: var(--type-font-display) !important;
  font-weight: var(--type-weight-heavy) !important;
  letter-spacing: 0 !important;
  color: inherit;
}

:where(h1, .hero h1, .page-title h1, .product-text-layer h1, .news-hero-copy h1, .detail-hero h1) {
  font-size: var(--type-h1) !important;
  line-height: var(--type-line-tight) !important;
}

:where(h2, .headline, .section-heading h2, .sec-head h2, .audio-section-head h2, .cta-box h2) {
  font-size: var(--type-h2) !important;
  line-height: var(--type-line-heading) !important;
}

:where(h3, .card h3, .feature-card h3, .product-card h3, .faq-lite h2, .site-footer h3) {
  font-size: var(--type-h3) !important;
  line-height: var(--type-line-subhead) !important;
}

:where(h4, .card h4, .panel-title, .feature-panel h4) {
  font-size: var(--type-h4) !important;
  line-height: 1.38 !important;
  font-weight: var(--type-weight-bold) !important;
}

:where(p, li, td, th, label, summary, blockquote, .lead, .sub, .caption, figcaption, .site-footer p, .site-footer a) {
  line-height: var(--type-line-body) !important;
}

:where(p, .lead, .sub, .section-heading p, .sec-head p, .audio-section-head p) {
  font-weight: var(--type-weight-regular) !important;
}

:where(.lead, .sub, .section p.sub, .sec-head .sub, .section-heading p, .hero-copy p, .audio-section-head p) {
  font-size: var(--type-lead) !important;
  line-height: 1.62 !important;
}

:where(p + p) {
  margin-top: var(--type-paragraph-gap);
}

:where(ul, ol) {
  line-height: var(--type-line-body) !important;
}

:where(li + li) {
  margin-top: var(--type-list-gap);
}

:where(small, figcaption, caption, .caption, .meta, .kicker, .audio-kicker, .eyebrow, .section-label, .label, .panel-label, .summary-label, .breadcrumbs, .crumbs, .home-products-tier) {
  font-family: var(--type-font-meta) !important;
  font-size: var(--type-size-caption) !important;
  font-weight: var(--type-weight-bold) !important;
  line-height: var(--type-line-caption) !important;
  letter-spacing: 0 !important;
}

:where(.eyebrow, .section-label, .label, .panel-label, .summary-label, .breadcrumbs, .crumbs) {
  text-transform: uppercase;
}

:where(a) {
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

:where(a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-ghost):not(.btn-accent):not(.nav-cta):not(.search-btn):not(.card):not(.home-product-card):not(.product-card):not(.news-card):not(.article-card)):hover {
  color: var(--color-primary) !important;
}

:where(.btn, .btn-primary, .btn-secondary, .btn-ghost, .btn-accent, .btn-dark, .btn-quote, .h-herobtn, .h-accentbtn, .h-navcta, a.nav-cta, .card-cta, .site-header .search-btn, button[type="submit"], .news-search button) {
  min-height: var(--button-min-height) !important;
  border-radius: var(--button-radius) !important;
  padding: var(--button-pad-y) var(--button-pad-x) !important;
  font-family: var(--type-font-sans) !important;
  font-size: var(--type-size-button) !important;
  font-weight: var(--type-weight-bold) !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

:where(.site-header, .site-header *, .site-footer, .site-footer *) {
  font-family: var(--type-font-sans) !important;
  letter-spacing: 0 !important;
}

:where(.site-header .navlinks a, .navlinks a, .nav-links a, .news-nav a) {
  font-size: 14px !important;
  font-weight: var(--type-weight-semibold) !important;
  line-height: 1.25 !important;
}

:where(.site-footer) {
  font-size: var(--type-size-body-sm) !important;
  line-height: var(--type-line-body) !important;
}

:where(.site-footer h3, .footer h3, footer.site h3, footer.site h4) {
  font-size: 18px !important;
  font-weight: var(--type-weight-bold) !important;
  line-height: 1.34 !important;
}

:where(.site-footer p, .site-footer a, .footer p, .footer a, footer.site p, footer.site a) {
  font-size: 14px !important;
  line-height: 1.68 !important;
}

:where(.card, .qcard, .product-card, .feature-card, .solution-card, .stat, .stat-item, .fact, .model, .stage, .flow-step, .cap-card, .platform, .answer, .aeo-summary, .faq-lite, .compliance-note, .feature-panel, .hero-panel-card, .summary-card, .news-card, .article-card, .detail-aside .sticky-card, .detail-hero, .news-toolbar, .image-panel, .uc-shell, .market-card, .portrait-card) {
  font-size: var(--type-size-body-sm);
  line-height: var(--type-line-body);
}

:where(.card p, .qcard p, .product-card p, .feature-card p, .solution-card p, .stat p, .stat-item p, .fact p, .model p, .stage p, .flow-step p, .cap-card p, .platform p, .answer p, .aeo-summary p, .faq-lite p, .compliance-note p, .feature-panel p, .hero-panel-card p, .summary-card p, .news-card p, .article-card p, .market-card p, .portrait-card p) {
  font-size: var(--type-size-body-sm) !important;
  line-height: 1.64 !important;
}

:where(table, .table, .sku-table, .status-table) {
  font-size: var(--type-size-body-sm);
  line-height: 1.56;
}

:where(th) {
  font-weight: var(--type-weight-bold) !important;
}

@media (max-width: 760px) {
  :root {
    --type-size-body: 15px;
    --type-size-body-sm: 14px;
    --type-h1: clamp(34px, 10vw, 44px);
    --type-h2: clamp(26px, 7.2vw, 34px);
    --type-h3: clamp(20px, 5.4vw, 24px);
    --type-lead: 16px;
    --button-min-height: 44px;
    --button-pad-x: 18px;
    --button-pad-y: 11px;
  }

  :where(p, li, td, th, label, summary, blockquote) {
    line-height: 1.68 !important;
  }

  :where(.site-header .navlinks a, .navlinks a, .nav-links a, .news-nav a) {
    font-size: 14px !important;
  }

  :where(main, section, article, aside, header, footer, .container, .wrap, .products-page, .products-page .container, .products-hero-grid, .products-section-head, .program-grid, .hero-grid, .grid-2, .grid-3, .grid-4) {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  :where(.products-hero-grid > *, .products-section-head > *, .hero-grid > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .program-grid > *) {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  :where(h1, h2, h3, h4, p, li, td, th, figcaption, .lead, .sub, .btn, .btn-primary, .btn-secondary, .btn-ghost, .btn-accent) {
    max-width: 100% !important;
    overflow-wrap: break-word;
  }
}

/* Homepage Typography Polish
   Scope: homepage text rhythm and controls only. Layout, media sizing,
   module order and brand colors are intentionally untouched. */
:root {
  --home-type-h1: clamp(40px, 5vw, 64px);
  --home-type-h2: clamp(30px, 3.2vw, 44px);
  --home-type-h3: clamp(21px, 2vw, 28px);
  --home-type-h4: clamp(17px, 1.4vw, 20px);
  --home-type-body: clamp(15.5px, 1.08vw, 17px);
  --home-type-card: 13.5px;
  --home-type-caption: 12px;
  --home-line-body: 1.66;
  --home-line-card: 1.58;
  --home-line-heading: 1.16;
  --home-button-height: 46px;
  --home-button-pad-x: 22px;
}

body > div[style*="overflow-x:hidden"] {
  font-family: var(--type-font-sans) !important;
  text-rendering: optimizeLegibility;
}

body > div[style*="overflow-x:hidden"] :where(h1, h2, h3, h4, summary) {
  font-family: var(--type-font-display) !important;
  font-weight: var(--type-weight-heavy) !important;
  letter-spacing: 0 !important;
}

body > div[style*="overflow-x:hidden"] :where(h1) {
  font-size: var(--home-type-h1) !important;
  line-height: 1.08 !important;
}

body > div[style*="overflow-x:hidden"] :where(h2) {
  font-size: var(--home-type-h2) !important;
  line-height: var(--home-line-heading) !important;
}

body > div[style*="overflow-x:hidden"] :where(h3) {
  font-size: var(--home-type-h3) !important;
  line-height: 1.28 !important;
}

body > div[style*="overflow-x:hidden"] :where(h4) {
  font-size: var(--home-type-h4) !important;
  line-height: 1.36 !important;
}

body > div[style*="overflow-x:hidden"] main > section :where(p) {
  font-size: var(--home-type-body) !important;
  line-height: var(--home-line-body) !important;
  font-weight: var(--type-weight-regular) !important;
}

body > div[style*="overflow-x:hidden"] :where(li, td, th) {
  line-height: var(--home-line-body) !important;
}

body > div[style*="overflow-x:hidden"] :where(
  .home-products-tier,
  .home-product-card > div:first-child div:first-child > div:first-child,
  .home-product-card > div[style*="text-transform:uppercase"],
  small,
  figcaption
) {
  font-family: var(--type-font-meta) !important;
  font-size: var(--home-type-caption) !important;
  font-weight: var(--type-weight-bold) !important;
  line-height: var(--type-line-caption) !important;
  letter-spacing: 0 !important;
}

body > div[style*="overflow-x:hidden"] :where(.home-product-card) {
  font-size: var(--home-type-card) !important;
  line-height: var(--home-line-card) !important;
}

body > div[style*="overflow-x:hidden"] :where(.home-product-card p, .home-product-card li) {
  font-size: var(--home-type-card) !important;
  line-height: var(--home-line-card) !important;
}

body > div[style*="overflow-x:hidden"] :where(.home-product-card strong) {
  font-weight: var(--type-weight-bold) !important;
}

body > div[style*="overflow-x:hidden"] :where(details summary) {
  font-size: clamp(17px, 1.45vw, 20px) !important;
  line-height: 1.36 !important;
  font-weight: var(--type-weight-bold) !important;
}

body > div[style*="overflow-x:hidden"] :where(details p) {
  font-size: 15.5px !important;
  line-height: 1.68 !important;
}

body > div[style*="overflow-x:hidden"] :where(.btn-blue, .btn-line, .cta-blue, .cta-line) {
  min-height: var(--home-button-height) !important;
  border-radius: var(--button-radius) !important;
  padding: 0 var(--home-button-pad-x) !important;
  font-family: var(--type-font-sans) !important;
  font-size: var(--type-size-button) !important;
  font-weight: var(--type-weight-bold) !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body > div[style*="overflow-x:hidden"] :where(.site-footer p, .site-footer a) {
  font-size: 14px !important;
  line-height: 1.68 !important;
}

body > div[style*="overflow-x:hidden"] :where(.site-footer h3) {
  font-size: 18px !important;
  line-height: 1.34 !important;
  font-weight: var(--type-weight-bold) !important;
}

/* Homepage four-layer moat contrast */
body > div[style*="overflow-x:hidden"] #technology > .pad > h2 {
  color: #f8fafc !important;
}

body > div[style*="overflow-x:hidden"] #technology > .pad > p {
  color: #c5cad5 !important;
}

/* Homepage closing CTA contrast */
body > div[style*="overflow-x:hidden"] #contact > .pad h2 {
  color: #f8fafc !important;
}

body > div[style*="overflow-x:hidden"] #contact > .pad > .split > div:first-child > p {
  color: #d4d8e2 !important;
}

/* Homepage product row alignment */
body > div[style*="overflow-x:hidden"] #products.home-products .home-product-grid {
  grid-auto-rows: 1fr !important;
  align-items: stretch !important;
}

body > div[style*="overflow-x:hidden"] #products.home-products .home-product-card {
  gap: 0 !important;
}

body > div[style*="overflow-x:hidden"] #products.home-products .home-product-card > div:first-child {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  min-height: 56px !important;
}

body > div[style*="overflow-x:hidden"] #products.home-products .home-product-card > div:first-child > div:first-child {
  min-width: 0 !important;
}

body > div[style*="overflow-x:hidden"] #products.home-products .home-product-card > div:first-child > div:first-child > div:last-child {
  min-height: 30px !important;
  display: flex !important;
  align-items: flex-end !important;
}

body > div[style*="overflow-x:hidden"] #products.home-products .home-product-media {
  flex: 0 0 auto !important;
  margin: 14px 0 13px !important;
  aspect-ratio: 1.82 / 1 !important;
}

body > div[style*="overflow-x:hidden"] #products.home-products .home-product-card > p {
  flex: 0 0 auto !important;
  min-height: 62px !important;
  margin: 0 0 12px !important;
}

body > div[style*="overflow-x:hidden"] #products.home-products .home-product-card > div:last-child {
  min-height: 34px !important;
  display: flex !important;
  align-items: center !important;
}

body > div[style*="overflow-x:hidden"] #products.home-products .home-product-card:has(> .home-product-media:nth-child(3)) > div:first-child {
  min-height: 14px !important;
  height: 14px !important;
  display: block !important;
}

body > div[style*="overflow-x:hidden"] #products.home-products .home-product-card:has(> .home-product-media:nth-child(3)) > div:nth-child(2) {
  min-height: 40px !important;
  display: flex !important;
  align-items: flex-end !important;
  margin-top: 5px !important;
}

body > div[style*="overflow-x:hidden"] #products.home-products .home-product-card:has(> .home-product-media:nth-child(3)) .home-product-media {
  margin-top: 10px !important;
}

body > div[style*="overflow-x:hidden"] #products.home-products .g4 .home-product-card:has(> .home-product-media:nth-child(3)) .home-product-media {
  margin-top: 16px !important;
}

@media (max-width: 760px) {
  :root {
    --home-type-h1: clamp(31px, 8.6vw, 38px);
    --home-type-h2: clamp(24px, 6.4vw, 30px);
    --home-type-h3: clamp(20px, 5.4vw, 24px);
    --home-type-body: 15px;
    --home-type-card: 14px;
    --home-button-height: 44px;
    --home-button-pad-x: 18px;
  }

  body > div[style*="overflow-x:hidden"],
  body > div[style*="overflow-x:hidden"] > main {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  body > div[style*="overflow-x:hidden"] :where(main, section, header, footer, .pad) {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body > div[style*="overflow-x:hidden"] :where(.pad) {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  body > div[style*="overflow-x:hidden"] :where(.split, .g2, .g3, .g4, .g5) {
    grid-template-columns: 1fr !important;
  }

  body > div[style*="overflow-x:hidden"] :where(.split > *, .g2 > *, .g3 > *, .g4 > *, .g5 > *, .pad > *, section > *) {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body > div[style*="overflow-x:hidden"] :where(h1, h2, h3, h4, p) {
    max-width: calc(100vw - 40px) !important;
  }

  body > div[style*="overflow-x:hidden"] :where(h1, h2, h3, h4) {
    overflow-wrap: normal;
    word-break: normal;
  }

  body > div[style*="overflow-x:hidden"] :where(p, li) {
    overflow-wrap: break-word;
  }

  body > div[style*="overflow-x:hidden"] #top > div > div:first-child {
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    row-gap: 8px !important;
  }

  body > div[style*="overflow-x:hidden"] #top > div > div:first-child > span[style*="height:1px"] {
    flex: 0 1 56px !important;
    max-width: 56px !important;
  }

  body > div[style*="overflow-x:hidden"] #top .split {
    gap: 24px !important;
    margin-top: 28px !important;
  }

  body > div[style*="overflow-x:hidden"] #top .split > div:last-child {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  body > div[style*="overflow-x:hidden"] :where(.btn-blue, .btn-line, .cta-blue, .cta-line) {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    box-sizing: border-box !important;
    justify-content: center !important;
  }

  body > div[style*="overflow-x:hidden"] #products.home-products .home-product-card > div:first-child,
  body > div[style*="overflow-x:hidden"] #products.home-products .home-product-card > div:first-child > div:first-child > div:last-child,
  body > div[style*="overflow-x:hidden"] #products.home-products .home-product-card > p,
  body > div[style*="overflow-x:hidden"] #products.home-products .home-product-card > div:last-child {
    min-height: 0 !important;
  }
}
