:root {
  --jlc-container: 1264px;
  --body: #333;
  --secondary: #4d4d4d;
  --divider: #e8eaed;
  --jlc-divider: var(--divider);
  --jlc-body: var(--body);
  --jlc-radius-sm: 8px;
  --section-space: 70px;
  --heading-size: 32px;
}
@media (min-width: 1681px) {
  :root { --jlc-container: 1600px; --heading-size: 40px; }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 92px; }
body { margin: 0; color: var(--body); font: 15px/1.75 "PingFang SC", "Microsoft YaHei", sans-serif; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2 { color: var(--jlc-ink); font-size: var(--heading-size); line-height: 1.25; }
h3 { color: var(--jlc-ink); font-size: 16px; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--jlc-blue); }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--jlc-blue); outline-offset: 4px; }
.wrap { width: min(calc(100% - 80px), var(--jlc-container)); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 5; padding: 8px 12px; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 4; background: var(--jlc-surface); }
.site-header.is-scrolled { box-shadow: 0 2px 12px rgb(26 26 26 / .08); }
.nav-row { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { flex: none; }
.brand img { width: 150px; height: auto; }
.stock { border-left: 1px solid var(--divider); padding-left: 12px; color: var(--jlc-muted); font-size: 12px; white-space: nowrap; }
#nav { display: flex; gap: clamp(12px, 1.7vw, 32px); }
#nav a { display: flex; align-items: center; min-height: 76px; border-bottom: 2px solid transparent; white-space: nowrap; }
#nav [aria-current] { color: var(--jlc-blue); border-color: var(--jlc-blue); }
.jlc-button { font: inherit; font-size: 14px; white-space: nowrap; }
.jlc-button:hover { color: white; }
.menu, .menu[hidden] { display: none; }
.account-links { display: flex; flex-shrink: 0; margin-inline-start: auto; gap: 12px; }
.account-links .jlc-button--outline:hover { color: var(--jlc-blue); }
.nav-news { position: relative; }
.nav-news summary { display: flex; align-items: center; gap: 8px; cursor: pointer; min-height: 76px; }
.nav-news summary::-webkit-details-marker { display: none; }
.nav-news summary::after { content: "⌄"; }
.nav-options { position: absolute; top: 100%; left: 0; background: white; border: 1px solid var(--divider); border-radius: 8px; padding: 4px; }
#nav .nav-options a { min-height: 36px; padding: 0 12px; }

.process-hero {
  background: #d0eafa url("assets/pcb-hero-proportion.jpg") center 58% / cover no-repeat;
}
.hero-inner { min-height: 320px; display: grid; align-items: center; }
.hero-inner .jlc-button { min-width: 150px; margin-top: 24px; }
.process-band { padding-block: var(--section-space); background: var(--ds-background); }
.spec-panel { margin-top: 24px; border-radius: var(--jlc-radius-sm); overflow: hidden; background: var(--ds-surface); }
.process-table { table-layout: fixed; }
.process-table col:nth-child(1) { width: 13%; }
.process-table col:nth-child(2) { width: 17%; }
.process-table col:nth-child(3) { width: 37%; }
.process-table :is(th, td) { padding: 14px clamp(12px, 1.4vw, 24px); vertical-align: middle; }
.process-table tbody:nth-of-type(even) { background: var(--ds-background); }
.process-table tbody th { color: var(--ds-ink); font-weight: var(--ds-weight-heading); }
.process-table tbody :is(th, td) + :is(th, td) { border-inline-start: var(--ds-line) solid var(--ds-border); }
.solder-colors { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.solder-colors span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.solder-colors i { width: 12px; height: 12px; border: 1px solid var(--ds-border); border-radius: 2px; background: var(--sample); }
.mobile-label { display: none; }
@media (max-width: 1100px) { .stock { display: none; } }
@media (max-width: 940px) {
  .nav-row { flex-wrap: wrap; gap: 8px 12px; padding-block: 10px; min-height: 64px; }
  .brand { margin-right: auto; }
  .account-links { margin-inline-start: 0; }
  .menu:not([hidden]) { display: inline-flex; }
  #nav { flex: 1 0 100%; order: 1; flex-wrap: wrap; justify-content: start; }
  #nav a, .nav-news summary { min-height: 40px; }
  .menu:not([hidden]) ~ #nav:not(.is-open) { display: none; }
  .nav-options { position: static; }
}
@media (max-width: 650px) {
  :root { --section-space: 48px; }
  .wrap { width: calc(100% - 32px); }
  .brand img { width: 110px; }
  .account-links { gap: 6px; }
  .account-links .jlc-button { min-width: 0; padding-inline: 9px; }
  .hero-inner { align-items: start; padding-top: 24px; }
  .hero-inner .jlc-button { margin-top: 12px; }
  .process-hero {
    background-position: 75% 49%;
    background-size: auto 440px;
  }
}
@media (max-width: 760px) {
  .process-table :is(table, tbody, tr, th, td) { display: block; }
  .process-table { display: block; }
  .process-table colgroup { display: none; }
  .process-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .process-table tbody { border-bottom: 1px solid var(--ds-border); padding: 8px 0; }
  .process-table tbody tr + tr { border-top: 1px solid var(--ds-border); }
  .process-table tbody :is(th, td) { border: 0; padding: 6px 16px; }
  .process-table tbody :is(th, td) + :is(th, td) { border-inline-start: 0; }
  .process-table .empty-cell { display: none; }
  .mobile-label { display: block; font-size: var(--ds-caption-size); color: var(--ds-muted); }
}
