/* Shared visual treatment for the C-design product and information pages. */
:root {
  --blue: #1557cd;
  --ink: #142a40;
  --pale: #edf3f8;
  --line: #d1dce6;
  --muted: #5b6d7f;
  --pad: clamp(24px, 5vw, 86px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --navy: var(--ink);
  --steel: var(--muted);
  --amber: var(--blue);
  --paper: var(--pale);
  --radius: 2px;
  --wrap: 1440px;
  --font: "Segoe UI", Arial, sans-serif;
}

.wrap {
  padding-inline: var(--pad);
}

h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.04em;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 4.6rem);
}

h2 {
  font-size: clamp(1.65rem, 3.25vw, 3rem);
}

h3 {
  font-size: 1.24rem;
}

.eyebrow {
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
}

.eyebrow:empty {
  display: none;
}

.lede,
.card p,
.pillar p,
ul.features li,
ol.steps p,
details.faq p {
  color: var(--muted);
}

main p a,
main li a {
  text-decoration: underline;
  text-underline-offset: .16em;
}

:is(a, button, summary, input, textarea, select):focus-visible {
  outline: 3px solid #659bf1;
  outline-offset: 3px;
}

.topbar {
  background: var(--ink);
  color: #dce8f3;
  font-size: .75rem;
}

.topbar a {
  color: inherit;
}

header.site {
  background: #ffffffed;
  border-color: #d7e2ed;
  backdrop-filter: blur(18px);
}

header.site .wrap {
  min-height: 80px;
}

.brand-logo {
  display: block;
  width: clamp(112px, 15vw, 170px);
  height: auto;
}

nav.main a {
  padding-block: 9px;
}

nav.main a:hover,
nav.main a[aria-current="page"] {
  color: var(--blue);
  border-color: var(--blue);
}

.btn {
  min-height: 46px;
  line-height: 1.3;
  padding: 13px 21px;
  font-size: .875rem;
  font-weight: 500;
  transition: background-color .25s, border-color .25s, color .25s, box-shadow .25s;
}

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

.btn-primary:hover {
  background: #1048ac;
  box-shadow: 0 8px 24px #1557cd20;
}

.btn-ghost,
.btn-light {
  color: var(--blue);
  border-color: var(--line);
  background: #fff;
}

.btn-ghost:hover,
.btn-light:hover {
  background: var(--pale);
  color: #1048ac;
  border-color: var(--blue);
}

