html {
  font-size: 62.5%;
}

body {
  margin: 0;
  background: #f0f1f3;
  color: #231f20;
  font-family: "Neue Helvetica W01", Helvetica, Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.65;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.pageWrapper {
  max-width: 1440px;
  margin: 0 auto;
  background: #fff;
}

.container-fluid {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.hero {
  position: relative;
  margin: 0 auto;
  padding-bottom: 1.5rem;
}

.hero__background {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.hero__backgroundWrapper {
  position: relative;
  z-index: 1;
  margin: 0 -2.3rem;
  overflow: hidden;
}

.focused-image-container {
  position: relative;
}

.hero__content-wrap {
  position: relative;
  width: 1120px;
  max-width: 100%;
  margin: 0 auto;
  z-index: 2;
}

.hero__content {
  text-align: center;
  background: #fff;
  position: relative;
  z-index: 2;
  padding: 3.6rem 2.4rem 0;
  margin-left: 0;
  margin-right: 0;
  color: #231f20;
  box-shadow: 0 20px 40px rgba(35, 31, 32, 0.08);
}

.hero__title {
  margin: 0;
  font-size: 3.6rem;
  line-height: 1.22;
  letter-spacing: 0.04rem;
  font-weight: 700;
}

.hero__subtitle {
  margin: 0 0 1.5rem;
  font-size: 2.4rem;
  font-weight: 700;
  color: #231f20;
  text-transform: uppercase;
  line-height: 1;
}

.hero__body {
  margin-top: 1.6rem;
}

.lead {
  margin: 0;
  max-width: none;
  font-size: 2rem;
  line-height: 1.4;
  color: #231f20;
}

.content__section {
  padding: 6.4rem 0;
}

.content__section + .content__section {
  padding-top: 0;
}

.section-alt {
  background: #fafafa;
}

.section-intro {
  margin-bottom: 3.2rem;
}

.section-intro h2,
.table-header h3 {
  margin: 0;
  font-size: 3.2rem;
  line-height: 1.22;
  font-weight: 700;
}

.section-intro h2 {
  color: #e30613;
}

.section-subtitle,
.table-header p {
  margin: 0.8rem 0 0;
  font-size: 2rem;
  line-height: 1.3;
  color: #231f20;
  font-weight: 700;
}

.bilingual-copy {
  margin-top: 2.4rem;
}

.bilingual-copy p {
  margin: 0 0 1.4rem;
  color: #231f20;
}

.bilingual-copy p:last-child {
  margin-bottom: 0;
}

.table-card {
  border: 1px solid #d9dadd;
  background: #fff;
  padding: 2.4rem;
}

.table-header {
  margin-bottom: 1.6rem;
}

.table-context {
  margin: 0 0 1.8rem;
  font-size: 1.85rem;
  line-height: 1.35;
  font-weight: 700;
  color: #231f20;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.torque-table {
  width: 100%;
  min-width: 96rem;
  border-collapse: collapse;
  background: #fff;
  color: #231f20;
  table-layout: fixed;
}

.torque-table th,
.torque-table td {
  border: 1px solid #666;
  padding: 0.9rem 0.7rem;
  font-size: 1.25rem;
  line-height: 1.2;
  text-align: center;
  vertical-align: middle;
}

.torque-table thead th {
  background: #fff;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
}

.torque-table thead tr:first-child th {
  border-top: 0;
  border-bottom: 3px solid #231f20;
  padding-top: 0.9rem;
  padding-bottom: 0.7rem;
}

.torque-table--grades thead tr:last-child th {
  border-top: 0;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.torque-table tbody tr:nth-child(even) td {
  background: #e8e8ea;
}

.torque-table tbody td:first-child {
  text-align: left;
  white-space: nowrap;
}

.torque-table--bits tbody td:first-child {
  text-align: center;
}

.torque-table .th-symbol,
.legend-symbol {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.torque-table .th-group {
  font-size: 1.35em;
}

.thead-icon {
  display: block;
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
  margin: 0 auto 0.6rem;
}

.thead-icon-pair {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  margin: 0 auto 0.6rem;
}

.thead-icon-pair img {
  display: block;
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.thead-icon--screw {
  width: 3.9rem;
  height: 3.15rem;
  margin-bottom: 0;
}

.thead-icon--grades {
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 0;
}

.thead-icon--pair {
  width: 6.8rem;
  height: 3.25rem;
  margin-bottom: 0;
}

.torque-table--grades .thead-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4.2rem;
  width: 100%;
  overflow: visible;
}

.torque-table--grades .thead-icon-box .thead-icon,
.torque-table--grades .thead-icon-box .thead-icon-pair,
.torque-table--grades .thead-icon-box .thead-symbol {
  margin: 0;
}

.torque-table--grades .thead-icon-box .thead-icon-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.torque-table--grades .thead-icon-box .thead-icon-pair img {
  width: 2.35rem;
  height: 2.35rem;
}

.torque-table--grades .thead-icon-box .thead-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 3.35rem;
  font-weight: 700;
  line-height: 1;
}

.icon-thread {
  transform: scale(1.08);
  transform-origin: center;
}

.th-zh,
.th-en {
  display: block;
  text-align: center;
  line-height: 1.2;
}

.th-zh {
  font-size: 1.15rem;
  font-weight: 500;
  margin-top: 0.1rem;
}

.th-en {
  font-size: 1.15rem;
  font-weight: 500;
}

.table-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem 3rem;
  margin-top: 1.8rem;
}

.legend-group {
  display: grid;
  gap: 1.2rem;
}

.legend-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.legend-row {
  min-height: 4.4rem;
}

.legend-group--left .legend-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.legend-group--right .legend-row {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  gap: 0.25rem;
  align-items: start;
}

.legend-item strong,
.legend-item span {
  display: block;
}

.legend-item strong {
  font-size: 1.2rem;
  line-height: 1.35;
}

.legend-item span {
  font-size: 1.1rem;
  line-height: 1.35;
}

.legend-icon {
  width: 3.2rem;
  height: 3.2rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.legend-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.2rem;
  height: 4.2rem;
  flex: 0 0 4.2rem;
}

.legend-icon-thread {
  width: 4rem;
  height: 3.4rem;
  justify-self: start;
}

.legend-icon-profile {
  width: 3.4rem;
  height: 3.4rem;
  justify-self: start;
}

.legend-item--symbol {
  gap: 0.15rem;
  align-items: center;
}

.legend-symbol-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 4.8rem;
  flex: 0 0 5rem;
}

.legend-symbol {
  min-width: 5rem;
  text-align: center;
  margin-top: 0;
  flex: 0 0 5rem;
  justify-self: center;
}

.legend-symbol-mu {
  font-size: 6.8rem;
}

.legend-symbol-m {
  font-size: 7rem;
  line-height: 0.84;
}

.legend-copy {
  padding-top: 0.12rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) {
  .hero {
    padding-bottom: 2rem;
  }

  .hero__content {
    width: calc(100% - 12.8rem);
    padding: 4rem 6.4rem;
    margin: -10rem auto 0;
  }
}

@media (min-width: 992px) {
  .hero {
    padding-bottom: 2rem;
  }

  .hero__content {
    width: 83.33333%;
    padding: 4rem 6.5rem;
    margin: -10rem auto 0;
  }
}

@media (max-width: 767px) {
  .container-fluid {
    padding: 0 1.5rem;
  }

  .hero__backgroundWrapper {
    margin-left: -2.3rem;
    margin-right: -2.3rem;
  }

  .hero__content-wrap {
    padding: 0;
  }

  .hero__content {
    padding: 3.2rem 2rem 0;
    box-shadow: 0 12px 28px rgba(35, 31, 32, 0.08);
  }

  .hero__subtitle {
    font-size: 1.8rem;
  }

  .hero__title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }

  .lead {
    font-size: 1.7rem;
    line-height: 1.55;
  }

  .content__section {
    padding: 4.8rem 0;
  }

  .section-intro h2,
  .table-header h3 {
    font-size: 2.6rem;
  }

  .section-subtitle,
  .table-header p {
    font-size: 1.8rem;
  }

  .table-card {
    padding: 1.6rem;
  }

  .table-context {
    font-size: 1.55rem;
    margin-bottom: 1.4rem;
  }

  .torque-table {
    min-width: 76rem;
  }

  .torque-table th,
  .torque-table td {
    padding: 0.75rem 0.55rem;
    font-size: 1.15rem;
  }

  .thead-icon {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.45rem;
  }

  .thead-icon--screw {
    width: 3.3rem;
    height: 2.7rem;
  }

  .thead-icon--grades {
    width: 2.1rem;
    height: 2.1rem;
  }

  .thead-icon--pair {
    width: 6.1rem;
    height: 2.95rem;
  }

  .torque-table--grades .thead-icon-box {
    height: 3.7rem;
  }

  .torque-table--grades .thead-icon-box .thead-icon-pair {
    gap: 0.28rem;
  }

  .torque-table--grades .thead-icon-box .thead-icon-pair img {
    width: 2.05rem;
    height: 2.05rem;
  }

  .torque-table--grades .thead-icon-box .thead-symbol {
    font-size: 2.85rem;
  }

  .legend-icon-thread {
    width: 3.5rem;
    height: 3rem;
  }

  .legend-symbol-mu {
    font-size: 5.8rem;
  }

  .legend-symbol-m {
    font-size: 6rem;
  }

  .table-legend {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .th-zh,
  .th-en {
    font-size: 1.05rem;
  }

  .table-legend {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

/* ==========================================================
   PATCH: first torque table legend alignment
   - Keep the first table header as-is.
   - Normalize only the legend below the screw-grades table.
   ========================================================== */
.screw-grade-legend {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  column-gap: 3rem;
}

.screw-grade-legend .legend-group {
  gap: 1.35rem;
}

.screw-grade-legend .legend-row,
.screw-grade-legend .legend-group--left .legend-row,
.screw-grade-legend .legend-group--right .legend-row {
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr);
  column-gap: 1rem;
  align-items: center;
  min-height: 4rem;
}

.screw-grade-legend .legend-icon-box,
.screw-grade-legend .legend-symbol-box {
  width: 4.4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 4.4rem;
}

.screw-grade-legend .legend-icon,
.screw-grade-legend .legend-icon-thread,
.screw-grade-legend .legend-icon-profile {
  display: block;
  width: 4rem;
  height: 3.4rem;
  max-width: 4rem;
  max-height: 3.4rem;
  object-fit: contain;
  flex: 0 0 auto;
  justify-self: center;
}

.screw-grade-legend .legend-symbol,
.screw-grade-legend .legend-symbol-mu,
.screw-grade-legend .legend-symbol-m {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 3.4rem;
  min-width: 4rem;
  flex: 0 0 4rem;
  margin: 0;
  padding: 0;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.screw-grade-legend .legend-copy {
  padding-top: 0;
}

.screw-grade-legend .legend-copy strong,
.screw-grade-legend .legend-copy span {
  display: block;
  line-height: 1.25;
}
