@font-face { font-family: Inter; src: url(/fonts/inter-var-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --ink: #0f1b2a; --muted: #5b6b7f; --line: #e2e8f0; --bg: #ffffff; --soft: #f5f8fb;
  --navy: #0b1f33; --accent: #0d9488; --accent-2: #2dd4bf; --warn-bg: #fff4e5; --warn: #9a5b00;
  --radius: 10px; --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: .4em 0 .3em; }
h2 { font-size: 1.25rem; margin: 2em 0 .7em; }
code { font-family: var(--mono); font-size: .9em; background: var(--soft); padding: .1em .35em; border-radius: 4px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: .82rem; }
.lead { font-size: 1.05rem; color: #334155; max-width: 860px; }

/* Header */
.hdr { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 10; }
.hdr-in { display: flex; align-items: center; gap: 20px; min-height: 62px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.logo { color: #fff; font-weight: 700; font-size: 1.2rem; display: flex; align-items: center; gap: 8px; margin: 0; }
.logo b { color: var(--accent-2); }
.jump-quote { display: none; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 22px; height: 22px; border: 2px solid var(--accent-2); border-radius: 4px; box-shadow: inset 0 0 0 3px var(--navy), inset 0 0 0 10px rgba(45,212,191,.25); }
.hdr-search { flex: 1; display: flex; min-width: 240px; }
.hdr-search input { flex: 1; border: 0; border-radius: 8px 0 0 8px; padding: 9px 12px; font: inherit; min-width: 0; }
.hdr-search button { border: 0; background: var(--accent); color: #fff; padding: 0 16px; border-radius: 0 8px 8px 0; font: inherit; font-weight: 600; cursor: pointer; }
.hdr-nav { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hdr-nav a { color: #cbd5e1; font-size: .92rem; }
.hdr-nav a:hover { color: #fff; }
.hdr-nav .btn { color: #fff; }
.rfq-count { background: #fff; color: var(--navy); border-radius: 99px; padding: 0 7px; font-size: .75rem; margin-left: 4px; }

/* Buttons & forms */
.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 8px; padding: 11px 20px; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { background: #0f766e; text-decoration: none; }
.btn:disabled { opacity: .6; cursor: default; }
.btn-sm { padding: 7px 14px; font-size: .9rem; }
.btn-ghost { width: 100%; margin-top: 10px; background: transparent; border: 1px dashed var(--accent); color: var(--accent); border-radius: 8px; padding: 9px; font: inherit; cursor: pointer; }
.btn-add { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; font: inherit; font-size: .8rem; cursor: pointer; white-space: nowrap; color: var(--accent); }
.btn-add:disabled { color: var(--muted); }
.rfq label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 12px; color: #334155; }
.rfq input, .rfq textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 11px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; font-weight: 400; background: #fff; }
.rfq textarea { font-family: var(--mono); font-size: .88rem; }
.rfq input:focus, .rfq textarea:focus { outline: 2px solid var(--accent-2); border-color: var(--accent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-msg { font-weight: 600; min-height: 1.2em; }
.form-msg.ok { color: #047857; }
.form-msg.err { color: #b91c1c; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, #12385a 100%); color: #fff; padding: 56px 0 48px; }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); max-width: 820px; margin-top: 0; }
.hero .lead { color: #cbd5e1; }
.big-search { display: flex; gap: 8px; max-width: 760px; margin: 24px 0 12px; }
.big-search input { flex: 1; min-width: 0; border: 0; border-radius: 10px; padding: 15px 16px; font: inherit; font-size: 1.05rem; font-family: var(--mono); border: 1px solid var(--line); }
.hint { color: #94a3b8; }
.hint a { color: var(--accent-2); }
.usp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 32px; }
.usp h3 { font-size: 1rem; margin-bottom: 4px; }
.usp p { margin: 0; color: var(--muted); }

/* Grids */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.cat-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.cat-card:hover { border-color: var(--accent); box-shadow: 0 2px 10px rgba(13,148,136,.12); text-decoration: none; }
.cat-card span { color: var(--muted); font-size: .85rem; }
.brand-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-cloud a, .chip { border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; color: var(--ink); font-size: .9rem; background: #fff; }
.brand-cloud a span, .chip span { color: var(--muted); font-size: .8rem; }
.brand-cloud a:hover, .chip:hover { border-color: var(--accent); text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.chip.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.chip.on span { color: #ccfbf1; }

/* Breadcrumbs */
.crumbs { font-size: .85rem; color: var(--muted); margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs span[aria-hidden] { color: #94a3b8; }

/* Tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th { text-align: left; background: var(--soft); font-weight: 600; color: #334155; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr:hover td { background: #fafcfd; }
.mpn { font-family: var(--mono); font-weight: 600; word-break: break-all; }
.specs span { display: inline-block; background: var(--soft); border-radius: 4px; padding: 0 6px; margin: 0 4px 2px 0; font-size: .8rem; }
.pill { display: inline-block; font-size: .72rem; font-weight: 600; border-radius: 99px; padding: 1px 8px; }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.pager { display: flex; justify-content: space-between; align-items: center; margin: 18px 0; }
.inline-search { display: flex; gap: 8px; margin: 0 0 16px; max-width: 520px; }
.inline-search input { flex: 1; padding: 8px 11px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; min-width: 0; }

/* Part page */
.part-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; }
.eyebrow { margin: 18px 0 0; color: var(--muted); font-size: .9rem; }
.part-h1 { font-family: var(--mono); word-break: break-all; margin-top: 4px; }
.prose p { max-width: 760px; }
.spec { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec th { text-align: left; width: 40%; font-weight: 500; color: var(--muted); padding: 7px 12px 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.quote-box { position: sticky; top: 80px; border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--soft); margin-top: 18px; }
.quote-box h2 { margin: 0 0 6px; }
.qb-mpn { font-family: var(--mono); font-weight: 700; margin: 0; word-break: break-all; }
.qb-mpn span { font-family: Inter, sans-serif; font-weight: 400; color: var(--muted); font-size: .9rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; color: #334155; }
.notice { border: 1px solid #fcd34d; background: #fffbeb; border-radius: var(--radius); padding: 4px 20px; }

/* Footer */
.ftr { background: var(--navy); color: #94a3b8; margin-top: 64px; padding: 40px 0 24px; font-size: .9rem; }
.ftr a { color: #cbd5e1; display: block; }
.ftr p a { display: inline; }
.ftr-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.ftr-h { color: #fff; font-weight: 600; margin-top: 0; }
.ftr-legal { border-top: 1px solid #1e3a55; margin-top: 28px; padding-top: 16px; font-size: .78rem; }

@media (max-width: 900px) {
  .part-grid { grid-template-columns: 1fr; }
  .quote-box { position: static; }
  .jump-quote { display: inline-block; margin-bottom: 8px; }
  .usp { grid-template-columns: 1fr; gap: 8px; }
  .ftr-in { grid-template-columns: 1fr; }
  .hdr-nav { gap: 12px; }
}
@media (max-width: 600px) {
  .hide-sm { display: none; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .big-search { flex-direction: column; }
  .hero { padding: 32px 0; }
}
.notice-sm { border-left: 3px solid #f59e0b; background: #fffbeb; padding: 10px 14px; font-size: .88rem; color: #334155; border-radius: 0 8px 8px 0; max-width: 860px; }
