:root {
  --ink: #0f172a;
  --ink-muted: #475569;
  --line: #e2e8f0;
  --primary: #3b5bdb;
  --primary-deep: #1e3a8a;
  --tint: #f6f8fc;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: #fff;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-head {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand span { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font-size: 15px; letter-spacing: -0.01em; }
.brand em { font-style: normal; font-size: 11px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.06em; }

.site-head nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.site-head nav a { text-decoration: none; color: var(--ink-muted); font-weight: 600; white-space: nowrap; }
.site-head nav a:hover { color: var(--primary); }

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 999px;
}

/* Content */
main { padding: 26px 0 56px; }

.crumbs { font-size: 12.5px; color: var(--ink-muted); display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 8px;
}

h1 {
  font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.01em;
  margin: 40px 0 14px;
}

h3 { font-size: 16px; margin: 0 0 6px; }

.lede { font-size: 17.5px; color: var(--ink-muted); margin: 0 0 22px; max-width: 74ch; }

p { max-width: 74ch; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: 999px;
  text-align: center;
}

.btn:hover { background: var(--primary-deep); }

.btn.ghost { background: #fff; color: var(--primary-deep); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--primary); color: var(--primary); }

.hero-fig { margin: 0 0 8px; }
.hero-fig img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--tint);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Spec table */
.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.spec th, .spec td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 34%; background: var(--tint); font-weight: 700; color: var(--ink); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: none; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0 8px; }

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff;
}

.card p { margin: 0; font-size: 14px; color: var(--ink-muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 15.5px; }
.faq details p { margin: 8px 0 0; color: var(--ink-muted); font-size: 14.5px; }

/* Related */
.related { padding-left: 18px; }
.related li { margin: 6px 0; font-size: 15px; }

/* Inquiry */
.inquiry {
  margin: 44px 0 0;
  padding: 26px;
  border-radius: 16px;
  background: var(--tint);
  border: 1px solid var(--line);
}

.inquiry h2 { margin-top: 0; }
.inquiry p { color: var(--ink-muted); }
.contact-line { font-size: 14.5px; }

/* Product index */
.product-list { display: flex; flex-direction: column; gap: 26px; margin: 26px 0 0; }

.product-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
}

.product-thumb img { border-radius: 12px; border: 1px solid var(--line); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-row h2 { margin: 0 0 8px; font-size: 21px; }
.product-row h2 a { color: var(--ink); text-decoration: none; }
.product-row h2 a:hover { color: var(--primary); }
.product-row p { margin: 0 0 8px; color: var(--ink-muted); font-size: 14.5px; }
.inline-link { font-weight: 700; text-decoration: none; font-size: 14px; }

/* Footer */
.site-foot {
  border-top: 1px solid var(--line);
  background: #0f172a;
  color: #cbd5e1;
  padding: 34px 0 22px;
  margin-top: 20px;
  font-size: 13.5px;
}

.site-foot a { color: #e2e8f0; }
.site-foot strong { color: #fff; display: block; margin-bottom: 6px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.foot-grid p { margin: 4px 0; }
.site-foot .muted { color: #94a3b8; font-size: 12.5px; }
.legal { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: #94a3b8; font-size: 12px; }

@media (max-width: 760px) {
  .product-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .site-head nav a:not(.nav-cta) { display: none; }
  .spec th { width: 40%; }
  .spec th, .spec td { padding: 10px 12px; font-size: 13.5px; }
}
