@import "tailwindcss";

:root {
  --ink: #10182b;
  --muted: #647089;
  --line: #dce3ef;
  --blue: #185ee8;
  --blue-dark: #1048b7;
  --blue-soft: #edf4ff;
  --orange: #ff7a2f;
  --surface: #ffffff;
  --canvas: #f4f7fb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(32px, calc((100vw - 1240px) / 2));
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(16,24,43,.08);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  color: white; font-size: 21px; font-weight: 900; font-style: italic;
  background: linear-gradient(145deg, #2d75ff, #0e48b9);
  box-shadow: 0 7px 18px rgba(24,94,232,.25);
}
.brand > span:last-child { display: grid; gap: 1px; }
.brand strong { font-size: 14px; letter-spacing: .08em; line-height: 1; }
.brand small { color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.site-header nav { display: flex; gap: 34px; font-size: 14px; color: #536078; }
.site-header nav a:hover { color: var(--blue); }
.header-cta {
  border: 0; border-radius: 10px; padding: 11px 17px;
  background: var(--ink); color: white; cursor: pointer; font-weight: 650;
}
.header-cta span { margin-left: 8px; color: #82aaff; }

.hero {
  min-height: 720px;
  padding: 74px max(32px, calc((100vw - 1240px) / 2)) 92px;
  display: grid;
  grid-template-columns: minmax(420px, .88fr) minmax(560px, 1.12fr);
  gap: 70px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 7%, rgba(62,129,255,.12), transparent 24%),
    linear-gradient(135deg, #f8fbff 0%, #edf3fc 100%);
}
.hero-copy { padding: 14px 0 36px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--blue); font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow span { width: 22px; height: 2px; border-radius: 2px; background: var(--orange); }
.hero h1 { margin: 20px 0 24px; font-size: clamp(48px, 5.2vw, 76px); line-height: 1.05; letter-spacing: -.055em; font-weight: 780; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 570px; margin: 0; color: #5e6b80; font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 34px; }
.primary-action, .panel-primary, .next-button {
  border: 0; border-radius: 12px; color: white; background: var(--blue);
  cursor: pointer; font-weight: 720; box-shadow: 0 12px 28px rgba(24,94,232,.23);
  transition: transform .2s, background .2s, box-shadow .2s;
}
.primary-action { padding: 16px 23px; }
.primary-action:hover, .panel-primary:hover, .next-button:hover { transform: translateY(-1px); background: var(--blue-dark); box-shadow: 0 15px 34px rgba(24,94,232,.3); }
.primary-action span, .next-button span { margin-left: 12px; }
.text-action { color: #41506a; font-size: 14px; padding-bottom: 3px; border-bottom: 1px solid #8f9aae; }
.trust-row { display: flex; gap: 25px; margin-top: 46px; padding-top: 24px; border-top: 1px solid #d7dfeb; }
.trust-row span { display: grid; gap: 5px; color: #718097; font-size: 11px; }
.trust-row b { color: var(--ink); font-size: 17px; }

.selector-shell {
  min-height: 585px;
  background: white;
  border: 1px solid rgba(73,98,142,.15);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(27,54,99,.16), 0 3px 8px rgba(27,54,99,.06);
  overflow: hidden;
}
.selector-topbar {
  height: 58px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; background: #f9fbfe; border-bottom: 1px solid #e4e9f1;
  font-size: 13px; font-weight: 700;
}
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #1fce7a; box-shadow: 0 0 0 4px rgba(31,206,122,.12); }
.secure-note { color: #8994a7; font-size: 11px; font-weight: 500; }
.welcome-panel { min-height: 527px; padding: 70px 54px 42px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.assistant-avatar { width: 64px; height: 64px; border-radius: 19px; display: grid; place-items: center; color: white; background: linear-gradient(145deg, #397fff, #1454d0); font-size: 20px; font-weight: 850; box-shadow: 0 12px 28px rgba(24,94,232,.25); }
.assistant-label { margin: 16px 0 10px; color: var(--blue); font-size: 12px; font-weight: 720; }
.welcome-panel h2 { max-width: 380px; margin: 0; font-size: 26px; letter-spacing: -.03em; }
.welcome-panel > p:not(.assistant-label) { max-width: 390px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.panel-primary { min-height: 49px; padding: 0 24px; }
.welcome-panel .panel-primary { width: min(100%, 330px); margin-top: 19px; display: flex; align-items: center; justify-content: space-between; }
.panel-primary span { margin-left: 18px; font-size: 11px; color: #dce8ff; font-weight: 500; }
.privacy-note { margin-top: 17px; color: #8a95a8; font-size: 11px; }

.question-panel { min-height: 527px; padding: 24px 30px 26px; display: flex; flex-direction: column; }
.progress-wrap { margin-bottom: 27px; }
.progress-labels { display: flex; justify-content: space-between; margin-bottom: 9px; color: #7e899b; font-size: 11px; }
.progress-labels strong { color: var(--blue); }
.progress-track { height: 4px; border-radius: 4px; overflow: hidden; background: #edf0f5; }
.progress-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #50a3ff); transition: width .3s; }
.question-step { flex: 1; }
.step-kicker { margin: 0 0 7px; color: var(--blue); font-size: 11px; letter-spacing: .08em; font-weight: 800; text-transform: uppercase; }
.question-step h2, .result-heading h2 { margin: 0; font-size: 23px; letter-spacing: -.025em; }
.step-help { margin: 7px 0 19px; color: #7c8799; font-size: 12px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-card { position: relative; min-height: 76px; padding: 14px 35px 14px 15px; display: grid; gap: 5px; text-align: left; border: 1px solid #dfe5ee; border-radius: 11px; background: white; cursor: pointer; }
.choice-card:hover { border-color: #a8c3f4; background: #fbfdff; }
.choice-card.selected { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.choice-card b { font-size: 13px; }
.choice-card small { color: #8590a2; font-size: 10px; line-height: 1.45; }
.choice-check { display: none; position: absolute; right: 12px; top: 12px; width: 19px; height: 19px; border-radius: 50%; place-items: center; color: white; background: var(--blue); font-size: 11px; }
.choice-card.selected .choice-check { display: grid; }
.panel-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.back-button, .restart-button { padding: 11px 2px; border: 0; color: #798599; background: transparent; cursor: pointer; font-size: 12px; }
.next-button { min-width: 150px; padding: 13px 20px; }
.next-button:disabled { cursor: not-allowed; opacity: .35; transform: none; box-shadow: none; }
.field-stack { margin-top: 13px; padding: 15px 16px 13px; border-radius: 12px; background: #f6f8fc; }
.field-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #657187; font-size: 12px; }
.field-label strong { color: var(--blue); font-size: 15px; }
.torque-entry { display: flex; align-items: center; gap: 6px; }
.torque-entry input { width: 86px; height: 34px; padding: 0 9px; text-align: right; font-weight: 750; }
.torque-entry strong { font-size: 10px; white-space: nowrap; }
.range-input { width: 100%; margin: 16px 0 5px; accent-color: var(--blue); }
.range-scale { display: flex; justify-content: space-between; color: #9aa3b1; font-size: 9px; }
.torque-presets { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 10px; }
.torque-presets button { min-width: 0; padding: 6px 2px; border: 1px solid #d8e0eb; border-radius: 7px; color: #657187; background: white; cursor: pointer; font-size: 9px; }
.torque-presets button.active { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); font-weight: 750; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 15px; }
.compact-fields { margin-top: 0; }
.parameter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin-top: 13px; }
.select-field, .text-field { display: grid; gap: 7px; }
.select-field span, .text-field span, .field-title, .sample-form label span { color: #68758a; font-size: 11px; font-weight: 650; }
select, input, textarea { outline: none; border: 1px solid #dbe2ec; border-radius: 9px; color: var(--ink); background: white; }
select:focus, input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,94,232,.1); }
.select-field select, .parameter-input { width: 100%; height: 43px; padding: 0 12px; }
.text-field { margin-top: 13px; }
.text-field input { height: 44px; padding: 0 13px; }
.project-notes textarea { min-height: 78px; padding: 11px 13px; resize: vertical; line-height: 1.55; }
.field-group { margin: 17px 0 13px; }
.pill-row { display: flex; gap: 7px; margin-top: 8px; }
.pill-row button { flex: 1; padding: 10px 7px; border: 1px solid #dce3ed; border-radius: 9px; background: white; cursor: pointer; font-size: 11px; }
.pill-row button.active { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); font-weight: 700; }

.result-panel { padding: 24px 28px 28px; }
.result-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.best-match { display: grid; grid-template-columns: 180px 1fr; border: 1px solid #cfdaf0; border-radius: 15px; overflow: hidden; box-shadow: 0 8px 24px rgba(38,70,125,.08); }
.match-image-wrap { position: relative; min-height: 270px; background: #eff4fb; }
.match-image-wrap img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.match-badge { position: absolute; left: 12px; top: 12px; padding: 6px 9px; border-radius: 7px; color: white; background: var(--orange); font-size: 9px; font-weight: 800; }
.match-content { position: relative; padding: 19px 19px 16px; }
.match-score { position: absolute; right: 16px; top: 15px; display: grid; text-align: right; color: #7c889a; font-size: 9px; }
.match-score strong { color: var(--blue); font-size: 18px; }
.product-code { margin: 0 0 4px; color: #8b96a8; font-size: 9px; }
.match-content h3 { max-width: 250px; margin: 0; font-size: 19px; }
.product-subtitle { margin: 5px 0 13px; color: #7b8799; font-size: 10px; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.metric { padding: 8px 9px; border-radius: 8px; background: #f4f7fb; display: grid; gap: 3px; }
.metric span { color: #8994a6; font-size: 8px; }
.metric strong { font-size: 10px; }
.reason-list { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 10px; padding: 0; list-style: none; color: #2d6e55; font-size: 9px; }
.price-line { display: flex; align-items: baseline; gap: 6px; padding-top: 9px; border-top: 1px solid #edf0f4; }
.price-line span { color: #7c8798; font-size: 9px; }
.price-line strong { color: #e55726; font-size: 20px; }
.price-line small { color: #9aa4b3; font-size: 8px; }
.source-line { display: flex; align-items: center; gap: 7px; padding-top: 9px; border-top: 1px solid #edf0f4; }
.source-line span { color: #7c8798; font-size: 9px; }
.source-line strong { color: var(--blue); font-size: 10px; }
.source-line small { margin-left: auto; color: #9aa4b3; font-size: 8px; }
.engineer-alert { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 12px; border: 1px solid #f0d29e; border-radius: 9px; background: #fff9ef; }
.engineer-alert span { flex: 0 0 auto; padding: 4px 7px; border-radius: 5px; color: #9b5a0a; background: #ffe7bc; font-size: 8px; font-weight: 800; }
.engineer-alert p { margin: 0; color: #815e2f; font-size: 9px; }
.alternative-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 10px; }
.alternative-card { min-width: 0; display: grid; grid-template-columns: 58px 1fr; align-items: center; border: 1px solid #e1e6ee; border-radius: 10px; overflow: hidden; }
.alternative-card img { width: 58px; height: 58px; object-fit: cover; background: #f0f3f7; }
.alternative-card div { min-width: 0; padding: 7px 9px; }
.alternative-card span { color: var(--blue); font-size: 8px; font-weight: 700; }
.alternative-card h4 { margin: 2px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.alternative-card p { margin: 0; color: #8a95a6; font-size: 8px; }
.result-actions { display: flex; gap: 9px; margin-top: 14px; }
.result-actions .panel-primary { flex: 1; }
.outline-button { border: 1px solid #cfd7e4; border-radius: 10px; padding: 0 17px; background: white; cursor: pointer; font-size: 11px; font-weight: 650; }
.outline-button:hover { border-color: var(--blue); color: var(--blue); }
.sample-form { margin-top: 15px; padding: 18px; border: 1px solid #cbd7eb; border-radius: 12px; background: #f8faff; }
.sample-form h3 { margin: 0; font-size: 17px; }
.sample-form > div:first-child > p:last-child { margin: 5px 0 14px; color: #7e8999; font-size: 9px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.sample-form label { display: grid; gap: 5px; }
.sample-form input, .sample-form select { height: 37px; padding: 0 10px; font-size: 10px; }
.full-field { margin-top: 9px; }
.sample-form textarea { min-height: 58px; padding: 9px 10px; resize: vertical; font-size: 10px; }
.sample-form .panel-primary { width: 100%; margin-top: 10px; }
.demo-disclaimer { display: block; margin-top: 8px; color: #9aa3b1; text-align: center; font-size: 8px; }
.success-card { margin-top: 14px; padding: 24px; text-align: center; border-radius: 12px; background: #effaf5; border: 1px solid #bce8d2; }
.success-icon { width: 38px; height: 38px; margin: 0 auto 10px; display: grid; place-items: center; color: white; background: #20b973; border-radius: 50%; font-weight: 800; }
.success-card h3 { margin: 0; }
.success-card > p:not(.step-kicker) { color: #66776f; font-size: 10px; }
.success-card .outline-button { min-height: 38px; }
.custom-result-card {
  padding: 22px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px 16px;
  border: 1px solid #bdd0f2;
  border-radius: 15px;
  background: linear-gradient(145deg, #f7faff, #edf4ff);
}
.custom-result-mark { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; color: white; background: linear-gradient(145deg, #397fff, #1454d0); font-size: 13px; font-weight: 850; box-shadow: 0 10px 22px rgba(24,94,232,.2); }
.custom-result-card > div:nth-child(2) > span { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.custom-result-card h3 { margin: 4px 0 7px; font-size: 18px; line-height: 1.35; }
.custom-result-card > div:nth-child(2) > p { margin: 0; color: #6d7b91; font-size: 10px; line-height: 1.65; }
.custom-requirement-grid { grid-column: 1 / -1; margin-top: 8px; }
.custom-notes { grid-column: 1 / -1; margin: 2px 0 0; padding: 10px 12px; border-radius: 8px; color: #5d6c82; background: rgba(255,255,255,.8); font-size: 9px; line-height: 1.6; }
.custom-contact-form { border-color: #afc8f2; }

.capability-strip { padding: 28px max(32px, calc((100vw - 1120px) / 2)); display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink); color: white; }
.capability-strip div { display: grid; gap: 4px; text-align: center; border-right: 1px solid rgba(255,255,255,.13); }
.capability-strip div:last-child { border-right: 0; }
.capability-strip strong { font-size: 20px; }
.capability-strip span { color: #9fadca; font-size: 10px; }
.products-section { max-width: 1240px; margin: 0 auto; padding: 105px 32px 120px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 36px; }
.section-heading h2 { margin: 10px 0 0; font-size: 39px; letter-spacing: -.04em; }
.section-heading > p { max-width: 480px; margin: 0; color: #6e7a8e; line-height: 1.8; font-size: 13px; }
.catalog-summary {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 9px;
  margin-bottom: 22px;
}
.catalog-summary button {
  min-height: 76px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 1px solid #dbe2ec;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.catalog-summary button:hover { transform: translateY(-2px); border-color: #aac5f4; }
.catalog-summary button.active { border-color: var(--blue); background: var(--blue-soft); }
.catalog-summary strong { color: var(--blue); font-size: 19px; }
.catalog-summary span { color: #748196; font-size: 10px; }
.catalog-category-note { margin: -8px 2px 18px; color: #8792a3; font-size: 10px; line-height: 1.6; }
.catalog-toolbar {
  position: sticky;
  top: 74px;
  z-index: 20;
  margin-bottom: 25px;
  padding: 14px;
  border: 1px solid #dbe2ec;
  border-radius: 15px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 9px 25px rgba(30,53,91,.07);
  backdrop-filter: blur(12px);
}
.catalog-search { position: relative; display: flex; align-items: center; }
.catalog-search > span {
  position: absolute;
  left: 15px;
  top: 9px;
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
  transform: rotate(-18deg);
}
.catalog-search input { width: 100%; height: 48px; padding: 0 46px; background: #f7f9fc; }
.catalog-search > button {
  position: absolute;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: #7f8a9d;
  background: #e9edf3;
  cursor: pointer;
}
.category-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.category-pills button {
  padding: 8px 12px;
  border: 1px solid #dce3ed;
  border-radius: 999px;
  background: white;
  cursor: pointer;
  color: #68758a;
  font-size: 10px;
}
.category-pills button.active { border-color: var(--blue); color: white; background: var(--blue); }
.category-pills button.feature-filter:not(.active) { border-color: #f1bf92; color: #a75a19; background: #fff9f3; }
.catalog-result-count { margin: 11px 2px 0; color: #8792a3; font-size: 10px; }
.catalog-result-count strong { color: var(--blue); font-size: 12px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.catalog-card {
  min-width: 0;
  border: 1px solid #dce3ed;
  border-radius: 14px;
  overflow: hidden;
  background: white;
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.catalog-card:hover { transform: translateY(-3px); border-color: #b7c9e7; box-shadow: 0 15px 34px rgba(30,53,91,.1); }
.catalog-image-button {
  position: relative;
  width: 100%;
  height: 280px;
  display: grid;
  place-items: center;
  border: 0;
  border-bottom: 1px solid #edf0f4;
  background: linear-gradient(145deg, #f8fafe, #eef3fa);
  cursor: pointer;
  overflow: hidden;
}
.catalog-image-button img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s ease; }
.catalog-image-button:hover img { transform: scale(1.07); }
.catalog-image-button small {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  border-radius: 6px;
  color: #315686;
  background: rgba(255,255,255,.9);
  box-shadow: 0 2px 8px rgba(31,56,93,.08);
  font-size: 8px;
  font-weight: 750;
}
.catalog-zoom-hint {
  position: absolute;
  right: 11px;
  bottom: 11px;
  padding: 6px 9px;
  border-radius: 7px;
  color: #315686;
  background: rgba(255,255,255,.92);
  box-shadow: 0 3px 12px rgba(31,56,93,.1);
  font-size: 9px;
  font-weight: 700;
}
.catalog-placeholder { color: #9eb3d3; font-size: 14px; font-weight: 800; letter-spacing: .12em; }
.catalog-card-body { padding: 16px; }
.catalog-card-body > p { margin: 0 0 5px; color: #8793a5; font-size: 9px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.catalog-card-body h3 { height: 42px; margin: 0 0 12px; overflow: hidden; font-size: 14px; line-height: 1.5; }
.catalog-card-body dl { min-height: 83px; margin: 0; padding: 10px; border-radius: 9px; background: #f6f8fb; }
.catalog-card-body dl div { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; font-size: 9px; }
.catalog-card-body dt { color: #8a95a7; }
.catalog-card-body dd { max-width: 58%; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; font-weight: 650; }
.catalog-card-body > button {
  width: 100%;
  margin-top: 12px;
  padding: 10px 0 2px;
  display: flex;
  justify-content: space-between;
  border: 0;
  color: var(--blue);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}
.catalog-empty { padding: 60px 20px; text-align: center; border: 1px dashed #cbd5e3; border-radius: 15px; background: white; }
.catalog-empty p { color: #8792a4; font-size: 12px; }
.catalog-empty button { border: 0; color: var(--blue); background: transparent; cursor: pointer; font-weight: 700; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 34px; }
.load-more-wrap button {
  min-width: 240px;
  padding: 14px 22px;
  display: grid;
  gap: 3px;
  border: 1px solid #cbd6e6;
  border-radius: 11px;
  background: white;
  cursor: pointer;
  font-weight: 700;
}
.load-more-wrap button:hover { border-color: var(--blue); color: var(--blue); }
.load-more-wrap span { color: #8c97a8; font-size: 8px; font-weight: 500; }
.catalog-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7,14,29,.7);
  backdrop-filter: blur(8px);
}
.catalog-modal {
  position: relative;
  width: min(900px, 100%);
  max-height: min(820px, 92vh);
  padding: 28px;
  overflow-y: auto;
  border-radius: 18px;
  background: white;
  box-shadow: 0 30px 90px rgba(0,0,0,.3);
}
.catalog-modal-close {
  position: absolute;
  right: 17px;
  top: 15px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #627086;
  background: #eef2f7;
  cursor: pointer;
  font-size: 20px;
}
.catalog-modal-product { display: grid; grid-template-columns: 360px 1fr; align-items: center; gap: 34px; }
.catalog-modal-image { height: 300px; display: grid; place-items: center; border-radius: 13px; overflow: hidden; background: #f2f5fa; }
.catalog-modal-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.catalog-modal-product h2 { margin: 4px 0 10px; font-size: 27px; line-height: 1.3; letter-spacing: -.025em; }
.catalog-modal-product code { color: #5d6b81; font-size: 11px; }
.catalog-source-note { color: #96a0af; font-size: 9px; }
.catalog-spec-table { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 25px; overflow: hidden; border: 1px solid #e0e5ed; border-radius: 11px; background: #e0e5ed; }
.catalog-spec-table div { min-height: 48px; padding: 10px 12px; display: grid; align-content: center; gap: 4px; background: white; }
.catalog-spec-table span { color: #8b96a7; font-size: 9px; }
.catalog-spec-table strong { font-size: 11px; }
.catalog-modal-actions { display: flex; align-items: center; gap: 18px; margin-top: 20px; }
.catalog-modal-actions .panel-primary { flex: 0 0 auto; }
.catalog-modal-actions p { margin: 0; color: #8b95a5; font-size: 9px; line-height: 1.6; }
.how-section { padding: 100px max(32px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; color: white; background: linear-gradient(135deg, #0c1528, #14284e); }
.eyebrow.light { color: #77a5ff; }
.how-copy h2 { margin: 18px 0; font-size: 42px; line-height: 1.15; letter-spacing: -.04em; }
.how-copy > p:not(.eyebrow) { max-width: 500px; color: #a9b6cc; line-height: 1.8; font-size: 13px; }
.light-button { margin-top: 24px; color: var(--ink); background: white; box-shadow: none; }
.light-button:hover { color: white; }
.flow-list { display: grid; }
.flow-list > div { display: grid; grid-template-columns: 52px 1fr; align-items: center; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.flow-list b { color: #5e8ce2; font-size: 13px; }
.flow-list span { display: grid; gap: 6px; }
.flow-list strong { font-size: 17px; }
.flow-list small { color: #93a2bc; font-size: 11px; }
footer { padding: 34px max(32px, calc((100vw - 1240px) / 2)); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; background: white; border-top: 1px solid #e1e6ee; }
footer p { margin: 0; color: #8792a3; text-align: center; font-size: 10px; }
footer > span { color: #9aa4b2; font-size: 10px; }

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; padding-top: 54px; gap: 35px; }
  .hero-copy { max-width: 760px; }
  .selector-shell { width: min(100%, 720px); }
  .how-section { gap: 45px; }
  .catalog-summary { grid-template-columns: repeat(4, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-image-button { height: 260px; }
}

@media (max-width: 720px) {
  .site-header { height: 64px; padding: 0 18px; }
  .site-header nav { display: none; }
  .header-cta { padding: 9px 12px; font-size: 12px; }
  .hero { min-height: 0; padding: 45px 16px 56px; }
  .hero h1 { font-size: 48px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .trust-row { gap: 16px; }
  .selector-shell { border-radius: 16px; }
  .question-panel, .result-panel { padding: 20px 16px; }
  .welcome-panel { padding: 55px 20px 35px; }
  .choice-grid, .two-fields, .parameter-grid, .form-grid, .alternative-list { grid-template-columns: 1fr; }
  .torque-presets { grid-template-columns: repeat(4, 1fr); }
  .best-match { grid-template-columns: 1fr; }
  .match-image-wrap { height: 240px; }
  .capability-strip { grid-template-columns: 1fr 1fr; gap: 24px 0; padding: 28px 16px; }
  .capability-strip div:nth-child(2) { border-right: 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .catalog-summary { grid-template-columns: repeat(2, 1fr); }
  .catalog-summary button:last-child { grid-column: 1 / -1; }
  .catalog-toolbar { top: 64px; }
  .catalog-grid { grid-template-columns: 1fr; gap: 15px; }
  .catalog-image-button { height: 280px; }
  .catalog-card-body { padding: 15px; }
  .catalog-card-body h3 { height: auto; min-height: 42px; font-size: 14px; }
  .catalog-card-body dl { min-height: 90px; }
  .catalog-modal-backdrop { padding: 10px; }
  .catalog-modal { padding: 22px 16px; }
  .catalog-modal-product { grid-template-columns: 1fr; gap: 16px; }
  .catalog-modal-image { height: 290px; }
  .catalog-spec-table { grid-template-columns: 1fr; }
  .catalog-modal-actions { align-items: stretch; flex-direction: column; }
  .products-section { padding: 75px 16px; }
  .how-section { grid-template-columns: 1fr; padding: 75px 20px; }
  footer { grid-template-columns: 1fr; justify-items: center; gap: 15px; }
  .footer-brand { justify-self: center; }
}

@media print {
  .site-header, .hero-copy, .capability-strip, .products-section, .how-section, footer, .selector-topbar, .result-actions, .restart-button { display: none !important; }
  .hero { display: block; min-height: auto; padding: 0; background: white; }
  .selector-shell { box-shadow: none; border: 0; }
  .result-panel { padding: 20px; }
}
