/* Shared layout for public pages */
:root { --layout-rule: #ded7ca; }
body :is(h1,h2,h3) { text-wrap: balance; }
body :is(.hero-lede,.cat-hero-lead,.prod-hero-lead,.service-lead) {
  max-inline-size: 62ch;
  line-height: 1.65;
}
body :is(.article-main,.update-article) > :is(p,ul,ol) {
  max-inline-size: 70ch;
  line-height: 1.75;
}
.article-main > h2,.update-article > h2 {
  margin-block: clamp(1.9rem,3vw,2.8rem) .7rem;
}
body .detail-section > p { max-inline-size: 70ch; line-height: 1.7; }
body .update-card { border-radius: 10px; box-shadow: none; }
body .update-card h3 { margin-block: .6rem; line-height: 1.3; }
body .update-card p { line-height: 1.6; }
body .update-review > .container > h2,
body .library-section > .container > h2 {
  font-size: clamp(1.65rem,3vw,2.5rem);
  letter-spacing: -.028em;
  line-height: 1.16;
}
body .update-review { padding-block: clamp(2.5rem,5vw,4.5rem); }
body :is(.table-scroll,.engineering-table-wrap,.update-table-wrap,.layout-table) {
  max-inline-size: 100%;
  overflow-x: auto;
}
.layout-table { margin-block: 1.1rem; }
body :is(.table-scroll,.engineering-table-wrap,.layout-table,.update-table-wrap):focus-visible {
  outline: 2px solid var(--orange-d); outline-offset: 2px;
}
@media (min-width: 961px) {
  .hero-copy h1 { max-inline-size: 18ch; letter-spacing: -.04em; }
  body .detail-hero-grid { column-gap: clamp(2rem,4vw,4rem); }
  body .update-grid { gap: clamp(1rem,1.8vw,1.6rem); }
}
@media (max-width: 960px) {
  body .nav .menu-toggle { min-height: 44px; min-width: 44px; }
  body .nav .nav-links.is-open { max-height: calc(100dvh - 80px); overflow-y: auto; }
  body .nav .nav-links.is-open a { min-height: 44px; align-content: center; }
}
@media (max-width: 640px) {
  .hero-copy h1,.cat-hero-text h1,.prod-hero-text h1,.detail-hero h1,.update-hero h1 {
    font-size: clamp(1.85rem,7.8vw,2.6rem);
    line-height: 1.12; letter-spacing: -.025em; overflow-wrap: break-word;
  }
  body .hero-copy .hero-eyebrow { line-height: 1.55; letter-spacing: .045em; }
  body :is(.article-main,.update-article,.detail-section) p { line-height: 1.68; }
  body .update-review { padding-block: 2.3rem; }
  body .update-grid { gap: .9rem; margin-block: 1.15rem; }
  body .update-card { padding: 1.15rem; }
  body .hero-actions,body .update-actions { gap: .6rem; }
  body .hero-actions .btn,body .update-actions .btn { min-height: 44px; white-space: normal; }
  body :is(.contact-form,.rfq-form) :is(input:not([type=checkbox]):not([type=radio]),textarea,select) {
    font-size: 16px; max-inline-size: 100%; box-sizing: border-box;
  }
  body :is(.contact-form,.rfq-form) button[type=submit] { min-height: 46px; }
  body .layout-table table:not([data-stack]) { min-inline-size: min-content; }
}
@media (max-width: 420px) {
  body .hero-copy .hero-actions { display: grid; grid-template-columns: minmax(0,1fr); }
  body .hero-copy .hero-actions .btn { justify-content: center; text-align: center; }
}

.detail-hero .detail-lead + .hero-actions { margin-block-start: 1rem; }
#nf-path { overflow-wrap: anywhere; }
