:root {
  color-scheme: light;
  --ink: #102531;
  --navy: #081c27;
  --muted: #50636d;
  --line: #dce6e8;
  --wash: #f3f7f8;
  --mint: #55e9c8;
  --teal: #08765f;
  --white: #fff;
  --radius: 12px;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--white); color: var(--ink); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: default; opacity: .55; }
img { display: block; max-width: 100%; }
svg { display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.22; }
:focus-visible { outline: 3px solid #169c83; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1248px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: fixed; z-index: 20; top: 10px; left: 10px; background: white; padding: 12px; transform: translateY(-150%); }
.skip:focus { transform: none; }
.icon { width: 22px; height: 22px; flex: none; }
.muted { color: var(--muted); }
.eyebrow { color: var(--teal); letter-spacing: .14em; font-size: .78rem; font-weight: 750; text-transform: uppercase; }
.section { padding-block: 64px; }
.section.soft { background: var(--wash); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(1.65rem, 3vw, 2.18rem); letter-spacing: -.035em; }
.section-head p { margin-top: 9px; }
.text-link { color: var(--teal); font-weight: 700; }
.text-link:hover { text-decoration: underline; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  border: 1px solid transparent; border-radius: 7px; padding: 9px 16px; font-weight: 700;
  font-size: .95rem; text-align: center; line-height: 1.28; transition: background .16s, border-color .16s;
}
.button.primary { background: var(--mint); color: #092720; }
.button.primary:hover { background: #7ef1d5; }
.button.secondary { background: white; border-color: var(--line); }
.button.secondary:hover { border-color: #208975; background: #ecf9f5; }
.button.small { min-height: 36px; padding: 7px 10px; font-size: .875rem; }
.utility { background: #0d2633; color: #cbe0e5; font-size: .875rem; }
.utility .wrap { min-height: 37px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.locale { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: white; padding: 6px 0 6px 8px; }
.locale .icon { width: 16px; height: 16px; }
.masthead { background: white; border-bottom: 1px solid var(--line); }
.masthead .wrap { min-height: 72px; display: flex; align-items: center; gap: 25px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.wordmark .mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; color: var(--mint); background: #102f3b; }
.wordmark strong { display: block; font-size: 1.38rem; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.wordmark small { display: block; margin-top: 4px; font-size: .59rem; line-height: 1; letter-spacing: .15em; font-weight: 750; color: var(--muted); }
.wordmark .icon { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.15vw, 32px); margin-inline: auto; }
.nav a { color: #354b56; font-weight: 650; font-size: .93rem; white-space: nowrap; padding: 24px 0 22px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); border-color: var(--teal); }
.cart-link { background: #e8f8f3; color: #105947; white-space: nowrap; }
.cart-link:hover { background: #d6f3eb; }
.cart-link .icon { width: 18px; height: 18px; }
.cart-count { min-width: 23px; height: 23px; padding: 0 5px; border-radius: 20px; display: grid; place-items: center; color: white; background: #146956; font-size: .78rem; }
.menu-button { display: none; min-width: 44px; padding: 8px; }
.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: 450px; color: white; background: #081d29; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero::before { background: url("assets/board.jpg") right 47% / min(1050px, 84vw) auto no-repeat; }
.hero::after { background: linear-gradient(90deg, #081d29 0%, #081d29 24%, #081d29ef 36%, #081d2980 56%, #081d2910 82%); }
.hero .wrap { padding-block: 49px 54px; }
.hero .eyebrow { color: #71efcf; display: flex; align-items: center; gap: 11px; }
.hero .eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--mint); }
.hero h1 { margin-top: 17px; font-size: clamp(2.6rem, 5.25vw, 4.65rem); line-height: 1.12; letter-spacing: -.055em; font-weight: 770; }
.hero h1 span { color: #74eed2; }
.hero-copy { color: #d1e3e9; margin-top: 16px; max-width: 545px; font-size: 1.045rem; }
.search { display: flex; gap: 8px; align-items: center; max-width: 555px; width: 100%; }
.hero .search { background: white; border-radius: 9px; padding: 6px 6px 6px 14px; margin-top: 24px; color: #536976; }
.search input { width: 100%; min-width: 0; border: 0; background: transparent; padding: 8px 3px; color: var(--ink); }
.search input:focus { outline: 0; }
.search:focus-within { outline: 2px solid var(--mint); outline-offset: 2px; }
.search .button { flex: none; }
.quick { display: flex; flex-wrap: wrap; gap: 5px 13px; align-items: baseline; margin-top: 14px; color: #bdd1db; font-size: .84rem; }
.quick a { color: #e1f0f4; border-bottom: 1px dotted #7b9aa9; }
.quick a:hover { color: var(--mint); }
.service-strip { background: #eef7f7; border-bottom: 1px solid #dbe9ea; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-unit { display: flex; align-items: center; gap: 12px; padding: 20px 15px; }
.service-unit:first-child { padding-left: 0; }
.service-unit + .service-unit { border-left: 1px solid #d6e6e8; }
.service-unit:hover strong { color: var(--teal); }
.service-unit .icon { color: #087d67; width: 24px; height: 24px; }
.service-unit strong, .service-unit small { display: block; }
.service-unit strong { font-size: .95rem; }
.service-unit small { color: var(--muted); font-size: .82rem; }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.category { min-width: 0; padding: 15px 13px; border: 1px solid var(--line); border-radius: var(--radius); background: white; display: grid; align-content: start; min-height: 114px; gap: 1px; }
.category:hover { border-color: #208975; background: #f3fcfa; }
.category .icon { width: 24px; height: 24px; margin-bottom: 9px; color: var(--teal); }
.category strong { font-size: .95rem; }
.category small { display: block; color: var(--muted); font-size: .81rem; overflow-wrap: anywhere; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.product { border: 1px solid var(--line); background: white; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product:hover { border-color: #7ab7a9; }
.product-art { min-height: 132px; display: grid; place-items: center; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 50% 56%, #e2ecef, transparent 65%), #f3f7f8; }
.product-art::after { content: ""; pointer-events: none; position: absolute; inset: 0; opacity: .40;
  background-size: 17px 17px; background-image: linear-gradient(90deg, #dce8eb 1px, transparent 1px), linear-gradient(#dce8eb 1px, transparent 1px); }
.part { display: block; position: relative; z-index: 1; width: 61px; height: 54px; border: 2px solid #243b44;
  border-radius: 5px; background: linear-gradient(145deg, #3d5057, #15242b); transform: rotate(-14deg) skew(10deg); box-shadow: 9px 10px 11px #102b4137; }
.part::before, .part::after { content: ""; position: absolute; z-index: -1; background: repeating-linear-gradient(90deg, #72868c 0 2px, #e0eff0 2px 4px, transparent 4px 7px); }
.part::before { top: -9px; left: 3px; right: 3px; height: 7px; }
.part::after { bottom: -10px; left: 3px; right: 3px; height: 8px; }
.part i { position: absolute; left: 6px; top: 6px; width: 5px; height: 5px; border: 1px solid #90a2aa; border-radius: 50%; }
.part.power { width: 65px; height: 40px; }
.part.discrete { width: 41px; height: 35px; }
.part.sensor { width: 44px; height: 38px; background: radial-gradient(circle at 55% 50%, #197678 0 11%, #111d24 12% 23%, transparent 24%), linear-gradient(130deg,#506372,#1d333e); }
.part.passive { width: 55px; height: 28px; border: 0; background: linear-gradient(90deg, #7d929c, #d9e4e6 21%, #9b7863 22%, #8d614b 78%, #c1d0d6 79%, #627b87); }
.part.connector { width: 68px; height: 34px; border-color: #647b80; background: radial-gradient(circle at 33% 50%, #263d46 0 13%, transparent 14%), radial-gradient(circle at 67% 50%, #263d46 0 13%, transparent 14%), linear-gradient(#d0e0dd, #a1b9b9); }
.part.passive::before, .part.passive::after, .part.passive i, .part.connector::before, .part.connector::after, .part.connector i { display: none; }
.pkg { position: absolute; z-index: 2; bottom: 9px; left: 10px; color: #415762; font: 600 .75rem ui-monospace, Consolas, monospace; }
.product-body { display: flex; flex-direction: column; padding: 14px; gap: 6px; flex: 1; }
.product-brand { color: #4e626d; font-size: .84rem; }
.product-title { font: 700 1rem/1.32 ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.product-title a:hover { color: var(--teal); text-decoration: underline; }
.product-text { color: var(--muted); font-size: .86rem; min-height: 2.6em; }
.availability { color: #0b6755; font-size: .85rem; }
.product-bottom { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; border-top: 1px solid #e8eff0; margin-top: auto; padding-top: 10px; }
.price { color: #213c48; font-weight: 750; white-space: nowrap; }
.note { display: inline-block; color: #415762; background: #edf4f5; padding: 5px 9px; border-radius: 5px; font-size: .8rem; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.feature-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #f3f8f8; }
.feature-panel:nth-child(2) { background: #edf7f4; }
.feature-panel > .icon { width: 29px; height: 29px; color: var(--teal); margin-bottom: 13px; }
.feature-panel p { color: var(--muted); margin: 8px 0 14px; }
.footer { padding: 39px 0 18px; background: #0d2633; color: #e1eef0; }
.footer .wordmark small { color: #b2c8cf; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; column-gap: 40px; row-gap: 24px; }
.footer h2 { font-size: .95rem; margin-bottom: 8px; }
.footer p { color: #adc3ce; max-width: 360px; margin-top: 12px; font-size: .88rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; font-size: .91rem; color: #c4d8df; }
.footer a:hover { color: var(--mint); }
.copyright { margin-top: 26px; padding-top: 13px; border-top: 1px solid #35505d; color: #b2c9d0; font-size: .8rem; }
.page-head { background: var(--wash); border-bottom: 1px solid var(--line); padding: 26px 0 34px; }
.crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .88rem; margin-bottom: 13px; overflow-wrap: anywhere; }
.crumb a:hover { text-decoration: underline; }
.page-head h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); letter-spacing: -.04em; }
.page-head p { max-width: 730px; color: var(--muted); margin-top: 9px; }
.page-body { padding-block: 33px 60px; }
.toolbar { display: grid; grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(115px, 1fr)) auto; gap: 10px; align-items: end; padding: 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--wash); }
.field { display: grid; gap: 5px; align-content: start; color: #273f49; font-size: .89rem; font-weight: 650; }
.field input, .field select, .field textarea, .qty { width: 100%; min-height: 44px; background-color: white; color: var(--ink); border: 1px solid #bdcfd4; border-radius: 6px; padding: 8px 10px; font-weight: 400; }
.field select { appearance: none; padding-right: 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath d='m2 2 5 5 5-5' fill='none' stroke='%233e5b66' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.field textarea { resize: vertical; min-height: 110px; }
.results-head { display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin: 18px 0; font-size: .9rem; }
.results-head > div { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 24px; }
.pager .active { background: #e1f6ef; border-color: #489987; }
.empty { border: 1px dashed #b6cbd0; border-radius: var(--radius); text-align: center; padding: 28px 14px; }
.empty p { margin: 10px 0 14px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(18px, 5vw, 60px); }
.detail-grid .product-art { min-height: 325px; border-radius: var(--radius); border: 1px solid var(--line); }
.detail-grid .part { scale: 2; }
.detail-copy p { margin-top: 10px; }
.detail-copy h2 { font-size: 1.65rem; }
.specs { margin: 19px 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 8px; }
.specs div { padding: 9px 12px; border-bottom: 1px solid var(--line); min-width: 0; }
.specs div:nth-child(odd) { border-right: 1px solid var(--line); }
.specs div:nth-last-child(-n+2) { border-bottom: 0; }
.specs dt { color: var(--muted); font-size: .85rem; }
.specs dd { margin: 0; overflow-wrap: anywhere; font-weight: 650; }
.detail-add { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; margin-top: 12px; }
.detail-add .field { max-width: 125px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.maker { border: 1px solid var(--line); border-radius: 8px; min-height: 60px; padding: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 650; }
.maker:hover { border-color: var(--teal); }
.maker small { color: var(--muted); white-space: nowrap; }
.quote-grid, .form-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(245px, .85fr); gap: 22px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 19px; background: white; min-width: 0; }
.panel h2 { font-size: 1.27rem; margin-bottom: 10px; }
.panel p + p { margin-top: 10px; }
.panel.soft { background: var(--wash); }
.panel ol { padding-left: 24px; }
.form-stack { display: grid; gap: 12px; }
.fields-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quote-lines { display: grid; gap: 11px; }
.quote-line { display: grid; grid-template-columns: 1fr minmax(75px, 102px) auto; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 11px; }
.quote-line a, .quote-line strong { display: block; font-weight: 720; overflow-wrap: anywhere; }
.quote-line small { color: var(--muted); display: block; }
.quote-line input { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.summary-total { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 700; }
.faq { max-width: 850px; display: grid; gap: 9px; }
.faq details { border: 1px solid var(--line); border-radius: 8px; padding: 13px 15px; }
.faq summary { color: var(--ink); font-weight: 700; }
.faq details p { color: var(--muted); margin-top: 9px; }
.toast { position: fixed; z-index: 8; bottom: 20px; right: 20px; max-width: calc(100% - 40px); border-radius: 8px; padding: 12px 15px; box-shadow: 0 6px 28px #0d263340; background: #0d302e; color: white; }
.prose { max-width: 820px; }
.prose h2:not(:first-child) { margin-top: 22px; }
.prose p { margin: 8px 0 12px; color: var(--muted); }

@media (max-width: 1040px) {
  .wrap { width: calc(100% - 52px); }
  .masthead .wrap { gap: 14px; }
  .nav { gap: 13px; }
  .nav a { font-size: .87rem; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .service-unit { gap: 8px; padding-inline: 10px; }
}
@media (max-width: 820px) {
  .masthead .wrap { flex-wrap: wrap; min-height: 64px; gap: 8px; position: relative; }
  .masthead .wordmark { margin-right: auto; }
  .menu-button { display: inline-flex; }
  .nav { display: none; width: 100%; order: 4; align-items: stretch; flex-direction: column; gap: 0; padding-bottom: 8px; }
  .nav.open { display: flex; }
  .nav a { padding: 8px 4px; border-bottom: 1px solid var(--line); }
  .hero::after { background: linear-gradient(90deg, #081d29 0%, #081d29f3 16%, #081d29aa 48%, #081d2922); }
  .hero::before { background-size: auto 110%; }
  .hero { min-height: 405px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .service-unit { padding: 13px 10px; }
  .service-unit:first-child { padding-left: 10px; }
  .service-unit:nth-child(3) { border-left: 0; }
  .service-unit:nth-child(n+3) { border-top: 1px solid #d6e6e8; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolbar .field:first-child { grid-column: 1 / -1; }
  .section { padding-block: 42px; }
  .quote-grid, .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 30px); }
  .utility .wrap { font-size: .77rem; }
  .wordmark { gap: 7px; }
  .wordmark .mark { width: 34px; height: 34px; }
  .wordmark .icon { width: 23px; height: 23px; }
  .wordmark strong { font-size: 1.16rem; }
  .wordmark small { font-size: .49rem; }
  .cart-link { gap: 4px; padding-inline: 7px; font-size: .86rem; }
  .hero { min-height: 395px; }
  .hero .wrap { padding-block: 35px; }
  .hero::before { background-position: 65% 50%; }
  .hero::after { background: linear-gradient(90deg, #081d29f2, #081d29a8 78%, #081d2970); }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 3.1rem); }
  .hero-copy { font-size: .94rem; }
  .hero .search { padding-left: 8px; gap: 3px; }
  .hero .search input { font-size: .89rem; }
  .hero .search .icon { width: 16px; }
  .hero .search .button { padding-inline: 9px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { align-items: start; }
  .section-head .text-link { flex: none; font-size: .85rem; }
  .service-grid, .detail-grid, .footer-grid { grid-template-columns: 1fr; }
  .detail-grid .product-art { min-height: 206px; }
  .product-grid { gap: 8px; }
  .product-body { padding: 9px; }
  .product-art { min-height: 102px; }
  .product-title { font-size: .88rem; }
  .product-bottom .button { width: 100%; }
  .product-bottom { gap: 5px; }
  .card-grid { grid-template-columns: 1fr; }
  .fields-two { grid-template-columns: 1fr; }
  .quote-line { grid-template-columns: minmax(0, 1fr) 66px auto; gap: 7px; }
  .feature-panel { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
