/* B2B Industrial Specification & Trade Brief Stylesheet */
:root {
  --b2b-bg: #f8fafc;
  --b2b-surface: #ffffff;
  --b2b-ink: #0f172a;
  --b2b-body: #1e293b;
  --b2b-muted: #475569;
  --b2b-line: #cbd5e1;
  --b2b-line-soft: #e2e8f0;
  --b2b-accent: #0f172a;
  --b2b-link: #1e40af;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--b2b-bg);
  color: var(--b2b-body);
  line-height: 1.68;
}
body > header {
  background: var(--b2b-surface);
  border-bottom: 1px solid var(--b2b-line-soft);
  padding: 0.9rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}
body > header > a {
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  color: var(--b2b-ink);
  text-decoration: none;
}
body > header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
}
body > header nav a {
  color: var(--b2b-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
body > header nav a:hover { color: var(--b2b-ink); }
main {
  max-width: 960px;
  margin: 2rem auto;
  padding: 2.25rem 2rem;
  background: var(--b2b-surface);
  border: 1px solid var(--b2b-line-soft);
  border-radius: 6px;
}
@media (max-width: 640px) {
  main { margin: 0.75rem; padding: 1.25rem 1rem; }
}
h1, h2, h3, h4 { color: var(--b2b-ink); line-height: 1.28; letter-spacing: -0.015em; margin-top: 1.6em; margin-bottom: 0.55em; }
h1 { font-size: clamp(1.6rem, 2.8vw, 2.05rem); margin-top: 0.15em; }
h2 { font-size: clamp(1.22rem, 2vw, 1.45rem); border-bottom: 1px solid var(--b2b-line-soft); padding-bottom: 0.35rem; }
h3 { font-size: 1.08rem; }
p, li { font-size: 0.98rem; color: var(--b2b-body); }
a { color: var(--b2b-link); text-underline-offset: 2px; }
img, video, svg { max-width: 100%; height: auto; border-radius: 4px; margin: 1rem 0; }
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.35rem 0;
  font-size: 0.91rem;
  font-variant-numeric: tabular-nums;
  display: block;
  overflow-x: auto;
}
th, td {
  border: 1px solid var(--b2b-line-soft);
  padding: 0.6rem 0.8rem;
  text-align: left;
  vertical-align: top;
}
th { background: #f1f5f9; color: var(--b2b-ink); font-weight: 700; font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.03em; }
tr:nth-child(even) td { background: #f8fafc; }
main > ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.9rem;
}
main > ul > li {
  border: 1px solid var(--b2b-line-soft);
  border-radius: 6px;
  padding: 1rem 1.1rem;
  background: #ffffff;
}
