:root {
  /* Brand wordmark (Med | Listing | 123) — match design */
  --ml-logo-med: #0073bb;
  --ml-logo-listing: #002d58;
  --ml-logo-123: #00aeef;
  --ml-primary-dark: #003459;
  --ml-primary: #0077b6;
  --ml-primary-light: #00b4d8;
  --ml-bg: #f8fafc;
  --ml-text: #111827;
  --ml-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", sans-serif;
  --ml-fs-12: 12px;
  --ml-fs-13: 13px;
  --ml-fs-14: 14px;
  --ml-fs-15: 15px;
  --ml-fs-16: 16px;
  --ml-fs-20: 20px;
  --ml-fs-22: 22px;
  --ml-fs-24: 24px;
  --ml-fs-30: 30px;
  --ml-fs-40: 40px;
  --ml-lh-tight: 1.25;
  --ml-lh-normal: 1.5;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--ml-font-family); font-size: var(--ml-fs-14); line-height: var(--ml-lh-normal); color: var(--ml-text); background: #fff; }
a { color: inherit; text-decoration: none; }

.ml-container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.ml-flex-between { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

.ml-topbar { background: #003a63; color: #dbeafe; font-size: var(--ml-fs-12); padding: 4px 0; }
.ml-topbar-left { display: flex; align-items: center; gap: 10px; }
.ml-topbar-left span { opacity: .45; }
.ml-top-links { display: flex; gap: 12px; align-items: center; }
.ml-top-links a + a { position: relative; padding-left: 12px; }
.ml-top-links a + a::before { content: ""; position: absolute; left: 0; top: 3px; width: 1px; height: 11px; background: rgba(255,255,255,.28); }
.ml-mainbar { border-bottom: 1px solid #e6edf4; padding: 8px 0; background: #fff; }
/* Wordmark: single line, bold geometric sans, tri-color (no artificial tracking) */
.ml-wordmark {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  color: inherit;
}
.ml-wordmark-med { color: var(--ml-logo-med); }
.ml-wordmark-listing { color: var(--ml-logo-listing); }
.ml-wordmark-123 { color: var(--ml-logo-123); }
.ml-logo.ml-wordmark { color: inherit; }
.ml-wordmark--footer {
  margin: 0;
  font-size: var(--ml-fs-24);
  line-height: 1.15;
}
.ml-footer-copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.ml-wordmark--inline { font-size: var(--ml-fs-13); vertical-align: baseline; }
.ml-search { display: flex; flex: 1; max-width: 580px; margin: 0 16px; border: 1px solid #cfd8e3; border-radius: 8px; overflow: hidden; background: #fff; }
.ml-search input { flex: 1; min-width: 0; border: 0; padding: 10px 14px; font-size: var(--ml-fs-14); }
.ml-search button {
  flex-shrink: 0;
  border: 0;
  background: var(--ml-primary);
  color: #fff;
  min-width: 4.5rem;
  padding: 10px 12px;
  font-size: var(--ml-fs-13);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.ml-quote-btn { background: var(--ml-primary); color: #fff; padding: 10px 20px; border-radius: 8px; font-size: var(--ml-fs-14); font-weight: 600; white-space: nowrap; }

.ml-navwrap { border-bottom: 1px solid #e6edf4; background: #fff; }
.ml-nav-row { display: flex; align-items: stretch; gap: 12px; }
.ml-categories-wrap { position: relative; }
.ml-all-categories { background: var(--ml-primary); color: #fff; padding: 10px 14px; border-radius: 0; font-size: var(--ml-fs-14); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-width: 170px; font-weight: 600; height: 100%; }
.ml-all-categories em { font-style: normal; font-size: 12px; opacity: .9; margin-left: auto; }
.ml-nav { display: flex; list-style: none; margin: 0; padding: 0; gap: 0; align-items: center; }
.ml-nav a { display: inline-block; padding: 11px 16px; font-size: var(--ml-fs-14); color: #334155; border-radius: 0; font-weight: 500; }
.ml-nav a:hover { background: #eef6fd; color: var(--ml-primary); }
.ml-main { min-height: 60vh; }
.ml-mega-menu { display: none; position: absolute; top: calc(100% + 1px); left: 0; width: 710px; background: #fff; border: 1px solid #d8e2ec; border-radius: 0 0 10px 10px; box-shadow: 0 12px 24px rgba(15,23,42,.16); z-index: 40; }
.ml-categories-wrap:hover .ml-mega-menu { display: grid; grid-template-columns: 180px 1fr; }
.ml-mega-left { background: #fafcff; border-right: 1px solid #e2eaf3; }
.ml-mega-l1 { width: 100%; text-align: left; border: 0; background: transparent; padding: 11px 14px; font-size: var(--ml-fs-13); color: #334155; cursor: pointer; border-left: 3px solid transparent; line-height: 1.35; }
.ml-mega-l1:hover, .ml-mega-l1.is-active { background: #eaf4fe; color: var(--ml-primary); border-left-color: var(--ml-primary); }
.ml-mega-right { padding: 14px 16px; max-height: 380px; overflow: auto; background: #fff; }
.ml-mega-panel { display: none; }
.ml-mega-panel.is-active { display: block; }
.ml-mega-panel h4 { margin: 4px 0 12px; color: var(--ml-primary); font-size: var(--ml-fs-15); line-height: 1.1; font-weight: 700; }
.ml-mega-row { display: grid; grid-template-columns: 170px 1fr; gap: 8px; margin-bottom: 10px; }
.ml-mega-l2 { font-size: var(--ml-fs-13); font-weight: 600; color: #0f172a; line-height: 1.35; }
.ml-mega-l3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
.ml-mega-l3 a { font-size: var(--ml-fs-12); color: #55657a; line-height: 1.35; }
.ml-mega-l3 a:hover { color: var(--ml-primary); text-decoration: underline; }

.ml-hero { position: relative; background: linear-gradient(120deg, #003459, #0077b6); color: #fff; min-height: 470px; overflow: hidden; }
.ml-hero-track { position: relative; min-height: 470px; }
.ml-hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease; }
.ml-hero-slide.is-active { opacity: 1; visibility: visible; }
.ml-hero-inner { min-height: 470px; display: grid; grid-template-columns: 1fr 420px; gap: 24px; align-items: center; }
.ml-hero-copy h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.15; margin: 12px 0; max-width: 720px; }
.ml-hero-copy p { font-size: var(--ml-fs-16); line-height: var(--ml-lh-normal); max-width: 680px; color: rgba(255, 255, 255, .88); }
.ml-hero-badge { display: inline-block; background: rgba(255, 255, 255, .18); border-radius: 999px; font-size: var(--ml-fs-13); padding: 6px 12px; }
.ml-hero-actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.ml-hero-media img { width: 100%; border-radius: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.2); aspect-ratio: 4 / 3; object-fit: cover; }
.ml-hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 999px; background: rgba(255,255,255,.2); color: #fff; cursor: pointer; font-size: 24px; line-height: 1; z-index: 2; }
.ml-hero-prev { left: 10px; }
.ml-hero-next { right: 10px; }
.ml-hero-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 14px; display: flex; gap: 8px; z-index: 2; }
.ml-hero-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.ml-hero-dots button.is-active { width: 26px; border-radius: 20px; background: #fff; }
.ml-btn-primary, .ml-btn-outline { display: inline-block; padding: 11px 18px; border-radius: 8px; font-size: var(--ml-fs-14); font-weight: 500; }
.ml-btn-primary { background: var(--ml-primary); color: #fff; }
.ml-btn-outline { border: 1px solid #fff; color: #fff; }

.ml-section { padding: 56px 0; }
.ml-section-alt { background: var(--ml-bg); }
.ml-section-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 24px; }
.ml-section-head h1, .ml-section-head h2 { margin: 0; font-size: var(--ml-fs-30); line-height: var(--ml-lh-tight); }
.ml-grid { display: grid; gap: 20px; }
.ml-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ml-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ml-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ml-card-excerpt { margin: 0 12px 14px; color: #6b7280; font-size: var(--ml-fs-13); line-height: var(--ml-lh-normal); }
.ml-feature-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border: 1px solid #edf1f6; border-radius: 12px; padding: 16px; background: #fff; }
.ml-feature-strip div { display: grid; gap: 4px; }
.ml-feature-strip strong { font-size: var(--ml-fs-14); color: #111827; line-height: var(--ml-lh-tight); }
.ml-feature-strip span { font-size: var(--ml-fs-12); color: #6b7280; line-height: var(--ml-lh-normal); }
.ml-section-hot { background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%); }

.ml-card { border: 1px solid #edf1f6; border-radius: 12px; overflow: hidden; background: #fff; }
.ml-card-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ml-card h3 { margin: 12px 12px 8px; font-size: var(--ml-fs-14); line-height: 1.4; min-height: 42px; }
.ml-price { margin: 0 12px 14px; color: var(--ml-primary); font-size: var(--ml-fs-15); font-weight: 600; line-height: var(--ml-lh-tight); }
.ml-price-lg { font-size: var(--ml-fs-30); line-height: var(--ml-lh-tight); margin-bottom: 16px; }
.ml-price-hint { margin: -8px 0 16px; font-size: var(--ml-fs-13); color: #6b7280; line-height: var(--ml-lh-normal); }
.ml-price-hint a { color: var(--ml-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ml-card-image--placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e8eef5 0%, #f1f5f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ml-card-image--placeholder::after {
  content: "No image";
  font-size: var(--ml-fs-12);
  color: #94a3b8;
  font-weight: 500;
}
.ml-category-card, .ml-brand-card { display: block; border: 1px solid #edf1f6; border-radius: 12px; padding: 16px; background: #fff; transition: .2s; }
.ml-category-card h3, .ml-brand-card h3 { margin: 0; font-size: var(--ml-fs-16); line-height: var(--ml-lh-tight); min-height: 0; }
.ml-category-card p, .ml-brand-card p { margin: 6px 0 0; font-size: var(--ml-fs-13); line-height: var(--ml-lh-normal); color: #6b7280; }
.ml-category-card:hover, .ml-brand-card:hover { border-color: #bfdff4; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.ml-brand-card span { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 999px; color: #fff; background: linear-gradient(120deg, #0077b6, #00b4d8); margin-bottom: 10px; font-weight: 700; }
.ml-solution-card { border: 1px solid #edf1f6; border-radius: 12px; overflow: hidden; background: #fff; }
.ml-solution-card-body { padding: 14px; }
.ml-solution-card-body h3 { margin: 0; font-size: var(--ml-fs-16); line-height: var(--ml-lh-tight); }
.ml-solution-card-body p { margin: 8px 0 0; color: #6b7280; font-size: var(--ml-fs-13); line-height: var(--ml-lh-normal); }
.ml-filter-bar { display: grid; grid-template-columns: 2fr 1fr 1fr auto auto; gap: 10px; margin-bottom: 20px; }
.ml-filter-bar input, .ml-filter-bar select { border: 1px solid #d1d5db; border-radius: 8px; padding: 10px 12px; font-size: var(--ml-fs-14); }
.ml-filter-reset { align-self: center; font-size: var(--ml-fs-14); color: #ef4444; }
.ml-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ml-chip { padding: 6px 10px; border-radius: 999px; font-size: var(--ml-fs-12); color: #4b5563; background: #f3f4f6; }
.ml-chip.is-active { background: #f0f7ff; color: var(--ml-primary); }

.ml-product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ml-product-image { width: 100%; border-radius: 12px; aspect-ratio: 1 / 1; object-fit: cover; }
.ml-meta-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; color: #4b5563; }
.ml-content h1 { margin-top: 0; }
.ml-tabs { margin-top: 28px; border-bottom: 1px solid #e5e7eb; display: flex; gap: 20px; }
.ml-tabs a { padding: 10px 0; color: #6b7280; border-bottom: 2px solid transparent; font-size: var(--ml-fs-14); }
.ml-tabs a.is-active { color: var(--ml-primary); border-bottom-color: var(--ml-primary); }
.ml-tab-content { padding-top: 16px; }
.ml-spec-table { border-collapse: collapse; width: 100%; font-size: var(--ml-fs-14); }
.ml-spec-table td { border: 1px solid #eef2f7; padding: 10px 12px; }
.ml-spec-table td:first-child { background: #f8fafc; width: 220px; color: #4b5563; }
.ml-term-desc { color: #6b7280; margin-bottom: 20px; font-size: var(--ml-fs-14); }

.ml-solution-hero { background: linear-gradient(120deg, rgba(0,52,89,.95), rgba(0,119,182,.88)); color: #fff; padding: 60px 0; }
.ml-solution-hero h1 { margin: 0; font-size: clamp(30px, 4.5vw, 44px); line-height: 1.15; }
.ml-solution-hero p { margin-top: 12px; color: rgba(255,255,255,.82); font-size: var(--ml-fs-16); line-height: var(--ml-lh-normal); max-width: 840px; }
.ml-solution-image { width: 100%; border-radius: 14px; margin-bottom: 20px; }
.ml-equipment-table-wrap { margin-top: 24px; }
.ml-equipment-table-wrap h2 { margin: 0 0 12px; }
.ml-solution-cta { margin: 24px 0 10px; padding: 18px; border: 1px solid #d9eaf6; border-radius: 12px; background: #f0f7ff; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ml-solution-cta h3 { margin: 0; font-size: var(--ml-fs-20); line-height: var(--ml-lh-tight); }
.ml-solution-cta p { margin: 6px 0 0; color: #4b5563; font-size: var(--ml-fs-14); line-height: var(--ml-lh-normal); }
.ml-about-side { border: 1px solid #e8edf3; border-radius: 12px; padding: 18px; background: #fff; }
.ml-about-side h3 { margin-top: 0; }

.ml-contact-wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; }
.ml-contact-side { border: 1px solid #edf1f6; border-radius: 12px; padding: 16px; background: #fff; }

/* Account (Sign In / profile) */
.ml-account-page { max-width: 560px; margin-inline: auto; }
.ml-account-auth { border: 1px solid #e5e7eb; border-radius: 12px; padding: 24px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
.ml-account-auth #loginform p { margin: 0 0 12px; }
.ml-account-auth .login-username label,
.ml-account-auth .login-password label { display: block; margin-bottom: 4px; font-weight: 600; font-size: var(--ml-fs-13); color: #374151; }
.ml-account-auth input[type="text"],
.ml-account-auth input[type="password"] { width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: var(--ml-fs-14); }
.ml-account-auth .login-submit input[type="submit"] { padding: 10px 22px; border: 0; border-radius: 8px; background: var(--ml-primary); color: #fff; font-weight: 600; cursor: pointer; font-size: var(--ml-fs-14); }
.ml-account-register { margin-top: 16px; text-align: center; font-size: var(--ml-fs-14); }
.ml-account-panel { border: 1px solid #e5e7eb; border-radius: 12px; padding: 24px; background: #fafafa; }
.ml-account-welcome { margin: 0 0 16px; font-size: var(--ml-fs-16); font-weight: 600; color: #111827; }
.ml-account-actions { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ml-account-content { margin-top: 20px; padding-top: 20px; border-top: 1px solid #e5e7eb; font-size: var(--ml-fs-14); line-height: var(--ml-lh-normal); }
.ml-account-logout { color: #b91c1c; font-weight: 600; }
.ml-account-page .ml-btn-outline { border: 1px solid var(--ml-primary); color: var(--ml-primary); background: #fff; }
.ml-account-page .ml-btn-outline:hover { background: #eef6fd; }

.ml-footer { background: #003459; color: #d1d5db; margin-top: 40px; }
.ml-footer-grid { padding: 42px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ml-footer-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ml-footer h3, .ml-footer h4 { color: #fff; margin-top: 0; }
.ml-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ml-copyright { border-top: 1px solid rgba(255,255,255,.15); font-size: var(--ml-fs-13); padding: 12px 0; color: #9ca3af; }

.ml-pagination { margin-top: 24px; }

@media (max-width: 1024px) {
  .ml-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ml-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ml-grid-2 { grid-template-columns: 1fr; }
  .ml-product-detail { grid-template-columns: 1fr; }
  .ml-contact-wrap { grid-template-columns: 1fr; }
  .ml-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .ml-footer-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ml-filter-bar { grid-template-columns: 1fr 1fr; }
  .ml-feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ml-solution-cta { flex-direction: column; align-items: flex-start; }
  .ml-mega-menu { width: 640px; }
  .ml-hero-inner { grid-template-columns: 1fr; padding: 50px 0; }
  .ml-hero-media { display: none; }
}

@media (max-width: 640px) {
  .ml-search { display: none; }
  .ml-grid-4, .ml-grid-3 { grid-template-columns: 1fr; }
  .ml-logo.ml-wordmark { font-size: 26px; }
  .ml-footer-grid { grid-template-columns: 1fr; }
  .ml-filter-bar { grid-template-columns: 1fr; }
  .ml-feature-strip { grid-template-columns: 1fr; }
  .ml-nav-row { flex-wrap: wrap; padding: 8px 0; }
  .ml-categories-wrap { width: 100%; }
  .ml-mega-menu { display: none !important; }
  .ml-hero { min-height: 420px; }
  .ml-hero-track { min-height: 420px; }
  .ml-hero-slide, .ml-hero-slide.is-active { position: static; visibility: visible; opacity: 1; }
  .ml-hero-slide:not(.is-active) { display: none; }
}
