:root {
  color-scheme: light;
  --ink: #182638;
  --muted: #687688;
  --line: #dfe5eb;
  --blue: #2045d6;
  --blue-dark: #1738bc;
  --yellow: #f2bc37;
  --paper: #fbfaf7;
  --white: #fff;
  --radius: 4px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { outline-offset: 3px; }
:focus-visible { outline: 3px solid #f2bc37; }
.wrap { width: min(1200px, calc(100% - 44px)); margin-inline: auto; }
.topbar { background: #152234; color: #d7dfeb; font-size: 11px; letter-spacing: .07em; }
.topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 31px; font-weight: 800; letter-spacing: -.07em; flex: 0 0 auto; }
.brand:hover { color: var(--blue-dark); }
.brand-mark { width: 11px; height: 11px; display: inline-block; background: var(--yellow); transform: rotate(45deg); margin-right: 2px; }
.main-nav, .nav-actions { display: flex; align-items: center; gap: 22px; }
.main-nav { font-size: 13px; font-weight: 650; }
.main-nav a:hover { color: var(--blue); }
.nav-actions { gap: 12px; }
.quote-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; }
.count { min-width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 11px; }
.menu-toggle { display: none; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: var(--radius); padding: 11px 17px; font-weight: 700; font-size: 13px; cursor: pointer; transition: transform .18s, background .18s, border .18s; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { color: #fff; background: var(--blue-dark); }
.button-outline { color: var(--ink); background: transparent; border-color: #b9c4d0; }
.button-outline:hover { color: var(--blue); border-color: var(--blue); }
.button-outline-light { color: #fff; border-color: #ffffff88; }
.button-outline-light:hover { color: #fff; border-color: #fff; }
.button-small { min-height: 36px; padding: 8px 12px; font-size: 11px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.notice { margin: 14px 0; padding: 13px 16px; border-left: 4px solid var(--blue); background: #eaf0ff; color: #173280; font-size: 13px; }
.notice-error { border-color: #bd3c3c; background: #fff0ef; color: #8a2525; }
.hero { min-height: 565px; position: relative; overflow: hidden; display: flex; align-items: center; color: #fff; background: #152234; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .15; background: linear-gradient(90deg, #fff 1px, transparent 1px), linear-gradient(#fff 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg, black, transparent 75%); }
.hero-art { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; opacity: .96; background: linear-gradient(90deg, #152234 0%, #15223405 85%), url("assets/industrial-scene.svg") center / cover no-repeat; }
.hero-content { position: relative; padding-block: 82px; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); text-transform: uppercase; font-size: 10px; letter-spacing: .15em; font-weight: 800; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--yellow); }
.hero .eyebrow { color: #ffd15c; }
h1, h2, h3 { font-family: Inter, "Segoe UI", Arial, sans-serif; letter-spacing: -.045em; line-height: 1.1; }
.hero h1 { max-width: 680px; margin: 19px 0 18px; font-size: clamp(43px, 6vw, 76px); font-weight: 820; }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero p { max-width: 480px; color: #d2dbe7; font-size: 15px; line-height: 1.8; margin-bottom: 27px; }
.hero small { display: block; margin-top: 21px; color: #c5cfdb; font-size: 11px; }
.section { padding-block: 74px; }
.section-muted { background: #f0f2f4; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h1, .section-heading h2 { margin: 10px 0 0; font-size: clamp(29px, 4vw, 44px); }
.section-heading p { max-width: 440px; color: var(--muted); margin: 0; }
.text-link { color: var(--blue); font-weight: 700; font-size: 13px; }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-block: 1px solid var(--line); }
.category-tile { min-height: 115px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px 15px; border-right: 1px solid var(--line); transition: background .2s; }
.category-tile:last-child { border-right: 0; }
.category-tile:hover { background: #eaf0ff; }
.category-tile small { color: #8090a1; font-size: 10px; letter-spacing: .08em; }
.category-tile strong { font-size: 14px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { min-width: 0; border: 1px solid var(--line); background: #fff; transition: transform .22s, border-color .22s; }
.product-card:hover { transform: translateY(-3px); border-color: #a8bad8; }
.product-picture { display: block; position: relative; height: 220px; overflow: hidden; background: linear-gradient(135deg, #e8edf3, #d8e0ea); }
.product-picture img, .detail-picture img, .news-picture img, .article-picture img { width: 100%; height: 100%; display: block; object-fit: cover; }
.product-picture img { transition: transform .3s; }
.product-card:hover .product-picture img { transform: scale(1.035); }
.image-label { position: absolute; left: 10px; bottom: 10px; z-index: 1; background: #ffffffed; color: #506074; padding: 6px 8px; font-size: 9px; letter-spacing: .03em; }
.sku { position: absolute; top: 11px; left: 11px; z-index: 2; background: #fff; color: #5f6d7d; padding: 6px 8px; font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.product-card-body { padding: 17px; }
.product-card h3 { font-size: 19px; margin: 7px 0; }
.product-card p { min-height: 42px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.card-actions { display: flex; align-items: center; gap: 8px; }
.card-actions form { flex: 1; }
.card-actions .button { width: 100%; }
.trust-band { color: #fff; background: var(--blue); padding-block: 34px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-grid > div { border-left: 2px solid var(--yellow); padding-left: 14px; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { font-size: 15px; margin-bottom: 5px; }
.trust-grid span { color: #dce5ff; font-size: 11px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card { background: #fff; border: 1px solid var(--line); padding: 20px; }
.news-card h2, .news-card h3 { font-size: 20px; margin: 12px 0; }
.news-card p { color: var(--muted); font-size: 13px; }
.cta-band { padding-block: 42px; background: #e9edf2; }
.cta-band .section-heading { margin: 0; align-items: center; }
.cta-band h2 { margin: 0 0 8px; font-size: 28px; }
.cta-band p { color: var(--muted); margin: 0; }
.page-intro { padding-block: 52px; color: #fff; background: #1b293b; }
.page-intro h1 { max-width: 850px; margin: 12px 0; font-size: clamp(36px, 5vw, 60px); }
.page-intro p { max-width: 700px; color: #d3dce6; margin-bottom: 0; }
.page-intro .eyebrow { color: #ffcf57; }
.breadcrumbs { margin-bottom: 24px; color: #788595; font-size: 11px; }
.breadcrumbs a { color: var(--blue); }
.catalog-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 25px; }
.filter-panel, .panel { background: #fff; border: 1px solid var(--line); padding: 20px; }
.filter-panel h2, .panel h2 { font-size: 19px; margin: 0 0 18px; }
.filter-panel label, .form-stack > label, .add-product-form label { display: block; margin: 13px 0 6px; font-size: 11px; font-weight: 700; }
.filter-panel input, .filter-panel select, .form-stack input, .form-stack select, .form-stack textarea, .add-product-form input, .inline-form input, .filter-inline input, .filter-inline select { width: 100%; min-height: 42px; border: 1px solid #cbd4de; border-radius: 2px; background: #fff; padding: 9px 10px; color: var(--ink); }
.filter-panel .button { margin-top: 18px; width: 100%; }
.filter-panel .text-link { display: inline-block; margin-top: 13px; }
.result-count { color: var(--muted); font-size: 11px; margin: 0 0 12px; }
.empty-state { padding: 48px 22px; text-align: center; border: 1px dashed #c6d0da; background: #fff; }
.empty-state h2, .empty-state h3 { margin-top: 0; }
.empty-state p { color: var(--muted); }
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: start; }
.detail-picture, .news-picture, .article-picture { min-height: 360px; position: relative; overflow: hidden; background: linear-gradient(135deg, #e5ebf2, #d6e0ed); }
.detail-picture { height: 430px; }
.detail-copy h1 { font-size: clamp(36px, 4vw, 52px); margin: 12px 0; }
.detail-copy h2 { margin: 24px 0 10px; font-size: 18px; }
.lead { color: #627083; font-size: 16px; line-height: 1.7; }
.demo-tag { display: inline-block; margin: 5px 0 15px; padding: 7px 9px; color: #754e00; background: #fff2cc; font-size: 10px; font-weight: 750; }
.spec-list { margin: 0; border-top: 1px solid var(--line); }
.spec-list div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 700; text-align: right; }
.add-product-form { display: grid; grid-template-columns: 80px minmax(100px, 1fr); gap: 10px; align-items: end; margin-block: 22px; }
.add-product-form label { grid-column: 1 / -1; margin-bottom: -6px; }
.add-product-form .button { grid-column: 2; }
.fine-print { display: block; color: #788595; font-size: 10px; line-height: 1.6; }
.quote-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.quote-item { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(150px, 1.2fr) 90px 55px; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.quote-item strong, .quote-item small { display: block; }
.quote-item strong { font-size: 13px; }
.quote-item small { color: var(--muted); font-size: 10px; margin-top: 4px; }
.inline-form { display: flex; gap: 6px; align-items: center; }
.inline-form input { min-width: 55px; padding: 7px; }
.remove-button { background: transparent; border: 0; color: #a33333; font-size: 10px; cursor: pointer; }
.clear-form { text-align: right; margin-top: 13px; }
.form-stack { display: flex; flex-direction: column; gap: 5px; }
.form-stack h2 { margin-bottom: 10px; }
.form-stack textarea { resize: vertical; }
.form-stack .button { margin-top: 6px; }
.check-row { display: flex !important; align-items: flex-start; gap: 9px; font-weight: 400 !important; line-height: 1.5; }
.check-row input { width: auto; min-height: 0; margin-top: 3px; }
.check-row a { color: var(--blue); text-decoration: underline; }
.calc-layout { display: grid; grid-template-columns: minmax(0, 1fr) .7fr; gap: 24px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid > div label { display: block; margin: 11px 0 6px; font-size: 11px; font-weight: 700; }
.form-grid input { width: 100%; min-height: 42px; padding: 9px; border: 1px solid #cbd4de; }
.calc-preview { background: #edf2fa; padding: 13px; margin-top: 6px; }
.calc-preview span, .calc-preview strong { display: block; }
.calc-preview span { color: var(--muted); font-size: 10px; }
.calc-preview strong { font-size: 20px; margin-top: 3px; }
.calc-result { min-height: 260px; padding: 26px; color: #fff; background: #1b293b; }
.calc-result .eyebrow { color: #ffcf57; }
.calc-result strong { display: block; margin: 22px 0 10px; font-size: 42px; }
.calc-result p { color: #d0d9e4; }
.portal-wrap { min-height: 60vh; display: grid; place-items: center; padding: 50px 20px; background: #f0f2f4; }
.portal-card { width: min(470px, 100%); padding: 30px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 34px #16233812; }
.portal-card h1 { margin: 12px 0 20px; font-size: 35px; }
.demo-banner { margin: 16px 0; padding: 13px 15px; background: #fff2cd; border-left: 3px solid var(--yellow); color: #624b12; font-size: 12px; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; }
.metric { padding: 20px; background: #fff; border: 1px solid var(--line); }
.metric strong, .metric span { display: block; }
.metric strong { color: var(--blue); font-size: 27px; }
.metric span { color: var(--muted); font-size: 11px; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.activity-row { padding: 13px 0; border-bottom: 1px solid var(--line); }
.activity-row strong, .activity-row span, .activity-row small { display: block; }
.activity-row strong { font-size: 12px; }
.activity-row span, .activity-row small { color: var(--muted); font-size: 10px; margin-top: 4px; }
.filter-inline { display: grid; grid-template-columns: 1fr 220px auto; gap: 10px; margin-bottom: 22px; }
.article-detail { max-width: 840px; }
.article-detail h1 { font-size: clamp(38px, 5vw, 62px); }
.article-detail > p:not(.lead) { color: #4f5e70; line-height: 1.85; }
.article-picture { height: 390px; margin: 26px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 25px; }
.feature-grid > div { padding: 22px; background: #fff; border: 1px solid var(--line); }
.feature-grid h3 { margin-top: 0; }
.feature-grid p { color: var(--muted); font-size: 13px; }
.map-placeholder { min-height: 180px; margin-top: 18px; display: grid; place-items: center; text-align: center; padding: 18px; background: #e8edf2; color: #637286; font-size: 12px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.check-item { display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 7px; padding: 13px; background: #fff; border: 1px solid var(--line); font-size: 12px; }
.check-item > span { color: #208057; font-weight: 800; }
.check-item small { grid-column: 2; color: var(--muted); font-size: 10px; }
.site-footer { color: #dce4ed; background: #142133; padding: 44px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 25px; }
.brand-light { color: #fff; }
.footer-grid p, .footer-grid span, .footer-grid a:not(.brand) { display: block; color: #b3c0cf; font-size: 11px; margin-top: 10px; }
.footer-grid strong { display: block; margin-bottom: 12px; color: #fff; font-size: 12px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-top: 18px; margin-top: 30px; border-top: 1px solid #ffffff24; color: #aebacc; font-size: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 920px) {
  .nav-wrap { gap: 14px; }
  .main-nav { gap: 12px; font-size: 11px; }
  .nav-actions { gap: 8px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .category-tile:nth-child(3) { border-right: 0; }
  .category-tile:nth-child(n+4) { border-top: 1px solid var(--line); }
  .catalog-layout { grid-template-columns: 200px minmax(0, 1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-layout, .calc-layout { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .wrap { width: min(100% - 32px, 560px); }
  .topbar-inner { min-height: 31px; justify-content: center; text-align: center; }
  .topbar-inner span:last-child { display: none; }
  .nav-wrap { min-height: 66px; flex-wrap: wrap; }
  .brand { font-size: 27px; }
  .menu-toggle { display: inline-flex; order: 3; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 8px 10px; }
  .nav-actions { margin-left: auto; }
  .nav-actions .button { display: none; }
  .main-nav { display: none; order: 4; width: 100%; padding: 7px 0 15px; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
  .hero { min-height: 600px; }
  .hero-art { width: 100%; opacity: .45; }
  .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #152234e8, #15223485); }
  .hero-content { padding-block: 64px; z-index: 2; }
  .hero h1 { font-size: 46px; }
  .hero p { font-size: 14px; }
  .section { padding-block: 52px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading h1, .section-heading h2 { font-size: 34px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-tile { min-height: 95px; border-top: 1px solid var(--line); }
  .category-tile:nth-child(odd) { border-right: 1px solid var(--line); }
  .category-tile:nth-child(even) { border-right: 0; }
  .product-grid, .news-grid, .feature-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 19px 12px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; gap: 25px; }
  .detail-picture { height: 300px; min-height: 280px; }
  .detail-copy h1 { font-size: 36px; }
  .quote-item { grid-template-columns: 1fr auto; }
  .quote-item .inline-form { grid-column: 1; }
  .quote-item > span { grid-column: 2; grid-row: 2; }
  .quote-item > form:last-child { grid-column: 2; grid-row: 1; }
  .metric-grid { gap: 7px; }
  .metric { padding: 13px 9px; }
  .metric strong { font-size: 20px; }
  .dashboard-grid, .check-grid { grid-template-columns: 1fr; }
  .filter-inline { grid-template-columns: 1fr; }
  .page-intro { padding-block: 43px; }
  .page-intro h1 { font-size: 40px; }
  .article-picture { height: 240px; min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px 15px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .cta-band .section-heading { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