.crumbs {
  font-size: .81rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.crumbs a {
  color: var(--blue);
}

.crumbs span {
  opacity: 1;
}

.hero,
.page-head {
  background: linear-gradient(115deg, #f8fafc 0%, #edf4fb 65%, #e6eff9 100%);
  color: var(--ink);
}

.page-head {
  padding-block: clamp(40px, 6vw, 85px);
}

.page-head h1 {
  max-width: 24ch;
}

.hero .wrap {
  padding-block: clamp(42px, 6vw, 86px);
}

.hero h1 {
  color: var(--ink);
}

.hero p {
  color: var(--muted);
}

.hero .eyebrow {
  color: var(--blue);
  font-size: 11px;
}

.hero .trustline {
  color: var(--muted);
  border-color: var(--line);
}

.hero-media img {
  box-shadow: none;
}

.hero-media .tag {
  background: var(--ink);
}

.section {
  padding-block: clamp(42px, 6vw, 83px);
}

.section--tight {
  padding-block: clamp(32px, 4vw, 50px);
}

.card .body {
  padding: clamp(17px, 2vw, 26px);
}

.card:hover {
  border-color: #a8bfda;
  box-shadow: 0 13px 32px #142a4012;
}

table.spec thead th {
  background: var(--ink);
}

table.spec tbody tr:nth-child(even) {
  background: #f5f8fc;
}

.cta-band {
  padding-block: clamp(42px, 6vw, 80px);
  background: #1048ac;
}

.cta-band p {
  color: #e3eeff;
}

.cta-band .btn-primary {
  background: #fff;
  color: #1048ac;
}

.cta-band .btn-primary:hover {
  background: #e3eeff;
}

.cta-band .btn-light {
  border-color: #b7d0fa;
  color: #fff;
  background: transparent;
}

.cta-band .btn-light:hover {
  border-color: #fff;
  background: #ffffff1a;
  color: #fff;
}

.contact-grid {
  align-items: start;
}

.contact-grid > div {
  min-width: 0;
}

form.inquiry {
  padding: clamp(16px, 3.25vw, 38px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 35px #142a4008;
}

.field {
  min-width: 0;
}

.field input,
.field select,
.field textarea {
  min-height: 48px;
  background: #fbfdff;
  border-color: var(--line);
  font-size: 1rem;
}

.field :is(input, select, textarea):focus {
  border-color: var(--blue);
  outline: 2px solid #1557cd45;
}

.check input {
  accent-color: var(--blue);
}

.check a,
.info-list a {
  color: var(--blue);
  overflow-wrap: anywhere;
}

.note-box {
  background: #f0f5fb;
  border-color: var(--line);
  border-left-color: var(--blue);
  color: var(--ink);
}

footer.site {
  background: var(--ink);
  color: #c2d3e5;
}

footer.site a {
  color: #dce8f3;
}

@media (max-width: 959px) {
  header.site .wrap {
    padding-top: 8px;
  }
}

@media (max-width: 540px) {
  .topbar .wrap {
    justify-content: flex-start;
    column-gap: 10px;
    row-gap: 0;
    padding-block: 5px;
  }

  .topbar .wrap > span {
    display: none;
  }

  nav.main {
    gap: 0 13px;
  }

  nav.main a {
    font-size: .84rem;
  }

  .header-cta.btn-sm {
    padding-inline: 10px;
    min-height: 40px;
  }

  #low-pressure-configurations {
    scroll-margin-top: 155px;
  }

  .hero-media .tag {
    left: 7px;
    bottom: 7px;
    font-size: .68rem;
  }
}

/* Shared navigation and equipment purchase information. */
header.site .mobile-nav {
  display: none;
}

.jumpnav {
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}

.jumpnav .wrap, .jumpnav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.jumpnav p, .jumpnav ul {
  margin: 0;
}

.jumpnav p {
  font-weight: 650;
}

.jumpnav ul {
  padding: 0;
  list-style: none;
}

.jumpnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: .18em;
}

main section[id] {
  scroll-margin-top: 100px;
}

.page-head--equipment .wrap {
  display: grid;
  align-items: center;
  gap: 26px;
}

.equipment-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #eaf1f8;
}

.purchase-facts {
  display: flex;
  flex-wrap: wrap;
  column-gap: 26px;
  row-gap: 12px;
  margin: 20px 0 0;
}

.purchase-facts dt {
  color: var(--steel);
  font-size: .84rem;
}

.purchase-facts dd {
  margin: 2px 0 0;
  font-weight: 650;
}

.inquiry-technical.faq {
  margin: 0;
}

.inquiry-technical li {
  margin-bottom: 8px;
}

.foam-product-index {
  max-width: 85ch;
  padding-inline-start: 1.65rem;
}

.foam-product-index li {
  border-bottom: 1px solid var(--line);
  padding: 16px 8px 12px;
}

.foam-product-index li::marker {
  color: var(--blue);
  font-weight: 650;
}

.foam-product-index h3 {
  margin-top: 0;
}

.foam-product-index a {
  text-decoration: underline;
  text-underline-offset: .18em;
}

@media (min-width: 900px) {
  .page-head--equipment .wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px;
  }

  .hero .wrap:has(.hero-media--product) .hero-media--product {
    order: -1;
  }
}

@media (max-width: 959px) {
  header.site .wrap {
    position: relative;
    min-height: 62px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding-block: 8px;
  }

  header.site nav.main {
    display: none;
  }

  header.site .mobile-nav {
    display: block;
    grid-column: 3;
    grid-row: 1;
  }

  header.site .mobile-nav summary {
    display: grid;
    place-items: center;
    min-height: 44px;
    min-width: 44px;
    list-style: none;
    color: var(--ink);
    font-size: .83rem;
    font-weight: 650;
  }

  header.site .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  header.site .mobile-nav nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    display: grid;
    max-height: min(70dvh, 400px);
    overflow: auto;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }

  header.site .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 6px 18px;
    color: var(--ink);
  }

  header.site .mobile-nav a:hover, header.site .mobile-nav a[aria-current="page"] {
    color: var(--blue);
    background: var(--paper);
  }

  main section[id] {
    scroll-margin-top: 74px;
  }
}

@media (max-width: 360px) {
  header.site .brand-logo {
    max-width: 100%;
  }

  header.site .wrap {
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .card {
    transition: none;
  }

  .card:hover {
    transform: none;
  }
}
